source: emailtotracscript/trunk/configure @ 109

Last change on this file since 109 was 109, checked in by bas, 15 years ago

EmailtoTracScript?:

email2trac.py.in:

  • Changed some layout statements

configure, Makefile.in, configure.in:

  • Can set DEBUG value on command line; eg: DEBUG=1 ./configure default is: 0
  • Property svn:executable set to *
File size: 103.8 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 DEBUG email2trac_conf SYSTEM_EMAIL2TRAC_CONF 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#DEBUG=0
1268
1269
1270
1271
1272
1273        # Find any Python interpreter.
1274    for ac_prog in python python2 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
1275do
1276  # Extract the first word of "$ac_prog", so it can be a program name with args.
1277set dummy $ac_prog; ac_word=$2
1278echo "$as_me:$LINENO: checking for $ac_word" >&5
1279echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1280if test "${ac_cv_path_PYTHON+set}" = set; then
1281  echo $ECHO_N "(cached) $ECHO_C" >&6
1282else
1283  case $PYTHON in
1284  [\\/]* | ?:[\\/]*)
1285  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
1286  ;;
1287  *)
1288  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1289for as_dir in $PATH
1290do
1291  IFS=$as_save_IFS
1292  test -z "$as_dir" && as_dir=.
1293  for ac_exec_ext in '' $ac_executable_extensions; do
1294  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1295    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
1296    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1297    break 2
1298  fi
1299done
1300done
1301
1302  ;;
1303esac
1304fi
1305PYTHON=$ac_cv_path_PYTHON
1306
1307if test -n "$PYTHON"; then
1308  echo "$as_me:$LINENO: result: $PYTHON" >&5
1309echo "${ECHO_T}$PYTHON" >&6
1310else
1311  echo "$as_me:$LINENO: result: no" >&5
1312echo "${ECHO_T}no" >&6
1313fi
1314
1315  test -n "$PYTHON" && break
1316done
1317
1318    am_display_PYTHON=python
1319
1320
1321
1322  echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
1323echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6
1324if test "${am_cv_python_version+set}" = set; then
1325  echo $ECHO_N "(cached) $ECHO_C" >&6
1326else
1327  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
1328fi
1329echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
1330echo "${ECHO_T}$am_cv_python_version" >&6
1331  PYTHON_VERSION=$am_cv_python_version
1332
1333
1334
1335  PYTHON_PREFIX='${prefix}'
1336
1337  PYTHON_EXEC_PREFIX='${exec_prefix}'
1338
1339
1340
1341  echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
1342echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6
1343if test "${am_cv_python_platform+set}" = set; then
1344  echo $ECHO_N "(cached) $ECHO_C" >&6
1345else
1346  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
1347fi
1348echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
1349echo "${ECHO_T}$am_cv_python_platform" >&6
1350  PYTHON_PLATFORM=$am_cv_python_platform
1351
1352
1353
1354
1355                echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
1356echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6
1357if test "${am_cv_python_pythondir+set}" = set; then
1358  echo $ECHO_N "(cached) $ECHO_C" >&6
1359else
1360  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
1361     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
1362fi
1363echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
1364echo "${ECHO_T}$am_cv_python_pythondir" >&6
1365  pythondir=$am_cv_python_pythondir
1366
1367
1368
1369  pkgpythondir=\${pythondir}/$PACKAGE
1370
1371
1372            echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
1373echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6
1374if test "${am_cv_python_pyexecdir+set}" = set; then
1375  echo $ECHO_N "(cached) $ECHO_C" >&6
1376else
1377  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
1378     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
1379fi
1380echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
1381echo "${ECHO_T}$am_cv_python_pyexecdir" >&6
1382  pyexecdir=$am_cv_python_pyexecdir
1383
1384
1385
1386  pkgpyexecdir=\${pyexecdir}/$PACKAGE
1387
1388
1389ac_ext=c
1390ac_cpp='$CPP $CPPFLAGS'
1391ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1392ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1393ac_compiler_gnu=$ac_cv_c_compiler_gnu
1394if test -n "$ac_tool_prefix"; then
1395  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1396set dummy ${ac_tool_prefix}gcc; ac_word=$2
1397echo "$as_me:$LINENO: checking for $ac_word" >&5
1398echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1399if test "${ac_cv_prog_CC+set}" = set; then
1400  echo $ECHO_N "(cached) $ECHO_C" >&6
1401else
1402  if test -n "$CC"; then
1403  ac_cv_prog_CC="$CC" # Let the user override the test.
1404else
1405as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1406for as_dir in $PATH
1407do
1408  IFS=$as_save_IFS
1409  test -z "$as_dir" && as_dir=.
1410  for ac_exec_ext in '' $ac_executable_extensions; do
1411  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1412    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1413    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1414    break 2
1415  fi
1416done
1417done
1418
1419fi
1420fi
1421CC=$ac_cv_prog_CC
1422if test -n "$CC"; then
1423  echo "$as_me:$LINENO: result: $CC" >&5
1424echo "${ECHO_T}$CC" >&6
1425else
1426  echo "$as_me:$LINENO: result: no" >&5
1427echo "${ECHO_T}no" >&6
1428fi
1429
1430fi
1431if test -z "$ac_cv_prog_CC"; then
1432  ac_ct_CC=$CC
1433  # Extract the first word of "gcc", so it can be a program name with args.
1434set dummy gcc; ac_word=$2
1435echo "$as_me:$LINENO: checking for $ac_word" >&5
1436echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1437if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1438  echo $ECHO_N "(cached) $ECHO_C" >&6
1439else
1440  if test -n "$ac_ct_CC"; then
1441  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1442else
1443as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1444for as_dir in $PATH
1445do
1446  IFS=$as_save_IFS
1447  test -z "$as_dir" && as_dir=.
1448  for ac_exec_ext in '' $ac_executable_extensions; do
1449  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1450    ac_cv_prog_ac_ct_CC="gcc"
1451    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1452    break 2
1453  fi
1454done
1455done
1456
1457fi
1458fi
1459ac_ct_CC=$ac_cv_prog_ac_ct_CC
1460if test -n "$ac_ct_CC"; then
1461  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1462echo "${ECHO_T}$ac_ct_CC" >&6
1463else
1464  echo "$as_me:$LINENO: result: no" >&5
1465echo "${ECHO_T}no" >&6
1466fi
1467
1468  CC=$ac_ct_CC
1469else
1470  CC="$ac_cv_prog_CC"
1471fi
1472
1473if test -z "$CC"; then
1474  if test -n "$ac_tool_prefix"; then
1475  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1476set dummy ${ac_tool_prefix}cc; ac_word=$2
1477echo "$as_me:$LINENO: checking for $ac_word" >&5
1478echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1479if test "${ac_cv_prog_CC+set}" = set; then
1480  echo $ECHO_N "(cached) $ECHO_C" >&6
1481else
1482  if test -n "$CC"; then
1483  ac_cv_prog_CC="$CC" # Let the user override the test.
1484else
1485as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1486for as_dir in $PATH
1487do
1488  IFS=$as_save_IFS
1489  test -z "$as_dir" && as_dir=.
1490  for ac_exec_ext in '' $ac_executable_extensions; do
1491  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1492    ac_cv_prog_CC="${ac_tool_prefix}cc"
1493    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1494    break 2
1495  fi
1496done
1497done
1498
1499fi
1500fi
1501CC=$ac_cv_prog_CC
1502if test -n "$CC"; then
1503  echo "$as_me:$LINENO: result: $CC" >&5
1504echo "${ECHO_T}$CC" >&6
1505else
1506  echo "$as_me:$LINENO: result: no" >&5
1507echo "${ECHO_T}no" >&6
1508fi
1509
1510fi
1511if test -z "$ac_cv_prog_CC"; then
1512  ac_ct_CC=$CC
1513  # Extract the first word of "cc", so it can be a program name with args.
1514set dummy cc; ac_word=$2
1515echo "$as_me:$LINENO: checking for $ac_word" >&5
1516echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1517if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1518  echo $ECHO_N "(cached) $ECHO_C" >&6
1519else
1520  if test -n "$ac_ct_CC"; then
1521  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1522else
1523as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1524for as_dir in $PATH
1525do
1526  IFS=$as_save_IFS
1527  test -z "$as_dir" && as_dir=.
1528  for ac_exec_ext in '' $ac_executable_extensions; do
1529  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1530    ac_cv_prog_ac_ct_CC="cc"
1531    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1532    break 2
1533  fi
1534done
1535done
1536
1537fi
1538fi
1539ac_ct_CC=$ac_cv_prog_ac_ct_CC
1540if test -n "$ac_ct_CC"; then
1541  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1542echo "${ECHO_T}$ac_ct_CC" >&6
1543else
1544  echo "$as_me:$LINENO: result: no" >&5
1545echo "${ECHO_T}no" >&6
1546fi
1547
1548  CC=$ac_ct_CC
1549else
1550  CC="$ac_cv_prog_CC"
1551fi
1552
1553fi
1554if test -z "$CC"; then
1555  # Extract the first word of "cc", so it can be a program name with args.
1556set dummy cc; ac_word=$2
1557echo "$as_me:$LINENO: checking for $ac_word" >&5
1558echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1559if test "${ac_cv_prog_CC+set}" = set; then
1560  echo $ECHO_N "(cached) $ECHO_C" >&6
1561else
1562  if test -n "$CC"; then
1563  ac_cv_prog_CC="$CC" # Let the user override the test.
1564else
1565  ac_prog_rejected=no
1566as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1567for as_dir in $PATH
1568do
1569  IFS=$as_save_IFS
1570  test -z "$as_dir" && as_dir=.
1571  for ac_exec_ext in '' $ac_executable_extensions; do
1572  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1573    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1574       ac_prog_rejected=yes
1575       continue
1576     fi
1577    ac_cv_prog_CC="cc"
1578    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1579    break 2
1580  fi
1581done
1582done
1583
1584if test $ac_prog_rejected = yes; then
1585  # We found a bogon in the path, so make sure we never use it.
1586  set dummy $ac_cv_prog_CC
1587  shift
1588  if test $# != 0; then
1589    # We chose a different compiler from the bogus one.
1590    # However, it has the same basename, so the bogon will be chosen
1591    # first if we set CC to just the basename; use the full file name.
1592    shift
1593    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1594  fi
1595fi
1596fi
1597fi
1598CC=$ac_cv_prog_CC
1599if test -n "$CC"; then
1600  echo "$as_me:$LINENO: result: $CC" >&5
1601echo "${ECHO_T}$CC" >&6
1602else
1603  echo "$as_me:$LINENO: result: no" >&5
1604echo "${ECHO_T}no" >&6
1605fi
1606
1607fi
1608if test -z "$CC"; then
1609  if test -n "$ac_tool_prefix"; then
1610  for ac_prog in cl
1611  do
1612    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1613set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1614echo "$as_me:$LINENO: checking for $ac_word" >&5
1615echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1616if test "${ac_cv_prog_CC+set}" = set; then
1617  echo $ECHO_N "(cached) $ECHO_C" >&6
1618else
1619  if test -n "$CC"; then
1620  ac_cv_prog_CC="$CC" # Let the user override the test.
1621else
1622as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1623for as_dir in $PATH
1624do
1625  IFS=$as_save_IFS
1626  test -z "$as_dir" && as_dir=.
1627  for ac_exec_ext in '' $ac_executable_extensions; do
1628  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1629    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1630    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1631    break 2
1632  fi
1633done
1634done
1635
1636fi
1637fi
1638CC=$ac_cv_prog_CC
1639if test -n "$CC"; then
1640  echo "$as_me:$LINENO: result: $CC" >&5
1641echo "${ECHO_T}$CC" >&6
1642else
1643  echo "$as_me:$LINENO: result: no" >&5
1644echo "${ECHO_T}no" >&6
1645fi
1646
1647    test -n "$CC" && break
1648  done
1649fi
1650if test -z "$CC"; then
1651  ac_ct_CC=$CC
1652  for ac_prog in cl
1653do
1654  # Extract the first word of "$ac_prog", so it can be a program name with args.
1655set dummy $ac_prog; ac_word=$2
1656echo "$as_me:$LINENO: checking for $ac_word" >&5
1657echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1658if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1659  echo $ECHO_N "(cached) $ECHO_C" >&6
1660else
1661  if test -n "$ac_ct_CC"; then
1662  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1663else
1664as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1665for as_dir in $PATH
1666do
1667  IFS=$as_save_IFS
1668  test -z "$as_dir" && as_dir=.
1669  for ac_exec_ext in '' $ac_executable_extensions; do
1670  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1671    ac_cv_prog_ac_ct_CC="$ac_prog"
1672    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1673    break 2
1674  fi
1675done
1676done
1677
1678fi
1679fi
1680ac_ct_CC=$ac_cv_prog_ac_ct_CC
1681if test -n "$ac_ct_CC"; then
1682  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1683echo "${ECHO_T}$ac_ct_CC" >&6
1684else
1685  echo "$as_me:$LINENO: result: no" >&5
1686echo "${ECHO_T}no" >&6
1687fi
1688
1689  test -n "$ac_ct_CC" && break
1690done
1691
1692  CC=$ac_ct_CC
1693fi
1694
1695fi
1696
1697
1698test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1699See \`config.log' for more details." >&5
1700echo "$as_me: error: no acceptable C compiler found in \$PATH
1701See \`config.log' for more details." >&2;}
1702   { (exit 1); exit 1; }; }
1703
1704# Provide some information about the compiler.
1705echo "$as_me:$LINENO:" \
1706     "checking for C compiler version" >&5
1707ac_compiler=`set X $ac_compile; echo $2`
1708{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1709  (eval $ac_compiler --version </dev/null >&5) 2>&5
1710  ac_status=$?
1711  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1712  (exit $ac_status); }
1713{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1714  (eval $ac_compiler -v </dev/null >&5) 2>&5
1715  ac_status=$?
1716  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1717  (exit $ac_status); }
1718{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1719  (eval $ac_compiler -V </dev/null >&5) 2>&5
1720  ac_status=$?
1721  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1722  (exit $ac_status); }
1723
1724cat >conftest.$ac_ext <<_ACEOF
1725/* confdefs.h.  */
1726_ACEOF
1727cat confdefs.h >>conftest.$ac_ext
1728cat >>conftest.$ac_ext <<_ACEOF
1729/* end confdefs.h.  */
1730
1731int
1732main ()
1733{
1734
1735  ;
1736  return 0;
1737}
1738_ACEOF
1739ac_clean_files_save=$ac_clean_files
1740ac_clean_files="$ac_clean_files a.out a.exe b.out"
1741# Try to create an executable without -o first, disregard a.out.
1742# It will help us diagnose broken compilers, and finding out an intuition
1743# of exeext.
1744echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1745echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1746ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1747if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1748  (eval $ac_link_default) 2>&5
1749  ac_status=$?
1750  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1751  (exit $ac_status); }; then
1752  # Find the output, starting from the most likely.  This scheme is
1753# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1754# resort.
1755
1756# Be careful to initialize this variable, since it used to be cached.
1757# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1758ac_cv_exeext=
1759# b.out is created by i960 compilers.
1760for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1761do
1762  test -f "$ac_file" || continue
1763  case $ac_file in
1764    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1765        ;;
1766    conftest.$ac_ext )
1767        # This is the source file.
1768        ;;
1769    [ab].out )
1770        # We found the default executable, but exeext='' is most
1771        # certainly right.
1772        break;;
1773    *.* )
1774        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1775        # FIXME: I believe we export ac_cv_exeext for Libtool,
1776        # but it would be cool to find out if it's true.  Does anybody
1777        # maintain Libtool? --akim.
1778        export ac_cv_exeext
1779        break;;
1780    * )
1781        break;;
1782  esac
1783done
1784else
1785  echo "$as_me: failed program was:" >&5
1786sed 's/^/| /' conftest.$ac_ext >&5
1787
1788{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1789See \`config.log' for more details." >&5
1790echo "$as_me: error: C compiler cannot create executables
1791See \`config.log' for more details." >&2;}
1792   { (exit 77); exit 77; }; }
1793fi
1794
1795ac_exeext=$ac_cv_exeext
1796echo "$as_me:$LINENO: result: $ac_file" >&5
1797echo "${ECHO_T}$ac_file" >&6
1798
1799# Check the compiler produces executables we can run.  If not, either
1800# the compiler is broken, or we cross compile.
1801echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1802echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1803# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1804# If not cross compiling, check that we can run a simple program.
1805if test "$cross_compiling" != yes; then
1806  if { ac_try='./$ac_file'
1807  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1808  (eval $ac_try) 2>&5
1809  ac_status=$?
1810  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1811  (exit $ac_status); }; }; then
1812    cross_compiling=no
1813  else
1814    if test "$cross_compiling" = maybe; then
1815        cross_compiling=yes
1816    else
1817        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1818If you meant to cross compile, use \`--host'.
1819See \`config.log' for more details." >&5
1820echo "$as_me: error: cannot run C compiled programs.
1821If you meant to cross compile, use \`--host'.
1822See \`config.log' for more details." >&2;}
1823   { (exit 1); exit 1; }; }
1824    fi
1825  fi
1826fi
1827echo "$as_me:$LINENO: result: yes" >&5
1828echo "${ECHO_T}yes" >&6
1829
1830rm -f a.out a.exe conftest$ac_cv_exeext b.out
1831ac_clean_files=$ac_clean_files_save
1832# Check the compiler produces executables we can run.  If not, either
1833# the compiler is broken, or we cross compile.
1834echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1835echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1836echo "$as_me:$LINENO: result: $cross_compiling" >&5
1837echo "${ECHO_T}$cross_compiling" >&6
1838
1839echo "$as_me:$LINENO: checking for suffix of executables" >&5
1840echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1841if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1842  (eval $ac_link) 2>&5
1843  ac_status=$?
1844  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1845  (exit $ac_status); }; then
1846  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1847# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1848# work properly (i.e., refer to `conftest.exe'), while it won't with
1849# `rm'.
1850for ac_file in conftest.exe conftest conftest.*; do
1851  test -f "$ac_file" || continue
1852  case $ac_file in
1853    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1854    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1855          export ac_cv_exeext
1856          break;;
1857    * ) break;;
1858  esac
1859done
1860else
1861  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1862See \`config.log' for more details." >&5
1863echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1864See \`config.log' for more details." >&2;}
1865   { (exit 1); exit 1; }; }
1866fi
1867
1868rm -f conftest$ac_cv_exeext
1869echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1870echo "${ECHO_T}$ac_cv_exeext" >&6
1871
1872rm -f conftest.$ac_ext
1873EXEEXT=$ac_cv_exeext
1874ac_exeext=$EXEEXT
1875echo "$as_me:$LINENO: checking for suffix of object files" >&5
1876echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1877if test "${ac_cv_objext+set}" = set; then
1878  echo $ECHO_N "(cached) $ECHO_C" >&6
1879else
1880  cat >conftest.$ac_ext <<_ACEOF
1881/* confdefs.h.  */
1882_ACEOF
1883cat confdefs.h >>conftest.$ac_ext
1884cat >>conftest.$ac_ext <<_ACEOF
1885/* end confdefs.h.  */
1886
1887int
1888main ()
1889{
1890
1891  ;
1892  return 0;
1893}
1894_ACEOF
1895rm -f conftest.o conftest.obj
1896if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1897  (eval $ac_compile) 2>&5
1898  ac_status=$?
1899  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1900  (exit $ac_status); }; then
1901  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1902  case $ac_file in
1903    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1904    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1905       break;;
1906  esac
1907done
1908else
1909  echo "$as_me: failed program was:" >&5
1910sed 's/^/| /' conftest.$ac_ext >&5
1911
1912{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1913See \`config.log' for more details." >&5
1914echo "$as_me: error: cannot compute suffix of object files: cannot compile
1915See \`config.log' for more details." >&2;}
1916   { (exit 1); exit 1; }; }
1917fi
1918
1919rm -f conftest.$ac_cv_objext conftest.$ac_ext
1920fi
1921echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1922echo "${ECHO_T}$ac_cv_objext" >&6
1923OBJEXT=$ac_cv_objext
1924ac_objext=$OBJEXT
1925echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1926echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1927if test "${ac_cv_c_compiler_gnu+set}" = set; then
1928  echo $ECHO_N "(cached) $ECHO_C" >&6
1929else
1930  cat >conftest.$ac_ext <<_ACEOF
1931/* confdefs.h.  */
1932_ACEOF
1933cat confdefs.h >>conftest.$ac_ext
1934cat >>conftest.$ac_ext <<_ACEOF
1935/* end confdefs.h.  */
1936
1937int
1938main ()
1939{
1940#ifndef __GNUC__
1941       choke me
1942#endif
1943
1944  ;
1945  return 0;
1946}
1947_ACEOF
1948rm -f conftest.$ac_objext
1949if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1950  (eval $ac_compile) 2>conftest.er1
1951  ac_status=$?
1952  grep -v '^ *+' conftest.er1 >conftest.err
1953  rm -f conftest.er1
1954  cat conftest.err >&5
1955  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956  (exit $ac_status); } &&
1957         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
1958  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1959  (eval $ac_try) 2>&5
1960  ac_status=$?
1961  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1962  (exit $ac_status); }; } &&
1963         { ac_try='test -s conftest.$ac_objext'
1964  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1965  (eval $ac_try) 2>&5
1966  ac_status=$?
1967  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1968  (exit $ac_status); }; }; then
1969  ac_compiler_gnu=yes
1970else
1971  echo "$as_me: failed program was:" >&5
1972sed 's/^/| /' conftest.$ac_ext >&5
1973
1974ac_compiler_gnu=no
1975fi
1976rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1977ac_cv_c_compiler_gnu=$ac_compiler_gnu
1978
1979fi
1980echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1981echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1982GCC=`test $ac_compiler_gnu = yes && echo yes`
1983ac_test_CFLAGS=${CFLAGS+set}
1984ac_save_CFLAGS=$CFLAGS
1985CFLAGS="-g"
1986echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1987echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1988if test "${ac_cv_prog_cc_g+set}" = set; then
1989  echo $ECHO_N "(cached) $ECHO_C" >&6
1990else
1991  cat >conftest.$ac_ext <<_ACEOF
1992/* confdefs.h.  */
1993_ACEOF
1994cat confdefs.h >>conftest.$ac_ext
1995cat >>conftest.$ac_ext <<_ACEOF
1996/* end confdefs.h.  */
1997
1998int
1999main ()
2000{
2001
2002  ;
2003  return 0;
2004}
2005_ACEOF
2006rm -f conftest.$ac_objext
2007if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2008  (eval $ac_compile) 2>conftest.er1
2009  ac_status=$?
2010  grep -v '^ *+' conftest.er1 >conftest.err
2011  rm -f conftest.er1
2012  cat conftest.err >&5
2013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2014  (exit $ac_status); } &&
2015         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2016  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2017  (eval $ac_try) 2>&5
2018  ac_status=$?
2019  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2020  (exit $ac_status); }; } &&
2021         { ac_try='test -s conftest.$ac_objext'
2022  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2023  (eval $ac_try) 2>&5
2024  ac_status=$?
2025  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2026  (exit $ac_status); }; }; then
2027  ac_cv_prog_cc_g=yes
2028else
2029  echo "$as_me: failed program was:" >&5
2030sed 's/^/| /' conftest.$ac_ext >&5
2031
2032ac_cv_prog_cc_g=no
2033fi
2034rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2035fi
2036echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2037echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2038if test "$ac_test_CFLAGS" = set; then
2039  CFLAGS=$ac_save_CFLAGS
2040elif test $ac_cv_prog_cc_g = yes; then
2041  if test "$GCC" = yes; then
2042    CFLAGS="-g -O2"
2043  else
2044    CFLAGS="-g"
2045  fi
2046else
2047  if test "$GCC" = yes; then
2048    CFLAGS="-O2"
2049  else
2050    CFLAGS=
2051  fi
2052fi
2053echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2054echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2055if test "${ac_cv_prog_cc_stdc+set}" = set; then
2056  echo $ECHO_N "(cached) $ECHO_C" >&6
2057else
2058  ac_cv_prog_cc_stdc=no
2059ac_save_CC=$CC
2060cat >conftest.$ac_ext <<_ACEOF
2061/* confdefs.h.  */
2062_ACEOF
2063cat confdefs.h >>conftest.$ac_ext
2064cat >>conftest.$ac_ext <<_ACEOF
2065/* end confdefs.h.  */
2066#include <stdarg.h>
2067#include <stdio.h>
2068#include <sys/types.h>
2069#include <sys/stat.h>
2070/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2071struct buf { int x; };
2072FILE * (*rcsopen) (struct buf *, struct stat *, int);
2073static char *e (p, i)
2074     char **p;
2075     int i;
2076{
2077  return p[i];
2078}
2079static char *f (char * (*g) (char **, int), char **p, ...)
2080{
2081  char *s;
2082  va_list v;
2083  va_start (v,p);
2084  s = g (p, va_arg (v,int));
2085  va_end (v);
2086  return s;
2087}
2088
2089/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2090   function prototypes and stuff, but not '\xHH' hex character constants.
2091   These don't provoke an error unfortunately, instead are silently treated
2092   as 'x'.  The following induces an error, until -std1 is added to get
2093   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2094   array size at least.  It's necessary to write '\x00'==0 to get something
2095   that's true only with -std1.  */
2096int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2097
2098int test (int i, double x);
2099struct s1 {int (*f) (int a);};
2100struct s2 {int (*f) (double a);};
2101int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2102int argc;
2103char **argv;
2104int
2105main ()
2106{
2107return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2108  ;
2109  return 0;
2110}
2111_ACEOF
2112# Don't try gcc -ansi; that turns off useful extensions and
2113# breaks some systems' header files.
2114# AIX                   -qlanglvl=ansi
2115# Ultrix and OSF/1      -std1
2116# HP-UX 10.20 and later -Ae
2117# HP-UX older versions  -Aa -D_HPUX_SOURCE
2118# SVR4                  -Xc -D__EXTENSIONS__
2119for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2120do
2121  CC="$ac_save_CC $ac_arg"
2122  rm -f conftest.$ac_objext
2123if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2124  (eval $ac_compile) 2>conftest.er1
2125  ac_status=$?
2126  grep -v '^ *+' conftest.er1 >conftest.err
2127  rm -f conftest.er1
2128  cat conftest.err >&5
2129  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130  (exit $ac_status); } &&
2131         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2132  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2133  (eval $ac_try) 2>&5
2134  ac_status=$?
2135  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2136  (exit $ac_status); }; } &&
2137         { ac_try='test -s conftest.$ac_objext'
2138  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2139  (eval $ac_try) 2>&5
2140  ac_status=$?
2141  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2142  (exit $ac_status); }; }; then
2143  ac_cv_prog_cc_stdc=$ac_arg
2144break
2145else
2146  echo "$as_me: failed program was:" >&5
2147sed 's/^/| /' conftest.$ac_ext >&5
2148
2149fi
2150rm -f conftest.err conftest.$ac_objext
2151done
2152rm -f conftest.$ac_ext conftest.$ac_objext
2153CC=$ac_save_CC
2154
2155fi
2156
2157case "x$ac_cv_prog_cc_stdc" in
2158  x|xno)
2159    echo "$as_me:$LINENO: result: none needed" >&5
2160echo "${ECHO_T}none needed" >&6 ;;
2161  *)
2162    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2163echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2164    CC="$CC $ac_cv_prog_cc_stdc" ;;
2165esac
2166
2167# Some people use a C++ compiler to compile C.  Since we use `exit',
2168# in C++ we need to declare it.  In case someone uses the same compiler
2169# for both compiling C and C++ we need to have the C++ compiler decide
2170# the declaration of exit, since it's the most demanding environment.
2171cat >conftest.$ac_ext <<_ACEOF
2172#ifndef __cplusplus
2173  choke me
2174#endif
2175_ACEOF
2176rm -f conftest.$ac_objext
2177if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2178  (eval $ac_compile) 2>conftest.er1
2179  ac_status=$?
2180  grep -v '^ *+' conftest.er1 >conftest.err
2181  rm -f conftest.er1
2182  cat conftest.err >&5
2183  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184  (exit $ac_status); } &&
2185         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2186  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187  (eval $ac_try) 2>&5
2188  ac_status=$?
2189  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190  (exit $ac_status); }; } &&
2191         { ac_try='test -s conftest.$ac_objext'
2192  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2193  (eval $ac_try) 2>&5
2194  ac_status=$?
2195  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196  (exit $ac_status); }; }; then
2197  for ac_declaration in \
2198   '' \
2199   'extern "C" void std::exit (int) throw (); using std::exit;' \
2200   'extern "C" void std::exit (int); using std::exit;' \
2201   'extern "C" void exit (int) throw ();' \
2202   'extern "C" void exit (int);' \
2203   'void exit (int);'
2204do
2205  cat >conftest.$ac_ext <<_ACEOF
2206/* confdefs.h.  */
2207_ACEOF
2208cat confdefs.h >>conftest.$ac_ext
2209cat >>conftest.$ac_ext <<_ACEOF
2210/* end confdefs.h.  */
2211$ac_declaration
2212#include <stdlib.h>
2213int
2214main ()
2215{
2216exit (42);
2217  ;
2218  return 0;
2219}
2220_ACEOF
2221rm -f conftest.$ac_objext
2222if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2223  (eval $ac_compile) 2>conftest.er1
2224  ac_status=$?
2225  grep -v '^ *+' conftest.er1 >conftest.err
2226  rm -f conftest.er1
2227  cat conftest.err >&5
2228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229  (exit $ac_status); } &&
2230         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2231  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2232  (eval $ac_try) 2>&5
2233  ac_status=$?
2234  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235  (exit $ac_status); }; } &&
2236         { ac_try='test -s conftest.$ac_objext'
2237  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2238  (eval $ac_try) 2>&5
2239  ac_status=$?
2240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241  (exit $ac_status); }; }; then
2242  :
2243else
2244  echo "$as_me: failed program was:" >&5
2245sed 's/^/| /' conftest.$ac_ext >&5
2246
2247continue
2248fi
2249rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2250  cat >conftest.$ac_ext <<_ACEOF
2251/* confdefs.h.  */
2252_ACEOF
2253cat confdefs.h >>conftest.$ac_ext
2254cat >>conftest.$ac_ext <<_ACEOF
2255/* end confdefs.h.  */
2256$ac_declaration
2257int
2258main ()
2259{
2260exit (42);
2261  ;
2262  return 0;
2263}
2264_ACEOF
2265rm -f conftest.$ac_objext
2266if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2267  (eval $ac_compile) 2>conftest.er1
2268  ac_status=$?
2269  grep -v '^ *+' conftest.er1 >conftest.err
2270  rm -f conftest.er1
2271  cat conftest.err >&5
2272  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273  (exit $ac_status); } &&
2274         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
2275  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2276  (eval $ac_try) 2>&5
2277  ac_status=$?
2278  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279  (exit $ac_status); }; } &&
2280         { ac_try='test -s conftest.$ac_objext'
2281  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2282  (eval $ac_try) 2>&5
2283  ac_status=$?
2284  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285  (exit $ac_status); }; }; then
2286  break
2287else
2288  echo "$as_me: failed program was:" >&5
2289sed 's/^/| /' conftest.$ac_ext >&5
2290
2291fi
2292rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2293done
2294rm -f conftest*
2295if test -n "$ac_declaration"; then
2296  echo '#ifdef __cplusplus' >>confdefs.h
2297  echo $ac_declaration      >>confdefs.h
2298  echo '#endif'             >>confdefs.h
2299fi
2300
2301else
2302  echo "$as_me: failed program was:" >&5
2303sed 's/^/| /' conftest.$ac_ext >&5
2304
2305fi
2306rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2307ac_ext=c
2308ac_cpp='$CPP $CPPFLAGS'
2309ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2310ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2311ac_compiler_gnu=$ac_cv_c_compiler_gnu
2312
2313
2314ac_ext=c
2315ac_cpp='$CPP $CPPFLAGS'
2316ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2317ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2318ac_compiler_gnu=$ac_cv_c_compiler_gnu
2319echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2320echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2321# On Suns, sometimes $CPP names a directory.
2322if test -n "$CPP" && test -d "$CPP"; then
2323  CPP=
2324fi
2325if test -z "$CPP"; then
2326  if test "${ac_cv_prog_CPP+set}" = set; then
2327  echo $ECHO_N "(cached) $ECHO_C" >&6
2328else
2329      # Double quotes because CPP needs to be expanded
2330    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2331    do
2332      ac_preproc_ok=false
2333for ac_c_preproc_warn_flag in '' yes
2334do
2335  # Use a header file that comes with gcc, so configuring glibc
2336  # with a fresh cross-compiler works.
2337  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2338  # <limits.h> exists even on freestanding compilers.
2339  # On the NeXT, cc -E runs the code through the compiler's parser,
2340  # not just through cpp. "Syntax error" is here to catch this case.
2341  cat >conftest.$ac_ext <<_ACEOF
2342/* confdefs.h.  */
2343_ACEOF
2344cat confdefs.h >>conftest.$ac_ext
2345cat >>conftest.$ac_ext <<_ACEOF
2346/* end confdefs.h.  */
2347#ifdef __STDC__
2348# include <limits.h>
2349#else
2350# include <assert.h>
2351#endif
2352                     Syntax error
2353_ACEOF
2354if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2355  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2356  ac_status=$?
2357  grep -v '^ *+' conftest.er1 >conftest.err
2358  rm -f conftest.er1
2359  cat conftest.err >&5
2360  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361  (exit $ac_status); } >/dev/null; then
2362  if test -s conftest.err; then
2363    ac_cpp_err=$ac_c_preproc_warn_flag
2364    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2365  else
2366    ac_cpp_err=
2367  fi
2368else
2369  ac_cpp_err=yes
2370fi
2371if test -z "$ac_cpp_err"; then
2372  :
2373else
2374  echo "$as_me: failed program was:" >&5
2375sed 's/^/| /' conftest.$ac_ext >&5
2376
2377  # Broken: fails on valid input.
2378continue
2379fi
2380rm -f conftest.err conftest.$ac_ext
2381
2382  # OK, works on sane cases.  Now check whether non-existent headers
2383  # can be detected and how.
2384  cat >conftest.$ac_ext <<_ACEOF
2385/* confdefs.h.  */
2386_ACEOF
2387cat confdefs.h >>conftest.$ac_ext
2388cat >>conftest.$ac_ext <<_ACEOF
2389/* end confdefs.h.  */
2390#include <ac_nonexistent.h>
2391_ACEOF
2392if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2393  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2394  ac_status=$?
2395  grep -v '^ *+' conftest.er1 >conftest.err
2396  rm -f conftest.er1
2397  cat conftest.err >&5
2398  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399  (exit $ac_status); } >/dev/null; then
2400  if test -s conftest.err; then
2401    ac_cpp_err=$ac_c_preproc_warn_flag
2402    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2403  else
2404    ac_cpp_err=
2405  fi
2406else
2407  ac_cpp_err=yes
2408fi
2409if test -z "$ac_cpp_err"; then
2410  # Broken: success on invalid input.
2411continue
2412else
2413  echo "$as_me: failed program was:" >&5
2414sed 's/^/| /' conftest.$ac_ext >&5
2415
2416  # Passes both tests.
2417ac_preproc_ok=:
2418break
2419fi
2420rm -f conftest.err conftest.$ac_ext
2421
2422done
2423# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2424rm -f conftest.err conftest.$ac_ext
2425if $ac_preproc_ok; then
2426  break
2427fi
2428
2429    done
2430    ac_cv_prog_CPP=$CPP
2431
2432fi
2433  CPP=$ac_cv_prog_CPP
2434else
2435  ac_cv_prog_CPP=$CPP
2436fi
2437echo "$as_me:$LINENO: result: $CPP" >&5
2438echo "${ECHO_T}$CPP" >&6
2439ac_preproc_ok=false
2440for ac_c_preproc_warn_flag in '' yes
2441do
2442  # Use a header file that comes with gcc, so configuring glibc
2443  # with a fresh cross-compiler works.
2444  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2445  # <limits.h> exists even on freestanding compilers.
2446  # On the NeXT, cc -E runs the code through the compiler's parser,
2447  # not just through cpp. "Syntax error" is here to catch this case.
2448  cat >conftest.$ac_ext <<_ACEOF
2449/* confdefs.h.  */
2450_ACEOF
2451cat confdefs.h >>conftest.$ac_ext
2452cat >>conftest.$ac_ext <<_ACEOF
2453/* end confdefs.h.  */
2454#ifdef __STDC__
2455# include <limits.h>
2456#else
2457# include <assert.h>
2458#endif
2459                     Syntax error
2460_ACEOF
2461if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2462  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2463  ac_status=$?
2464  grep -v '^ *+' conftest.er1 >conftest.err
2465  rm -f conftest.er1
2466  cat conftest.err >&5
2467  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468  (exit $ac_status); } >/dev/null; then
2469  if test -s conftest.err; then
2470    ac_cpp_err=$ac_c_preproc_warn_flag
2471    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2472  else
2473    ac_cpp_err=
2474  fi
2475else
2476  ac_cpp_err=yes
2477fi
2478if test -z "$ac_cpp_err"; then
2479  :
2480else
2481  echo "$as_me: failed program was:" >&5
2482sed 's/^/| /' conftest.$ac_ext >&5
2483
2484  # Broken: fails on valid input.
2485continue
2486fi
2487rm -f conftest.err conftest.$ac_ext
2488
2489  # OK, works on sane cases.  Now check whether non-existent headers
2490  # can be detected and how.
2491  cat >conftest.$ac_ext <<_ACEOF
2492/* confdefs.h.  */
2493_ACEOF
2494cat confdefs.h >>conftest.$ac_ext
2495cat >>conftest.$ac_ext <<_ACEOF
2496/* end confdefs.h.  */
2497#include <ac_nonexistent.h>
2498_ACEOF
2499if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2500  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2501  ac_status=$?
2502  grep -v '^ *+' conftest.er1 >conftest.err
2503  rm -f conftest.er1
2504  cat conftest.err >&5
2505  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506  (exit $ac_status); } >/dev/null; then
2507  if test -s conftest.err; then
2508    ac_cpp_err=$ac_c_preproc_warn_flag
2509    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2510  else
2511    ac_cpp_err=
2512  fi
2513else
2514  ac_cpp_err=yes
2515fi
2516if test -z "$ac_cpp_err"; then
2517  # Broken: success on invalid input.
2518continue
2519else
2520  echo "$as_me: failed program was:" >&5
2521sed 's/^/| /' conftest.$ac_ext >&5
2522
2523  # Passes both tests.
2524ac_preproc_ok=:
2525break
2526fi
2527rm -f conftest.err conftest.$ac_ext
2528
2529done
2530# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2531rm -f conftest.err conftest.$ac_ext
2532if $ac_preproc_ok; then
2533  :
2534else
2535  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2536See \`config.log' for more details." >&5
2537echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2538See \`config.log' for more details." >&2;}
2539   { (exit 1); exit 1; }; }
2540fi
2541
2542ac_ext=c
2543ac_cpp='$CPP $CPPFLAGS'
2544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2546ac_compiler_gnu=$ac_cv_c_compiler_gnu
2547
2548
2549echo "$as_me:$LINENO: checking for egrep" >&5
2550echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2551if test "${ac_cv_prog_egrep+set}" = set; then
2552  echo $ECHO_N "(cached) $ECHO_C" >&6
2553else
2554  if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2555    then ac_cv_prog_egrep='grep -E'
2556    else ac_cv_prog_egrep='egrep'
2557    fi
2558fi
2559echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2560echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2561 EGREP=$ac_cv_prog_egrep
2562
2563
2564if test $ac_cv_c_compiler_gnu = yes; then
2565    echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
2566echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
2567if test "${ac_cv_prog_gcc_traditional+set}" = set; then
2568  echo $ECHO_N "(cached) $ECHO_C" >&6
2569else
2570    ac_pattern="Autoconf.*'x'"
2571  cat >conftest.$ac_ext <<_ACEOF
2572/* confdefs.h.  */
2573_ACEOF
2574cat confdefs.h >>conftest.$ac_ext
2575cat >>conftest.$ac_ext <<_ACEOF
2576/* end confdefs.h.  */
2577#include <sgtty.h>
2578Autoconf TIOCGETP
2579_ACEOF
2580if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2581  $EGREP "$ac_pattern" >/dev/null 2>&1; then
2582  ac_cv_prog_gcc_traditional=yes
2583else
2584  ac_cv_prog_gcc_traditional=no
2585fi
2586rm -f conftest*
2587
2588
2589  if test $ac_cv_prog_gcc_traditional = no; then
2590    cat >conftest.$ac_ext <<_ACEOF
2591/* confdefs.h.  */
2592_ACEOF
2593cat confdefs.h >>conftest.$ac_ext
2594cat >>conftest.$ac_ext <<_ACEOF
2595/* end confdefs.h.  */
2596#include <termio.h>
2597Autoconf TCGETA
2598_ACEOF
2599if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2600  $EGREP "$ac_pattern" >/dev/null 2>&1; then
2601  ac_cv_prog_gcc_traditional=yes
2602fi
2603rm -f conftest*
2604
2605  fi
2606fi
2607echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
2608echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
2609  if test $ac_cv_prog_gcc_traditional = yes; then
2610    CC="$CC -traditional"
2611  fi
2612fi
2613
2614
2615if test "x$DEBUG" = "x";then
2616  DEBUG=0
2617fi
2618
2619
2620# Now a user can specify the TRAC user
2621#
2622
2623# Check whether --with-trac_user or --without-trac_user was given.
2624if test "${with_trac_user+set}" = set; then
2625  withval="$with_trac_user"
2626  case "${withval}" in
2627        *) trac_user="${withval}" ;;
2628  esac
2629else
2630  trac_user="www-data"
2631
2632fi;
2633# Now a user can specify MTA TRAC user
2634#
2635
2636# Check whether --with-mta_user or --without-mta_user was given.
2637if test "${with_mta_user+set}" = set; then
2638  withval="$with_mta_user"
2639  case "${withval}" in
2640        *) mta_user="${withval}" ;;
2641  esac
2642else
2643  mta_user="nobody"
2644
2645fi;
2646if test "$sysconfdir" = '${prefix}/etc'; then
2647  if test "x$prefix" = xNONE; then
2648    email2trac_conf="$ac_default_prefix/etc/email2trac.conf"
2649  else
2650    email2trac_conf="$prefix/etc/email2trac.conf"
2651  fi
2652else
2653  email2trac_conf="$sysconfdir/email2trac.conf"
2654fi
2655
2656cat >>confdefs.h <<_ACEOF
2657#define SYSTEM_EMAIL2TRAC_CONF "$email2trac_conf"
2658_ACEOF
2659
2660
2661
2662
2663
2664
2665                              ac_config_files="$ac_config_files Makefile email2trac.py delete_spam.py"
2666cat >confcache <<\_ACEOF
2667# This file is a shell script that caches the results of configure
2668# tests run on this system so they can be shared between configure
2669# scripts and configure runs, see configure's option --config-cache.
2670# It is not useful on other systems.  If it contains results you don't
2671# want to keep, you may remove or edit it.
2672#
2673# config.status only pays attention to the cache file if you give it
2674# the --recheck option to rerun configure.
2675#
2676# `ac_cv_env_foo' variables (set or unset) will be overridden when
2677# loading this file, other *unset* `ac_cv_foo' will be assigned the
2678# following values.
2679
2680_ACEOF
2681
2682# The following way of writing the cache mishandles newlines in values,
2683# but we know of no workaround that is simple, portable, and efficient.
2684# So, don't put newlines in cache variables' values.
2685# Ultrix sh set writes to stderr and can't be redirected directly,
2686# and sets the high bit in the cache file unless we assign to the vars.
2687{
2688  (set) 2>&1 |
2689    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2690    *ac_space=\ *)
2691      # `set' does not quote correctly, so add quotes (double-quote
2692      # substitution turns \\\\ into \\, and sed turns \\ into \).
2693      sed -n \
2694        "s/'/'\\\\''/g;
2695          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2696      ;;
2697    *)
2698      # `set' quotes correctly as required by POSIX, so do not add quotes.
2699      sed -n \
2700        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2701      ;;
2702    esac;
2703} |
2704  sed '
2705     t clear
2706     : clear
2707     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2708     t end
2709     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2710     : end' >>confcache
2711if diff $cache_file confcache >/dev/null 2>&1; then :; else
2712  if test -w $cache_file; then
2713    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2714    cat confcache >$cache_file
2715  else
2716    echo "not updating unwritable cache $cache_file"
2717  fi
2718fi
2719rm -f confcache
2720
2721test "x$prefix" = xNONE && prefix=$ac_default_prefix
2722# Let make expand exec_prefix.
2723test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2724
2725# VPATH may cause trouble with some makes, so we remove $(srcdir),
2726# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2727# trailing colons and then remove the whole line if VPATH becomes empty
2728# (actually we leave an empty line to preserve line numbers).
2729if test "x$srcdir" = x.; then
2730  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2731s/:*\$(srcdir):*/:/;
2732s/:*\${srcdir}:*/:/;
2733s/:*@srcdir@:*/:/;
2734s/^\([^=]*=[     ]*\):*/\1/;
2735s/:*$//;
2736s/^[^=]*=[       ]*$//;
2737}'
2738fi
2739
2740# Transform confdefs.h into DEFS.
2741# Protect against shell expansion while executing Makefile rules.
2742# Protect against Makefile macro expansion.
2743#
2744# If the first sed substitution is executed (which looks for macros that
2745# take arguments), then we branch to the quote section.  Otherwise,
2746# look for a macro that doesn't take arguments.
2747cat >confdef2opt.sed <<\_ACEOF
2748t clear
2749: clear
2750s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2751t quote
2752s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2753t quote
2754d
2755: quote
2756s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2757s,\[,\\&,g
2758s,\],\\&,g
2759s,\$,$$,g
2760p
2761_ACEOF
2762# We use echo to avoid assuming a particular line-breaking character.
2763# The extra dot is to prevent the shell from consuming trailing
2764# line-breaks from the sub-command output.  A line-break within
2765# single-quotes doesn't work because, if this script is created in a
2766# platform that uses two characters for line-breaks (e.g., DOS), tr
2767# would break.
2768ac_LF_and_DOT=`echo; echo .`
2769DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2770rm -f confdef2opt.sed
2771
2772
2773ac_libobjs=
2774ac_ltlibobjs=
2775for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2776  # 1. Remove the extension, and $U if already installed.
2777  ac_i=`echo "$ac_i" |
2778         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2779  # 2. Add them.
2780  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2781  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2782done
2783LIBOBJS=$ac_libobjs
2784
2785LTLIBOBJS=$ac_ltlibobjs
2786
2787
2788
2789: ${CONFIG_STATUS=./config.status}
2790ac_clean_files_save=$ac_clean_files
2791ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2792{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2793echo "$as_me: creating $CONFIG_STATUS" >&6;}
2794cat >$CONFIG_STATUS <<_ACEOF
2795#! $SHELL
2796# Generated by $as_me.
2797# Run this file to recreate the current configuration.
2798# Compiler output produced by configure, useful for debugging
2799# configure, is in config.log if it exists.
2800
2801debug=false
2802ac_cs_recheck=false
2803ac_cs_silent=false
2804SHELL=\${CONFIG_SHELL-$SHELL}
2805_ACEOF
2806
2807cat >>$CONFIG_STATUS <<\_ACEOF
2808## --------------------- ##
2809## M4sh Initialization.  ##
2810## --------------------- ##
2811
2812# Be Bourne compatible
2813if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2814  emulate sh
2815  NULLCMD=:
2816  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2817  # is contrary to our usage.  Disable this feature.
2818  alias -g '${1+"$@"}'='"$@"'
2819elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2820  set -o posix
2821fi
2822DUALCASE=1; export DUALCASE # for MKS sh
2823
2824# Support unset when possible.
2825if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2826  as_unset=unset
2827else
2828  as_unset=false
2829fi
2830
2831
2832# Work around bugs in pre-3.0 UWIN ksh.
2833$as_unset ENV MAIL MAILPATH
2834PS1='$ '
2835PS2='> '
2836PS4='+ '
2837
2838# NLS nuisances.
2839for as_var in \
2840  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2841  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2842  LC_TELEPHONE LC_TIME
2843do
2844  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2845    eval $as_var=C; export $as_var
2846  else
2847    $as_unset $as_var
2848  fi
2849done
2850
2851# Required to use basename.
2852if expr a : '\(a\)' >/dev/null 2>&1; then
2853  as_expr=expr
2854else
2855  as_expr=false
2856fi
2857
2858if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2859  as_basename=basename
2860else
2861  as_basename=false
2862fi
2863
2864
2865# Name of the executable.
2866as_me=`$as_basename "$0" ||
2867$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2868         X"$0" : 'X\(//\)$' \| \
2869         X"$0" : 'X\(/\)$' \| \
2870         .     : '\(.\)' 2>/dev/null ||
2871echo X/"$0" |
2872    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2873          /^X\/\(\/\/\)$/{ s//\1/; q; }
2874          /^X\/\(\/\).*/{ s//\1/; q; }
2875          s/.*/./; q'`
2876
2877
2878# PATH needs CR, and LINENO needs CR and PATH.
2879# Avoid depending upon Character Ranges.
2880as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2881as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2882as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2883as_cr_digits='0123456789'
2884as_cr_alnum=$as_cr_Letters$as_cr_digits
2885
2886# The user is always right.
2887if test "${PATH_SEPARATOR+set}" != set; then
2888  echo "#! /bin/sh" >conf$$.sh
2889  echo  "exit 0"   >>conf$$.sh
2890  chmod +x conf$$.sh
2891  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2892    PATH_SEPARATOR=';'
2893  else
2894    PATH_SEPARATOR=:
2895  fi
2896  rm -f conf$$.sh
2897fi
2898
2899
2900  as_lineno_1=$LINENO
2901  as_lineno_2=$LINENO
2902  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2903  test "x$as_lineno_1" != "x$as_lineno_2" &&
2904  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2905  # Find who we are.  Look in the path if we contain no path at all
2906  # relative or not.
2907  case $0 in
2908    *[\\/]* ) as_myself=$0 ;;
2909    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2910for as_dir in $PATH
2911do
2912  IFS=$as_save_IFS
2913  test -z "$as_dir" && as_dir=.
2914  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2915done
2916
2917       ;;
2918  esac
2919  # We did not find ourselves, most probably we were run as `sh COMMAND'
2920  # in which case we are not to be found in the path.
2921  if test "x$as_myself" = x; then
2922    as_myself=$0
2923  fi
2924  if test ! -f "$as_myself"; then
2925    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2926echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2927   { (exit 1); exit 1; }; }
2928  fi
2929  case $CONFIG_SHELL in
2930  '')
2931    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2932for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2933do
2934  IFS=$as_save_IFS
2935  test -z "$as_dir" && as_dir=.
2936  for as_base in sh bash ksh sh5; do
2937         case $as_dir in
2938         /*)
2939           if ("$as_dir/$as_base" -c '
2940  as_lineno_1=$LINENO
2941  as_lineno_2=$LINENO
2942  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2943  test "x$as_lineno_1" != "x$as_lineno_2" &&
2944  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2945             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2946             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2947             CONFIG_SHELL=$as_dir/$as_base
2948             export CONFIG_SHELL
2949             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2950           fi;;
2951         esac
2952       done
2953done
2954;;
2955  esac
2956
2957  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2958  # uniformly replaced by the line number.  The first 'sed' inserts a
2959  # line-number line before each line; the second 'sed' does the real
2960  # work.  The second script uses 'N' to pair each line-number line
2961  # with the numbered line, and appends trailing '-' during
2962  # substitution so that $LINENO is not a special case at line end.
2963  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2964  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2965  sed '=' <$as_myself |
2966    sed '
2967      N
2968      s,$,-,
2969      : loop
2970      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2971      t loop
2972      s,-$,,
2973      s,^['$as_cr_digits']*\n,,
2974    ' >$as_me.lineno &&
2975  chmod +x $as_me.lineno ||
2976    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2977echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2978   { (exit 1); exit 1; }; }
2979
2980  # Don't try to exec as it changes $[0], causing all sort of problems
2981  # (the dirname of $[0] is not the place where we might find the
2982  # original and so on.  Autoconf is especially sensible to this).
2983  . ./$as_me.lineno
2984  # Exit status is that of the last command.
2985  exit
2986}
2987
2988
2989case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2990  *c*,-n*) ECHO_N= ECHO_C='
2991' ECHO_T='      ' ;;
2992  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2993  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2994esac
2995
2996if expr a : '\(a\)' >/dev/null 2>&1; then
2997  as_expr=expr
2998else
2999  as_expr=false
3000fi
3001
3002rm -f conf$$ conf$$.exe conf$$.file
3003echo >conf$$.file
3004if ln -s conf$$.file conf$$ 2>/dev/null; then
3005  # We could just check for DJGPP; but this test a) works b) is more generic
3006  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3007  if test -f conf$$.exe; then
3008    # Don't use ln at all; we don't have any links
3009    as_ln_s='cp -p'
3010  else
3011    as_ln_s='ln -s'
3012  fi
3013elif ln conf$$.file conf$$ 2>/dev/null; then
3014  as_ln_s=ln
3015else
3016  as_ln_s='cp -p'
3017fi
3018rm -f conf$$ conf$$.exe conf$$.file
3019
3020if mkdir -p . 2>/dev/null; then
3021  as_mkdir_p=:
3022else
3023  test -d ./-p && rmdir ./-p
3024  as_mkdir_p=false
3025fi
3026
3027as_executable_p="test -f"
3028
3029# Sed expression to map a string onto a valid CPP name.
3030as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3031
3032# Sed expression to map a string onto a valid variable name.
3033as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3034
3035
3036# IFS
3037# We need space, tab and new line, in precisely that order.
3038as_nl='
3039'
3040IFS="   $as_nl"
3041
3042# CDPATH.
3043$as_unset CDPATH
3044
3045exec 6>&1
3046
3047# Open the log real soon, to keep \$[0] and so on meaningful, and to
3048# report actual input values of CONFIG_FILES etc. instead of their
3049# values after options handling.  Logging --version etc. is OK.
3050exec 5>>config.log
3051{
3052  echo
3053  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3054## Running $as_me. ##
3055_ASBOX
3056} >&5
3057cat >&5 <<_CSEOF
3058
3059This file was extended by $as_me, which was
3060generated by GNU Autoconf 2.59.  Invocation command line was
3061
3062  CONFIG_FILES    = $CONFIG_FILES
3063  CONFIG_HEADERS  = $CONFIG_HEADERS
3064  CONFIG_LINKS    = $CONFIG_LINKS
3065  CONFIG_COMMANDS = $CONFIG_COMMANDS
3066  $ $0 $@
3067
3068_CSEOF
3069echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3070echo >&5
3071_ACEOF
3072
3073# Files that config.status was made for.
3074if test -n "$ac_config_files"; then
3075  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3076fi
3077
3078if test -n "$ac_config_headers"; then
3079  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3080fi
3081
3082if test -n "$ac_config_links"; then
3083  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3084fi
3085
3086if test -n "$ac_config_commands"; then
3087  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3088fi
3089
3090cat >>$CONFIG_STATUS <<\_ACEOF
3091
3092ac_cs_usage="\
3093\`$as_me' instantiates files from templates according to the
3094current configuration.
3095
3096Usage: $0 [OPTIONS] [FILE]...
3097
3098  -h, --help       print this help, then exit
3099  -V, --version    print version number, then exit
3100  -q, --quiet      do not print progress messages
3101  -d, --debug      don't remove temporary files
3102      --recheck    update $as_me by reconfiguring in the same conditions
3103  --file=FILE[:TEMPLATE]
3104                   instantiate the configuration file FILE
3105
3106Configuration files:
3107$config_files
3108
3109Report bugs to <bug-autoconf@gnu.org>."
3110_ACEOF
3111
3112cat >>$CONFIG_STATUS <<_ACEOF
3113ac_cs_version="\\
3114config.status
3115configured by $0, generated by GNU Autoconf 2.59,
3116  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3117
3118Copyright (C) 2003 Free Software Foundation, Inc.
3119This config.status script is free software; the Free Software Foundation
3120gives unlimited permission to copy, distribute and modify it."
3121srcdir=$srcdir
3122_ACEOF
3123
3124cat >>$CONFIG_STATUS <<\_ACEOF
3125# If no file are specified by the user, then we need to provide default
3126# value.  By we need to know if files were specified by the user.
3127ac_need_defaults=:
3128while test $# != 0
3129do
3130  case $1 in
3131  --*=*)
3132    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3133    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3134    ac_shift=:
3135    ;;
3136  -*)
3137    ac_option=$1
3138    ac_optarg=$2
3139    ac_shift=shift
3140    ;;
3141  *) # This is not an option, so the user has probably given explicit
3142     # arguments.
3143     ac_option=$1
3144     ac_need_defaults=false;;
3145  esac
3146
3147  case $ac_option in
3148  # Handling of the options.
3149_ACEOF
3150cat >>$CONFIG_STATUS <<\_ACEOF
3151  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3152    ac_cs_recheck=: ;;
3153  --version | --vers* | -V )
3154    echo "$ac_cs_version"; exit 0 ;;
3155  --he | --h)
3156    # Conflict between --help and --header
3157    { { echo "$as_me:$LINENO: error: ambiguous option: $1
3158Try \`$0 --help' for more information." >&5
3159echo "$as_me: error: ambiguous option: $1
3160Try \`$0 --help' for more information." >&2;}
3161   { (exit 1); exit 1; }; };;
3162  --help | --hel | -h )
3163    echo "$ac_cs_usage"; exit 0 ;;
3164  --debug | --d* | -d )
3165    debug=: ;;
3166  --file | --fil | --fi | --f )
3167    $ac_shift
3168    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3169    ac_need_defaults=false;;
3170  --header | --heade | --head | --hea )
3171    $ac_shift
3172    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3173    ac_need_defaults=false;;
3174  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3175  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3176    ac_cs_silent=: ;;
3177
3178  # This is an error.
3179  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3180Try \`$0 --help' for more information." >&5
3181echo "$as_me: error: unrecognized option: $1
3182Try \`$0 --help' for more information." >&2;}
3183   { (exit 1); exit 1; }; } ;;
3184
3185  *) ac_config_targets="$ac_config_targets $1" ;;
3186
3187  esac
3188  shift
3189done
3190
3191ac_configure_extra_args=
3192
3193if $ac_cs_silent; then
3194  exec 6>/dev/null
3195  ac_configure_extra_args="$ac_configure_extra_args --silent"
3196fi
3197
3198_ACEOF
3199cat >>$CONFIG_STATUS <<_ACEOF
3200if \$ac_cs_recheck; then
3201  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3202  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3203fi
3204
3205_ACEOF
3206
3207
3208
3209
3210
3211cat >>$CONFIG_STATUS <<\_ACEOF
3212for ac_config_target in $ac_config_targets
3213do
3214  case "$ac_config_target" in
3215  # Handling of arguments.
3216  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3217  "email2trac.py" ) CONFIG_FILES="$CONFIG_FILES email2trac.py" ;;
3218  "delete_spam.py" ) CONFIG_FILES="$CONFIG_FILES delete_spam.py" ;;
3219  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3220echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3221   { (exit 1); exit 1; }; };;
3222  esac
3223done
3224
3225# If the user did not use the arguments to specify the items to instantiate,
3226# then the envvar interface is used.  Set only those that are not.
3227# We use the long form for the default assignment because of an extremely
3228# bizarre bug on SunOS 4.1.3.
3229if $ac_need_defaults; then
3230  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3231fi
3232
3233# Have a temporary directory for convenience.  Make it in the build tree
3234# simply because there is no reason to put it here, and in addition,
3235# creating and moving files from /tmp can sometimes cause problems.
3236# Create a temporary directory, and hook for its removal unless debugging.
3237$debug ||
3238{
3239  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3240  trap '{ (exit 1); exit 1; }' 1 2 13 15
3241}
3242
3243# Create a (secure) tmp directory for tmp files.
3244
3245{
3246  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3247  test -n "$tmp" && test -d "$tmp"
3248}  ||
3249{
3250  tmp=./confstat$$-$RANDOM
3251  (umask 077 && mkdir $tmp)
3252} ||
3253{
3254   echo "$me: cannot create a temporary directory in ." >&2
3255   { (exit 1); exit 1; }
3256}
3257
3258_ACEOF
3259
3260cat >>$CONFIG_STATUS <<_ACEOF
3261
3262#
3263# CONFIG_FILES section.
3264#
3265
3266# No need to generate the scripts if there are no CONFIG_FILES.
3267# This happens for instance when ./config.status config.h
3268if test -n "\$CONFIG_FILES"; then
3269  # Protect against being on the right side of a sed subst in config.status.
3270  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3271   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3272s,@SHELL@,$SHELL,;t t
3273s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3274s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3275s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3276s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3277s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3278s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3279s,@exec_prefix@,$exec_prefix,;t t
3280s,@prefix@,$prefix,;t t
3281s,@program_transform_name@,$program_transform_name,;t t
3282s,@bindir@,$bindir,;t t
3283s,@sbindir@,$sbindir,;t t
3284s,@libexecdir@,$libexecdir,;t t
3285s,@datadir@,$datadir,;t t
3286s,@sysconfdir@,$sysconfdir,;t t
3287s,@sharedstatedir@,$sharedstatedir,;t t
3288s,@localstatedir@,$localstatedir,;t t
3289s,@libdir@,$libdir,;t t
3290s,@includedir@,$includedir,;t t
3291s,@oldincludedir@,$oldincludedir,;t t
3292s,@infodir@,$infodir,;t t
3293s,@mandir@,$mandir,;t t
3294s,@build_alias@,$build_alias,;t t
3295s,@host_alias@,$host_alias,;t t
3296s,@target_alias@,$target_alias,;t t
3297s,@DEFS@,$DEFS,;t t
3298s,@ECHO_C@,$ECHO_C,;t t
3299s,@ECHO_N@,$ECHO_N,;t t
3300s,@ECHO_T@,$ECHO_T,;t t
3301s,@LIBS@,$LIBS,;t t
3302s,@pyexecdir@,$pyexecdir,;t t
3303s,@trac_user@,$trac_user,;t t
3304s,@mta_user@,$mta_user,;t t
3305s,@PYTHON@,$PYTHON,;t t
3306s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t
3307s,@PYTHON_PREFIX@,$PYTHON_PREFIX,;t t
3308s,@PYTHON_EXEC_PREFIX@,$PYTHON_EXEC_PREFIX,;t t
3309s,@PYTHON_PLATFORM@,$PYTHON_PLATFORM,;t t
3310s,@pythondir@,$pythondir,;t t
3311s,@pkgpythondir@,$pkgpythondir,;t t
3312s,@pkgpyexecdir@,$pkgpyexecdir,;t t
3313s,@CC@,$CC,;t t
3314s,@CFLAGS@,$CFLAGS,;t t
3315s,@LDFLAGS@,$LDFLAGS,;t t
3316s,@CPPFLAGS@,$CPPFLAGS,;t t
3317s,@ac_ct_CC@,$ac_ct_CC,;t t
3318s,@EXEEXT@,$EXEEXT,;t t
3319s,@OBJEXT@,$OBJEXT,;t t
3320s,@CPP@,$CPP,;t t
3321s,@EGREP@,$EGREP,;t t
3322s,@DEBUG@,$DEBUG,;t t
3323s,@email2trac_conf@,$email2trac_conf,;t t
3324s,@SYSTEM_EMAIL2TRAC_CONF@,$SYSTEM_EMAIL2TRAC_CONF,;t t
3325s,@LIBOBJS@,$LIBOBJS,;t t
3326s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3327CEOF
3328
3329_ACEOF
3330
3331  cat >>$CONFIG_STATUS <<\_ACEOF
3332  # Split the substitutions into bite-sized pieces for seds with
3333  # small command number limits, like on Digital OSF/1 and HP-UX.
3334  ac_max_sed_lines=48
3335  ac_sed_frag=1 # Number of current file.
3336  ac_beg=1 # First line for current file.
3337  ac_end=$ac_max_sed_lines # Line after last line for current file.
3338  ac_more_lines=:
3339  ac_sed_cmds=
3340  while $ac_more_lines; do
3341    if test $ac_beg -gt 1; then
3342      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3343    else
3344      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3345    fi
3346    if test ! -s $tmp/subs.frag; then
3347      ac_more_lines=false
3348    else
3349      # The purpose of the label and of the branching condition is to
3350      # speed up the sed processing (if there are no `@' at all, there
3351      # is no need to browse any of the substitutions).
3352      # These are the two extra sed commands mentioned above.
3353      (echo ':t
3354  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3355      if test -z "$ac_sed_cmds"; then
3356        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3357      else
3358        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3359      fi
3360      ac_sed_frag=`expr $ac_sed_frag + 1`
3361      ac_beg=$ac_end
3362      ac_end=`expr $ac_end + $ac_max_sed_lines`
3363    fi
3364  done
3365  if test -z "$ac_sed_cmds"; then
3366    ac_sed_cmds=cat
3367  fi
3368fi # test -n "$CONFIG_FILES"
3369
3370_ACEOF
3371cat >>$CONFIG_STATUS <<\_ACEOF
3372for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3373  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3374  case $ac_file in
3375  - | *:- | *:-:* ) # input from stdin
3376        cat >$tmp/stdin
3377        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3378        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3379  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3380        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3381  * )   ac_file_in=$ac_file.in ;;
3382  esac
3383
3384  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3385  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3386$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3387         X"$ac_file" : 'X\(//\)[^/]' \| \
3388         X"$ac_file" : 'X\(//\)$' \| \
3389         X"$ac_file" : 'X\(/\)' \| \
3390         .     : '\(.\)' 2>/dev/null ||
3391echo X"$ac_file" |
3392    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3393          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3394          /^X\(\/\/\)$/{ s//\1/; q; }
3395          /^X\(\/\).*/{ s//\1/; q; }
3396          s/.*/./; q'`
3397  { if $as_mkdir_p; then
3398    mkdir -p "$ac_dir"
3399  else
3400    as_dir="$ac_dir"
3401    as_dirs=
3402    while test ! -d "$as_dir"; do
3403      as_dirs="$as_dir $as_dirs"
3404      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3405$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3406         X"$as_dir" : 'X\(//\)[^/]' \| \
3407         X"$as_dir" : 'X\(//\)$' \| \
3408         X"$as_dir" : 'X\(/\)' \| \
3409         .     : '\(.\)' 2>/dev/null ||
3410echo X"$as_dir" |
3411    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3412          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3413          /^X\(\/\/\)$/{ s//\1/; q; }
3414          /^X\(\/\).*/{ s//\1/; q; }
3415          s/.*/./; q'`
3416    done
3417    test ! -n "$as_dirs" || mkdir $as_dirs
3418  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3419echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3420   { (exit 1); exit 1; }; }; }
3421
3422  ac_builddir=.
3423
3424if test "$ac_dir" != .; then
3425  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3426  # A "../" for each directory in $ac_dir_suffix.
3427  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3428else
3429  ac_dir_suffix= ac_top_builddir=
3430fi
3431
3432case $srcdir in
3433  .)  # No --srcdir option.  We are building in place.
3434    ac_srcdir=.
3435    if test -z "$ac_top_builddir"; then
3436       ac_top_srcdir=.
3437    else
3438       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3439    fi ;;
3440  [\\/]* | ?:[\\/]* )  # Absolute path.
3441    ac_srcdir=$srcdir$ac_dir_suffix;
3442    ac_top_srcdir=$srcdir ;;
3443  *) # Relative path.
3444    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3445    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3446esac
3447
3448# Do not use `cd foo && pwd` to compute absolute paths, because
3449# the directories may not exist.
3450case `pwd` in
3451.) ac_abs_builddir="$ac_dir";;
3452*)
3453  case "$ac_dir" in
3454  .) ac_abs_builddir=`pwd`;;
3455  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3456  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3457  esac;;
3458esac
3459case $ac_abs_builddir in
3460.) ac_abs_top_builddir=${ac_top_builddir}.;;
3461*)
3462  case ${ac_top_builddir}. in
3463  .) ac_abs_top_builddir=$ac_abs_builddir;;
3464  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3465  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3466  esac;;
3467esac
3468case $ac_abs_builddir in
3469.) ac_abs_srcdir=$ac_srcdir;;
3470*)
3471  case $ac_srcdir in
3472  .) ac_abs_srcdir=$ac_abs_builddir;;
3473  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3474  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3475  esac;;
3476esac
3477case $ac_abs_builddir in
3478.) ac_abs_top_srcdir=$ac_top_srcdir;;
3479*)
3480  case $ac_top_srcdir in
3481  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3482  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3483  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3484  esac;;
3485esac
3486
3487
3488
3489  # Let's still pretend it is `configure' which instantiates (i.e., don't
3490  # use $as_me), people would be surprised to read:
3491  #    /* config.h.  Generated by config.status.  */
3492  if test x"$ac_file" = x-; then
3493    configure_input=
3494  else
3495    configure_input="$ac_file.  "
3496  fi
3497  configure_input=$configure_input"Generated from `echo $ac_file_in |
3498                                     sed 's,.*/,,'` by configure."
3499
3500  # First look for the input files in the build tree, otherwise in the
3501  # src tree.
3502  ac_file_inputs=`IFS=:
3503    for f in $ac_file_in; do
3504      case $f in
3505      -) echo $tmp/stdin ;;
3506      [\\/$]*)
3507         # Absolute (can't be DOS-style, as IFS=:)
3508         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3509echo "$as_me: error: cannot find input file: $f" >&2;}
3510   { (exit 1); exit 1; }; }
3511         echo "$f";;
3512      *) # Relative
3513         if test -f "$f"; then
3514           # Build tree
3515           echo "$f"
3516         elif test -f "$srcdir/$f"; then
3517           # Source tree
3518           echo "$srcdir/$f"
3519         else
3520           # /dev/null tree
3521           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3522echo "$as_me: error: cannot find input file: $f" >&2;}
3523   { (exit 1); exit 1; }; }
3524         fi;;
3525      esac
3526    done` || { (exit 1); exit 1; }
3527
3528  if test x"$ac_file" != x-; then
3529    { echo "$as_me:$LINENO: creating $ac_file" >&5
3530echo "$as_me: creating $ac_file" >&6;}
3531    rm -f "$ac_file"
3532  fi
3533_ACEOF
3534cat >>$CONFIG_STATUS <<_ACEOF
3535  sed "$ac_vpsub
3536$extrasub
3537_ACEOF
3538cat >>$CONFIG_STATUS <<\_ACEOF
3539:t
3540/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3541s,@configure_input@,$configure_input,;t t
3542s,@srcdir@,$ac_srcdir,;t t
3543s,@abs_srcdir@,$ac_abs_srcdir,;t t
3544s,@top_srcdir@,$ac_top_srcdir,;t t
3545s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3546s,@builddir@,$ac_builddir,;t t
3547s,@abs_builddir@,$ac_abs_builddir,;t t
3548s,@top_builddir@,$ac_top_builddir,;t t
3549s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3550" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3551  rm -f $tmp/stdin
3552  if test x"$ac_file" != x-; then
3553    mv $tmp/out $ac_file
3554  else
3555    cat $tmp/out
3556    rm -f $tmp/out
3557  fi
3558
3559done
3560_ACEOF
3561
3562cat >>$CONFIG_STATUS <<\_ACEOF
3563
3564{ (exit 0); exit 0; }
3565_ACEOF
3566chmod +x $CONFIG_STATUS
3567ac_clean_files=$ac_clean_files_save
3568
3569
3570# configure is writing to config.log, and then calls config.status.
3571# config.status does its own redirection, appending to config.log.
3572# Unfortunately, on DOS this fails, as config.log is still kept open
3573# by configure, so config.status won't be able to write to it; its
3574# output is simply discarded.  So we exec the FD to /dev/null,
3575# effectively closing config.log, so it can be properly (re)opened and
3576# appended to by config.status.  When coming back to configure, we
3577# need to make the FD available again.
3578if test "$no_create" != yes; then
3579  ac_cs_success=:
3580  ac_config_status_args=
3581  test "$silent" = yes &&
3582    ac_config_status_args="$ac_config_status_args --quiet"
3583  exec 5>/dev/null
3584  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3585  exec 5>>config.log
3586  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3587  # would make configure fail if this is the last instruction.
3588  $ac_cs_success || { (exit 1); exit 1; }
3589fi
3590
Note: See TracBrowser for help on using the repository browser.