1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for amavis-stats 0.1.11.
4#
5# Report bugs to <nomad@null.net>.
6#
7# Copyright (C) 2003 Free Software Foundation, Inc.
8# This configure script is free software; the Free Software Foundation
9# gives unlimited permission to copy, distribute and modify it.
10## --------------------- ##
11## M4sh Initialization.  ##
12## --------------------- ##
13
14# Be Bourne compatible
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16  emulate sh
17  NULLCMD=:
18  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19  # is contrary to our usage.  Disable this feature.
20  alias -g '${1+"$@"}'='"$@"'
21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22  set -o posix
23fi
24DUALCASE=1; export DUALCASE # for MKS sh
25
26# Support unset when possible.
27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28  as_unset=unset
29else
30  as_unset=false
31fi
32
33
34# Work around bugs in pre-3.0 UWIN ksh.
35$as_unset ENV MAIL MAILPATH
36PS1='$ '
37PS2='> '
38PS4='+ '
39
40# NLS nuisances.
41for as_var in \
42  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44  LC_TELEPHONE LC_TIME
45do
46  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47    eval $as_var=C; export $as_var
48  else
49    $as_unset $as_var
50  fi
51done
52
53# Required to use basename.
54if expr a : '\(a\)' >/dev/null 2>&1; then
55  as_expr=expr
56else
57  as_expr=false
58fi
59
60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61  as_basename=basename
62else
63  as_basename=false
64fi
65
66
67# Name of the executable.
68as_me=`$as_basename "$0" ||
69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70	 X"$0" : 'X\(//\)$' \| \
71	 X"$0" : 'X\(/\)$' \| \
72	 .     : '\(.\)' 2>/dev/null ||
73echo X/"$0" |
74    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
76  	  /^X\/\(\/\).*/{ s//\1/; q; }
77  	  s/.*/./; q'`
78
79
80# PATH needs CR, and LINENO needs CR and PATH.
81# Avoid depending upon Character Ranges.
82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85as_cr_digits='0123456789'
86as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88# The user is always right.
89if test "${PATH_SEPARATOR+set}" != set; then
90  echo "#! /bin/sh" >conf$$.sh
91  echo  "exit 0"   >>conf$$.sh
92  chmod +x conf$$.sh
93  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94    PATH_SEPARATOR=';'
95  else
96    PATH_SEPARATOR=:
97  fi
98  rm -f conf$$.sh
99fi
100
101
102  as_lineno_1=$LINENO
103  as_lineno_2=$LINENO
104  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105  test "x$as_lineno_1" != "x$as_lineno_2" &&
106  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107  # Find who we are.  Look in the path if we contain no path at all
108  # relative or not.
109  case $0 in
110    *[\\/]* ) as_myself=$0 ;;
111    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112for as_dir in $PATH
113do
114  IFS=$as_save_IFS
115  test -z "$as_dir" && as_dir=.
116  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117done
118
119       ;;
120  esac
121  # We did not find ourselves, most probably we were run as `sh COMMAND'
122  # in which case we are not to be found in the path.
123  if test "x$as_myself" = x; then
124    as_myself=$0
125  fi
126  if test ! -f "$as_myself"; then
127    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128   { (exit 1); exit 1; }; }
129  fi
130  case $CONFIG_SHELL in
131  '')
132    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134do
135  IFS=$as_save_IFS
136  test -z "$as_dir" && as_dir=.
137  for as_base in sh bash ksh sh5; do
138	 case $as_dir in
139	 /*)
140	   if ("$as_dir/$as_base" -c '
141  as_lineno_1=$LINENO
142  as_lineno_2=$LINENO
143  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144  test "x$as_lineno_1" != "x$as_lineno_2" &&
145  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148	     CONFIG_SHELL=$as_dir/$as_base
149	     export CONFIG_SHELL
150	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151	   fi;;
152	 esac
153       done
154done
155;;
156  esac
157
158  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159  # uniformly replaced by the line number.  The first 'sed' inserts a
160  # line-number line before each line; the second 'sed' does the real
161  # work.  The second script uses 'N' to pair each line-number line
162  # with the numbered line, and appends trailing '-' during
163  # substitution so that $LINENO is not a special case at line end.
164  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166  sed '=' <$as_myself |
167    sed '
168      N
169      s,$,-,
170      : loop
171      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172      t loop
173      s,-$,,
174      s,^['$as_cr_digits']*\n,,
175    ' >$as_me.lineno &&
176  chmod +x $as_me.lineno ||
177    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178   { (exit 1); exit 1; }; }
179
180  # Don't try to exec as it changes $[0], causing all sort of problems
181  # (the dirname of $[0] is not the place where we might find the
182  # original and so on.  Autoconf is especially sensible to this).
183  . ./$as_me.lineno
184  # Exit status is that of the last command.
185  exit
186}
187
188
189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190  *c*,-n*) ECHO_N= ECHO_C='
191' ECHO_T='	' ;;
192  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194esac
195
196if expr a : '\(a\)' >/dev/null 2>&1; then
197  as_expr=expr
198else
199  as_expr=false
200fi
201
202rm -f conf$$ conf$$.exe conf$$.file
203echo >conf$$.file
204if ln -s conf$$.file conf$$ 2>/dev/null; then
205  # We could just check for DJGPP; but this test a) works b) is more generic
206  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207  if test -f conf$$.exe; then
208    # Don't use ln at all; we don't have any links
209    as_ln_s='cp -p'
210  else
211    as_ln_s='ln -s'
212  fi
213elif ln conf$$.file conf$$ 2>/dev/null; then
214  as_ln_s=ln
215else
216  as_ln_s='cp -p'
217fi
218rm -f conf$$ conf$$.exe conf$$.file
219
220if mkdir -p . 2>/dev/null; then
221  as_mkdir_p=:
222else
223  test -d ./-p && rmdir ./-p
224  as_mkdir_p=false
225fi
226
227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
230as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232# Sed expression to map a string onto a valid variable name.
233as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS=" 	$as_nl"
241
242# CDPATH.
243$as_unset CDPATH
244
245
246# Name of the host.
247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248# so uname gets run too.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${CONFIG_SHELL-/bin/sh}
263
264# Maximum number of lines to put in a shell here document.
265# This variable seems obsolete.  It should probably be removed, and
266# only ac_max_sed_lines should be used.
267: ${ac_max_here_lines=38}
268
269# Identity of this package.
270PACKAGE_NAME='amavis-stats'
271PACKAGE_TARNAME='amavis-stats'
272PACKAGE_VERSION='0.1.11'
273PACKAGE_STRING='amavis-stats 0.1.11'
274PACKAGE_BUGREPORT='nomad@null.net'
275
276ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S install_prefix var_prefix amavis_user amavis_group web_user web_group web_url vers desc perl LIBOBJS LTLIBOBJS'
277ac_subst_files=''
278
279# Initialize some variables set by options.
280ac_init_help=
281ac_init_version=false
282# The variables have the same names as the options, with
283# dashes changed to underlines.
284cache_file=/dev/null
285exec_prefix=NONE
286no_create=
287no_recursion=
288prefix=NONE
289program_prefix=NONE
290program_suffix=NONE
291program_transform_name=s,x,x,
292silent=
293site=
294srcdir=
295verbose=
296x_includes=NONE
297x_libraries=NONE
298
299# Installation directory options.
300# These are left unexpanded so users can "make install exec_prefix=/foo"
301# and all the variables that are supposed to be based on exec_prefix
302# by default will actually change.
303# Use braces instead of parens because sh, perl, etc. also accept them.
304bindir='${exec_prefix}/bin'
305sbindir='${exec_prefix}/sbin'
306libexecdir='${exec_prefix}/libexec'
307datadir='${prefix}/share'
308sysconfdir='${prefix}/etc'
309sharedstatedir='${prefix}/com'
310localstatedir='${prefix}/var'
311libdir='${exec_prefix}/lib'
312includedir='${prefix}/include'
313oldincludedir='/usr/include'
314infodir='${prefix}/info'
315mandir='${prefix}/man'
316
317ac_prev=
318for ac_option
319do
320  # If the previous option needs an argument, assign it.
321  if test -n "$ac_prev"; then
322    eval "$ac_prev=\$ac_option"
323    ac_prev=
324    continue
325  fi
326
327  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
328
329  # Accept the important Cygnus configure options, so we can diagnose typos.
330
331  case $ac_option in
332
333  -bindir | --bindir | --bindi | --bind | --bin | --bi)
334    ac_prev=bindir ;;
335  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
336    bindir=$ac_optarg ;;
337
338  -build | --build | --buil | --bui | --bu)
339    ac_prev=build_alias ;;
340  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
341    build_alias=$ac_optarg ;;
342
343  -cache-file | --cache-file | --cache-fil | --cache-fi \
344  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
345    ac_prev=cache_file ;;
346  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
347  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
348    cache_file=$ac_optarg ;;
349
350  --config-cache | -C)
351    cache_file=config.cache ;;
352
353  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
354    ac_prev=datadir ;;
355  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
356  | --da=*)
357    datadir=$ac_optarg ;;
358
359  -disable-* | --disable-*)
360    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
361    # Reject names that are not valid shell variable names.
362    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
363      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
364   { (exit 1); exit 1; }; }
365    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
366    eval "enable_$ac_feature=no" ;;
367
368  -enable-* | --enable-*)
369    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
370    # Reject names that are not valid shell variable names.
371    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
372      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
373   { (exit 1); exit 1; }; }
374    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
375    case $ac_option in
376      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
377      *) ac_optarg=yes ;;
378    esac
379    eval "enable_$ac_feature='$ac_optarg'" ;;
380
381  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
382  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
383  | --exec | --exe | --ex)
384    ac_prev=exec_prefix ;;
385  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
386  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
387  | --exec=* | --exe=* | --ex=*)
388    exec_prefix=$ac_optarg ;;
389
390  -gas | --gas | --ga | --g)
391    # Obsolete; use --with-gas.
392    with_gas=yes ;;
393
394  -help | --help | --hel | --he | -h)
395    ac_init_help=long ;;
396  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
397    ac_init_help=recursive ;;
398  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
399    ac_init_help=short ;;
400
401  -host | --host | --hos | --ho)
402    ac_prev=host_alias ;;
403  -host=* | --host=* | --hos=* | --ho=*)
404    host_alias=$ac_optarg ;;
405
406  -includedir | --includedir | --includedi | --included | --include \
407  | --includ | --inclu | --incl | --inc)
408    ac_prev=includedir ;;
409  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
410  | --includ=* | --inclu=* | --incl=* | --inc=*)
411    includedir=$ac_optarg ;;
412
413  -infodir | --infodir | --infodi | --infod | --info | --inf)
414    ac_prev=infodir ;;
415  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
416    infodir=$ac_optarg ;;
417
418  -libdir | --libdir | --libdi | --libd)
419    ac_prev=libdir ;;
420  -libdir=* | --libdir=* | --libdi=* | --libd=*)
421    libdir=$ac_optarg ;;
422
423  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
424  | --libexe | --libex | --libe)
425    ac_prev=libexecdir ;;
426  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
427  | --libexe=* | --libex=* | --libe=*)
428    libexecdir=$ac_optarg ;;
429
430  -localstatedir | --localstatedir | --localstatedi | --localstated \
431  | --localstate | --localstat | --localsta | --localst \
432  | --locals | --local | --loca | --loc | --lo)
433    ac_prev=localstatedir ;;
434  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
435  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
436  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
437    localstatedir=$ac_optarg ;;
438
439  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
440    ac_prev=mandir ;;
441  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
442    mandir=$ac_optarg ;;
443
444  -nfp | --nfp | --nf)
445    # Obsolete; use --without-fp.
446    with_fp=no ;;
447
448  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449  | --no-cr | --no-c | -n)
450    no_create=yes ;;
451
452  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
453  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
454    no_recursion=yes ;;
455
456  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
457  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
458  | --oldin | --oldi | --old | --ol | --o)
459    ac_prev=oldincludedir ;;
460  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
461  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
462  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
463    oldincludedir=$ac_optarg ;;
464
465  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
466    ac_prev=prefix ;;
467  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
468    prefix=$ac_optarg ;;
469
470  -program-prefix | --program-prefix | --program-prefi | --program-pref \
471  | --program-pre | --program-pr | --program-p)
472    ac_prev=program_prefix ;;
473  -program-prefix=* | --program-prefix=* | --program-prefi=* \
474  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
475    program_prefix=$ac_optarg ;;
476
477  -program-suffix | --program-suffix | --program-suffi | --program-suff \
478  | --program-suf | --program-su | --program-s)
479    ac_prev=program_suffix ;;
480  -program-suffix=* | --program-suffix=* | --program-suffi=* \
481  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
482    program_suffix=$ac_optarg ;;
483
484  -program-transform-name | --program-transform-name \
485  | --program-transform-nam | --program-transform-na \
486  | --program-transform-n | --program-transform- \
487  | --program-transform | --program-transfor \
488  | --program-transfo | --program-transf \
489  | --program-trans | --program-tran \
490  | --progr-tra | --program-tr | --program-t)
491    ac_prev=program_transform_name ;;
492  -program-transform-name=* | --program-transform-name=* \
493  | --program-transform-nam=* | --program-transform-na=* \
494  | --program-transform-n=* | --program-transform-=* \
495  | --program-transform=* | --program-transfor=* \
496  | --program-transfo=* | --program-transf=* \
497  | --program-trans=* | --program-tran=* \
498  | --progr-tra=* | --program-tr=* | --program-t=*)
499    program_transform_name=$ac_optarg ;;
500
501  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
502  | -silent | --silent | --silen | --sile | --sil)
503    silent=yes ;;
504
505  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
506    ac_prev=sbindir ;;
507  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
508  | --sbi=* | --sb=*)
509    sbindir=$ac_optarg ;;
510
511  -sharedstatedir | --sharedstatedir | --sharedstatedi \
512  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
513  | --sharedst | --shareds | --shared | --share | --shar \
514  | --sha | --sh)
515    ac_prev=sharedstatedir ;;
516  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
517  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
518  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
519  | --sha=* | --sh=*)
520    sharedstatedir=$ac_optarg ;;
521
522  -site | --site | --sit)
523    ac_prev=site ;;
524  -site=* | --site=* | --sit=*)
525    site=$ac_optarg ;;
526
527  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
528    ac_prev=srcdir ;;
529  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
530    srcdir=$ac_optarg ;;
531
532  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
533  | --syscon | --sysco | --sysc | --sys | --sy)
534    ac_prev=sysconfdir ;;
535  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
536  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
537    sysconfdir=$ac_optarg ;;
538
539  -target | --target | --targe | --targ | --tar | --ta | --t)
540    ac_prev=target_alias ;;
541  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
542    target_alias=$ac_optarg ;;
543
544  -v | -verbose | --verbose | --verbos | --verbo | --verb)
545    verbose=yes ;;
546
547  -version | --version | --versio | --versi | --vers | -V)
548    ac_init_version=: ;;
549
550  -with-* | --with-*)
551    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
552    # Reject names that are not valid shell variable names.
553    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554      { echo "$as_me: error: invalid package name: $ac_package" >&2
555   { (exit 1); exit 1; }; }
556    ac_package=`echo $ac_package| sed 's/-/_/g'`
557    case $ac_option in
558      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
559      *) ac_optarg=yes ;;
560    esac
561    eval "with_$ac_package='$ac_optarg'" ;;
562
563  -without-* | --without-*)
564    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
565    # Reject names that are not valid shell variable names.
566    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
567      { echo "$as_me: error: invalid package name: $ac_package" >&2
568   { (exit 1); exit 1; }; }
569    ac_package=`echo $ac_package | sed 's/-/_/g'`
570    eval "with_$ac_package=no" ;;
571
572  --x)
573    # Obsolete; use --with-x.
574    with_x=yes ;;
575
576  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
577  | --x-incl | --x-inc | --x-in | --x-i)
578    ac_prev=x_includes ;;
579  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
580  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
581    x_includes=$ac_optarg ;;
582
583  -x-libraries | --x-libraries | --x-librarie | --x-librari \
584  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
585    ac_prev=x_libraries ;;
586  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
587  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
588    x_libraries=$ac_optarg ;;
589
590  -*) { echo "$as_me: error: unrecognized option: $ac_option
591Try \`$0 --help' for more information." >&2
592   { (exit 1); exit 1; }; }
593    ;;
594
595  *=*)
596    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
597    # Reject names that are not valid shell variable names.
598    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
599      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
600   { (exit 1); exit 1; }; }
601    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
602    eval "$ac_envvar='$ac_optarg'"
603    export $ac_envvar ;;
604
605  *)
606    # FIXME: should be removed in autoconf 3.0.
607    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
608    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
609      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
610    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
611    ;;
612
613  esac
614done
615
616if test -n "$ac_prev"; then
617  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
618  { echo "$as_me: error: missing argument to $ac_option" >&2
619   { (exit 1); exit 1; }; }
620fi
621
622# Be sure to have absolute paths.
623for ac_var in exec_prefix prefix
624do
625  eval ac_val=$`echo $ac_var`
626  case $ac_val in
627    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
628    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
629   { (exit 1); exit 1; }; };;
630  esac
631done
632
633# Be sure to have absolute paths.
634for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
635	      localstatedir libdir includedir oldincludedir infodir mandir
636do
637  eval ac_val=$`echo $ac_var`
638  case $ac_val in
639    [\\/$]* | ?:[\\/]* ) ;;
640    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
641   { (exit 1); exit 1; }; };;
642  esac
643done
644
645# There might be people who depend on the old broken behavior: `$host'
646# used to hold the argument of --host etc.
647# FIXME: To remove some day.
648build=$build_alias
649host=$host_alias
650target=$target_alias
651
652# FIXME: To remove some day.
653if test "x$host_alias" != x; then
654  if test "x$build_alias" = x; then
655    cross_compiling=maybe
656    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
657    If a cross compiler is detected then cross compile mode will be used." >&2
658  elif test "x$build_alias" != "x$host_alias"; then
659    cross_compiling=yes
660  fi
661fi
662
663ac_tool_prefix=
664test -n "$host_alias" && ac_tool_prefix=$host_alias-
665
666test "$silent" = yes && exec 6>/dev/null
667
668
669# Find the source files, if location was not specified.
670if test -z "$srcdir"; then
671  ac_srcdir_defaulted=yes
672  # Try the directory containing this script, then its parent.
673  ac_confdir=`(dirname "$0") 2>/dev/null ||
674$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
675	 X"$0" : 'X\(//\)[^/]' \| \
676	 X"$0" : 'X\(//\)$' \| \
677	 X"$0" : 'X\(/\)' \| \
678	 .     : '\(.\)' 2>/dev/null ||
679echo X"$0" |
680    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
681  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
682  	  /^X\(\/\/\)$/{ s//\1/; q; }
683  	  /^X\(\/\).*/{ s//\1/; q; }
684  	  s/.*/./; q'`
685  srcdir=$ac_confdir
686  if test ! -r $srcdir/$ac_unique_file; then
687    srcdir=..
688  fi
689else
690  ac_srcdir_defaulted=no
691fi
692if test ! -r $srcdir/$ac_unique_file; then
693  if test "$ac_srcdir_defaulted" = yes; then
694    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
695   { (exit 1); exit 1; }; }
696  else
697    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
698   { (exit 1); exit 1; }; }
699  fi
700fi
701(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
702  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
703   { (exit 1); exit 1; }; }
704srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
705ac_env_build_alias_set=${build_alias+set}
706ac_env_build_alias_value=$build_alias
707ac_cv_env_build_alias_set=${build_alias+set}
708ac_cv_env_build_alias_value=$build_alias
709ac_env_host_alias_set=${host_alias+set}
710ac_env_host_alias_value=$host_alias
711ac_cv_env_host_alias_set=${host_alias+set}
712ac_cv_env_host_alias_value=$host_alias
713ac_env_target_alias_set=${target_alias+set}
714ac_env_target_alias_value=$target_alias
715ac_cv_env_target_alias_set=${target_alias+set}
716ac_cv_env_target_alias_value=$target_alias
717
718#
719# Report the --help message.
720#
721if test "$ac_init_help" = "long"; then
722  # Omit some internal or obsolete options to make the list less imposing.
723  # This message is too long to be a string in the A/UX 3.1 sh.
724  cat <<_ACEOF
725\`configure' configures amavis-stats 0.1.11 to adapt to many kinds of systems.
726
727Usage: $0 [OPTION]... [VAR=VALUE]...
728
729To assign environment variables (e.g., CC, CFLAGS...), specify them as
730VAR=VALUE.  See below for descriptions of some of the useful variables.
731
732Defaults for the options are specified in brackets.
733
734Configuration:
735  -h, --help              display this help and exit
736      --help=short        display options specific to this package
737      --help=recursive    display the short help of all the included packages
738  -V, --version           display version information and exit
739  -q, --quiet, --silent   do not print \`checking...' messages
740      --cache-file=FILE   cache test results in FILE [disabled]
741  -C, --config-cache      alias for \`--cache-file=config.cache'
742  -n, --no-create         do not create output files
743      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
744
745_ACEOF
746
747  cat <<_ACEOF
748Installation directories:
749  --prefix=PREFIX         install architecture-independent files in PREFIX
750			  [$ac_default_prefix]
751  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
752			  [PREFIX]
753
754By default, \`make install' will install all the files in
755\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
756an installation prefix other than \`$ac_default_prefix' using \`--prefix',
757for instance \`--prefix=\$HOME'.
758
759For better control, use the options below.
760
761Fine tuning of the installation directories:
762  --bindir=DIR           user executables [EPREFIX/bin]
763  --sbindir=DIR          system admin executables [EPREFIX/sbin]
764  --libexecdir=DIR       program executables [EPREFIX/libexec]
765  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
766  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
767  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
768  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
769  --libdir=DIR           object code libraries [EPREFIX/lib]
770  --includedir=DIR       C header files [PREFIX/include]
771  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
772  --infodir=DIR          info documentation [PREFIX/info]
773  --mandir=DIR           man documentation [PREFIX/man]
774_ACEOF
775
776  cat <<\_ACEOF
777_ACEOF
778fi
779
780if test -n "$ac_init_help"; then
781  case $ac_init_help in
782     short | recursive ) echo "Configuration of amavis-stats 0.1.11:";;
783   esac
784  cat <<\_ACEOF
785
786Optional Packages:
787  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
788  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
789  --with-install-prefix=DIR   installation prefix
790  --with-var-prefix=DIR       /var prefix
791  --with-amavis-user=USER     specify user to runs as amavis
792  --with-amavis-group=GROUP   specify group to run as amavis
793  --with-web-user=USER        specify user which webserver runs as www
794  --with-web-group=GROUP      specify group which webserver runs as www
795  --with-web-url=URL   specify group which webserver runs as /amavis-stats
796
797Report bugs to <nomad@null.net>.
798_ACEOF
799fi
800
801if test "$ac_init_help" = "recursive"; then
802  # If there are subdirs, report their specific --help.
803  ac_popdir=`pwd`
804  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
805    test -d $ac_dir || continue
806    ac_builddir=.
807
808if test "$ac_dir" != .; then
809  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
810  # A "../" for each directory in $ac_dir_suffix.
811  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
812else
813  ac_dir_suffix= ac_top_builddir=
814fi
815
816case $srcdir in
817  .)  # No --srcdir option.  We are building in place.
818    ac_srcdir=.
819    if test -z "$ac_top_builddir"; then
820       ac_top_srcdir=.
821    else
822       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
823    fi ;;
824  [\\/]* | ?:[\\/]* )  # Absolute path.
825    ac_srcdir=$srcdir$ac_dir_suffix;
826    ac_top_srcdir=$srcdir ;;
827  *) # Relative path.
828    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
829    ac_top_srcdir=$ac_top_builddir$srcdir ;;
830esac
831
832# Do not use `cd foo && pwd` to compute absolute paths, because
833# the directories may not exist.
834case `pwd` in
835.) ac_abs_builddir="$ac_dir";;
836*)
837  case "$ac_dir" in
838  .) ac_abs_builddir=`pwd`;;
839  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
840  *) ac_abs_builddir=`pwd`/"$ac_dir";;
841  esac;;
842esac
843case $ac_abs_builddir in
844.) ac_abs_top_builddir=${ac_top_builddir}.;;
845*)
846  case ${ac_top_builddir}. in
847  .) ac_abs_top_builddir=$ac_abs_builddir;;
848  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
849  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
850  esac;;
851esac
852case $ac_abs_builddir in
853.) ac_abs_srcdir=$ac_srcdir;;
854*)
855  case $ac_srcdir in
856  .) ac_abs_srcdir=$ac_abs_builddir;;
857  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
858  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
859  esac;;
860esac
861case $ac_abs_builddir in
862.) ac_abs_top_srcdir=$ac_top_srcdir;;
863*)
864  case $ac_top_srcdir in
865  .) ac_abs_top_srcdir=$ac_abs_builddir;;
866  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
867  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
868  esac;;
869esac
870
871    cd $ac_dir
872    # Check for guested configure; otherwise get Cygnus style configure.
873    if test -f $ac_srcdir/configure.gnu; then
874      echo
875      $SHELL $ac_srcdir/configure.gnu  --help=recursive
876    elif test -f $ac_srcdir/configure; then
877      echo
878      $SHELL $ac_srcdir/configure  --help=recursive
879    elif test -f $ac_srcdir/configure.ac ||
880	   test -f $ac_srcdir/configure.in; then
881      echo
882      $ac_configure --help
883    else
884      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
885    fi
886    cd "$ac_popdir"
887  done
888fi
889
890test -n "$ac_init_help" && exit 0
891if $ac_init_version; then
892  cat <<\_ACEOF
893amavis-stats configure 0.1.11
894generated by GNU Autoconf 2.59
895
896Copyright (C) 2003 Free Software Foundation, Inc.
897This configure script is free software; the Free Software Foundation
898gives unlimited permission to copy, distribute and modify it.
899_ACEOF
900  exit 0
901fi
902exec 5>config.log
903cat >&5 <<_ACEOF
904This file contains any messages produced by compilers while
905running configure, to aid debugging if configure makes a mistake.
906
907It was created by amavis-stats $as_me 0.1.11, which was
908generated by GNU Autoconf 2.59.  Invocation command line was
909
910  $ $0 $@
911
912_ACEOF
913{
914cat <<_ASUNAME
915## --------- ##
916## Platform. ##
917## --------- ##
918
919hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
920uname -m = `(uname -m) 2>/dev/null || echo unknown`
921uname -r = `(uname -r) 2>/dev/null || echo unknown`
922uname -s = `(uname -s) 2>/dev/null || echo unknown`
923uname -v = `(uname -v) 2>/dev/null || echo unknown`
924
925/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
926/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
927
928/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
929/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
930/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
931hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
932/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
933/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
934/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
935
936_ASUNAME
937
938as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
939for as_dir in $PATH
940do
941  IFS=$as_save_IFS
942  test -z "$as_dir" && as_dir=.
943  echo "PATH: $as_dir"
944done
945
946} >&5
947
948cat >&5 <<_ACEOF
949
950
951## ----------- ##
952## Core tests. ##
953## ----------- ##
954
955_ACEOF
956
957
958# Keep a trace of the command line.
959# Strip out --no-create and --no-recursion so they do not pile up.
960# Strip out --silent because we don't want to record it for future runs.
961# Also quote any args containing shell meta-characters.
962# Make two passes to allow for proper duplicate-argument suppression.
963ac_configure_args=
964ac_configure_args0=
965ac_configure_args1=
966ac_sep=
967ac_must_keep_next=false
968for ac_pass in 1 2
969do
970  for ac_arg
971  do
972    case $ac_arg in
973    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
974    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
975    | -silent | --silent | --silen | --sile | --sil)
976      continue ;;
977    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
978      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
979    esac
980    case $ac_pass in
981    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
982    2)
983      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
984      if test $ac_must_keep_next = true; then
985	ac_must_keep_next=false # Got value, back to normal.
986      else
987	case $ac_arg in
988	  *=* | --config-cache | -C | -disable-* | --disable-* \
989	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
990	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
991	  | -with-* | --with-* | -without-* | --without-* | --x)
992	    case "$ac_configure_args0 " in
993	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
994	    esac
995	    ;;
996	  -* ) ac_must_keep_next=true ;;
997	esac
998      fi
999      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1000      # Get rid of the leading space.
1001      ac_sep=" "
1002      ;;
1003    esac
1004  done
1005done
1006$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1007$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1008
1009# When interrupted or exit'd, cleanup temporary files, and complete
1010# config.log.  We remove comments because anyway the quotes in there
1011# would cause problems or look ugly.
1012# WARNING: Be sure not to use single quotes in there, as some shells,
1013# such as our DU 5.0 friend, will then `close' the trap.
1014trap 'exit_status=$?
1015  # Save into config.log some information that might help in debugging.
1016  {
1017    echo
1018
1019    cat <<\_ASBOX
1020## ---------------- ##
1021## Cache variables. ##
1022## ---------------- ##
1023_ASBOX
1024    echo
1025    # The following way of writing the cache mishandles newlines in values,
1026{
1027  (set) 2>&1 |
1028    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1029    *ac_space=\ *)
1030      sed -n \
1031	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1032	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1033      ;;
1034    *)
1035      sed -n \
1036	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1037      ;;
1038    esac;
1039}
1040    echo
1041
1042    cat <<\_ASBOX
1043## ----------------- ##
1044## Output variables. ##
1045## ----------------- ##
1046_ASBOX
1047    echo
1048    for ac_var in $ac_subst_vars
1049    do
1050      eval ac_val=$`echo $ac_var`
1051      echo "$ac_var='"'"'$ac_val'"'"'"
1052    done | sort
1053    echo
1054
1055    if test -n "$ac_subst_files"; then
1056      cat <<\_ASBOX
1057## ------------- ##
1058## Output files. ##
1059## ------------- ##
1060_ASBOX
1061      echo
1062      for ac_var in $ac_subst_files
1063      do
1064	eval ac_val=$`echo $ac_var`
1065	echo "$ac_var='"'"'$ac_val'"'"'"
1066      done | sort
1067      echo
1068    fi
1069
1070    if test -s confdefs.h; then
1071      cat <<\_ASBOX
1072## ----------- ##
1073## confdefs.h. ##
1074## ----------- ##
1075_ASBOX
1076      echo
1077      sed "/^$/d" confdefs.h | sort
1078      echo
1079    fi
1080    test "$ac_signal" != 0 &&
1081      echo "$as_me: caught signal $ac_signal"
1082    echo "$as_me: exit $exit_status"
1083  } >&5
1084  rm -f core *.core &&
1085  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1086    exit $exit_status
1087     ' 0
1088for ac_signal in 1 2 13 15; do
1089  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1090done
1091ac_signal=0
1092
1093# confdefs.h avoids OS command line length limits that DEFS can exceed.
1094rm -rf conftest* confdefs.h
1095# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1096echo >confdefs.h
1097
1098# Predefined preprocessor variables.
1099
1100cat >>confdefs.h <<_ACEOF
1101#define PACKAGE_NAME "$PACKAGE_NAME"
1102_ACEOF
1103
1104
1105cat >>confdefs.h <<_ACEOF
1106#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1107_ACEOF
1108
1109
1110cat >>confdefs.h <<_ACEOF
1111#define PACKAGE_VERSION "$PACKAGE_VERSION"
1112_ACEOF
1113
1114
1115cat >>confdefs.h <<_ACEOF
1116#define PACKAGE_STRING "$PACKAGE_STRING"
1117_ACEOF
1118
1119
1120cat >>confdefs.h <<_ACEOF
1121#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1122_ACEOF
1123
1124
1125# Let the site file select an alternate cache file if it wants to.
1126# Prefer explicitly selected file to automatically selected ones.
1127if test -z "$CONFIG_SITE"; then
1128  if test "x$prefix" != xNONE; then
1129    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1130  else
1131    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1132  fi
1133fi
1134for ac_site_file in $CONFIG_SITE; do
1135  if test -r "$ac_site_file"; then
1136    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1137echo "$as_me: loading site script $ac_site_file" >&6;}
1138    sed 's/^/| /' "$ac_site_file" >&5
1139    . "$ac_site_file"
1140  fi
1141done
1142
1143if test -r "$cache_file"; then
1144  # Some versions of bash will fail to source /dev/null (special
1145  # files actually), so we avoid doing that.
1146  if test -f "$cache_file"; then
1147    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1148echo "$as_me: loading cache $cache_file" >&6;}
1149    case $cache_file in
1150      [\\/]* | ?:[\\/]* ) . $cache_file;;
1151      *)                      . ./$cache_file;;
1152    esac
1153  fi
1154else
1155  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1156echo "$as_me: creating cache $cache_file" >&6;}
1157  >$cache_file
1158fi
1159
1160# Check that the precious variables saved in the cache have kept the same
1161# value.
1162ac_cache_corrupted=false
1163for ac_var in `(set) 2>&1 |
1164	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1165  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1166  eval ac_new_set=\$ac_env_${ac_var}_set
1167  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1168  eval ac_new_val="\$ac_env_${ac_var}_value"
1169  case $ac_old_set,$ac_new_set in
1170    set,)
1171      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1172echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1173      ac_cache_corrupted=: ;;
1174    ,set)
1175      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1176echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1177      ac_cache_corrupted=: ;;
1178    ,);;
1179    *)
1180      if test "x$ac_old_val" != "x$ac_new_val"; then
1181	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1182echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1183	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1184echo "$as_me:   former value:  $ac_old_val" >&2;}
1185	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1186echo "$as_me:   current value: $ac_new_val" >&2;}
1187	ac_cache_corrupted=:
1188      fi;;
1189  esac
1190  # Pass precious variables to config.status.
1191  if test "$ac_new_set" = set; then
1192    case $ac_new_val in
1193    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1194      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1195    *) ac_arg=$ac_var=$ac_new_val ;;
1196    esac
1197    case " $ac_configure_args " in
1198      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1199      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1200    esac
1201  fi
1202done
1203if $ac_cache_corrupted; then
1204  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1205echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1206  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1207echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1208   { (exit 1); exit 1; }; }
1209fi
1210
1211ac_ext=c
1212ac_cpp='$CPP $CPPFLAGS'
1213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1215ac_compiler_gnu=$ac_cv_c_compiler_gnu
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244# Checks for programs.
1245ac_aux_dir=
1246for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1247  if test -f $ac_dir/install-sh; then
1248    ac_aux_dir=$ac_dir
1249    ac_install_sh="$ac_aux_dir/install-sh -c"
1250    break
1251  elif test -f $ac_dir/install.sh; then
1252    ac_aux_dir=$ac_dir
1253    ac_install_sh="$ac_aux_dir/install.sh -c"
1254    break
1255  elif test -f $ac_dir/shtool; then
1256    ac_aux_dir=$ac_dir
1257    ac_install_sh="$ac_aux_dir/shtool install -c"
1258    break
1259  fi
1260done
1261if test -z "$ac_aux_dir"; then
1262  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1263echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1264   { (exit 1); exit 1; }; }
1265fi
1266ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1267ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1268ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1269
1270# Find a good install program.  We prefer a C program (faster),
1271# so one script is as good as another.  But avoid the broken or
1272# incompatible versions:
1273# SysV /etc/install, /usr/sbin/install
1274# SunOS /usr/etc/install
1275# IRIX /sbin/install
1276# AIX /bin/install
1277# AmigaOS /C/install, which installs bootblocks on floppy discs
1278# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1279# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1280# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1281# OS/2's system install, which has a completely different semantic
1282# ./install, which can be erroneously created by make from ./install.sh.
1283echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1284echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1285if test -z "$INSTALL"; then
1286if test "${ac_cv_path_install+set}" = set; then
1287  echo $ECHO_N "(cached) $ECHO_C" >&6
1288else
1289  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1290for as_dir in $PATH
1291do
1292  IFS=$as_save_IFS
1293  test -z "$as_dir" && as_dir=.
1294  # Account for people who put trailing slashes in PATH elements.
1295case $as_dir/ in
1296  ./ | .// | /cC/* | \
1297  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1298  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1299  /usr/ucb/* ) ;;
1300  *)
1301    # OSF1 and SCO ODT 3.0 have their own names for install.
1302    # Don't use installbsd from OSF since it installs stuff as root
1303    # by default.
1304    for ac_prog in ginstall scoinst install; do
1305      for ac_exec_ext in '' $ac_executable_extensions; do
1306	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1307	  if test $ac_prog = install &&
1308	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1309	    # AIX install.  It has an incompatible calling convention.
1310	    :
1311	  elif test $ac_prog = install &&
1312	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1313	    # program-specific install script used by HP pwplus--don't use.
1314	    :
1315	  else
1316	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1317	    break 3
1318	  fi
1319	fi
1320      done
1321    done
1322    ;;
1323esac
1324done
1325
1326
1327fi
1328  if test "${ac_cv_path_install+set}" = set; then
1329    INSTALL=$ac_cv_path_install
1330  else
1331    # As a last resort, use the slow shell script.  We don't cache a
1332    # path for INSTALL within a source directory, because that will
1333    # break other packages using the cache if that directory is
1334    # removed, or if the path is relative.
1335    INSTALL=$ac_install_sh
1336  fi
1337fi
1338echo "$as_me:$LINENO: result: $INSTALL" >&5
1339echo "${ECHO_T}$INSTALL" >&6
1340
1341# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1342# It thinks the first close brace ends the variable substitution.
1343test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1344
1345test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1346
1347test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1348
1349echo "$as_me:$LINENO: checking whether ln -s works" >&5
1350echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
1351LN_S=$as_ln_s
1352if test "$LN_S" = "ln -s"; then
1353  echo "$as_me:$LINENO: result: yes" >&5
1354echo "${ECHO_T}yes" >&6
1355else
1356  echo "$as_me:$LINENO: result: no, using $LN_S" >&5
1357echo "${ECHO_T}no, using $LN_S" >&6
1358fi
1359
1360
1361# Checks for libraries.
1362
1363# Checks for header files.
1364
1365# Checks for typedefs, structures, and compiler characteristics.
1366
1367# Checks for library functions.
1368
1369# Check for an alternate installation directory
1370install_prefix=""
1371
1372echo "$as_me:$LINENO: checking for --with-install-prefix" >&5
1373echo $ECHO_N "checking for --with-install-prefix... $ECHO_C" >&6
1374
1375# Check whether --with-install-prefix or --without-install-prefix was given.
1376if test "${with_install_prefix+set}" = set; then
1377  withval="$with_install_prefix"
1378
1379fi;
1380case "$with_install_prefix" in
1381        "")    ;;
1382        *)     install_prefix="$with_install_prefix";
1383esac
1384echo "$as_me:$LINENO: result: $install_prefix" >&5
1385echo "${ECHO_T}$install_prefix" >&6
1386
1387# Check for an alternate data directory, separate from installation dir.
1388var_prefix=""
1389
1390echo "$as_me:$LINENO: checking for --with-var-prefix" >&5
1391echo $ECHO_N "checking for --with-var-prefix... $ECHO_C" >&6
1392
1393# Check whether --with-var-prefix or --without-var-prefix was given.
1394if test "${with_var_prefix+set}" = set; then
1395  withval="$with_var_prefix"
1396
1397fi;
1398case "$with_var_prefix" in
1399        "")    ;;
1400        *)     var_prefix="$with_var_prefix";
1401esac
1402echo "$as_me:$LINENO: result: $var_prefix" >&5
1403echo "${ECHO_T}$var_prefix" >&6
1404
1405# Check for some other uid to use than `amavis'
1406amavis_user="amavis"
1407
1408echo "$as_me:$LINENO: checking for --with-amavis-user" >&5
1409echo $ECHO_N "checking for --with-amavis-user... $ECHO_C" >&6
1410
1411# Check whether --with-amavis-user or --without-amavis-user was given.
1412if test "${with_amavis_user+set}" = set; then
1413  withval="$with_amavis_user"
1414
1415fi;
1416case "$with_amavis_user" in
1417        "")    ;;
1418        *)     amavis_user="$with_amavis_user";
1419esac
1420echo "$as_me:$LINENO: result: $amavis_user" >&5
1421echo "${ECHO_T}$amavis_user" >&6
1422
1423# Check for some other gid to use than `amavis'
1424amavis_group="amavis"
1425
1426echo "$as_me:$LINENO: checking for --with-amavis-group" >&5
1427echo $ECHO_N "checking for --with-amavis-group... $ECHO_C" >&6
1428
1429# Check whether --with-amavis-group or --without-amavis-group was given.
1430if test "${with_amavis_group+set}" = set; then
1431  withval="$with_amavis_group"
1432
1433fi;
1434case "$with_amavis_group" in
1435        "")    ;;
1436        *)     amavis_group="$with_amavis_group";
1437esac
1438echo "$as_me:$LINENO: result: $amavis_group" >&5
1439echo "${ECHO_T}$amavis_group" >&6
1440
1441# Check for some other uid to use than `www'
1442web_user="www"
1443
1444echo "$as_me:$LINENO: checking for --with-web-user" >&5
1445echo $ECHO_N "checking for --with-web-user... $ECHO_C" >&6
1446
1447# Check whether --with-web-user or --without-web-user was given.
1448if test "${with_web_user+set}" = set; then
1449  withval="$with_web_user"
1450
1451fi;
1452case "$with_web_user" in
1453        "")    ;;
1454        *)     web_user="$with_web_user";
1455esac
1456echo "$as_me:$LINENO: result: $web_user" >&5
1457echo "${ECHO_T}$web_user" >&6
1458
1459# Check for some other gid to use than `www'
1460web_group="www"
1461
1462echo "$as_me:$LINENO: checking for --with-web-group" >&5
1463echo $ECHO_N "checking for --with-web-group... $ECHO_C" >&6
1464
1465# Check whether --with-web-group or --without-web-group was given.
1466if test "${with_web_group+set}" = set; then
1467  withval="$with_web_group"
1468
1469fi;
1470case "$with_web_group" in
1471        "")    ;;
1472        *)     web_group="$with_web_group";
1473esac
1474echo "$as_me:$LINENO: result: $web_group" >&5
1475echo "${ECHO_T}$web_group" >&6
1476
1477# Check for some other url to use than `/amavis-stats'
1478web_url="/amavis-stats"
1479
1480echo "$as_me:$LINENO: checking for --with-web-url" >&5
1481echo $ECHO_N "checking for --with-web-url... $ECHO_C" >&6
1482
1483# Check whether --with-web-url or --without-web-url was given.
1484if test "${with_web_url+set}" = set; then
1485  withval="$with_web_url"
1486
1487fi;
1488case "$with_web_url" in
1489        "")    ;;
1490        *)     web_url="$with_web_url";
1491esac
1492echo "$as_me:$LINENO: result: $web_url" >&5
1493echo "${ECHO_T}$web_url" >&6
1494
1495vers=`debian/version`
1496
1497desc=`debian/version -d`
1498
1499perl=`which perl`
1500
1501
1502          ac_config_files="$ac_config_files Makefile"
1503
1504cat >confcache <<\_ACEOF
1505# This file is a shell script that caches the results of configure
1506# tests run on this system so they can be shared between configure
1507# scripts and configure runs, see configure's option --config-cache.
1508# It is not useful on other systems.  If it contains results you don't
1509# want to keep, you may remove or edit it.
1510#
1511# config.status only pays attention to the cache file if you give it
1512# the --recheck option to rerun configure.
1513#
1514# `ac_cv_env_foo' variables (set or unset) will be overridden when
1515# loading this file, other *unset* `ac_cv_foo' will be assigned the
1516# following values.
1517
1518_ACEOF
1519
1520# The following way of writing the cache mishandles newlines in values,
1521# but we know of no workaround that is simple, portable, and efficient.
1522# So, don't put newlines in cache variables' values.
1523# Ultrix sh set writes to stderr and can't be redirected directly,
1524# and sets the high bit in the cache file unless we assign to the vars.
1525{
1526  (set) 2>&1 |
1527    case `(ac_space=' '; set | grep ac_space) 2>&1` in
1528    *ac_space=\ *)
1529      # `set' does not quote correctly, so add quotes (double-quote
1530      # substitution turns \\\\ into \\, and sed turns \\ into \).
1531      sed -n \
1532	"s/'/'\\\\''/g;
1533	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1534      ;;
1535    *)
1536      # `set' quotes correctly as required by POSIX, so do not add quotes.
1537      sed -n \
1538	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1539      ;;
1540    esac;
1541} |
1542  sed '
1543     t clear
1544     : clear
1545     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1546     t end
1547     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1548     : end' >>confcache
1549if diff $cache_file confcache >/dev/null 2>&1; then :; else
1550  if test -w $cache_file; then
1551    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
1552    cat confcache >$cache_file
1553  else
1554    echo "not updating unwritable cache $cache_file"
1555  fi
1556fi
1557rm -f confcache
1558
1559test "x$prefix" = xNONE && prefix=$ac_default_prefix
1560# Let make expand exec_prefix.
1561test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1562
1563# VPATH may cause trouble with some makes, so we remove $(srcdir),
1564# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
1565# trailing colons and then remove the whole line if VPATH becomes empty
1566# (actually we leave an empty line to preserve line numbers).
1567if test "x$srcdir" = x.; then
1568  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
1569s/:*\$(srcdir):*/:/;
1570s/:*\${srcdir}:*/:/;
1571s/:*@srcdir@:*/:/;
1572s/^\([^=]*=[	 ]*\):*/\1/;
1573s/:*$//;
1574s/^[^=]*=[	 ]*$//;
1575}'
1576fi
1577
1578# Transform confdefs.h into DEFS.
1579# Protect against shell expansion while executing Makefile rules.
1580# Protect against Makefile macro expansion.
1581#
1582# If the first sed substitution is executed (which looks for macros that
1583# take arguments), then we branch to the quote section.  Otherwise,
1584# look for a macro that doesn't take arguments.
1585cat >confdef2opt.sed <<\_ACEOF
1586t clear
1587: clear
1588s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\),-D\1=\2,g
1589t quote
1590s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\),-D\1=\2,g
1591t quote
1592d
1593: quote
1594s,[	 `~#$^&*(){}\\|;'"<>?],\\&,g
1595s,\[,\\&,g
1596s,\],\\&,g
1597s,\$,$$,g
1598p
1599_ACEOF
1600# We use echo to avoid assuming a particular line-breaking character.
1601# The extra dot is to prevent the shell from consuming trailing
1602# line-breaks from the sub-command output.  A line-break within
1603# single-quotes doesn't work because, if this script is created in a
1604# platform that uses two characters for line-breaks (e.g., DOS), tr
1605# would break.
1606ac_LF_and_DOT=`echo; echo .`
1607DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
1608rm -f confdef2opt.sed
1609
1610
1611ac_libobjs=
1612ac_ltlibobjs=
1613for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1614  # 1. Remove the extension, and $U if already installed.
1615  ac_i=`echo "$ac_i" |
1616	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
1617  # 2. Add them.
1618  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
1619  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
1620done
1621LIBOBJS=$ac_libobjs
1622
1623LTLIBOBJS=$ac_ltlibobjs
1624
1625
1626
1627: ${CONFIG_STATUS=./config.status}
1628ac_clean_files_save=$ac_clean_files
1629ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1630{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
1631echo "$as_me: creating $CONFIG_STATUS" >&6;}
1632cat >$CONFIG_STATUS <<_ACEOF
1633#! $SHELL
1634# Generated by $as_me.
1635# Run this file to recreate the current configuration.
1636# Compiler output produced by configure, useful for debugging
1637# configure, is in config.log if it exists.
1638
1639debug=false
1640ac_cs_recheck=false
1641ac_cs_silent=false
1642SHELL=\${CONFIG_SHELL-$SHELL}
1643_ACEOF
1644
1645cat >>$CONFIG_STATUS <<\_ACEOF
1646## --------------------- ##
1647## M4sh Initialization.  ##
1648## --------------------- ##
1649
1650# Be Bourne compatible
1651if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1652  emulate sh
1653  NULLCMD=:
1654  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1655  # is contrary to our usage.  Disable this feature.
1656  alias -g '${1+"$@"}'='"$@"'
1657elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
1658  set -o posix
1659fi
1660DUALCASE=1; export DUALCASE # for MKS sh
1661
1662# Support unset when possible.
1663if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1664  as_unset=unset
1665else
1666  as_unset=false
1667fi
1668
1669
1670# Work around bugs in pre-3.0 UWIN ksh.
1671$as_unset ENV MAIL MAILPATH
1672PS1='$ '
1673PS2='> '
1674PS4='+ '
1675
1676# NLS nuisances.
1677for as_var in \
1678  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
1679  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
1680  LC_TELEPHONE LC_TIME
1681do
1682  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1683    eval $as_var=C; export $as_var
1684  else
1685    $as_unset $as_var
1686  fi
1687done
1688
1689# Required to use basename.
1690if expr a : '\(a\)' >/dev/null 2>&1; then
1691  as_expr=expr
1692else
1693  as_expr=false
1694fi
1695
1696if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
1697  as_basename=basename
1698else
1699  as_basename=false
1700fi
1701
1702
1703# Name of the executable.
1704as_me=`$as_basename "$0" ||
1705$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1706	 X"$0" : 'X\(//\)$' \| \
1707	 X"$0" : 'X\(/\)$' \| \
1708	 .     : '\(.\)' 2>/dev/null ||
1709echo X/"$0" |
1710    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1711  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
1712  	  /^X\/\(\/\).*/{ s//\1/; q; }
1713  	  s/.*/./; q'`
1714
1715
1716# PATH needs CR, and LINENO needs CR and PATH.
1717# Avoid depending upon Character Ranges.
1718as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1719as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1720as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1721as_cr_digits='0123456789'
1722as_cr_alnum=$as_cr_Letters$as_cr_digits
1723
1724# The user is always right.
1725if test "${PATH_SEPARATOR+set}" != set; then
1726  echo "#! /bin/sh" >conf$$.sh
1727  echo  "exit 0"   >>conf$$.sh
1728  chmod +x conf$$.sh
1729  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1730    PATH_SEPARATOR=';'
1731  else
1732    PATH_SEPARATOR=:
1733  fi
1734  rm -f conf$$.sh
1735fi
1736
1737
1738  as_lineno_1=$LINENO
1739  as_lineno_2=$LINENO
1740  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1741  test "x$as_lineno_1" != "x$as_lineno_2" &&
1742  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1743  # Find who we are.  Look in the path if we contain no path at all
1744  # relative or not.
1745  case $0 in
1746    *[\\/]* ) as_myself=$0 ;;
1747    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1748for as_dir in $PATH
1749do
1750  IFS=$as_save_IFS
1751  test -z "$as_dir" && as_dir=.
1752  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1753done
1754
1755       ;;
1756  esac
1757  # We did not find ourselves, most probably we were run as `sh COMMAND'
1758  # in which case we are not to be found in the path.
1759  if test "x$as_myself" = x; then
1760    as_myself=$0
1761  fi
1762  if test ! -f "$as_myself"; then
1763    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1764echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1765   { (exit 1); exit 1; }; }
1766  fi
1767  case $CONFIG_SHELL in
1768  '')
1769    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1770for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1771do
1772  IFS=$as_save_IFS
1773  test -z "$as_dir" && as_dir=.
1774  for as_base in sh bash ksh sh5; do
1775	 case $as_dir in
1776	 /*)
1777	   if ("$as_dir/$as_base" -c '
1778  as_lineno_1=$LINENO
1779  as_lineno_2=$LINENO
1780  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1781  test "x$as_lineno_1" != "x$as_lineno_2" &&
1782  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1783	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1784	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1785	     CONFIG_SHELL=$as_dir/$as_base
1786	     export CONFIG_SHELL
1787	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1788	   fi;;
1789	 esac
1790       done
1791done
1792;;
1793  esac
1794
1795  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1796  # uniformly replaced by the line number.  The first 'sed' inserts a
1797  # line-number line before each line; the second 'sed' does the real
1798  # work.  The second script uses 'N' to pair each line-number line
1799  # with the numbered line, and appends trailing '-' during
1800  # substitution so that $LINENO is not a special case at line end.
1801  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1802  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1803  sed '=' <$as_myself |
1804    sed '
1805      N
1806      s,$,-,
1807      : loop
1808      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1809      t loop
1810      s,-$,,
1811      s,^['$as_cr_digits']*\n,,
1812    ' >$as_me.lineno &&
1813  chmod +x $as_me.lineno ||
1814    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1815echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1816   { (exit 1); exit 1; }; }
1817
1818  # Don't try to exec as it changes $[0], causing all sort of problems
1819  # (the dirname of $[0] is not the place where we might find the
1820  # original and so on.  Autoconf is especially sensible to this).
1821  . ./$as_me.lineno
1822  # Exit status is that of the last command.
1823  exit
1824}
1825
1826
1827case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1828  *c*,-n*) ECHO_N= ECHO_C='
1829' ECHO_T='	' ;;
1830  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1831  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1832esac
1833
1834if expr a : '\(a\)' >/dev/null 2>&1; then
1835  as_expr=expr
1836else
1837  as_expr=false
1838fi
1839
1840rm -f conf$$ conf$$.exe conf$$.file
1841echo >conf$$.file
1842if ln -s conf$$.file conf$$ 2>/dev/null; then
1843  # We could just check for DJGPP; but this test a) works b) is more generic
1844  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1845  if test -f conf$$.exe; then
1846    # Don't use ln at all; we don't have any links
1847    as_ln_s='cp -p'
1848  else
1849    as_ln_s='ln -s'
1850  fi
1851elif ln conf$$.file conf$$ 2>/dev/null; then
1852  as_ln_s=ln
1853else
1854  as_ln_s='cp -p'
1855fi
1856rm -f conf$$ conf$$.exe conf$$.file
1857
1858if mkdir -p . 2>/dev/null; then
1859  as_mkdir_p=:
1860else
1861  test -d ./-p && rmdir ./-p
1862  as_mkdir_p=false
1863fi
1864
1865as_executable_p="test -f"
1866
1867# Sed expression to map a string onto a valid CPP name.
1868as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1869
1870# Sed expression to map a string onto a valid variable name.
1871as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1872
1873
1874# IFS
1875# We need space, tab and new line, in precisely that order.
1876as_nl='
1877'
1878IFS=" 	$as_nl"
1879
1880# CDPATH.
1881$as_unset CDPATH
1882
1883exec 6>&1
1884
1885# Open the log real soon, to keep \$[0] and so on meaningful, and to
1886# report actual input values of CONFIG_FILES etc. instead of their
1887# values after options handling.  Logging --version etc. is OK.
1888exec 5>>config.log
1889{
1890  echo
1891  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
1892## Running $as_me. ##
1893_ASBOX
1894} >&5
1895cat >&5 <<_CSEOF
1896
1897This file was extended by amavis-stats $as_me 0.1.11, which was
1898generated by GNU Autoconf 2.59.  Invocation command line was
1899
1900  CONFIG_FILES    = $CONFIG_FILES
1901  CONFIG_HEADERS  = $CONFIG_HEADERS
1902  CONFIG_LINKS    = $CONFIG_LINKS
1903  CONFIG_COMMANDS = $CONFIG_COMMANDS
1904  $ $0 $@
1905
1906_CSEOF
1907echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
1908echo >&5
1909_ACEOF
1910
1911# Files that config.status was made for.
1912if test -n "$ac_config_files"; then
1913  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
1914fi
1915
1916if test -n "$ac_config_headers"; then
1917  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
1918fi
1919
1920if test -n "$ac_config_links"; then
1921  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
1922fi
1923
1924if test -n "$ac_config_commands"; then
1925  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
1926fi
1927
1928cat >>$CONFIG_STATUS <<\_ACEOF
1929
1930ac_cs_usage="\
1931\`$as_me' instantiates files from templates according to the
1932current configuration.
1933
1934Usage: $0 [OPTIONS] [FILE]...
1935
1936  -h, --help       print this help, then exit
1937  -V, --version    print version number, then exit
1938  -q, --quiet      do not print progress messages
1939  -d, --debug      don't remove temporary files
1940      --recheck    update $as_me by reconfiguring in the same conditions
1941  --file=FILE[:TEMPLATE]
1942		   instantiate the configuration file FILE
1943
1944Configuration files:
1945$config_files
1946
1947Report bugs to <bug-autoconf@gnu.org>."
1948_ACEOF
1949
1950cat >>$CONFIG_STATUS <<_ACEOF
1951ac_cs_version="\\
1952amavis-stats config.status 0.1.11
1953configured by $0, generated by GNU Autoconf 2.59,
1954  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
1955
1956Copyright (C) 2003 Free Software Foundation, Inc.
1957This config.status script is free software; the Free Software Foundation
1958gives unlimited permission to copy, distribute and modify it."
1959srcdir=$srcdir
1960INSTALL="$INSTALL"
1961_ACEOF
1962
1963cat >>$CONFIG_STATUS <<\_ACEOF
1964# If no file are specified by the user, then we need to provide default
1965# value.  By we need to know if files were specified by the user.
1966ac_need_defaults=:
1967while test $# != 0
1968do
1969  case $1 in
1970  --*=*)
1971    ac_option=`expr "x$1" : 'x\([^=]*\)='`
1972    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
1973    ac_shift=:
1974    ;;
1975  -*)
1976    ac_option=$1
1977    ac_optarg=$2
1978    ac_shift=shift
1979    ;;
1980  *) # This is not an option, so the user has probably given explicit
1981     # arguments.
1982     ac_option=$1
1983     ac_need_defaults=false;;
1984  esac
1985
1986  case $ac_option in
1987  # Handling of the options.
1988_ACEOF
1989cat >>$CONFIG_STATUS <<\_ACEOF
1990  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1991    ac_cs_recheck=: ;;
1992  --version | --vers* | -V )
1993    echo "$ac_cs_version"; exit 0 ;;
1994  --he | --h)
1995    # Conflict between --help and --header
1996    { { echo "$as_me:$LINENO: error: ambiguous option: $1
1997Try \`$0 --help' for more information." >&5
1998echo "$as_me: error: ambiguous option: $1
1999Try \`$0 --help' for more information." >&2;}
2000   { (exit 1); exit 1; }; };;
2001  --help | --hel | -h )
2002    echo "$ac_cs_usage"; exit 0 ;;
2003  --debug | --d* | -d )
2004    debug=: ;;
2005  --file | --fil | --fi | --f )
2006    $ac_shift
2007    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2008    ac_need_defaults=false;;
2009  --header | --heade | --head | --hea )
2010    $ac_shift
2011    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2012    ac_need_defaults=false;;
2013  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2014  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2015    ac_cs_silent=: ;;
2016
2017  # This is an error.
2018  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2019Try \`$0 --help' for more information." >&5
2020echo "$as_me: error: unrecognized option: $1
2021Try \`$0 --help' for more information." >&2;}
2022   { (exit 1); exit 1; }; } ;;
2023
2024  *) ac_config_targets="$ac_config_targets $1" ;;
2025
2026  esac
2027  shift
2028done
2029
2030ac_configure_extra_args=
2031
2032if $ac_cs_silent; then
2033  exec 6>/dev/null
2034  ac_configure_extra_args="$ac_configure_extra_args --silent"
2035fi
2036
2037_ACEOF
2038cat >>$CONFIG_STATUS <<_ACEOF
2039if \$ac_cs_recheck; then
2040  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2041  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2042fi
2043
2044_ACEOF
2045
2046
2047
2048
2049
2050cat >>$CONFIG_STATUS <<\_ACEOF
2051for ac_config_target in $ac_config_targets
2052do
2053  case "$ac_config_target" in
2054  # Handling of arguments.
2055  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2056  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2057echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2058   { (exit 1); exit 1; }; };;
2059  esac
2060done
2061
2062# If the user did not use the arguments to specify the items to instantiate,
2063# then the envvar interface is used.  Set only those that are not.
2064# We use the long form for the default assignment because of an extremely
2065# bizarre bug on SunOS 4.1.3.
2066if $ac_need_defaults; then
2067  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2068fi
2069
2070# Have a temporary directory for convenience.  Make it in the build tree
2071# simply because there is no reason to put it here, and in addition,
2072# creating and moving files from /tmp can sometimes cause problems.
2073# Create a temporary directory, and hook for its removal unless debugging.
2074$debug ||
2075{
2076  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2077  trap '{ (exit 1); exit 1; }' 1 2 13 15
2078}
2079
2080# Create a (secure) tmp directory for tmp files.
2081
2082{
2083  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2084  test -n "$tmp" && test -d "$tmp"
2085}  ||
2086{
2087  tmp=./confstat$$-$RANDOM
2088  (umask 077 && mkdir $tmp)
2089} ||
2090{
2091   echo "$me: cannot create a temporary directory in ." >&2
2092   { (exit 1); exit 1; }
2093}
2094
2095_ACEOF
2096
2097cat >>$CONFIG_STATUS <<_ACEOF
2098
2099#
2100# CONFIG_FILES section.
2101#
2102
2103# No need to generate the scripts if there are no CONFIG_FILES.
2104# This happens for instance when ./config.status config.h
2105if test -n "\$CONFIG_FILES"; then
2106  # Protect against being on the right side of a sed subst in config.status.
2107  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2108   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2109s,@SHELL@,$SHELL,;t t
2110s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2111s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2112s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2113s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2114s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2115s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2116s,@exec_prefix@,$exec_prefix,;t t
2117s,@prefix@,$prefix,;t t
2118s,@program_transform_name@,$program_transform_name,;t t
2119s,@bindir@,$bindir,;t t
2120s,@sbindir@,$sbindir,;t t
2121s,@libexecdir@,$libexecdir,;t t
2122s,@datadir@,$datadir,;t t
2123s,@sysconfdir@,$sysconfdir,;t t
2124s,@sharedstatedir@,$sharedstatedir,;t t
2125s,@localstatedir@,$localstatedir,;t t
2126s,@libdir@,$libdir,;t t
2127s,@includedir@,$includedir,;t t
2128s,@oldincludedir@,$oldincludedir,;t t
2129s,@infodir@,$infodir,;t t
2130s,@mandir@,$mandir,;t t
2131s,@build_alias@,$build_alias,;t t
2132s,@host_alias@,$host_alias,;t t
2133s,@target_alias@,$target_alias,;t t
2134s,@DEFS@,$DEFS,;t t
2135s,@ECHO_C@,$ECHO_C,;t t
2136s,@ECHO_N@,$ECHO_N,;t t
2137s,@ECHO_T@,$ECHO_T,;t t
2138s,@LIBS@,$LIBS,;t t
2139s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
2140s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
2141s,@INSTALL_DATA@,$INSTALL_DATA,;t t
2142s,@LN_S@,$LN_S,;t t
2143s,@install_prefix@,$install_prefix,;t t
2144s,@var_prefix@,$var_prefix,;t t
2145s,@amavis_user@,$amavis_user,;t t
2146s,@amavis_group@,$amavis_group,;t t
2147s,@web_user@,$web_user,;t t
2148s,@web_group@,$web_group,;t t
2149s,@web_url@,$web_url,;t t
2150s,@vers@,$vers,;t t
2151s,@desc@,$desc,;t t
2152s,@perl@,$perl,;t t
2153s,@LIBOBJS@,$LIBOBJS,;t t
2154s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2155CEOF
2156
2157_ACEOF
2158
2159  cat >>$CONFIG_STATUS <<\_ACEOF
2160  # Split the substitutions into bite-sized pieces for seds with
2161  # small command number limits, like on Digital OSF/1 and HP-UX.
2162  ac_max_sed_lines=48
2163  ac_sed_frag=1 # Number of current file.
2164  ac_beg=1 # First line for current file.
2165  ac_end=$ac_max_sed_lines # Line after last line for current file.
2166  ac_more_lines=:
2167  ac_sed_cmds=
2168  while $ac_more_lines; do
2169    if test $ac_beg -gt 1; then
2170      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2171    else
2172      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2173    fi
2174    if test ! -s $tmp/subs.frag; then
2175      ac_more_lines=false
2176    else
2177      # The purpose of the label and of the branching condition is to
2178      # speed up the sed processing (if there are no `@' at all, there
2179      # is no need to browse any of the substitutions).
2180      # These are the two extra sed commands mentioned above.
2181      (echo ':t
2182  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
2183      if test -z "$ac_sed_cmds"; then
2184	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
2185      else
2186	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
2187      fi
2188      ac_sed_frag=`expr $ac_sed_frag + 1`
2189      ac_beg=$ac_end
2190      ac_end=`expr $ac_end + $ac_max_sed_lines`
2191    fi
2192  done
2193  if test -z "$ac_sed_cmds"; then
2194    ac_sed_cmds=cat
2195  fi
2196fi # test -n "$CONFIG_FILES"
2197
2198_ACEOF
2199cat >>$CONFIG_STATUS <<\_ACEOF
2200for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
2201  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2202  case $ac_file in
2203  - | *:- | *:-:* ) # input from stdin
2204	cat >$tmp/stdin
2205	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2206	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2207  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2208	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2209  * )   ac_file_in=$ac_file.in ;;
2210  esac
2211
2212  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
2213  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2214$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2215	 X"$ac_file" : 'X\(//\)[^/]' \| \
2216	 X"$ac_file" : 'X\(//\)$' \| \
2217	 X"$ac_file" : 'X\(/\)' \| \
2218	 .     : '\(.\)' 2>/dev/null ||
2219echo X"$ac_file" |
2220    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2221  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2222  	  /^X\(\/\/\)$/{ s//\1/; q; }
2223  	  /^X\(\/\).*/{ s//\1/; q; }
2224  	  s/.*/./; q'`
2225  { if $as_mkdir_p; then
2226    mkdir -p "$ac_dir"
2227  else
2228    as_dir="$ac_dir"
2229    as_dirs=
2230    while test ! -d "$as_dir"; do
2231      as_dirs="$as_dir $as_dirs"
2232      as_dir=`(dirname "$as_dir") 2>/dev/null ||
2233$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2234	 X"$as_dir" : 'X\(//\)[^/]' \| \
2235	 X"$as_dir" : 'X\(//\)$' \| \
2236	 X"$as_dir" : 'X\(/\)' \| \
2237	 .     : '\(.\)' 2>/dev/null ||
2238echo X"$as_dir" |
2239    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2240  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
2241  	  /^X\(\/\/\)$/{ s//\1/; q; }
2242  	  /^X\(\/\).*/{ s//\1/; q; }
2243  	  s/.*/./; q'`
2244    done
2245    test ! -n "$as_dirs" || mkdir $as_dirs
2246  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2247echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2248   { (exit 1); exit 1; }; }; }
2249
2250  ac_builddir=.
2251
2252if test "$ac_dir" != .; then
2253  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2254  # A "../" for each directory in $ac_dir_suffix.
2255  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2256else
2257  ac_dir_suffix= ac_top_builddir=
2258fi
2259
2260case $srcdir in
2261  .)  # No --srcdir option.  We are building in place.
2262    ac_srcdir=.
2263    if test -z "$ac_top_builddir"; then
2264       ac_top_srcdir=.
2265    else
2266       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2267    fi ;;
2268  [\\/]* | ?:[\\/]* )  # Absolute path.
2269    ac_srcdir=$srcdir$ac_dir_suffix;
2270    ac_top_srcdir=$srcdir ;;
2271  *) # Relative path.
2272    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2273    ac_top_srcdir=$ac_top_builddir$srcdir ;;
2274esac
2275
2276# Do not use `cd foo && pwd` to compute absolute paths, because
2277# the directories may not exist.
2278case `pwd` in
2279.) ac_abs_builddir="$ac_dir";;
2280*)
2281  case "$ac_dir" in
2282  .) ac_abs_builddir=`pwd`;;
2283  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2284  *) ac_abs_builddir=`pwd`/"$ac_dir";;
2285  esac;;
2286esac
2287case $ac_abs_builddir in
2288.) ac_abs_top_builddir=${ac_top_builddir}.;;
2289*)
2290  case ${ac_top_builddir}. in
2291  .) ac_abs_top_builddir=$ac_abs_builddir;;
2292  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2293  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2294  esac;;
2295esac
2296case $ac_abs_builddir in
2297.) ac_abs_srcdir=$ac_srcdir;;
2298*)
2299  case $ac_srcdir in
2300  .) ac_abs_srcdir=$ac_abs_builddir;;
2301  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2302  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2303  esac;;
2304esac
2305case $ac_abs_builddir in
2306.) ac_abs_top_srcdir=$ac_top_srcdir;;
2307*)
2308  case $ac_top_srcdir in
2309  .) ac_abs_top_srcdir=$ac_abs_builddir;;
2310  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2311  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2312  esac;;
2313esac
2314
2315
2316  case $INSTALL in
2317  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2318  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
2319  esac
2320
2321  # Let's still pretend it is `configure' which instantiates (i.e., don't
2322  # use $as_me), people would be surprised to read:
2323  #    /* config.h.  Generated by config.status.  */
2324  if test x"$ac_file" = x-; then
2325    configure_input=
2326  else
2327    configure_input="$ac_file.  "
2328  fi
2329  configure_input=$configure_input"Generated from `echo $ac_file_in |
2330				     sed 's,.*/,,'` by configure."
2331
2332  # First look for the input files in the build tree, otherwise in the
2333  # src tree.
2334  ac_file_inputs=`IFS=:
2335    for f in $ac_file_in; do
2336      case $f in
2337      -) echo $tmp/stdin ;;
2338      [\\/$]*)
2339	 # Absolute (can't be DOS-style, as IFS=:)
2340	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2341echo "$as_me: error: cannot find input file: $f" >&2;}
2342   { (exit 1); exit 1; }; }
2343	 echo "$f";;
2344      *) # Relative
2345	 if test -f "$f"; then
2346	   # Build tree
2347	   echo "$f"
2348	 elif test -f "$srcdir/$f"; then
2349	   # Source tree
2350	   echo "$srcdir/$f"
2351	 else
2352	   # /dev/null tree
2353	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2354echo "$as_me: error: cannot find input file: $f" >&2;}
2355   { (exit 1); exit 1; }; }
2356	 fi;;
2357      esac
2358    done` || { (exit 1); exit 1; }
2359
2360  if test x"$ac_file" != x-; then
2361    { echo "$as_me:$LINENO: creating $ac_file" >&5
2362echo "$as_me: creating $ac_file" >&6;}
2363    rm -f "$ac_file"
2364  fi
2365_ACEOF
2366cat >>$CONFIG_STATUS <<_ACEOF
2367  sed "$ac_vpsub
2368$extrasub
2369_ACEOF
2370cat >>$CONFIG_STATUS <<\_ACEOF
2371:t
2372/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2373s,@configure_input@,$configure_input,;t t
2374s,@srcdir@,$ac_srcdir,;t t
2375s,@abs_srcdir@,$ac_abs_srcdir,;t t
2376s,@top_srcdir@,$ac_top_srcdir,;t t
2377s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2378s,@builddir@,$ac_builddir,;t t
2379s,@abs_builddir@,$ac_abs_builddir,;t t
2380s,@top_builddir@,$ac_top_builddir,;t t
2381s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2382s,@INSTALL@,$ac_INSTALL,;t t
2383" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2384  rm -f $tmp/stdin
2385  if test x"$ac_file" != x-; then
2386    mv $tmp/out $ac_file
2387  else
2388    cat $tmp/out
2389    rm -f $tmp/out
2390  fi
2391
2392done
2393_ACEOF
2394
2395cat >>$CONFIG_STATUS <<\_ACEOF
2396
2397{ (exit 0); exit 0; }
2398_ACEOF
2399chmod +x $CONFIG_STATUS
2400ac_clean_files=$ac_clean_files_save
2401
2402
2403# configure is writing to config.log, and then calls config.status.
2404# config.status does its own redirection, appending to config.log.
2405# Unfortunately, on DOS this fails, as config.log is still kept open
2406# by configure, so config.status won't be able to write to it; its
2407# output is simply discarded.  So we exec the FD to /dev/null,
2408# effectively closing config.log, so it can be properly (re)opened and
2409# appended to by config.status.  When coming back to configure, we
2410# need to make the FD available again.
2411if test "$no_create" != yes; then
2412  ac_cs_success=:
2413  ac_config_status_args=
2414  test "$silent" = yes &&
2415    ac_config_status_args="$ac_config_status_args --quiet"
2416  exec 5>/dev/null
2417  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2418  exec 5>>config.log
2419  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2420  # would make configure fail if this is the last instruction.
2421  $ac_cs_success || { (exit 1); exit 1; }
2422fi
2423
2424