<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>src/mod_proxy65/Makefile.in</filename>
    </added>
    <added>
      <filename>src/mod_proxy65/Makefile.win32</filename>
    </added>
    <added>
      <filename>src/mod_proxy65/mod_proxy65.erl</filename>
    </added>
    <added>
      <filename>src/mod_proxy65/mod_proxy65.hrl</filename>
    </added>
    <added>
      <filename>src/mod_proxy65/mod_proxy65_lib.erl</filename>
    </added>
    <added>
      <filename>src/mod_proxy65/mod_proxy65_service.erl</filename>
    </added>
    <added>
      <filename>src/mod_proxy65/mod_proxy65_sm.erl</filename>
    </added>
    <added>
      <filename>src/mod_proxy65/mod_proxy65_stream.erl</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,12 @@
+2006-10-28  Alexey Shchepin  &lt;alexey@sevcom.net&gt;
+
+	* src/mod_proxy65/: XEP-0065 proxy (thanks to Evgeniy Khramtsov)
+	* src/Makefile.win32: Likewise
+	* src/Makefile.in: Likewise
+	* src/configure.ac: Likewise
+	* src/jlib.hrl: Likewise
+	* src/ejabberd.hrl: Added the ejabberd URL
+
 2006-10-27  Mickael Remond  &lt;mickael.remond@process-one.net&gt;
 	
 	* src/guide.tex: Fixed typos.</diff>
      <filename>ChangeLog</filename>
    </modified>
    <modified>
      <diff>@@ -27,7 +27,7 @@ endif
 
 prefix = @prefix@
 
-SUBDIRS = @mod_irc@ @mod_pubsub@ @mod_muc@ @eldap@ @web@ stringprep @tls@ @odbc@ @ejabberd_zlib@
+SUBDIRS = @mod_irc@ @mod_pubsub@ @mod_muc@ @mod_proxy65@ @eldap@ @web@ stringprep @tls@ @odbc@ @ejabberd_zlib@
 ERLSHLIBS = expat_erl.so
 SOURCES = $(wildcard *.erl)
 BEAMS = $(SOURCES:.erl=.beam)</diff>
      <filename>src/Makefile.in</filename>
    </modified>
    <modified>
      <diff>@@ -59,6 +59,9 @@ release : build release_clean
 	copy mod_muc\*.erl $(SRC_DIR)\mod_muc
 	mkdir $(SRC_DIR)\mod_pubsub
 	copy mod_pubsub\*.erl $(SRC_DIR)\mod_pubsub
+	mkdir $(SRC_DIR)\mod_proxy65
+	copy mod_proxy65\*.erl $(SRC_DIR)\mod_proxy65
+	copy mod_proxy65\*.hrl $(SRC_DIR)\mod_proxy65
 	mkdir $(SRC_DIR)\stringprep
 	copy stringprep\*.erl $(SRC_DIR)\stringprep
 	copy stringprep\*.c $(SRC_DIR)\stringprep
@@ -94,6 +97,8 @@ all-recursive :
 	nmake -nologo -f Makefile.win32
 	cd ..\mod_pubsub
 	nmake -nologo -f Makefile.win32
+	cd ..\mod_proxy65
+	nmake -nologo -f Makefile.win32
 	cd ..\stringprep
 	nmake -nologo -f Makefile.win32
 	cd ..\tls
@@ -133,6 +138,8 @@ clean-recursive :
 	nmake -nologo -f Makefile.win32 clean
 	cd ..\mod_pubsub
 	nmake -nologo -f Makefile.win32 clean
+	cd ..\mod_proxy65
+	nmake -nologo -f Makefile.win32 clean
 	cd ..\stringprep
 	nmake -nologo -f Makefile.win32 clean
 	cd ..\tls</diff>
      <filename>src/Makefile.win32</filename>
    </modified>
    <modified>
      <diff>@@ -1,11 +1,10 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.59d for FULL-PACKAGE-NAME VERSION.
+# Generated by GNU Autoconf 2.59 for FULL-PACKAGE-NAME VERSION.
 #
 # Report bugs to &lt;BUG-REPORT-ADDRESS&gt;.
 #
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+# 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.
 ## --------------------- ##
@@ -19,35 +18,11 @@ if test -n &quot;${ZSH_VERSION+set}&quot; &amp;&amp; (emulate sh) &gt;/dev/null 2&gt;&amp;1; then
   # Zsh 3.x and 4.x performs word splitting on ${1+&quot;$@&quot;}, which
   # is contrary to our usage.  Disable this feature.
   alias -g '${1+&quot;$@&quot;}'='&quot;$@&quot;'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2&gt;/dev/null` in *posix*) set -o posix;; esac
+elif test -n &quot;${BASH_VERSION+set}&quot; &amp;&amp; (set -o posix) &gt;/dev/null 2&gt;&amp;1; then
+  set -o posix
 fi
-BIN_SH=xpg4; export BIN_SH # for Tru64
 DUALCASE=1; export DUALCASE # for MKS sh
 
-
-# PATH needs CR
-# 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 &quot;${PATH_SEPARATOR+set}&quot; != set; then
-  echo &quot;#! /bin/sh&quot; &gt;conf$$.sh
-  echo  &quot;exit 0&quot;   &gt;&gt;conf$$.sh
-  chmod +x conf$$.sh
-  if (PATH=&quot;/nonexistent;.&quot;; conf$$.sh) &gt;/dev/null 2&gt;&amp;1; then
-    PATH_SEPARATOR=';'
-  else
-    PATH_SEPARATOR=:
-  fi
-  rm -f conf$$.sh
-fi
-
 # Support unset when possible.
 if ( (MAIL=60; unset MAIL) || exit) &gt;/dev/null 2&gt;&amp;1; then
   as_unset=unset
@@ -56,43 +31,8 @@ else
 fi
 
 
-# IFS
-# We need space, tab and new line, in precisely that order.  Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=&quot; &quot;&quot;	$as_nl&quot;
-
-# Find who we are.  Look in the path if we contain no directory separator.
-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 &quot;$as_dir&quot; &amp;&amp; as_dir=.
-  test -r &quot;$as_dir/$0&quot; &amp;&amp; as_myself=$as_dir/$0 &amp;&amp; break
-done
-IFS=$as_save_IFS
-
-     ;;
-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 &quot;x$as_myself&quot; = x; then
-  as_myself=$0
-fi
-if test ! -f &quot;$as_myself&quot;; then
-  echo &quot;$as_myself: error: cannot find myself; rerun with an absolute file name&quot; &gt;&amp;2
-  { (exit 1); exit 1; }
-fi
-
 # Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) &gt;/dev/null 2&gt;&amp;1 &amp;&amp; $as_unset $as_var
-done
+$as_unset ENV MAIL MAILPATH
 PS1='$ '
 PS2='&gt; '
 PS4='+ '
@@ -106,19 +46,18 @@ do
   if (set +x; test -z &quot;`(eval $as_var=C; export $as_var) 2&gt;&amp;1`&quot;); then
     eval $as_var=C; export $as_var
   else
-    ($as_unset $as_var) &gt;/dev/null 2&gt;&amp;1 &amp;&amp; $as_unset $as_var
+    $as_unset $as_var
   fi
 done
 
 # Required to use basename.
-if expr a : '\(a\)' &gt;/dev/null 2&gt;&amp;1 &amp;&amp;
-   test &quot;X`expr 00001 : '.*\(...\)'`&quot; = X001; then
+if expr a : '\(a\)' &gt;/dev/null 2&gt;&amp;1; then
   as_expr=expr
 else
   as_expr=false
 fi
 
-if (basename -- /) &gt;/dev/null 2&gt;&amp;1 &amp;&amp; test &quot;X`basename -- / 2&gt;&amp;1`&quot; = &quot;X/&quot;; then
+if (basename /) &gt;/dev/null 2&gt;&amp;1 &amp;&amp; test &quot;X`basename / 2&gt;&amp;1`&quot; = &quot;X/&quot;; then
   as_basename=basename
 else
   as_basename=false
@@ -126,386 +65,157 @@ fi
 
 
 # Name of the executable.
-as_me=`$as_basename -- &quot;$0&quot; ||
+as_me=`$as_basename &quot;$0&quot; ||
 $as_expr X/&quot;$0&quot; : '.*/\([^/][^/]*\)/*$' \| \
 	 X&quot;$0&quot; : 'X\(//\)$' \| \
-	 X&quot;$0&quot; : 'X\(/\)' \| . 2&gt;/dev/null ||
+	 X&quot;$0&quot; : 'X\(/\)$' \| \
+	 .     : '\(.\)' 2&gt;/dev/null ||
 echo X/&quot;$0&quot; |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-
-# CDPATH.
-$as_unset CDPATH
-
-
-if test &quot;x$CONFIG_SHELL&quot; = x; then
-  if (eval &quot;:&quot;) 2&gt;/dev/null; then
-  as_have_required=yes
-else
-  as_have_required=no
-fi
-
-  if test $as_have_required = yes &amp;&amp; 	 (eval &quot;:
-(as_func_return () {
-  (exit \$1)
-}
-as_func_success () {
-  as_func_return 0
-}
-as_func_failure () {
-  as_func_return 1
-}
-as_func_ret_success () {
-  return 0
-}
-as_func_ret_failure () {
-  return 1
-}
-
-exitcode=0
-if as_func_success; then
-  :
-else
-  exitcode=1
-  echo as_func_success failed.
-fi
+    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
+  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\/\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`
 
-if as_func_failure; then
-  exitcode=1
-  echo as_func_failure succeeded.
-fi
 
-if as_func_ret_success; then
-  :
-else
-  exitcode=1
-  echo as_func_ret_success failed.
-fi
+# 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
 
-if as_func_ret_failure; then
-  exitcode=1
-  echo as_func_ret_failure succeeded.
+# The user is always right.
+if test &quot;${PATH_SEPARATOR+set}&quot; != set; then
+  echo &quot;#! /bin/sh&quot; &gt;conf$$.sh
+  echo  &quot;exit 0&quot;   &gt;&gt;conf$$.sh
+  chmod +x conf$$.sh
+  if (PATH=&quot;/nonexistent;.&quot;; conf$$.sh) &gt;/dev/null 2&gt;&amp;1; then
+    PATH_SEPARATOR=';'
+  else
+    PATH_SEPARATOR=:
+  fi
+  rm -f conf$$.sh
 fi
 
-if ( set x; as_func_ret_success y &amp;&amp; test x = \&quot;\$1\&quot; ); then
-  :
-else
-  exitcode=1
-  echo positional parameters were not saved.
-fi
 
-test \$exitcode = 0) || { (exit 1); exit 1; }
+  as_lineno_1=$LINENO
+  as_lineno_2=$LINENO
+  as_lineno_3=`(expr $as_lineno_1 + 1) 2&gt;/dev/null`
+  test &quot;x$as_lineno_1&quot; != &quot;x$as_lineno_2&quot; &amp;&amp;
+  test &quot;x$as_lineno_3&quot;  = &quot;x$as_lineno_2&quot;  || {
+  # 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 &quot;$as_dir&quot; &amp;&amp; as_dir=.
+  test -r &quot;$as_dir/$0&quot; &amp;&amp; as_myself=$as_dir/$0 &amp;&amp; break
+done
 
-(
-  as_lineno_1=\$LINENO
-  as_lineno_2=\$LINENO
-  test \&quot;x\$as_lineno_1\&quot; != \&quot;x\$as_lineno_2\&quot; &amp;&amp;
-  test \&quot;x\`expr \$as_lineno_1 + 1\`\&quot; = \&quot;x\$as_lineno_2\&quot;) || { (exit 1); exit 1; }
-&quot;) 2&gt; /dev/null; then
-  :
-else
-  as_candidate_shells=
+       ;;
+  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 &quot;x$as_myself&quot; = x; then
+    as_myself=$0
+  fi
+  if test ! -f &quot;$as_myself&quot;; then
+    { echo &quot;$as_me: error: cannot find myself; rerun with an absolute path&quot; &gt;&amp;2
+   { (exit 1); exit 1; }; }
+  fi
+  case $CONFIG_SHELL in
+  '')
     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
+for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 do
   IFS=$as_save_IFS
   test -z &quot;$as_dir&quot; &amp;&amp; as_dir=.
-  case $as_dir in
+  for as_base in sh bash ksh sh5; do
+	 case $as_dir in
 	 /*)
-	   for as_base in sh bash ksh sh5; do
-	     as_candidate_shells=&quot;$as_candidate_shells $as_dir/$as_base&quot;
-	   done;;
-       esac
-done
-IFS=$as_save_IFS
-
-
-      for as_shell in $as_candidate_shells $SHELL; do
-	 # Try only shells which exist, to save several forks.
-	 if test -f &quot;$as_shell&quot; &amp;&amp;
-		{ (&quot;$as_shell&quot;) 2&gt; /dev/null &lt;&lt;\_ASEOF
-# Be Bourne compatible
-if test -n &quot;${ZSH_VERSION+set}&quot; &amp;&amp; (emulate sh) &gt;/dev/null 2&gt;&amp;1; then
-  emulate sh
-  NULLCMD=:
-  # Zsh 3.x and 4.x performs word splitting on ${1+&quot;$@&quot;}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+&quot;$@&quot;}'='&quot;$@&quot;'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2&gt;/dev/null` in *posix*) set -o posix;; esac
-fi
-BIN_SH=xpg4; export BIN_SH # for Tru64
-DUALCASE=1; export DUALCASE # for MKS sh
-
-:
-_ASEOF
-}; then
-  CONFIG_SHELL=$as_shell
-	       as_have_required=yes
-	       if { &quot;$as_shell&quot; 2&gt; /dev/null &lt;&lt;\_ASEOF
-# Be Bourne compatible
-if test -n &quot;${ZSH_VERSION+set}&quot; &amp;&amp; (emulate sh) &gt;/dev/null 2&gt;&amp;1; then
-  emulate sh
-  NULLCMD=:
-  # Zsh 3.x and 4.x performs word splitting on ${1+&quot;$@&quot;}, which
-  # is contrary to our usage.  Disable this feature.
-  alias -g '${1+&quot;$@&quot;}'='&quot;$@&quot;'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2&gt;/dev/null` in *posix*) set -o posix;; esac
-fi
-BIN_SH=xpg4; export BIN_SH # for Tru64
-DUALCASE=1; export DUALCASE # for MKS sh
-
-:
-(as_func_return () {
-  (exit $1)
-}
-as_func_success () {
-  as_func_return 0
-}
-as_func_failure () {
-  as_func_return 1
-}
-as_func_ret_success () {
-  return 0
-}
-as_func_ret_failure () {
-  return 1
-}
-
-exitcode=0
-if as_func_success; then
-  :
-else
-  exitcode=1
-  echo as_func_success failed.
-fi
-
-if as_func_failure; then
-  exitcode=1
-  echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
-  :
-else
-  exitcode=1
-  echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
-  exitcode=1
-  echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y &amp;&amp; test x = &quot;$1&quot; ); then
-  :
-else
-  exitcode=1
-  echo positional parameters were not saved.
-fi
-
-test $exitcode = 0) || { (exit 1); exit 1; }
-
-(
-  as_lineno_1=$LINENO
-  as_lineno_2=$LINENO
-  test &quot;x$as_lineno_1&quot; != &quot;x$as_lineno_2&quot; &amp;&amp;
-  test &quot;x`expr $as_lineno_1 + 1`&quot; = &quot;x$as_lineno_2&quot;) || { (exit 1); exit 1; }
-
-_ASEOF
-}; then
-  break
-fi
-
-fi
-
-      done
-
-      if test &quot;x$CONFIG_SHELL&quot; != x; then
-  for as_var in BASH_ENV ENV
-        do ($as_unset $as_var) &gt;/dev/null 2&gt;&amp;1 &amp;&amp; $as_unset $as_var
-        done
-        export CONFIG_SHELL
-        exec &quot;$CONFIG_SHELL&quot; &quot;$as_myself&quot; ${1+&quot;$@&quot;}
-fi
-
-
-    if test $as_have_required = no; then
-  echo This script requires a shell more modern than all the
-      echo shells that I found on your system.  Please install a
-      echo modern shell, or manually run the script under such a
-      echo shell if you do have one.
-      { (exit 1); exit 1; }
-fi
-
-
-fi
-
-fi
-
-
-
-(eval &quot;as_func_return () {
-  (exit \$1)
-}
-as_func_success () {
-  as_func_return 0
-}
-as_func_failure () {
-  as_func_return 1
-}
-as_func_ret_success () {
-  return 0
-}
-as_func_ret_failure () {
-  return 1
-}
-
-exitcode=0
-if as_func_success; then
-  :
-else
-  exitcode=1
-  echo as_func_success failed.
-fi
-
-if as_func_failure; then
-  exitcode=1
-  echo as_func_failure succeeded.
-fi
-
-if as_func_ret_success; then
-  :
-else
-  exitcode=1
-  echo as_func_ret_success failed.
-fi
-
-if as_func_ret_failure; then
-  exitcode=1
-  echo as_func_ret_failure succeeded.
-fi
-
-if ( set x; as_func_ret_success y &amp;&amp; test x = \&quot;\$1\&quot; ); then
-  :
-else
-  exitcode=1
-  echo positional parameters were not saved.
-fi
-
-test \$exitcode = 0&quot;) || {
-  echo No shell found that supports shell functions.
-  echo Please tell autoconf@gnu.org about your system,
-  echo including any error possibly output before this
-  echo message
-}
-
-
-
+	   if (&quot;$as_dir/$as_base&quot; -c '
   as_lineno_1=$LINENO
   as_lineno_2=$LINENO
+  as_lineno_3=`(expr $as_lineno_1 + 1) 2&gt;/dev/null`
   test &quot;x$as_lineno_1&quot; != &quot;x$as_lineno_2&quot; &amp;&amp;
-  test &quot;x`expr $as_lineno_1 + 1`&quot; = &quot;x$as_lineno_2&quot; || {
+  test &quot;x$as_lineno_3&quot;  = &quot;x$as_lineno_2&quot; ') 2&gt;/dev/null; then
+	     $as_unset BASH_ENV || test &quot;${BASH_ENV+set}&quot; != set || { BASH_ENV=; export BASH_ENV; }
+	     $as_unset ENV || test &quot;${ENV+set}&quot; != set || { ENV=; export ENV; }
+	     CONFIG_SHELL=$as_dir/$as_base
+	     export CONFIG_SHELL
+	     exec &quot;$CONFIG_SHELL&quot; &quot;$0&quot; ${1+&quot;$@&quot;}
+	   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 after each line using $LINENO; the second 'sed'
-  # does the real work.  The second script uses 'N' to pair each
-  # line-number line with the line containing $LINENO, and appends
-  # trailing '-' during substitution so that $LINENO is not a special
-  # case at line end.
+  # 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
-  # scripts with optimization help from Paolo Bonzini.  Blame Lee
-  # E. McMahon (1931-1989) for sed's syntax.  :-)
-  sed -n '
-    p
-    /[$]LINENO/=
-  ' &lt;$as_myself |
+  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
+  sed '=' &lt;$as_myself |
     sed '
-      s/[$]LINENO.*/&amp;-/
-      t lineno
-      b
-      :lineno
       N
-      :loop
-      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+      s,$,-,
+      : loop
+      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
       t loop
-      s/-\n.*//
+      s,-$,,
+      s,^['$as_cr_digits']*\n,,
     ' &gt;$as_me.lineno &amp;&amp;
-  chmod +x &quot;$as_me.lineno&quot; ||
+  chmod +x $as_me.lineno ||
     { echo &quot;$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell&quot; &gt;&amp;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 sensitive to this).
-  . &quot;./$as_me.lineno&quot;
+  # original and so on.  Autoconf is especially sensible to this).
+  . ./$as_me.lineno
   # Exit status is that of the last command.
   exit
 }
 
 
-if (dirname -- /) &gt;/dev/null 2&gt;&amp;1; then
-  as_dirname=dirname
-else
-  as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
-  case `echo 'x\c'` in
-  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
-  *)   ECHO_C='\c';;
-  esac;;
-*)
-  ECHO_N='-n';;
+case `echo &quot;testing\c&quot;; 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\)' &gt;/dev/null 2&gt;&amp;1 &amp;&amp;
-   test &quot;X`expr 00001 : '.*\(...\)'`&quot; = X001; then
+if expr a : '\(a\)' &gt;/dev/null 2&gt;&amp;1; then
   as_expr=expr
 else
   as_expr=false
 fi
 
 rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
-  rm -f conf$$.dir/conf$$.file
-else
-  rm -f conf$$.dir
-  mkdir conf$$.dir
-fi
 echo &gt;conf$$.file
 if ln -s conf$$.file conf$$ 2&gt;/dev/null; then
-  as_ln_s='ln -s'
-  # ... but there are two gotchas:
-  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
-  # 2) DJGPP &lt; 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-  # In both cases, we have to default to `cp -p'.
-  ln -s conf$$.file conf$$.dir 2&gt;/dev/null &amp;&amp; test ! -f conf$$.exe ||
+  # 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&gt;/dev/null; then
   as_ln_s=ln
 else
   as_ln_s='cp -p'
 fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2&gt;/dev/null
+rm -f conf$$ conf$$.exe conf$$.file
 
 if mkdir -p . 2&gt;/dev/null; then
   as_mkdir_p=:
@@ -514,19 +224,7 @@ else
   as_mkdir_p=false
 fi
 
-# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
-# systems may use methods other than mode bits to determine executability.
-cat &gt;conf$$.file &lt;&lt;_ASEOF
-#! /bin/sh
-exit 0
-_ASEOF
-chmod +x conf$$.file
-if test -x conf$$.file &gt;/dev/null 2&gt;&amp;1; then
-  as_executable_p=&quot;test -x&quot;
-else
-  as_executable_p=:
-fi
-rm -f conf$$.file
+as_executable_p=&quot;test -f&quot;
 
 # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp=&quot;eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'&quot;
@@ -535,27 +233,39 @@ as_tr_cpp=&quot;eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'&quot;
 as_tr_sh=&quot;eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'&quot;
 
 
+# IFS
+# We need space, tab and new line, in precisely that order.
+as_nl='
+'
+IFS=&quot; 	$as_nl&quot;
+
+# CDPATH.
+$as_unset CDPATH
 
-exec 7&lt;&amp;0 &lt;/dev/null 6&gt;&amp;1
 
 # 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&gt;/dev/null | sed 1q`
 
+exec 6&gt;&amp;1
+
 #
 # Initializations.
 #
 ac_default_prefix=/usr/local
-ac_clean_files=
 ac_config_libobj_dir=.
-LIBOBJS=
 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='FULL-PACKAGE-NAME'
 PACKAGE_TARNAME='full-package-name'
@@ -591,104 +301,18 @@ ac_includes_default=&quot;\
 #endif
 #if HAVE_INTTYPES_H
 # include &lt;inttypes.h&gt;
-#endif
-#if HAVE_STDINT_H
-# include &lt;stdint.h&gt;
+#else
+# if HAVE_STDINT_H
+#  include &lt;stdint.h&gt;
+# endif
 #endif
 #if HAVE_UNISTD_H
 # include &lt;unistd.h&gt;
 #endif&quot;
 
 ac_default_prefix=
-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
-datarootdir
-datadir
-sysconfdir
-sharedstatedir
-localstatedir
-includedir
-oldincludedir
-docdir
-infodir
-htmldir
-dvidir
-pdfdir
-psdir
-libdir
-localedir
-mandir
-DEFS
-ECHO_C
-ECHO_N
-ECHO_T
-LIBS
-build_alias
-host_alias
-target_alias
-CC
-CFLAGS
-LDFLAGS
-CPPFLAGS
-ac_ct_CC
-EXEEXT
-OBJEXT
-SET_MAKE
-ERLC
-ERL
-ERLANG_CFLAGS
-ERLANG_LIBS
-LIBICONV
-CPP
-GREP
-EGREP
-EXPAT_CFLAGS
-EXPAT_LIBS
-ZLIB_CFLAGS
-ZLIB_LIBS
-LIBOBJS
-mod_pubsub
-make_mod_pubsub
-mod_irc
-make_mod_irc
-mod_muc
-make_mod_muc
-eldap
-make_eldap
-web
-make_web
-tls
-make_tls
-odbc
-make_odbc
-ejabberd_zlib
-make_ejabberd_zlib
-roster_gateway_workaround
-db_type
-SSL_LIBS
-SSL_CFLAGS
-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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT SET_MAKE ERLC ac_pt_ERLC ERL ac_pt_ERL ERLANG_CFLAGS ERLANG_LIBS LIBICONV CPP EGREP EXPAT_CFLAGS EXPAT_LIBS ZLIB_CFLAGS ZLIB_LIBS LIBOBJS mod_pubsub make_mod_pubsub mod_irc make_mod_irc mod_muc make_mod_muc mod_proxy65 make_mod_proxy65 eldap make_eldap web make_web tls make_tls odbc make_odbc ejabberd_zlib make_ejabberd_zlib roster_gateway_workaround db_type SSL_LIBS SSL_CFLAGS LTLIBOBJS'
 ac_subst_files=''
-      ac_precious_vars='build_alias
-host_alias
-target_alias
-CC
-CFLAGS
-LDFLAGS
-CPPFLAGS
-CPP'
-
 
 # Initialize some variables set by options.
 ac_init_help=
@@ -715,48 +339,34 @@ x_libraries=NONE
 # 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.
-# (The list follows the same order as the GNU Coding Standards.)
 bindir='${exec_prefix}/bin'
 sbindir='${exec_prefix}/sbin'
 libexecdir='${exec_prefix}/libexec'
-datarootdir='${prefix}/share'
-datadir='${datarootdir}'
+datadir='${prefix}/share'
 sysconfdir='${prefix}/etc'
 sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
+libdir='${exec_prefix}/lib'
 includedir='${prefix}/include'
 oldincludedir='/usr/include'
-docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
-infodir='${datarootdir}/info'
-htmldir='${docdir}'
-dvidir='${docdir}'
-pdfdir='${docdir}'
-psdir='${docdir}'
-libdir='${exec_prefix}/lib'
-localedir='${datarootdir}/locale'
-mandir='${datarootdir}/man'
+infodir='${prefix}/info'
+mandir='${prefix}/man'
 
 ac_prev=
