source: emailtotracscript/trunk/configure @ 23

Last change on this file since 23 was 23, checked in by bas, 18 years ago

EmailtoTracScript?:

Email2trac:

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