1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.66 for courier-doc 0.10.
4#
5# Report bugs to <courier-users@lists.sourceforge.net>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94case $0 in #((
95  *[\\/]* ) as_myself=$0 ;;
96  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97for as_dir in $PATH
98do
99  IFS=$as_save_IFS
100  test -z "$as_dir" && as_dir=.
101    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102  done
103IFS=$as_save_IFS
104
105     ;;
106esac
107# We did not find ourselves, most probably we were run as `sh COMMAND'
108# in which case we are not to be found in the path.
109if test "x$as_myself" = x; then
110  as_myself=$0
111fi
112if test ! -f "$as_myself"; then
113  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114  exit 1
115fi
116
117# Unset variables that we do not need and which cause bugs (e.g. in
118# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
119# suppresses any "Segmentation fault" message there.  '((' could
120# trigger a bug in pdksh 5.2.14.
121for as_var in BASH_ENV ENV MAIL MAILPATH
122do eval test x\${$as_var+set} = xset \
123  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124done
125PS1='$ '
126PS2='> '
127PS4='+ '
128
129# NLS nuisances.
130LC_ALL=C
131export LC_ALL
132LANGUAGE=C
133export LANGUAGE
134
135# CDPATH.
136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138if test "x$CONFIG_SHELL" = x; then
139  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140  emulate sh
141  NULLCMD=:
142  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143  # is contrary to our usage.  Disable this feature.
144  alias -g '\${1+\"\$@\"}'='\"\$@\"'
145  setopt NO_GLOB_SUBST
146else
147  case \`(set -o) 2>/dev/null\` in #(
148  *posix*) :
149    set -o posix ;; #(
150  *) :
151     ;;
152esac
153fi
154"
155  as_required="as_fn_return () { (exit \$1); }
156as_fn_success () { as_fn_return 0; }
157as_fn_failure () { as_fn_return 1; }
158as_fn_ret_success () { return 0; }
159as_fn_ret_failure () { return 1; }
160
161exitcode=0
162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168else
169  exitcode=1; echo positional parameters were not saved.
170fi
171test x\$exitcode = x0 || exit 1"
172  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
176  if (eval "$as_required") 2>/dev/null; then :
177  as_have_required=yes
178else
179  as_have_required=no
180fi
181  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
183else
184  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185as_found=false
186for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187do
188  IFS=$as_save_IFS
189  test -z "$as_dir" && as_dir=.
190  as_found=:
191  case $as_dir in #(
192	 /*)
193	   for as_base in sh bash ksh sh5; do
194	     # Try only shells that exist, to save several forks.
195	     as_shell=$as_dir/$as_base
196	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198  CONFIG_SHELL=$as_shell as_have_required=yes
199		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200  break 2
201fi
202fi
203	   done;;
204       esac
205  as_found=false
206done
207$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209  CONFIG_SHELL=$SHELL as_have_required=yes
210fi; }
211IFS=$as_save_IFS
212
213
214      if test "x$CONFIG_SHELL" != x; then :
215  # We cannot yet assume a decent shell, so we have to provide a
216	# neutralization value for shells without unset; and this also
217	# works around shells that cannot unset nonexistent variables.
218	BASH_ENV=/dev/null
219	ENV=/dev/null
220	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221	export CONFIG_SHELL
222	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223fi
224
225    if test x$as_have_required = xno; then :
226  $as_echo "$0: This script requires a shell more modern than all"
227  $as_echo "$0: the shells that I found on your system."
228  if test x${ZSH_VERSION+set} = xset ; then
229    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231  else
232    $as_echo "$0: Please tell bug-autoconf@gnu.org and
233$0: courier-users@lists.sourceforge.net about your system,
234$0: including any error possibly output before this
235$0: message. Then install a modern shell, or manually run
236$0: the script under such a shell if you do have one."
237  fi
238  exit 1
239fi
240fi
241fi
242SHELL=${CONFIG_SHELL-/bin/sh}
243export SHELL
244# Unset more variables known to interfere with behavior of common tools.
245CLICOLOR_FORCE= GREP_OPTIONS=
246unset CLICOLOR_FORCE GREP_OPTIONS
247
248## --------------------- ##
249## M4sh Shell Functions. ##
250## --------------------- ##
251# as_fn_unset VAR
252# ---------------
253# Portably unset VAR.
254as_fn_unset ()
255{
256  { eval $1=; unset $1;}
257}
258as_unset=as_fn_unset
259
260# as_fn_set_status STATUS
261# -----------------------
262# Set $? to STATUS, without forking.
263as_fn_set_status ()
264{
265  return $1
266} # as_fn_set_status
267
268# as_fn_exit STATUS
269# -----------------
270# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
271as_fn_exit ()
272{
273  set +e
274  as_fn_set_status $1
275  exit $1
276} # as_fn_exit
277
278# as_fn_mkdir_p
279# -------------
280# Create "$as_dir" as a directory, including parents if necessary.
281as_fn_mkdir_p ()
282{
283
284  case $as_dir in #(
285  -*) as_dir=./$as_dir;;
286  esac
287  test -d "$as_dir" || eval $as_mkdir_p || {
288    as_dirs=
289    while :; do
290      case $as_dir in #(
291      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292      *) as_qdir=$as_dir;;
293      esac
294      as_dirs="'$as_qdir' $as_dirs"
295      as_dir=`$as_dirname -- "$as_dir" ||
296$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297	 X"$as_dir" : 'X\(//\)[^/]' \| \
298	 X"$as_dir" : 'X\(//\)$' \| \
299	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300$as_echo X"$as_dir" |
301    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
302	    s//\1/
303	    q
304	  }
305	  /^X\(\/\/\)[^/].*/{
306	    s//\1/
307	    q
308	  }
309	  /^X\(\/\/\)$/{
310	    s//\1/
311	    q
312	  }
313	  /^X\(\/\).*/{
314	    s//\1/
315	    q
316	  }
317	  s/.*/./; q'`
318      test -d "$as_dir" && break
319    done
320    test -z "$as_dirs" || eval "mkdir $as_dirs"
321  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
322
323
324} # as_fn_mkdir_p
325# as_fn_append VAR VALUE
326# ----------------------
327# Append the text in VALUE to the end of the definition contained in VAR. Take
328# advantage of any shell optimizations that allow amortized linear growth over
329# repeated appends, instead of the typical quadratic growth present in naive
330# implementations.
331if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332  eval 'as_fn_append ()
333  {
334    eval $1+=\$2
335  }'
336else
337  as_fn_append ()
338  {
339    eval $1=\$$1\$2
340  }
341fi # as_fn_append
342
343# as_fn_arith ARG...
344# ------------------
345# Perform arithmetic evaluation on the ARGs, and store the result in the
346# global $as_val. Take advantage of shells that can avoid forks. The arguments
347# must be portable across $(()) and expr.
348if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
349  eval 'as_fn_arith ()
350  {
351    as_val=$(( $* ))
352  }'
353else
354  as_fn_arith ()
355  {
356    as_val=`expr "$@" || test $? -eq 1`
357  }
358fi # as_fn_arith
359
360
361# as_fn_error STATUS ERROR [LINENO LOG_FD]
362# ----------------------------------------
363# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365# script with STATUS, using 1 if that was 0.
366as_fn_error ()
367{
368  as_status=$1; test $as_status -eq 0 && as_status=1
369  if test "$4"; then
370    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
372  fi
373  $as_echo "$as_me: error: $2" >&2
374  as_fn_exit $as_status
375} # as_fn_error
376
377if expr a : '\(a\)' >/dev/null 2>&1 &&
378   test "X`expr 00001 : '.*\(...\)'`" = X001; then
379  as_expr=expr
380else
381  as_expr=false
382fi
383
384if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
385  as_basename=basename
386else
387  as_basename=false
388fi
389
390if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
391  as_dirname=dirname
392else
393  as_dirname=false
394fi
395
396as_me=`$as_basename -- "$0" ||
397$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398	 X"$0" : 'X\(//\)$' \| \
399	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
400$as_echo X/"$0" |
401    sed '/^.*\/\([^/][^/]*\)\/*$/{
402	    s//\1/
403	    q
404	  }
405	  /^X\/\(\/\/\)$/{
406	    s//\1/
407	    q
408	  }
409	  /^X\/\(\/\).*/{
410	    s//\1/
411	    q
412	  }
413	  s/.*/./; q'`
414
415# Avoid depending upon Character Ranges.
416as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419as_cr_digits='0123456789'
420as_cr_alnum=$as_cr_Letters$as_cr_digits
421
422
423  as_lineno_1=$LINENO as_lineno_1a=$LINENO
424  as_lineno_2=$LINENO as_lineno_2a=$LINENO
425  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
428  sed -n '
429    p
430    /[$]LINENO/=
431  ' <$as_myself |
432    sed '
433      s/[$]LINENO.*/&-/
434      t lineno
435      b
436      :lineno
437      N
438      :loop
439      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
440      t loop
441      s/-\n.*//
442    ' >$as_me.lineno &&
443  chmod +x "$as_me.lineno" ||
444    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
445
446  # Don't try to exec as it changes $[0], causing all sort of problems
447  # (the dirname of $[0] is not the place where we might find the
448  # original and so on.  Autoconf is especially sensitive to this).
449  . "./$as_me.lineno"
450  # Exit status is that of the last command.
451  exit
452}
453
454ECHO_C= ECHO_N= ECHO_T=
455case `echo -n x` in #(((((
456-n*)
457  case `echo 'xy\c'` in
458  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
459  xy)  ECHO_C='\c';;
460  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
461       ECHO_T='	';;
462  esac;;
463*)
464  ECHO_N='-n';;
465esac
466
467rm -f conf$$ conf$$.exe conf$$.file
468if test -d conf$$.dir; then
469  rm -f conf$$.dir/conf$$.file
470else
471  rm -f conf$$.dir
472  mkdir conf$$.dir 2>/dev/null
473fi
474if (echo >conf$$.file) 2>/dev/null; then
475  if ln -s conf$$.file conf$$ 2>/dev/null; then
476    as_ln_s='ln -s'
477    # ... but there are two gotchas:
478    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
479    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
480    # In both cases, we have to default to `cp -p'.
481    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
482      as_ln_s='cp -p'
483  elif ln conf$$.file conf$$ 2>/dev/null; then
484    as_ln_s=ln
485  else
486    as_ln_s='cp -p'
487  fi
488else
489  as_ln_s='cp -p'
490fi
491rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
492rmdir conf$$.dir 2>/dev/null
493
494if mkdir -p . 2>/dev/null; then
495  as_mkdir_p='mkdir -p "$as_dir"'
496else
497  test -d ./-p && rmdir ./-p
498  as_mkdir_p=false
499fi
500
501if test -x / >/dev/null 2>&1; then
502  as_test_x='test -x'
503else
504  if ls -dL / >/dev/null 2>&1; then
505    as_ls_L_option=L
506  else
507    as_ls_L_option=
508  fi
509  as_test_x='
510    eval sh -c '\''
511      if test -d "$1"; then
512	test -d "$1/.";
513      else
514	case $1 in #(
515	-*)set "./$1";;
516	esac;
517	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
518	???[sx]*):;;*)false;;esac;fi
519    '\'' sh
520  '
521fi
522as_executable_p=$as_test_x
523
524# Sed expression to map a string onto a valid CPP name.
525as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
526
527# Sed expression to map a string onto a valid variable name.
528as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529
530
531test -n "$DJDIR" || exec 7<&0 </dev/null
532exec 6>&1
533
534# Name of the host.
535# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
536# so uname gets run too.
537ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
538
539#
540# Initializations.
541#
542ac_default_prefix=/usr/local
543ac_clean_files=
544ac_config_libobj_dir=.
545LIBOBJS=
546cross_compiling=no
547subdirs=
548MFLAGS=
549MAKEFLAGS=
550
551# Identity of this package.
552PACKAGE_NAME='courier-doc'
553PACKAGE_TARNAME='courier-doc'
554PACKAGE_VERSION='0.10'
555PACKAGE_STRING='courier-doc 0.10'
556PACKAGE_BUGREPORT='courier-users@lists.sourceforge.net'
557PACKAGE_URL=''
558
559ac_unique_file="index.html"
560ac_subst_vars='LTLIBOBJS
561LIBOBJS
562HAVE_SGML_FALSE
563HAVE_SGML_TRUE
564LN_S
565PERL
566extension
567version
568mailgroup
569mailuser
570am__untar
571am__tar
572AMTAR
573am__leading_dot
574SET_MAKE
575AWK
576mkdir_p
577MKDIR_P
578INSTALL_STRIP_PROGRAM
579STRIP
580install_sh
581MAKEINFO
582AUTOHEADER
583AUTOMAKE
584AUTOCONF
585ACLOCAL
586VERSION
587PACKAGE
588CYGPATH_W
589am__isrc
590INSTALL_DATA
591INSTALL_SCRIPT
592INSTALL_PROGRAM
593target_alias
594host_alias
595build_alias
596LIBS
597ECHO_T
598ECHO_N
599ECHO_C
600DEFS
601mandir
602localedir
603libdir
604psdir
605pdfdir
606dvidir
607htmldir
608infodir
609docdir
610oldincludedir
611includedir
612localstatedir
613sharedstatedir
614sysconfdir
615datadir
616datarootdir
617libexecdir
618sbindir
619bindir
620program_transform_name
621prefix
622exec_prefix
623PACKAGE_URL
624PACKAGE_BUGREPORT
625PACKAGE_STRING
626PACKAGE_VERSION
627PACKAGE_TARNAME
628PACKAGE_NAME
629PATH_SEPARATOR
630SHELL'
631ac_subst_files=''
632ac_user_opts='
633enable_option_checking
634with_mailuser
635with_mailgroup
636with_extension
637'
638      ac_precious_vars='build_alias
639host_alias
640target_alias'
641
642
643# Initialize some variables set by options.
644ac_init_help=
645ac_init_version=false
646ac_unrecognized_opts=
647ac_unrecognized_sep=
648# The variables have the same names as the options, with
649# dashes changed to underlines.
650cache_file=/dev/null
651exec_prefix=NONE
652no_create=
653no_recursion=
654prefix=NONE
655program_prefix=NONE
656program_suffix=NONE
657program_transform_name=s,x,x,
658silent=
659site=
660srcdir=
661verbose=
662x_includes=NONE
663x_libraries=NONE
664
665# Installation directory options.
666# These are left unexpanded so users can "make install exec_prefix=/foo"
667# and all the variables that are supposed to be based on exec_prefix
668# by default will actually change.
669# Use braces instead of parens because sh, perl, etc. also accept them.
670# (The list follows the same order as the GNU Coding Standards.)
671bindir='${exec_prefix}/bin'
672sbindir='${exec_prefix}/sbin'
673libexecdir='${exec_prefix}/libexec'
674datarootdir='${prefix}/share'
675datadir='${datarootdir}'
676sysconfdir='${prefix}/etc'
677sharedstatedir='${prefix}/com'
678localstatedir='${prefix}/var'
679includedir='${prefix}/include'
680oldincludedir='/usr/include'
681docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
682infodir='${datarootdir}/info'
683htmldir='${docdir}'
684dvidir='${docdir}'
685pdfdir='${docdir}'
686psdir='${docdir}'
687libdir='${exec_prefix}/lib'
688localedir='${datarootdir}/locale'
689mandir='${datarootdir}/man'
690
691ac_prev=
692ac_dashdash=
693for ac_option
694do
695  # If the previous option needs an argument, assign it.
696  if test -n "$ac_prev"; then
697    eval $ac_prev=\$ac_option
698    ac_prev=
699    continue
700  fi
701
702  case $ac_option in
703  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
704  *)	ac_optarg=yes ;;
705  esac
706
707  # Accept the important Cygnus configure options, so we can diagnose typos.
708
709  case $ac_dashdash$ac_option in
710  --)
711    ac_dashdash=yes ;;
712
713  -bindir | --bindir | --bindi | --bind | --bin | --bi)
714    ac_prev=bindir ;;
715  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
716    bindir=$ac_optarg ;;
717
718  -build | --build | --buil | --bui | --bu)
719    ac_prev=build_alias ;;
720  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
721    build_alias=$ac_optarg ;;
722
723  -cache-file | --cache-file | --cache-fil | --cache-fi \
724  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
725    ac_prev=cache_file ;;
726  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
727  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
728    cache_file=$ac_optarg ;;
729
730  --config-cache | -C)
731    cache_file=config.cache ;;
732
733  -datadir | --datadir | --datadi | --datad)
734    ac_prev=datadir ;;
735  -datadir=* | --datadir=* | --datadi=* | --datad=*)
736    datadir=$ac_optarg ;;
737
738  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
739  | --dataroo | --dataro | --datar)
740    ac_prev=datarootdir ;;
741  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
742  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
743    datarootdir=$ac_optarg ;;
744
745  -disable-* | --disable-*)
746    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
747    # Reject names that are not valid shell variable names.
748    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
749      as_fn_error $? "invalid feature name: $ac_useropt"
750    ac_useropt_orig=$ac_useropt
751    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
752    case $ac_user_opts in
753      *"
754"enable_$ac_useropt"
755"*) ;;
756      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
757	 ac_unrecognized_sep=', ';;
758    esac
759    eval enable_$ac_useropt=no ;;
760
761  -docdir | --docdir | --docdi | --doc | --do)
762    ac_prev=docdir ;;
763  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
764    docdir=$ac_optarg ;;
765
766  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
767    ac_prev=dvidir ;;
768  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
769    dvidir=$ac_optarg ;;
770
771  -enable-* | --enable-*)
772    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
773    # Reject names that are not valid shell variable names.
774    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
775      as_fn_error $? "invalid feature name: $ac_useropt"
776    ac_useropt_orig=$ac_useropt
777    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
778    case $ac_user_opts in
779      *"
780"enable_$ac_useropt"
781"*) ;;
782      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
783	 ac_unrecognized_sep=', ';;
784    esac
785    eval enable_$ac_useropt=\$ac_optarg ;;
786
787  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
788  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
789  | --exec | --exe | --ex)
790    ac_prev=exec_prefix ;;
791  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
792  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
793  | --exec=* | --exe=* | --ex=*)
794    exec_prefix=$ac_optarg ;;
795
796  -gas | --gas | --ga | --g)
797    # Obsolete; use --with-gas.
798    with_gas=yes ;;
799
800  -help | --help | --hel | --he | -h)
801    ac_init_help=long ;;
802  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
803    ac_init_help=recursive ;;
804  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
805    ac_init_help=short ;;
806
807  -host | --host | --hos | --ho)
808    ac_prev=host_alias ;;
809  -host=* | --host=* | --hos=* | --ho=*)
810    host_alias=$ac_optarg ;;
811
812  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
813    ac_prev=htmldir ;;
814  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
815  | --ht=*)
816    htmldir=$ac_optarg ;;
817
818  -includedir | --includedir | --includedi | --included | --include \
819  | --includ | --inclu | --incl | --inc)
820    ac_prev=includedir ;;
821  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
822  | --includ=* | --inclu=* | --incl=* | --inc=*)
823    includedir=$ac_optarg ;;
824
825  -infodir | --infodir | --infodi | --infod | --info | --inf)
826    ac_prev=infodir ;;
827  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
828    infodir=$ac_optarg ;;
829
830  -libdir | --libdir | --libdi | --libd)
831    ac_prev=libdir ;;
832  -libdir=* | --libdir=* | --libdi=* | --libd=*)
833    libdir=$ac_optarg ;;
834
835  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
836  | --libexe | --libex | --libe)
837    ac_prev=libexecdir ;;
838  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
839  | --libexe=* | --libex=* | --libe=*)
840    libexecdir=$ac_optarg ;;
841
842  -localedir | --localedir | --localedi | --localed | --locale)
843    ac_prev=localedir ;;
844  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
845    localedir=$ac_optarg ;;
846
847  -localstatedir | --localstatedir | --localstatedi | --localstated \
848  | --localstate | --localstat | --localsta | --localst | --locals)
849    ac_prev=localstatedir ;;
850  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
851  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
852    localstatedir=$ac_optarg ;;
853
854  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
855    ac_prev=mandir ;;
856  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
857    mandir=$ac_optarg ;;
858
859  -nfp | --nfp | --nf)
860    # Obsolete; use --without-fp.
861    with_fp=no ;;
862
863  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
864  | --no-cr | --no-c | -n)
865    no_create=yes ;;
866
867  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
868  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
869    no_recursion=yes ;;
870
871  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
872  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
873  | --oldin | --oldi | --old | --ol | --o)
874    ac_prev=oldincludedir ;;
875  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
876  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
877  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
878    oldincludedir=$ac_optarg ;;
879
880  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
881    ac_prev=prefix ;;
882  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
883    prefix=$ac_optarg ;;
884
885  -program-prefix | --program-prefix | --program-prefi | --program-pref \
886  | --program-pre | --program-pr | --program-p)
887    ac_prev=program_prefix ;;
888  -program-prefix=* | --program-prefix=* | --program-prefi=* \
889  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
890    program_prefix=$ac_optarg ;;
891
892  -program-suffix | --program-suffix | --program-suffi | --program-suff \
893  | --program-suf | --program-su | --program-s)
894    ac_prev=program_suffix ;;
895  -program-suffix=* | --program-suffix=* | --program-suffi=* \
896  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
897    program_suffix=$ac_optarg ;;
898
899  -program-transform-name | --program-transform-name \
900  | --program-transform-nam | --program-transform-na \
901  | --program-transform-n | --program-transform- \
902  | --program-transform | --program-transfor \
903  | --program-transfo | --program-transf \
904  | --program-trans | --program-tran \
905  | --progr-tra | --program-tr | --program-t)
906    ac_prev=program_transform_name ;;
907  -program-transform-name=* | --program-transform-name=* \
908  | --program-transform-nam=* | --program-transform-na=* \
909  | --program-transform-n=* | --program-transform-=* \
910  | --program-transform=* | --program-transfor=* \
911  | --program-transfo=* | --program-transf=* \
912  | --program-trans=* | --program-tran=* \
913  | --progr-tra=* | --program-tr=* | --program-t=*)
914    program_transform_name=$ac_optarg ;;
915
916  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
917    ac_prev=pdfdir ;;
918  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
919    pdfdir=$ac_optarg ;;
920
921  -psdir | --psdir | --psdi | --psd | --ps)
922    ac_prev=psdir ;;
923  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
924    psdir=$ac_optarg ;;
925
926  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
927  | -silent | --silent | --silen | --sile | --sil)
928    silent=yes ;;
929
930  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
931    ac_prev=sbindir ;;
932  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
933  | --sbi=* | --sb=*)
934    sbindir=$ac_optarg ;;
935
936  -sharedstatedir | --sharedstatedir | --sharedstatedi \
937  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
938  | --sharedst | --shareds | --shared | --share | --shar \
939  | --sha | --sh)
940    ac_prev=sharedstatedir ;;
941  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
942  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
943  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
944  | --sha=* | --sh=*)
945    sharedstatedir=$ac_optarg ;;
946
947  -site | --site | --sit)
948    ac_prev=site ;;
949  -site=* | --site=* | --sit=*)
950    site=$ac_optarg ;;
951
952  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
953    ac_prev=srcdir ;;
954  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
955    srcdir=$ac_optarg ;;
956
957  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
958  | --syscon | --sysco | --sysc | --sys | --sy)
959    ac_prev=sysconfdir ;;
960  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
961  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
962    sysconfdir=$ac_optarg ;;
963
964  -target | --target | --targe | --targ | --tar | --ta | --t)
965    ac_prev=target_alias ;;
966  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
967    target_alias=$ac_optarg ;;
968
969  -v | -verbose | --verbose | --verbos | --verbo | --verb)
970    verbose=yes ;;
971
972  -version | --version | --versio | --versi | --vers | -V)
973    ac_init_version=: ;;
974
975  -with-* | --with-*)
976    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
977    # Reject names that are not valid shell variable names.
978    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
979      as_fn_error $? "invalid package name: $ac_useropt"
980    ac_useropt_orig=$ac_useropt
981    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982    case $ac_user_opts in
983      *"
984"with_$ac_useropt"
985"*) ;;
986      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
987	 ac_unrecognized_sep=', ';;
988    esac
989    eval with_$ac_useropt=\$ac_optarg ;;
990
991  -without-* | --without-*)
992    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
993    # Reject names that are not valid shell variable names.
994    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
995      as_fn_error $? "invalid package name: $ac_useropt"
996    ac_useropt_orig=$ac_useropt
997    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
998    case $ac_user_opts in
999      *"
1000"with_$ac_useropt"
1001"*) ;;
1002      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1003	 ac_unrecognized_sep=', ';;
1004    esac
1005    eval with_$ac_useropt=no ;;
1006
1007  --x)
1008    # Obsolete; use --with-x.
1009    with_x=yes ;;
1010
1011  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1012  | --x-incl | --x-inc | --x-in | --x-i)
1013    ac_prev=x_includes ;;
1014  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1015  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1016    x_includes=$ac_optarg ;;
1017
1018  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1019  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1020    ac_prev=x_libraries ;;
1021  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1022  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1023    x_libraries=$ac_optarg ;;
1024
1025  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1026Try \`$0 --help' for more information"
1027    ;;
1028
1029  *=*)
1030    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1031    # Reject names that are not valid shell variable names.
1032    case $ac_envvar in #(
1033      '' | [0-9]* | *[!_$as_cr_alnum]* )
1034      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1035    esac
1036    eval $ac_envvar=\$ac_optarg
1037    export $ac_envvar ;;
1038
1039  *)
1040    # FIXME: should be removed in autoconf 3.0.
1041    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1042    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1043      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1044    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1045    ;;
1046
1047  esac
1048done
1049
1050if test -n "$ac_prev"; then
1051  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1052  as_fn_error $? "missing argument to $ac_option"
1053fi
1054
1055if test -n "$ac_unrecognized_opts"; then
1056  case $enable_option_checking in
1057    no) ;;
1058    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1059    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1060  esac
1061fi
1062
1063# Check all directory arguments for consistency.
1064for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1065		datadir sysconfdir sharedstatedir localstatedir includedir \
1066		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1067		libdir localedir mandir
1068do
1069  eval ac_val=\$$ac_var
1070  # Remove trailing slashes.
1071  case $ac_val in
1072    */ )
1073      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1074      eval $ac_var=\$ac_val;;
1075  esac
1076  # Be sure to have absolute directory names.
1077  case $ac_val in
1078    [\\/$]* | ?:[\\/]* )  continue;;
1079    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1080  esac
1081  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1082done
1083
1084# There might be people who depend on the old broken behavior: `$host'
1085# used to hold the argument of --host etc.
1086# FIXME: To remove some day.
1087build=$build_alias
1088host=$host_alias
1089target=$target_alias
1090
1091# FIXME: To remove some day.
1092if test "x$host_alias" != x; then
1093  if test "x$build_alias" = x; then
1094    cross_compiling=maybe
1095    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1096    If a cross compiler is detected then cross compile mode will be used" >&2
1097  elif test "x$build_alias" != "x$host_alias"; then
1098    cross_compiling=yes
1099  fi
1100fi
1101
1102ac_tool_prefix=
1103test -n "$host_alias" && ac_tool_prefix=$host_alias-
1104
1105test "$silent" = yes && exec 6>/dev/null
1106
1107
1108ac_pwd=`pwd` && test -n "$ac_pwd" &&
1109ac_ls_di=`ls -di .` &&
1110ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1111  as_fn_error $? "working directory cannot be determined"
1112test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1113  as_fn_error $? "pwd does not report name of working directory"
1114
1115
1116# Find the source files, if location was not specified.
1117if test -z "$srcdir"; then
1118  ac_srcdir_defaulted=yes
1119  # Try the directory containing this script, then the parent directory.
1120  ac_confdir=`$as_dirname -- "$as_myself" ||
1121$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1122	 X"$as_myself" : 'X\(//\)[^/]' \| \
1123	 X"$as_myself" : 'X\(//\)$' \| \
1124	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1125$as_echo X"$as_myself" |
1126    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1127	    s//\1/
1128	    q
1129	  }
1130	  /^X\(\/\/\)[^/].*/{
1131	    s//\1/
1132	    q
1133	  }
1134	  /^X\(\/\/\)$/{
1135	    s//\1/
1136	    q
1137	  }
1138	  /^X\(\/\).*/{
1139	    s//\1/
1140	    q
1141	  }
1142	  s/.*/./; q'`
1143  srcdir=$ac_confdir
1144  if test ! -r "$srcdir/$ac_unique_file"; then
1145    srcdir=..
1146  fi
1147else
1148  ac_srcdir_defaulted=no
1149fi
1150if test ! -r "$srcdir/$ac_unique_file"; then
1151  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1152  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1153fi
1154ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1155ac_abs_confdir=`(
1156	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1157	pwd)`
1158# When building in place, set srcdir=.
1159if test "$ac_abs_confdir" = "$ac_pwd"; then
1160  srcdir=.
1161fi
1162# Remove unnecessary trailing slashes from srcdir.
1163# Double slashes in file names in object file debugging info
1164# mess up M-x gdb in Emacs.
1165case $srcdir in
1166*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1167esac
1168for ac_var in $ac_precious_vars; do
1169  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1170  eval ac_env_${ac_var}_value=\$${ac_var}
1171  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1172  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1173done
1174
1175#
1176# Report the --help message.
1177#
1178if test "$ac_init_help" = "long"; then
1179  # Omit some internal or obsolete options to make the list less imposing.
1180  # This message is too long to be a string in the A/UX 3.1 sh.
1181  cat <<_ACEOF
1182\`configure' configures courier-doc 0.10 to adapt to many kinds of systems.
1183
1184Usage: $0 [OPTION]... [VAR=VALUE]...
1185
1186To assign environment variables (e.g., CC, CFLAGS...), specify them as
1187VAR=VALUE.  See below for descriptions of some of the useful variables.
1188
1189Defaults for the options are specified in brackets.
1190
1191Configuration:
1192  -h, --help              display this help and exit
1193      --help=short        display options specific to this package
1194      --help=recursive    display the short help of all the included packages
1195  -V, --version           display version information and exit
1196  -q, --quiet, --silent   do not print \`checking ...' messages
1197      --cache-file=FILE   cache test results in FILE [disabled]
1198  -C, --config-cache      alias for \`--cache-file=config.cache'
1199  -n, --no-create         do not create output files
1200      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1201
1202Installation directories:
1203  --prefix=PREFIX         install architecture-independent files in PREFIX
1204                          [$ac_default_prefix]
1205  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1206                          [PREFIX]
1207
1208By default, \`make install' will install all the files in
1209\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1210an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1211for instance \`--prefix=\$HOME'.
1212
1213For better control, use the options below.
1214
1215Fine tuning of the installation directories:
1216  --bindir=DIR            user executables [EPREFIX/bin]
1217  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1218  --libexecdir=DIR        program executables [EPREFIX/libexec]
1219  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1220  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1221  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1222  --libdir=DIR            object code libraries [EPREFIX/lib]
1223  --includedir=DIR        C header files [PREFIX/include]
1224  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1225  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1226  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1227  --infodir=DIR           info documentation [DATAROOTDIR/info]
1228  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1229  --mandir=DIR            man documentation [DATAROOTDIR/man]
1230  --docdir=DIR            documentation root [DATAROOTDIR/doc/courier-doc]
1231  --htmldir=DIR           html documentation [DOCDIR]
1232  --dvidir=DIR            dvi documentation [DOCDIR]
1233  --pdfdir=DIR            pdf documentation [DOCDIR]
1234  --psdir=DIR             ps documentation [DOCDIR]
1235_ACEOF
1236
1237  cat <<\_ACEOF
1238
1239Program names:
1240  --program-prefix=PREFIX            prepend PREFIX to installed program names
1241  --program-suffix=SUFFIX            append SUFFIX to installed program names
1242  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1243_ACEOF
1244fi
1245
1246if test -n "$ac_init_help"; then
1247  case $ac_init_help in
1248     short | recursive ) echo "Configuration of courier-doc 0.10:";;
1249   esac
1250  cat <<\_ACEOF
1251
1252Optional Packages:
1253  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1254  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1255--with-mailuser=user      Specify mail user name (defaults to mail)
1256--with-mailgroup=group    Specify mail group name (defaults to mail)
1257--with-extension=prefix     Read $HOME/.prefix and .prefix-foo
1258                            for delivery instructions
1259
1260Report bugs to <courier-users@lists.sourceforge.net>.
1261_ACEOF
1262ac_status=$?
1263fi
1264
1265if test "$ac_init_help" = "recursive"; then
1266  # If there are subdirs, report their specific --help.
1267  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1268    test -d "$ac_dir" ||
1269      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1270      continue
1271    ac_builddir=.
1272
1273case "$ac_dir" in
1274.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1275*)
1276  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1277  # A ".." for each directory in $ac_dir_suffix.
1278  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1279  case $ac_top_builddir_sub in
1280  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1281  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1282  esac ;;
1283esac
1284ac_abs_top_builddir=$ac_pwd
1285ac_abs_builddir=$ac_pwd$ac_dir_suffix
1286# for backward compatibility:
1287ac_top_builddir=$ac_top_build_prefix
1288
1289case $srcdir in
1290  .)  # We are building in place.
1291    ac_srcdir=.
1292    ac_top_srcdir=$ac_top_builddir_sub
1293    ac_abs_top_srcdir=$ac_pwd ;;
1294  [\\/]* | ?:[\\/]* )  # Absolute name.
1295    ac_srcdir=$srcdir$ac_dir_suffix;
1296    ac_top_srcdir=$srcdir
1297    ac_abs_top_srcdir=$srcdir ;;
1298  *) # Relative name.
1299    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1300    ac_top_srcdir=$ac_top_build_prefix$srcdir
1301    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1302esac
1303ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1304
1305    cd "$ac_dir" || { ac_status=$?; continue; }
1306    # Check for guested configure.
1307    if test -f "$ac_srcdir/configure.gnu"; then
1308      echo &&
1309      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1310    elif test -f "$ac_srcdir/configure"; then
1311      echo &&
1312      $SHELL "$ac_srcdir/configure" --help=recursive
1313    else
1314      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1315    fi || ac_status=$?
1316    cd "$ac_pwd" || { ac_status=$?; break; }
1317  done
1318fi
1319
1320test -n "$ac_init_help" && exit $ac_status
1321if $ac_init_version; then
1322  cat <<\_ACEOF
1323courier-doc configure 0.10
1324generated by GNU Autoconf 2.66
1325
1326Copyright (C) 2010 Free Software Foundation, Inc.
1327This configure script is free software; the Free Software Foundation
1328gives unlimited permission to copy, distribute and modify it.
1329_ACEOF
1330  exit
1331fi
1332
1333## ------------------------ ##
1334## Autoconf initialization. ##
1335## ------------------------ ##
1336cat >config.log <<_ACEOF
1337This file contains any messages produced by compilers while
1338running configure, to aid debugging if configure makes a mistake.
1339
1340It was created by courier-doc $as_me 0.10, which was
1341generated by GNU Autoconf 2.66.  Invocation command line was
1342
1343  $ $0 $@
1344
1345_ACEOF
1346exec 5>>config.log
1347{
1348cat <<_ASUNAME
1349## --------- ##
1350## Platform. ##
1351## --------- ##
1352
1353hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1354uname -m = `(uname -m) 2>/dev/null || echo unknown`
1355uname -r = `(uname -r) 2>/dev/null || echo unknown`
1356uname -s = `(uname -s) 2>/dev/null || echo unknown`
1357uname -v = `(uname -v) 2>/dev/null || echo unknown`
1358
1359/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1360/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1361
1362/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1363/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1364/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1365/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1366/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1367/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1368/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1369
1370_ASUNAME
1371
1372as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1373for as_dir in $PATH
1374do
1375  IFS=$as_save_IFS
1376  test -z "$as_dir" && as_dir=.
1377    $as_echo "PATH: $as_dir"
1378  done
1379IFS=$as_save_IFS
1380
1381} >&5
1382
1383cat >&5 <<_ACEOF
1384
1385
1386## ----------- ##
1387## Core tests. ##
1388## ----------- ##
1389
1390_ACEOF
1391
1392
1393# Keep a trace of the command line.
1394# Strip out --no-create and --no-recursion so they do not pile up.
1395# Strip out --silent because we don't want to record it for future runs.
1396# Also quote any args containing shell meta-characters.
1397# Make two passes to allow for proper duplicate-argument suppression.
1398ac_configure_args=
1399ac_configure_args0=
1400ac_configure_args1=
1401ac_must_keep_next=false
1402for ac_pass in 1 2
1403do
1404  for ac_arg
1405  do
1406    case $ac_arg in
1407    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1408    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1409    | -silent | --silent | --silen | --sile | --sil)
1410      continue ;;
1411    *\'*)
1412      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1413    esac
1414    case $ac_pass in
1415    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1416    2)
1417      as_fn_append ac_configure_args1 " '$ac_arg'"
1418      if test $ac_must_keep_next = true; then
1419	ac_must_keep_next=false # Got value, back to normal.
1420      else
1421	case $ac_arg in
1422	  *=* | --config-cache | -C | -disable-* | --disable-* \
1423	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1424	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1425	  | -with-* | --with-* | -without-* | --without-* | --x)
1426	    case "$ac_configure_args0 " in
1427	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1428	    esac
1429	    ;;
1430	  -* ) ac_must_keep_next=true ;;
1431	esac
1432      fi
1433      as_fn_append ac_configure_args " '$ac_arg'"
1434      ;;
1435    esac
1436  done
1437done
1438{ ac_configure_args0=; unset ac_configure_args0;}
1439{ ac_configure_args1=; unset ac_configure_args1;}
1440
1441# When interrupted or exit'd, cleanup temporary files, and complete
1442# config.log.  We remove comments because anyway the quotes in there
1443# would cause problems or look ugly.
1444# WARNING: Use '\'' to represent an apostrophe within the trap.
1445# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1446trap 'exit_status=$?
1447  # Save into config.log some information that might help in debugging.
1448  {
1449    echo
1450
1451    $as_echo "## ---------------- ##
1452## Cache variables. ##
1453## ---------------- ##"
1454    echo
1455    # The following way of writing the cache mishandles newlines in values,
1456(
1457  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1458    eval ac_val=\$$ac_var
1459    case $ac_val in #(
1460    *${as_nl}*)
1461      case $ac_var in #(
1462      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1463$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1464      esac
1465      case $ac_var in #(
1466      _ | IFS | as_nl) ;; #(
1467      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1468      *) { eval $ac_var=; unset $ac_var;} ;;
1469      esac ;;
1470    esac
1471  done
1472  (set) 2>&1 |
1473    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1474    *${as_nl}ac_space=\ *)
1475      sed -n \
1476	"s/'\''/'\''\\\\'\'''\''/g;
1477	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1478      ;; #(
1479    *)
1480      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1481      ;;
1482    esac |
1483    sort
1484)
1485    echo
1486
1487    $as_echo "## ----------------- ##
1488## Output variables. ##
1489## ----------------- ##"
1490    echo
1491    for ac_var in $ac_subst_vars
1492    do
1493      eval ac_val=\$$ac_var
1494      case $ac_val in
1495      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1496      esac
1497      $as_echo "$ac_var='\''$ac_val'\''"
1498    done | sort
1499    echo
1500
1501    if test -n "$ac_subst_files"; then
1502      $as_echo "## ------------------- ##
1503## File substitutions. ##
1504## ------------------- ##"
1505      echo
1506      for ac_var in $ac_subst_files
1507      do
1508	eval ac_val=\$$ac_var
1509	case $ac_val in
1510	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1511	esac
1512	$as_echo "$ac_var='\''$ac_val'\''"
1513      done | sort
1514      echo
1515    fi
1516
1517    if test -s confdefs.h; then
1518      $as_echo "## ----------- ##
1519## confdefs.h. ##
1520## ----------- ##"
1521      echo
1522      cat confdefs.h
1523      echo
1524    fi
1525    test "$ac_signal" != 0 &&
1526      $as_echo "$as_me: caught signal $ac_signal"
1527    $as_echo "$as_me: exit $exit_status"
1528  } >&5
1529  rm -f core *.core core.conftest.* &&
1530    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1531    exit $exit_status
1532' 0
1533for ac_signal in 1 2 13 15; do
1534  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1535done
1536ac_signal=0
1537
1538# confdefs.h avoids OS command line length limits that DEFS can exceed.
1539rm -f -r conftest* confdefs.h
1540
1541$as_echo "/* confdefs.h */" > confdefs.h
1542
1543# Predefined preprocessor variables.
1544
1545cat >>confdefs.h <<_ACEOF
1546#define PACKAGE_NAME "$PACKAGE_NAME"
1547_ACEOF
1548
1549cat >>confdefs.h <<_ACEOF
1550#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1551_ACEOF
1552
1553cat >>confdefs.h <<_ACEOF
1554#define PACKAGE_VERSION "$PACKAGE_VERSION"
1555_ACEOF
1556
1557cat >>confdefs.h <<_ACEOF
1558#define PACKAGE_STRING "$PACKAGE_STRING"
1559_ACEOF
1560
1561cat >>confdefs.h <<_ACEOF
1562#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1563_ACEOF
1564
1565cat >>confdefs.h <<_ACEOF
1566#define PACKAGE_URL "$PACKAGE_URL"
1567_ACEOF
1568
1569
1570# Let the site file select an alternate cache file if it wants to.
1571# Prefer an explicitly selected file to automatically selected ones.
1572ac_site_file1=NONE
1573ac_site_file2=NONE
1574if test -n "$CONFIG_SITE"; then
1575  # We do not want a PATH search for config.site.
1576  case $CONFIG_SITE in #((
1577    -*)  ac_site_file1=./$CONFIG_SITE;;
1578    */*) ac_site_file1=$CONFIG_SITE;;
1579    *)   ac_site_file1=./$CONFIG_SITE;;
1580  esac
1581elif test "x$prefix" != xNONE; then
1582  ac_site_file1=$prefix/share/config.site
1583  ac_site_file2=$prefix/etc/config.site
1584else
1585  ac_site_file1=$ac_default_prefix/share/config.site
1586  ac_site_file2=$ac_default_prefix/etc/config.site
1587fi
1588for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1589do
1590  test "x$ac_site_file" = xNONE && continue
1591  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1592    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1593$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1594    sed 's/^/| /' "$ac_site_file" >&5
1595    . "$ac_site_file" \
1596      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1597$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1598as_fn_error $? "failed to load site script $ac_site_file
1599See \`config.log' for more details" "$LINENO" 5; }
1600  fi
1601done
1602
1603if test -r "$cache_file"; then
1604  # Some versions of bash will fail to source /dev/null (special files
1605  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1606  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1607    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1608$as_echo "$as_me: loading cache $cache_file" >&6;}
1609    case $cache_file in
1610      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1611      *)                      . "./$cache_file";;
1612    esac
1613  fi
1614else
1615  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1616$as_echo "$as_me: creating cache $cache_file" >&6;}
1617  >$cache_file
1618fi
1619
1620# Check that the precious variables saved in the cache have kept the same
1621# value.
1622ac_cache_corrupted=false
1623for ac_var in $ac_precious_vars; do
1624  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1625  eval ac_new_set=\$ac_env_${ac_var}_set
1626  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1627  eval ac_new_val=\$ac_env_${ac_var}_value
1628  case $ac_old_set,$ac_new_set in
1629    set,)
1630      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1631$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1632      ac_cache_corrupted=: ;;
1633    ,set)
1634      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1635$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1636      ac_cache_corrupted=: ;;
1637    ,);;
1638    *)
1639      if test "x$ac_old_val" != "x$ac_new_val"; then
1640	# differences in whitespace do not lead to failure.
1641	ac_old_val_w=`echo x $ac_old_val`
1642	ac_new_val_w=`echo x $ac_new_val`
1643	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1644	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1645$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1646	  ac_cache_corrupted=:
1647	else
1648	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1649$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1650	  eval $ac_var=\$ac_old_val
1651	fi
1652	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1653$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1654	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1655$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1656      fi;;
1657  esac
1658  # Pass precious variables to config.status.
1659  if test "$ac_new_set" = set; then
1660    case $ac_new_val in
1661    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1662    *) ac_arg=$ac_var=$ac_new_val ;;
1663    esac
1664    case " $ac_configure_args " in
1665      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1666      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1667    esac
1668  fi
1669done
1670if $ac_cache_corrupted; then
1671  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1672$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1673  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1674$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1675  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1676fi
1677## -------------------- ##
1678## Main body of script. ##
1679## -------------------- ##
1680
1681ac_ext=c
1682ac_cpp='$CPP $CPPFLAGS'
1683ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1684ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1685ac_compiler_gnu=$ac_cv_c_compiler_gnu
1686
1687
1688
1689>confdefs.h  # Kill PACKAGE_ macros
1690
1691
1692am__api_version='1.11'
1693
1694ac_aux_dir=
1695for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1696  if test -f "$ac_dir/install-sh"; then
1697    ac_aux_dir=$ac_dir
1698    ac_install_sh="$ac_aux_dir/install-sh -c"
1699    break
1700  elif test -f "$ac_dir/install.sh"; then
1701    ac_aux_dir=$ac_dir
1702    ac_install_sh="$ac_aux_dir/install.sh -c"
1703    break
1704  elif test -f "$ac_dir/shtool"; then
1705    ac_aux_dir=$ac_dir
1706    ac_install_sh="$ac_aux_dir/shtool install -c"
1707    break
1708  fi
1709done
1710if test -z "$ac_aux_dir"; then
1711  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1712fi
1713
1714# These three variables are undocumented and unsupported,
1715# and are intended to be withdrawn in a future Autoconf release.
1716# They can cause serious problems if a builder's source tree is in a directory
1717# whose full name contains unusual characters.
1718ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1719ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1720ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1721
1722
1723# Find a good install program.  We prefer a C program (faster),
1724# so one script is as good as another.  But avoid the broken or
1725# incompatible versions:
1726# SysV /etc/install, /usr/sbin/install
1727# SunOS /usr/etc/install
1728# IRIX /sbin/install
1729# AIX /bin/install
1730# AmigaOS /C/install, which installs bootblocks on floppy discs
1731# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1732# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1733# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1734# OS/2's system install, which has a completely different semantic
1735# ./install, which can be erroneously created by make from ./install.sh.
1736# Reject install programs that cannot install multiple files.
1737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1738$as_echo_n "checking for a BSD-compatible install... " >&6; }
1739if test -z "$INSTALL"; then
1740if test "${ac_cv_path_install+set}" = set; then :
1741  $as_echo_n "(cached) " >&6
1742else
1743  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1744for as_dir in $PATH
1745do
1746  IFS=$as_save_IFS
1747  test -z "$as_dir" && as_dir=.
1748    # Account for people who put trailing slashes in PATH elements.
1749case $as_dir/ in #((
1750  ./ | .// | /[cC]/* | \
1751  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1752  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1753  /usr/ucb/* ) ;;
1754  *)
1755    # OSF1 and SCO ODT 3.0 have their own names for install.
1756    # Don't use installbsd from OSF since it installs stuff as root
1757    # by default.
1758    for ac_prog in ginstall scoinst install; do
1759      for ac_exec_ext in '' $ac_executable_extensions; do
1760	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1761	  if test $ac_prog = install &&
1762	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1763	    # AIX install.  It has an incompatible calling convention.
1764	    :
1765	  elif test $ac_prog = install &&
1766	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1767	    # program-specific install script used by HP pwplus--don't use.
1768	    :
1769	  else
1770	    rm -rf conftest.one conftest.two conftest.dir
1771	    echo one > conftest.one
1772	    echo two > conftest.two
1773	    mkdir conftest.dir
1774	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1775	      test -s conftest.one && test -s conftest.two &&
1776	      test -s conftest.dir/conftest.one &&
1777	      test -s conftest.dir/conftest.two
1778	    then
1779	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1780	      break 3
1781	    fi
1782	  fi
1783	fi
1784      done
1785    done
1786    ;;
1787esac
1788
1789  done
1790IFS=$as_save_IFS
1791
1792rm -rf conftest.one conftest.two conftest.dir
1793
1794fi
1795  if test "${ac_cv_path_install+set}" = set; then
1796    INSTALL=$ac_cv_path_install
1797  else
1798    # As a last resort, use the slow shell script.  Don't cache a
1799    # value for INSTALL within a source directory, because that will
1800    # break other packages using the cache if that directory is
1801    # removed, or if the value is a relative name.
1802    INSTALL=$ac_install_sh
1803  fi
1804fi
1805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1806$as_echo "$INSTALL" >&6; }
1807
1808# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1809# It thinks the first close brace ends the variable substitution.
1810test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1811
1812test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1813
1814test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1815
1816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1817$as_echo_n "checking whether build environment is sane... " >&6; }
1818# Just in case
1819sleep 1
1820echo timestamp > conftest.file
1821# Reject unsafe characters in $srcdir or the absolute working directory
1822# name.  Accept space and tab only in the latter.
1823am_lf='
1824'
1825case `pwd` in
1826  *[\\\"\#\$\&\'\`$am_lf]*)
1827    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1828esac
1829case $srcdir in
1830  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
1831    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1832esac
1833
1834# Do `set' in a subshell so we don't clobber the current shell's
1835# arguments.  Must try -L first in case configure is actually a
1836# symlink; some systems play weird games with the mod time of symlinks
1837# (eg FreeBSD returns the mod time of the symlink's containing
1838# directory).
1839if (
1840   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1841   if test "$*" = "X"; then
1842      # -L didn't work.
1843      set X `ls -t "$srcdir/configure" conftest.file`
1844   fi
1845   rm -f conftest.file
1846   if test "$*" != "X $srcdir/configure conftest.file" \
1847      && test "$*" != "X conftest.file $srcdir/configure"; then
1848
1849      # If neither matched, then we have a broken ls.  This can happen
1850      # if, for instance, CONFIG_SHELL is bash and it inherits a
1851      # broken ls alias from the environment.  This has actually
1852      # happened.  Such a system could not be considered "sane".
1853      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
1854alias in your environment" "$LINENO" 5
1855   fi
1856
1857   test "$2" = conftest.file
1858   )
1859then
1860   # Ok.
1861   :
1862else
1863   as_fn_error $? "newly created file is older than distributed files!
1864Check your system clock" "$LINENO" 5
1865fi
1866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1867$as_echo "yes" >&6; }
1868test "$program_prefix" != NONE &&
1869  program_transform_name="s&^&$program_prefix&;$program_transform_name"
1870# Use a double $ so make ignores it.
1871test "$program_suffix" != NONE &&
1872  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1873# Double any \ or $.
1874# By default was `s,x,x', remove it if useless.
1875ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1876program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1877
1878# expand $ac_aux_dir to an absolute path
1879am_aux_dir=`cd $ac_aux_dir && pwd`
1880
1881if test x"${MISSING+set}" != xset; then
1882  case $am_aux_dir in
1883  *\ * | *\	*)
1884    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1885  *)
1886    MISSING="\${SHELL} $am_aux_dir/missing" ;;
1887  esac
1888fi
1889# Use eval to expand $SHELL
1890if eval "$MISSING --run true"; then
1891  am_missing_run="$MISSING --run "
1892else
1893  am_missing_run=
1894  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1895$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1896fi
1897
1898if test x"${install_sh}" != xset; then
1899  case $am_aux_dir in
1900  *\ * | *\	*)
1901    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1902  *)
1903    install_sh="\${SHELL} $am_aux_dir/install-sh"
1904  esac
1905fi
1906
1907# Installed binaries are usually stripped using `strip' when the user
1908# run `make install-strip'.  However `strip' might not be the right
1909# tool to use in cross-compilation environments, therefore Automake
1910# will honor the `STRIP' environment variable to overrule this program.
1911if test "$cross_compiling" != no; then
1912  if test -n "$ac_tool_prefix"; then
1913  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1914set dummy ${ac_tool_prefix}strip; ac_word=$2
1915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1916$as_echo_n "checking for $ac_word... " >&6; }
1917if test "${ac_cv_prog_STRIP+set}" = set; then :
1918  $as_echo_n "(cached) " >&6
1919else
1920  if test -n "$STRIP"; then
1921  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1922else
1923as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1924for as_dir in $PATH
1925do
1926  IFS=$as_save_IFS
1927  test -z "$as_dir" && as_dir=.
1928    for ac_exec_ext in '' $ac_executable_extensions; do
1929  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1930    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1931    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1932    break 2
1933  fi
1934done
1935  done
1936IFS=$as_save_IFS
1937
1938fi
1939fi
1940STRIP=$ac_cv_prog_STRIP
1941if test -n "$STRIP"; then
1942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1943$as_echo "$STRIP" >&6; }
1944else
1945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1946$as_echo "no" >&6; }
1947fi
1948
1949
1950fi
1951if test -z "$ac_cv_prog_STRIP"; then
1952  ac_ct_STRIP=$STRIP
1953  # Extract the first word of "strip", so it can be a program name with args.
1954set dummy strip; ac_word=$2
1955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1956$as_echo_n "checking for $ac_word... " >&6; }
1957if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
1958  $as_echo_n "(cached) " >&6
1959else
1960  if test -n "$ac_ct_STRIP"; then
1961  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1962else
1963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1964for as_dir in $PATH
1965do
1966  IFS=$as_save_IFS
1967  test -z "$as_dir" && as_dir=.
1968    for ac_exec_ext in '' $ac_executable_extensions; do
1969  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1970    ac_cv_prog_ac_ct_STRIP="strip"
1971    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1972    break 2
1973  fi
1974done
1975  done
1976IFS=$as_save_IFS
1977
1978fi
1979fi
1980ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1981if test -n "$ac_ct_STRIP"; then
1982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
1983$as_echo "$ac_ct_STRIP" >&6; }
1984else
1985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1986$as_echo "no" >&6; }
1987fi
1988
1989  if test "x$ac_ct_STRIP" = x; then
1990    STRIP=":"
1991  else
1992    case $cross_compiling:$ac_tool_warned in
1993yes:)
1994{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1995$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1996ac_tool_warned=yes ;;
1997esac
1998    STRIP=$ac_ct_STRIP
1999  fi
2000else
2001  STRIP="$ac_cv_prog_STRIP"
2002fi
2003
2004fi
2005INSTALL_STRIP_PROGRAM="install  -s -m 555 -s"
2006
2007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2008$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2009if test -z "$MKDIR_P"; then
2010  if test "${ac_cv_path_mkdir+set}" = set; then :
2011  $as_echo_n "(cached) " >&6
2012else
2013  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2014for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2015do
2016  IFS=$as_save_IFS
2017  test -z "$as_dir" && as_dir=.
2018    for ac_prog in mkdir gmkdir; do
2019	 for ac_exec_ext in '' $ac_executable_extensions; do
2020	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2021	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2022	     'mkdir (GNU coreutils) '* | \
2023	     'mkdir (coreutils) '* | \
2024	     'mkdir (fileutils) '4.1*)
2025	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2026	       break 3;;
2027	   esac
2028	 done
2029       done
2030  done
2031IFS=$as_save_IFS
2032
2033fi
2034
2035  test -d ./--version && rmdir ./--version
2036  if test "${ac_cv_path_mkdir+set}" = set; then
2037    MKDIR_P="$ac_cv_path_mkdir -p"
2038  else
2039    # As a last resort, use the slow shell script.  Don't cache a
2040    # value for MKDIR_P within a source directory, because that will
2041    # break other packages using the cache if that directory is
2042    # removed, or if the value is a relative name.
2043    MKDIR_P="$ac_install_sh -d"
2044  fi
2045fi
2046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2047$as_echo "$MKDIR_P" >&6; }
2048
2049mkdir_p="$MKDIR_P"
2050case $mkdir_p in
2051  [\\/$]* | ?:[\\/]*) ;;
2052  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2053esac
2054
2055for ac_prog in gawk mawk nawk awk
2056do
2057  # Extract the first word of "$ac_prog", so it can be a program name with args.
2058set dummy $ac_prog; ac_word=$2
2059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2060$as_echo_n "checking for $ac_word... " >&6; }
2061if test "${ac_cv_prog_AWK+set}" = set; then :
2062  $as_echo_n "(cached) " >&6
2063else
2064  if test -n "$AWK"; then
2065  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2066else
2067as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068for as_dir in $PATH
2069do
2070  IFS=$as_save_IFS
2071  test -z "$as_dir" && as_dir=.
2072    for ac_exec_ext in '' $ac_executable_extensions; do
2073  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2074    ac_cv_prog_AWK="$ac_prog"
2075    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2076    break 2
2077  fi
2078done
2079  done
2080IFS=$as_save_IFS
2081
2082fi
2083fi
2084AWK=$ac_cv_prog_AWK
2085if test -n "$AWK"; then
2086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2087$as_echo "$AWK" >&6; }
2088else
2089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2090$as_echo "no" >&6; }
2091fi
2092
2093
2094  test -n "$AWK" && break
2095done
2096
2097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2098$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2099set x ${MAKE-make}
2100ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2101if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2102  $as_echo_n "(cached) " >&6
2103else
2104  cat >conftest.make <<\_ACEOF
2105SHELL = /bin/sh
2106all:
2107	@echo '@@@%%%=$(MAKE)=@@@%%%'
2108_ACEOF
2109# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2110case `${MAKE-make} -f conftest.make 2>/dev/null` in
2111  *@@@%%%=?*=@@@%%%*)
2112    eval ac_cv_prog_make_${ac_make}_set=yes;;
2113  *)
2114    eval ac_cv_prog_make_${ac_make}_set=no;;
2115esac
2116rm -f conftest.make
2117fi
2118if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2120$as_echo "yes" >&6; }
2121  SET_MAKE=
2122else
2123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2124$as_echo "no" >&6; }
2125  SET_MAKE="MAKE=${MAKE-make}"
2126fi
2127
2128rm -rf .tst 2>/dev/null
2129mkdir .tst 2>/dev/null
2130if test -d .tst; then
2131  am__leading_dot=.
2132else
2133  am__leading_dot=_
2134fi
2135rmdir .tst 2>/dev/null
2136
2137if test "`cd $srcdir && pwd`" != "`pwd`"; then
2138  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2139  # is not polluted with repeated "-I."
2140  am__isrc=' -I$(srcdir)'
2141  # test to see if srcdir already configured
2142  if test -f $srcdir/config.status; then
2143    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2144  fi
2145fi
2146
2147# test whether we have cygpath
2148if test -z "$CYGPATH_W"; then
2149  if (cygpath --version) >/dev/null 2>/dev/null; then
2150    CYGPATH_W='cygpath -w'
2151  else
2152    CYGPATH_W=echo
2153  fi
2154fi
2155
2156
2157# Define the identity of the package.
2158 PACKAGE='courier-doc'
2159 VERSION='0.10'
2160
2161
2162# Some tools Automake needs.
2163
2164ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2165
2166
2167AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2168
2169
2170AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2171
2172
2173AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2174
2175
2176MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2177
2178# We need awk for the "check" target.  The system "awk" is bad on
2179# some platforms.
2180# Always define AMTAR for backward compatibility.
2181
2182AMTAR=${AMTAR-"${am_missing_run}tar"}
2183
2184am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2185
2186
2187
2188
2189
2190LPATH="$PATH:/usr/local/bin"
2191
2192
2193
2194# Check whether --with-mailuser was given.
2195if test "${with_mailuser+set}" = set; then :
2196  withval=$with_mailuser; mailuser="$withval"
2197else
2198  mailuser=mail
2199
2200fi
2201
2202
2203
2204# Check whether --with-mailgroup was given.
2205if test "${with_mailgroup+set}" = set; then :
2206  withval=$with_mailgroup; mailgroup="$withval"
2207else
2208  mailgroup=mail
2209
2210fi
2211
2212
2213
2214
2215version=`cat ../../version.txt`
2216
2217
2218
2219# Check whether --with-extension was given.
2220if test "${with_extension+set}" = set; then :
2221  withval=$with_extension; extension="$withval"
2222else
2223  extension="courier"
2224fi
2225
2226
2227
2228
2229
2230for ac_prog in perl5 perl
2231do
2232  # Extract the first word of "$ac_prog", so it can be a program name with args.
2233set dummy $ac_prog; ac_word=$2
2234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2235$as_echo_n "checking for $ac_word... " >&6; }
2236if test "${ac_cv_path_PERL+set}" = set; then :
2237  $as_echo_n "(cached) " >&6
2238else
2239  case $PERL in
2240  [\\/]* | ?:[\\/]*)
2241  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
2242  ;;
2243  *)
2244  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2245for as_dir in $LPATH
2246do
2247  IFS=$as_save_IFS
2248  test -z "$as_dir" && as_dir=.
2249    for ac_exec_ext in '' $ac_executable_extensions; do
2250  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2251    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
2252    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2253    break 2
2254  fi
2255done
2256  done
2257IFS=$as_save_IFS
2258
2259  ;;
2260esac
2261fi
2262PERL=$ac_cv_path_PERL
2263if test -n "$PERL"; then
2264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
2265$as_echo "$PERL" >&6; }
2266else
2267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2268$as_echo "no" >&6; }
2269fi
2270
2271
2272  test -n "$PERL" && break
2273done
2274test -n "$PERL" || PERL="perl"
2275
2276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2277$as_echo_n "checking whether ln -s works... " >&6; }
2278LN_S=$as_ln_s
2279if test "$LN_S" = "ln -s"; then
2280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2281$as_echo "yes" >&6; }
2282else
2283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2284$as_echo "no, using $LN_S" >&6; }
2285fi
2286
2287
2288
2289
2290
2291
2292
2293test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2294
2295eval "prefix=\"$prefix\""
2296eval "exec_prefix=\"$exec_prefix\""
2297eval "bindir=\"$bindir\""
2298eval "sbindir=\"$sbindir\""
2299eval "sysconfdir=\"$sysconfdir\""
2300eval "datarootdir=\"$datarootdir\""
2301eval "datadir=\"$datadir\""
2302eval "localstatedir=\"$localstatedir\""
2303eval "libexecdir=\"$libexecdir\""
2304
2305 if test -d ${srcdir}/../../docbook; then
2306  HAVE_SGML_TRUE=
2307  HAVE_SGML_FALSE='#'
2308else
2309  HAVE_SGML_TRUE='#'
2310  HAVE_SGML_FALSE=
2311fi
2312
2313
2314ac_config_files="$ac_config_files Makefile"
2315
2316cat >confcache <<\_ACEOF
2317# This file is a shell script that caches the results of configure
2318# tests run on this system so they can be shared between configure
2319# scripts and configure runs, see configure's option --config-cache.
2320# It is not useful on other systems.  If it contains results you don't
2321# want to keep, you may remove or edit it.
2322#
2323# config.status only pays attention to the cache file if you give it
2324# the --recheck option to rerun configure.
2325#
2326# `ac_cv_env_foo' variables (set or unset) will be overridden when
2327# loading this file, other *unset* `ac_cv_foo' will be assigned the
2328# following values.
2329
2330_ACEOF
2331
2332# The following way of writing the cache mishandles newlines in values,
2333# but we know of no workaround that is simple, portable, and efficient.
2334# So, we kill variables containing newlines.
2335# Ultrix sh set writes to stderr and can't be redirected directly,
2336# and sets the high bit in the cache file unless we assign to the vars.
2337(
2338  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2339    eval ac_val=\$$ac_var
2340    case $ac_val in #(
2341    *${as_nl}*)
2342      case $ac_var in #(
2343      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2344$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2345      esac
2346      case $ac_var in #(
2347      _ | IFS | as_nl) ;; #(
2348      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2349      *) { eval $ac_var=; unset $ac_var;} ;;
2350      esac ;;
2351    esac
2352  done
2353
2354  (set) 2>&1 |
2355    case $as_nl`(ac_space=' '; set) 2>&1` in #(
2356    *${as_nl}ac_space=\ *)
2357      # `set' does not quote correctly, so add quotes: double-quote
2358      # substitution turns \\\\ into \\, and sed turns \\ into \.
2359      sed -n \
2360	"s/'/'\\\\''/g;
2361	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2362      ;; #(
2363    *)
2364      # `set' quotes correctly as required by POSIX, so do not add quotes.
2365      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2366      ;;
2367    esac |
2368    sort
2369) |
2370  sed '
2371     /^ac_cv_env_/b end
2372     t clear
2373     :clear
2374     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2375     t end
2376     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2377     :end' >>confcache
2378if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2379  if test -w "$cache_file"; then
2380    test "x$cache_file" != "x/dev/null" &&
2381      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2382$as_echo "$as_me: updating cache $cache_file" >&6;}
2383    cat confcache >$cache_file
2384  else
2385    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2386$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2387  fi
2388fi
2389rm -f confcache
2390
2391test "x$prefix" = xNONE && prefix=$ac_default_prefix
2392# Let make expand exec_prefix.
2393test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2394
2395# Transform confdefs.h into DEFS.
2396# Protect against shell expansion while executing Makefile rules.
2397# Protect against Makefile macro expansion.
2398#
2399# If the first sed substitution is executed (which looks for macros that
2400# take arguments), then branch to the quote section.  Otherwise,
2401# look for a macro that doesn't take arguments.
2402ac_script='
2403:mline
2404/\\$/{
2405 N
2406 s,\\\n,,
2407 b mline
2408}
2409t clear
2410:clear
2411s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
2412t quote
2413s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
2414t quote
2415b any
2416:quote
2417s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2418s/\[/\\&/g
2419s/\]/\\&/g
2420s/\$/$$/g
2421H
2422:any
2423${
2424	g
2425	s/^\n//
2426	s/\n/ /g
2427	p
2428}
2429'
2430DEFS=`sed -n "$ac_script" confdefs.h`
2431
2432
2433ac_libobjs=
2434ac_ltlibobjs=
2435U=
2436for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2437  # 1. Remove the extension, and $U if already installed.
2438  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2439  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2440  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2441  #    will be set to the directory where LIBOBJS objects are built.
2442  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2443  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2444done
2445LIBOBJS=$ac_libobjs
2446
2447LTLIBOBJS=$ac_ltlibobjs
2448
2449
2450
2451if test -z "${HAVE_SGML_TRUE}" && test -z "${HAVE_SGML_FALSE}"; then
2452  as_fn_error $? "conditional \"HAVE_SGML\" was never defined.
2453Usually this means the macro was only invoked conditionally." "$LINENO" 5
2454fi
2455
2456: ${CONFIG_STATUS=./config.status}
2457ac_write_fail=0
2458ac_clean_files_save=$ac_clean_files
2459ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2460{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2461$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2462as_write_fail=0
2463cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2464#! $SHELL
2465# Generated by $as_me.
2466# Run this file to recreate the current configuration.
2467# Compiler output produced by configure, useful for debugging
2468# configure, is in config.log if it exists.
2469
2470debug=false
2471ac_cs_recheck=false
2472ac_cs_silent=false
2473
2474SHELL=\${CONFIG_SHELL-$SHELL}
2475export SHELL
2476_ASEOF
2477cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2478## -------------------- ##
2479## M4sh Initialization. ##
2480## -------------------- ##
2481
2482# Be more Bourne compatible
2483DUALCASE=1; export DUALCASE # for MKS sh
2484if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2485  emulate sh
2486  NULLCMD=:
2487  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2488  # is contrary to our usage.  Disable this feature.
2489  alias -g '${1+"$@"}'='"$@"'
2490  setopt NO_GLOB_SUBST
2491else
2492  case `(set -o) 2>/dev/null` in #(
2493  *posix*) :
2494    set -o posix ;; #(
2495  *) :
2496     ;;
2497esac
2498fi
2499
2500
2501as_nl='
2502'
2503export as_nl
2504# Printing a long string crashes Solaris 7 /usr/bin/printf.
2505as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2506as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2507as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2508# Prefer a ksh shell builtin over an external printf program on Solaris,
2509# but without wasting forks for bash or zsh.
2510if test -z "$BASH_VERSION$ZSH_VERSION" \
2511    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2512  as_echo='print -r --'
2513  as_echo_n='print -rn --'
2514elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2515  as_echo='printf %s\n'
2516  as_echo_n='printf %s'
2517else
2518  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2519    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2520    as_echo_n='/usr/ucb/echo -n'
2521  else
2522    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2523    as_echo_n_body='eval
2524      arg=$1;
2525      case $arg in #(
2526      *"$as_nl"*)
2527	expr "X$arg" : "X\\(.*\\)$as_nl";
2528	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2529      esac;
2530      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2531    '
2532    export as_echo_n_body
2533    as_echo_n='sh -c $as_echo_n_body as_echo'
2534  fi
2535  export as_echo_body
2536  as_echo='sh -c $as_echo_body as_echo'
2537fi
2538
2539# The user is always right.
2540if test "${PATH_SEPARATOR+set}" != set; then
2541  PATH_SEPARATOR=:
2542  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2543    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2544      PATH_SEPARATOR=';'
2545  }
2546fi
2547
2548
2549# IFS
2550# We need space, tab and new line, in precisely that order.  Quoting is
2551# there to prevent editors from complaining about space-tab.
2552# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2553# splitting by setting IFS to empty value.)
2554IFS=" ""	$as_nl"
2555
2556# Find who we are.  Look in the path if we contain no directory separator.
2557case $0 in #((
2558  *[\\/]* ) as_myself=$0 ;;
2559  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560for as_dir in $PATH
2561do
2562  IFS=$as_save_IFS
2563  test -z "$as_dir" && as_dir=.
2564    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2565  done
2566IFS=$as_save_IFS
2567
2568     ;;
2569esac
2570# We did not find ourselves, most probably we were run as `sh COMMAND'
2571# in which case we are not to be found in the path.
2572if test "x$as_myself" = x; then
2573  as_myself=$0
2574fi
2575if test ! -f "$as_myself"; then
2576  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2577  exit 1
2578fi
2579
2580# Unset variables that we do not need and which cause bugs (e.g. in
2581# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2582# suppresses any "Segmentation fault" message there.  '((' could
2583# trigger a bug in pdksh 5.2.14.
2584for as_var in BASH_ENV ENV MAIL MAILPATH
2585do eval test x\${$as_var+set} = xset \
2586  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2587done
2588PS1='$ '
2589PS2='> '
2590PS4='+ '
2591
2592# NLS nuisances.
2593LC_ALL=C
2594export LC_ALL
2595LANGUAGE=C
2596export LANGUAGE
2597
2598# CDPATH.
2599(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2600
2601
2602# as_fn_error STATUS ERROR [LINENO LOG_FD]
2603# ----------------------------------------
2604# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2605# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2606# script with STATUS, using 1 if that was 0.
2607as_fn_error ()
2608{
2609  as_status=$1; test $as_status -eq 0 && as_status=1
2610  if test "$4"; then
2611    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2612    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2613  fi
2614  $as_echo "$as_me: error: $2" >&2
2615  as_fn_exit $as_status
2616} # as_fn_error
2617
2618
2619# as_fn_set_status STATUS
2620# -----------------------
2621# Set $? to STATUS, without forking.
2622as_fn_set_status ()
2623{
2624  return $1
2625} # as_fn_set_status
2626
2627# as_fn_exit STATUS
2628# -----------------
2629# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2630as_fn_exit ()
2631{
2632  set +e
2633  as_fn_set_status $1
2634  exit $1
2635} # as_fn_exit
2636
2637# as_fn_unset VAR
2638# ---------------
2639# Portably unset VAR.
2640as_fn_unset ()
2641{
2642  { eval $1=; unset $1;}
2643}
2644as_unset=as_fn_unset
2645# as_fn_append VAR VALUE
2646# ----------------------
2647# Append the text in VALUE to the end of the definition contained in VAR. Take
2648# advantage of any shell optimizations that allow amortized linear growth over
2649# repeated appends, instead of the typical quadratic growth present in naive
2650# implementations.
2651if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2652  eval 'as_fn_append ()
2653  {
2654    eval $1+=\$2
2655  }'
2656else
2657  as_fn_append ()
2658  {
2659    eval $1=\$$1\$2
2660  }
2661fi # as_fn_append
2662
2663# as_fn_arith ARG...
2664# ------------------
2665# Perform arithmetic evaluation on the ARGs, and store the result in the
2666# global $as_val. Take advantage of shells that can avoid forks. The arguments
2667# must be portable across $(()) and expr.
2668if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2669  eval 'as_fn_arith ()
2670  {
2671    as_val=$(( $* ))
2672  }'
2673else
2674  as_fn_arith ()
2675  {
2676    as_val=`expr "$@" || test $? -eq 1`
2677  }
2678fi # as_fn_arith
2679
2680
2681if expr a : '\(a\)' >/dev/null 2>&1 &&
2682   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2683  as_expr=expr
2684else
2685  as_expr=false
2686fi
2687
2688if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2689  as_basename=basename
2690else
2691  as_basename=false
2692fi
2693
2694if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2695  as_dirname=dirname
2696else
2697  as_dirname=false
2698fi
2699
2700as_me=`$as_basename -- "$0" ||
2701$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2702	 X"$0" : 'X\(//\)$' \| \
2703	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2704$as_echo X/"$0" |
2705    sed '/^.*\/\([^/][^/]*\)\/*$/{
2706	    s//\1/
2707	    q
2708	  }
2709	  /^X\/\(\/\/\)$/{
2710	    s//\1/
2711	    q
2712	  }
2713	  /^X\/\(\/\).*/{
2714	    s//\1/
2715	    q
2716	  }
2717	  s/.*/./; q'`
2718
2719# Avoid depending upon Character Ranges.
2720as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2721as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2722as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2723as_cr_digits='0123456789'
2724as_cr_alnum=$as_cr_Letters$as_cr_digits
2725
2726ECHO_C= ECHO_N= ECHO_T=
2727case `echo -n x` in #(((((
2728-n*)
2729  case `echo 'xy\c'` in
2730  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
2731  xy)  ECHO_C='\c';;
2732  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2733       ECHO_T='	';;
2734  esac;;
2735*)
2736  ECHO_N='-n';;
2737esac
2738
2739rm -f conf$$ conf$$.exe conf$$.file
2740if test -d conf$$.dir; then
2741  rm -f conf$$.dir/conf$$.file
2742else
2743  rm -f conf$$.dir
2744  mkdir conf$$.dir 2>/dev/null
2745fi
2746if (echo >conf$$.file) 2>/dev/null; then
2747  if ln -s conf$$.file conf$$ 2>/dev/null; then
2748    as_ln_s='ln -s'
2749    # ... but there are two gotchas:
2750    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2751    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2752    # In both cases, we have to default to `cp -p'.
2753    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2754      as_ln_s='cp -p'
2755  elif ln conf$$.file conf$$ 2>/dev/null; then
2756    as_ln_s=ln
2757  else
2758    as_ln_s='cp -p'
2759  fi
2760else
2761  as_ln_s='cp -p'
2762fi
2763rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2764rmdir conf$$.dir 2>/dev/null
2765
2766
2767# as_fn_mkdir_p
2768# -------------
2769# Create "$as_dir" as a directory, including parents if necessary.
2770as_fn_mkdir_p ()
2771{
2772
2773  case $as_dir in #(
2774  -*) as_dir=./$as_dir;;
2775  esac
2776  test -d "$as_dir" || eval $as_mkdir_p || {
2777    as_dirs=
2778    while :; do
2779      case $as_dir in #(
2780      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2781      *) as_qdir=$as_dir;;
2782      esac
2783      as_dirs="'$as_qdir' $as_dirs"
2784      as_dir=`$as_dirname -- "$as_dir" ||
2785$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2786	 X"$as_dir" : 'X\(//\)[^/]' \| \
2787	 X"$as_dir" : 'X\(//\)$' \| \
2788	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2789$as_echo X"$as_dir" |
2790    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2791	    s//\1/
2792	    q
2793	  }
2794	  /^X\(\/\/\)[^/].*/{
2795	    s//\1/
2796	    q
2797	  }
2798	  /^X\(\/\/\)$/{
2799	    s//\1/
2800	    q
2801	  }
2802	  /^X\(\/\).*/{
2803	    s//\1/
2804	    q
2805	  }
2806	  s/.*/./; q'`
2807      test -d "$as_dir" && break
2808    done
2809    test -z "$as_dirs" || eval "mkdir $as_dirs"
2810  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2811
2812
2813} # as_fn_mkdir_p
2814if mkdir -p . 2>/dev/null; then
2815  as_mkdir_p='mkdir -p "$as_dir"'
2816else
2817  test -d ./-p && rmdir ./-p
2818  as_mkdir_p=false
2819fi
2820
2821if test -x / >/dev/null 2>&1; then
2822  as_test_x='test -x'
2823else
2824  if ls -dL / >/dev/null 2>&1; then
2825    as_ls_L_option=L
2826  else
2827    as_ls_L_option=
2828  fi
2829  as_test_x='
2830    eval sh -c '\''
2831      if test -d "$1"; then
2832	test -d "$1/.";
2833      else
2834	case $1 in #(
2835	-*)set "./$1";;
2836	esac;
2837	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2838	???[sx]*):;;*)false;;esac;fi
2839    '\'' sh
2840  '
2841fi
2842as_executable_p=$as_test_x
2843
2844# Sed expression to map a string onto a valid CPP name.
2845as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2846
2847# Sed expression to map a string onto a valid variable name.
2848as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2849
2850
2851exec 6>&1
2852## ----------------------------------- ##
2853## Main body of $CONFIG_STATUS script. ##
2854## ----------------------------------- ##
2855_ASEOF
2856test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2857
2858cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2859# Save the log message, to keep $0 and so on meaningful, and to
2860# report actual input values of CONFIG_FILES etc. instead of their
2861# values after options handling.
2862ac_log="
2863This file was extended by courier-doc $as_me 0.10, which was
2864generated by GNU Autoconf 2.66.  Invocation command line was
2865
2866  CONFIG_FILES    = $CONFIG_FILES
2867  CONFIG_HEADERS  = $CONFIG_HEADERS
2868  CONFIG_LINKS    = $CONFIG_LINKS
2869  CONFIG_COMMANDS = $CONFIG_COMMANDS
2870  $ $0 $@
2871
2872on `(hostname || uname -n) 2>/dev/null | sed 1q`
2873"
2874
2875_ACEOF
2876
2877case $ac_config_files in *"
2878"*) set x $ac_config_files; shift; ac_config_files=$*;;
2879esac
2880
2881
2882
2883cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2884# Files that config.status was made for.
2885config_files="$ac_config_files"
2886
2887_ACEOF
2888
2889cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2890ac_cs_usage="\
2891\`$as_me' instantiates files and other configuration actions
2892from templates according to the current configuration.  Unless the files
2893and actions are specified as TAGs, all are instantiated by default.
2894
2895Usage: $0 [OPTION]... [TAG]...
2896
2897  -h, --help       print this help, then exit
2898  -V, --version    print version number and configuration settings, then exit
2899      --config     print configuration, then exit
2900  -q, --quiet, --silent
2901                   do not print progress messages
2902  -d, --debug      don't remove temporary files
2903      --recheck    update $as_me by reconfiguring in the same conditions
2904      --file=FILE[:TEMPLATE]
2905                   instantiate the configuration file FILE
2906
2907Configuration files:
2908$config_files
2909
2910Report bugs to <courier-users@lists.sourceforge.net>."
2911
2912_ACEOF
2913cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2914ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2915ac_cs_version="\\
2916courier-doc config.status 0.10
2917configured by $0, generated by GNU Autoconf 2.66,
2918  with options \\"\$ac_cs_config\\"
2919
2920Copyright (C) 2010 Free Software Foundation, Inc.
2921This config.status script is free software; the Free Software Foundation
2922gives unlimited permission to copy, distribute and modify it."
2923
2924ac_pwd='$ac_pwd'
2925srcdir='$srcdir'
2926INSTALL='$INSTALL'
2927MKDIR_P='$MKDIR_P'
2928AWK='$AWK'
2929test -n "\$AWK" || AWK=awk
2930_ACEOF
2931
2932cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2933# The default lists apply if the user does not specify any file.
2934ac_need_defaults=:
2935while test $# != 0
2936do
2937  case $1 in
2938  --*=*)
2939    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2940    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2941    ac_shift=:
2942    ;;
2943  *)
2944    ac_option=$1
2945    ac_optarg=$2
2946    ac_shift=shift
2947    ;;
2948  esac
2949
2950  case $ac_option in
2951  # Handling of the options.
2952  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2953    ac_cs_recheck=: ;;
2954  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2955    $as_echo "$ac_cs_version"; exit ;;
2956  --config | --confi | --conf | --con | --co | --c )
2957    $as_echo "$ac_cs_config"; exit ;;
2958  --debug | --debu | --deb | --de | --d | -d )
2959    debug=: ;;
2960  --file | --fil | --fi | --f )
2961    $ac_shift
2962    case $ac_optarg in
2963    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2964    esac
2965    as_fn_append CONFIG_FILES " '$ac_optarg'"
2966    ac_need_defaults=false;;
2967  --he | --h |  --help | --hel | -h )
2968    $as_echo "$ac_cs_usage"; exit ;;
2969  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2970  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2971    ac_cs_silent=: ;;
2972
2973  # This is an error.
2974  -*) as_fn_error $? "unrecognized option: \`$1'
2975Try \`$0 --help' for more information." ;;
2976
2977  *) as_fn_append ac_config_targets " $1"
2978     ac_need_defaults=false ;;
2979
2980  esac
2981  shift
2982done
2983
2984ac_configure_extra_args=
2985
2986if $ac_cs_silent; then
2987  exec 6>/dev/null
2988  ac_configure_extra_args="$ac_configure_extra_args --silent"
2989fi
2990
2991_ACEOF
2992cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2993if \$ac_cs_recheck; then
2994  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2995  shift
2996  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2997  CONFIG_SHELL='$SHELL'
2998  export CONFIG_SHELL
2999  exec "\$@"
3000fi
3001
3002_ACEOF
3003cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3004exec 5>>config.log
3005{
3006  echo
3007  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3008## Running $as_me. ##
3009_ASBOX
3010  $as_echo "$ac_log"
3011} >&5
3012
3013_ACEOF
3014cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3015_ACEOF
3016
3017cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3018
3019# Handling of arguments.
3020for ac_config_target in $ac_config_targets
3021do
3022  case $ac_config_target in
3023    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3024
3025  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3026  esac
3027done
3028
3029
3030# If the user did not use the arguments to specify the items to instantiate,
3031# then the envvar interface is used.  Set only those that are not.
3032# We use the long form for the default assignment because of an extremely
3033# bizarre bug on SunOS 4.1.3.
3034if $ac_need_defaults; then
3035  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3036fi
3037
3038# Have a temporary directory for convenience.  Make it in the build tree
3039# simply because there is no reason against having it here, and in addition,
3040# creating and moving files from /tmp can sometimes cause problems.
3041# Hook for its removal unless debugging.
3042# Note that there is a small window in which the directory will not be cleaned:
3043# after its creation but before its name has been assigned to `$tmp'.
3044$debug ||
3045{
3046  tmp=
3047  trap 'exit_status=$?
3048  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3049' 0
3050  trap 'as_fn_exit 1' 1 2 13 15
3051}
3052# Create a (secure) tmp directory for tmp files.
3053
3054{
3055  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3056  test -n "$tmp" && test -d "$tmp"
3057}  ||
3058{
3059  tmp=./conf$$-$RANDOM
3060  (umask 077 && mkdir "$tmp")
3061} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3062
3063# Set up the scripts for CONFIG_FILES section.
3064# No need to generate them if there are no CONFIG_FILES.
3065# This happens for instance with `./config.status config.h'.
3066if test -n "$CONFIG_FILES"; then
3067
3068
3069ac_cr=`echo X | tr X '\015'`
3070# On cygwin, bash can eat \r inside `` if the user requested igncr.
3071# But we know of no other shell where ac_cr would be empty at this
3072# point, so we can use a bashism as a fallback.
3073if test "x$ac_cr" = x; then
3074  eval ac_cr=\$\'\\r\'
3075fi
3076ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3077if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3078  ac_cs_awk_cr='\\r'
3079else
3080  ac_cs_awk_cr=$ac_cr
3081fi
3082
3083echo 'BEGIN {' >"$tmp/subs1.awk" &&
3084_ACEOF
3085
3086
3087{
3088  echo "cat >conf$$subs.awk <<_ACEOF" &&
3089  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3090  echo "_ACEOF"
3091} >conf$$subs.sh ||
3092  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3093ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3094ac_delim='%!_!# '
3095for ac_last_try in false false false false false :; do
3096  . ./conf$$subs.sh ||
3097    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3098
3099  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3100  if test $ac_delim_n = $ac_delim_num; then
3101    break
3102  elif $ac_last_try; then
3103    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3104  else
3105    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3106  fi
3107done
3108rm -f conf$$subs.sh
3109
3110cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3111cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3112_ACEOF
3113sed -n '
3114h
3115s/^/S["/; s/!.*/"]=/
3116p
3117g
3118s/^[^!]*!//
3119:repl
3120t repl
3121s/'"$ac_delim"'$//
3122t delim
3123:nl
3124h
3125s/\(.\{148\}\)..*/\1/
3126t more1
3127s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3128p
3129n
3130b repl
3131:more1
3132s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3133p
3134g
3135s/.\{148\}//
3136t nl
3137:delim
3138h
3139s/\(.\{148\}\)..*/\1/
3140t more2
3141s/["\\]/\\&/g; s/^/"/; s/$/"/
3142p
3143b
3144:more2
3145s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3146p
3147g
3148s/.\{148\}//
3149t delim
3150' <conf$$subs.awk | sed '
3151/^[^""]/{
3152  N
3153  s/\n//
3154}
3155' >>$CONFIG_STATUS || ac_write_fail=1
3156rm -f conf$$subs.awk
3157cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3158_ACAWK
3159cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3160  for (key in S) S_is_set[key] = 1
3161  FS = ""
3162
3163}
3164{
3165  line = $ 0
3166  nfields = split(line, field, "@")
3167  substed = 0
3168  len = length(field[1])
3169  for (i = 2; i < nfields; i++) {
3170    key = field[i]
3171    keylen = length(key)
3172    if (S_is_set[key]) {
3173      value = S[key]
3174      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3175      len += length(value) + length(field[++i])
3176      substed = 1
3177    } else
3178      len += 1 + keylen
3179  }
3180
3181  print line
3182}
3183
3184_ACAWK
3185_ACEOF
3186cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3187if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3188  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3189else
3190  cat
3191fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3192  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3193_ACEOF
3194
3195# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3196# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3197# trailing colons and then remove the whole line if VPATH becomes empty
3198# (actually we leave an empty line to preserve line numbers).
3199if test "x$srcdir" = x.; then
3200  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
3201h
3202s///
3203s/^/:/
3204s/[	 ]*$/:/
3205s/:\$(srcdir):/:/g
3206s/:\${srcdir}:/:/g
3207s/:@srcdir@:/:/g
3208s/^:*//
3209s/:*$//
3210x
3211s/\(=[	 ]*\).*/\1/
3212G
3213s/\n//
3214s/^[^=]*=[	 ]*$//
3215}'
3216fi
3217
3218cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3219fi # test -n "$CONFIG_FILES"
3220
3221
3222eval set X "  :F $CONFIG_FILES      "
3223shift
3224for ac_tag
3225do
3226  case $ac_tag in
3227  :[FHLC]) ac_mode=$ac_tag; continue;;
3228  esac
3229  case $ac_mode$ac_tag in
3230  :[FHL]*:*);;
3231  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3232  :[FH]-) ac_tag=-:-;;
3233  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3234  esac
3235  ac_save_IFS=$IFS
3236  IFS=:
3237  set x $ac_tag
3238  IFS=$ac_save_IFS
3239  shift
3240  ac_file=$1
3241  shift
3242
3243  case $ac_mode in
3244  :L) ac_source=$1;;
3245  :[FH])
3246    ac_file_inputs=
3247    for ac_f
3248    do
3249      case $ac_f in
3250      -) ac_f="$tmp/stdin";;
3251      *) # Look for the file first in the build tree, then in the source tree
3252	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
3253	 # because $ac_f cannot contain `:'.
3254	 test -f "$ac_f" ||
3255	   case $ac_f in
3256	   [\\/$]*) false;;
3257	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3258	   esac ||
3259	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3260      esac
3261      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3262      as_fn_append ac_file_inputs " '$ac_f'"
3263    done
3264
3265    # Let's still pretend it is `configure' which instantiates (i.e., don't
3266    # use $as_me), people would be surprised to read:
3267    #    /* config.h.  Generated by config.status.  */
3268    configure_input='Generated from '`
3269	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3270	`' by configure.'
3271    if test x"$ac_file" != x-; then
3272      configure_input="$ac_file.  $configure_input"
3273      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3274$as_echo "$as_me: creating $ac_file" >&6;}
3275    fi
3276    # Neutralize special characters interpreted by sed in replacement strings.
3277    case $configure_input in #(
3278    *\&* | *\|* | *\\* )
3279       ac_sed_conf_input=`$as_echo "$configure_input" |
3280       sed 's/[\\\\&|]/\\\\&/g'`;; #(
3281    *) ac_sed_conf_input=$configure_input;;
3282    esac
3283
3284    case $ac_tag in
3285    *:-:* | *:-) cat >"$tmp/stdin" \
3286      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3287    esac
3288    ;;
3289  esac
3290
3291  ac_dir=`$as_dirname -- "$ac_file" ||
3292$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3293	 X"$ac_file" : 'X\(//\)[^/]' \| \
3294	 X"$ac_file" : 'X\(//\)$' \| \
3295	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3296$as_echo X"$ac_file" |
3297    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3298	    s//\1/
3299	    q
3300	  }
3301	  /^X\(\/\/\)[^/].*/{
3302	    s//\1/
3303	    q
3304	  }
3305	  /^X\(\/\/\)$/{
3306	    s//\1/
3307	    q
3308	  }
3309	  /^X\(\/\).*/{
3310	    s//\1/
3311	    q
3312	  }
3313	  s/.*/./; q'`
3314  as_dir="$ac_dir"; as_fn_mkdir_p
3315  ac_builddir=.
3316
3317case "$ac_dir" in
3318.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3319*)
3320  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3321  # A ".." for each directory in $ac_dir_suffix.
3322  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3323  case $ac_top_builddir_sub in
3324  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3325  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3326  esac ;;
3327esac
3328ac_abs_top_builddir=$ac_pwd
3329ac_abs_builddir=$ac_pwd$ac_dir_suffix
3330# for backward compatibility:
3331ac_top_builddir=$ac_top_build_prefix
3332
3333case $srcdir in
3334  .)  # We are building in place.
3335    ac_srcdir=.
3336    ac_top_srcdir=$ac_top_builddir_sub
3337    ac_abs_top_srcdir=$ac_pwd ;;
3338  [\\/]* | ?:[\\/]* )  # Absolute name.
3339    ac_srcdir=$srcdir$ac_dir_suffix;
3340    ac_top_srcdir=$srcdir
3341    ac_abs_top_srcdir=$srcdir ;;
3342  *) # Relative name.
3343    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3344    ac_top_srcdir=$ac_top_build_prefix$srcdir
3345    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3346esac
3347ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3348
3349
3350  case $ac_mode in
3351  :F)
3352  #
3353  # CONFIG_FILE
3354  #
3355
3356  case $INSTALL in
3357  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3358  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
3359  esac
3360  ac_MKDIR_P=$MKDIR_P
3361  case $MKDIR_P in
3362  [\\/$]* | ?:[\\/]* ) ;;
3363  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
3364  esac
3365_ACEOF
3366
3367cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3368# If the template does not know about datarootdir, expand it.
3369# FIXME: This hack should be removed a few years after 2.60.
3370ac_datarootdir_hack=; ac_datarootdir_seen=
3371ac_sed_dataroot='
3372/datarootdir/ {
3373  p
3374  q
3375}
3376/@datadir@/p
3377/@docdir@/p
3378/@infodir@/p
3379/@localedir@/p
3380/@mandir@/p'
3381case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3382*datarootdir*) ac_datarootdir_seen=yes;;
3383*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3384  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3385$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3386_ACEOF
3387cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3388  ac_datarootdir_hack='
3389  s&@datadir@&$datadir&g
3390  s&@docdir@&$docdir&g
3391  s&@infodir@&$infodir&g
3392  s&@localedir@&$localedir&g
3393  s&@mandir@&$mandir&g
3394  s&\\\${datarootdir}&$datarootdir&g' ;;
3395esac
3396_ACEOF
3397
3398# Neutralize VPATH when `$srcdir' = `.'.
3399# Shell code in configure.ac might set extrasub.
3400# FIXME: do we really want to maintain this feature?
3401cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3402ac_sed_extra="$ac_vpsub
3403$extrasub
3404_ACEOF
3405cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3406:t
3407/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3408s|@configure_input@|$ac_sed_conf_input|;t t
3409s&@top_builddir@&$ac_top_builddir_sub&;t t
3410s&@top_build_prefix@&$ac_top_build_prefix&;t t
3411s&@srcdir@&$ac_srcdir&;t t
3412s&@abs_srcdir@&$ac_abs_srcdir&;t t
3413s&@top_srcdir@&$ac_top_srcdir&;t t
3414s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3415s&@builddir@&$ac_builddir&;t t
3416s&@abs_builddir@&$ac_abs_builddir&;t t
3417s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3418s&@INSTALL@&$ac_INSTALL&;t t
3419s&@MKDIR_P@&$ac_MKDIR_P&;t t
3420$ac_datarootdir_hack
3421"
3422eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
3423  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3424
3425test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3426  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
3427  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
3428  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3429which seems to be undefined.  Please make sure it is defined" >&5
3430$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3431which seems to be undefined.  Please make sure it is defined" >&2;}
3432
3433  rm -f "$tmp/stdin"
3434  case $ac_file in
3435  -) cat "$tmp/out" && rm -f "$tmp/out";;
3436  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
3437  esac \
3438  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3439 ;;
3440
3441
3442
3443  esac
3444
3445done # for ac_tag
3446
3447
3448as_fn_exit 0
3449_ACEOF
3450ac_clean_files=$ac_clean_files_save
3451
3452test $ac_write_fail = 0 ||
3453  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3454
3455
3456# configure is writing to config.log, and then calls config.status.
3457# config.status does its own redirection, appending to config.log.
3458# Unfortunately, on DOS this fails, as config.log is still kept open
3459# by configure, so config.status won't be able to write to it; its
3460# output is simply discarded.  So we exec the FD to /dev/null,
3461# effectively closing config.log, so it can be properly (re)opened and
3462# appended to by config.status.  When coming back to configure, we
3463# need to make the FD available again.
3464if test "$no_create" != yes; then
3465  ac_cs_success=:
3466  ac_config_status_args=
3467  test "$silent" = yes &&
3468    ac_config_status_args="$ac_config_status_args --quiet"
3469  exec 5>/dev/null
3470  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3471  exec 5>>config.log
3472  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3473  # would make configure fail if this is the last instruction.
3474  $ac_cs_success || as_fn_exit 1
3475fi
3476if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3477  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3478$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3479fi
3480
3481