-ac_dashdash=
 for ac_option
 do
   # If the previous option needs an argument, assign it.
   if test -n &quot;$ac_prev&quot;; then
-    eval $ac_prev=\$ac_option
+    eval &quot;$ac_prev=\$ac_option&quot;
     ac_prev=
     continue
   fi
 
-  case $ac_option in
-  *=*)	ac_optarg=`expr &quot;X$ac_option&quot; : '[^=]*=\(.*\)'` ;;
-  *)	ac_optarg=yes ;;
-  esac
+  ac_optarg=`expr &quot;x$ac_option&quot; : 'x[^=]*=\(.*\)'`
 
   # Accept the important Cygnus configure options, so we can diagnose typos.
 
-  case $ac_dashdash$ac_option in
-  --)
-    ac_dashdash=yes ;;
+  case $ac_option in
 
   -bindir | --bindir | --bindi | --bind | --bin | --bi)
     ac_prev=bindir ;;
@@ -778,18 +388,12 @@ do
   --config-cache | -C)
     cache_file=config.cache ;;
 
-  -datadir | --datadir | --datadi | --datad)
+  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
     ac_prev=datadir ;;
-  -datadir=* | --datadir=* | --datadi=* | --datad=*)
+  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
+  | --da=*)
     datadir=$ac_optarg ;;
 
-  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
-  | --dataroo | --dataro | --datar)
-    ac_prev=datarootdir ;;
-  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
-  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
-    datarootdir=$ac_optarg ;;
-
   -disable-* | --disable-*)
     ac_feature=`expr &quot;x$ac_option&quot; : 'x-*disable-\(.*\)'`
     # Reject names that are not valid shell variable names.
@@ -797,17 +401,7 @@ do
       { echo &quot;$as_me: error: invalid feature name: $ac_feature&quot; &gt;&amp;2
    { (exit 1); exit 1; }; }
     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
-    eval enable_$ac_feature=no ;;
-
-  -docdir | --docdir | --docdi | --doc | --do)
-    ac_prev=docdir ;;
-  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
-    docdir=$ac_optarg ;;
-
-  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
-    ac_prev=dvidir ;;
-  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
-    dvidir=$ac_optarg ;;
+    eval &quot;enable_$ac_feature=no&quot; ;;
 
   -enable-* | --enable-*)
     ac_feature=`expr &quot;x$ac_option&quot; : 'x-*enable-\([^=]*\)'`
@@ -816,7 +410,11 @@ do
       { echo &quot;$as_me: error: invalid feature name: $ac_feature&quot; &gt;&amp;2
    { (exit 1); exit 1; }; }
     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
-    eval enable_$ac_feature=\$ac_optarg ;;
+    case $ac_option in
+      *=*) ac_optarg=`echo &quot;$ac_optarg&quot; | sed &quot;s/'/'\\\\\\\\''/g&quot;`;;
+      *) ac_optarg=yes ;;
+    esac
+    eval &quot;enable_$ac_feature='$ac_optarg'&quot; ;;
 
   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
@@ -843,12 +441,6 @@ do
   -host=* | --host=* | --hos=* | --ho=*)
     host_alias=$ac_optarg ;;
 
-  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
-    ac_prev=htmldir ;;
-  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
-  | --ht=*)
-    htmldir=$ac_optarg ;;
-
   -includedir | --includedir | --includedi | --included | --include \
   | --includ | --inclu | --incl | --inc)
     ac_prev=includedir ;;
@@ -873,16 +465,13 @@ do
   | --libexe=* | --libex=* | --libe=*)
     libexecdir=$ac_optarg ;;
 
-  -localedir | --localedir | --localedi | --localed | --locale)
-    ac_prev=localedir ;;
-  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
-    localedir=$ac_optarg ;;
-
   -localstatedir | --localstatedir | --localstatedi | --localstated \
-  | --localstate | --localstat | --localsta | --localst | --locals)
+  | --localstate | --localstat | --localsta | --localst \
+  | --locals | --local | --loca | --loc | --lo)
     ac_prev=localstatedir ;;
   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
-  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
+  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
+  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
     localstatedir=$ac_optarg ;;
 
   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
@@ -947,16 +536,6 @@ do
   | --progr-tra=* | --program-tr=* | --program-t=*)
     program_transform_name=$ac_optarg ;;
 
-  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
-    ac_prev=pdfdir ;;
-  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
-    pdfdir=$ac_optarg ;;
-
-  -psdir | --psdir | --psdi | --psd | --ps)
-    ac_prev=psdir ;;
-  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
-    psdir=$ac_optarg ;;
-
   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   | -silent | --silent | --silen | --sile | --sil)
     silent=yes ;;
@@ -1013,7 +592,11 @@ do
       { echo &quot;$as_me: error: invalid package name: $ac_package&quot; &gt;&amp;2
    { (exit 1); exit 1; }; }
     ac_package=`echo $ac_package| sed 's/-/_/g'`
-    eval with_$ac_package=\$ac_optarg ;;
+    case $ac_option in
+      *=*) ac_optarg=`echo &quot;$ac_optarg&quot; | sed &quot;s/'/'\\\\\\\\''/g&quot;`;;
+      *) ac_optarg=yes ;;
+    esac
+    eval &quot;with_$ac_package='$ac_optarg'&quot; ;;
 
   -without-* | --without-*)
     ac_package=`expr &quot;x$ac_option&quot; : 'x-*without-\(.*\)'`
@@ -1022,7 +605,7 @@ do
       { echo &quot;$as_me: error: invalid package name: $ac_package&quot; &gt;&amp;2
    { (exit 1); exit 1; }; }
     ac_package=`echo $ac_package | sed 's/-/_/g'`
-    eval with_$ac_package=no ;;
+    eval &quot;with_$ac_package=no&quot; ;;
 
   --x)
     # Obsolete; use --with-x.
@@ -1053,7 +636,8 @@ Try \`$0 --help' for more information.&quot; &gt;&amp;2
     expr &quot;x$ac_envvar&quot; : &quot;.*[^_$as_cr_alnum]&quot; &gt;/dev/null &amp;&amp;
       { echo &quot;$as_me: error: invalid variable name: $ac_envvar&quot; &gt;&amp;2
    { (exit 1); exit 1; }; }
-    eval $ac_envvar=\$ac_optarg
+    ac_optarg=`echo &quot;$ac_optarg&quot; | sed &quot;s/'/'\\\\\\\\''/g&quot;`
+    eval &quot;$ac_envvar='$ac_optarg'&quot;
     export $ac_envvar ;;
 
   *)
@@ -1073,19 +657,27 @@ if test -n &quot;$ac_prev&quot;; then
    { (exit 1); exit 1; }; }
 fi
 
-# Be sure to have absolute directory names.
-for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
-		datadir sysconfdir sharedstatedir localstatedir includedir \
-		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-		libdir localedir mandir
+# Be sure to have absolute paths.
+for ac_var in exec_prefix prefix
 do
-  eval ac_val=\$$ac_var
+  eval ac_val=$`echo $ac_var`
   case $ac_val in
-    [\\/$]* | ?:[\\/]* )  continue;;
-    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
+    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
+    *)  { echo &quot;$as_me: error: expected an absolute directory name for --$ac_var: $ac_val&quot; &gt;&amp;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 &quot;$as_me: error: expected an absolute directory name for --$ac_var: $ac_val&quot; &gt;&amp;2
+   { (exit 1); exit 1; }; };;
   esac
-  { echo &quot;$as_me: error: expected an absolute directory name for --$ac_var: $ac_val&quot; &gt;&amp;2
-   { (exit 1); exit 1; }; }
 done
 
 # There might be people who depend on the old broken behavior: `$host'
@@ -1112,76 +704,74 @@ test -n &quot;$host_alias&quot; &amp;&amp; ac_tool_prefix=$host_alias-
 test &quot;$silent&quot; = yes &amp;&amp; exec 6&gt;/dev/null
 
 
-ac_pwd=`pwd` &amp;&amp; test -n &quot;$ac_pwd&quot; &amp;&amp;
-ac_ls_di=`ls -di .` &amp;&amp;
-ac_pwd_ls_di=`cd &quot;$ac_pwd&quot; &amp;&amp; ls -di .` ||
-  { echo &quot;$as_me: error: Working directory cannot be determined&quot; &gt;&amp;2
-   { (exit 1); exit 1; }; }
-test &quot;X$ac_ls_di&quot; = &quot;X$ac_pwd_ls_di&quot; ||
-  { echo &quot;$as_me: error: pwd does not report name of working directory&quot; &gt;&amp;2
-   { (exit 1); exit 1; }; }
-
-
 # Find the source files, if location was not specified.
 if test -z &quot;$srcdir&quot;; then
   ac_srcdir_defaulted=yes
-  # Try the directory containing this script, then the parent directory.
-  ac_confdir=`$as_dirname -- &quot;$0&quot; ||
+  # Try the directory containing this script, then its parent.
+  ac_confdir=`(dirname &quot;$0&quot;) 2&gt;/dev/null ||
 $as_expr X&quot;$0&quot; : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 	 X&quot;$0&quot; : 'X\(//\)[^/]' \| \
 	 X&quot;$0&quot; : 'X\(//\)$' \| \
-	 X&quot;$0&quot; : 'X\(/\)' \| . 2&gt;/dev/null ||
+	 X&quot;$0&quot; : 'X\(/\)' \| \
+	 .     : '\(.\)' 2&gt;/dev/null ||
 echo X&quot;$0&quot; |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)[^/].*/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
+    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 &quot;$srcdir/$ac_unique_file&quot;; then
+  if test ! -r $srcdir/$ac_unique_file; then
     srcdir=..
   fi
 else
   ac_srcdir_defaulted=no
 fi
-if test ! -r &quot;$srcdir/$ac_unique_file&quot;; then
-  test &quot;$ac_srcdir_defaulted&quot; = yes &amp;&amp; srcdir=&quot;$ac_confdir or ..&quot;
-  { echo &quot;$as_me: error: cannot find sources ($ac_unique_file) in $srcdir&quot; &gt;&amp;2
+if test ! -r $srcdir/$ac_unique_file; then
+  if test &quot;$ac_srcdir_defaulted&quot; = yes; then
+    { echo &quot;$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or ..&quot; &gt;&amp;2
+   { (exit 1); exit 1; }; }
+  else
+    { echo &quot;$as_me: error: cannot find sources ($ac_unique_file) in $srcdir&quot; &gt;&amp;2
    { (exit 1); exit 1; }; }
+  fi
 fi
-ac_msg=&quot;sources are in $srcdir, but \`cd $srcdir' does not work&quot;
-ac_abs_confdir=`(
-	cd &quot;$srcdir&quot; &amp;&amp; test -r &quot;./$ac_unique_file&quot; || { echo &quot;$as_me: error: $ac_msg&quot; &gt;&amp;2
+(cd $srcdir &amp;&amp; test -r ./$ac_unique_file) 2&gt;/dev/null ||
+  { echo &quot;$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work&quot; &gt;&amp;2
    { (exit 1); exit 1; }; }
-	pwd)`
-# When building in place, set srcdir=.
-if test &quot;$ac_abs_confdir&quot; = &quot;$ac_pwd&quot;; then
-  srcdir=.
-fi
-# Remove unnecessary trailing slashes from srcdir.
-# Double slashes in file names in object file debugging info
-# mess up M-x gdb in Emacs.
-case $srcdir in
-*/) srcdir=`expr &quot;X$srcdir&quot; : 'X\(.*[^/]\)' \| &quot;X$srcdir&quot; : 'X\(.*\)'`;;
-esac
-for ac_var in $ac_precious_vars; do
-  eval ac_env_${ac_var}_set=\${${ac_var}+set}
-  eval ac_env_${ac_var}_value=\$${ac_var}
-  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
-  eval ac_cv_env_${ac_var}_value=\$${ac_var}
-done
+srcdir=`echo &quot;$srcdir&quot; | 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.
@@ -1210,6 +800,9 @@ Configuration:
   -n, --no-create         do not create output files
       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
+_ACEOF
+
+  cat &lt;&lt;_ACEOF
 Installation directories:
   --prefix=PREFIX         install architecture-independent files in PREFIX
 			  [$ac_default_prefix]
@@ -1227,22 +820,15 @@ 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]
-  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
-  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
-  --infodir=DIR          info documentation [DATAROOTDIR/info]
-  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
-  --mandir=DIR           man documentation [DATAROOTDIR/man]
-  --docdir=DIR           documentation root [DATAROOTDIR/doc/full-package-name]
-  --htmldir=DIR          html documentation [DOCDIR]
-  --dvidir=DIR           dvi documentation [DOCDIR]
-  --pdfdir=DIR           pdf documentation [DOCDIR]
-  --psdir=DIR            ps documentation [DOCDIR]
+  --infodir=DIR          info documentation [PREFIX/info]
+  --mandir=DIR           man documentation [PREFIX/man]
 _ACEOF
 
   cat &lt;&lt;\_ACEOF
@@ -1261,6 +847,7 @@ Optional Features:
   --enable-mod_pubsub        enable mod_pubsub (default: yes)
   --enable-mod_irc        enable mod_irc (default: yes)
   --enable-mod_muc        enable mod_muc (default: yes)
+  --enable-mod_proxy65        enable mod_proxy65 (default: yes)
   --enable-eldap        enable eldap (default: yes)
   --enable-web        enable web (default: yes)
   --enable-tls        enable tls (default: yes)
@@ -1283,8 +870,8 @@ Some influential environment variables:
   CFLAGS      C compiler flags
   LDFLAGS     linker flags, e.g. -L&lt;lib dir&gt; if you have libraries in a
               nonstandard directory &lt;lib dir&gt;
-  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I&lt;include dir&gt; if
-              you have headers in a nonstandard directory &lt;include dir&gt;
+  CPPFLAGS    C/C++ preprocessor flags, e.g. -I&lt;include dir&gt; if you have
+              headers in a nonstandard directory &lt;include dir&gt;
   CPP         C preprocessor
 
 Use these variables to override the choices made by `configure' or to help
@@ -1292,86 +879,120 @@ it to find libraries and programs with nonstandard names/locations.
 
 Report bugs to &lt;BUG-REPORT-ADDRESS&gt;.
 _ACEOF
-ac_status=$?
 fi
 
 if test &quot;$ac_init_help&quot; = &quot;recursive&quot;; then
   # If there are subdirs, report their specific --help.
+  ac_popdir=`pwd`
   for ac_dir in : $ac_subdirs_all; do test &quot;x$ac_dir&quot; = x: &amp;&amp; continue
-    test -d &quot;$ac_dir&quot; || continue
+    test -d $ac_dir || continue
     ac_builddir=.
 
-case &quot;$ac_dir&quot; in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
+if test &quot;$ac_dir&quot; != .; then
   ac_dir_suffix=/`echo &quot;$ac_dir&quot; | sed 's,^\.[\\/],,'`
-  # A &quot;..&quot; for each directory in $ac_dir_suffix.
-  ac_top_builddir_sub=`echo &quot;$ac_dir_suffix&quot; | sed 's,/[^\\/]*,/..,g;s,/,,'`
-  case $ac_top_builddir_sub in
-  &quot;&quot;) ac_top_builddir_sub=. ac_top_build_prefix= ;;
-  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
-  esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
+  # A &quot;../&quot; for each directory in $ac_dir_suffix.
+  ac_top_builddir=`echo &quot;$ac_dir_suffix&quot; | sed 's,/[^\\/]*,../,g'`
+else
+  ac_dir_suffix= ac_top_builddir=
+fi
 
 case $srcdir in
-  .)  # We are building in place.
+  .)  # No --srcdir option.  We are building in place.
     ac_srcdir=.
-    ac_top_srcdir=$ac_top_builddir_sub
-    ac_abs_top_srcdir=$ac_pwd ;;
-  [\\/]* | ?:[\\/]* )  # Absolute name.
+    if test -z &quot;$ac_top_builddir&quot;; 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
-    ac_abs_top_srcdir=$srcdir ;;
-  *) # Relative name.
-    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
-    ac_top_srcdir=$ac_top_build_prefix$srcdir
-    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+    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 &amp;&amp; pwd` to compute absolute paths, because
+# the directories may not exist.
+case `pwd` in
+.) ac_abs_builddir=&quot;$ac_dir&quot;;;
+*)
+  case &quot;$ac_dir&quot; in
+  .) ac_abs_builddir=`pwd`;;
+  [\\/]* | ?:[\\/]* ) ac_abs_builddir=&quot;$ac_dir&quot;;;
+  *) ac_abs_builddir=`pwd`/&quot;$ac_dir&quot;;;
+  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
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
-
-    cd &quot;$ac_dir&quot; || { ac_status=$?; continue; }
-    # Check for guested configure.
-    if test -f &quot;$ac_srcdir/configure.gnu&quot;; then
-      echo &amp;&amp;
-      $SHELL &quot;$ac_srcdir/configure.gnu&quot; --help=recursive
-    elif test -f &quot;$ac_srcdir/configure&quot;; then
-      echo &amp;&amp;
-      $SHELL &quot;$ac_srcdir/configure&quot; --help=recursive
+
+    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 &quot;$as_me: WARNING: no configuration information is in $ac_dir&quot; &gt;&amp;2
-    fi || ac_status=$?
-    cd &quot;$ac_pwd&quot; || { ac_status=$?; break; }
+    fi
+    cd &quot;$ac_popdir&quot;
   done
 fi
 
-test -n &quot;$ac_init_help&quot; &amp;&amp; exit $ac_status
+test -n &quot;$ac_init_help&quot; &amp;&amp; exit 0
 if $ac_init_version; then
   cat &lt;&lt;\_ACEOF
 FULL-PACKAGE-NAME configure VERSION
-generated by GNU Autoconf 2.59d
+generated by GNU Autoconf 2.59
 
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+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
+  exit 0
 fi
-cat &gt;config.log &lt;&lt;_ACEOF
+exec 5&gt;config.log
+cat &gt;&amp;5 &lt;&lt;_ACEOF
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
 It was created by FULL-PACKAGE-NAME $as_me VERSION, which was
-generated by GNU Autoconf 2.59d.  Invocation command line was
+generated by GNU Autoconf 2.59.  Invocation command line was
 
   $ $0 $@
 
 _ACEOF
-exec 5&gt;&gt;config.log
 {
 cat &lt;&lt;_ASUNAME
 ## --------- ##
@@ -1390,7 +1011,7 @@ uname -v = `(uname -v) 2&gt;/dev/null || echo unknown`
 /bin/arch              = `(/bin/arch) 2&gt;/dev/null              || echo unknown`
 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2&gt;/dev/null       || echo unknown`
 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2&gt;/dev/null || echo unknown`
-/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2&gt;/dev/null      || echo unknown`
+hostinfo               = `(hostinfo) 2&gt;/dev/null               || echo unknown`
 /bin/machine           = `(/bin/machine) 2&gt;/dev/null           || echo unknown`
 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2&gt;/dev/null       || echo unknown`
 /bin/universe          = `(/bin/universe) 2&gt;/dev/null          || echo unknown`
@@ -1404,7 +1025,6 @@ do
   test -z &quot;$as_dir&quot; &amp;&amp; as_dir=.
   echo &quot;PATH: $as_dir&quot;
 done
-IFS=$as_save_IFS
 
 } &gt;&amp;5
 
@@ -1437,7 +1057,7 @@ do
     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
     | -silent | --silent | --silen | --sile | --sil)
       continue ;;
