<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>README.pkg-config</filename>
    </added>
    <added>
      <filename>yaws.pc.in</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -3,6 +3,7 @@ SUBDIRS	=	c_src src man www/shopingcart www/code doc scripts
 include ./include.mk
 include ./vsn.mk
 
+PKGCONFIG_FILES = yaws.pc
 
 all debug clean:	
 	@set -e ; \
@@ -17,7 +18,9 @@ install:	all
 	set -e ; \
 	for d in $(SUBDIRS) ; do \
 	    if [ -f $$d/Makefile ]; then ( cd $$d &amp;&amp; $(MAKE) $@ ) || exit 1 ; fi ; \
-	  done
+	done
+	$(INSTALL) -d $(DESTDIR)$(PREFIX)/lib/pkgconfig
+	$(INSTALL) -m 644 $(PKGCONFIG_FILES) $(DESTDIR)$(PREFIX)/lib/pkgconfig
 	@echo &quot;-------------------------------&quot;
 	@echo
 	@echo &quot;** etc files went into        ${ETCDIR}&quot;	</diff>
      <filename>Makefile</filename>
    </modified>
    <modified>
      <diff>@@ -673,7 +673,8 @@ WIN32
 HAVE_SENDFILE
 YTOP
 LIBOBJS
-LTLIBOBJS'
+LTLIBOBJS
+YAWS_VSN'
 ac_subst_files=''
       ac_precious_vars='build_alias
 host_alias
@@ -7144,3 +7145,1113 @@ if test &quot;$no_create&quot; != yes; then
   $ac_cs_success || { (exit 1); exit 1; }
 fi
 