-    *\'*)
+    *&quot; &quot;*|*&quot;	&quot;*|*[\[\]\~\#\$\^\&amp;\*\(\)\{\}\\\|\;\&lt;\&gt;\?\&quot;\']*)
       ac_arg=`echo &quot;$ac_arg&quot; | sed &quot;s/'/'\\\\\\\\''/g&quot;` ;;
     esac
     case $ac_pass in
@@ -1472,8 +1092,8 @@ $as_unset ac_configure_args1 || test &quot;${ac_configure_args1+set}&quot; != set || { ac_
 # 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: Use '\'' to represent an apostrophe within the trap.
-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
+# 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.
   {
@@ -1486,34 +1106,20 @@ trap 'exit_status=$?
 _ASBOX
     echo
     # The following way of writing the cache mishandles newlines in values,
-(
-  for ac_var in `(set) 2&gt;&amp;1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
-    eval ac_val=\$$ac_var
-    case $ac_val in #(
-    *${as_nl}*)
-      case $ac_var in #(
-      *_cv_*) { echo &quot;$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline.&quot; &gt;&amp;5
-echo &quot;$as_me: WARNING: Cache variable $ac_var contains a newline.&quot; &gt;&amp;2;} ;;
-      esac
-      case $ac_var in #(
-      _ | IFS | as_nl) ;; #(
-      *) $as_unset $ac_var ;;
-      esac ;;
-    esac
-  done
+{
   (set) 2&gt;&amp;1 |
-    case $as_nl`(ac_space='\'' '\''; set) 2&gt;&amp;1` in #(
-    *${as_nl}ac_space=\ *)
+    case `(ac_space='&quot;'&quot;' '&quot;'&quot;'; set | grep ac_space) 2&gt;&amp;1` in
+    *ac_space=\ *)
       sed -n \
-	&quot;s/'\''/'\''\\\\'\'''\''/g;
-	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p&quot;
-      ;; #(
+	&quot;s/'&quot;'&quot;'/'&quot;'&quot;'\\\\'&quot;'&quot;''&quot;'&quot;'/g;
+	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='&quot;'&quot;'\\2'&quot;'&quot;'/p&quot;
+      ;;
     *)
-      sed -n &quot;/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p&quot;
+      sed -n \
+	&quot;s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p&quot;
       ;;
-    esac |
-    sort
-)
+    esac;
+}
     echo
 
     cat &lt;&lt;\_ASBOX
@@ -1524,22 +1130,22 @@ _ASBOX
     echo
     for ac_var in $ac_subst_vars
     do
-      eval ac_val=\$$ac_var
-      echo &quot;$ac_var='\''$ac_val'\''&quot;
+      eval ac_val=$`echo $ac_var`
+      echo &quot;$ac_var='&quot;'&quot;'$ac_val'&quot;'&quot;'&quot;
     done | sort
     echo
 
     if test -n &quot;$ac_subst_files&quot;; then
       cat &lt;&lt;\_ASBOX
-## ------------------- ##
-## File substitutions. ##
-## ------------------- ##
+## ------------- ##
+## Output files. ##
+## ------------- ##
 _ASBOX
       echo
       for ac_var in $ac_subst_files
       do
-	eval ac_val=\$$ac_var
-	echo &quot;$ac_var='\''$ac_val'\''&quot;
+	eval ac_val=$`echo $ac_var`
+	echo &quot;$ac_var='&quot;'&quot;'$ac_val'&quot;'&quot;'&quot;
       done | sort
       echo
     fi
@@ -1551,24 +1157,26 @@ _ASBOX
 ## ----------- ##
 _ASBOX
       echo
-      cat confdefs.h
+      sed &quot;/^$/d&quot; confdefs.h | sort
       echo
     fi
     test &quot;$ac_signal&quot; != 0 &amp;&amp;
       echo &quot;$as_me: caught signal $ac_signal&quot;
     echo &quot;$as_me: exit $exit_status&quot;
   } &gt;&amp;5
-  rm -f core *.core core.conftest.* &amp;&amp;
-    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &amp;&amp;
+  rm -f core *.core &amp;&amp;
+  rm -rf conftest* confdefs* conf$$* $ac_clean_files &amp;&amp;
     exit $exit_status
-' 0
+     ' 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 -f -r conftest* confdefs.h
+rm -rf conftest* confdefs.h
+# AIX cpp loses on an empty file, so make sure it contains at least a newline.
+echo &gt;confdefs.h
 
 # Predefined preprocessor variables.
 
@@ -1599,17 +1207,14 @@ _ACEOF
 
 # Let the site file select an alternate cache file if it wants to.
 # Prefer explicitly selected file to automatically selected ones.
-if test -n &quot;$CONFIG_SITE&quot;; then
-  set x &quot;$CONFIG_SITE&quot;
-elif test &quot;x$prefix&quot; != xNONE; then
-  set x &quot;$prefix/share/config.site&quot; &quot;$prefix/etc/config.site&quot;
-else
-  set x &quot;$ac_default_prefix/share/config.site&quot; \
-	&quot;$ac_default_prefix/etc/config.site&quot;
+if test -z &quot;$CONFIG_SITE&quot;; then
+  if test &quot;x$prefix&quot; != xNONE; then
+    CONFIG_SITE=&quot;$prefix/share/config.site $prefix/etc/config.site&quot;
+  else
+    CONFIG_SITE=&quot;$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site&quot;
+  fi
 fi
-shift
-for ac_site_file
-do
+for ac_site_file in $CONFIG_SITE; do
   if test -r &quot;$ac_site_file&quot;; then
     { echo &quot;$as_me:$LINENO: loading site script $ac_site_file&quot; &gt;&amp;5
 echo &quot;$as_me: loading site script $ac_site_file&quot; &gt;&amp;6;}
@@ -1625,8 +1230,8 @@ if test -r &quot;$cache_file&quot;; then
     { echo &quot;$as_me:$LINENO: loading cache $cache_file&quot; &gt;&amp;5
 echo &quot;$as_me: loading cache $cache_file&quot; &gt;&amp;6;}
     case $cache_file in
-      [\\/]* | ?:[\\/]* ) . &quot;$cache_file&quot;;;
-      *)                      . &quot;./$cache_file&quot;;;
+      [\\/]* | ?:[\\/]* ) . $cache_file;;
+      *)                      . ./$cache_file;;
     esac
   fi
 else
@@ -1638,11 +1243,12 @@ fi
 # Check that the precious variables saved in the cache have kept the same
 # value.
 ac_cache_corrupted=false
-for ac_var in $ac_precious_vars; do
+for ac_var in `(set) 2&gt;&amp;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
+  eval ac_old_val=&quot;\$ac_cv_env_${ac_var}_value&quot;
+  eval ac_new_val=&quot;\$ac_env_${ac_var}_value&quot;
   case $ac_old_set,$ac_new_set in
     set,)
       { echo &quot;$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run&quot; &gt;&amp;5
@@ -1667,7 +1273,8 @@ echo &quot;$as_me:   current value: $ac_new_val&quot; &gt;&amp;2;}
   # Pass precious variables to config.status.
   if test &quot;$ac_new_set&quot; = set; then
     case $ac_new_val in
-    *\'*) ac_arg=$ac_var=`echo &quot;$ac_new_val&quot; | sed &quot;s/'/'\\\\\\\\''/g&quot;` ;;
+    *&quot; &quot;*|*&quot;	&quot;*|*[\[\]\~\#\$\^\&amp;\*\(\)\{\}\\\|\;\&lt;\&gt;\?\&quot;\']*)
+      ac_arg=$ac_var=`echo &quot;$ac_new_val&quot; | sed &quot;s/'/'\\\\\\\\''/g&quot;` ;;
     *) ac_arg=$ac_var=$ac_new_val ;;
     esac
     case &quot; $ac_configure_args &quot; in
@@ -1684,6 +1291,12 @@ echo &quot;$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start ov
    { (exit 1); exit 1; }; }
 fi
 
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext &gt;&amp;5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS &gt;&amp;5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
 
 
 
@@ -1708,11 +1321,6 @@ fi
 
 
 
-ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext &gt;&amp;5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS &gt;&amp;5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
@@ -1725,8 +1333,8 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 if test -n &quot;$ac_tool_prefix&quot;; then
   # Extract the first word of &quot;${ac_tool_prefix}gcc&quot;, so it can be a program name with args.
 set dummy ${ac_tool_prefix}gcc; ac_word=$2
-{ echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_prog_CC+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -1739,34 +1347,32 @@ do
   IFS=$as_save_IFS
   test -z &quot;$as_dir&quot; &amp;&amp; as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f &quot;$as_dir/$ac_word$ac_exec_ext&quot; &amp;&amp; $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; }; then
+  if $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; then
     ac_cv_prog_CC=&quot;${ac_tool_prefix}gcc&quot;
     echo &quot;$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext&quot; &gt;&amp;5
     break 2
   fi
 done
 done
-IFS=$as_save_IFS
 
 fi
 fi
 CC=$ac_cv_prog_CC
 if test -n &quot;$CC&quot;; then
-  { echo &quot;$as_me:$LINENO: result: $CC&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$CC&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: $CC&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$CC&quot; &gt;&amp;6
 else
-  { echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
-echo &quot;${ECHO_T}no&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
+echo &quot;${ECHO_T}no&quot; &gt;&amp;6
 fi
 
-
 fi
 if test -z &quot;$ac_cv_prog_CC&quot;; then
   ac_ct_CC=$CC
   # Extract the first word of &quot;gcc&quot;, so it can be a program name with args.
 set dummy gcc; ac_word=$2
-{ echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_prog_ac_ct_CC+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -1779,51 +1385,36 @@ do
   IFS=$as_save_IFS
   test -z &quot;$as_dir&quot; &amp;&amp; as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f &quot;$as_dir/$ac_word$ac_exec_ext&quot; &amp;&amp; $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; }; then
+  if $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; then
     ac_cv_prog_ac_ct_CC=&quot;gcc&quot;
     echo &quot;$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext&quot; &gt;&amp;5
     break 2
   fi
 done
 done
-IFS=$as_save_IFS
 
 fi
 fi
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 if test -n &quot;$ac_ct_CC&quot;; then
-  { echo &quot;$as_me:$LINENO: result: $ac_ct_CC&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_ct_CC&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: $ac_ct_CC&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_ct_CC&quot; &gt;&amp;6
 else
-  { echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
-echo &quot;${ECHO_T}no&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
+echo &quot;${ECHO_T}no&quot; &gt;&amp;6
 fi
 
-  if test &quot;x$ac_ct_CC&quot; = x; then
-    CC=&quot;&quot;
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo &quot;$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org.&quot; &gt;&amp;5
-echo &quot;$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org.&quot; &gt;&amp;2;}
-ac_tool_warned=yes ;;
-esac
-    CC=$ac_ct_CC
-  fi
+  CC=$ac_ct_CC
 else
   CC=&quot;$ac_cv_prog_CC&quot;
 fi
 
 if test -z &quot;$CC&quot;; then
-          if test -n &quot;$ac_tool_prefix&quot;; then
-    # Extract the first word of &quot;${ac_tool_prefix}cc&quot;, so it can be a program name with args.
+  if test -n &quot;$ac_tool_prefix&quot;; then
+  # Extract the first word of &quot;${ac_tool_prefix}cc&quot;, so it can be a program name with args.
 set dummy ${ac_tool_prefix}cc; ac_word=$2
-{ echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_prog_CC+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -1836,34 +1427,74 @@ do
   IFS=$as_save_IFS
   test -z &quot;$as_dir&quot; &amp;&amp; as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f &quot;$as_dir/$ac_word$ac_exec_ext&quot; &amp;&amp; $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; }; then
+  if $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; then
     ac_cv_prog_CC=&quot;${ac_tool_prefix}cc&quot;
     echo &quot;$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext&quot; &gt;&amp;5
     break 2
   fi
 done
 done
-IFS=$as_save_IFS
 
 fi
 fi
 CC=$ac_cv_prog_CC
 if test -n &quot;$CC&quot;; then
-  { echo &quot;$as_me:$LINENO: result: $CC&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$CC&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: $CC&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$CC&quot; &gt;&amp;6
 else
-  { echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
-echo &quot;${ECHO_T}no&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
+echo &quot;${ECHO_T}no&quot; &gt;&amp;6
 fi
 
-
+fi
+if test -z &quot;$ac_cv_prog_CC&quot;; then
+  ac_ct_CC=$CC
+  # Extract the first word of &quot;cc&quot;, so it can be a program name with args.
+set dummy cc; ac_word=$2
+echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6
+if test &quot;${ac_cv_prog_ac_ct_CC+set}&quot; = set; then
+  echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
+else
+  if test -n &quot;$ac_ct_CC&quot;; then
+  ac_cv_prog_ac_ct_CC=&quot;$ac_ct_CC&quot; # 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 &quot;$as_dir&quot; &amp;&amp; as_dir=.
+  for ac_exec_ext in '' $ac_executable_extensions; do
+  if $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; then
+    ac_cv_prog_ac_ct_CC=&quot;cc&quot;
+    echo &quot;$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext&quot; &gt;&amp;5
+    break 2
   fi
+done
+done
+
+fi
+fi
+ac_ct_CC=$ac_cv_prog_ac_ct_CC
+if test -n &quot;$ac_ct_CC&quot;; then
+  echo &quot;$as_me:$LINENO: result: $ac_ct_CC&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_ct_CC&quot; &gt;&amp;6
+else
+  echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
+echo &quot;${ECHO_T}no&quot; &gt;&amp;6
+fi
+
+  CC=$ac_ct_CC
+else
+  CC=&quot;$ac_cv_prog_CC&quot;
+fi
+
 fi
 if test -z &quot;$CC&quot;; then
   # Extract the first word of &quot;cc&quot;, so it can be a program name with args.
 set dummy cc; ac_word=$2
-{ echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_prog_CC+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -1877,7 +1508,7 @@ do
   IFS=$as_save_IFS
   test -z &quot;$as_dir&quot; &amp;&amp; as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f &quot;$as_dir/$ac_word$ac_exec_ext&quot; &amp;&amp; $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; }; then
+  if $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; then
     if test &quot;$as_dir/$ac_word$ac_exec_ext&quot; = &quot;/usr/ucb/cc&quot;; then
        ac_prog_rejected=yes
        continue
@@ -1888,7 +1519,6 @@ do
   fi
 done
 done
-IFS=$as_save_IFS
 
 if test $ac_prog_rejected = yes; then
   # We found a bogon in the path, so make sure we never use it.
@@ -1906,23 +1536,22 @@ fi
 fi
 CC=$ac_cv_prog_CC
 if test -n &quot;$CC&quot;; then
-  { echo &quot;$as_me:$LINENO: result: $CC&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$CC&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: $CC&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$CC&quot; &gt;&amp;6
 else
-  { echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
-echo &quot;${ECHO_T}no&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
+echo &quot;${ECHO_T}no&quot; &gt;&amp;6
 fi
 
-
 fi
 if test -z &quot;$CC&quot;; then
   if test -n &quot;$ac_tool_prefix&quot;; then
-  for ac_prog in cl.exe
+  for ac_prog in cl
   do
     # Extract the first word of &quot;$ac_tool_prefix$ac_prog&quot;, so it can be a program name with args.
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
-{ echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_prog_CC+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -1935,38 +1564,36 @@ do
   IFS=$as_save_IFS
   test -z &quot;$as_dir&quot; &amp;&amp; as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f &quot;$as_dir/$ac_word$ac_exec_ext&quot; &amp;&amp; $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; }; then
+  if $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; then
     ac_cv_prog_CC=&quot;$ac_tool_prefix$ac_prog&quot;
     echo &quot;$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext&quot; &gt;&amp;5
     break 2
   fi
 done
 done
-IFS=$as_save_IFS
 
 fi
 fi
 CC=$ac_cv_prog_CC
 if test -n &quot;$CC&quot;; then
-  { echo &quot;$as_me:$LINENO: result: $CC&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$CC&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: $CC&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$CC&quot; &gt;&amp;6
 else
-  { echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
-echo &quot;${ECHO_T}no&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
+echo &quot;${ECHO_T}no&quot; &gt;&amp;6
 fi
 
-
     test -n &quot;$CC&quot; &amp;&amp; break
   done
 fi
 if test -z &quot;$CC&quot;; then
   ac_ct_CC=$CC
-  for ac_prog in cl.exe
+  for ac_prog in cl
 do
   # Extract the first word of &quot;$ac_prog&quot;, so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
-{ echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_prog_ac_ct_CC+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -1979,45 +1606,29 @@ do
   IFS=$as_save_IFS
   test -z &quot;$as_dir&quot; &amp;&amp; as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f &quot;$as_dir/$ac_word$ac_exec_ext&quot; &amp;&amp; $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; }; then
+  if $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; then
     ac_cv_prog_ac_ct_CC=&quot;$ac_prog&quot;
     echo &quot;$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext&quot; &gt;&amp;5
     break 2
   fi
 done
 done
-IFS=$as_save_IFS
 
 fi
 fi
 ac_ct_CC=$ac_cv_prog_ac_ct_CC
 if test -n &quot;$ac_ct_CC&quot;; then
-  { echo &quot;$as_me:$LINENO: result: $ac_ct_CC&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_ct_CC&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: $ac_ct_CC&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_ct_CC&quot; &gt;&amp;6
 else
-  { echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
-echo &quot;${ECHO_T}no&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
+echo &quot;${ECHO_T}no&quot; &gt;&amp;6
 fi
 
-
   test -n &quot;$ac_ct_CC&quot; &amp;&amp; break
 done
 
-  if test &quot;x$ac_ct_CC&quot; = x; then
-    CC=&quot;&quot;
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo &quot;$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org.&quot; &gt;&amp;5
-echo &quot;$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org.&quot; &gt;&amp;2;}
-ac_tool_warned=yes ;;
-esac
-    CC=$ac_ct_CC
-  fi
+  CC=$ac_ct_CC
 fi
 
 fi
@@ -2030,38 +1641,25 @@ See \`config.log' for more details.&quot; &gt;&amp;2;}
    { (exit 1); exit 1; }; }
 
 # Provide some information about the compiler.
-echo &quot;$as_me:$LINENO: checking for C compiler version&quot; &gt;&amp;5
+echo &quot;$as_me:$LINENO:&quot; \
+     &quot;checking for C compiler version&quot; &gt;&amp;5
 ac_compiler=`set X $ac_compile; echo $2`
-{ (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compiler --version &gt;&amp;5\&quot;&quot;) &gt;&amp;5
-  (eval $ac_compiler --version &gt;&amp;5) 2&gt;&amp;5
+{ (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compiler --version &lt;/dev/null &gt;&amp;5\&quot;&quot;) &gt;&amp;5
+  (eval $ac_compiler --version &lt;/dev/null &gt;&amp;5) 2&gt;&amp;5
   ac_status=$?
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); }
-{ (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compiler -v &gt;&amp;5\&quot;&quot;) &gt;&amp;5
-  (eval $ac_compiler -v &gt;&amp;5) 2&gt;&amp;5
+{ (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compiler -v &lt;/dev/null &gt;&amp;5\&quot;&quot;) &gt;&amp;5
+  (eval $ac_compiler -v &lt;/dev/null &gt;&amp;5) 2&gt;&amp;5
   ac_status=$?
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); }
-{ (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compiler -V &gt;&amp;5\&quot;&quot;) &gt;&amp;5
-  (eval $ac_compiler -V &gt;&amp;5) 2&gt;&amp;5
+{ (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compiler -V &lt;/dev/null &gt;&amp;5\&quot;&quot;) &gt;&amp;5
+  (eval $ac_compiler -V &lt;/dev/null &gt;&amp;5) 2&gt;&amp;5
   ac_status=$?
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); }
 
-
-# List of possible output files.  We want to start from the most likely,
-# but we have to check foo.exe before foo, because Cygwin `test -f' looks
-# also for foo.exe.  b.out is created by i960 compilers.
-# As a last resort, we also try wildcards: `conftest.*' and `a.*'.
-# But we are not allowed to rm a.*, and we do not want always remove
-# conftest.*, so we will list them literally, when appropriate.
-ac_outfiles=&quot;a_out.exe a.out conftest.exe conftest a.exe b.out&quot;
-
-# The IRIX 6 linker writes into existing files which may not be
-# executable, retaining their permissions.  Remove them first so a
-# subsequent execution test works.
-rm -f $ac_outfiles conftest.*
-
 cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -2077,40 +1675,51 @@ main ()
   return 0;
 }
 _ACEOF
-
 ac_clean_files_save=$ac_clean_files
-ac_clean_files=&quot;$ac_clean_files $ac_outfiles&quot;
-
-# The following tests should remove their output except files matching conftest.*.
+ac_clean_files=&quot;$ac_clean_files a.out a.exe b.out&quot;
 # 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 &quot;$as_me:$LINENO: checking for C compiler default output file name&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for C compiler default output file name... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for C compiler default output file name&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for C compiler default output file name... $ECHO_C&quot; &gt;&amp;6
 ac_link_default=`echo &quot;$ac_link&quot; | sed 's/ -o *conftest[^ ]*//'`
-
 if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_link_default\&quot;&quot;) &gt;&amp;5
   (eval $ac_link_default) 2&gt;&amp;5
   ac_status=$?
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); }; then
-  for ac_file in $ac_outfiles a.* conftest.* NO
+  # 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 &quot;$ac_file&quot; || continue
   case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
-    * ) 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 &quot;$ac_file&quot; : '[^.]*\(\..*\)'`
+	# 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
-if test &quot;$ac_file&quot; = NO; then
-  { { echo &quot;$as_me:$LINENO: error: no output file found
-See \`config.log' for more details.&quot; &gt;&amp;5
-echo &quot;$as_me: error: no output file found
-See \`config.log' for more details.&quot; &gt;&amp;2;}
-   { (exit 1); exit 1; }; }
-fi
-
-
 else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
@@ -2122,12 +1731,14 @@ See \`config.log' for more details.&quot; &gt;&amp;2;}
    { (exit 77); exit 77; }; }
 fi
 
-{ echo &quot;$as_me:$LINENO: result: $ac_file&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_file&quot; &gt;&amp;6; }
-# Check that the compiler produces executables we can run.  If not, either
+ac_exeext=$ac_cv_exeext
+echo &quot;$as_me:$LINENO: result: $ac_file&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_file&quot; &gt;&amp;6
+
+# Check the compiler produces executables we can run.  If not, either
 # the compiler is broken, or we cross compile.
-{ echo &quot;$as_me:$LINENO: checking whether the C compiler works&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking whether the C compiler works... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking whether the C compiler works&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking whether the C compiler works... $ECHO_C&quot; &gt;&amp;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 &quot;$cross_compiling&quot; != yes; then
@@ -2152,84 +1763,83 @@ See \`config.log' for more details.&quot; &gt;&amp;2;}
     fi
   fi
 fi
-{ echo &quot;$as_me:$LINENO: result: yes&quot; &gt;&amp;5
-echo &quot;${ECHO_T}yes&quot; &gt;&amp;6; }
-
-# Clean up; list also $ac_file, in case it matched a wildcard entry.
-rm -f $ac_outfiles $ac_file
+echo &quot;$as_me:$LINENO: result: yes&quot; &gt;&amp;5
+echo &quot;${ECHO_T}yes&quot; &gt;&amp;6
 
-{ echo &quot;$as_me:$LINENO: checking whether we are cross compiling&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking whether we are cross compiling... $ECHO_C&quot; &gt;&amp;6; }
-{ echo &quot;$as_me:$LINENO: result: $cross_compiling&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$cross_compiling&quot; &gt;&amp;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 &quot;$as_me:$LINENO: checking whether we are cross compiling&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking whether we are cross compiling... $ECHO_C&quot; &gt;&amp;6
+echo &quot;$as_me:$LINENO: result: $cross_compiling&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$cross_compiling&quot; &gt;&amp;6
 
-{ echo &quot;$as_me:$LINENO: checking for suffix of executables&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for suffix of executables... $ECHO_C&quot; &gt;&amp;6; }
-if test &quot;${ac_cv_exeext+set}&quot; = set; then
-  echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
-else
-  if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_link\&quot;&quot;) &gt;&amp;5
+echo &quot;$as_me:$LINENO: checking for suffix of executables&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for suffix of executables... $ECHO_C&quot; &gt;&amp;6
+if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_link\&quot;&quot;) &gt;&amp;5
   (eval $ac_link) 2&gt;&amp;5
   ac_status=$?
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;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.* NO; do
-      test -f &quot;$ac_file&quot; || continue
-      case $ac_file in
-	*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
-	*.* ) ac_cv_exeext=`expr &quot;$ac_file&quot; : '[^.]*\(\..*\)'`
-	      break;;
-	* ) break;;
-      esac
-    done
-    if test &quot;$ac_file&quot; = NO; then
-  { { echo &quot;$as_me:$LINENO: error: cannot compute suffix of executables: no output file found
-See \`config.log' for more details.&quot; &gt;&amp;5
-echo &quot;$as_me: error: cannot compute suffix of executables: no output file found
-See \`config.log' for more details.&quot; &gt;&amp;2;}
-   { (exit 1); exit 1; }; }
-fi
-
-    # Clean up; list also $ac_file, in case it matched conftest.*.
-    rm -f $ac_outfiles $ac_file
-
+  # 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 &quot;$ac_file&quot; || continue
+  case $ac_file in
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
+    *.* ) ac_cv_exeext=`expr &quot;$ac_file&quot; : '[^.]*\(\..*\)'`
+	  export ac_cv_exeext
+	  break;;
+    * ) break;;
+  esac
+done
 else
   { { echo &quot;$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
 See \`config.log' for more details.&quot; &gt;&amp;5
 echo &quot;$as_me: error: cannot compute suffix of executables: cannot compile and link
 See \`config.log' for more details.&quot; &gt;&amp;2;}
    { (exit 1); exit 1; }; }
-
 fi
 
+rm -f conftest$ac_cv_exeext
+echo &quot;$as_me:$LINENO: result: $ac_cv_exeext&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_cv_exeext&quot; &gt;&amp;6
 
-fi
-{ echo &quot;$as_me:$LINENO: result: $ac_cv_exeext&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_exeext&quot; &gt;&amp;6; }
+rm -f conftest.$ac_ext
 EXEEXT=$ac_cv_exeext
 ac_exeext=$EXEEXT
-
-
-ac_clean_files=$ac_clean_files_save
-
-{ echo &quot;$as_me:$LINENO: checking for suffix of object files&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for suffix of object files... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for suffix of object files&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for suffix of object files... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_objext+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
-  rm -f conftest.o conftest.obj
+  cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
+/* confdefs.h.  */
+_ACEOF
+cat confdefs.h &gt;&gt;conftest.$ac_ext
+cat &gt;&gt;conftest.$ac_ext &lt;&lt;_ACEOF
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+rm -f conftest.o conftest.obj
 if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   (eval $ac_compile) 2&gt;&amp;5
   ac_status=$?
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); }; then
-  for ac_file in conftest.o conftest.obj conftest.*; do
-  test -f &quot;$ac_file&quot; || continue;
+  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2&gt;/dev/null`; do
   case $ac_file in
-    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
+    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
     *) ac_cv_objext=`expr &quot;$ac_file&quot; : '.*\.\(.*\)'`
        break;;
   esac
@@ -2245,16 +1855,14 @@ See \`config.log' for more details.&quot; &gt;&amp;2;}
    { (exit 1); exit 1; }; }
 fi
 
+rm -f conftest.$ac_cv_objext conftest.$ac_ext
 fi
-{ echo &quot;$as_me:$LINENO: result: $ac_cv_objext&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_objext&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_cv_objext&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_cv_objext&quot; &gt;&amp;6
 OBJEXT=$ac_cv_objext
 ac_objext=$OBJEXT
-
-
-rm -f conftest.*
-{ echo &quot;$as_me:$LINENO: checking whether we are using the GNU C compiler&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking whether we are using the GNU C compiler... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking whether we are using the GNU C compiler&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking whether we are using the GNU C compiler... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_c_compiler_gnu+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -2285,8 +1893,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -2303,28 +1910,24 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	ac_compiler_gnu=no
+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 &quot;$as_me:$LINENO: result: $ac_cv_c_compiler_gnu&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_c_compiler_gnu&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_cv_c_compiler_gnu&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_cv_c_compiler_gnu&quot; &gt;&amp;6
 GCC=`test $ac_compiler_gnu = yes &amp;&amp; echo yes`
 ac_test_CFLAGS=${CFLAGS+set}
 ac_save_CFLAGS=$CFLAGS
-{ echo &quot;$as_me:$LINENO: checking whether $CC accepts -g&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking whether $CC accepts -g... $ECHO_C&quot; &gt;&amp;6; }
+CFLAGS=&quot;-g&quot;
+echo &quot;$as_me:$LINENO: checking whether $CC accepts -g&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking whether $CC accepts -g... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_prog_cc_g+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
-  ac_save_c_werror_flag=$ac_c_werror_flag
-   ac_c_werror_flag=yes
-   ac_cv_prog_cc_g=no
-   CFLAGS=&quot;-g&quot;
-   cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
+  cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
 _ACEOF
 cat confdefs.h &gt;&gt;conftest.$ac_ext
@@ -2348,8 +1951,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -2366,23 +1968,97 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	CFLAGS=&quot;&quot;
-      cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
+ac_cv_prog_cc_g=no
+fi
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+echo &quot;$as_me:$LINENO: result: $ac_cv_prog_cc_g&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_cv_prog_cc_g&quot; &gt;&amp;6
+if test &quot;$ac_test_CFLAGS&quot; = set; then
+  CFLAGS=$ac_save_CFLAGS
+elif test $ac_cv_prog_cc_g = yes; then
+  if test &quot;$GCC&quot; = yes; then
+    CFLAGS=&quot;-g -O2&quot;
+  else
+    CFLAGS=&quot;-g&quot;
+  fi
+else
+  if test &quot;$GCC&quot; = yes; then
+    CFLAGS=&quot;-O2&quot;
+  else
+    CFLAGS=
+  fi
+fi
+echo &quot;$as_me:$LINENO: checking for $CC option to accept ANSI C&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $CC option to accept ANSI C... $ECHO_C&quot; &gt;&amp;6
+if test &quot;${ac_cv_prog_cc_stdc+set}&quot; = set; then
+  echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
+else
+  ac_cv_prog_cc_stdc=no
+ac_save_CC=$CC
+cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
 _ACEOF
 cat confdefs.h &gt;&gt;conftest.$ac_ext
 cat &gt;&gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* end confdefs.h.  */
+#include &lt;stdarg.h&gt;
+#include &lt;stdio.h&gt;
+#include &lt;sys/types.h&gt;
+#include &lt;sys/stat.h&gt;
+/* 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
-rm -f conftest.$ac_objext
+# 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 &quot;&quot; -qlanglvl=ansi -std1 -Ae &quot;-Aa -D_HPUX_SOURCE&quot; &quot;-Xc -D__EXTENSIONS__&quot;
+do
+  CC=&quot;$ac_save_CC $ac_arg&quot;
+  rm -f conftest.$ac_objext
 if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   (eval $ac_compile) 2&gt;conftest.er1
   ac_status=$?
@@ -2391,8 +2067,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -2404,24 +2079,80 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   ac_status=$?
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); }; }; then
-  :
+  ac_cv_prog_cc_stdc=$ac_arg
+break
 else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	ac_c_werror_flag=$ac_save_c_werror_flag
-	 CFLAGS=&quot;-g&quot;
-	 cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
+fi
+rm -f conftest.err conftest.$ac_objext
+done
+rm -f conftest.$ac_ext conftest.$ac_objext
+CC=$ac_save_CC
+
+fi
+
+case &quot;x$ac_cv_prog_cc_stdc&quot; in
+  x|xno)
+    echo &quot;$as_me:$LINENO: result: none needed&quot; &gt;&amp;5
+echo &quot;${ECHO_T}none needed&quot; &gt;&amp;6 ;;
+  *)
+    echo &quot;$as_me:$LINENO: result: $ac_cv_prog_cc_stdc&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_cv_prog_cc_stdc&quot; &gt;&amp;6
+    CC=&quot;$CC $ac_cv_prog_cc_stdc&quot; ;;
+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 &gt;conftest.$ac_ext &lt;&lt;_ACEOF
+#ifndef __cplusplus
+  choke me
+#endif
+_ACEOF
+rm -f conftest.$ac_objext
+if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
+  (eval $ac_compile) 2&gt;conftest.er1
+  ac_status=$?
+  grep -v '^ *+' conftest.er1 &gt;conftest.err
+  rm -f conftest.er1
+  cat conftest.err &gt;&amp;5
+  echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
+  (exit $ac_status); } &amp;&amp;
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
+  { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
+  (eval $ac_try) 2&gt;&amp;5
+  ac_status=$?
+  echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
+  (exit $ac_status); }; } &amp;&amp;
+	 { ac_try='test -s conftest.$ac_objext'
+  { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
+  (eval $ac_try) 2&gt;&amp;5
+  ac_status=$?
+  echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
+  (exit $ac_status); }; }; then
+  for ac_declaration in \
+   '' \
+   'extern &quot;C&quot; void std::exit (int) throw (); using std::exit;' \
+   'extern &quot;C&quot; void std::exit (int); using std::exit;' \
+   'extern &quot;C&quot; void exit (int) throw ();' \
+   'extern &quot;C&quot; void exit (int);' \
+   'void exit (int);'
+do
+  cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
 _ACEOF
 cat confdefs.h &gt;&gt;conftest.$ac_ext
 cat &gt;&gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* end confdefs.h.  */
-
+$ac_declaration
+#include &lt;stdlib.h&gt;
 int
 main ()
 {
-
+exit (42);
   ;
   return 0;
 }
@@ -2435,8 +2166,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -2448,104 +2178,30 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   ac_status=$?
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); }; }; then
-  ac_cv_prog_cc_g=yes
+  :
 else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-
-fi
-
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-
-rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
+continue
 fi
-
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-   ac_c_werror_flag=$ac_save_c_werror_flag
-fi
-{ echo &quot;$as_me:$LINENO: result: $ac_cv_prog_cc_g&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_prog_cc_g&quot; &gt;&amp;6; }
-if test &quot;$ac_test_CFLAGS&quot; = set; then
-  CFLAGS=$ac_save_CFLAGS
-elif test $ac_cv_prog_cc_g = yes; then
-  if test &quot;$GCC&quot; = yes; then
-    CFLAGS=&quot;-g -O2&quot;
-  else
-    CFLAGS=&quot;-g&quot;
-  fi
-else
-  if test &quot;$GCC&quot; = yes; then
-    CFLAGS=&quot;-O2&quot;
-  else
-    CFLAGS=
-  fi
-fi
-{ echo &quot;$as_me:$LINENO: checking for $CC option to accept ISO C89&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $CC option to accept ISO C89... $ECHO_C&quot; &gt;&amp;6; }
-if test &quot;${ac_cv_prog_cc_c89+set}&quot; = set; then
-  echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
-else
-  ac_cv_prog_cc_c89=no
-ac_save_CC=$CC
-cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
+  cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
 _ACEOF
 cat confdefs.h &gt;&gt;conftest.$ac_ext
 cat &gt;&gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* end confdefs.h.  */
-#include &lt;stdarg.h&gt;
-#include &lt;stdio.h&gt;
-#include &lt;sys/types.h&gt;
-#include &lt;sys/stat.h&gt;
-/* 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 -std 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 -std.  */
-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;
+$ac_declaration
 int
 main ()
 {
-return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
+exit (42);
   ;
   return 0;
 }
 _ACEOF
-for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
-	-Ae &quot;-Aa -D_HPUX_SOURCE&quot; &quot;-Xc -D__EXTENSIONS__&quot;
-do
-  CC=&quot;$ac_save_CC $ac_arg&quot;
-  rm -f conftest.$ac_objext
+rm -f conftest.$ac_objext
 if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   (eval $ac_compile) 2&gt;conftest.er1
   ac_status=$?
@@ -2554,8 +2210,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -2567,56 +2222,46 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   ac_status=$?
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); }; }; then
-  ac_cv_prog_cc_c89=$ac_arg
+  break
 else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-
 fi
-
-rm -f conftest.err conftest.$ac_objext
-  test &quot;x$ac_cv_prog_cc_c89&quot; != &quot;xno&quot; &amp;&amp; break
+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 done
-rm -f conftest.$ac_ext
-CC=$ac_save_CC
-
+rm -f conftest*
+if test -n &quot;$ac_declaration&quot;; then
+  echo '#ifdef __cplusplus' &gt;&gt;confdefs.h
+  echo $ac_declaration      &gt;&gt;confdefs.h
+  echo '#endif'             &gt;&gt;confdefs.h
 fi
-# AC_CACHE_VAL
-case &quot;x$ac_cv_prog_cc_c89&quot; in
-  x)
-    { echo &quot;$as_me:$LINENO: result: none needed&quot; &gt;&amp;5
-echo &quot;${ECHO_T}none needed&quot; &gt;&amp;6; } ;;
-  xno)
-    { echo &quot;$as_me:$LINENO: result: unsupported&quot; &gt;&amp;5
-echo &quot;${ECHO_T}unsupported&quot; &gt;&amp;6; } ;;
-  *)
-    CC=&quot;$CC $ac_cv_prog_cc_c89&quot;
-    { echo &quot;$as_me:$LINENO: result: $ac_cv_prog_cc_c89&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_prog_cc_c89&quot; &gt;&amp;6; } ;;
-esac
 
+else
+  echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
+sed 's/^/| /' conftest.$ac_ext &gt;&amp;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 &gt;&amp;5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS &gt;&amp;5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-{ echo &quot;$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C&quot; &gt;&amp;6
 set dummy ${MAKE-make}; ac_make=`echo &quot;$2&quot; | sed 'y,:./+-,___p_,'`
-if { as_var=ac_cv_prog_make_${ac_make}_set; eval &quot;test \&quot;\${$as_var+set}\&quot; = set&quot;; }; then
+if eval &quot;test \&quot;\${ac_cv_prog_make_${ac_make}_set+set}\&quot; = set&quot;; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
   cat &gt;conftest.make &lt;&lt;\_ACEOF
-SHELL = /bin/sh
 all:
-	@echo 'ac_maketemp=X&quot;$(MAKE)&quot;'
+	@echo 'ac_maketemp=&quot;$(MAKE)&quot;'
 _ACEOF
 # GNU make sometimes prints &quot;make[1]: Entering...&quot;, which would confuse us.
 eval `${MAKE-make} -f conftest.make 2&gt;/dev/null | grep temp=`
-if test &quot;$ac_maketemp&quot; != X ; then
+if test -n &quot;$ac_maketemp&quot;; then
   eval ac_cv_prog_make_${ac_make}_set=yes
 else
   eval ac_cv_prog_make_${ac_make}_set=no
@@ -2624,30 +2269,30 @@ fi
 rm -f conftest.make
 fi
 if eval &quot;test \&quot;`echo '$ac_cv_prog_make_'${ac_make}_set`\&quot; = yes&quot;; then
-  { echo &quot;$as_me:$LINENO: result: yes&quot; &gt;&amp;5
-echo &quot;${ECHO_T}yes&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: yes&quot; &gt;&amp;5
+echo &quot;${ECHO_T}yes&quot; &gt;&amp;6
   SET_MAKE=
 else
-  { echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
-echo &quot;${ECHO_T}no&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
+echo &quot;${ECHO_T}no&quot; &gt;&amp;6
   SET_MAKE=&quot;MAKE=${MAKE-make}&quot;
 fi
 
 
 #locating erlang
 
-# Check whether --with-erlang was given.
+# Check whether --with-erlang or --without-erlang was given.
 if test &quot;${with_erlang+set}&quot; = set; then
-  withval=$with_erlang;
-fi
+  withval=&quot;$with_erlang&quot;
 
+fi;
 
 
    if test -n &quot;$ac_tool_prefix&quot;; then
   # Extract the first word of &quot;${ac_tool_prefix}erlc&quot;, so it can be a program name with args.
 set dummy ${ac_tool_prefix}erlc; ac_word=$2
-{ echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_path_ERLC+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -2663,35 +2308,34 @@ do
   IFS=$as_save_IFS
   test -z &quot;$as_dir&quot; &amp;&amp; as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f &quot;$as_dir/$ac_word$ac_exec_ext&quot; &amp;&amp; $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; }; then
+  if $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; then
     ac_cv_path_ERLC=&quot;$as_dir/$ac_word$ac_exec_ext&quot;
     echo &quot;$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext&quot; &gt;&amp;5
     break 2
   fi
 done
 done
-IFS=$as_save_IFS
 
   ;;
 esac
 fi
 ERLC=$ac_cv_path_ERLC
+
 if test -n &quot;$ERLC&quot;; then
-  { echo &quot;$as_me:$LINENO: result: $ERLC&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ERLC&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: $ERLC&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ERLC&quot; &gt;&amp;6
 else
-  { echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
-echo &quot;${ECHO_T}no&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
+echo &quot;${ECHO_T}no&quot; &gt;&amp;6
 fi
 
-
 fi
 if test -z &quot;$ac_cv_path_ERLC&quot;; then
   ac_pt_ERLC=$ERLC
   # Extract the first word of &quot;erlc&quot;, so it can be a program name with args.
 set dummy erlc; ac_word=$2
-{ echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_path_ac_pt_ERLC+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -2707,42 +2351,28 @@ do
   IFS=$as_save_IFS
   test -z &quot;$as_dir&quot; &amp;&amp; as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f &quot;$as_dir/$ac_word$ac_exec_ext&quot; &amp;&amp; $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; }; then
+  if $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; then
     ac_cv_path_ac_pt_ERLC=&quot;$as_dir/$ac_word$ac_exec_ext&quot;
     echo &quot;$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext&quot; &gt;&amp;5
     break 2
   fi
 done
 done
-IFS=$as_save_IFS
 
   ;;
 esac
 fi
 ac_pt_ERLC=$ac_cv_path_ac_pt_ERLC
+
 if test -n &quot;$ac_pt_ERLC&quot;; then
-  { echo &quot;$as_me:$LINENO: result: $ac_pt_ERLC&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_pt_ERLC&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: $ac_pt_ERLC&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_pt_ERLC&quot; &gt;&amp;6
 else
-  { echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
-echo &quot;${ECHO_T}no&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
+echo &quot;${ECHO_T}no&quot; &gt;&amp;6
 fi
 
-  if test &quot;x$ac_pt_ERLC&quot; = x; then
-    ERLC=&quot;&quot;
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo &quot;$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org.&quot; &gt;&amp;5
-echo &quot;$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org.&quot; &gt;&amp;2;}
-ac_tool_warned=yes ;;
-esac
-    ERLC=$ac_pt_ERLC
-  fi
+  ERLC=$ac_pt_ERLC
 else
   ERLC=&quot;$ac_cv_path_ERLC&quot;
 fi
@@ -2750,8 +2380,8 @@ fi
    if test -n &quot;$ac_tool_prefix&quot;; then
   # Extract the first word of &quot;${ac_tool_prefix}erl&quot;, so it can be a program name with args.
 set dummy ${ac_tool_prefix}erl; ac_word=$2
-{ echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_path_ERL+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -2767,35 +2397,34 @@ do
   IFS=$as_save_IFS
   test -z &quot;$as_dir&quot; &amp;&amp; as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f &quot;$as_dir/$ac_word$ac_exec_ext&quot; &amp;&amp; $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; }; then
+  if $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; then
     ac_cv_path_ERL=&quot;$as_dir/$ac_word$ac_exec_ext&quot;
     echo &quot;$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext&quot; &gt;&amp;5
     break 2
   fi
 done
 done
-IFS=$as_save_IFS
 
   ;;
 esac
 fi
 ERL=$ac_cv_path_ERL
+
 if test -n &quot;$ERL&quot;; then
-  { echo &quot;$as_me:$LINENO: result: $ERL&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ERL&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: $ERL&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ERL&quot; &gt;&amp;6
 else
-  { echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
-echo &quot;${ECHO_T}no&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
+echo &quot;${ECHO_T}no&quot; &gt;&amp;6
 fi
 
-
 fi
 if test -z &quot;$ac_cv_path_ERL&quot;; then
   ac_pt_ERL=$ERL
   # Extract the first word of &quot;erl&quot;, so it can be a program name with args.
 set dummy erl; ac_word=$2
-{ echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for $ac_word&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_word... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_path_ac_pt_ERL+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -2811,42 +2440,28 @@ do
   IFS=$as_save_IFS
   test -z &quot;$as_dir&quot; &amp;&amp; as_dir=.
   for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f &quot;$as_dir/$ac_word$ac_exec_ext&quot; &amp;&amp; $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; }; then
+  if $as_executable_p &quot;$as_dir/$ac_word$ac_exec_ext&quot;; then
     ac_cv_path_ac_pt_ERL=&quot;$as_dir/$ac_word$ac_exec_ext&quot;
     echo &quot;$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext&quot; &gt;&amp;5
     break 2
   fi
 done
 done
-IFS=$as_save_IFS
 
   ;;
 esac
 fi
 ac_pt_ERL=$ac_cv_path_ac_pt_ERL
+
 if test -n &quot;$ac_pt_ERL&quot;; then
-  { echo &quot;$as_me:$LINENO: result: $ac_pt_ERL&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_pt_ERL&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: $ac_pt_ERL&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_pt_ERL&quot; &gt;&amp;6
 else
-  { echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
-echo &quot;${ECHO_T}no&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: result: no&quot; &gt;&amp;5
+echo &quot;${ECHO_T}no&quot; &gt;&amp;6
 fi
 
-  if test &quot;x$ac_pt_ERL&quot; = x; then
-    ERL=&quot;&quot;
-  else
-    case $cross_compiling:$ac_tool_warned in
-yes:)
-{ echo &quot;$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org.&quot; &gt;&amp;5
-echo &quot;$as_me: WARNING: In the future, Autoconf will not detect cross-tools
-whose name does not start with the host triplet.  If you think this
-configuration is useful to you, please write to autoconf@gnu.org.&quot; &gt;&amp;2;}
-ac_tool_warned=yes ;;
-esac
-    ERL=$ac_pt_ERL
-  fi
+  ERL=$ac_pt_ERL
 else
   ERL=&quot;$ac_cv_path_ERL&quot;
 fi
@@ -2941,20 +2556,20 @@ echo &quot;$as_me: error: erlang program was not properly executed, (conftest.out was
 
 
 
-# Check whether --with-libiconv-prefix was given.
+# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
 if test &quot;${with_libiconv_prefix+set}&quot; = set; then
-  withval=$with_libiconv_prefix;
+  withval=&quot;$with_libiconv_prefix&quot;
+
     for dir in `echo &quot;$withval&quot; | tr : ' '`; do
       if test -d $dir/include; then CPPFLAGS=&quot;$CPPFLAGS -I$dir/include&quot;; fi
       if test -d $dir/include; then CFLAGS=&quot;$CFLAGS -I$dir/include&quot;; fi
       if test -d $dir/lib; then LDFLAGS=&quot;$LDFLAGS -L$dir/lib&quot;; fi
     done
 
-fi
-
+fi;
 
-  { echo &quot;$as_me:$LINENO: checking for iconv&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for iconv... $ECHO_C&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: checking for iconv&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for iconv... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${am_cv_func_iconv+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -2988,8 +2603,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_link\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -3006,9 +2620,7 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-
 fi
-
 rm -f conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
     if test &quot;$am_cv_func_iconv&quot; != yes; then
@@ -3041,8 +2653,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_link\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -3060,9 +2671,7 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-
 fi
-
 rm -f conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
       LIBS=&quot;$am_save_LIBS&quot;
@@ -3101,8 +2710,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_link\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -3121,10 +2729,9 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	LDFLAGS=&quot;$am_save_LDFLAGS&quot;
+LDFLAGS=&quot;$am_save_LDFLAGS&quot;
 		CFLAGS=&quot;$am_save_CFLAGS&quot;
 fi
-
 rm -f conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
       LIBS=&quot;$am_save_LIBS&quot;
@@ -3132,16 +2739,16 @@ rm -f conftest.err conftest.$ac_objext \
 
 
 fi
-{ echo &quot;$as_me:$LINENO: result: $am_cv_func_iconv&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$am_cv_func_iconv&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $am_cv_func_iconv&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$am_cv_func_iconv&quot; &gt;&amp;6
   if test &quot;$am_cv_func_iconv&quot; = yes; then
 
 cat &gt;&gt;confdefs.h &lt;&lt;\_ACEOF
 #define HAVE_ICONV 1
 _ACEOF
 
-    { echo &quot;$as_me:$LINENO: checking for iconv declaration&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for iconv declaration... $ECHO_C&quot; &gt;&amp;6; }
+    echo &quot;$as_me:$LINENO: checking for iconv declaration&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for iconv declaration... $ECHO_C&quot; &gt;&amp;6
     if test &quot;${am_cv_proto_iconv+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -3182,8 +2789,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -3200,18 +2806,17 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	am_cv_proto_iconv_arg1=&quot;const&quot;
+am_cv_proto_iconv_arg1=&quot;const&quot;
 fi
-
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
       am_cv_proto_iconv=&quot;extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);&quot;
 fi
 
     am_cv_proto_iconv=`echo &quot;$am_cv_proto_iconv&quot; | tr -s ' ' | sed -e 's/( /(/'`
-    { echo &quot;$as_me:$LINENO: result: ${ac_t:-
+    echo &quot;$as_me:$LINENO: result: ${ac_t:-
          }$am_cv_proto_iconv&quot; &gt;&amp;5
 echo &quot;${ECHO_T}${ac_t:-
-         }$am_cv_proto_iconv&quot; &gt;&amp;6; }
+         }$am_cv_proto_iconv&quot; &gt;&amp;6
 
 cat &gt;&gt;confdefs.h &lt;&lt;_ACEOF
 #define ICONV_CONST $am_cv_proto_iconv_arg1
@@ -3230,8 +2835,8 @@ ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext &gt;&amp;5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS &gt;&amp;5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
-{ echo &quot;$as_me:$LINENO: checking how to run the C preprocessor&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking how to run the C preprocessor... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking how to run the C preprocessor&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking how to run the C preprocessor... $ECHO_C&quot; &gt;&amp;6
 # On Suns, sometimes $CPP names a directory.
 if test -n &quot;$CPP&quot; &amp;&amp; test -d &quot;$CPP&quot;; then
   CPP=
@@ -3291,10 +2896,9 @@ sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
   # Broken: fails on valid input.
 continue
 fi
-
 rm -f conftest.err conftest.$ac_ext
 
-  # OK, works on sane cases.  Now check whether nonexistent headers
+  # OK, works on sane cases.  Now check whether non-existent headers
   # can be detected and how.
   cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
@@ -3332,7 +2936,6 @@ sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 ac_preproc_ok=:
 break
 fi
-
 rm -f conftest.err conftest.$ac_ext
 
 done
@@ -3350,8 +2953,8 @@ fi
 else
   ac_cv_prog_CPP=$CPP
 fi
-{ echo &quot;$as_me:$LINENO: result: $CPP&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$CPP&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $CPP&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$CPP&quot; &gt;&amp;6
 ac_preproc_ok=false
 for ac_c_preproc_warn_flag in '' yes
 do
@@ -3400,10 +3003,9 @@ sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
   # Broken: fails on valid input.
 continue
 fi
-
 rm -f conftest.err conftest.$ac_ext
 
-  # OK, works on sane cases.  Now check whether nonexistent headers
+  # OK, works on sane cases.  Now check whether non-existent headers
   # can be detected and how.
   cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
@@ -3441,7 +3043,6 @@ sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 ac_preproc_ok=:
 break
 fi
-
 rm -f conftest.err conftest.$ac_ext
 
 done
@@ -3464,170 +3065,23 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-{ echo &quot;$as_me:$LINENO: checking for grep that handles long lines and -e&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for grep that handles long lines and -e... $ECHO_C&quot; &gt;&amp;6; }
-if test &quot;${ac_cv_path_GREP+set}&quot; = set; then
-  echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
-else
-  # Extract the first word of &quot;grep ggrep&quot; to use in msg output
-if test -z &quot;$GREP&quot;; then
-set dummy grep ggrep; ac_prog_name=$2
-if test &quot;${ac_cv_path_GREP+set}&quot; = set; then
-  echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
-else
-  ac_path_GREP_found=false
-# Loop through the user's path and test for each of PROGNAME-LIST
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
-  IFS=$as_save_IFS
-  test -z &quot;$as_dir&quot; &amp;&amp; as_dir=.
-  for ac_prog in grep ggrep; do
-  for ac_exec_ext in '' $ac_executable_extensions; do
-    ac_path_GREP=&quot;$as_dir/$ac_prog$ac_exec_ext&quot;
-    { test -f &quot;$ac_path_GREP&quot; &amp;&amp; $as_executable_p &quot;$ac_path_GREP&quot;; } || continue
-    # Check for GNU ac_path_GREP and select it if it is found.
-  # Check for GNU $ac_path_GREP
-case `&quot;$ac_path_GREP&quot; --version 2&gt;&amp;1` in
-*GNU*)
-  ac_cv_path_GREP=&quot;$ac_path_GREP&quot; ac_path_GREP_found=:;;
-*)
-  ac_count=0
-  echo $ECHO_N &quot;0123456789$ECHO_C&quot; &gt;&quot;conftest.in&quot;
-  while :
-  do
-    cat &quot;conftest.in&quot; &quot;conftest.in&quot; &gt;&quot;conftest.tmp&quot;
-    mv &quot;conftest.tmp&quot; &quot;conftest.in&quot;
-    cp &quot;conftest.in&quot; &quot;conftest.nl&quot;
-    echo 'GREP' &gt;&gt; &quot;conftest.nl&quot;
-    &quot;$ac_path_GREP&quot; -e 'GREP$' -e '-(cannot match)-' &lt; &quot;conftest.nl&quot; &gt;&quot;conftest.out&quot; 2&gt;/dev/null || break
-    diff &quot;conftest.out&quot; &quot;conftest.nl&quot; &gt;/dev/null 2&gt;&amp;1 || break
-    ac_count=`expr $ac_count + 1`
-    if test $ac_count -gt ${ac_path_GREP_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_GREP=&quot;$ac_path_GREP&quot;
-      ac_path_GREP_max=$ac_count
-    fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 &amp;&amp; break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-
-    $ac_path_GREP_found &amp;&amp; break 3
-  done
-done
-
-done
-IFS=$as_save_IFS
-
-
-fi
-
-GREP=&quot;$ac_cv_path_GREP&quot;
-if test -z &quot;$GREP&quot;; then
-  { { echo &quot;$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin&quot; &gt;&amp;5
-echo &quot;$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin&quot; &gt;&amp;2;}
-   { (exit 1); exit 1; }; }
-fi
-
-else
-  ac_cv_path_GREP=$GREP
-fi
-
-
-fi
-{ echo &quot;$as_me:$LINENO: result: $ac_cv_path_GREP&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_path_GREP&quot; &gt;&amp;6; }
- GREP=&quot;$ac_cv_path_GREP&quot;
-
-
-{ echo &quot;$as_me:$LINENO: checking for egrep&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for egrep... $ECHO_C&quot; &gt;&amp;6; }
-if test &quot;${ac_cv_path_EGREP+set}&quot; = set; then
+echo &quot;$as_me:$LINENO: checking for egrep&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for egrep... $ECHO_C&quot; &gt;&amp;6
+if test &quot;${ac_cv_prog_egrep+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
-  if echo a | $GREP -E '(a|b)' &gt;/dev/null 2&gt;&amp;1
-   then ac_cv_path_EGREP=&quot;$GREP -E&quot;
-   else
-     # Extract the first word of &quot;egrep&quot; to use in msg output
-if test -z &quot;$EGREP&quot;; then
-set dummy egrep; ac_prog_name=$2
-if test &quot;${ac_cv_path_EGREP+set}&quot; = set; then
-  echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
-else
-  ac_path_EGREP_found=false
-# Loop through the user's path and test for each of PROGNAME-LIST
-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
-do
-  IFS=$as_save_IFS
-  test -z &quot;$as_dir&quot; &amp;&amp; as_dir=.
-  for ac_prog in egrep; do
-  for ac_exec_ext in '' $ac_executable_extensions; do
-    ac_path_EGREP=&quot;$as_dir/$ac_prog$ac_exec_ext&quot;
-    { test -f &quot;$ac_path_EGREP&quot; &amp;&amp; $as_executable_p &quot;$ac_path_EGREP&quot;; } || continue
-    # Check for GNU ac_path_EGREP and select it if it is found.
-  # Check for GNU $ac_path_EGREP
-case `&quot;$ac_path_EGREP&quot; --version 2&gt;&amp;1` in
-*GNU*)
-  ac_cv_path_EGREP=&quot;$ac_path_EGREP&quot; ac_path_EGREP_found=:;;
-*)
-  ac_count=0
-  echo $ECHO_N &quot;0123456789$ECHO_C&quot; &gt;&quot;conftest.in&quot;
-  while :
-  do
-    cat &quot;conftest.in&quot; &quot;conftest.in&quot; &gt;&quot;conftest.tmp&quot;
-    mv &quot;conftest.tmp&quot; &quot;conftest.in&quot;
-    cp &quot;conftest.in&quot; &quot;conftest.nl&quot;
-    echo 'EGREP' &gt;&gt; &quot;conftest.nl&quot;
-    &quot;$ac_path_EGREP&quot; 'EGREP$' &lt; &quot;conftest.nl&quot; &gt;&quot;conftest.out&quot; 2&gt;/dev/null || break
-    diff &quot;conftest.out&quot; &quot;conftest.nl&quot; &gt;/dev/null 2&gt;&amp;1 || break
-    ac_count=`expr $ac_count + 1`
-    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
-      # Best one so far, save it but keep looking for a better one
-      ac_cv_path_EGREP=&quot;$ac_path_EGREP&quot;
-      ac_path_EGREP_max=$ac_count
+  if echo a | (grep -E '(a|b)') &gt;/dev/null 2&gt;&amp;1
+    then ac_cv_prog_egrep='grep -E'
+    else ac_cv_prog_egrep='egrep'
     fi
-    # 10*(2^10) chars as input seems more than enough
-    test $ac_count -gt 10 &amp;&amp; break
-  done
-  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
-esac
-
-
-    $ac_path_EGREP_found &amp;&amp; break 3
-  done
-done
-
-done
-IFS=$as_save_IFS
-
-
-fi
-
-EGREP=&quot;$ac_cv_path_EGREP&quot;
-if test -z &quot;$EGREP&quot;; then
-  { { echo &quot;$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin&quot; &gt;&amp;5
-echo &quot;$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin&quot; &gt;&amp;2;}
-   { (exit 1); exit 1; }; }
-fi
-
-else
-  ac_cv_path_EGREP=$EGREP
-fi
-
-
-   fi
 fi
-{ echo &quot;$as_me:$LINENO: result: $ac_cv_path_EGREP&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_path_EGREP&quot; &gt;&amp;6; }
- EGREP=&quot;$ac_cv_path_EGREP&quot;
+echo &quot;$as_me:$LINENO: result: $ac_cv_prog_egrep&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_cv_prog_egrep&quot; &gt;&amp;6
+ EGREP=$ac_cv_prog_egrep
 
 
-{ echo &quot;$as_me:$LINENO: checking for ANSI C header files&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for ANSI C header files... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for ANSI C header files&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for ANSI C header files... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_header_stdc+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -3659,8 +3113,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -3677,9 +3130,8 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	ac_cv_header_stdc=no
+ac_cv_header_stdc=no
 fi
-
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
 if test $ac_cv_header_stdc = yes; then
@@ -3736,7 +3188,6 @@ cat confdefs.h &gt;&gt;conftest.$ac_ext
 cat &gt;&gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* end confdefs.h.  */
 #include &lt;ctype.h&gt;
-#include &lt;stdlib.h&gt;
 #if ((' ' &amp; 0x0FF) == 0x020)
 # define ISLOWER(c) ('a' &lt;= (c) &amp;&amp; (c) &lt;= 'z')
 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
@@ -3756,8 +3207,8 @@ main ()
   for (i = 0; i &lt; 256; i++)
     if (XOR (islower (i), ISLOWER (i))
 	|| toupper (i) != TOUPPER (i))
-      return 2;
-  return 0;
+      exit(2);
+  exit (0);
 }
 _ACEOF
 rm -f conftest$ac_exeext
@@ -3780,14 +3231,12 @@ sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 ( exit $ac_status )
 ac_cv_header_stdc=no
 fi
-rm -f core *.core core.conftest.* gmon.out bb.out 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
-{ echo &quot;$as_me:$LINENO: result: $ac_cv_header_stdc&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_header_stdc&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_cv_header_stdc&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_cv_header_stdc&quot; &gt;&amp;6
 if test $ac_cv_header_stdc = yes; then
 
 cat &gt;&gt;confdefs.h &lt;&lt;\_ACEOF
@@ -3810,9 +3259,9 @@ 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 &quot;ac_cv_header_$ac_header&quot; | $as_tr_sh`
-{ echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6; }
-if { as_var=$as_ac_Header; eval &quot;test \&quot;\${$as_var+set}\&quot; = set&quot;; }; then
+echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6
+if eval &quot;test \&quot;\${$as_ac_Header+set}\&quot; = set&quot;; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
   cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
@@ -3834,8 +3283,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -3852,14 +3300,12 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	eval &quot;$as_ac_Header=no&quot;
+eval &quot;$as_ac_Header=no&quot;
 fi
-
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo &quot;$as_me:$LINENO: result: $ac_res&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_res&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;5
+echo &quot;${ECHO_T}`eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;6
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   cat &gt;&gt;confdefs.h &lt;&lt;_ACEOF
 #define `echo &quot;HAVE_$ac_header&quot; | $as_tr_cpp` 1
@@ -3871,11 +3317,11 @@ done
 
 
 
-# Check whether --with-expat was given.
+# Check whether --with-expat or --without-expat was given.
 if test &quot;${with_expat+set}&quot; = set; then
-  withval=$with_expat;
-fi
+  withval=&quot;$with_expat&quot;
 
+fi;
 
   EXPAT_CFLAGS=
   EXPAT_LIBS=
@@ -3884,8 +3330,8 @@ fi
 		EXPAT_LIBS=&quot;-L$with_expat/lib&quot;
 	fi
 
-	{ echo &quot;$as_me:$LINENO: checking for XML_ParserCreate in -lexpat&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for XML_ParserCreate in -lexpat... $ECHO_C&quot; &gt;&amp;6; }
+	echo &quot;$as_me:$LINENO: checking for XML_ParserCreate in -lexpat&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for XML_ParserCreate in -lexpat... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_lib_expat_XML_ParserCreate+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -3898,17 +3344,17 @@ cat confdefs.h &gt;&gt;conftest.$ac_ext
 cat &gt;&gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* end confdefs.h.  */
 
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
+/* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus
 extern &quot;C&quot;
 #endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
 char XML_ParserCreate ();
 int
 main ()
 {
-return XML_ParserCreate ();
+XML_ParserCreate ();
   ;
   return 0;
 }
@@ -3922,8 +3368,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_link\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -3940,15 +3385,14 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	ac_cv_lib_expat_XML_ParserCreate=no
+ac_cv_lib_expat_XML_ParserCreate=no
 fi
-
 rm -f conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo &quot;$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate&quot; &gt;&amp;6
 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
    EXPAT_LIBS=&quot;$EXPAT_LIBS -lexpat&quot;
 		       expat_found=yes
@@ -3967,19 +3411,18 @@ echo &quot;$as_me: error: Could not find the Expat library&quot; &gt;&amp;2;}
 for ac_header in expat.h
 do
 as_ac_Header=`echo &quot;ac_cv_header_$ac_header&quot; | $as_tr_sh`
-if { as_var=$as_ac_Header; eval &quot;test \&quot;\${$as_var+set}\&quot; = set&quot;; }; then
-  { echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6; }
-if { as_var=$as_ac_Header; eval &quot;test \&quot;\${$as_var+set}\&quot; = set&quot;; }; then
+if eval &quot;test \&quot;\${$as_ac_Header+set}\&quot; = set&quot;; then
+  echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6
+if eval &quot;test \&quot;\${$as_ac_Header+set}\&quot; = set&quot;; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo &quot;$as_me:$LINENO: result: $ac_res&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_res&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;5
+echo &quot;${ECHO_T}`eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;6
 else
   # Is the header compilable?
-{ echo &quot;$as_me:$LINENO: checking $ac_header usability&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking $ac_header usability... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking $ac_header usability&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking $ac_header usability... $ECHO_C&quot; &gt;&amp;6
 cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -3998,8 +3441,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -4016,16 +3458,15 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	ac_header_compiler=no
+ac_header_compiler=no
 fi
-
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo &quot;$as_me:$LINENO: result: $ac_header_compiler&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_header_compiler&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_header_compiler&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_header_compiler&quot; &gt;&amp;6
 
 # Is the header present?
-{ echo &quot;$as_me:$LINENO: checking $ac_header presence&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking $ac_header presence... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking $ac_header presence&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking $ac_header presence... $ECHO_C&quot; &gt;&amp;6
 cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -4059,10 +3500,9 @@ sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
   ac_header_preproc=no
 fi
-
 rm -f conftest.err conftest.$ac_ext
-{ echo &quot;$as_me:$LINENO: result: $ac_header_preproc&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_header_preproc&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_header_preproc&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_header_preproc&quot; &gt;&amp;6
 
 # So?  What about this header?
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -4086,24 +3526,25 @@ echo &quot;$as_me: WARNING: $ac_header:     section \&quot;Present But Cannot Be Compiled\
 echo &quot;$as_me: WARNING: $ac_header: proceeding with the preprocessor's result&quot; &gt;&amp;2;}
     { echo &quot;$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence&quot; &gt;&amp;5
 echo &quot;$as_me: WARNING: $ac_header: in the future, the compiler will take precedence&quot; &gt;&amp;2;}
-    ( cat &lt;&lt;\_ASBOX
+    (
+      cat &lt;&lt;\_ASBOX
 ## --------------------------------- ##
 ## Report this to BUG-REPORT-ADDRESS ##
 ## --------------------------------- ##
 _ASBOX
-     ) | sed &quot;s/^/$as_me: WARNING:     /&quot; &gt;&amp;2
+    ) |
+      sed &quot;s/^/$as_me: WARNING:     /&quot; &gt;&amp;2
     ;;
 esac
-{ echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6; }
-if { as_var=$as_ac_Header; eval &quot;test \&quot;\${$as_var+set}\&quot; = set&quot;; }; then
+echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6
+if eval &quot;test \&quot;\${$as_ac_Header+set}\&quot; = set&quot;; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
   eval &quot;$as_ac_Header=\$ac_header_preproc&quot;
 fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo &quot;$as_me:$LINENO: result: $ac_res&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_res&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;5
+echo &quot;${ECHO_T}`eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;6
 
 fi
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -4129,11 +3570,11 @@ echo &quot;$as_me: error: Could not find expat.h&quot; &gt;&amp;2;}
 
 #locating zlib
 
-# Check whether --with-zlib was given.
+# Check whether --with-zlib or --without-zlib was given.
 if test &quot;${with_zlib+set}&quot; = set; then
-  withval=$with_zlib;
-fi
+  withval=&quot;$with_zlib&quot;
 
+fi;
 
   ZLIB_CFLAGS=
   ZLIB_LIBS=
@@ -4142,8 +3583,8 @@ fi
 		ZLIB_LIBS=&quot;-L$with_zlib/lib&quot;
 	fi
 
-	{ echo &quot;$as_me:$LINENO: checking for gzgets in -lz&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for gzgets in -lz... $ECHO_C&quot; &gt;&amp;6; }
+	echo &quot;$as_me:$LINENO: checking for gzgets in -lz&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for gzgets in -lz... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_lib_z_gzgets+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -4156,17 +3597,17 @@ cat confdefs.h &gt;&gt;conftest.$ac_ext
 cat &gt;&gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* end confdefs.h.  */
 
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
+/* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus
 extern &quot;C&quot;
 #endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
 char gzgets ();
 int
 main ()
 {
-return gzgets ();
+gzgets ();
   ;
   return 0;
 }
@@ -4180,8 +3621,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_link\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -4198,15 +3638,14 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	ac_cv_lib_z_gzgets=no
+ac_cv_lib_z_gzgets=no
 fi
-
 rm -f conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo &quot;$as_me:$LINENO: result: $ac_cv_lib_z_gzgets&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_lib_z_gzgets&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_cv_lib_z_gzgets&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_cv_lib_z_gzgets&quot; &gt;&amp;6
 if test $ac_cv_lib_z_gzgets = yes; then
    ZLIB_LIBS=&quot;$ZLIB_LIBS -lz&quot;
 		       zlib_found=yes
@@ -4225,19 +3664,18 @@ echo &quot;$as_me: error: Could not find the zlib library&quot; &gt;&amp;2;}
 for ac_header in zlib.h
 do
 as_ac_Header=`echo &quot;ac_cv_header_$ac_header&quot; | $as_tr_sh`
-if { as_var=$as_ac_Header; eval &quot;test \&quot;\${$as_var+set}\&quot; = set&quot;; }; then
-  { echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6; }
-if { as_var=$as_ac_Header; eval &quot;test \&quot;\${$as_var+set}\&quot; = set&quot;; }; then
+if eval &quot;test \&quot;\${$as_ac_Header+set}\&quot; = set&quot;; then
+  echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6
+if eval &quot;test \&quot;\${$as_ac_Header+set}\&quot; = set&quot;; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo &quot;$as_me:$LINENO: result: $ac_res&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_res&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;5
+echo &quot;${ECHO_T}`eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;6
 else
   # Is the header compilable?
-{ echo &quot;$as_me:$LINENO: checking $ac_header usability&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking $ac_header usability... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking $ac_header usability&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking $ac_header usability... $ECHO_C&quot; &gt;&amp;6
 cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -4256,8 +3694,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -4274,16 +3711,15 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	ac_header_compiler=no
+ac_header_compiler=no
 fi
-
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo &quot;$as_me:$LINENO: result: $ac_header_compiler&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_header_compiler&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_header_compiler&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_header_compiler&quot; &gt;&amp;6
 
 # Is the header present?
-{ echo &quot;$as_me:$LINENO: checking $ac_header presence&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking $ac_header presence... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking $ac_header presence&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking $ac_header presence... $ECHO_C&quot; &gt;&amp;6
 cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -4317,10 +3753,9 @@ sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
   ac_header_preproc=no
 fi
-
 rm -f conftest.err conftest.$ac_ext
-{ echo &quot;$as_me:$LINENO: result: $ac_header_preproc&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_header_preproc&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_header_preproc&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_header_preproc&quot; &gt;&amp;6
 
 # So?  What about this header?
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -4344,24 +3779,25 @@ echo &quot;$as_me: WARNING: $ac_header:     section \&quot;Present But Cannot Be Compiled\
 echo &quot;$as_me: WARNING: $ac_header: proceeding with the preprocessor's result&quot; &gt;&amp;2;}
     { echo &quot;$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence&quot; &gt;&amp;5
 echo &quot;$as_me: WARNING: $ac_header: in the future, the compiler will take precedence&quot; &gt;&amp;2;}
-    ( cat &lt;&lt;\_ASBOX
+    (
+      cat &lt;&lt;\_ASBOX
 ## --------------------------------- ##
 ## Report this to BUG-REPORT-ADDRESS ##
 ## --------------------------------- ##
 _ASBOX
-     ) | sed &quot;s/^/$as_me: WARNING:     /&quot; &gt;&amp;2
+    ) |
+      sed &quot;s/^/$as_me: WARNING:     /&quot; &gt;&amp;2
     ;;
 esac
-{ echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6; }
-if { as_var=$as_ac_Header; eval &quot;test \&quot;\${$as_var+set}\&quot; = set&quot;; }; then
+echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6
+if eval &quot;test \&quot;\${$as_ac_Header+set}\&quot; = set&quot;; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
   eval &quot;$as_ac_Header=\$ac_header_preproc&quot;
 fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo &quot;$as_me:$LINENO: result: $ac_res&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_res&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;5
+echo &quot;${ECHO_T}`eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;6
 
 fi
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -4387,8 +3823,8 @@ echo &quot;$as_me: error: Could not find zlib.h&quot; &gt;&amp;2;}
 
 
 # Checks for typedefs, structures, and compiler characteristics.
-{ echo &quot;$as_me:$LINENO: checking for an ANSI C-conforming const&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for an ANSI C-conforming const... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for an ANSI C-conforming const&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for an ANSI C-conforming const... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_c_const+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -4428,7 +3864,6 @@ main ()
     char const *s = 0 ? (char *) 0 : (char const *) 0;
 
     *t++ = 0;
-    if (s) return 0;
   }
   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
     int x[] = {25, 17};
@@ -4447,9 +3882,7 @@ main ()
   }
   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
     const int foo = 10;
-    if (!foo) return 0;
   }
-  return !x[0] &amp;&amp; !zero.x;
 #endif
 
   ;
@@ -4465,8 +3898,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -4483,13 +3915,12 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	ac_cv_c_const=no
+ac_cv_c_const=no
 fi
-
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 fi
-{ echo &quot;$as_me:$LINENO: result: $ac_cv_c_const&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_c_const&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_cv_c_const&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_cv_c_const&quot; &gt;&amp;6
 if test $ac_cv_c_const = no; then
 
 cat &gt;&gt;confdefs.h &lt;&lt;\_ACEOF
@@ -4507,19 +3938,18 @@ fi
 for ac_header in stdlib.h
 do
 as_ac_Header=`echo &quot;ac_cv_header_$ac_header&quot; | $as_tr_sh`
-if { as_var=$as_ac_Header; eval &quot;test \&quot;\${$as_var+set}\&quot; = set&quot;; }; then
-  { echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6; }
-if { as_var=$as_ac_Header; eval &quot;test \&quot;\${$as_var+set}\&quot; = set&quot;; }; then
+if eval &quot;test \&quot;\${$as_ac_Header+set}\&quot; = set&quot;; then
+  echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6
+if eval &quot;test \&quot;\${$as_ac_Header+set}\&quot; = set&quot;; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo &quot;$as_me:$LINENO: result: $ac_res&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_res&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;5
+echo &quot;${ECHO_T}`eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;6
 else
   # Is the header compilable?
-{ echo &quot;$as_me:$LINENO: checking $ac_header usability&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking $ac_header usability... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking $ac_header usability&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking $ac_header usability... $ECHO_C&quot; &gt;&amp;6
 cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -4538,8 +3968,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -4556,16 +3985,15 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	ac_header_compiler=no
+ac_header_compiler=no
 fi
-
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo &quot;$as_me:$LINENO: result: $ac_header_compiler&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_header_compiler&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_header_compiler&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_header_compiler&quot; &gt;&amp;6
 
 # Is the header present?
-{ echo &quot;$as_me:$LINENO: checking $ac_header presence&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking $ac_header presence... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking $ac_header presence&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking $ac_header presence... $ECHO_C&quot; &gt;&amp;6
 cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -4599,10 +4027,9 @@ sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
   ac_header_preproc=no
 fi
-
 rm -f conftest.err conftest.$ac_ext
-{ echo &quot;$as_me:$LINENO: result: $ac_header_preproc&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_header_preproc&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_header_preproc&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_header_preproc&quot; &gt;&amp;6
 
 # So?  What about this header?
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -4626,24 +4053,25 @@ echo &quot;$as_me: WARNING: $ac_header:     section \&quot;Present But Cannot Be Compiled\
 echo &quot;$as_me: WARNING: $ac_header: proceeding with the preprocessor's result&quot; &gt;&amp;2;}
     { echo &quot;$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence&quot; &gt;&amp;5
 echo &quot;$as_me: WARNING: $ac_header: in the future, the compiler will take precedence&quot; &gt;&amp;2;}
-    ( cat &lt;&lt;\_ASBOX
+    (
+      cat &lt;&lt;\_ASBOX
 ## --------------------------------- ##
 ## Report this to BUG-REPORT-ADDRESS ##
 ## --------------------------------- ##
 _ASBOX
-     ) | sed &quot;s/^/$as_me: WARNING:     /&quot; &gt;&amp;2
+    ) |
+      sed &quot;s/^/$as_me: WARNING:     /&quot; &gt;&amp;2
     ;;
 esac
-{ echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6; }
-if { as_var=$as_ac_Header; eval &quot;test \&quot;\${$as_var+set}\&quot; = set&quot;; }; then
+echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6
+if eval &quot;test \&quot;\${$as_ac_Header+set}\&quot; = set&quot;; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
   eval &quot;$as_ac_Header=\$ac_header_preproc&quot;
 fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo &quot;$as_me:$LINENO: result: $ac_res&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_res&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;5
+echo &quot;${ECHO_T}`eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;6
 
 fi
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -4655,8 +4083,8 @@ fi
 
 done
 
-{ echo &quot;$as_me:$LINENO: checking for GNU libc compatible malloc&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for GNU libc compatible malloc... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for GNU libc compatible malloc&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for GNU libc compatible malloc... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_func_malloc_0_nonnull+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -4678,7 +4106,7 @@ char *malloc ();
 int
 main ()
 {
-return ! malloc (0);
+exit (malloc (0) ? 0 : 1);
   ;
   return 0;
 }
@@ -4703,13 +4131,11 @@ sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 ( exit $ac_status )
 ac_cv_func_malloc_0_nonnull=no
 fi
-rm -f core *.core core.conftest.* gmon.out bb.out 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 &quot;$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_func_malloc_0_nonnull&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_cv_func_malloc_0_nonnull&quot; &gt;&amp;6
 if test $ac_cv_func_malloc_0_nonnull = yes; then
 
 cat &gt;&gt;confdefs.h &lt;&lt;\_ACEOF
@@ -4721,10 +4147,12 @@ else
 #define HAVE_MALLOC 0
 _ACEOF
 
-   case &quot; $LIBOBJS &quot; in
+   case $LIBOBJS in
+    &quot;malloc.$ac_objext&quot;   | \
+  *&quot; malloc.$ac_objext&quot;   | \
+    &quot;malloc.$ac_objext &quot;* | \
   *&quot; malloc.$ac_objext &quot;* ) ;;
-  *) LIBOBJS=&quot;$LIBOBJS malloc.$ac_objext&quot;
- ;;
+  *) LIBOBJS=&quot;$LIBOBJS malloc.$ac_objext&quot; ;;
 esac
 
 
@@ -4736,8 +4164,8 @@ fi
 
 
 
-{ echo &quot;$as_me:$LINENO: checking for ANSI C header files&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for ANSI C header files... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for ANSI C header files&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for ANSI C header files... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_header_stdc+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -4769,8 +4197,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -4787,9 +4214,8 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	ac_cv_header_stdc=no
+ac_cv_header_stdc=no
 fi
-
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
 
 if test $ac_cv_header_stdc = yes; then
@@ -4846,7 +4272,6 @@ cat confdefs.h &gt;&gt;conftest.$ac_ext
 cat &gt;&gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* end confdefs.h.  */
 #include &lt;ctype.h&gt;
-#include &lt;stdlib.h&gt;
 #if ((' ' &amp; 0x0FF) == 0x020)
 # define ISLOWER(c) ('a' &lt;= (c) &amp;&amp; (c) &lt;= 'z')
 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
@@ -4866,8 +4291,8 @@ main ()
   for (i = 0; i &lt; 256; i++)
     if (XOR (islower (i), ISLOWER (i))
 	|| toupper (i) != TOUPPER (i))
-      return 2;
-  return 0;
+      exit(2);
+  exit (0);
 }
 _ACEOF
 rm -f conftest$ac_exeext
@@ -4890,14 +4315,12 @@ sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 ( exit $ac_status )
 ac_cv_header_stdc=no
 fi
-rm -f core *.core core.conftest.* gmon.out bb.out 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
-{ echo &quot;$as_me:$LINENO: result: $ac_cv_header_stdc&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_header_stdc&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_cv_header_stdc&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_cv_header_stdc&quot; &gt;&amp;6
 if test $ac_cv_header_stdc = yes; then
 
 cat &gt;&gt;confdefs.h &lt;&lt;\_ACEOF
@@ -4910,21 +4333,21 @@ fi
 
 mod_pubsub=
 make_mod_pubsub=
-{ echo &quot;$as_me:$LINENO: checking whether build mod_pubsub&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking whether build mod_pubsub... $ECHO_C&quot; &gt;&amp;6; }
-# Check whether --enable-mod_pubsub was given.
+echo &quot;$as_me:$LINENO: checking whether build mod_pubsub&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking whether build mod_pubsub... $ECHO_C&quot; &gt;&amp;6
+# Check whether --enable-mod_pubsub or --disable-mod_pubsub was given.
 if test &quot;${enable_mod_pubsub+set}&quot; = set; then
-  enableval=$enable_mod_pubsub; mr_enable_mod_pubsub=&quot;$enableval&quot;
+  enableval=&quot;$enable_mod_pubsub&quot;
+  mr_enable_mod_pubsub=&quot;$enableval&quot;
 else
   mr_enable_mod_pubsub=yes
-fi
-
+fi;
 if test &quot;$mr_enable_mod_pubsub&quot; = &quot;yes&quot;; then
 mod_pubsub=mod_pubsub
 make_mod_pubsub=mod_pubsub/Makefile
 fi
-{ echo &quot;$as_me:$LINENO: result: $mr_enable_mod_pubsub&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$mr_enable_mod_pubsub&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $mr_enable_mod_pubsub&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$mr_enable_mod_pubsub&quot; &gt;&amp;6
 
 
 
@@ -4932,21 +4355,21 @@ echo &quot;${ECHO_T}$mr_enable_mod_pubsub&quot; &gt;&amp;6; }
 
 mod_irc=
 make_mod_irc=
-{ echo &quot;$as_me:$LINENO: checking whether build mod_irc&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking whether build mod_irc... $ECHO_C&quot; &gt;&amp;6; }
-# Check whether --enable-mod_irc was given.
+echo &quot;$as_me:$LINENO: checking whether build mod_irc&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking whether build mod_irc... $ECHO_C&quot; &gt;&amp;6
+# Check whether --enable-mod_irc or --disable-mod_irc was given.
 if test &quot;${enable_mod_irc+set}&quot; = set; then
-  enableval=$enable_mod_irc; mr_enable_mod_irc=&quot;$enableval&quot;
+  enableval=&quot;$enable_mod_irc&quot;
+  mr_enable_mod_irc=&quot;$enableval&quot;
 else
   mr_enable_mod_irc=yes
-fi
-
+fi;
 if test &quot;$mr_enable_mod_irc&quot; = &quot;yes&quot;; then
 mod_irc=mod_irc
 make_mod_irc=mod_irc/Makefile
 fi
-{ echo &quot;$as_me:$LINENO: result: $mr_enable_mod_irc&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$mr_enable_mod_irc&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $mr_enable_mod_irc&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$mr_enable_mod_irc&quot; &gt;&amp;6
 
 
 
@@ -4954,21 +4377,43 @@ echo &quot;${ECHO_T}$mr_enable_mod_irc&quot; &gt;&amp;6; }
 
 mod_muc=
 make_mod_muc=
-{ echo &quot;$as_me:$LINENO: checking whether build mod_muc&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking whether build mod_muc... $ECHO_C&quot; &gt;&amp;6; }
-# Check whether --enable-mod_muc was given.
+echo &quot;$as_me:$LINENO: checking whether build mod_muc&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking whether build mod_muc... $ECHO_C&quot; &gt;&amp;6
+# Check whether --enable-mod_muc or --disable-mod_muc was given.
 if test &quot;${enable_mod_muc+set}&quot; = set; then
-  enableval=$enable_mod_muc; mr_enable_mod_muc=&quot;$enableval&quot;
+  enableval=&quot;$enable_mod_muc&quot;
+  mr_enable_mod_muc=&quot;$enableval&quot;
 else
   mr_enable_mod_muc=yes
-fi
-
+fi;
 if test &quot;$mr_enable_mod_muc&quot; = &quot;yes&quot;; then
 mod_muc=mod_muc
 make_mod_muc=mod_muc/Makefile
 fi
-{ echo &quot;$as_me:$LINENO: result: $mr_enable_mod_muc&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$mr_enable_mod_muc&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $mr_enable_mod_muc&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$mr_enable_mod_muc&quot; &gt;&amp;6
+
+
+
+
+
+mod_proxy65=
+make_mod_proxy65=
+echo &quot;$as_me:$LINENO: checking whether build mod_proxy65&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking whether build mod_proxy65... $ECHO_C&quot; &gt;&amp;6
+# Check whether --enable-mod_proxy65 or --disable-mod_proxy65 was given.
+if test &quot;${enable_mod_proxy65+set}&quot; = set; then
+  enableval=&quot;$enable_mod_proxy65&quot;
+  mr_enable_mod_proxy65=&quot;$enableval&quot;
+else
+  mr_enable_mod_proxy65=yes
+fi;
+if test &quot;$mr_enable_mod_proxy65&quot; = &quot;yes&quot;; then
+mod_proxy65=mod_proxy65
+make_mod_proxy65=mod_proxy65/Makefile
+fi
+echo &quot;$as_me:$LINENO: result: $mr_enable_mod_proxy65&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$mr_enable_mod_proxy65&quot; &gt;&amp;6
 
 
 
@@ -4976,21 +4421,21 @@ echo &quot;${ECHO_T}$mr_enable_mod_muc&quot; &gt;&amp;6; }
 
 eldap=
 make_eldap=
-{ echo &quot;$as_me:$LINENO: checking whether build eldap&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking whether build eldap... $ECHO_C&quot; &gt;&amp;6; }
-# Check whether --enable-eldap was given.
+echo &quot;$as_me:$LINENO: checking whether build eldap&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking whether build eldap... $ECHO_C&quot; &gt;&amp;6
+# Check whether --enable-eldap or --disable-eldap was given.
 if test &quot;${enable_eldap+set}&quot; = set; then
-  enableval=$enable_eldap; mr_enable_eldap=&quot;$enableval&quot;
+  enableval=&quot;$enable_eldap&quot;
+  mr_enable_eldap=&quot;$enableval&quot;
 else
   mr_enable_eldap=yes
-fi
-
+fi;
 if test &quot;$mr_enable_eldap&quot; = &quot;yes&quot;; then
 eldap=eldap
 make_eldap=eldap/Makefile
 fi
-{ echo &quot;$as_me:$LINENO: result: $mr_enable_eldap&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$mr_enable_eldap&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $mr_enable_eldap&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$mr_enable_eldap&quot; &gt;&amp;6
 
 
 
@@ -4998,21 +4443,21 @@ echo &quot;${ECHO_T}$mr_enable_eldap&quot; &gt;&amp;6; }
 
 web=
 make_web=
-{ echo &quot;$as_me:$LINENO: checking whether build web&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking whether build web... $ECHO_C&quot; &gt;&amp;6; }
-# Check whether --enable-web was given.
+echo &quot;$as_me:$LINENO: checking whether build web&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking whether build web... $ECHO_C&quot; &gt;&amp;6
+# Check whether --enable-web or --disable-web was given.
 if test &quot;${enable_web+set}&quot; = set; then
-  enableval=$enable_web; mr_enable_web=&quot;$enableval&quot;
+  enableval=&quot;$enable_web&quot;
+  mr_enable_web=&quot;$enableval&quot;
 else
   mr_enable_web=yes
-fi
-
+fi;
 if test &quot;$mr_enable_web&quot; = &quot;yes&quot;; then
 web=web
 make_web=web/Makefile
 fi
-{ echo &quot;$as_me:$LINENO: result: $mr_enable_web&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$mr_enable_web&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $mr_enable_web&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$mr_enable_web&quot; &gt;&amp;6
 
 
 
@@ -5020,21 +4465,21 @@ echo &quot;${ECHO_T}$mr_enable_web&quot; &gt;&amp;6; }
 
 tls=
 make_tls=
-{ echo &quot;$as_me:$LINENO: checking whether build tls&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking whether build tls... $ECHO_C&quot; &gt;&amp;6; }
-# Check whether --enable-tls was given.
+echo &quot;$as_me:$LINENO: checking whether build tls&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking whether build tls... $ECHO_C&quot; &gt;&amp;6
+# Check whether --enable-tls or --disable-tls was given.
 if test &quot;${enable_tls+set}&quot; = set; then
-  enableval=$enable_tls; mr_enable_tls=&quot;$enableval&quot;
+  enableval=&quot;$enable_tls&quot;
+  mr_enable_tls=&quot;$enableval&quot;
 else
   mr_enable_tls=yes
-fi
-
+fi;
 if test &quot;$mr_enable_tls&quot; = &quot;yes&quot;; then
 tls=tls
 make_tls=tls/Makefile
 fi
-{ echo &quot;$as_me:$LINENO: result: $mr_enable_tls&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$mr_enable_tls&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $mr_enable_tls&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$mr_enable_tls&quot; &gt;&amp;6
 
 
 
@@ -5042,21 +4487,21 @@ echo &quot;${ECHO_T}$mr_enable_tls&quot; &gt;&amp;6; }
 
 odbc=
 make_odbc=
-{ echo &quot;$as_me:$LINENO: checking whether build odbc&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking whether build odbc... $ECHO_C&quot; &gt;&amp;6; }
-# Check whether --enable-odbc was given.
+echo &quot;$as_me:$LINENO: checking whether build odbc&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking whether build odbc... $ECHO_C&quot; &gt;&amp;6
+# Check whether --enable-odbc or --disable-odbc was given.
 if test &quot;${enable_odbc+set}&quot; = set; then
-  enableval=$enable_odbc; mr_enable_odbc=&quot;$enableval&quot;
+  enableval=&quot;$enable_odbc&quot;
+  mr_enable_odbc=&quot;$enableval&quot;
 else
   mr_enable_odbc=no
-fi
-
+fi;
 if test &quot;$mr_enable_odbc&quot; = &quot;yes&quot;; then
 odbc=odbc
 make_odbc=odbc/Makefile
 fi
-{ echo &quot;$as_me:$LINENO: result: $mr_enable_odbc&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$mr_enable_odbc&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $mr_enable_odbc&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$mr_enable_odbc&quot; &gt;&amp;6
 
 
 
@@ -5064,29 +4509,30 @@ echo &quot;${ECHO_T}$mr_enable_odbc&quot; &gt;&amp;6; }
 
 ejabberd_zlib=
 make_ejabberd_zlib=
-{ echo &quot;$as_me:$LINENO: checking whether build ejabberd_zlib&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking whether build ejabberd_zlib... $ECHO_C&quot; &gt;&amp;6; }
-# Check whether --enable-ejabberd_zlib was given.
+echo &quot;$as_me:$LINENO: checking whether build ejabberd_zlib&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking whether build ejabberd_zlib... $ECHO_C&quot; &gt;&amp;6
+# Check whether --enable-ejabberd_zlib or --disable-ejabberd_zlib was given.
 if test &quot;${enable_ejabberd_zlib+set}&quot; = set; then
-  enableval=$enable_ejabberd_zlib; mr_enable_ejabberd_zlib=&quot;$enableval&quot;
+  enableval=&quot;$enable_ejabberd_zlib&quot;
+  mr_enable_ejabberd_zlib=&quot;$enableval&quot;
 else
   mr_enable_ejabberd_zlib=yes
-fi
-
+fi;
 if test &quot;$mr_enable_ejabberd_zlib&quot; = &quot;yes&quot;; then
 ejabberd_zlib=ejabberd_zlib
 make_ejabberd_zlib=ejabberd_zlib/Makefile
 fi
-{ echo &quot;$as_me:$LINENO: result: $mr_enable_ejabberd_zlib&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$mr_enable_ejabberd_zlib&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $mr_enable_ejabberd_zlib&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$mr_enable_ejabberd_zlib&quot; &gt;&amp;6
 
 
 
 
 
-# Check whether --enable-roster_gateway_workaround was given.
+# Check whether --enable-roster_gateway_workaround or --disable-roster_gateway_workaround was given.
 if test &quot;${enable_roster_gateway_workaround+set}&quot; = set; then
-  enableval=$enable_roster_gateway_workaround; case &quot;${enableval}&quot; in
+  enableval=&quot;$enable_roster_gateway_workaround&quot;
+  case &quot;${enableval}&quot; in
   yes) roster_gateway_workaround=true ;;
   no)  roster_gateway_workaround=false ;;
   *) { { echo &quot;$as_me:$LINENO: error: bad value ${enableval} for --enable-roster-gateway-workaround&quot; &gt;&amp;5
@@ -5095,13 +4541,13 @@ echo &quot;$as_me: error: bad value ${enableval} for --enable-roster-gateway-workarou
 esac
 else
   roster_gateway_workaround=false
-fi
+fi;
 
 
-
-# Check whether --enable-mssql was given.
+# Check whether --enable-mssql or --disable-mssql was given.
 if test &quot;${enable_mssql+set}&quot; = set; then
-  enableval=$enable_mssql; case &quot;${enableval}&quot; in
+  enableval=&quot;$enable_mssql&quot;
+  case &quot;${enableval}&quot; in
   yes) db_type=mssql ;;
   no)  db_type=generic ;;
   *) { { echo &quot;$as_me:$LINENO: error: bad value ${enableval} for --enable-mssql&quot; &gt;&amp;5
@@ -5110,19 +4556,18 @@ echo &quot;$as_me: error: bad value ${enableval} for --enable-mssql&quot; &gt;&amp;2;}
 esac
 else
   db_type=generic
-fi
+fi;
 
 
-
-ac_config_files=&quot;$ac_config_files Makefile $make_mod_irc $make_mod_muc $make_mod_pubsub $make_eldap $make_web stringprep/Makefile $make_tls $make_odbc $make_ejabberd_zlib&quot;
+                                                                                                              ac_config_files=&quot;$ac_config_files Makefile $make_mod_irc $make_mod_muc $make_mod_pubsub $make_mod_proxy65 $make_eldap $make_web stringprep/Makefile $make_tls $make_odbc $make_ejabberd_zlib&quot;
 
 #openssl
 
-# Check whether --with-openssl was given.
+# Check whether --with-openssl or --without-openssl was given.
 if test &quot;${with_openssl+set}&quot; = set; then
-  withval=$with_openssl;
-fi
+  withval=&quot;$with_openssl&quot;
 
+fi;
 unset SSL_LIBS;
 unset SSL_CFLAGS;
 have_openssl=no
@@ -5131,8 +4576,8 @@ if test x&quot;$tls&quot; != x; then
         printf &quot;looking for openssl in $ssl_prefix...\n&quot;
         SSL_CFLAGS=&quot;-I$ssl_prefix/include/openssl&quot;
         SSL_LIBS=&quot;-L$ssl_prefix/lib -lcrypto&quot;
-        { echo &quot;$as_me:$LINENO: checking for SSL_new in -lssl&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for SSL_new in -lssl... $ECHO_C&quot; &gt;&amp;6; }
+        echo &quot;$as_me:$LINENO: checking for SSL_new in -lssl&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for SSL_new in -lssl... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_lib_ssl_SSL_new+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
@@ -5145,17 +4590,17 @@ cat confdefs.h &gt;&gt;conftest.$ac_ext
 cat &gt;&gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* end confdefs.h.  */
 
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
+/* Override any gcc2 internal prototype to avoid an error.  */
 #ifdef __cplusplus
 extern &quot;C&quot;
 #endif
+/* We use char because int might match the return type of a gcc2
+   builtin and then its argument prototype would still apply.  */
 char SSL_new ();
 int
 main ()
 {
-return SSL_new ();
+SSL_new ();
   ;
   return 0;
 }
@@ -5169,8 +4614,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_link\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -5187,15 +4631,14 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	ac_cv_lib_ssl_SSL_new=no
+ac_cv_lib_ssl_SSL_new=no
 fi
-
 rm -f conftest.err conftest.$ac_objext \
       conftest$ac_exeext conftest.$ac_ext
 LIBS=$ac_check_lib_save_LIBS
 fi
-{ echo &quot;$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_lib_ssl_SSL_new&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_cv_lib_ssl_SSL_new&quot; &gt;&amp;6
 if test $ac_cv_lib_ssl_SSL_new = yes; then
    have_openssl=yes
 else
@@ -5209,19 +4652,18 @@ fi
 for ac_header in openssl/ssl.h
 do
 as_ac_Header=`echo &quot;ac_cv_header_$ac_header&quot; | $as_tr_sh`
-if { as_var=$as_ac_Header; eval &quot;test \&quot;\${$as_var+set}\&quot; = set&quot;; }; then
-  { echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6; }
-if { as_var=$as_ac_Header; eval &quot;test \&quot;\${$as_var+set}\&quot; = set&quot;; }; then
+if eval &quot;test \&quot;\${$as_ac_Header+set}\&quot; = set&quot;; then
+  echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6
+if eval &quot;test \&quot;\${$as_ac_Header+set}\&quot; = set&quot;; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo &quot;$as_me:$LINENO: result: $ac_res&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_res&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;5
+echo &quot;${ECHO_T}`eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;6
 else
   # Is the header compilable?
-{ echo &quot;$as_me:$LINENO: checking $ac_header usability&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking $ac_header usability... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking $ac_header usability&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking $ac_header usability... $ECHO_C&quot; &gt;&amp;6
 cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -5240,8 +4682,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -5258,16 +4699,15 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	ac_header_compiler=no
+ac_header_compiler=no
 fi
-
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo &quot;$as_me:$LINENO: result: $ac_header_compiler&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_header_compiler&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_header_compiler&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_header_compiler&quot; &gt;&amp;6
 
 # Is the header present?
-{ echo &quot;$as_me:$LINENO: checking $ac_header presence&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking $ac_header presence... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking $ac_header presence&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking $ac_header presence... $ECHO_C&quot; &gt;&amp;6
 cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -5301,10 +4741,9 @@ sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
   ac_header_preproc=no
 fi
-
 rm -f conftest.err conftest.$ac_ext
-{ echo &quot;$as_me:$LINENO: result: $ac_header_preproc&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_header_preproc&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_header_preproc&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_header_preproc&quot; &gt;&amp;6
 
 # So?  What about this header?
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -5328,24 +4767,25 @@ echo &quot;$as_me: WARNING: $ac_header:     section \&quot;Present But Cannot Be Compiled\
 echo &quot;$as_me: WARNING: $ac_header: proceeding with the preprocessor's result&quot; &gt;&amp;2;}
     { echo &quot;$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence&quot; &gt;&amp;5
 echo &quot;$as_me: WARNING: $ac_header: in the future, the compiler will take precedence&quot; &gt;&amp;2;}
-    ( cat &lt;&lt;\_ASBOX
+    (
+      cat &lt;&lt;\_ASBOX
 ## --------------------------------- ##
 ## Report this to BUG-REPORT-ADDRESS ##
 ## --------------------------------- ##
 _ASBOX
-     ) | sed &quot;s/^/$as_me: WARNING:     /&quot; &gt;&amp;2
+    ) |
+      sed &quot;s/^/$as_me: WARNING:     /&quot; &gt;&amp;2
     ;;
 esac
-{ echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6; }
-if { as_var=$as_ac_Header; eval &quot;test \&quot;\${$as_var+set}\&quot; = set&quot;; }; then
+echo &quot;$as_me:$LINENO: checking for $ac_header&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for $ac_header... $ECHO_C&quot; &gt;&amp;6
+if eval &quot;test \&quot;\${$as_ac_Header+set}\&quot; = set&quot;; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
   eval &quot;$as_ac_Header=\$ac_header_preproc&quot;
 fi
-ac_res=`eval echo '${'$as_ac_Header'}'`
-	       { echo &quot;$as_me:$LINENO: result: $ac_res&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_res&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;5
+echo &quot;${ECHO_T}`eval echo '${'$as_ac_Header'}'`&quot; &gt;&amp;6
 
 fi
 if test `eval echo '${'$as_ac_Header'}'` = yes; then
@@ -5392,17 +4832,17 @@ else
         done
 fi
 if test &quot;${ac_cv_header_krb5_h+set}&quot; = set; then
-  { echo &quot;$as_me:$LINENO: checking for krb5.h&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for krb5.h... $ECHO_C&quot; &gt;&amp;6; }
+  echo &quot;$as_me:$LINENO: checking for krb5.h&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for krb5.h... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_header_krb5_h+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 fi
-{ echo &quot;$as_me:$LINENO: result: $ac_cv_header_krb5_h&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_header_krb5_h&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_cv_header_krb5_h&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_cv_header_krb5_h&quot; &gt;&amp;6
 else
   # Is the header compilable?
-{ echo &quot;$as_me:$LINENO: checking krb5.h usability&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking krb5.h usability... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking krb5.h usability&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking krb5.h usability... $ECHO_C&quot; &gt;&amp;6
 cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -5421,8 +4861,7 @@ if { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_compile\&quot;&quot;) &gt;&amp;5
   cat conftest.err &gt;&amp;5
   echo &quot;$as_me:$LINENO: \$? = $ac_status&quot; &gt;&amp;5
   (exit $ac_status); } &amp;&amp;
-	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;
-			 || test ! -s conftest.err'
+	 { ac_try='test -z &quot;$ac_c_werror_flag&quot;			 || test ! -s conftest.err'
   { (eval echo &quot;$as_me:$LINENO: \&quot;$ac_try\&quot;&quot;) &gt;&amp;5
   (eval $ac_try) 2&gt;&amp;5
   ac_status=$?
@@ -5439,16 +4878,15 @@ else
   echo &quot;$as_me: failed program was:&quot; &gt;&amp;5
 sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
-	ac_header_compiler=no
+ac_header_compiler=no
 fi
-
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-{ echo &quot;$as_me:$LINENO: result: $ac_header_compiler&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_header_compiler&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_header_compiler&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_header_compiler&quot; &gt;&amp;6
 
 # Is the header present?
-{ echo &quot;$as_me:$LINENO: checking krb5.h presence&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking krb5.h presence... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking krb5.h presence&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking krb5.h presence... $ECHO_C&quot; &gt;&amp;6
 cat &gt;conftest.$ac_ext &lt;&lt;_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -5482,10 +4920,9 @@ sed 's/^/| /' conftest.$ac_ext &gt;&amp;5
 
   ac_header_preproc=no
 fi
-
 rm -f conftest.err conftest.$ac_ext
-{ echo &quot;$as_me:$LINENO: result: $ac_header_preproc&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_header_preproc&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_header_preproc&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_header_preproc&quot; &gt;&amp;6
 
 # So?  What about this header?
 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
@@ -5509,23 +4946,25 @@ echo &quot;$as_me: WARNING: krb5.h:     section \&quot;Present But Cannot Be Compiled\&quot;&quot; &gt;
 echo &quot;$as_me: WARNING: krb5.h: proceeding with the preprocessor's result&quot; &gt;&amp;2;}
     { echo &quot;$as_me:$LINENO: WARNING: krb5.h: in the future, the compiler will take precedence&quot; &gt;&amp;5
 echo &quot;$as_me: WARNING: krb5.h: in the future, the compiler will take precedence&quot; &gt;&amp;2;}
-    ( cat &lt;&lt;\_ASBOX
+    (
+      cat &lt;&lt;\_ASBOX
 ## --------------------------------- ##
 ## Report this to BUG-REPORT-ADDRESS ##
 ## --------------------------------- ##
 _ASBOX
-     ) | sed &quot;s/^/$as_me: WARNING:     /&quot; &gt;&amp;2
+    ) |
+      sed &quot;s/^/$as_me: WARNING:     /&quot; &gt;&amp;2
     ;;
 esac
-{ echo &quot;$as_me:$LINENO: checking for krb5.h&quot; &gt;&amp;5
-echo $ECHO_N &quot;checking for krb5.h... $ECHO_C&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: checking for krb5.h&quot; &gt;&amp;5
+echo $ECHO_N &quot;checking for krb5.h... $ECHO_C&quot; &gt;&amp;6
 if test &quot;${ac_cv_header_krb5_h+set}&quot; = set; then
   echo $ECHO_N &quot;(cached) $ECHO_C&quot; &gt;&amp;6
 else
   ac_cv_header_krb5_h=$ac_header_preproc
 fi
-{ echo &quot;$as_me:$LINENO: result: $ac_cv_header_krb5_h&quot; &gt;&amp;5
-echo &quot;${ECHO_T}$ac_cv_header_krb5_h&quot; &gt;&amp;6; }
+echo &quot;$as_me:$LINENO: result: $ac_cv_header_krb5_h&quot; &gt;&amp;5
+echo &quot;${ECHO_T}$ac_cv_header_krb5_h&quot; &gt;&amp;6
 
 fi
 
@@ -5549,58 +4988,39 @@ _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, we kill variables containing newlines.
+# 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.
-(
-  for ac_var in `(set) 2&gt;&amp;1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
-    eval ac_val=\$$ac_var
-    case $ac_val in #(
-    *${as_nl}*)
-      case $ac_var in #(
-      *_cv_*) { echo &quot;$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline.&quot; &gt;&amp;5
-echo &quot;$as_me: WARNING: Cache variable $ac_var contains a newline.&quot; &gt;&amp;2;} ;;
-      esac
-      case $ac_var in #(
-      _ | IFS | as_nl) ;; #(
-      *) $as_unset $ac_var ;;
-      esac ;;
-    esac
-  done
-
+{
   (set) 2&gt;&amp;1 |
-    case $as_nl`(ac_space=' '; set) 2&gt;&amp;1` in #(
-    *${as_nl}ac_space=\ *)
+    case `(ac_space=' '; set | grep ac_space) 2&gt;&amp;1` in
+    *ac_space=\ *)
       # `set' does not quote correctly, so add quotes (double-quote
       # substitution turns \\\\ into \\, and sed turns \\ into \).
       sed -n \
 	&quot;s/'/'\\\\''/g;
 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p&quot;
-      ;; #(
+      ;;
     *)
       # `set' quotes correctly as required by POSIX, so do not add quotes.
-      sed -n &quot;/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p&quot;
+      sed -n \
+	&quot;s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p&quot;
       ;;
-    esac |
-    sort
-) |
+    esac;
+} |
   sed '
-     /^ac_cv_env_/b end
      t clear
-     :clear
+     : clear
      s/^\([^=]*\)=\(.*[{}].*\)$/test &quot;${\1+set}&quot; = set || &amp;/
      t end
-     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
-     :end' &gt;&gt;confcache
-if diff &quot;$cache_file&quot; confcache &gt;/dev/null 2&gt;&amp;1; then :; else
-  if test -w &quot;$cache_file&quot;; then
-    test &quot;x$cache_file&quot; != &quot;x/dev/null&quot; &amp;&amp;
-      { echo &quot;$as_me:$LINENO: updating cache $cache_file&quot; &gt;&amp;5
-echo &quot;$as_me: updating cache $cache_file&quot; &gt;&amp;6;}
+     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
+     : end' &gt;&gt;confcache
+if diff $cache_file confcache &gt;/dev/null 2&gt;&amp;1; then :; else
+  if test -w $cache_file; then
+    test &quot;x$cache_file&quot; != &quot;x/dev/null&quot; &amp;&amp; echo &quot;updating cache $cache_file&quot;
     cat confcache &gt;$cache_file
   else
-    { echo &quot;$as_me:$LINENO: not updating unwritable cache $cache_file&quot; &gt;&amp;5
-echo &quot;$as_me: not updating unwritable cache $cache_file&quot; &gt;&amp;6;}
+    echo &quot;not updating unwritable cache $cache_file&quot;
   fi
 fi
 rm -f confcache
@@ -5609,6 +5029,21 @@ test &quot;x$prefix&quot; = xNONE &amp;&amp; prefix=$ac_default_prefix
 # Let make expand exec_prefix.
 test &quot;x$exec_prefix&quot; = xNONE &amp;&amp; exec_prefix='${prefix}'
 
+# VPATH may cause trouble with some makes, so we remove $(srcdir),
+# ${srcdir} and @srcdir@ from VPATH if srcdir is &quot;.&quot;, 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 &quot;x$srcdir&quot; = x.; then
+  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
+s/:*\$(srcdir):*/:/;
+s/:*\${srcdir}:*/:/;
+s/:*@srcdir@:*/:/;
+s/^\([^=]*=[	 ]*\):*/\1/;
+s/:*$//;
+s/^[^=]*=[	 ]*$//;
+}'
+fi
+
 # Transform confdefs.h into DEFS.
 # Protect against shell expansion while executing Makefile rules.
 # Protect against Makefile macro expansion.
@@ -5618,17 +5053,17 @@ test &quot;x$exec_prefix&quot; = xNONE &amp;&amp; exec_prefix='${prefix}'
 # look for a macro that doesn't take arguments.
 cat &gt;confdef2opt.sed &lt;&lt;\_ACEOF
 t clear
-:clear
-s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
+: clear
+s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
 t quote
-s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
+s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
 t quote
 d
-:quote
-s/[	 `~#$^&amp;*(){}\\|;'&quot;&lt;&gt;?]/\\&amp;/g
-s/\[/\\&amp;/g
-s/\]/\\&amp;/g
-s/\$/$$/g
+: quote
+s,[	 `~#$^&amp;*(){}\\|;'&quot;&lt;&gt;?],\\&amp;,g
+s,\[,\\&amp;,g
+s,\],\\&amp;,g
+s,\$,$$,g
 p
 _ACEOF
 # We use echo to avoid assuming a particular line-breaking character.
@@ -5646,12 +5081,11 @@ ac_libobjs=
 ac_ltlibobjs=
 for ac_i in : $LIBOBJS; do test &quot;x$ac_i&quot; = x: &amp;&amp; continue
   # 1. Remove the extension, and $U if already installed.
-  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
-  ac_i=`echo &quot;$ac_i&quot; | sed &quot;$ac_script&quot;`
-  # 2. Prepend LIBOBJDIR.  When used with automake&gt;=1.10 LIBOBJDIR
-  #    will be set to the directory where LIBOBJS objects are built.
-  ac_libobjs=&quot;$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext&quot;
-  ac_ltlibobjs=&quot;$ac_ltlibobjs \${LIBOBJDIR}$ac_i&quot;'$U.lo'
+  ac_i=`echo &quot;$ac_i&quot; |
+	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
+  # 2. Add them.
+  ac_libobjs=&quot;$ac_libobjs $ac_i\$U.$ac_objext&quot;
+  ac_ltlibobjs=&quot;$ac_ltlibobjs $ac_i&quot;'$U.lo'
 done
 LIBOBJS=$ac_libobjs
 
@@ -5689,35 +5123,11 @@ if test -n &quot;${ZSH_VERSION+set}&quot; &amp;&amp; (emulate sh) &gt;/dev/null 2&gt;&amp;1; then
   # Zsh 3.x and 4.x performs word splitting on ${1+&quot;$@&quot;}, which
   # is contrary to our usage.  Disable this feature.
   alias -g '${1+&quot;$@&quot;}'='&quot;$@&quot;'
-  setopt NO_GLOB_SUBST
-else
-  case `(set -o) 2&gt;/dev/null` in *posix*) set -o posix;; esac
+elif test -n &quot;${BASH_VERSION+set}&quot; &amp;&amp; (set -o posix) &gt;/dev/null 2&gt;&amp;1; then
+  set -o posix
 fi
-BIN_SH=xpg4; export BIN_SH # for Tru64
 DUALCASE=1; export DUALCASE # for MKS sh
 
-
-# PATH needs CR
-# 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 &quot;${PATH_SEPARATOR+set}&quot; != set; then
-  echo &quot;#! /bin/sh&quot; &gt;conf$$.sh
-  echo  &quot;exit 0&quot;   &gt;&gt;conf$$.sh
-  chmod +x conf$$.sh
-  if (PATH=&quot;/nonexistent;.&quot;; conf$$.sh) &gt;/dev/null 2&gt;&amp;1; then
-    PATH_SEPARATOR=';'
-  else
-    PATH_SEPARATOR=:
-  fi
-  rm -f conf$$.sh
-fi
-
 # Support unset when possible.
 if ( (MAIL=60; unset MAIL) || exit) &gt;/dev/null 2&gt;&amp;1; then
   as_unset=unset
@@ -5726,43 +5136,8 @@ else
 fi
 
 
-# IFS
-# We need space, tab and new line, in precisely that order.  Quoting is
-# there to prevent editors from complaining about space-tab.
-# (If _AS_PATH_WALK were called with IFS unset, it would disable word
-# splitting by setting IFS to empty value.)
-as_nl='
-'
-IFS=&quot; &quot;&quot;	$as_nl&quot;
-
-# Find who we are.  Look in the path if we contain no directory separator.
-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 &quot;$as_dir&quot; &amp;&amp; as_dir=.
-  test -r &quot;$as_dir/$0&quot; &amp;&amp; as_myself=$as_dir/$0 &amp;&amp; break
-done
-IFS=$as_save_IFS
-
-     ;;
-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 &quot;x$as_myself&quot; = x; then
-  as_myself=$0
-fi
-if test ! -f &quot;$as_myself&quot;; then
-  echo &quot;$as_myself: error: cannot find myself; rerun with an absolute file name&quot; &gt;&amp;2
-  { (exit 1); exit 1; }
-fi
-
 # Work around bugs in pre-3.0 UWIN ksh.
-for as_var in ENV MAIL MAILPATH
-do ($as_unset $as_var) &gt;/dev/null 2&gt;&amp;1 &amp;&amp; $as_unset $as_var
-done
+$as_unset ENV MAIL MAILPATH
 PS1='$ '
 PS2='&gt; '
 PS4='+ '
@@ -5776,19 +5151,18 @@ do
   if (set +x; test -z &quot;`(eval $as_var=C; export $as_var) 2&gt;&amp;1`&quot;); then
     eval $as_var=C; export $as_var
   else
-    ($as_unset $as_var) &gt;/dev/null 2&gt;&amp;1 &amp;&amp; $as_unset $as_var
+    $as_unset $as_var
   fi
 done
 
 # Required to use basename.
-if expr a : '\(a\)' &gt;/dev/null 2&gt;&amp;1 &amp;&amp;
-   test &quot;X`expr 00001 : '.*\(...\)'`&quot; = X001; then
+if expr a : '\(a\)' &gt;/dev/null 2&gt;&amp;1; then
   as_expr=expr
 else
   as_expr=false
 fi
 
-if (basename -- /) &gt;/dev/null 2&gt;&amp;1 &amp;&amp; test &quot;X`basename -- / 2&gt;&amp;1`&quot; = &quot;X/&quot;; then
+if (basename /) &gt;/dev/null 2&gt;&amp;1 &amp;&amp; test &quot;X`basename / 2&gt;&amp;1`&quot; = &quot;X/&quot;; then
   as_basename=basename
 else
   as_basename=false
@@ -5796,120 +5170,159 @@ fi
 
 
 # Name of the executable.
-as_me=`$as_basename -- &quot;$0&quot; ||
+as_me=`$as_basename &quot;$0&quot; ||
 $as_expr X/&quot;$0&quot; : '.*/\([^/][^/]*\)/*$' \| \
 	 X&quot;$0&quot; : 'X\(//\)$' \| \
-	 X&quot;$0&quot; : 'X\(/\)' \| . 2&gt;/dev/null ||
+	 X&quot;$0&quot; : 'X\(/\)$' \| \
+	 .     : '\(.\)' 2&gt;/dev/null ||
 echo X/&quot;$0&quot; |
-    sed '/^.*\/\([^/][^/]*\)\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\/\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
+    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
+  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\/\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`
 
-# CDPATH.
-$as_unset CDPATH
+
+# 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 &quot;${PATH_SEPARATOR+set}&quot; != set; then
+  echo &quot;#! /bin/sh&quot; &gt;conf$$.sh
+  echo  &quot;exit 0&quot;   &gt;&gt;conf$$.sh
+  chmod +x conf$$.sh
+  if (PATH=&quot;/nonexistent;.&quot;; conf$$.sh) &gt;/dev/null 2&gt;&amp;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&gt;/dev/null`
+  test &quot;x$as_lineno_1&quot; != &quot;x$as_lineno_2&quot; &amp;&amp;
+  test &quot;x$as_lineno_3&quot;  = &quot;x$as_lineno_2&quot;  || {
+  # 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 &quot;$as_dir&quot; &amp;&amp; as_dir=.
+  test -r &quot;$as_dir/$0&quot; &amp;&amp; as_myself=$as_dir/$0 &amp;&amp; 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 &quot;x$as_myself&quot; = x; then
+    as_myself=$0
+  fi
+  if test ! -f &quot;$as_myself&quot;; then
+    { { echo &quot;$as_me:$LINENO: error: cannot find myself; rerun with an absolute path&quot; &gt;&amp;5
+echo &quot;$as_me: error: cannot find myself; rerun with an absolute path&quot; &gt;&amp;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 &quot;$as_dir&quot; &amp;&amp; as_dir=.
+  for as_base in sh bash ksh sh5; do
+	 case $as_dir in
+	 /*)
+	   if (&quot;$as_dir/$as_base&quot; -c '
   as_lineno_1=$LINENO
   as_lineno_2=$LINENO
+  as_lineno_3=`(expr $as_lineno_1 + 1) 2&gt;/dev/null`
   test &quot;x$as_lineno_1&quot; != &quot;x$as_lineno_2&quot; &amp;&amp;
-  test &quot;x`expr $as_lineno_1 + 1`&quot; = &quot;x$as_lineno_2&quot; || {
+  test &quot;x$as_lineno_3&quot;  = &quot;x$as_lineno_2&quot; ') 2&gt;/dev/null; then
+	     $as_unset BASH_ENV || test &quot;${BASH_ENV+set}&quot; != set || { BASH_ENV=; export BASH_ENV; }
+	     $as_unset ENV || test &quot;${ENV+set}&quot; != set || { ENV=; export ENV; }
+	     CONFIG_SHELL=$as_dir/$as_base
+	     export CONFIG_SHELL
+	     exec &quot;$CONFIG_SHELL&quot; &quot;$0&quot; ${1+&quot;$@&quot;}
+	   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 after each line using $LINENO; the second 'sed'
-  # does the real work.  The second script uses 'N' to pair each
-  # line-number line with the line containing $LINENO, and appends
-  # trailing '-' during substitution so that $LINENO is not a special
-  # case at line end.
+  # 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
-  # scripts with optimization help from Paolo Bonzini.  Blame Lee
-  # E. McMahon (1931-1989) for sed's syntax.  :-)
-  sed -n '
-    p
-    /[$]LINENO/=
-  ' &lt;$as_myself |
+  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
+  sed '=' &lt;$as_myself |
     sed '
-      s/[$]LINENO.*/&amp;-/
-      t lineno
-      b
-      :lineno
       N
-      :loop
-      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+      s,$,-,
+      : loop
+      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
       t loop
-      s/-\n.*//
+      s,-$,,
+      s,^['$as_cr_digits']*\n,,
     ' &gt;$as_me.lineno &amp;&amp;
-  chmod +x &quot;$as_me.lineno&quot; ||
-    { echo &quot;$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell&quot; &gt;&amp;2
+  chmod +x $as_me.lineno ||
+    { { echo &quot;$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell&quot; &gt;&amp;5
+echo &quot;$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell&quot; &gt;&amp;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 sensitive to this).
-  . &quot;./$as_me.lineno&quot;
+  # original and so on.  Autoconf is especially sensible to this).
+  . ./$as_me.lineno
   # Exit status is that of the last command.
   exit
 }
 
 
-if (dirname -- /) &gt;/dev/null 2&gt;&amp;1; then
-  as_dirname=dirname
-else
-  as_dirname=false
-fi
-
-ECHO_C= ECHO_N= ECHO_T=
-case `echo -n x` in
--n*)
-  case `echo 'x\c'` in
-  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
-  *)   ECHO_C='\c';;
-  esac;;
-*)
-  ECHO_N='-n';;
+case `echo &quot;testing\c&quot;; 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\)' &gt;/dev/null 2&gt;&amp;1 &amp;&amp;
-   test &quot;X`expr 00001 : '.*\(...\)'`&quot; = X001; then
+if expr a : '\(a\)' &gt;/dev/null 2&gt;&amp;1; then
   as_expr=expr
 else
   as_expr=false
 fi
 
 rm -f conf$$ conf$$.exe conf$$.file
-if test -d conf$$.dir; then
-  rm -f conf$$.dir/conf$$.file
-else
-  rm -f conf$$.dir
-  mkdir conf$$.dir
-fi
 echo &gt;conf$$.file
 if ln -s conf$$.file conf$$ 2&gt;/dev/null; then
-  as_ln_s='ln -s'
-  # ... but there are two gotchas:
-  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
-  # 2) DJGPP &lt; 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-  # In both cases, we have to default to `cp -p'.
-  ln -s conf$$.file conf$$.dir 2&gt;/dev/null &amp;&amp; test ! -f conf$$.exe ||
+  # 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&gt;/dev/null; then
   as_ln_s=ln
 else
   as_ln_s='cp -p'
 fi
-rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
-rmdir conf$$.dir 2&gt;/dev/null
+rm -f conf$$ conf$$.exe conf$$.file
 
 if mkdir -p . 2&gt;/dev/null; then
   as_mkdir_p=:
@@ -5918,19 +5331,7 @@ else
   as_mkdir_p=false
 fi
 
-# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
-# systems may use methods other than mode bits to determine executability.
-cat &gt;conf$$.file &lt;&lt;_ASEOF
-#! /bin/sh
-exit 0
-_ASEOF
-chmod +x conf$$.file
-if test -x conf$$.file &gt;/dev/null 2&gt;&amp;1; then
-  as_executable_p=&quot;test -x&quot;
-else
-  as_executable_p=:
-fi
-rm -f conf$$.file
+as_executable_p=&quot;test -f&quot;
 
 # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp=&quot;eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'&quot;
@@ -5939,14 +5340,31 @@ as_tr_cpp=&quot;eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'&quot;
 as_tr_sh=&quot;eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'&quot;
 
 
+# IFS
+# We need space, tab and new line, in precisely that order.
+as_nl='
+'
+IFS=&quot; 	$as_nl&quot;
+
+# CDPATH.
+$as_unset CDPATH
+
 exec 6&gt;&amp;1
 
-# Save the log message, to keep $[0] and so on meaningful, and to
+# 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.
-ac_log=&quot;
+# values after options handling.  Logging --version etc. is OK.
+exec 5&gt;&gt;config.log
+{
+  echo
+  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' &lt;&lt;_ASBOX
+## Running $as_me. ##
+_ASBOX
+} &gt;&amp;5
+cat &gt;&amp;5 &lt;&lt;_CSEOF
+
 This file was extended by FULL-PACKAGE-NAME $as_me VERSION, which was
-generated by GNU Autoconf 2.59d.  Invocation command line was
+generated by GNU Autoconf 2.59.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS
@@ -5954,18 +5372,30 @@ generated by GNU Autoconf 2.59d.  Invocation command line was
   CONFIG_COMMANDS = $CONFIG_COMMANDS
   $ $0 $@
 
-on `(hostname || uname -n) 2&gt;/dev/null | sed 1q`
-&quot;
-
+_CSEOF
+echo &quot;on `(hostname || uname -n) 2&gt;/dev/null | sed 1q`&quot; &gt;&amp;5
+echo &gt;&amp;5
 _ACEOF
 
-cat &gt;&gt;$CONFIG_STATUS &lt;&lt;_ACEOF
 # Files that config.status was made for.
-config_files=&quot;$ac_config_files&quot;
+if test -n &quot;$ac_config_files&quot;; then
+  echo &quot;config_files=\&quot;$ac_config_files\&quot;&quot; &gt;&gt;$CONFIG_STATUS
+fi
 
-_ACEOF
+if test -n &quot;$ac_config_headers&quot;; then
+  echo &quot;config_headers=\&quot;$ac_config_headers\&quot;&quot; &gt;&gt;$CONFIG_STATUS
+fi
+
+if test -n &quot;$ac_config_links&quot;; then
+  echo &quot;config_links=\&quot;$ac_config_links\&quot;&quot; &gt;&gt;$CONFIG_STATUS
+fi
+
+if test -n &quot;$ac_config_commands&quot;; then
+  echo &quot;config_commands=\&quot;$ac_config_commands\&quot;&quot; &gt;&gt;$CONFIG_STATUS
+fi
 
 cat &gt;&gt;$CONFIG_STATUS &lt;&lt;\_ACEOF
+
 ac_cs_usage=&quot;\
 \`$as_me' instantiates files from templates according to the
 current configuration.
@@ -5984,20 +5414,18 @@ Configuration files:
 $config_files
 
 Report bugs to &lt;bug-autoconf@gnu.org&gt;.&quot;
-
 _ACEOF
+
 cat &gt;&gt;$CONFIG_STATUS &lt;&lt;_ACEOF
 ac_cs_version=&quot;\\
 FULL-PACKAGE-NAME config.status VERSION
-configured by $0, generated by GNU Autoconf 2.59d,
+configured by $0, generated by GNU Autoconf 2.59,
   with options \\&quot;`echo &quot;$ac_configure_args&quot; | sed 's/[\\&quot;&quot;\`\$]/\\\\&amp;/g'`\\&quot;
 
-Copyright (C) 2006 Free Software Foundation, Inc.
+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.&quot;
-
-ac_pwd='$ac_pwd'
-srcdir='$srcdir'
+srcdir=$srcdir
 _ACEOF
 
 cat &gt;&gt;$CONFIG_STATUS &lt;&lt;\_ACEOF
@@ -6008,42 +5436,60 @@ while test $# != 0
 do
   case $1 in
   --*=*)
-    ac_option=`expr &quot;X$1&quot; : 'X\([^=]*\)='`
-    ac_optarg=`expr &quot;X$1&quot; : 'X[^=]*=\(.*\)'`
+    ac_option=`expr &quot;x$1&quot; : 'x\([^=]*\)='`
+    ac_optarg=`expr &quot;x$1&quot; : '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 &gt;&gt;$CONFIG_STATUS &lt;&lt;\_ACEOF
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
     ac_cs_recheck=: ;;
-  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
-    echo &quot;$ac_cs_version&quot;; exit ;;
-  --debug | --debu | --deb | --de | --d | -d )
+  --version | --vers* | -V )
+    echo &quot;$ac_cs_version&quot;; exit 0 ;;
+  --he | --h)
+    # Conflict between --help and --header
+    { { echo &quot;$as_me:$LINENO: error: ambiguous option: $1
+Try \`$0 --help' for more information.&quot; &gt;&amp;5
+echo &quot;$as_me: error: ambiguous option: $1
+Try \`$0 --help' for more information.&quot; &gt;&amp;2;}
+   { (exit 1); exit 1; }; };;
+  --help | --hel | -h )
+    echo &quot;$ac_cs_usage&quot;; exit 0 ;;
+  --debug | --d* | -d )
     debug=: ;;
   --file | --fil | --fi | --f )
     $ac_shift
     CONFIG_FILES=&quot;$CONFIG_FILES $ac_optarg&quot;
     ac_need_defaults=false;;
-  --he | --h |  --help | --hel | -h )
-    echo &quot;$ac_cs_usage&quot;; exit ;;
+  --header | --heade | --head | --hea )
+    $ac_shift
+    CONFIG_HEADERS=&quot;$CONFIG_HEADERS $ac_optarg&quot;
+    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 &quot;$as_me: error: unrecognized option: $1
-Try \`$0 --help' for more information.&quot; &gt;&amp;2
+  -*) { { echo &quot;$as_me:$LINENO: error: unrecognized option: $1
+Try \`$0 --help' for more information.&quot; &gt;&amp;5
+echo &quot;$as_me: error: unrecognized option: $1
+Try \`$0 --help' for more information.&quot; &gt;&amp;2;}
    { (exit 1); exit 1; }; } ;;
 
-  *) ac_config_targets=&quot;$ac_config_targets $1&quot;
-     ac_need_defaults=false ;;
+  *) ac_config_targets=&quot;$ac_config_targets $1&quot; ;;
 
   esac
   shift
@@ -6059,51 +5505,38 @@ fi
 _ACEOF
 cat &gt;&gt;$CONFIG_STATUS &lt;&lt;_ACEOF
 if \$ac_cs_recheck; then
-  echo &quot;running CONFIG_SHELL=$SHELL $SHELL $0 &quot; $ac_configure_args \$ac_configure_extra_args &quot; --no-create --no-recursion&quot; &gt;&amp;6
-  CONFIG_SHELL=$SHELL
-  export CONFIG_SHELL
-  exec $SHELL &quot;$0&quot; $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+  echo &quot;running $SHELL $0 &quot; $ac_configure_args \$ac_configure_extra_args &quot; --no-create --no-recursion&quot; &gt;&amp;6
+  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 fi
 
 _ACEOF
-cat &gt;&gt;$CONFIG_STATUS &lt;&lt;\_ACEOF
-exec 5&gt;&gt;config.log
-{
-  echo
-  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' &lt;&lt;_ASBOX
-## Running $as_me. ##
-_ASBOX
-  echo &quot;$ac_log&quot;
-} &gt;&amp;5
 
-_ACEOF
-cat &gt;&gt;$CONFIG_STATUS &lt;&lt;_ACEOF
-_ACEOF
 
-cat &gt;&gt;$CONFIG_STATUS &lt;&lt;\_ACEOF
 
-# Handling of arguments.
+
+
+cat &gt;&gt;$CONFIG_STATUS &lt;&lt;\_ACEOF
 for ac_config_target in $ac_config_targets
 do
-  case $ac_config_target in
-    &quot;Makefile&quot;) CONFIG_FILES=&quot;$CONFIG_FILES Makefile&quot; ;;
-    &quot;$make_mod_irc&quot;) CONFIG_FILES=&quot;$CONFIG_FILES $make_mod_irc&quot; ;;
-    &quot;$make_mod_muc&quot;) CONFIG_FILES=&quot;$CONFIG_FILES $make_mod_muc&quot; ;;
-    &quot;$make_mod_pubsub&quot;) CONFIG_FILES=&quot;$CONFIG_FILES $make_mod_pubsub&quot; ;;
-    &quot;$make_eldap&quot;) CONFIG_FILES=&quot;$CONFIG_FILES $make_eldap&quot; ;;
-    &quot;$make_web&quot;) CONFIG_FILES=&quot;$CONFIG_FILES $make_web&quot; ;;
-    &quot;stringprep/Makefile&quot;) CONFIG_FILES=&quot;$CONFIG_FILES stringprep/Makefile&quot; ;;
-    &quot;$make_tls&quot;) CONFIG_FILES=&quot;$CONFIG_FILES $make_tls&quot; ;;
-    &quot;$make_odbc&quot;) CONFIG_FILES=&quot;$CONFIG_FILES $make_odbc&quot; ;;
-    &quot;$make_ejabberd_zlib&quot;) CONFIG_FILES=&quot;$CONFIG_FILES $make_ejabberd_zlib&quot; ;;
-
+  case &quot;$ac_config_target&quot; in
+  # Handling of arguments.
+  &quot;Makefile&quot; ) CONFIG_FILES=&quot;$CONFIG_FILES Makefile&quot; ;;
+  &quot;$make_mod_irc&quot; ) CONFIG_FILES=&quot;$CONFIG_FILES $make_mod_irc&quot; ;;
+  &quot;$make_mod_muc&quot; ) CONFIG_FILES=&quot;$CONFIG_FILES $make_mod_muc&quot; ;;
+  &quot;$make_mod_pubsub&quot; ) CONFIG_FILES=&quot;$CONFIG_FILES $make_mod_pubsub&quot; ;;
+  &quot;$make_mod_proxy65&quot; ) CONFIG_FILES=&quot;$CONFIG_FILES $make_mod_proxy65&quot; ;;
+  &quot;$make_eldap&quot; ) CONFIG_FILES=&quot;$CONFIG_FILES $make_eldap&quot; ;;
+  &quot;$make_web&quot; ) CONFIG_FILES=&quot;$CONFIG_FILES $make_web&quot; ;;
+  &quot;stringprep/Makefile&quot; ) CONFIG_FILES=&quot;$CONFIG_FILES stringprep/Makefile&quot; ;;
+  &quot;$make_tls&quot; ) CONFIG_FILES=&quot;$CONFIG_FILES $make_tls&quot; ;;
+  &quot;$make_odbc&quot; ) CONFIG_FILES=&quot;$CONFIG_FILES $make_odbc&quot; ;;
+  &quot;$make_ejabberd_zlib&quot; ) CONFIG_FILES=&quot;$CONFIG_FILES $make_ejabberd_zlib&quot; ;;
   *) { { echo &quot;$as_me:$LINENO: error: invalid argument: $ac_config_target&quot; &gt;&amp;5
 echo &quot;$as_me: error: invalid argument: $ac_config_target&quot; &gt;&amp;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
@@ -6113,389 +5546,326 @@ if $ac_need_defaults; then
 fi
 
 # Have a temporary directory for convenience.  Make it in the build tree
-# simply because there is no reason against having it here, and in addition,
+# simply because there is no reason to put it here, and in addition,
 # creating and moving files from /tmp can sometimes cause problems.
-# Hook for its removal unless debugging.
-# Note that there is a small window in which the directory will not be cleaned:
-# after its creation but before its name has been assigned to `$tmp'.
+# Create a temporary directory, and hook for its removal unless debugging.
 $debug ||
 {
-  tmp=
-  trap 'exit_status=$?
-  { test -z &quot;$tmp&quot; || test ! -d &quot;$tmp&quot; || rm -fr &quot;$tmp&quot;; } &amp;&amp; exit $exit_status
-' 0
+  trap 'exit_status=$?; rm -rf $tmp &amp;&amp; exit $exit_status' 0
   trap '{ (exit 1); exit 1; }' 1 2 13 15
 }
+
 # Create a (secure) tmp directory for tmp files.
 
 {
-  tmp=`(umask 077 &amp;&amp; mktemp -d &quot;./confXXXXXX&quot;) 2&gt;/dev/null` &amp;&amp;
+  tmp=`(umask 077 &amp;&amp; mktemp -d -q &quot;./confstatXXXXXX&quot;) 2&gt;/dev/null` &amp;&amp;
   test -n &quot;$tmp&quot; &amp;&amp; test -d &quot;$tmp&quot;
 }  ||
 {
-  tmp=./conf$$-$RANDOM
-  (umask 077 &amp;&amp; mkdir &quot;$tmp&quot;)
+  tmp=./confstat$$-$RANDOM
+  (umask 077 &amp;&amp; mkdir $tmp)
 } ||
 {
    echo &quot;$me: cannot create a temporary directory in .&quot; &gt;&amp;2
    { (exit 1); exit 1; }
 }
 
+_ACEOF
+
+cat &gt;&gt;$CONFIG_STATUS &lt;&lt;_ACEOF
+
 #
-# Set up the sed scripts for CONFIG_FILES section.
+# 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 &quot;$CONFIG_FILES&quot;; then
-
-_ACEOF
+if test -n &quot;\$CONFIG_FILES&quot;; 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/[\\\\&amp;,]/\\\\&amp;/g;
+   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' &gt;\$tmp/subs.sed &lt;&lt;\\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,@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,@SET_MAKE@,$SET_MAKE,;t t
+s,@ERLC@,$ERLC,;t t
+s,@ac_pt_ERLC@,$ac_pt_ERLC,;t t
+s,@ERL@,$ERL,;t t
+s,@ac_pt_ERL@,$ac_pt_ERL,;t t
+s,@ERLANG_CFLAGS@,$ERLANG_CFLAGS,;t t
+s,@ERLANG_LIBS@,$ERLANG_LIBS,;t t
+s,@LIBICONV@,$LIBICONV,;t t
+s,@CPP@,$CPP,;t t
+s,@EGREP@,$EGREP,;t t
+s,@EXPAT_CFLAGS@,$EXPAT_CFLAGS,;t t
+s,@EXPAT_LIBS@,$EXPAT_LIBS,;t t
+s,@ZLIB_CFLAGS@,$ZLIB_CFLAGS,;t t
+s,@ZLIB_LIBS@,$ZLIB_LIBS,;t t
+s,@LIBOBJS@,$LIBOBJS,;t t
+s,@mod_pubsub@,$mod_pubsub,;t t
+s,@make_mod_pubsub@,$make_mod_pubsub,;t t
+s,@mod_irc@,$mod_irc,;t t
+s,@make_mod_irc@,$make_mod_irc,;t t
+s,@mod_muc@,$mod_muc,;t t
+s,@make_mod_muc@,$make_mod_muc,;t t
+s,@mod_proxy65@,$mod_proxy65,;t t
+s,@make_mod_proxy65@,$make_mod_proxy65,;t t
+s,@eldap@,$eldap,;t t
+s,@make_eldap@,$make_eldap,;t t
+s,@web@,$web,;t t
+s,@make_web@,$make_web,;t t
+s,@tls@,$tls,;t t
+s,@make_tls@,$make_tls,;t t
+s,@odbc@,$odbc,;t t
+s,@make_odbc@,$make_odbc,;t t
+s,@ejabberd_zlib@,$ejabberd_zlib,;t t
+s,@make_ejabberd_zlib@,$make_ejabberd_zlib,;t t
+s,@roster_gateway_workaround@,$roster_gateway_workaround,;t t
+s,@db_type@,$db_type,;t t
+s,@SSL_LIBS@,$SSL_LIBS,;t t
+s,@SSL_CFLAGS@,$SSL_CFLAGS,;t t
+s,@LTLIBOBJS@,$LTLIBOBJS,;t t
+CEOF
 
-
-
-ac_delim='%!_!# '
-for ac_last_try in false false false false false :; do
-  cat &gt;conf$$subs.sed &lt;&lt;_ACEOF
-SHELL!$SHELL$ac_delim
-PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
-PACKAGE_NAME!$PACKAGE_NAME$ac_delim
-PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
-PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
-PACKAGE_STRING!$PACKAGE_STRING$ac_delim
-PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
-exec_prefix!$exec_prefix$ac_delim
-prefix!$prefix$ac_delim
-program_transform_name!$program_transform_name$ac_delim
-bindir!$bindir$ac_delim
-sbindir!$sbindir$ac_delim
-libexecdir!$libexecdir$ac_delim
-datarootdir!$datarootdir$ac_delim
-datadir!$datadir$ac_delim
-sysconfdir!$sysconfdir$ac_delim
-sharedstatedir!$sharedstatedir$ac_delim
-localstatedir!$localstatedir$ac_delim
-includedir!$includedir$ac_delim
-oldincludedir!$oldincludedir$ac_delim
-docdir!$docdir$ac_delim
-infodir!$infodir$ac_delim
-htmldir!$htmldir$ac_delim
-dvidir!$dvidir$ac_delim
-pdfdir!$pdfdir$ac_delim
-psdir!$psdir$ac_delim
-libdir!$libdir$ac_delim
-localedir!$localedir$ac_delim
-mandir!$mandir$ac_delim
-DEFS!$DEFS$ac_delim
-ECHO_C!$ECHO_C$ac_delim
-ECHO_N!$ECHO_N$ac_delim
-ECHO_T!$ECHO_T$ac_delim
-LIBS!$LIBS$ac_delim
-build_alias!$build_alias$ac_delim
-host_alias!$host_alias$ac_delim
-target_alias!$target_alias$ac_delim
-CC!$CC$ac_delim
-CFLAGS!$CFLAGS$ac_delim
-LDFLAGS!$LDFLAGS$ac_delim
-CPPFLAGS!$CPPFLAGS$ac_delim
-ac_ct_CC!$ac_ct_CC$ac_delim
-EXEEXT!$EXEEXT$ac_delim
-OBJEXT!$OBJEXT$ac_delim
-SET_MAKE!$SET_MAKE$ac_delim
-ERLC!$ERLC$ac_delim
-ERL!$ERL$ac_delim
-ERLANG_CFLAGS!$ERLANG_CFLAGS$ac_delim
-ERLANG_LIBS!$ERLANG_LIBS$ac_delim
-LIBICONV!$LIBICONV$ac_delim
-CPP!$CPP$ac_delim
-GREP!$GREP$ac_delim
-EGREP!$EGREP$ac_delim
-EXPAT_CFLAGS!$EXPAT_CFLAGS$ac_delim
-EXPAT_LIBS!$EXPAT_LIBS$ac_delim
-ZLIB_CFLAGS!$ZLIB_CFLAGS$ac_delim
-ZLIB_LIBS!$ZLIB_LIBS$ac_delim
-LIBOBJS!$LIBOBJS$ac_delim
-mod_pubsub!$mod_pubsub$ac_delim
-make_mod_pubsub!$make_mod_pubsub$ac_delim
-mod_irc!$mod_irc$ac_delim
-make_mod_irc!$make_mod_irc$ac_delim
-mod_muc!$mod_muc$ac_delim
-make_mod_muc!$make_mod_muc$ac_delim
-eldap!$eldap$ac_delim
-make_eldap!$make_eldap$ac_delim
-web!$web$ac_delim
-make_web!$make_web$ac_delim
-tls!$tls$ac_delim
-make_tls!$make_tls$ac_delim
-odbc!$odbc$ac_delim
-make_odbc!$make_odbc$ac_delim
-ejabberd_zlib!$ejabberd_zlib$ac_delim
-make_ejabberd_zlib!$make_ejabberd_zlib$ac_delim
-roster_gateway_workaround!$roster_gateway_workaround$ac_delim
-db_type!$db_type$ac_delim
-SSL_LIBS!$SSL_LIBS$ac_delim
-SSL_CFLAGS!$SSL_CFLAGS$ac_delim
-LTLIBOBJS!$LTLIBOBJS$ac_delim
 _ACEOF
 
-  if test `grep -c &quot;$ac_delim\$&quot; conf$$subs.sed` = 79; then
-    break
-  elif $ac_last_try; then
-    { { echo &quot;$as_me:$LINENO: error: could not make $CONFIG_STATUS&quot; &gt;&amp;5
-echo &quot;$as_me: error: could not make $CONFIG_STATUS&quot; &gt;&amp;2;}
-   { (exit 1); exit 1; }; }
-  else
-    ac_delim=&quot;$ac_delim!$ac_delim _$ac_delim!! &quot;
+  cat &gt;&gt;$CONFIG_STATUS &lt;&lt;\_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 &quot;1,${ac_beg}d; ${ac_end}q&quot; $tmp/subs.sed &gt;$tmp/subs.frag
+    else
+      sed &quot;${ac_end}q&quot; $tmp/subs.sed &gt;$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' &amp;&amp; cat $tmp/subs.frag) &gt;$tmp/subs-$ac_sed_frag.sed
+      if test -z &quot;$ac_sed_cmds&quot;; then
+	ac_sed_cmds=&quot;sed -f $tmp/subs-$ac_sed_frag.sed&quot;
+      else
+	ac_sed_cmds=&quot;$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed&quot;
+      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 &quot;$ac_sed_cmds&quot;; then
+    ac_sed_cmds=cat
   fi
-done
-
-ac_eof=
-if grep '^CEOF$' conf$$subs.sed &gt;/dev/null; then
-  ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF//p' conf$$subs.sed | sort -nru | sed 1q`
-  ac_eof=`expr 0$ac_eof + 1`
-fi
+fi # test -n &quot;$CONFIG_FILES&quot;
 
-cat &gt;&gt;$CONFIG_STATUS &lt;&lt;_ACEOF
-cat &gt;&quot;\$tmp/subs-1.sed&quot; &lt;&lt;\CEOF$ac_eof
-/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 _ACEOF
-sed '
-s/[,\\&amp;]/\\&amp;/g; s/@/@|#_!!_#|/g
-s/^/s,@/; s/!/@,|#_!!_#|/
-:n
-t n
-s/'&quot;$ac_delim&quot;'$/,g/; t
-s/$/\\/; p
-N; s/^.*\n//; s/[,\\&amp;]/\\&amp;/g; s/@/@|#_!!_#|/g; b n
-' &gt;&gt;$CONFIG_STATUS &lt;conf$$subs.sed
-rm -f conf$$subs.sed
-cat &gt;&gt;$CONFIG_STATUS &lt;&lt;_ACEOF
-:end
-s/|#_!!_#|//g
-CEOF$ac_eof
-_ACEOF
-
-
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is &quot;.&quot;, 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 &quot;x$srcdir&quot; = x.; then
-  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[	 ]*\):*/\1/
-s/:*$//
-s/^[^=]*=[	 ]*$//
-}'
-fi
-
 cat &gt;&gt;$CONFIG_STATUS &lt;&lt;\_ACEOF
-fi # test -n &quot;$CONFIG_FILES&quot;
-
-
-for ac_tag in  :F $CONFIG_FILES
-do
-  case $ac_tag in
-  :[FHLC]) ac_mode=$ac_tag; continue;;
-  esac
-  case $ac_mode$ac_tag in
-  :[FHL]*:*);;
-  :L* | :C*:*) { { echo &quot;$as_me:$LINENO: error: Invalid tag $ac_tag.&quot; &gt;&amp;5
-echo &quot;$as_me: error: Invalid tag $ac_tag.&quot; &gt;&amp;2;}
-   { (exit 1); exit 1; }; };;
-  :[FH]-) ac_tag=-:-;;
-  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
-  esac
-  ac_save_IFS=$IFS
-  IFS=:
-  set x $ac_tag
-  IFS=$ac_save_IFS
-  shift
-  ac_file=$1
-  shift
-
-  case $ac_mode in
-  :L) ac_source=$1;;
-  :[FH])
-    ac_file_inputs=
-    for ac_f
-    do
-      case $ac_f in
-      -) ac_f=&quot;$tmp/stdin&quot;;;
-      *) # Look for the file first in the build tree, then in the source tree
-	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
-	 # because $ac_f cannot contain `:'.
-	 test -f &quot;$ac_f&quot; ||
-	   case $ac_f in
-	   [\\/$]*) false;;
-	   *) test -f &quot;$srcdir/$ac_f&quot; &amp;&amp; ac_f=&quot;$srcdir/$ac_f&quot;;;
-	   esac ||
-	   { { echo &quot;$as_me:$LINENO: error: cannot find input file: $ac_f&quot; &gt;&amp;5
-echo &quot;$as_me: error: cannot find input file: $ac_f&quot; &gt;&amp;2;}
-   { (exit 1); exit 1; }; };;
-      esac
-      ac_file_inputs=&quot;$ac_file_inputs $ac_f&quot;
-    done
-
-    # 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.  */
-    configure_input=&quot;Generated from &quot;`IFS=:
-	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`&quot; by configure.&quot;
-    if test x&quot;$ac_file&quot; != x-; then
-      configure_input=&quot;$ac_file.  $configure_input&quot;
-      { echo &quot;$as_me:$LINENO: creating $ac_file&quot; &gt;&amp;5
-echo &quot;$as_me: creating $ac_file&quot; &gt;&amp;6;}
-    fi
-
-    case $ac_tag in
-    *:-:* | *:-) cat &gt;&quot;$tmp/stdin&quot;;;
-    esac
-    ;;
+for ac_file in : $CONFIG_FILES; do test &quot;x$ac_file&quot; = x: &amp;&amp; continue
+  # Support &quot;outfile[:infile[:infile...]]&quot;, defaulting infile=&quot;outfile.in&quot;.
+  case $ac_file in
+  - | *:- | *:-:* ) # input from stdin
+	cat &gt;$tmp/stdin
+	ac_file_in=`echo &quot;$ac_file&quot; | sed 's,[^:]*:,,'`
+	ac_file=`echo &quot;$ac_file&quot; | sed 's,:.*,,'` ;;
+  *:* ) ac_file_in=`echo &quot;$ac_file&quot; | sed 's,[^:]*:,,'`
+	ac_file=`echo &quot;$ac_file&quot; | sed 's,:.*,,'` ;;
+  * )   ac_file_in=$ac_file.in ;;
   esac
 
-  ac_dir=`$as_dirname -- &quot;$ac_file&quot; ||
+  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
+  ac_dir=`(dirname &quot;$ac_file&quot;) 2&gt;/dev/null ||
 $as_expr X&quot;$ac_file&quot; : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 	 X&quot;$ac_file&quot; : 'X\(//\)[^/]' \| \
 	 X&quot;$ac_file&quot; : 'X\(//\)$' \| \
-	 X&quot;$ac_file&quot; : 'X\(/\)' \| . 2&gt;/dev/null ||
+	 X&quot;$ac_file&quot; : 'X\(/\)' \| \
+	 .     : '\(.\)' 2&gt;/dev/null ||
 echo X&quot;$ac_file&quot; |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)[^/].*/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-  { as_dir=&quot;$ac_dir&quot;
-  case $as_dir in #(
-  -*) as_dir=./$as_dir;;
-  esac
-  test -d &quot;$as_dir&quot; || { $as_mkdir_p &amp;&amp; mkdir -p &quot;$as_dir&quot;; } || {
+    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 &quot;$ac_dir&quot;
+  else
+    as_dir=&quot;$ac_dir&quot;
     as_dirs=
-    while :; do
-      case $as_dir in #(
-      *\'*) as_qdir=`echo &quot;$as_dir&quot; | sed &quot;s/'/'\\\\\\\\''/g&quot;`;; #(
-      *) as_qdir=$as_dir;;
-      esac
-      as_dirs=&quot;'$as_qdir' $as_dirs&quot;
-      as_dir=`$as_dirname -- &quot;$as_dir&quot; ||
+    while test ! -d &quot;$as_dir&quot;; do
+      as_dirs=&quot;$as_dir $as_dirs&quot;
+      as_dir=`(dirname &quot;$as_dir&quot;) 2&gt;/dev/null ||
 $as_expr X&quot;$as_dir&quot; : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 	 X&quot;$as_dir&quot; : 'X\(//\)[^/]' \| \
 	 X&quot;$as_dir&quot; : 'X\(//\)$' \| \
-	 X&quot;$as_dir&quot; : 'X\(/\)' \| . 2&gt;/dev/null ||
+	 X&quot;$as_dir&quot; : 'X\(/\)' \| \
+	 .     : '\(.\)' 2&gt;/dev/null ||
 echo X&quot;$as_dir&quot; |
-    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)[^/].*/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\/\)$/{
-	    s//\1/
-	    q
-	  }
-	  /^X\(\/\).*/{
-	    s//\1/
-	    q
-	  }
-	  s/.*/./; q'`
-      test -d &quot;$as_dir&quot; &amp;&amp; break
+    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
+  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
+  	  /^X\(\/\/\)$/{ s//\1/; q; }
+  	  /^X\(\/\).*/{ s//\1/; q; }
+  	  s/.*/./; q'`
     done
-    test -z &quot;$as_dirs&quot; || eval &quot;mkdir $as_dirs&quot;
-  } || test -d &quot;$as_dir&quot; || { { echo &quot;$as_me:$LINENO: error: cannot create directory $as_dir&quot; &gt;&amp;5
-echo &quot;$as_me: error: cannot create directory $as_dir&quot; &gt;&amp;2;}
+    test ! -n &quot;$as_dirs&quot; || mkdir $as_dirs
+  fi || { { echo &quot;$as_me:$LINENO: error: cannot create directory \&quot;$ac_dir\&quot;&quot; &gt;&amp;5
+echo &quot;$as_me: error: cannot create directory \&quot;$ac_dir\&quot;&quot; &gt;&amp;2;}
    { (exit 1); exit 1; }; }; }
+
   ac_builddir=.
 
-case &quot;$ac_dir&quot; in
-.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
-*)
+if test &quot;$ac_dir&quot; != .; then
   ac_dir_suffix=/`echo &quot;$ac_dir&quot; | sed 's,^\.[\\/],,'`
-  # A &quot;..&quot; for each directory in $ac_dir_suffix.
-  ac_top_builddir_sub=`echo &quot;$ac_dir_suffix&quot; | sed 's,/[^\\/]*,/..,g;s,/,,'`
-  case $ac_top_builddir_sub in
-  &quot;&quot;) ac_top_builddir_sub=. ac_top_build_prefix= ;;
-  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
-  esac ;;
-esac
-ac_abs_top_builddir=$ac_pwd
-ac_abs_builddir=$ac_pwd$ac_dir_suffix
-# for backward compatibility:
-ac_top_builddir=$ac_top_build_prefix
+  # A &quot;../&quot; for each directory in $ac_dir_suffix.
+  ac_top_builddir=`echo &quot;$ac_dir_suffix&quot; | sed 's,/[^\\/]*,../,g'`
+else
+  ac_dir_suffix= ac_top_builddir=
+fi
 
 case $srcdir in
-  .)  # We are building in place.
+  .)  # No --srcdir option.  We are building in place.
     ac_srcdir=.
-    ac_top_srcdir=$ac_top_builddir_sub
-    ac_abs_top_srcdir=$ac_pwd ;;
-  [\\/]* | ?:[\\/]* )  # Absolute name.
+    if test -z &quot;$ac_top_builddir&quot;; 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
-    ac_abs_top_srcdir=$srcdir ;;
-  *) # Relative name.
-    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
-    ac_top_srcdir=$ac_top_build_prefix$srcdir
-    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
+    ac_top_srcdir=$srcdir ;;
+  *) # Relative path.
+    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
+    ac_top_srcdir=$ac_top_builddir$srcdir ;;
 esac
-ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
+# Do not use `cd foo &amp;&amp; pwd` to compute absolute paths, because
+# the directories may not exist.
+case `pwd` in
+.) ac_abs_builddir=&quot;$ac_dir&quot;;;
+*)
+  case &quot;$ac_dir&quot; in
+  .) ac_abs_builddir=`pwd`;;
+  [\\/]* | ?:[\\/]* ) ac_abs_builddir=&quot;$ac_dir&quot;;;
+  *) ac_abs_builddir=`pwd`/&quot;$ac_dir&quot;;;
+  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 $ac_mode in
-  :F)
-  #
-  # CONFIG_FILE
-  #
 
-_ACEOF
 