+
+. ./vsn.mk
+
+ac_config_files=&quot;$ac_config_files yaws.pc&quot;
+
+cat &gt;confcache &lt;&lt;\_ACEOF
+# This file is a shell script that caches the results of configure
+# tests run on this system so they can be shared between configure
+# scripts and configure runs, see configure's option --config-cache.
+# It is not useful on other systems.  If it contains results you don't
+# want to keep, you may remove or edit it.
+#
+# config.status only pays attention to the cache file if you give it
+# the --recheck option to rerun configure.
+#
+# `ac_cv_env_foo' variables (set or unset) will be overridden when
+# loading this file, other *unset* `ac_cv_foo' will be assigned the
+# following values.
+
+_ACEOF
+
+# The following way of writing the cache mishandles newlines in values,
+# but we know of no workaround that is simple, portable, and efficient.
+# So, we kill variables containing newlines.
+# 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=\ *)
+      # `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;
+      ;;
+    esac |
+    sort
+) |
+  sed '
+     /^ac_cv_env_/b end
+     t 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;}
+    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;}
+  fi
+fi
+rm -f confcache
+
+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}'
+
+# Transform confdefs.h into DEFS.
+# Protect against shell expansion while executing Makefile rules.
+# Protect against Makefile macro expansion.
+#
+# If the first sed substitution is executed (which looks for macros that
+# take arguments), then branch to the quote section.  Otherwise,
+# look for a macro that doesn't take arguments.
+ac_script='
+t clear
+:clear
+s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
+t quote
+s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
+t quote
+b any
+:quote
+s/[	 `~#$^&amp;*(){}\\|;'\''&quot;&lt;&gt;?]/\\&amp;/g
+s/\[/\\&amp;/g
+s/\]/\\&amp;/g
+s/\$/$$/g
+H
+:any
+${
+	g
+	s/^\n//
+	s/\n/ /g
+	p
+}
+'
+DEFS=`sed -n &quot;$ac_script&quot; confdefs.h`
+
+
+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'
+done
+LIBOBJS=$ac_libobjs
+
+LTLIBOBJS=$ac_ltlibobjs
+
+
+
+: ${CONFIG_STATUS=./config.status}
+ac_clean_files_save=$ac_clean_files
+ac_clean_files=&quot;$ac_clean_files $CONFIG_STATUS&quot;
+{ echo &quot;$as_me:$LINENO: creating $CONFIG_STATUS&quot; &gt;&amp;5
+echo &quot;$as_me: creating $CONFIG_STATUS&quot; &gt;&amp;6;}
+cat &gt;$CONFIG_STATUS &lt;&lt;_ACEOF
+#! $SHELL
+# Generated by $as_me.
+# Run this file to recreate the current configuration.
+# Compiler output produced by configure, useful for debugging
+# configure, is in config.log if it exists.
+
+debug=false
+ac_cs_recheck=false
+ac_cs_silent=false
+SHELL=\${CONFIG_SHELL-$SHELL}
+_ACEOF
+
+cat &gt;&gt;$CONFIG_STATUS &lt;&lt;\_ACEOF
+## --------------------- ##
+## M4sh Initialization.  ##
+## --------------------- ##
+
+# Be more Bourne compatible
+DUALCASE=1; export DUALCASE # for MKS sh
+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
+
+
+
+
+# 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
+else
+  as_unset=false
+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
+PS1='$ '
+PS2='&gt; '
+PS4='+ '
+
+# NLS nuisances.
+for as_var in \
+  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
+  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
+  LC_TELEPHONE LC_TIME
+do
+  if (set +x; test -z &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
+  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
+  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
+  as_basename=basename
+else
+  as_basename=false
+fi
+
+
+# Name of the executable.
+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 ||
+echo X/&quot;$0&quot; |
+    sed '/^.*\/\([^/][^/]*\)\/*$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\/\(\/\/\)$/{
+	    s//\1/
+	    q
+	  }
+	  /^X\/\(\/\).*/{
+	    s//\1/
+	    q
+	  }
+	  s/.*/./; q'`
+
+# CDPATH.
+$as_unset CDPATH
+
+
+
+  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; || {
+
+  # 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.
+  # (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 |
+    sed '
+      s/[$]LINENO.*/&amp;-/
+      t lineno
+      b
+      :lineno
+      N
+      :loop
+      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
+      t loop
+      s/-\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
+   { (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;
+  # Exit status is that of the last command.
+  exit
+}
+
+
+if (as_dir=`dirname -- /` &amp;&amp; test &quot;X$as_dir&quot; = X/) &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';;
+esac
+
+if expr a : '\(a\)' &gt;/dev/null 2&gt;&amp;1 &amp;&amp;
+   test &quot;X`expr 00001 : '.*\(...\)'`&quot; = X001; 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 ||
+    as_ln_s='cp -p'
+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
+
+if mkdir -p . 2&gt;/dev/null; then
+  as_mkdir_p=:
+else
+  test -d ./-p &amp;&amp; rmdir ./-p
+  as_mkdir_p=false
+fi
+
+if test -x / &gt;/dev/null 2&gt;&amp;1; then
+  as_test_x='test -x'
+else
+  if ls -dL / &gt;/dev/null 2&gt;&amp;1; then
+    as_ls_L_option=L
+  else
+    as_ls_L_option=
+  fi
+  as_test_x='
+    eval sh -c '\''
+      if test -d &quot;$1&quot;; then
+        test -d &quot;$1/.&quot;;
+      else
+	case $1 in
+        -*)set &quot;./$1&quot;;;
+	esac;
+	case `ls -ld'$as_ls_L_option' &quot;$1&quot; 2&gt;/dev/null` in
+	???[sx]*):;;*)false;;esac;fi
+    '\'' sh
+  '
+fi
+as_executable_p=$as_test_x
+
+# 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;
+
+# Sed expression to map a string onto a valid variable name.
+as_tr_sh=&quot;eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'&quot;
+
+
+exec 6&gt;&amp;1
+
+# Save the log message, 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;
+This file was extended by $as_me, which was
+generated by GNU Autoconf 2.61.  Invocation command line was
+
+  CONFIG_FILES    = $CONFIG_FILES
+  CONFIG_HEADERS  = $CONFIG_HEADERS
+  CONFIG_LINKS    = $CONFIG_LINKS
+  CONFIG_COMMANDS = $CONFIG_COMMANDS
+  $ $0 $@
+
+on `(hostname || uname -n) 2&gt;/dev/null | sed 1q`
+&quot;
+
+_ACEOF
+
+cat &gt;&gt;$CONFIG_STATUS &lt;&lt;_ACEOF
+# Files that config.status was made for.
+config_files=&quot;$ac_config_files&quot;
+
+_ACEOF
+
+cat &gt;&gt;$CONFIG_STATUS &lt;&lt;\_ACEOF
+ac_cs_usage=&quot;\
+\`$as_me' instantiates files from templates according to the
+current configuration.
+
+Usage: $0 [OPTIONS] [FILE]...
+
+  -h, --help       print this help, then exit
+  -V, --version    print version number and configuration settings, then exit
+  -q, --quiet      do not print progress messages
+  -d, --debug      don't remove temporary files
+      --recheck    update $as_me by reconfiguring in the same conditions
+  --file=FILE[:TEMPLATE]
+		   instantiate the configuration file FILE
+
+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;\\
+config.status
+configured by $0, generated by GNU Autoconf 2.61,
+  with options \\&quot;`echo &quot;$ac_configure_args&quot; | sed 's/^ //; s/[\\&quot;&quot;\`\$]/\\\\&amp;/g'`\\&quot;
+
+Copyright (C) 2006 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'
+INSTALL='$INSTALL'
+_ACEOF
+
+cat &gt;&gt;$CONFIG_STATUS &lt;&lt;\_ACEOF
+# If no file are specified by the user, then we need to provide default
+# value.  By we need to know if files were specified by the user.
+ac_need_defaults=:
+while test $# != 0
+do
+  case $1 in
+  --*=*)
+    ac_option=`expr &quot;X$1&quot; : 'X\([^=]*\)='`
+    ac_optarg=`expr &quot;X$1&quot; : 'X[^=]*=\(.*\)'`
+    ac_shift=:
+    ;;
+  *)
+    ac_option=$1
+    ac_optarg=$2
+    ac_shift=shift
+    ;;
+  esac
+
+  case $ac_option in
+  # Handling of the options.
+  -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 )
+    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 ;;
+  -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
+   { (exit 1); exit 1; }; } ;;
+
+  *) ac_config_targets=&quot;$ac_config_targets $1&quot;
+     ac_need_defaults=false ;;
+
+  esac
+  shift
+done
+
+ac_configure_extra_args=
+
+if $ac_cs_silent; then
+  exec 6&gt;/dev/null
+  ac_configure_extra_args=&quot;$ac_configure_extra_args --silent&quot;
+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
+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.
+for ac_config_target in $ac_config_targets
+do
+  case $ac_config_target in
+    &quot;include.mk&quot;) CONFIG_FILES=&quot;$CONFIG_FILES include.mk&quot; ;;
+    &quot;test/support/include.mk&quot;) CONFIG_FILES=&quot;$CONFIG_FILES test/support/include.mk&quot; ;;
+    &quot;test/support/include.sh&quot;) CONFIG_FILES=&quot;$CONFIG_FILES test/support/include.sh&quot; ;;
+    &quot;yaws.pc&quot;) CONFIG_FILES=&quot;$CONFIG_FILES yaws.pc&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
+# bizarre bug on SunOS 4.1.3.
+if $ac_need_defaults; then
+  test &quot;${CONFIG_FILES+set}&quot; = set || CONFIG_FILES=$config_files
+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,
+# 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'.
+$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 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;
+  test -n &quot;$tmp&quot; &amp;&amp; test -d &quot;$tmp&quot;
+}  ||
+{
+  tmp=./conf$$-$RANDOM
+  (umask 077 &amp;&amp; mkdir &quot;$tmp&quot;)
+} ||
+{
+   echo &quot;$me: cannot create a temporary directory in .&quot; &gt;&amp;2
+   { (exit 1); exit 1; }
+}
+
+#
+# Set up the sed scripts for 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
+
+
+
+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
+build!$build$ac_delim
+build_cpu!$build_cpu$ac_delim
+build_vendor!$build_vendor$ac_delim
+build_os!$build_os$ac_delim
+host!$host$ac_delim
+host_cpu!$host_cpu$ac_delim
+host_vendor!$host_vendor$ac_delim
+host_os!$host_os$ac_delim
+target!$target$ac_delim
+target_cpu!$target_cpu$ac_delim
+target_vendor!$target_vendor$ac_delim
+target_os!$target_os$ac_delim
+ERL!$ERL$ac_delim
+ERLC!$ERLC$ac_delim
+ERLBINDIR!$ERLBINDIR$ac_delim
+DEFAULT_CHARSET!$DEFAULT_CHARSET$ac_delim
+EXTRAINCLUDE!$EXTRAINCLUDE$ac_delim
+EPAM!$EPAM$ac_delim
+ERL_DLL_LIB!$ERL_DLL_LIB$ac_delim
+ERLDIR!$ERLDIR$ac_delim
+ERTS_VSN!$ERTS_VSN$ac_delim
+KERNEL_VSN!$KERNEL_VSN$ac_delim
+STDLIB_VSN!$STDLIB_VSN$ac_delim
+SASL_VSN!$SASL_VSN$ac_delim
+MNESIA_VSN!$MNESIA_VSN$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
+CPP!$CPP$ac_delim
+GREP!$GREP$ac_delim
+EGREP!$EGREP$ac_delim
+EXE!$EXE$ac_delim
+DLL!$DLL$ac_delim
+OBJ!$OBJ$ac_delim
+LINKER!$LINKER$ac_delim
+OUT!$OUT$ac_delim
+DLL_LIBS!$DLL_LIBS$ac_delim
+SET_MAKE!$SET_MAKE$ac_delim
+INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
+INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
+INSTALL_DATA!$INSTALL_DATA$ac_delim
+DVILATEX!$DVILATEX$ac_delim
+DVIPS!$DVIPS$ac_delim
+PDFLATEX!$PDFLATEX$ac_delim
+EPSTOPDF!$EPSTOPDF$ac_delim
+COND_DVILATEX!$COND_DVILATEX$ac_delim
+COND_PDFLATEX!$COND_PDFLATEX$ac_delim
+LD_SHARED!$LD_SHARED$ac_delim
+FPIC!$FPIC$ac_delim
+BSDI!$BSDI$ac_delim
+WERL!$WERL$ac_delim
+WIN32!$WIN32$ac_delim
+HAVE_SENDFILE!$HAVE_SENDFILE$ac_delim
+YTOP!$YTOP$ac_delim
+LIBOBJS!$LIBOBJS$ac_delim
+LTLIBOBJS!$LTLIBOBJS$ac_delim
+_ACEOF
+
+  if test `sed -n &quot;s/.*$ac_delim\$/X/p&quot; conf$$subs.sed | grep -c X` = 97; 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;
+  fi
+done
+
+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
+if test -n &quot;$ac_eof&quot;; then
+  ac_eof=`echo &quot;$ac_eof&quot; | sort -nru | sed 1q`
+  ac_eof=`expr $ac_eof + 1`
+fi
+
+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
+_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
+CEOF$ac_eof
+_ACEOF
+
+
+ac_delim='%!_!# '
+for ac_last_try in false false false false false :; do
+  cat &gt;conf$$subs.sed &lt;&lt;_ACEOF
+YAWS_VSN!$YAWS_VSN$ac_delim
+_ACEOF
+
+  if test `sed -n &quot;s/.*$ac_delim\$/X/p&quot; conf$$subs.sed | grep -c X` = 1; 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;
+  fi
+done
+
+ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
+if test -n &quot;$ac_eof&quot;; then
+  ac_eof=`echo &quot;$ac_eof&quot; | sort -nru | sed 1q`
+  ac_eof=`expr $ac_eof + 1`
+fi
+
+cat &gt;&gt;$CONFIG_STATUS &lt;&lt;_ACEOF
+cat &gt;&quot;\$tmp/subs-2.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
+    ;;
+  esac
+
+  ac_dir=`$as_dirname -- &quot;$ac_file&quot; ||
+$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 ||
+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;; } || {
+    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; ||
+$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 ||
+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
+    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;}
+   { (exit 1); exit 1; }; }; }
+  ac_builddir=.
+
+case &quot;$ac_dir&quot; in
+.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
+*)
+  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
+
+case $srcdir in
+  .)  # We are building in place.
+    ac_srcdir=.
+    ac_top_srcdir=$ac_top_builddir_sub
+    ac_abs_top_srcdir=$ac_pwd ;;
+  [\\/]* | ?:[\\/]* )  # Absolute name.
+    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 ;;
+esac
+ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
+
+
+  case $ac_mode in
+  :F)
+  #
+  # CONFIG_FILE
+  #
+
+  case $INSTALL in
+  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
+  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
+  esac
+_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=; ac_datarootdir_seen=
+
+case `sed -n '/datarootdir/ {
+  p
+  q
+}
+/@datadir@/p
+/@docdir@/p
+/@infodir@/p
+/@localedir@/p
+/@mandir@/p
+' $ac_file_inputs` in
+*datarootdir*) ac_datarootdir_seen=yes;;
+*@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
+_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
+_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
+s&amp;@INSTALL@&amp;$ac_INSTALL&amp;;t t
+$ac_datarootdir_hack
+&quot; $ac_file_inputs | sed -f &quot;$tmp/subs-1.sed&quot; | sed -f &quot;$tmp/subs-2.sed&quot; &gt;$tmp/out
+
+test -z &quot;$ac_datarootdir_hack$ac_datarootdir_seen&quot; &amp;&amp;
+  { ac_out=`sed -n '/\${datarootdir}/p' &quot;$tmp/out&quot;`; test -n &quot;$ac_out&quot;; } &amp;&amp;
+  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' &quot;$tmp/out&quot;`; test -z &quot;$ac_out&quot;; } &amp;&amp;
+  { echo &quot;$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined.  Please make sure it is defined.&quot; &gt;&amp;5
+echo &quot;$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
+which seems to be undefined.  Please make sure it is defined.&quot; &gt;&amp;2;}
+
+  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
+
+done # for ac_tag
+
+
+{ (exit 0); exit 0; }
+_ACEOF
+chmod +x $CONFIG_STATUS
+ac_clean_files=$ac_clean_files_save
+
+
+# configure is writing to config.log, and then calls config.status.
+# config.status does its own redirection, appending to config.log.
+# Unfortunately, on DOS this fails, as config.log is still kept open
+# by configure, so config.status won't be able to write to it; its
+# output is simply discarded.  So we exec the FD to /dev/null,
+# effectively closing config.log, so it can be properly (re)opened and
+# appended to by config.status.  When coming back to configure, we
+# need to make the FD available again.
+if test &quot;$no_create&quot; != yes; then
+  ac_cs_success=:
+  ac_config_status_args=
+  test &quot;$silent&quot; = yes &amp;&amp;
+    ac_config_status_args=&quot;$ac_config_status_args --quiet&quot;
+  exec 5&gt;/dev/null
+  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
+  exec 5&gt;&gt;config.log
+  # Use ||, not &amp;&amp;, to avoid exiting from the if with $? = 1, which
+  # would make configure fail if this is the last instruction.
+  $ac_cs_success || { (exit 1); exit 1; }
+fi
+</diff>
      <filename>configure</filename>
    </modified>
    <modified>
      <diff>@@ -195,7 +195,7 @@ AS_IF([test &quot;x$PDFLATEX&quot; = &quot;xno&quot; || test &quot;x$EPSTOPDF&quot; = &quot;xno&quot;],
 
 dnl Sigh, pam headers do not seem to have a standard place. On FreeBSD and
 dnl Linuces I've seen they are in /usr/include/security, but MacOS has them
-dnl in /usr/include/pam... I'm to sick of M4 at this very moment to write
+dnl in /usr/include/pam... I'm too sick of M4 at this very moment to write
 dnl a test that searches for the files, so hard coded for now...
 dnl or use --with-extrainclude=....
 CFLAGS=&quot;$CFLAGS -I/usr/include/security&quot;
@@ -268,3 +268,8 @@ AC_SUBST(YTOP)
 AC_OUTPUT(include.mk)
 AC_OUTPUT(test/support/include.mk)
 AC_OUTPUT(test/support/include.sh)
+
+dnl pkg-config support
+. ./vsn.mk
+AC_SUBST(YAWS_VSN)
+AC_OUTPUT(yaws.pc)</diff>
      <filename>configure.in</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>64260b905060049ba67e10a866d137b2f81632b6</id>
    </parent>
  </parents>
  <author>
    <name>Steve Vinoski</name>
    <email>vinoski@ieee.org</email>
  </author>
  <url>http://github.com/klacke/yaws/commit/47c0c70211344857ea003ccb6f88d34e5b7ddfc2</url>
  <id>47c0c70211344857ea003ccb6f88d34e5b7ddfc2</id>
  <committed-date>2009-01-29T15:29:48-08:00</committed-date>
  <authored-date>2009-01-29T15:29:48-08:00</authored-date>
  <message>add pkg-config support contributed by Olivier Girondel

git-svn-id: https://erlyaws.svn.sourceforge.net/svnroot/erlyaws/trunk/yaws@1377 9fbdc01b-0d2c-0410-bfb7-fb27d70d8b52</message>
  <tree>3052afd0d9591aaffc593efef3ef75613fe41285</tree>
  <committer>
    <name>Steve Vinoski</name>
    <email>vinoski@ieee.org</email>
  </committer>
</commit>