-cat &gt;&gt;$CONFIG_STATUS &lt;&lt;\_ACEOF
-# If the template does not know about datarootdir, expand it.
-# FIXME: This hack should be removed a few years after 2.60.
-ac_datarootdir_hack=
+  # 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&quot;$ac_file&quot; = x-; then
+    configure_input=
+  else
+    configure_input=&quot;$ac_file.  &quot;
+  fi
+  configure_input=$configure_input&quot;Generated from `echo $ac_file_in |
+				     sed 's,.*/,,'` by configure.&quot;
+
+  # 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 &quot;$f&quot; || { { echo &quot;$as_me:$LINENO: error: cannot find input file: $f&quot; &gt;&amp;5
+echo &quot;$as_me: error: cannot find input file: $f&quot; &gt;&amp;2;}
+   { (exit 1); exit 1; }; }
+	 echo &quot;$f&quot;;;
+      *) # Relative
+	 if test -f &quot;$f&quot;; then
+	   # Build tree
+	   echo &quot;$f&quot;
+	 elif test -f &quot;$srcdir/$f&quot;; then
+	   # Source tree
+	   echo &quot;$srcdir/$f&quot;
+	 else
+	   # /dev/null tree
+	   { { echo &quot;$as_me:$LINENO: error: cannot find input file: $f&quot; &gt;&amp;5
+echo &quot;$as_me: error: cannot find input file: $f&quot; &gt;&amp;2;}
+   { (exit 1); exit 1; }; }
+	 fi;;
+      esac
+    done` || { (exit 1); exit 1; }
 
-case `sed -n '/datarootdir/ {
-  p
-  q
-}
-/@datadir@/p
-/@docdir@/p
-/@infodir@/p
-/@localedir@/p
-/@mandir@/p
-' $ac_file_inputs` in
-*datarootdir*) ;;
-*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
-  { echo &quot;$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting&quot; &gt;&amp;5
-echo &quot;$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting&quot; &gt;&amp;2;}
-_ACEOF
-cat &gt;&gt;$CONFIG_STATUS &lt;&lt;_ACEOF
-  ac_datarootdir_hack='
-  s&amp;@datadir@&amp;$datadir&amp;g
-  s&amp;@docdir@&amp;$docdir&amp;g
-  s&amp;@infodir@&amp;$infodir&amp;g
-  s&amp;@localedir@&amp;$localedir&amp;g
-  s&amp;@mandir@&amp;$mandir&amp;g
-    s&amp;\\\${datarootdir}&amp;$datarootdir&amp;g' ;;
-esac
+  if test x&quot;$ac_file&quot; != x-; then
+    { echo &quot;$as_me:$LINENO: creating $ac_file&quot; &gt;&amp;5
+echo &quot;$as_me: creating $ac_file&quot; &gt;&amp;6;}
+    rm -f &quot;$ac_file&quot;
+  fi
 _ACEOF
-
-# Neutralize VPATH when `$srcdir' = `.'.
-# Shell code in configure.ac might set extrasub.
-# FIXME: do we really want to maintain this feature?
 cat &gt;&gt;$CONFIG_STATUS &lt;&lt;_ACEOF
   sed &quot;$ac_vpsub
 $extrasub
@@ -6503,31 +5873,28 @@ _ACEOF
 cat &gt;&gt;$CONFIG_STATUS &lt;&lt;\_ACEOF
 :t
 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
-s&amp;@configure_input@&amp;$configure_input&amp;;t t
-s&amp;@top_builddir@&amp;$ac_top_builddir_sub&amp;;t t
-s&amp;@srcdir@&amp;$ac_srcdir&amp;;t t
-s&amp;@abs_srcdir@&amp;$ac_abs_srcdir&amp;;t t
-s&amp;@top_srcdir@&amp;$ac_top_srcdir&amp;;t t
-s&amp;@abs_top_srcdir@&amp;$ac_abs_top_srcdir&amp;;t t
-s&amp;@builddir@&amp;$ac_builddir&amp;;t t
-s&amp;@abs_builddir@&amp;$ac_abs_builddir&amp;;t t
-s&amp;@abs_top_builddir@&amp;$ac_abs_top_builddir&amp;;t t
-$ac_datarootdir_hack
-&quot; $ac_file_inputs | sed -f &quot;$tmp/subs-1.sed&quot; &gt;$tmp/out
-
-  rm -f &quot;$tmp/stdin&quot;
-  case $ac_file in
-  -) cat &quot;$tmp/out&quot;; rm -f &quot;$tmp/out&quot;;;
-  *) rm -f &quot;$ac_file&quot;; mv &quot;$tmp/out&quot; $ac_file;;
-  esac
- ;;
-
-
-
-  esac
+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
+&quot; $ac_file_inputs | (eval &quot;$ac_sed_cmds&quot;) &gt;$tmp/out
+  rm -f $tmp/stdin
+  if test x&quot;$ac_file&quot; != x-; then
+    mv $tmp/out $ac_file
+  else
+    cat $tmp/out
+    rm -f $tmp/out
+  fi
 
-done # for ac_tag
+done
+_ACEOF
 
+cat &gt;&gt;$CONFIG_STATUS &lt;&lt;\_ACEOF
 
 { (exit 0); exit 0; }
 _ACEOF</diff>
      <filename>src/configure</filename>
    </modified>
    <modified>
      <diff>@@ -30,6 +30,7 @@ AC_HEADER_STDC
 AC_MOD_ENABLE(mod_pubsub, yes)
 AC_MOD_ENABLE(mod_irc, yes)
 AC_MOD_ENABLE(mod_muc, yes)
+AC_MOD_ENABLE(mod_proxy65, yes)
 AC_MOD_ENABLE(eldap, yes)
 AC_MOD_ENABLE(web, yes)
 AC_MOD_ENABLE(tls, yes)
@@ -58,6 +59,7 @@ AC_CONFIG_FILES([Makefile
                  $make_mod_irc
                  $make_mod_muc
                  $make_mod_pubsub
+                 $make_mod_proxy65
                  $make_eldap
                  $make_web
                  stringprep/Makefile</diff>
      <filename>src/configure.ac</filename>
    </modified>
    <modified>
      <diff>@@ -39,3 +39,4 @@
 
 -define(PRIVACY_SUPPORT, true).
 
+-define(EJABBERD_URI, &quot;http://ejabberd.jabber.ru&quot;).</diff>
      <filename>src/ejabberd.hrl</filename>
    </modified>
    <modified>
      <diff>@@ -34,6 +34,7 @@
 -define(NS_PUBSUB_OWNER, &quot;http://jabber.org/protocol/pubsub#owner&quot;).
 -define(NS_PUBSUB_NMI,   &quot;http://jabber.org/protocol/pubsub#node-meta-info&quot;).
 -define(NS_COMMANDS,     &quot;http://jabber.org/protocol/commands&quot;).
+-define(NS_BYTESTREAMS,  &quot;http://jabber.org/protocol/bytestreams&quot;).
 
 -define(NS_EJABBERD_CONFIG, &quot;ejabberd:config&quot;).
 </diff>
      <filename>src/jlib.hrl</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a2e693a9028df8d51465336912ade67edf373fc9</id>
    </parent>
  </parents>
  <author>
    <name>alexey</name>
    <email>alexey@1613c18e-e6f4-0310-972c-c3fad1d2be73</email>
  </author>
  <url>http://github.com/bjc/ejabberd/commit/55ed46f34969885be498a8111e9c4eac70ab7a4b</url>
  <id>55ed46f34969885be498a8111e9c4eac70ab7a4b</id>
  <committed-date>2006-10-27T19:04:55-07:00</committed-date>
  <authored-date>2006-10-27T19:04:55-07:00</authored-date>
  <message>	* src/mod_proxy65/: XEP-0065 proxy (thanks to Evgeniy Khramtsov)
	* src/Makefile.win32: Likewise
	* src/Makefile.in: Likewise
	* src/configure.ac: Likewise
	* src/jlib.hrl: Likewise
	* src/ejabberd.hrl: Added the ejabberd URL


git-svn-id: https://svn.process-one.net/ejabberd/trunk@666 1613c18e-e6f4-0310-972c-c3fad1d2be73</message>
  <tree>ba99dd1ff8b260166e912e02e39937151f5dadb1</tree>
  <committer>
    <name>alexey</name>
    <email>alexey@1613c18e-e6f4-0310-972c-c3fad1d2be73</email>
  </committer>
</commit>
