source: trunk/configure @ 586

Last change on this file since 586 was 574, checked in by bas, 13 years ago

added support for initgroup, thanks to Dennis McRitchie?,
closes #274

  • Property svn:executable set to *
File size: 129.8 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.67.
4#
5#
6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8# Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62        expr "X$arg" : "X\\(.*\\)$as_nl";
63        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""        $as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92case $0 in #((
93  *[\\/]* ) as_myself=$0 ;;
94  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95for as_dir in $PATH
96do
97  IFS=$as_save_IFS
98  test -z "$as_dir" && as_dir=.
99    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100  done
101IFS=$as_save_IFS
102
103     ;;
104esac
105# We did not find ourselves, most probably we were run as `sh COMMAND'
106# in which case we are not to be found in the path.
107if test "x$as_myself" = x; then
108  as_myself=$0
109fi
110if test ! -f "$as_myself"; then
111  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112  exit 1
113fi
114
115# Unset variables that we do not need and which cause bugs (e.g. in
116# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
117# suppresses any "Segmentation fault" message there.  '((' could
118# trigger a bug in pdksh 5.2.14.
119for as_var in BASH_ENV ENV MAIL MAILPATH
120do eval test x\${$as_var+set} = xset \
121  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122done
123PS1='$ '
124PS2='> '
125PS4='+ '
126
127# NLS nuisances.
128LC_ALL=C
129export LC_ALL
130LANGUAGE=C
131export LANGUAGE
132
133# CDPATH.
134(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135
136if test "x$CONFIG_SHELL" = x; then
137  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138  emulate sh
139  NULLCMD=:
140  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141  # is contrary to our usage.  Disable this feature.
142  alias -g '\${1+\"\$@\"}'='\"\$@\"'
143  setopt NO_GLOB_SUBST
144else
145  case \`(set -o) 2>/dev/null\` in #(
146  *posix*) :
147    set -o posix ;; #(
148  *) :
149     ;;
150esac
151fi
152"
153  as_required="as_fn_return () { (exit \$1); }
154as_fn_success () { as_fn_return 0; }
155as_fn_failure () { as_fn_return 1; }
156as_fn_ret_success () { return 0; }
157as_fn_ret_failure () { return 1; }
158
159exitcode=0
160as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
166else
167  exitcode=1; echo positional parameters were not saved.
168fi
169test x\$exitcode = x0 || exit 1"
170  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174test \$(( 1 + 1 )) = 2 || exit 1"
175  if (eval "$as_required") 2>/dev/null; then :
176  as_have_required=yes
177else
178  as_have_required=no
179fi
180  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
182else
183  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184as_found=false
185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186do
187  IFS=$as_save_IFS
188  test -z "$as_dir" && as_dir=.
189  as_found=:
190  case $as_dir in #(
191         /*)
192           for as_base in sh bash ksh sh5; do
193             # Try only shells that exist, to save several forks.
194             as_shell=$as_dir/$as_base
195             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197  CONFIG_SHELL=$as_shell as_have_required=yes
198                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199  break 2
200fi
201fi
202           done;;
203       esac
204  as_found=false
205done
206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208  CONFIG_SHELL=$SHELL as_have_required=yes
209fi; }
210IFS=$as_save_IFS
211
212
213      if test "x$CONFIG_SHELL" != x; then :
214  # We cannot yet assume a decent shell, so we have to provide a
215        # neutralization value for shells without unset; and this also
216        # works around shells that cannot unset nonexistent variables.
217        BASH_ENV=/dev/null
218        ENV=/dev/null
219        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220        export CONFIG_SHELL
221        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222fi
223
224    if test x$as_have_required = xno; then :
225  $as_echo "$0: This script requires a shell more modern than all"
226  $as_echo "$0: the shells that I found on your system."
227  if test x${ZSH_VERSION+set} = xset ; then
228    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230  else
231    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232$0: including any error possibly output before this
233$0: message. Then install a modern shell, or manually run
234$0: the script under such a shell if you do have one."
235  fi
236  exit 1
237fi
238fi
239fi
240SHELL=${CONFIG_SHELL-/bin/sh}
241export SHELL
242# Unset more variables known to interfere with behavior of common tools.
243CLICOLOR_FORCE= GREP_OPTIONS=
244unset CLICOLOR_FORCE GREP_OPTIONS
245
246## --------------------- ##
247## M4sh Shell Functions. ##
248## --------------------- ##
249# as_fn_unset VAR
250# ---------------
251# Portably unset VAR.
252as_fn_unset ()
253{
254  { eval $1=; unset $1;}
255}
256as_unset=as_fn_unset
257
258# as_fn_set_status STATUS
259# -----------------------
260# Set $? to STATUS, without forking.
261as_fn_set_status ()
262{
263  return $1
264} # as_fn_set_status
265
266# as_fn_exit STATUS
267# -----------------
268# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
269as_fn_exit ()
270{
271  set +e
272  as_fn_set_status $1
273  exit $1
274} # as_fn_exit
275
276# as_fn_mkdir_p
277# -------------
278# Create "$as_dir" as a directory, including parents if necessary.
279as_fn_mkdir_p ()
280{
281
282  case $as_dir in #(
283  -*) as_dir=./$as_dir;;
284  esac
285  test -d "$as_dir" || eval $as_mkdir_p || {
286    as_dirs=
287    while :; do
288      case $as_dir in #(
289      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290      *) as_qdir=$as_dir;;
291      esac
292      as_dirs="'$as_qdir' $as_dirs"
293      as_dir=`$as_dirname -- "$as_dir" ||
294$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295         X"$as_dir" : 'X\(//\)[^/]' \| \
296         X"$as_dir" : 'X\(//\)$' \| \
297         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298$as_echo X"$as_dir" |
299    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
300            s//\1/
301            q
302          }
303          /^X\(\/\/\)[^/].*/{
304            s//\1/
305            q
306          }
307          /^X\(\/\/\)$/{
308            s//\1/
309            q
310          }
311          /^X\(\/\).*/{
312            s//\1/
313            q
314          }
315          s/.*/./; q'`
316      test -d "$as_dir" && break
317    done
318    test -z "$as_dirs" || eval "mkdir $as_dirs"
319  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
320
321
322} # as_fn_mkdir_p
323# as_fn_append VAR VALUE
324# ----------------------
325# Append the text in VALUE to the end of the definition contained in VAR. Take
326# advantage of any shell optimizations that allow amortized linear growth over
327# repeated appends, instead of the typical quadratic growth present in naive
328# implementations.
329if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330  eval 'as_fn_append ()
331  {
332    eval $1+=\$2
333  }'
334else
335  as_fn_append ()
336  {
337    eval $1=\$$1\$2
338  }
339fi # as_fn_append
340
341# as_fn_arith ARG...
342# ------------------
343# Perform arithmetic evaluation on the ARGs, and store the result in the
344# global $as_val. Take advantage of shells that can avoid forks. The arguments
345# must be portable across $(()) and expr.
346if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
347  eval 'as_fn_arith ()
348  {
349    as_val=$(( $* ))
350  }'
351else
352  as_fn_arith ()
353  {
354    as_val=`expr "$@" || test $? -eq 1`
355  }
356fi # as_fn_arith
357
358
359# as_fn_error STATUS ERROR [LINENO LOG_FD]
360# ----------------------------------------
361# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363# script with STATUS, using 1 if that was 0.
364as_fn_error ()
365{
366  as_status=$1; test $as_status -eq 0 && as_status=1
367  if test "$4"; then
368    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
370  fi
371  $as_echo "$as_me: error: $2" >&2
372  as_fn_exit $as_status
373} # as_fn_error
374
375if expr a : '\(a\)' >/dev/null 2>&1 &&
376   test "X`expr 00001 : '.*\(...\)'`" = X001; then
377  as_expr=expr
378else
379  as_expr=false
380fi
381
382if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
383  as_basename=basename
384else
385  as_basename=false
386fi
387
388if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
389  as_dirname=dirname
390else
391  as_dirname=false
392fi
393
394as_me=`$as_basename -- "$0" ||
395$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396         X"$0" : 'X\(//\)$' \| \
397         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398$as_echo X/"$0" |
399    sed '/^.*\/\([^/][^/]*\)\/*$/{
400            s//\1/
401            q
402          }
403          /^X\/\(\/\/\)$/{
404            s//\1/
405            q
406          }
407          /^X\/\(\/\).*/{
408            s//\1/
409            q
410          }
411          s/.*/./; q'`
412
413# Avoid depending upon Character Ranges.
414as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417as_cr_digits='0123456789'
418as_cr_alnum=$as_cr_Letters$as_cr_digits
419
420
421  as_lineno_1=$LINENO as_lineno_1a=$LINENO
422  as_lineno_2=$LINENO as_lineno_2a=$LINENO
423  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
426  sed -n '
427    p
428    /[$]LINENO/=
429  ' <$as_myself |
430    sed '
431      s/[$]LINENO.*/&-/
432      t lineno
433      b
434      :lineno
435      N
436      :loop
437      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438      t loop
439      s/-\n.*//
440    ' >$as_me.lineno &&
441  chmod +x "$as_me.lineno" ||
442    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443
444  # Don't try to exec as it changes $[0], causing all sort of problems
445  # (the dirname of $[0] is not the place where we might find the
446  # original and so on.  Autoconf is especially sensitive to this).
447  . "./$as_me.lineno"
448  # Exit status is that of the last command.
449  exit
450}
451
452ECHO_C= ECHO_N= ECHO_T=
453case `echo -n x` in #(((((
454-n*)
455  case `echo 'xy\c'` in
456  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
457  xy)  ECHO_C='\c';;
458  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
459       ECHO_T=' ';;
460  esac;;
461*)
462  ECHO_N='-n';;
463esac
464
465rm -f conf$$ conf$$.exe conf$$.file
466if test -d conf$$.dir; then
467  rm -f conf$$.dir/conf$$.file
468else
469  rm -f conf$$.dir
470  mkdir conf$$.dir 2>/dev/null
471fi
472if (echo >conf$$.file) 2>/dev/null; then
473  if ln -s conf$$.file conf$$ 2>/dev/null; then
474    as_ln_s='ln -s'
475    # ... but there are two gotchas:
476    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478    # In both cases, we have to default to `cp -p'.
479    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480      as_ln_s='cp -p'
481  elif ln conf$$.file conf$$ 2>/dev/null; then
482    as_ln_s=ln
483  else
484    as_ln_s='cp -p'
485  fi
486else
487  as_ln_s='cp -p'
488fi
489rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490rmdir conf$$.dir 2>/dev/null
491
492if mkdir -p . 2>/dev/null; then
493  as_mkdir_p='mkdir -p "$as_dir"'
494else
495  test -d ./-p && rmdir ./-p
496  as_mkdir_p=false
497fi
498
499if test -x / >/dev/null 2>&1; then
500  as_test_x='test -x'
501else
502  if ls -dL / >/dev/null 2>&1; then
503    as_ls_L_option=L
504  else
505    as_ls_L_option=
506  fi
507  as_test_x='
508    eval sh -c '\''
509      if test -d "$1"; then
510        test -d "$1/.";
511      else
512        case $1 in #(
513        -*)set "./$1";;
514        esac;
515        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516        ???[sx]*):;;*)false;;esac;fi
517    '\'' sh
518  '
519fi
520as_executable_p=$as_test_x
521
522# Sed expression to map a string onto a valid CPP name.
523as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524
525# Sed expression to map a string onto a valid variable name.
526as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527
528
529test -n "$DJDIR" || exec 7<&0 </dev/null
530exec 6>&1
531
532# Name of the host.
533# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534# so uname gets run too.
535ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536
537#
538# Initializations.
539#
540ac_default_prefix=/usr/local
541ac_clean_files=
542ac_config_libobj_dir=.
543LIBOBJS=
544cross_compiling=no
545subdirs=
546MFLAGS=
547MAKEFLAGS=
548
549# Identity of this package.
550PACKAGE_NAME=
551PACKAGE_TARNAME=
552PACKAGE_VERSION=
553PACKAGE_STRING=
554PACKAGE_BUGREPORT=
555PACKAGE_URL=
556
557ac_unique_file="email2trac.py.in"
558ac_subst_vars='LTLIBOBJS
559LIBOBJS
560SYSTEM_EMAIL2TRAC_CONF
561email2trac_conf
562DEBUG
563EGREP
564GREP
565CPP
566OBJEXT
567EXEEXT
568ac_ct_CC
569CPPFLAGS
570LDFLAGS
571CFLAGS
572CC
573pkgpyexecdir
574pkgpythondir
575pythondir
576PYTHON_PLATFORM
577PYTHON_EXEC_PREFIX
578PYTHON_PREFIX
579PYTHON_VERSION
580PYTHON
581install_user
582mta_user
583trac_user
584pyexecdir
585target_alias
586host_alias
587build_alias
588LIBS
589ECHO_T
590ECHO_N
591ECHO_C
592DEFS
593mandir
594localedir
595libdir
596psdir
597pdfdir
598dvidir
599htmldir
600infodir
601docdir
602oldincludedir
603includedir
604localstatedir
605sharedstatedir
606sysconfdir
607datadir
608datarootdir
609libexecdir
610sbindir
611bindir
612program_transform_name
613prefix
614exec_prefix
615PACKAGE_URL
616PACKAGE_BUGREPORT
617PACKAGE_STRING
618PACKAGE_VERSION
619PACKAGE_TARNAME
620PACKAGE_NAME
621PATH_SEPARATOR
622SHELL'
623ac_subst_files=''
624ac_user_opts='
625enable_option_checking
626with_install_user
627with_trac_user
628with_mta_user
629'
630      ac_precious_vars='build_alias
631host_alias
632target_alias
633CC
634CFLAGS
635LDFLAGS
636LIBS
637CPPFLAGS
638CPP'
639
640
641# Initialize some variables set by options.
642ac_init_help=
643ac_init_version=false
644ac_unrecognized_opts=
645ac_unrecognized_sep=
646# The variables have the same names as the options, with
647# dashes changed to underlines.
648cache_file=/dev/null
649exec_prefix=NONE
650no_create=
651no_recursion=
652prefix=NONE
653program_prefix=NONE
654program_suffix=NONE
655program_transform_name=s,x,x,
656silent=
657site=
658srcdir=
659verbose=
660x_includes=NONE
661x_libraries=NONE
662
663# Installation directory options.
664# These are left unexpanded so users can "make install exec_prefix=/foo"
665# and all the variables that are supposed to be based on exec_prefix
666# by default will actually change.
667# Use braces instead of parens because sh, perl, etc. also accept them.
668# (The list follows the same order as the GNU Coding Standards.)
669bindir='${exec_prefix}/bin'
670sbindir='${exec_prefix}/sbin'
671libexecdir='${exec_prefix}/libexec'
672datarootdir='${prefix}/share'
673datadir='${datarootdir}'
674sysconfdir='${prefix}/etc'
675sharedstatedir='${prefix}/com'
676localstatedir='${prefix}/var'
677includedir='${prefix}/include'
678oldincludedir='/usr/include'
679docdir='${datarootdir}/doc/${PACKAGE}'
680infodir='${datarootdir}/info'
681htmldir='${docdir}'
682dvidir='${docdir}'
683pdfdir='${docdir}'
684psdir='${docdir}'
685libdir='${exec_prefix}/lib'
686localedir='${datarootdir}/locale'
687mandir='${datarootdir}/man'
688
689ac_prev=
690ac_dashdash=
691for ac_option
692do
693  # If the previous option needs an argument, assign it.
694  if test -n "$ac_prev"; then
695    eval $ac_prev=\$ac_option
696    ac_prev=
697    continue
698  fi
699
700  case $ac_option in
701  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
702  *=)   ac_optarg= ;;
703  *)    ac_optarg=yes ;;
704  esac
705
706  # Accept the important Cygnus configure options, so we can diagnose typos.
707
708  case $ac_dashdash$ac_option in
709  --)
710    ac_dashdash=yes ;;
711
712  -bindir | --bindir | --bindi | --bind | --bin | --bi)
713    ac_prev=bindir ;;
714  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
715    bindir=$ac_optarg ;;
716
717  -build | --build | --buil | --bui | --bu)
718    ac_prev=build_alias ;;
719  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
720    build_alias=$ac_optarg ;;
721
722  -cache-file | --cache-file | --cache-fil | --cache-fi \
723  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
724    ac_prev=cache_file ;;
725  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
726  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
727    cache_file=$ac_optarg ;;
728
729  --config-cache | -C)
730    cache_file=config.cache ;;
731
732  -datadir | --datadir | --datadi | --datad)
733    ac_prev=datadir ;;
734  -datadir=* | --datadir=* | --datadi=* | --datad=*)
735    datadir=$ac_optarg ;;
736
737  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
738  | --dataroo | --dataro | --datar)
739    ac_prev=datarootdir ;;
740  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
741  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
742    datarootdir=$ac_optarg ;;
743
744  -disable-* | --disable-*)
745    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
746    # Reject names that are not valid shell variable names.
747    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
748      as_fn_error $? "invalid feature name: $ac_useropt"
749    ac_useropt_orig=$ac_useropt
750    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
751    case $ac_user_opts in
752      *"
753"enable_$ac_useropt"
754"*) ;;
755      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
756         ac_unrecognized_sep=', ';;
757    esac
758    eval enable_$ac_useropt=no ;;
759
760  -docdir | --docdir | --docdi | --doc | --do)
761    ac_prev=docdir ;;
762  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
763    docdir=$ac_optarg ;;
764
765  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
766    ac_prev=dvidir ;;
767  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
768    dvidir=$ac_optarg ;;
769
770  -enable-* | --enable-*)
771    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
772    # Reject names that are not valid shell variable names.
773    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
774      as_fn_error $? "invalid feature name: $ac_useropt"
775    ac_useropt_orig=$ac_useropt
776    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
777    case $ac_user_opts in
778      *"
779"enable_$ac_useropt"
780"*) ;;
781      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
782         ac_unrecognized_sep=', ';;
783    esac
784    eval enable_$ac_useropt=\$ac_optarg ;;
785
786  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
787  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
788  | --exec | --exe | --ex)
789    ac_prev=exec_prefix ;;
790  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
791  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
792  | --exec=* | --exe=* | --ex=*)
793    exec_prefix=$ac_optarg ;;
794
795  -gas | --gas | --ga | --g)
796    # Obsolete; use --with-gas.
797    with_gas=yes ;;
798
799  -help | --help | --hel | --he | -h)
800    ac_init_help=long ;;
801  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
802    ac_init_help=recursive ;;
803  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
804    ac_init_help=short ;;
805
806  -host | --host | --hos | --ho)
807    ac_prev=host_alias ;;
808  -host=* | --host=* | --hos=* | --ho=*)
809    host_alias=$ac_optarg ;;
810
811  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
812    ac_prev=htmldir ;;
813  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
814  | --ht=*)
815    htmldir=$ac_optarg ;;
816
817  -includedir | --includedir | --includedi | --included | --include \
818  | --includ | --inclu | --incl | --inc)
819    ac_prev=includedir ;;
820  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
821  | --includ=* | --inclu=* | --incl=* | --inc=*)
822    includedir=$ac_optarg ;;
823
824  -infodir | --infodir | --infodi | --infod | --info | --inf)
825    ac_prev=infodir ;;
826  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
827    infodir=$ac_optarg ;;
828
829  -libdir | --libdir | --libdi | --libd)
830    ac_prev=libdir ;;
831  -libdir=* | --libdir=* | --libdi=* | --libd=*)
832    libdir=$ac_optarg ;;
833
834  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
835  | --libexe | --libex | --libe)
836    ac_prev=libexecdir ;;
837  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
838  | --libexe=* | --libex=* | --libe=*)
839    libexecdir=$ac_optarg ;;
840
841  -localedir | --localedir | --localedi | --localed | --locale)
842    ac_prev=localedir ;;
843  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
844    localedir=$ac_optarg ;;
845
846  -localstatedir | --localstatedir | --localstatedi | --localstated \
847  | --localstate | --localstat | --localsta | --localst | --locals)
848    ac_prev=localstatedir ;;
849  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
850  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
851    localstatedir=$ac_optarg ;;
852
853  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
854    ac_prev=mandir ;;
855  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
856    mandir=$ac_optarg ;;
857
858  -nfp | --nfp | --nf)
859    # Obsolete; use --without-fp.
860    with_fp=no ;;
861
862  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
863  | --no-cr | --no-c | -n)
864    no_create=yes ;;
865
866  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
867  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
868    no_recursion=yes ;;
869
870  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
871  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
872  | --oldin | --oldi | --old | --ol | --o)
873    ac_prev=oldincludedir ;;
874  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
875  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
876  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
877    oldincludedir=$ac_optarg ;;
878
879  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
880    ac_prev=prefix ;;
881  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
882    prefix=$ac_optarg ;;
883
884  -program-prefix | --program-prefix | --program-prefi | --program-pref \
885  | --program-pre | --program-pr | --program-p)
886    ac_prev=program_prefix ;;
887  -program-prefix=* | --program-prefix=* | --program-prefi=* \
888  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
889    program_prefix=$ac_optarg ;;
890
891  -program-suffix | --program-suffix | --program-suffi | --program-suff \
892  | --program-suf | --program-su | --program-s)
893    ac_prev=program_suffix ;;
894  -program-suffix=* | --program-suffix=* | --program-suffi=* \
895  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
896    program_suffix=$ac_optarg ;;
897
898  -program-transform-name | --program-transform-name \
899  | --program-transform-nam | --program-transform-na \
900  | --program-transform-n | --program-transform- \
901  | --program-transform | --program-transfor \
902  | --program-transfo | --program-transf \
903  | --program-trans | --program-tran \
904  | --progr-tra | --program-tr | --program-t)
905    ac_prev=program_transform_name ;;
906  -program-transform-name=* | --program-transform-name=* \
907  | --program-transform-nam=* | --program-transform-na=* \
908  | --program-transform-n=* | --program-transform-=* \
909  | --program-transform=* | --program-transfor=* \
910  | --program-transfo=* | --program-transf=* \
911  | --program-trans=* | --program-tran=* \
912  | --progr-tra=* | --program-tr=* | --program-t=*)
913    program_transform_name=$ac_optarg ;;
914
915  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
916    ac_prev=pdfdir ;;
917  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
918    pdfdir=$ac_optarg ;;
919
920  -psdir | --psdir | --psdi | --psd | --ps)
921    ac_prev=psdir ;;
922  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
923    psdir=$ac_optarg ;;
924
925  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
926  | -silent | --silent | --silen | --sile | --sil)
927    silent=yes ;;
928
929  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
930    ac_prev=sbindir ;;
931  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
932  | --sbi=* | --sb=*)
933    sbindir=$ac_optarg ;;
934
935  -sharedstatedir | --sharedstatedir | --sharedstatedi \
936  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
937  | --sharedst | --shareds | --shared | --share | --shar \
938  | --sha | --sh)
939    ac_prev=sharedstatedir ;;
940  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
941  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
942  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
943  | --sha=* | --sh=*)
944    sharedstatedir=$ac_optarg ;;
945
946  -site | --site | --sit)
947    ac_prev=site ;;
948  -site=* | --site=* | --sit=*)
949    site=$ac_optarg ;;
950
951  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
952    ac_prev=srcdir ;;
953  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
954    srcdir=$ac_optarg ;;
955
956  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
957  | --syscon | --sysco | --sysc | --sys | --sy)
958    ac_prev=sysconfdir ;;
959  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
960  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
961    sysconfdir=$ac_optarg ;;
962
963  -target | --target | --targe | --targ | --tar | --ta | --t)
964    ac_prev=target_alias ;;
965  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
966    target_alias=$ac_optarg ;;
967
968  -v | -verbose | --verbose | --verbos | --verbo | --verb)
969    verbose=yes ;;
970
971  -version | --version | --versio | --versi | --vers | -V)
972    ac_init_version=: ;;
973
974  -with-* | --with-*)
975    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
976    # Reject names that are not valid shell variable names.
977    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
978      as_fn_error $? "invalid package name: $ac_useropt"
979    ac_useropt_orig=$ac_useropt
980    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981    case $ac_user_opts in
982      *"
983"with_$ac_useropt"
984"*) ;;
985      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
986         ac_unrecognized_sep=', ';;
987    esac
988    eval with_$ac_useropt=\$ac_optarg ;;
989
990  -without-* | --without-*)
991    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
992    # Reject names that are not valid shell variable names.
993    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994      as_fn_error $? "invalid package name: $ac_useropt"
995    ac_useropt_orig=$ac_useropt
996    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997    case $ac_user_opts in
998      *"
999"with_$ac_useropt"
1000"*) ;;
1001      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1002         ac_unrecognized_sep=', ';;
1003    esac
1004    eval with_$ac_useropt=no ;;
1005
1006  --x)
1007    # Obsolete; use --with-x.
1008    with_x=yes ;;
1009
1010  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1011  | --x-incl | --x-inc | --x-in | --x-i)
1012    ac_prev=x_includes ;;
1013  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1014  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1015    x_includes=$ac_optarg ;;
1016
1017  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1018  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1019    ac_prev=x_libraries ;;
1020  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1021  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1022    x_libraries=$ac_optarg ;;
1023
1024  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1025Try \`$0 --help' for more information"
1026    ;;
1027
1028  *=*)
1029    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1030    # Reject names that are not valid shell variable names.
1031    case $ac_envvar in #(
1032      '' | [0-9]* | *[!_$as_cr_alnum]* )
1033      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1034    esac
1035    eval $ac_envvar=\$ac_optarg
1036    export $ac_envvar ;;
1037
1038  *)
1039    # FIXME: should be removed in autoconf 3.0.
1040    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1041    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1042      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1043    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1044    ;;
1045
1046  esac
1047done
1048
1049if test -n "$ac_prev"; then
1050  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1051  as_fn_error $? "missing argument to $ac_option"
1052fi
1053
1054if test -n "$ac_unrecognized_opts"; then
1055  case $enable_option_checking in
1056    no) ;;
1057    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1058    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1059  esac
1060fi
1061
1062# Check all directory arguments for consistency.
1063for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1064                datadir sysconfdir sharedstatedir localstatedir includedir \
1065                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1066                libdir localedir mandir
1067do
1068  eval ac_val=\$$ac_var
1069  # Remove trailing slashes.
1070  case $ac_val in
1071    */ )
1072      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1073      eval $ac_var=\$ac_val;;
1074  esac
1075  # Be sure to have absolute directory names.
1076  case $ac_val in
1077    [\\/$]* | ?:[\\/]* )  continue;;
1078    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1079  esac
1080  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1081done
1082
1083# There might be people who depend on the old broken behavior: `$host'
1084# used to hold the argument of --host etc.
1085# FIXME: To remove some day.
1086build=$build_alias
1087host=$host_alias
1088target=$target_alias
1089
1090# FIXME: To remove some day.
1091if test "x$host_alias" != x; then
1092  if test "x$build_alias" = x; then
1093    cross_compiling=maybe
1094    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1095    If a cross compiler is detected then cross compile mode will be used" >&2
1096  elif test "x$build_alias" != "x$host_alias"; then
1097    cross_compiling=yes
1098  fi
1099fi
1100
1101ac_tool_prefix=
1102test -n "$host_alias" && ac_tool_prefix=$host_alias-
1103
1104test "$silent" = yes && exec 6>/dev/null
1105
1106
1107ac_pwd=`pwd` && test -n "$ac_pwd" &&
1108ac_ls_di=`ls -di .` &&
1109ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1110  as_fn_error $? "working directory cannot be determined"
1111test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1112  as_fn_error $? "pwd does not report name of working directory"
1113
1114
1115# Find the source files, if location was not specified.
1116if test -z "$srcdir"; then
1117  ac_srcdir_defaulted=yes
1118  # Try the directory containing this script, then the parent directory.
1119  ac_confdir=`$as_dirname -- "$as_myself" ||
1120$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1121         X"$as_myself" : 'X\(//\)[^/]' \| \
1122         X"$as_myself" : 'X\(//\)$' \| \
1123         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1124$as_echo X"$as_myself" |
1125    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1126            s//\1/
1127            q
1128          }
1129          /^X\(\/\/\)[^/].*/{
1130            s//\1/
1131            q
1132          }
1133          /^X\(\/\/\)$/{
1134            s//\1/
1135            q
1136          }
1137          /^X\(\/\).*/{
1138            s//\1/
1139            q
1140          }
1141          s/.*/./; q'`
1142  srcdir=$ac_confdir
1143  if test ! -r "$srcdir/$ac_unique_file"; then
1144    srcdir=..
1145  fi
1146else
1147  ac_srcdir_defaulted=no
1148fi
1149if test ! -r "$srcdir/$ac_unique_file"; then
1150  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1151  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1152fi
1153ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1154ac_abs_confdir=`(
1155        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1156        pwd)`
1157# When building in place, set srcdir=.
1158if test "$ac_abs_confdir" = "$ac_pwd"; then
1159  srcdir=.
1160fi
1161# Remove unnecessary trailing slashes from srcdir.
1162# Double slashes in file names in object file debugging info
1163# mess up M-x gdb in Emacs.
1164case $srcdir in
1165*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1166esac
1167for ac_var in $ac_precious_vars; do
1168  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1169  eval ac_env_${ac_var}_value=\$${ac_var}
1170  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1171  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1172done
1173
1174#
1175# Report the --help message.
1176#
1177if test "$ac_init_help" = "long"; then
1178  # Omit some internal or obsolete options to make the list less imposing.
1179  # This message is too long to be a string in the A/UX 3.1 sh.
1180  cat <<_ACEOF
1181\`configure' configures this package to adapt to many kinds of systems.
1182
1183Usage: $0 [OPTION]... [VAR=VALUE]...
1184
1185To assign environment variables (e.g., CC, CFLAGS...), specify them as
1186VAR=VALUE.  See below for descriptions of some of the useful variables.
1187
1188Defaults for the options are specified in brackets.
1189
1190Configuration:
1191  -h, --help              display this help and exit
1192      --help=short        display options specific to this package
1193      --help=recursive    display the short help of all the included packages
1194  -V, --version           display version information and exit
1195  -q, --quiet, --silent   do not print \`checking ...' messages
1196      --cache-file=FILE   cache test results in FILE [disabled]
1197  -C, --config-cache      alias for \`--cache-file=config.cache'
1198  -n, --no-create         do not create output files
1199      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1200
1201Installation directories:
1202  --prefix=PREFIX         install architecture-independent files in PREFIX
1203                          [$ac_default_prefix]
1204  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1205                          [PREFIX]
1206
1207By default, \`make install' will install all the files in
1208\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1209an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1210for instance \`--prefix=\$HOME'.
1211
1212For better control, use the options below.
1213
1214Fine tuning of the installation directories:
1215  --bindir=DIR            user executables [EPREFIX/bin]
1216  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1217  --libexecdir=DIR        program executables [EPREFIX/libexec]
1218  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1219  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1220  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1221  --libdir=DIR            object code libraries [EPREFIX/lib]
1222  --includedir=DIR        C header files [PREFIX/include]
1223  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1224  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1225  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1226  --infodir=DIR           info documentation [DATAROOTDIR/info]
1227  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1228  --mandir=DIR            man documentation [DATAROOTDIR/man]
1229  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1230  --htmldir=DIR           html documentation [DOCDIR]
1231  --dvidir=DIR            dvi documentation [DOCDIR]
1232  --pdfdir=DIR            pdf documentation [DOCDIR]
1233  --psdir=DIR             ps documentation [DOCDIR]
1234_ACEOF
1235
1236  cat <<\_ACEOF
1237_ACEOF
1238fi
1239
1240if test -n "$ac_init_help"; then
1241
1242  cat <<\_ACEOF
1243
1244Optional Packages:
1245  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1246  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1247
1248  --with-install_user=USER    Specify the name of the user that we must use for installation,
1249                          default=root
1250
1251  --with-trac_user=USER    Specify the name of the user that trac use,
1252                          default=www-data
1253
1254  --with-mta_user=USER    Specify the name of the user that your MTA use,
1255                          default=nobody
1256
1257Some influential environment variables:
1258  CC          C compiler command
1259  CFLAGS      C compiler flags
1260  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1261              nonstandard directory <lib dir>
1262  LIBS        libraries to pass to the linker, e.g. -l<library>
1263  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1264              you have headers in a nonstandard directory <include dir>
1265  CPP         C preprocessor
1266
1267Use these variables to override the choices made by `configure' or to help
1268it to find libraries and programs with nonstandard names/locations.
1269
1270Report bugs to the package provider.
1271_ACEOF
1272ac_status=$?
1273fi
1274
1275if test "$ac_init_help" = "recursive"; then
1276  # If there are subdirs, report their specific --help.
1277  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1278    test -d "$ac_dir" ||
1279      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1280      continue
1281    ac_builddir=.
1282
1283case "$ac_dir" in
1284.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1285*)
1286  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1287  # A ".." for each directory in $ac_dir_suffix.
1288  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1289  case $ac_top_builddir_sub in
1290  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1291  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1292  esac ;;
1293esac
1294ac_abs_top_builddir=$ac_pwd
1295ac_abs_builddir=$ac_pwd$ac_dir_suffix
1296# for backward compatibility:
1297ac_top_builddir=$ac_top_build_prefix
1298
1299case $srcdir in
1300  .)  # We are building in place.
1301    ac_srcdir=.
1302    ac_top_srcdir=$ac_top_builddir_sub
1303    ac_abs_top_srcdir=$ac_pwd ;;
1304  [\\/]* | ?:[\\/]* )  # Absolute name.
1305    ac_srcdir=$srcdir$ac_dir_suffix;
1306    ac_top_srcdir=$srcdir
1307    ac_abs_top_srcdir=$srcdir ;;
1308  *) # Relative name.
1309    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1310    ac_top_srcdir=$ac_top_build_prefix$srcdir
1311    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1312esac
1313ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1314
1315    cd "$ac_dir" || { ac_status=$?; continue; }
1316    # Check for guested configure.
1317    if test -f "$ac_srcdir/configure.gnu"; then
1318      echo &&
1319      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1320    elif test -f "$ac_srcdir/configure"; then
1321      echo &&
1322      $SHELL "$ac_srcdir/configure" --help=recursive
1323    else
1324      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1325    fi || ac_status=$?
1326    cd "$ac_pwd" || { ac_status=$?; break; }
1327  done
1328fi
1329
1330test -n "$ac_init_help" && exit $ac_status
1331if $ac_init_version; then
1332  cat <<\_ACEOF
1333configure
1334generated by GNU Autoconf 2.67
1335
1336Copyright (C) 2010 Free Software Foundation, Inc.
1337This configure script is free software; the Free Software Foundation
1338gives unlimited permission to copy, distribute and modify it.
1339_ACEOF
1340  exit
1341fi
1342
1343## ------------------------ ##
1344## Autoconf initialization. ##
1345## ------------------------ ##
1346
1347# ac_fn_c_try_compile LINENO
1348# --------------------------
1349# Try to compile conftest.$ac_ext, and return whether this succeeded.
1350ac_fn_c_try_compile ()
1351{
1352  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1353  rm -f conftest.$ac_objext
1354  if { { ac_try="$ac_compile"
1355case "(($ac_try" in
1356  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1357  *) ac_try_echo=$ac_try;;
1358esac
1359eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1360$as_echo "$ac_try_echo"; } >&5
1361  (eval "$ac_compile") 2>conftest.err
1362  ac_status=$?
1363  if test -s conftest.err; then
1364    grep -v '^ *+' conftest.err >conftest.er1
1365    cat conftest.er1 >&5
1366    mv -f conftest.er1 conftest.err
1367  fi
1368  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1369  test $ac_status = 0; } && {
1370         test -z "$ac_c_werror_flag" ||
1371         test ! -s conftest.err
1372       } && test -s conftest.$ac_objext; then :
1373  ac_retval=0
1374else
1375  $as_echo "$as_me: failed program was:" >&5
1376sed 's/^/| /' conftest.$ac_ext >&5
1377
1378        ac_retval=1
1379fi
1380  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1381  as_fn_set_status $ac_retval
1382
1383} # ac_fn_c_try_compile
1384
1385# ac_fn_c_try_cpp LINENO
1386# ----------------------
1387# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1388ac_fn_c_try_cpp ()
1389{
1390  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1391  if { { ac_try="$ac_cpp conftest.$ac_ext"
1392case "(($ac_try" in
1393  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1394  *) ac_try_echo=$ac_try;;
1395esac
1396eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1397$as_echo "$ac_try_echo"; } >&5
1398  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1399  ac_status=$?
1400  if test -s conftest.err; then
1401    grep -v '^ *+' conftest.err >conftest.er1
1402    cat conftest.er1 >&5
1403    mv -f conftest.er1 conftest.err
1404  fi
1405  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1406  test $ac_status = 0; } > conftest.i && {
1407         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1408         test ! -s conftest.err
1409       }; then :
1410  ac_retval=0
1411else
1412  $as_echo "$as_me: failed program was:" >&5
1413sed 's/^/| /' conftest.$ac_ext >&5
1414
1415    ac_retval=1
1416fi
1417  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1418  as_fn_set_status $ac_retval
1419
1420} # ac_fn_c_try_cpp
1421
1422# ac_fn_c_try_link LINENO
1423# -----------------------
1424# Try to link conftest.$ac_ext, and return whether this succeeded.
1425ac_fn_c_try_link ()
1426{
1427  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1428  rm -f conftest.$ac_objext conftest$ac_exeext
1429  if { { ac_try="$ac_link"
1430case "(($ac_try" in
1431  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1432  *) ac_try_echo=$ac_try;;
1433esac
1434eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1435$as_echo "$ac_try_echo"; } >&5
1436  (eval "$ac_link") 2>conftest.err
1437  ac_status=$?
1438  if test -s conftest.err; then
1439    grep -v '^ *+' conftest.err >conftest.er1
1440    cat conftest.er1 >&5
1441    mv -f conftest.er1 conftest.err
1442  fi
1443  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1444  test $ac_status = 0; } && {
1445         test -z "$ac_c_werror_flag" ||
1446         test ! -s conftest.err
1447       } && test -s conftest$ac_exeext && {
1448         test "$cross_compiling" = yes ||
1449         $as_test_x conftest$ac_exeext
1450       }; then :
1451  ac_retval=0
1452else
1453  $as_echo "$as_me: failed program was:" >&5
1454sed 's/^/| /' conftest.$ac_ext >&5
1455
1456        ac_retval=1
1457fi
1458  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1459  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1460  # interfere with the next link command; also delete a directory that is
1461  # left behind by Apple's compiler.  We do this before executing the actions.
1462  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1463  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1464  as_fn_set_status $ac_retval
1465
1466} # ac_fn_c_try_link
1467
1468# ac_fn_c_check_func LINENO FUNC VAR
1469# ----------------------------------
1470# Tests whether FUNC exists, setting the cache variable VAR accordingly
1471ac_fn_c_check_func ()
1472{
1473  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1474  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1475$as_echo_n "checking for $2... " >&6; }
1476if eval "test \"\${$3+set}\"" = set; then :
1477  $as_echo_n "(cached) " >&6
1478else
1479  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1480/* end confdefs.h.  */
1481/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1482   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1483#define $2 innocuous_$2
1484
1485/* System header to define __stub macros and hopefully few prototypes,
1486    which can conflict with char $2 (); below.
1487    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1488    <limits.h> exists even on freestanding compilers.  */
1489
1490#ifdef __STDC__
1491# include <limits.h>
1492#else
1493# include <assert.h>
1494#endif
1495
1496#undef $2
1497
1498/* Override any GCC internal prototype to avoid an error.
1499   Use char because int might match the return type of a GCC
1500   builtin and then its argument prototype would still apply.  */
1501#ifdef __cplusplus
1502extern "C"
1503#endif
1504char $2 ();
1505/* The GNU C library defines this for functions which it implements
1506    to always fail with ENOSYS.  Some functions are actually named
1507    something starting with __ and the normal name is an alias.  */
1508#if defined __stub_$2 || defined __stub___$2
1509choke me
1510#endif
1511
1512int
1513main ()
1514{
1515return $2 ();
1516  ;
1517  return 0;
1518}
1519_ACEOF
1520if ac_fn_c_try_link "$LINENO"; then :
1521  eval "$3=yes"
1522else
1523  eval "$3=no"
1524fi
1525rm -f core conftest.err conftest.$ac_objext \
1526    conftest$ac_exeext conftest.$ac_ext
1527fi
1528eval ac_res=\$$3
1529               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1530$as_echo "$ac_res" >&6; }
1531  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1532
1533} # ac_fn_c_check_func
1534cat >config.log <<_ACEOF
1535This file contains any messages produced by compilers while
1536running configure, to aid debugging if configure makes a mistake.
1537
1538It was created by $as_me, which was
1539generated by GNU Autoconf 2.67.  Invocation command line was
1540
1541  $ $0 $@
1542
1543_ACEOF
1544exec 5>>config.log
1545{
1546cat <<_ASUNAME
1547## --------- ##
1548## Platform. ##
1549## --------- ##
1550
1551hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1552uname -m = `(uname -m) 2>/dev/null || echo unknown`
1553uname -r = `(uname -r) 2>/dev/null || echo unknown`
1554uname -s = `(uname -s) 2>/dev/null || echo unknown`
1555uname -v = `(uname -v) 2>/dev/null || echo unknown`
1556
1557/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1558/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1559
1560/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1561/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1562/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1563/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1564/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1565/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1566/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1567
1568_ASUNAME
1569
1570as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1571for as_dir in $PATH
1572do
1573  IFS=$as_save_IFS
1574  test -z "$as_dir" && as_dir=.
1575    $as_echo "PATH: $as_dir"
1576  done
1577IFS=$as_save_IFS
1578
1579} >&5
1580
1581cat >&5 <<_ACEOF
1582
1583
1584## ----------- ##
1585## Core tests. ##
1586## ----------- ##
1587
1588_ACEOF
1589
1590
1591# Keep a trace of the command line.
1592# Strip out --no-create and --no-recursion so they do not pile up.
1593# Strip out --silent because we don't want to record it for future runs.
1594# Also quote any args containing shell meta-characters.
1595# Make two passes to allow for proper duplicate-argument suppression.
1596ac_configure_args=
1597ac_configure_args0=
1598ac_configure_args1=
1599ac_must_keep_next=false
1600for ac_pass in 1 2
1601do
1602  for ac_arg
1603  do
1604    case $ac_arg in
1605    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1606    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1607    | -silent | --silent | --silen | --sile | --sil)
1608      continue ;;
1609    *\'*)
1610      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1611    esac
1612    case $ac_pass in
1613    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1614    2)
1615      as_fn_append ac_configure_args1 " '$ac_arg'"
1616      if test $ac_must_keep_next = true; then
1617        ac_must_keep_next=false # Got value, back to normal.
1618      else
1619        case $ac_arg in
1620          *=* | --config-cache | -C | -disable-* | --disable-* \
1621          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1622          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1623          | -with-* | --with-* | -without-* | --without-* | --x)
1624            case "$ac_configure_args0 " in
1625              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1626            esac
1627            ;;
1628          -* ) ac_must_keep_next=true ;;
1629        esac
1630      fi
1631      as_fn_append ac_configure_args " '$ac_arg'"
1632      ;;
1633    esac
1634  done
1635done
1636{ ac_configure_args0=; unset ac_configure_args0;}
1637{ ac_configure_args1=; unset ac_configure_args1;}
1638
1639# When interrupted or exit'd, cleanup temporary files, and complete
1640# config.log.  We remove comments because anyway the quotes in there
1641# would cause problems or look ugly.
1642# WARNING: Use '\'' to represent an apostrophe within the trap.
1643# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1644trap 'exit_status=$?
1645  # Save into config.log some information that might help in debugging.
1646  {
1647    echo
1648
1649    $as_echo "## ---------------- ##
1650## Cache variables. ##
1651## ---------------- ##"
1652    echo
1653    # The following way of writing the cache mishandles newlines in values,
1654(
1655  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1656    eval ac_val=\$$ac_var
1657    case $ac_val in #(
1658    *${as_nl}*)
1659      case $ac_var in #(
1660      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1661$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1662      esac
1663      case $ac_var in #(
1664      _ | IFS | as_nl) ;; #(
1665      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1666      *) { eval $ac_var=; unset $ac_var;} ;;
1667      esac ;;
1668    esac
1669  done
1670  (set) 2>&1 |
1671    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1672    *${as_nl}ac_space=\ *)
1673      sed -n \
1674        "s/'\''/'\''\\\\'\'''\''/g;
1675          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1676      ;; #(
1677    *)
1678      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1679      ;;
1680    esac |
1681    sort
1682)
1683    echo
1684
1685    $as_echo "## ----------------- ##
1686## Output variables. ##
1687## ----------------- ##"
1688    echo
1689    for ac_var in $ac_subst_vars
1690    do
1691      eval ac_val=\$$ac_var
1692      case $ac_val in
1693      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1694      esac
1695      $as_echo "$ac_var='\''$ac_val'\''"
1696    done | sort
1697    echo
1698
1699    if test -n "$ac_subst_files"; then
1700      $as_echo "## ------------------- ##
1701## File substitutions. ##
1702## ------------------- ##"
1703      echo
1704      for ac_var in $ac_subst_files
1705      do
1706        eval ac_val=\$$ac_var
1707        case $ac_val in
1708        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1709        esac
1710        $as_echo "$ac_var='\''$ac_val'\''"
1711      done | sort
1712      echo
1713    fi
1714
1715    if test -s confdefs.h; then
1716      $as_echo "## ----------- ##
1717## confdefs.h. ##
1718## ----------- ##"
1719      echo
1720      cat confdefs.h
1721      echo
1722    fi
1723    test "$ac_signal" != 0 &&
1724      $as_echo "$as_me: caught signal $ac_signal"
1725    $as_echo "$as_me: exit $exit_status"
1726  } >&5
1727  rm -f core *.core core.conftest.* &&
1728    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1729    exit $exit_status
1730' 0
1731for ac_signal in 1 2 13 15; do
1732  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1733done
1734ac_signal=0
1735
1736# confdefs.h avoids OS command line length limits that DEFS can exceed.
1737rm -f -r conftest* confdefs.h
1738
1739$as_echo "/* confdefs.h */" > confdefs.h
1740
1741# Predefined preprocessor variables.
1742
1743cat >>confdefs.h <<_ACEOF
1744#define PACKAGE_NAME "$PACKAGE_NAME"
1745_ACEOF
1746
1747cat >>confdefs.h <<_ACEOF
1748#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1749_ACEOF
1750
1751cat >>confdefs.h <<_ACEOF
1752#define PACKAGE_VERSION "$PACKAGE_VERSION"
1753_ACEOF
1754
1755cat >>confdefs.h <<_ACEOF
1756#define PACKAGE_STRING "$PACKAGE_STRING"
1757_ACEOF
1758
1759cat >>confdefs.h <<_ACEOF
1760#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1761_ACEOF
1762
1763cat >>confdefs.h <<_ACEOF
1764#define PACKAGE_URL "$PACKAGE_URL"
1765_ACEOF
1766
1767
1768# Let the site file select an alternate cache file if it wants to.
1769# Prefer an explicitly selected file to automatically selected ones.
1770ac_site_file1=NONE
1771ac_site_file2=NONE
1772if test -n "$CONFIG_SITE"; then
1773  # We do not want a PATH search for config.site.
1774  case $CONFIG_SITE in #((
1775    -*)  ac_site_file1=./$CONFIG_SITE;;
1776    */*) ac_site_file1=$CONFIG_SITE;;
1777    *)   ac_site_file1=./$CONFIG_SITE;;
1778  esac
1779elif test "x$prefix" != xNONE; then
1780  ac_site_file1=$prefix/share/config.site
1781  ac_site_file2=$prefix/etc/config.site
1782else
1783  ac_site_file1=$ac_default_prefix/share/config.site
1784  ac_site_file2=$ac_default_prefix/etc/config.site
1785fi
1786for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1787do
1788  test "x$ac_site_file" = xNONE && continue
1789  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1790    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1791$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1792    sed 's/^/| /' "$ac_site_file" >&5
1793    . "$ac_site_file" \
1794      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1795$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1796as_fn_error $? "failed to load site script $ac_site_file
1797See \`config.log' for more details" "$LINENO" 5 ; }
1798  fi
1799done
1800
1801if test -r "$cache_file"; then
1802  # Some versions of bash will fail to source /dev/null (special files
1803  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1804  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1805    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1806$as_echo "$as_me: loading cache $cache_file" >&6;}
1807    case $cache_file in
1808      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1809      *)                      . "./$cache_file";;
1810    esac
1811  fi
1812else
1813  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1814$as_echo "$as_me: creating cache $cache_file" >&6;}
1815  >$cache_file
1816fi
1817
1818# Check that the precious variables saved in the cache have kept the same
1819# value.
1820ac_cache_corrupted=false
1821for ac_var in $ac_precious_vars; do
1822  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1823  eval ac_new_set=\$ac_env_${ac_var}_set
1824  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1825  eval ac_new_val=\$ac_env_${ac_var}_value
1826  case $ac_old_set,$ac_new_set in
1827    set,)
1828      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1829$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1830      ac_cache_corrupted=: ;;
1831    ,set)
1832      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1833$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1834      ac_cache_corrupted=: ;;
1835    ,);;
1836    *)
1837      if test "x$ac_old_val" != "x$ac_new_val"; then
1838        # differences in whitespace do not lead to failure.
1839        ac_old_val_w=`echo x $ac_old_val`
1840        ac_new_val_w=`echo x $ac_new_val`
1841        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1842          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1843$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1844          ac_cache_corrupted=:
1845        else
1846          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1847$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1848          eval $ac_var=\$ac_old_val
1849        fi
1850        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1851$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1852        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1853$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1854      fi;;
1855  esac
1856  # Pass precious variables to config.status.
1857  if test "$ac_new_set" = set; then
1858    case $ac_new_val in
1859    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1860    *) ac_arg=$ac_var=$ac_new_val ;;
1861    esac
1862    case " $ac_configure_args " in
1863      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1864      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1865    esac
1866  fi
1867done
1868if $ac_cache_corrupted; then
1869  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1870$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1871  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1872$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1873  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1874fi
1875## -------------------- ##
1876## Main body of script. ##
1877## -------------------- ##
1878
1879ac_ext=c
1880ac_cpp='$CPP $CPPFLAGS'
1881ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1882ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1883ac_compiler_gnu=$ac_cv_c_compiler_gnu
1884
1885
1886ac_config_headers="$ac_config_headers config.h"
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896#DEBUG=0
1897
1898#AM_PATH_PYTHON
1899
1900
1901
1902
1903        if test -n "$PYTHON"; then
1904      # If the user set $PYTHON, use it and don't search something else.
1905      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.4" >&5
1906$as_echo_n "checking whether $PYTHON version >= 2.4... " >&6; }
1907      prog="import sys, string
1908# split strings by '.' and convert to numeric.  Append some zeros
1909# because we need at least 4 digits for the hex conversion.
1910minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
1911minverhex = 0
1912for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
1913sys.exit(sys.hexversion < minverhex)"
1914  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
1915   ($PYTHON -c "$prog") >&5 2>&5
1916   ac_status=$?
1917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1918   (exit $ac_status); }; then :
1919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1920$as_echo "yes" >&6; }
1921else
1922  as_fn_error $? "too old" "$LINENO" 5
1923fi
1924    else
1925      # Otherwise, try each interpreter until we find one that satisfies
1926      # VERSION.
1927      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.4" >&5
1928$as_echo_n "checking for a Python interpreter with version >= 2.4... " >&6; }
1929if test "${am_cv_pathless_PYTHON+set}" = set; then :
1930  $as_echo_n "(cached) " >&6
1931else
1932
1933        for am_cv_pathless_PYTHON in python python2 python2.6 python2.5 python.2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 : ; do
1934          if test "$am_cv_pathless_PYTHON" = : ; then
1935            as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
1936          fi
1937          prog="import sys, string
1938# split strings by '.' and convert to numeric.  Append some zeros
1939# because we need at least 4 digits for the hex conversion.
1940minver = map(int, string.split('2.4', '.')) + [0, 0, 0]
1941minverhex = 0
1942for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
1943sys.exit(sys.hexversion < minverhex)"
1944  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
1945   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
1946   ac_status=$?
1947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1948   (exit $ac_status); }; then :
1949  break
1950fi
1951        done
1952fi
1953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
1954$as_echo "$am_cv_pathless_PYTHON" >&6; }
1955      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
1956      # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
1957set dummy $am_cv_pathless_PYTHON; ac_word=$2
1958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1959$as_echo_n "checking for $ac_word... " >&6; }
1960if test "${ac_cv_path_PYTHON+set}" = set; then :
1961  $as_echo_n "(cached) " >&6
1962else
1963  case $PYTHON in
1964  [\\/]* | ?:[\\/]*)
1965  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
1966  ;;
1967  *)
1968  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1969for as_dir in $PATH
1970do
1971  IFS=$as_save_IFS
1972  test -z "$as_dir" && as_dir=.
1973    for ac_exec_ext in '' $ac_executable_extensions; do
1974  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1975    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
1976    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1977    break 2
1978  fi
1979done
1980  done
1981IFS=$as_save_IFS
1982
1983  ;;
1984esac
1985fi
1986PYTHON=$ac_cv_path_PYTHON
1987if test -n "$PYTHON"; then
1988  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
1989$as_echo "$PYTHON" >&6; }
1990else
1991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1992$as_echo "no" >&6; }
1993fi
1994
1995
1996      am_display_PYTHON=$am_cv_pathless_PYTHON
1997    fi
1998
1999
2000
2001  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
2002$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
2003if test "${am_cv_python_version+set}" = set; then :
2004  $as_echo_n "(cached) " >&6
2005else
2006  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
2007fi
2008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
2009$as_echo "$am_cv_python_version" >&6; }
2010  PYTHON_VERSION=$am_cv_python_version
2011
2012
2013
2014  PYTHON_PREFIX='${prefix}'
2015
2016  PYTHON_EXEC_PREFIX='${exec_prefix}'
2017
2018
2019
2020  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
2021$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
2022if test "${am_cv_python_platform+set}" = set; then :
2023  $as_echo_n "(cached) " >&6
2024else
2025  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
2026fi
2027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
2028$as_echo "$am_cv_python_platform" >&6; }
2029  PYTHON_PLATFORM=$am_cv_python_platform
2030
2031
2032
2033
2034                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
2035$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
2036if test "${am_cv_python_pythondir+set}" = set; then :
2037  $as_echo_n "(cached) " >&6
2038else
2039  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
2040     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
2041fi
2042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
2043$as_echo "$am_cv_python_pythondir" >&6; }
2044  pythondir=$am_cv_python_pythondir
2045
2046
2047
2048  pkgpythondir=\${pythondir}/$PACKAGE
2049
2050
2051            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
2052$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
2053if test "${am_cv_python_pyexecdir+set}" = set; then :
2054  $as_echo_n "(cached) " >&6
2055else
2056  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
2057     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
2058fi
2059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
2060$as_echo "$am_cv_python_pyexecdir" >&6; }
2061  pyexecdir=$am_cv_python_pyexecdir
2062
2063
2064
2065  pkgpyexecdir=\${pyexecdir}/$PACKAGE
2066
2067
2068ac_ext=c
2069ac_cpp='$CPP $CPPFLAGS'
2070ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2071ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2072ac_compiler_gnu=$ac_cv_c_compiler_gnu
2073if test -n "$ac_tool_prefix"; then
2074  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2075set dummy ${ac_tool_prefix}gcc; ac_word=$2
2076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2077$as_echo_n "checking for $ac_word... " >&6; }
2078if test "${ac_cv_prog_CC+set}" = set; then :
2079  $as_echo_n "(cached) " >&6
2080else
2081  if test -n "$CC"; then
2082  ac_cv_prog_CC="$CC" # Let the user override the test.
2083else
2084as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2085for as_dir in $PATH
2086do
2087  IFS=$as_save_IFS
2088  test -z "$as_dir" && as_dir=.
2089    for ac_exec_ext in '' $ac_executable_extensions; do
2090  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2091    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2092    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2093    break 2
2094  fi
2095done
2096  done
2097IFS=$as_save_IFS
2098
2099fi
2100fi
2101CC=$ac_cv_prog_CC
2102if test -n "$CC"; then
2103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2104$as_echo "$CC" >&6; }
2105else
2106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2107$as_echo "no" >&6; }
2108fi
2109
2110
2111fi
2112if test -z "$ac_cv_prog_CC"; then
2113  ac_ct_CC=$CC
2114  # Extract the first word of "gcc", so it can be a program name with args.
2115set dummy gcc; ac_word=$2
2116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2117$as_echo_n "checking for $ac_word... " >&6; }
2118if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2119  $as_echo_n "(cached) " >&6
2120else
2121  if test -n "$ac_ct_CC"; then
2122  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2123else
2124as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2125for as_dir in $PATH
2126do
2127  IFS=$as_save_IFS
2128  test -z "$as_dir" && as_dir=.
2129    for ac_exec_ext in '' $ac_executable_extensions; do
2130  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2131    ac_cv_prog_ac_ct_CC="gcc"
2132    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2133    break 2
2134  fi
2135done
2136  done
2137IFS=$as_save_IFS
2138
2139fi
2140fi
2141ac_ct_CC=$ac_cv_prog_ac_ct_CC
2142if test -n "$ac_ct_CC"; then
2143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2144$as_echo "$ac_ct_CC" >&6; }
2145else
2146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2147$as_echo "no" >&6; }
2148fi
2149
2150  if test "x$ac_ct_CC" = x; then
2151    CC=""
2152  else
2153    case $cross_compiling:$ac_tool_warned in
2154yes:)
2155{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2156$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2157ac_tool_warned=yes ;;
2158esac
2159    CC=$ac_ct_CC
2160  fi
2161else
2162  CC="$ac_cv_prog_CC"
2163fi
2164
2165if test -z "$CC"; then
2166          if test -n "$ac_tool_prefix"; then
2167    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2168set dummy ${ac_tool_prefix}cc; ac_word=$2
2169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2170$as_echo_n "checking for $ac_word... " >&6; }
2171if test "${ac_cv_prog_CC+set}" = set; then :
2172  $as_echo_n "(cached) " >&6
2173else
2174  if test -n "$CC"; then
2175  ac_cv_prog_CC="$CC" # Let the user override the test.
2176else
2177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178for as_dir in $PATH
2179do
2180  IFS=$as_save_IFS
2181  test -z "$as_dir" && as_dir=.
2182    for ac_exec_ext in '' $ac_executable_extensions; do
2183  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2184    ac_cv_prog_CC="${ac_tool_prefix}cc"
2185    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2186    break 2
2187  fi
2188done
2189  done
2190IFS=$as_save_IFS
2191
2192fi
2193fi
2194CC=$ac_cv_prog_CC
2195if test -n "$CC"; then
2196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2197$as_echo "$CC" >&6; }
2198else
2199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2200$as_echo "no" >&6; }
2201fi
2202
2203
2204  fi
2205fi
2206if test -z "$CC"; then
2207  # Extract the first word of "cc", so it can be a program name with args.
2208set dummy cc; ac_word=$2
2209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2210$as_echo_n "checking for $ac_word... " >&6; }
2211if test "${ac_cv_prog_CC+set}" = set; then :
2212  $as_echo_n "(cached) " >&6
2213else
2214  if test -n "$CC"; then
2215  ac_cv_prog_CC="$CC" # Let the user override the test.
2216else
2217  ac_prog_rejected=no
2218as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219for as_dir in $PATH
2220do
2221  IFS=$as_save_IFS
2222  test -z "$as_dir" && as_dir=.
2223    for ac_exec_ext in '' $ac_executable_extensions; do
2224  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2225    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2226       ac_prog_rejected=yes
2227       continue
2228     fi
2229    ac_cv_prog_CC="cc"
2230    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2231    break 2
2232  fi
2233done
2234  done
2235IFS=$as_save_IFS
2236
2237if test $ac_prog_rejected = yes; then
2238  # We found a bogon in the path, so make sure we never use it.
2239  set dummy $ac_cv_prog_CC
2240  shift
2241  if test $# != 0; then
2242    # We chose a different compiler from the bogus one.
2243    # However, it has the same basename, so the bogon will be chosen
2244    # first if we set CC to just the basename; use the full file name.
2245    shift
2246    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2247  fi
2248fi
2249fi
2250fi
2251CC=$ac_cv_prog_CC
2252if test -n "$CC"; then
2253  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2254$as_echo "$CC" >&6; }
2255else
2256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2257$as_echo "no" >&6; }
2258fi
2259
2260
2261fi
2262if test -z "$CC"; then
2263  if test -n "$ac_tool_prefix"; then
2264  for ac_prog in cl.exe
2265  do
2266    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2267set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2269$as_echo_n "checking for $ac_word... " >&6; }
2270if test "${ac_cv_prog_CC+set}" = set; then :
2271  $as_echo_n "(cached) " >&6
2272else
2273  if test -n "$CC"; then
2274  ac_cv_prog_CC="$CC" # Let the user override the test.
2275else
2276as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277for as_dir in $PATH
2278do
2279  IFS=$as_save_IFS
2280  test -z "$as_dir" && as_dir=.
2281    for ac_exec_ext in '' $ac_executable_extensions; do
2282  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2283    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2284    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2285    break 2
2286  fi
2287done
2288  done
2289IFS=$as_save_IFS
2290
2291fi
2292fi
2293CC=$ac_cv_prog_CC
2294if test -n "$CC"; then
2295  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2296$as_echo "$CC" >&6; }
2297else
2298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2299$as_echo "no" >&6; }
2300fi
2301
2302
2303    test -n "$CC" && break
2304  done
2305fi
2306if test -z "$CC"; then
2307  ac_ct_CC=$CC
2308  for ac_prog in cl.exe
2309do
2310  # Extract the first word of "$ac_prog", so it can be a program name with args.
2311set dummy $ac_prog; ac_word=$2
2312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2313$as_echo_n "checking for $ac_word... " >&6; }
2314if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2315  $as_echo_n "(cached) " >&6
2316else
2317  if test -n "$ac_ct_CC"; then
2318  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2319else
2320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321for as_dir in $PATH
2322do
2323  IFS=$as_save_IFS
2324  test -z "$as_dir" && as_dir=.
2325    for ac_exec_ext in '' $ac_executable_extensions; do
2326  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2327    ac_cv_prog_ac_ct_CC="$ac_prog"
2328    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2329    break 2
2330  fi
2331done
2332  done
2333IFS=$as_save_IFS
2334
2335fi
2336fi
2337ac_ct_CC=$ac_cv_prog_ac_ct_CC
2338if test -n "$ac_ct_CC"; then
2339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2340$as_echo "$ac_ct_CC" >&6; }
2341else
2342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2343$as_echo "no" >&6; }
2344fi
2345
2346
2347  test -n "$ac_ct_CC" && break
2348done
2349
2350  if test "x$ac_ct_CC" = x; then
2351    CC=""
2352  else
2353    case $cross_compiling:$ac_tool_warned in
2354yes:)
2355{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2356$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2357ac_tool_warned=yes ;;
2358esac
2359    CC=$ac_ct_CC
2360  fi
2361fi
2362
2363fi
2364
2365
2366test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2367$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2368as_fn_error $? "no acceptable C compiler found in \$PATH
2369See \`config.log' for more details" "$LINENO" 5 ; }
2370
2371# Provide some information about the compiler.
2372$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2373set X $ac_compile
2374ac_compiler=$2
2375for ac_option in --version -v -V -qversion; do
2376  { { ac_try="$ac_compiler $ac_option >&5"
2377case "(($ac_try" in
2378  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2379  *) ac_try_echo=$ac_try;;
2380esac
2381eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2382$as_echo "$ac_try_echo"; } >&5
2383  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2384  ac_status=$?
2385  if test -s conftest.err; then
2386    sed '10a\
2387... rest of stderr output deleted ...
2388         10q' conftest.err >conftest.er1
2389    cat conftest.er1 >&5
2390  fi
2391  rm -f conftest.er1 conftest.err
2392  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2393  test $ac_status = 0; }
2394done
2395
2396cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2397/* end confdefs.h.  */
2398
2399int
2400main ()
2401{
2402
2403  ;
2404  return 0;
2405}
2406_ACEOF
2407ac_clean_files_save=$ac_clean_files
2408ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2409# Try to create an executable without -o first, disregard a.out.
2410# It will help us diagnose broken compilers, and finding out an intuition
2411# of exeext.
2412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2413$as_echo_n "checking whether the C compiler works... " >&6; }
2414ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2415
2416# The possible output files:
2417ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2418
2419ac_rmfiles=
2420for ac_file in $ac_files
2421do
2422  case $ac_file in
2423    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2424    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2425  esac
2426done
2427rm -f $ac_rmfiles
2428
2429if { { ac_try="$ac_link_default"
2430case "(($ac_try" in
2431  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2432  *) ac_try_echo=$ac_try;;
2433esac
2434eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2435$as_echo "$ac_try_echo"; } >&5
2436  (eval "$ac_link_default") 2>&5
2437  ac_status=$?
2438  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2439  test $ac_status = 0; }; then :
2440  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2441# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2442# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2443# so that the user can short-circuit this test for compilers unknown to
2444# Autoconf.
2445for ac_file in $ac_files ''
2446do
2447  test -f "$ac_file" || continue
2448  case $ac_file in
2449    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2450        ;;
2451    [ab].out )
2452        # We found the default executable, but exeext='' is most
2453        # certainly right.
2454        break;;
2455    *.* )
2456        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2457        then :; else
2458           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2459        fi
2460        # We set ac_cv_exeext here because the later test for it is not
2461        # safe: cross compilers may not add the suffix if given an `-o'
2462        # argument, so we may need to know it at that point already.
2463        # Even if this section looks crufty: it has the advantage of
2464        # actually working.
2465        break;;
2466    * )
2467        break;;
2468  esac
2469done
2470test "$ac_cv_exeext" = no && ac_cv_exeext=
2471
2472else
2473  ac_file=''
2474fi
2475if test -z "$ac_file"; then :
2476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2477$as_echo "no" >&6; }
2478$as_echo "$as_me: failed program was:" >&5
2479sed 's/^/| /' conftest.$ac_ext >&5
2480
2481{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2482$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2483as_fn_error 77 "C compiler cannot create executables
2484See \`config.log' for more details" "$LINENO" 5 ; }
2485else
2486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2487$as_echo "yes" >&6; }
2488fi
2489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2490$as_echo_n "checking for C compiler default output file name... " >&6; }
2491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2492$as_echo "$ac_file" >&6; }
2493ac_exeext=$ac_cv_exeext
2494
2495rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2496ac_clean_files=$ac_clean_files_save
2497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2498$as_echo_n "checking for suffix of executables... " >&6; }
2499if { { ac_try="$ac_link"
2500case "(($ac_try" in
2501  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2502  *) ac_try_echo=$ac_try;;
2503esac
2504eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2505$as_echo "$ac_try_echo"; } >&5
2506  (eval "$ac_link") 2>&5
2507  ac_status=$?
2508  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2509  test $ac_status = 0; }; then :
2510  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2511# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2512# work properly (i.e., refer to `conftest.exe'), while it won't with
2513# `rm'.
2514for ac_file in conftest.exe conftest conftest.*; do
2515  test -f "$ac_file" || continue
2516  case $ac_file in
2517    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2518    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2519          break;;
2520    * ) break;;
2521  esac
2522done
2523else
2524  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2525$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2526as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2527See \`config.log' for more details" "$LINENO" 5 ; }
2528fi
2529rm -f conftest conftest$ac_cv_exeext
2530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2531$as_echo "$ac_cv_exeext" >&6; }
2532
2533rm -f conftest.$ac_ext
2534EXEEXT=$ac_cv_exeext
2535ac_exeext=$EXEEXT
2536cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2537/* end confdefs.h.  */
2538#include <stdio.h>
2539int
2540main ()
2541{
2542FILE *f = fopen ("conftest.out", "w");
2543 return ferror (f) || fclose (f) != 0;
2544
2545  ;
2546  return 0;
2547}
2548_ACEOF
2549ac_clean_files="$ac_clean_files conftest.out"
2550# Check that the compiler produces executables we can run.  If not, either
2551# the compiler is broken, or we cross compile.
2552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2553$as_echo_n "checking whether we are cross compiling... " >&6; }
2554if test "$cross_compiling" != yes; then
2555  { { ac_try="$ac_link"
2556case "(($ac_try" in
2557  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558  *) ac_try_echo=$ac_try;;
2559esac
2560eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2561$as_echo "$ac_try_echo"; } >&5
2562  (eval "$ac_link") 2>&5
2563  ac_status=$?
2564  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2565  test $ac_status = 0; }
2566  if { ac_try='./conftest$ac_cv_exeext'
2567  { { case "(($ac_try" in
2568  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569  *) ac_try_echo=$ac_try;;
2570esac
2571eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2572$as_echo "$ac_try_echo"; } >&5
2573  (eval "$ac_try") 2>&5
2574  ac_status=$?
2575  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2576  test $ac_status = 0; }; }; then
2577    cross_compiling=no
2578  else
2579    if test "$cross_compiling" = maybe; then
2580        cross_compiling=yes
2581    else
2582        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2583$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2584as_fn_error $? "cannot run C compiled programs.
2585If you meant to cross compile, use \`--host'.
2586See \`config.log' for more details" "$LINENO" 5 ; }
2587    fi
2588  fi
2589fi
2590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2591$as_echo "$cross_compiling" >&6; }
2592
2593rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2594ac_clean_files=$ac_clean_files_save
2595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2596$as_echo_n "checking for suffix of object files... " >&6; }
2597if test "${ac_cv_objext+set}" = set; then :
2598  $as_echo_n "(cached) " >&6
2599else
2600  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2601/* end confdefs.h.  */
2602
2603int
2604main ()
2605{
2606
2607  ;
2608  return 0;
2609}
2610_ACEOF
2611rm -f conftest.o conftest.obj
2612if { { ac_try="$ac_compile"
2613case "(($ac_try" in
2614  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2615  *) ac_try_echo=$ac_try;;
2616esac
2617eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2618$as_echo "$ac_try_echo"; } >&5
2619  (eval "$ac_compile") 2>&5
2620  ac_status=$?
2621  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2622  test $ac_status = 0; }; then :
2623  for ac_file in conftest.o conftest.obj conftest.*; do
2624  test -f "$ac_file" || continue;
2625  case $ac_file in
2626    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2627    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2628       break;;
2629  esac
2630done
2631else
2632  $as_echo "$as_me: failed program was:" >&5
2633sed 's/^/| /' conftest.$ac_ext >&5
2634
2635{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2636$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2637as_fn_error $? "cannot compute suffix of object files: cannot compile
2638See \`config.log' for more details" "$LINENO" 5 ; }
2639fi
2640rm -f conftest.$ac_cv_objext conftest.$ac_ext
2641fi
2642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2643$as_echo "$ac_cv_objext" >&6; }
2644OBJEXT=$ac_cv_objext
2645ac_objext=$OBJEXT
2646{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2647$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2648if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2649  $as_echo_n "(cached) " >&6
2650else
2651  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2652/* end confdefs.h.  */
2653
2654int
2655main ()
2656{
2657#ifndef __GNUC__
2658       choke me
2659#endif
2660
2661  ;
2662  return 0;
2663}
2664_ACEOF
2665if ac_fn_c_try_compile "$LINENO"; then :
2666  ac_compiler_gnu=yes
2667else
2668  ac_compiler_gnu=no
2669fi
2670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2671ac_cv_c_compiler_gnu=$ac_compiler_gnu
2672
2673fi
2674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2675$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2676if test $ac_compiler_gnu = yes; then
2677  GCC=yes
2678else
2679  GCC=
2680fi
2681ac_test_CFLAGS=${CFLAGS+set}
2682ac_save_CFLAGS=$CFLAGS
2683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2684$as_echo_n "checking whether $CC accepts -g... " >&6; }
2685if test "${ac_cv_prog_cc_g+set}" = set; then :
2686  $as_echo_n "(cached) " >&6
2687else
2688  ac_save_c_werror_flag=$ac_c_werror_flag
2689   ac_c_werror_flag=yes
2690   ac_cv_prog_cc_g=no
2691   CFLAGS="-g"
2692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2693/* end confdefs.h.  */
2694
2695int
2696main ()
2697{
2698
2699  ;
2700  return 0;
2701}
2702_ACEOF
2703if ac_fn_c_try_compile "$LINENO"; then :
2704  ac_cv_prog_cc_g=yes
2705else
2706  CFLAGS=""
2707      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2708/* end confdefs.h.  */
2709
2710int
2711main ()
2712{
2713
2714  ;
2715  return 0;
2716}
2717_ACEOF
2718if ac_fn_c_try_compile "$LINENO"; then :
2719
2720else
2721  ac_c_werror_flag=$ac_save_c_werror_flag
2722         CFLAGS="-g"
2723         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2724/* end confdefs.h.  */
2725
2726int
2727main ()
2728{
2729
2730  ;
2731  return 0;
2732}
2733_ACEOF
2734if ac_fn_c_try_compile "$LINENO"; then :
2735  ac_cv_prog_cc_g=yes
2736fi
2737rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2738fi
2739rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2740fi
2741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2742   ac_c_werror_flag=$ac_save_c_werror_flag
2743fi
2744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2745$as_echo "$ac_cv_prog_cc_g" >&6; }
2746if test "$ac_test_CFLAGS" = set; then
2747  CFLAGS=$ac_save_CFLAGS
2748elif test $ac_cv_prog_cc_g = yes; then
2749  if test "$GCC" = yes; then
2750    CFLAGS="-g -O2"
2751  else
2752    CFLAGS="-g"
2753  fi
2754else
2755  if test "$GCC" = yes; then
2756    CFLAGS="-O2"
2757  else
2758    CFLAGS=
2759  fi
2760fi
2761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2762$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2763if test "${ac_cv_prog_cc_c89+set}" = set; then :
2764  $as_echo_n "(cached) " >&6
2765else
2766  ac_cv_prog_cc_c89=no
2767ac_save_CC=$CC
2768cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2769/* end confdefs.h.  */
2770#include <stdarg.h>
2771#include <stdio.h>
2772#include <sys/types.h>
2773#include <sys/stat.h>
2774/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2775struct buf { int x; };
2776FILE * (*rcsopen) (struct buf *, struct stat *, int);
2777static char *e (p, i)
2778     char **p;
2779     int i;
2780{
2781  return p[i];
2782}
2783static char *f (char * (*g) (char **, int), char **p, ...)
2784{
2785  char *s;
2786  va_list v;
2787  va_start (v,p);
2788  s = g (p, va_arg (v,int));
2789  va_end (v);
2790  return s;
2791}
2792
2793/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2794   function prototypes and stuff, but not '\xHH' hex character constants.
2795   These don't provoke an error unfortunately, instead are silently treated
2796   as 'x'.  The following induces an error, until -std is added to get
2797   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2798   array size at least.  It's necessary to write '\x00'==0 to get something
2799   that's true only with -std.  */
2800int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2801
2802/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2803   inside strings and character constants.  */
2804#define FOO(x) 'x'
2805int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2806
2807int test (int i, double x);
2808struct s1 {int (*f) (int a);};
2809struct s2 {int (*f) (double a);};
2810int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2811int argc;
2812char **argv;
2813int
2814main ()
2815{
2816return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2817  ;
2818  return 0;
2819}
2820_ACEOF
2821for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2822        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2823do
2824  CC="$ac_save_CC $ac_arg"
2825  if ac_fn_c_try_compile "$LINENO"; then :
2826  ac_cv_prog_cc_c89=$ac_arg
2827fi
2828rm -f core conftest.err conftest.$ac_objext
2829  test "x$ac_cv_prog_cc_c89" != "xno" && break
2830done
2831rm -f conftest.$ac_ext
2832CC=$ac_save_CC
2833
2834fi
2835# AC_CACHE_VAL
2836case "x$ac_cv_prog_cc_c89" in
2837  x)
2838    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2839$as_echo "none needed" >&6; } ;;
2840  xno)
2841    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2842$as_echo "unsupported" >&6; } ;;
2843  *)
2844    CC="$CC $ac_cv_prog_cc_c89"
2845    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2846$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2847esac
2848if test "x$ac_cv_prog_cc_c89" != xno; then :
2849
2850fi
2851
2852ac_ext=c
2853ac_cpp='$CPP $CPPFLAGS'
2854ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2855ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2856ac_compiler_gnu=$ac_cv_c_compiler_gnu
2857
2858
2859ac_ext=c
2860ac_cpp='$CPP $CPPFLAGS'
2861ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2862ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2863ac_compiler_gnu=$ac_cv_c_compiler_gnu
2864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2865$as_echo_n "checking how to run the C preprocessor... " >&6; }
2866# On Suns, sometimes $CPP names a directory.
2867if test -n "$CPP" && test -d "$CPP"; then
2868  CPP=
2869fi
2870if test -z "$CPP"; then
2871  if test "${ac_cv_prog_CPP+set}" = set; then :
2872  $as_echo_n "(cached) " >&6
2873else
2874      # Double quotes because CPP needs to be expanded
2875    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2876    do
2877      ac_preproc_ok=false
2878for ac_c_preproc_warn_flag in '' yes
2879do
2880  # Use a header file that comes with gcc, so configuring glibc
2881  # with a fresh cross-compiler works.
2882  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2883  # <limits.h> exists even on freestanding compilers.
2884  # On the NeXT, cc -E runs the code through the compiler's parser,
2885  # not just through cpp. "Syntax error" is here to catch this case.
2886  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887/* end confdefs.h.  */
2888#ifdef __STDC__
2889# include <limits.h>
2890#else
2891# include <assert.h>
2892#endif
2893                     Syntax error
2894_ACEOF
2895if ac_fn_c_try_cpp "$LINENO"; then :
2896
2897else
2898  # Broken: fails on valid input.
2899continue
2900fi
2901rm -f conftest.err conftest.i conftest.$ac_ext
2902
2903  # OK, works on sane cases.  Now check whether nonexistent headers
2904  # can be detected and how.
2905  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2906/* end confdefs.h.  */
2907#include <ac_nonexistent.h>
2908_ACEOF
2909if ac_fn_c_try_cpp "$LINENO"; then :
2910  # Broken: success on invalid input.
2911continue
2912else
2913  # Passes both tests.
2914ac_preproc_ok=:
2915break
2916fi
2917rm -f conftest.err conftest.i conftest.$ac_ext
2918
2919done
2920# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2921rm -f conftest.i conftest.err conftest.$ac_ext
2922if $ac_preproc_ok; then :
2923  break
2924fi
2925
2926    done
2927    ac_cv_prog_CPP=$CPP
2928
2929fi
2930  CPP=$ac_cv_prog_CPP
2931else
2932  ac_cv_prog_CPP=$CPP
2933fi
2934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2935$as_echo "$CPP" >&6; }
2936ac_preproc_ok=false
2937for ac_c_preproc_warn_flag in '' yes
2938do
2939  # Use a header file that comes with gcc, so configuring glibc
2940  # with a fresh cross-compiler works.
2941  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2942  # <limits.h> exists even on freestanding compilers.
2943  # On the NeXT, cc -E runs the code through the compiler's parser,
2944  # not just through cpp. "Syntax error" is here to catch this case.
2945  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2946/* end confdefs.h.  */
2947#ifdef __STDC__
2948# include <limits.h>
2949#else
2950# include <assert.h>
2951#endif
2952                     Syntax error
2953_ACEOF
2954if ac_fn_c_try_cpp "$LINENO"; then :
2955
2956else
2957  # Broken: fails on valid input.
2958continue
2959fi
2960rm -f conftest.err conftest.i conftest.$ac_ext
2961
2962  # OK, works on sane cases.  Now check whether nonexistent headers
2963  # can be detected and how.
2964  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965/* end confdefs.h.  */
2966#include <ac_nonexistent.h>
2967_ACEOF
2968if ac_fn_c_try_cpp "$LINENO"; then :
2969  # Broken: success on invalid input.
2970continue
2971else
2972  # Passes both tests.
2973ac_preproc_ok=:
2974break
2975fi
2976rm -f conftest.err conftest.i conftest.$ac_ext
2977
2978done
2979# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2980rm -f conftest.i conftest.err conftest.$ac_ext
2981if $ac_preproc_ok; then :
2982
2983else
2984  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2985$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2986as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
2987See \`config.log' for more details" "$LINENO" 5 ; }
2988fi
2989
2990ac_ext=c
2991ac_cpp='$CPP $CPPFLAGS'
2992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994ac_compiler_gnu=$ac_cv_c_compiler_gnu
2995
2996
2997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
2998$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2999if test "${ac_cv_path_GREP+set}" = set; then :
3000  $as_echo_n "(cached) " >&6
3001else
3002  if test -z "$GREP"; then
3003  ac_path_GREP_found=false
3004  # Loop through the user's path and test for each of PROGNAME-LIST
3005  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3006for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3007do
3008  IFS=$as_save_IFS
3009  test -z "$as_dir" && as_dir=.
3010    for ac_prog in grep ggrep; do
3011    for ac_exec_ext in '' $ac_executable_extensions; do
3012      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3013      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3014# Check for GNU ac_path_GREP and select it if it is found.
3015  # Check for GNU $ac_path_GREP
3016case `"$ac_path_GREP" --version 2>&1` in
3017*GNU*)
3018  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3019*)
3020  ac_count=0
3021  $as_echo_n 0123456789 >"conftest.in"
3022  while :
3023  do
3024    cat "conftest.in" "conftest.in" >"conftest.tmp"
3025    mv "conftest.tmp" "conftest.in"
3026    cp "conftest.in" "conftest.nl"
3027    $as_echo 'GREP' >> "conftest.nl"
3028    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3029    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3030    as_fn_arith $ac_count + 1 && ac_count=$as_val
3031    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3032      # Best one so far, save it but keep looking for a better one
3033      ac_cv_path_GREP="$ac_path_GREP"
3034      ac_path_GREP_max=$ac_count
3035    fi
3036    # 10*(2^10) chars as input seems more than enough
3037    test $ac_count -gt 10 && break
3038  done
3039  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3040esac
3041
3042      $ac_path_GREP_found && break 3
3043    done
3044  done
3045  done
3046IFS=$as_save_IFS
3047  if test -z "$ac_cv_path_GREP"; then
3048    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3049  fi
3050else
3051  ac_cv_path_GREP=$GREP
3052fi
3053
3054fi
3055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3056$as_echo "$ac_cv_path_GREP" >&6; }
3057 GREP="$ac_cv_path_GREP"
3058
3059
3060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3061$as_echo_n "checking for egrep... " >&6; }
3062if test "${ac_cv_path_EGREP+set}" = set; then :
3063  $as_echo_n "(cached) " >&6
3064else
3065  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3066   then ac_cv_path_EGREP="$GREP -E"
3067   else
3068     if test -z "$EGREP"; then
3069  ac_path_EGREP_found=false
3070  # Loop through the user's path and test for each of PROGNAME-LIST
3071  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3072for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3073do
3074  IFS=$as_save_IFS
3075  test -z "$as_dir" && as_dir=.
3076    for ac_prog in egrep; do
3077    for ac_exec_ext in '' $ac_executable_extensions; do
3078      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3079      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3080# Check for GNU ac_path_EGREP and select it if it is found.
3081  # Check for GNU $ac_path_EGREP
3082case `"$ac_path_EGREP" --version 2>&1` in
3083*GNU*)
3084  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3085*)
3086  ac_count=0
3087  $as_echo_n 0123456789 >"conftest.in"
3088  while :
3089  do
3090    cat "conftest.in" "conftest.in" >"conftest.tmp"
3091    mv "conftest.tmp" "conftest.in"
3092    cp "conftest.in" "conftest.nl"
3093    $as_echo 'EGREP' >> "conftest.nl"
3094    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3095    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3096    as_fn_arith $ac_count + 1 && ac_count=$as_val
3097    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3098      # Best one so far, save it but keep looking for a better one
3099      ac_cv_path_EGREP="$ac_path_EGREP"
3100      ac_path_EGREP_max=$ac_count
3101    fi
3102    # 10*(2^10) chars as input seems more than enough
3103    test $ac_count -gt 10 && break
3104  done
3105  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3106esac
3107
3108      $ac_path_EGREP_found && break 3
3109    done
3110  done
3111  done
3112IFS=$as_save_IFS
3113  if test -z "$ac_cv_path_EGREP"; then
3114    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3115  fi
3116else
3117  ac_cv_path_EGREP=$EGREP
3118fi
3119
3120   fi
3121fi
3122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3123$as_echo "$ac_cv_path_EGREP" >&6; }
3124 EGREP="$ac_cv_path_EGREP"
3125
3126
3127if test $ac_cv_c_compiler_gnu = yes; then
3128    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
3129$as_echo_n "checking whether $CC needs -traditional... " >&6; }
3130if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
3131  $as_echo_n "(cached) " >&6
3132else
3133    ac_pattern="Autoconf.*'x'"
3134  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3135/* end confdefs.h.  */
3136#include <sgtty.h>
3137Autoconf TIOCGETP
3138_ACEOF
3139if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3140  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
3141  ac_cv_prog_gcc_traditional=yes
3142else
3143  ac_cv_prog_gcc_traditional=no
3144fi
3145rm -f conftest*
3146
3147
3148  if test $ac_cv_prog_gcc_traditional = no; then
3149    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3150/* end confdefs.h.  */
3151#include <termio.h>
3152Autoconf TCGETA
3153_ACEOF
3154if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3155  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
3156  ac_cv_prog_gcc_traditional=yes
3157fi
3158rm -f conftest*
3159
3160  fi
3161fi
3162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
3163$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
3164  if test $ac_cv_prog_gcc_traditional = yes; then
3165    CC="$CC -traditional"
3166  fi
3167fi
3168
3169
3170if test "x$DEBUG" = "x";then
3171  DEBUG=0
3172fi
3173
3174
3175# What user must be used for installation (default: root)
3176#
3177
3178# Check whether --with-install_user was given.
3179if test "${with_install_user+set}" = set; then :
3180  withval=$with_install_user; case "${withval}" in
3181        *) install_user="${withval}" ;;
3182  esac
3183else
3184  install_user="root"
3185
3186fi
3187
3188# Now a user can specify the TRAC user
3189#
3190
3191# Check whether --with-trac_user was given.
3192if test "${with_trac_user+set}" = set; then :
3193  withval=$with_trac_user; case "${withval}" in
3194        *) trac_user="${withval}" ;;
3195  esac
3196else
3197  trac_user="www-data"
3198
3199fi
3200
3201# Now a user can specify MTA TRAC user
3202#
3203
3204# Check whether --with-mta_user was given.
3205if test "${with_mta_user+set}" = set; then :
3206  withval=$with_mta_user; case "${withval}" in
3207        *) mta_user="${withval}" ;;
3208  esac
3209else
3210  mta_user="nobody"
3211
3212fi
3213
3214if test "$sysconfdir" = '${prefix}/etc'; then
3215  if test "x$prefix" = xNONE; then
3216    email2trac_conf="$ac_default_prefix/etc/email2trac.conf"
3217  else
3218    email2trac_conf="$prefix/etc/email2trac.conf"
3219  fi
3220else
3221  email2trac_conf="$sysconfdir/email2trac.conf"
3222fi
3223
3224cat >>confdefs.h <<_ACEOF
3225#define SYSTEM_EMAIL2TRAC_CONF "$email2trac_conf"
3226_ACEOF
3227
3228
3229
3230
3231
3232for ac_func in initgroups
3233do :
3234  ac_fn_c_check_func "$LINENO" "initgroups" "ac_cv_func_initgroups"
3235if test "x$ac_cv_func_initgroups" = x""yes; then :
3236  cat >>confdefs.h <<_ACEOF
3237#define HAVE_INITGROUPS 1
3238_ACEOF
3239
3240fi
3241done
3242
3243
3244
3245ac_config_files="$ac_config_files Makefile email2trac.py delete_spam.py"
3246
3247cat >confcache <<\_ACEOF
3248# This file is a shell script that caches the results of configure
3249# tests run on this system so they can be shared between configure
3250# scripts and configure runs, see configure's option --config-cache.
3251# It is not useful on other systems.  If it contains results you don't
3252# want to keep, you may remove or edit it.
3253#
3254# config.status only pays attention to the cache file if you give it
3255# the --recheck option to rerun configure.
3256#
3257# `ac_cv_env_foo' variables (set or unset) will be overridden when
3258# loading this file, other *unset* `ac_cv_foo' will be assigned the
3259# following values.
3260
3261_ACEOF
3262
3263# The following way of writing the cache mishandles newlines in values,
3264# but we know of no workaround that is simple, portable, and efficient.
3265# So, we kill variables containing newlines.
3266# Ultrix sh set writes to stderr and can't be redirected directly,
3267# and sets the high bit in the cache file unless we assign to the vars.
3268(
3269  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3270    eval ac_val=\$$ac_var
3271    case $ac_val in #(
3272    *${as_nl}*)
3273      case $ac_var in #(
3274      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3275$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3276      esac
3277      case $ac_var in #(
3278      _ | IFS | as_nl) ;; #(
3279      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3280      *) { eval $ac_var=; unset $ac_var;} ;;
3281      esac ;;
3282    esac
3283  done
3284
3285  (set) 2>&1 |
3286    case $as_nl`(ac_space=' '; set) 2>&1` in #(
3287    *${as_nl}ac_space=\ *)
3288      # `set' does not quote correctly, so add quotes: double-quote
3289      # substitution turns \\\\ into \\, and sed turns \\ into \.
3290      sed -n \
3291        "s/'/'\\\\''/g;
3292          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3293      ;; #(
3294    *)
3295      # `set' quotes correctly as required by POSIX, so do not add quotes.
3296      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3297      ;;
3298    esac |
3299    sort
3300) |
3301  sed '
3302     /^ac_cv_env_/b end
3303     t clear
3304     :clear
3305     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3306     t end
3307     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3308     :end' >>confcache
3309if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3310  if test -w "$cache_file"; then
3311    test "x$cache_file" != "x/dev/null" &&
3312      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3313$as_echo "$as_me: updating cache $cache_file" >&6;}
3314    cat confcache >$cache_file
3315  else
3316    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3317$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3318  fi
3319fi
3320rm -f confcache
3321
3322test "x$prefix" = xNONE && prefix=$ac_default_prefix
3323# Let make expand exec_prefix.
3324test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3325
3326DEFS=-DHAVE_CONFIG_H
3327
3328ac_libobjs=
3329ac_ltlibobjs=
3330U=
3331for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3332  # 1. Remove the extension, and $U if already installed.
3333  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3334  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3335  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
3336  #    will be set to the directory where LIBOBJS objects are built.
3337  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3338  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3339done
3340LIBOBJS=$ac_libobjs
3341
3342LTLIBOBJS=$ac_ltlibobjs
3343
3344
3345
3346: ${CONFIG_STATUS=./config.status}
3347ac_write_fail=0
3348ac_clean_files_save=$ac_clean_files
3349ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3350{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3351$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3352as_write_fail=0
3353cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3354#! $SHELL
3355# Generated by $as_me.
3356# Run this file to recreate the current configuration.
3357# Compiler output produced by configure, useful for debugging
3358# configure, is in config.log if it exists.
3359
3360debug=false
3361ac_cs_recheck=false
3362ac_cs_silent=false
3363
3364SHELL=\${CONFIG_SHELL-$SHELL}
3365export SHELL
3366_ASEOF
3367cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3368## -------------------- ##
3369## M4sh Initialization. ##
3370## -------------------- ##
3371
3372# Be more Bourne compatible
3373DUALCASE=1; export DUALCASE # for MKS sh
3374if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3375  emulate sh
3376  NULLCMD=:
3377  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3378  # is contrary to our usage.  Disable this feature.
3379  alias -g '${1+"$@"}'='"$@"'
3380  setopt NO_GLOB_SUBST
3381else
3382  case `(set -o) 2>/dev/null` in #(
3383  *posix*) :
3384    set -o posix ;; #(
3385  *) :
3386     ;;
3387esac
3388fi
3389
3390
3391as_nl='
3392'
3393export as_nl
3394# Printing a long string crashes Solaris 7 /usr/bin/printf.
3395as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3396as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3397as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3398# Prefer a ksh shell builtin over an external printf program on Solaris,
3399# but without wasting forks for bash or zsh.
3400if test -z "$BASH_VERSION$ZSH_VERSION" \
3401    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3402  as_echo='print -r --'
3403  as_echo_n='print -rn --'
3404elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3405  as_echo='printf %s\n'
3406  as_echo_n='printf %s'
3407else
3408  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3409    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3410    as_echo_n='/usr/ucb/echo -n'
3411  else
3412    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3413    as_echo_n_body='eval
3414      arg=$1;
3415      case $arg in #(
3416      *"$as_nl"*)
3417        expr "X$arg" : "X\\(.*\\)$as_nl";
3418        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3419      esac;
3420      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3421    '
3422    export as_echo_n_body
3423    as_echo_n='sh -c $as_echo_n_body as_echo'
3424  fi
3425  export as_echo_body
3426  as_echo='sh -c $as_echo_body as_echo'
3427fi
3428
3429# The user is always right.
3430if test "${PATH_SEPARATOR+set}" != set; then
3431  PATH_SEPARATOR=:
3432  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3433    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3434      PATH_SEPARATOR=';'
3435  }
3436fi
3437
3438
3439# IFS
3440# We need space, tab and new line, in precisely that order.  Quoting is
3441# there to prevent editors from complaining about space-tab.
3442# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3443# splitting by setting IFS to empty value.)
3444IFS=" ""        $as_nl"
3445
3446# Find who we are.  Look in the path if we contain no directory separator.
3447case $0 in #((
3448  *[\\/]* ) as_myself=$0 ;;
3449  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3450for as_dir in $PATH
3451do
3452  IFS=$as_save_IFS
3453  test -z "$as_dir" && as_dir=.
3454    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3455  done
3456IFS=$as_save_IFS
3457
3458     ;;
3459esac
3460# We did not find ourselves, most probably we were run as `sh COMMAND'
3461# in which case we are not to be found in the path.
3462if test "x$as_myself" = x; then
3463  as_myself=$0
3464fi
3465if test ! -f "$as_myself"; then
3466  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3467  exit 1
3468fi
3469
3470# Unset variables that we do not need and which cause bugs (e.g. in
3471# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
3472# suppresses any "Segmentation fault" message there.  '((' could
3473# trigger a bug in pdksh 5.2.14.
3474for as_var in BASH_ENV ENV MAIL MAILPATH
3475do eval test x\${$as_var+set} = xset \
3476  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3477done
3478PS1='$ '
3479PS2='> '
3480PS4='+ '
3481
3482# NLS nuisances.
3483LC_ALL=C
3484export LC_ALL
3485LANGUAGE=C
3486export LANGUAGE
3487
3488# CDPATH.
3489(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3490
3491
3492# as_fn_error STATUS ERROR [LINENO LOG_FD]
3493# ----------------------------------------
3494# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3495# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3496# script with STATUS, using 1 if that was 0.
3497as_fn_error ()
3498{
3499  as_status=$1; test $as_status -eq 0 && as_status=1
3500  if test "$4"; then
3501    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3502    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3503  fi
3504  $as_echo "$as_me: error: $2" >&2
3505  as_fn_exit $as_status
3506} # as_fn_error
3507
3508
3509# as_fn_set_status STATUS
3510# -----------------------
3511# Set $? to STATUS, without forking.
3512as_fn_set_status ()
3513{
3514  return $1
3515} # as_fn_set_status
3516
3517# as_fn_exit STATUS
3518# -----------------
3519# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3520as_fn_exit ()
3521{
3522  set +e
3523  as_fn_set_status $1
3524  exit $1
3525} # as_fn_exit
3526
3527# as_fn_unset VAR
3528# ---------------
3529# Portably unset VAR.
3530as_fn_unset ()
3531{
3532  { eval $1=; unset $1;}
3533}
3534as_unset=as_fn_unset
3535# as_fn_append VAR VALUE
3536# ----------------------
3537# Append the text in VALUE to the end of the definition contained in VAR. Take
3538# advantage of any shell optimizations that allow amortized linear growth over
3539# repeated appends, instead of the typical quadratic growth present in naive
3540# implementations.
3541if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3542  eval 'as_fn_append ()
3543  {
3544    eval $1+=\$2
3545  }'
3546else
3547  as_fn_append ()
3548  {
3549    eval $1=\$$1\$2
3550  }
3551fi # as_fn_append
3552
3553# as_fn_arith ARG...
3554# ------------------
3555# Perform arithmetic evaluation on the ARGs, and store the result in the
3556# global $as_val. Take advantage of shells that can avoid forks. The arguments
3557# must be portable across $(()) and expr.
3558if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3559  eval 'as_fn_arith ()
3560  {
3561    as_val=$(( $* ))
3562  }'
3563else
3564  as_fn_arith ()
3565  {
3566    as_val=`expr "$@" || test $? -eq 1`
3567  }
3568fi # as_fn_arith
3569
3570
3571if expr a : '\(a\)' >/dev/null 2>&1 &&
3572   test "X`expr 00001 : '.*\(...\)'`" = X001; then
3573  as_expr=expr
3574else
3575  as_expr=false
3576fi
3577
3578if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3579  as_basename=basename
3580else
3581  as_basename=false
3582fi
3583
3584if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3585  as_dirname=dirname
3586else
3587  as_dirname=false
3588fi
3589
3590as_me=`$as_basename -- "$0" ||
3591$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3592         X"$0" : 'X\(//\)$' \| \
3593         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3594$as_echo X/"$0" |
3595    sed '/^.*\/\([^/][^/]*\)\/*$/{
3596            s//\1/
3597            q
3598          }
3599          /^X\/\(\/\/\)$/{
3600            s//\1/
3601            q
3602          }
3603          /^X\/\(\/\).*/{
3604            s//\1/
3605            q
3606          }
3607          s/.*/./; q'`
3608
3609# Avoid depending upon Character Ranges.
3610as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3611as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3612as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3613as_cr_digits='0123456789'
3614as_cr_alnum=$as_cr_Letters$as_cr_digits
3615
3616ECHO_C= ECHO_N= ECHO_T=
3617case `echo -n x` in #(((((
3618-n*)
3619  case `echo 'xy\c'` in
3620  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
3621  xy)  ECHO_C='\c';;
3622  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
3623       ECHO_T=' ';;
3624  esac;;
3625*)
3626  ECHO_N='-n';;
3627esac
3628
3629rm -f conf$$ conf$$.exe conf$$.file
3630if test -d conf$$.dir; then
3631  rm -f conf$$.dir/conf$$.file
3632else
3633  rm -f conf$$.dir
3634  mkdir conf$$.dir 2>/dev/null
3635fi
3636if (echo >conf$$.file) 2>/dev/null; then
3637  if ln -s conf$$.file conf$$ 2>/dev/null; then
3638    as_ln_s='ln -s'
3639    # ... but there are two gotchas:
3640    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3641    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3642    # In both cases, we have to default to `cp -p'.
3643    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3644      as_ln_s='cp -p'
3645  elif ln conf$$.file conf$$ 2>/dev/null; then
3646    as_ln_s=ln
3647  else
3648    as_ln_s='cp -p'
3649  fi
3650else
3651  as_ln_s='cp -p'
3652fi
3653rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3654rmdir conf$$.dir 2>/dev/null
3655
3656
3657# as_fn_mkdir_p
3658# -------------
3659# Create "$as_dir" as a directory, including parents if necessary.
3660as_fn_mkdir_p ()
3661{
3662
3663  case $as_dir in #(
3664  -*) as_dir=./$as_dir;;
3665  esac
3666  test -d "$as_dir" || eval $as_mkdir_p || {
3667    as_dirs=
3668    while :; do
3669      case $as_dir in #(
3670      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3671      *) as_qdir=$as_dir;;
3672      esac
3673      as_dirs="'$as_qdir' $as_dirs"
3674      as_dir=`$as_dirname -- "$as_dir" ||
3675$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3676         X"$as_dir" : 'X\(//\)[^/]' \| \
3677         X"$as_dir" : 'X\(//\)$' \| \
3678         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3679$as_echo X"$as_dir" |
3680    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3681            s//\1/
3682            q
3683          }
3684          /^X\(\/\/\)[^/].*/{
3685            s//\1/
3686            q
3687          }
3688          /^X\(\/\/\)$/{
3689            s//\1/
3690            q
3691          }
3692          /^X\(\/\).*/{
3693            s//\1/
3694            q
3695          }
3696          s/.*/./; q'`
3697      test -d "$as_dir" && break
3698    done
3699    test -z "$as_dirs" || eval "mkdir $as_dirs"
3700  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3701
3702
3703} # as_fn_mkdir_p
3704if mkdir -p . 2>/dev/null; then
3705  as_mkdir_p='mkdir -p "$as_dir"'
3706else
3707  test -d ./-p && rmdir ./-p
3708  as_mkdir_p=false
3709fi
3710
3711if test -x / >/dev/null 2>&1; then
3712  as_test_x='test -x'
3713else
3714  if ls -dL / >/dev/null 2>&1; then
3715    as_ls_L_option=L
3716  else
3717    as_ls_L_option=
3718  fi
3719  as_test_x='
3720    eval sh -c '\''
3721      if test -d "$1"; then
3722        test -d "$1/.";
3723      else
3724        case $1 in #(
3725        -*)set "./$1";;
3726        esac;
3727        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3728        ???[sx]*):;;*)false;;esac;fi
3729    '\'' sh
3730  '
3731fi
3732as_executable_p=$as_test_x
3733
3734# Sed expression to map a string onto a valid CPP name.
3735as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3736
3737# Sed expression to map a string onto a valid variable name.
3738as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3739
3740
3741exec 6>&1
3742## ----------------------------------- ##
3743## Main body of $CONFIG_STATUS script. ##
3744## ----------------------------------- ##
3745_ASEOF
3746test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3747
3748cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3749# Save the log message, to keep $0 and so on meaningful, and to
3750# report actual input values of CONFIG_FILES etc. instead of their
3751# values after options handling.
3752ac_log="
3753This file was extended by $as_me, which was
3754generated by GNU Autoconf 2.67.  Invocation command line was
3755
3756  CONFIG_FILES    = $CONFIG_FILES
3757  CONFIG_HEADERS  = $CONFIG_HEADERS
3758  CONFIG_LINKS    = $CONFIG_LINKS
3759  CONFIG_COMMANDS = $CONFIG_COMMANDS
3760  $ $0 $@
3761
3762on `(hostname || uname -n) 2>/dev/null | sed 1q`
3763"
3764
3765_ACEOF
3766
3767case $ac_config_files in *"
3768"*) set x $ac_config_files; shift; ac_config_files=$*;;
3769esac
3770
3771case $ac_config_headers in *"
3772"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3773esac
3774
3775
3776cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3777# Files that config.status was made for.
3778config_files="$ac_config_files"
3779config_headers="$ac_config_headers"
3780
3781_ACEOF
3782
3783cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3784ac_cs_usage="\
3785\`$as_me' instantiates files and other configuration actions
3786from templates according to the current configuration.  Unless the files
3787and actions are specified as TAGs, all are instantiated by default.
3788
3789Usage: $0 [OPTION]... [TAG]...
3790
3791  -h, --help       print this help, then exit
3792  -V, --version    print version number and configuration settings, then exit
3793      --config     print configuration, then exit
3794  -q, --quiet, --silent
3795                   do not print progress messages
3796  -d, --debug      don't remove temporary files
3797      --recheck    update $as_me by reconfiguring in the same conditions
3798      --file=FILE[:TEMPLATE]
3799                   instantiate the configuration file FILE
3800      --header=FILE[:TEMPLATE]
3801                   instantiate the configuration header FILE
3802
3803Configuration files:
3804$config_files
3805
3806Configuration headers:
3807$config_headers
3808
3809Report bugs to the package provider."
3810
3811_ACEOF
3812cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3813ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3814ac_cs_version="\\
3815config.status
3816configured by $0, generated by GNU Autoconf 2.67,
3817  with options \\"\$ac_cs_config\\"
3818
3819Copyright (C) 2010 Free Software Foundation, Inc.
3820This config.status script is free software; the Free Software Foundation
3821gives unlimited permission to copy, distribute and modify it."
3822
3823ac_pwd='$ac_pwd'
3824srcdir='$srcdir'
3825test -n "\$AWK" || AWK=awk
3826_ACEOF
3827
3828cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3829# The default lists apply if the user does not specify any file.
3830ac_need_defaults=:
3831while test $# != 0
3832do
3833  case $1 in
3834  --*=?*)
3835    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3836    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3837    ac_shift=:
3838    ;;
3839  --*=)
3840    ac_option=`expr "X$1" : 'X\([^=]*\)='`
3841    ac_optarg=
3842    ac_shift=:
3843    ;;
3844  *)
3845    ac_option=$1
3846    ac_optarg=$2
3847    ac_shift=shift
3848    ;;
3849  esac
3850
3851  case $ac_option in
3852  # Handling of the options.
3853  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3854    ac_cs_recheck=: ;;
3855  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3856    $as_echo "$ac_cs_version"; exit ;;
3857  --config | --confi | --conf | --con | --co | --c )
3858    $as_echo "$ac_cs_config"; exit ;;
3859  --debug | --debu | --deb | --de | --d | -d )
3860    debug=: ;;
3861  --file | --fil | --fi | --f )
3862    $ac_shift
3863    case $ac_optarg in
3864    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3865    '') as_fn_error $? "missing file argument" ;;
3866    esac
3867    as_fn_append CONFIG_FILES " '$ac_optarg'"
3868    ac_need_defaults=false;;
3869  --header | --heade | --head | --hea )
3870    $ac_shift
3871    case $ac_optarg in
3872    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3873    esac
3874    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3875    ac_need_defaults=false;;
3876  --he | --h)
3877    # Conflict between --help and --header
3878    as_fn_error $? "ambiguous option: \`$1'
3879Try \`$0 --help' for more information.";;
3880  --help | --hel | -h )
3881    $as_echo "$ac_cs_usage"; exit ;;
3882  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3883  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3884    ac_cs_silent=: ;;
3885
3886  # This is an error.
3887  -*) as_fn_error $? "unrecognized option: \`$1'
3888Try \`$0 --help' for more information." ;;
3889
3890  *) as_fn_append ac_config_targets " $1"
3891     ac_need_defaults=false ;;
3892
3893  esac
3894  shift
3895done
3896
3897ac_configure_extra_args=
3898
3899if $ac_cs_silent; then
3900  exec 6>/dev/null
3901  ac_configure_extra_args="$ac_configure_extra_args --silent"
3902fi
3903
3904_ACEOF
3905cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3906if \$ac_cs_recheck; then
3907  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3908  shift
3909  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3910  CONFIG_SHELL='$SHELL'
3911  export CONFIG_SHELL
3912  exec "\$@"
3913fi
3914
3915_ACEOF
3916cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3917exec 5>>config.log
3918{
3919  echo
3920  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3921## Running $as_me. ##
3922_ASBOX
3923  $as_echo "$ac_log"
3924} >&5
3925
3926_ACEOF
3927cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3928_ACEOF
3929
3930cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3931
3932# Handling of arguments.
3933for ac_config_target in $ac_config_targets
3934do
3935  case $ac_config_target in
3936    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3937    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3938    "email2trac.py") CONFIG_FILES="$CONFIG_FILES email2trac.py" ;;
3939    "delete_spam.py") CONFIG_FILES="$CONFIG_FILES delete_spam.py" ;;
3940
3941  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
3942  esac
3943done
3944
3945
3946# If the user did not use the arguments to specify the items to instantiate,
3947# then the envvar interface is used.  Set only those that are not.
3948# We use the long form for the default assignment because of an extremely
3949# bizarre bug on SunOS 4.1.3.
3950if $ac_need_defaults; then
3951  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3952  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3953fi
3954
3955# Have a temporary directory for convenience.  Make it in the build tree
3956# simply because there is no reason against having it here, and in addition,
3957# creating and moving files from /tmp can sometimes cause problems.
3958# Hook for its removal unless debugging.
3959# Note that there is a small window in which the directory will not be cleaned:
3960# after its creation but before its name has been assigned to `$tmp'.
3961$debug ||
3962{
3963  tmp=
3964  trap 'exit_status=$?
3965  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3966' 0
3967  trap 'as_fn_exit 1' 1 2 13 15
3968}
3969# Create a (secure) tmp directory for tmp files.
3970
3971{
3972  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3973  test -n "$tmp" && test -d "$tmp"
3974}  ||
3975{
3976  tmp=./conf$$-$RANDOM
3977  (umask 077 && mkdir "$tmp")
3978} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3979
3980# Set up the scripts for CONFIG_FILES section.
3981# No need to generate them if there are no CONFIG_FILES.
3982# This happens for instance with `./config.status config.h'.
3983if test -n "$CONFIG_FILES"; then
3984
3985
3986ac_cr=`echo X | tr X '\015'`
3987# On cygwin, bash can eat \r inside `` if the user requested igncr.
3988# But we know of no other shell where ac_cr would be empty at this
3989# point, so we can use a bashism as a fallback.
3990if test "x$ac_cr" = x; then
3991  eval ac_cr=\$\'\\r\'
3992fi
3993ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3994if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3995  ac_cs_awk_cr='\\r'
3996else
3997  ac_cs_awk_cr=$ac_cr
3998fi
3999
4000echo 'BEGIN {' >"$tmp/subs1.awk" &&
4001_ACEOF
4002
4003
4004{
4005  echo "cat >conf$$subs.awk <<_ACEOF" &&
4006  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4007  echo "_ACEOF"
4008} >conf$$subs.sh ||
4009  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4010ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4011ac_delim='%!_!# '
4012for ac_last_try in false false false false false :; do
4013  . ./conf$$subs.sh ||
4014    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4015
4016  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4017  if test $ac_delim_n = $ac_delim_num; then
4018    break
4019  elif $ac_last_try; then
4020    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4021  else
4022    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4023  fi
4024done
4025rm -f conf$$subs.sh
4026
4027cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4028cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4029_ACEOF
4030sed -n '
4031h
4032s/^/S["/; s/!.*/"]=/
4033p
4034g
4035s/^[^!]*!//
4036:repl
4037t repl
4038s/'"$ac_delim"'$//
4039t delim
4040:nl
4041h
4042s/\(.\{148\}\)..*/\1/
4043t more1
4044s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4045p
4046n
4047b repl
4048:more1
4049s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4050p
4051g
4052s/.\{148\}//
4053t nl
4054:delim
4055h
4056s/\(.\{148\}\)..*/\1/
4057t more2
4058s/["\\]/\\&/g; s/^/"/; s/$/"/
4059p
4060b
4061:more2
4062s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4063p
4064g
4065s/.\{148\}//
4066t delim
4067' <conf$$subs.awk | sed '
4068/^[^""]/{
4069  N
4070  s/\n//
4071}
4072' >>$CONFIG_STATUS || ac_write_fail=1
4073rm -f conf$$subs.awk
4074cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4075_ACAWK
4076cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4077  for (key in S) S_is_set[key] = 1
4078  FS = ""
4079
4080}
4081{
4082  line = $ 0
4083  nfields = split(line, field, "@")
4084  substed = 0
4085  len = length(field[1])
4086  for (i = 2; i < nfields; i++) {
4087    key = field[i]
4088    keylen = length(key)
4089    if (S_is_set[key]) {
4090      value = S[key]
4091      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4092      len += length(value) + length(field[++i])
4093      substed = 1
4094    } else
4095      len += 1 + keylen
4096  }
4097
4098  print line
4099}
4100
4101_ACAWK
4102_ACEOF
4103cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4104if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4105  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4106else
4107  cat
4108fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4109  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4110_ACEOF
4111
4112# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4113# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4114# trailing colons and then remove the whole line if VPATH becomes empty
4115# (actually we leave an empty line to preserve line numbers).
4116if test "x$srcdir" = x.; then
4117  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
4118h
4119s///
4120s/^/:/
4121s/[      ]*$/:/
4122s/:\$(srcdir):/:/g
4123s/:\${srcdir}:/:/g
4124s/:@srcdir@:/:/g
4125s/^:*//
4126s/:*$//
4127x
4128s/\(=[   ]*\).*/\1/
4129G
4130s/\n//
4131s/^[^=]*=[       ]*$//
4132}'
4133fi
4134
4135cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4136fi # test -n "$CONFIG_FILES"
4137
4138# Set up the scripts for CONFIG_HEADERS section.
4139# No need to generate them if there are no CONFIG_HEADERS.
4140# This happens for instance with `./config.status Makefile'.
4141if test -n "$CONFIG_HEADERS"; then
4142cat >"$tmp/defines.awk" <<\_ACAWK ||
4143BEGIN {
4144_ACEOF
4145
4146# Transform confdefs.h into an awk script `defines.awk', embedded as
4147# here-document in config.status, that substitutes the proper values into
4148# config.h.in to produce config.h.
4149
4150# Create a delimiter string that does not exist in confdefs.h, to ease
4151# handling of long lines.
4152ac_delim='%!_!# '
4153for ac_last_try in false false :; do
4154  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4155  if test -z "$ac_t"; then
4156    break
4157  elif $ac_last_try; then
4158    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4159  else
4160    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4161  fi
4162done
4163
4164# For the awk script, D is an array of macro values keyed by name,
4165# likewise P contains macro parameters if any.  Preserve backslash
4166# newline sequences.
4167
4168ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4169sed -n '
4170s/.\{148\}/&'"$ac_delim"'/g
4171t rset
4172:rset
4173s/^[     ]*#[    ]*define[       ][      ]*/ /
4174t def
4175d
4176:def
4177s/\\$//
4178t bsnl
4179s/["\\]/\\&/g
4180s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
4181D["\1"]=" \3"/p
4182s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
4183d
4184:bsnl
4185s/["\\]/\\&/g
4186s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
4187D["\1"]=" \3\\\\\\n"\\/p
4188t cont
4189s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4190t cont
4191d
4192:cont
4193n
4194s/.\{148\}/&'"$ac_delim"'/g
4195t clear
4196:clear
4197s/\\$//
4198t bsnlc
4199s/["\\]/\\&/g; s/^/"/; s/$/"/p
4200d
4201:bsnlc
4202s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4203b cont
4204' <confdefs.h | sed '
4205s/'"$ac_delim"'/"\\\
4206"/g' >>$CONFIG_STATUS || ac_write_fail=1
4207
4208cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4209  for (key in D) D_is_set[key] = 1
4210  FS = ""
4211}
4212/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4213  line = \$ 0
4214  split(line, arg, " ")
4215  if (arg[1] == "#") {
4216    defundef = arg[2]
4217    mac1 = arg[3]
4218  } else {
4219    defundef = substr(arg[1], 2)
4220    mac1 = arg[2]
4221  }
4222  split(mac1, mac2, "(") #)
4223  macro = mac2[1]
4224  prefix = substr(line, 1, index(line, defundef) - 1)
4225  if (D_is_set[macro]) {
4226    # Preserve the white space surrounding the "#".
4227    print prefix "define", macro P[macro] D[macro]
4228    next
4229  } else {
4230    # Replace #undef with comments.  This is necessary, for example,
4231    # in the case of _POSIX_SOURCE, which is predefined and required
4232    # on some systems where configure will not decide to define it.
4233    if (defundef == "undef") {
4234      print "/*", prefix defundef, macro, "*/"
4235      next
4236    }
4237  }
4238}
4239{ print }
4240_ACAWK
4241_ACEOF
4242cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4243  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4244fi # test -n "$CONFIG_HEADERS"
4245
4246
4247eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
4248shift
4249for ac_tag
4250do
4251  case $ac_tag in
4252  :[FHLC]) ac_mode=$ac_tag; continue;;
4253  esac
4254  case $ac_mode$ac_tag in
4255  :[FHL]*:*);;
4256  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
4257  :[FH]-) ac_tag=-:-;;
4258  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4259  esac
4260  ac_save_IFS=$IFS
4261  IFS=:
4262  set x $ac_tag
4263  IFS=$ac_save_IFS
4264  shift
4265  ac_file=$1
4266  shift
4267
4268  case $ac_mode in
4269  :L) ac_source=$1;;
4270  :[FH])
4271    ac_file_inputs=
4272    for ac_f
4273    do
4274      case $ac_f in
4275      -) ac_f="$tmp/stdin";;
4276      *) # Look for the file first in the build tree, then in the source tree
4277         # (if the path is not absolute).  The absolute path cannot be DOS-style,
4278         # because $ac_f cannot contain `:'.
4279         test -f "$ac_f" ||
4280           case $ac_f in
4281           [\\/$]*) false;;
4282           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4283           esac ||
4284           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
4285      esac
4286      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4287      as_fn_append ac_file_inputs " '$ac_f'"
4288    done
4289
4290    # Let's still pretend it is `configure' which instantiates (i.e., don't
4291    # use $as_me), people would be surprised to read:
4292    #    /* config.h.  Generated by config.status.  */
4293    configure_input='Generated from '`
4294          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4295        `' by configure.'
4296    if test x"$ac_file" != x-; then
4297      configure_input="$ac_file.  $configure_input"
4298      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4299$as_echo "$as_me: creating $ac_file" >&6;}
4300    fi
4301    # Neutralize special characters interpreted by sed in replacement strings.
4302    case $configure_input in #(
4303    *\&* | *\|* | *\\* )
4304       ac_sed_conf_input=`$as_echo "$configure_input" |
4305       sed 's/[\\\\&|]/\\\\&/g'`;; #(
4306    *) ac_sed_conf_input=$configure_input;;
4307    esac
4308
4309    case $ac_tag in
4310    *:-:* | *:-) cat >"$tmp/stdin" \
4311      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
4312    esac
4313    ;;
4314  esac
4315
4316  ac_dir=`$as_dirname -- "$ac_file" ||
4317$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4318         X"$ac_file" : 'X\(//\)[^/]' \| \
4319         X"$ac_file" : 'X\(//\)$' \| \
4320         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4321$as_echo X"$ac_file" |
4322    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4323            s//\1/
4324            q
4325          }
4326          /^X\(\/\/\)[^/].*/{
4327            s//\1/
4328            q
4329          }
4330          /^X\(\/\/\)$/{
4331            s//\1/
4332            q
4333          }
4334          /^X\(\/\).*/{
4335            s//\1/
4336            q
4337          }
4338          s/.*/./; q'`
4339  as_dir="$ac_dir"; as_fn_mkdir_p
4340  ac_builddir=.
4341
4342case "$ac_dir" in
4343.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4344*)
4345  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4346  # A ".." for each directory in $ac_dir_suffix.
4347  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4348  case $ac_top_builddir_sub in
4349  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4350  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4351  esac ;;
4352esac
4353ac_abs_top_builddir=$ac_pwd
4354ac_abs_builddir=$ac_pwd$ac_dir_suffix
4355# for backward compatibility:
4356ac_top_builddir=$ac_top_build_prefix
4357
4358case $srcdir in
4359  .)  # We are building in place.
4360    ac_srcdir=.
4361    ac_top_srcdir=$ac_top_builddir_sub
4362    ac_abs_top_srcdir=$ac_pwd ;;
4363  [\\/]* | ?:[\\/]* )  # Absolute name.
4364    ac_srcdir=$srcdir$ac_dir_suffix;
4365    ac_top_srcdir=$srcdir
4366    ac_abs_top_srcdir=$srcdir ;;
4367  *) # Relative name.
4368    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4369    ac_top_srcdir=$ac_top_build_prefix$srcdir
4370    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4371esac
4372ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4373
4374
4375  case $ac_mode in
4376  :F)
4377  #
4378  # CONFIG_FILE
4379  #
4380
4381_ACEOF
4382
4383cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4384# If the template does not know about datarootdir, expand it.
4385# FIXME: This hack should be removed a few years after 2.60.
4386ac_datarootdir_hack=; ac_datarootdir_seen=
4387ac_sed_dataroot='
4388/datarootdir/ {
4389  p
4390  q
4391}
4392/@datadir@/p
4393/@docdir@/p
4394/@infodir@/p
4395/@localedir@/p
4396/@mandir@/p'
4397case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4398*datarootdir*) ac_datarootdir_seen=yes;;
4399*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4400  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4401$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4402_ACEOF
4403cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4404  ac_datarootdir_hack='
4405  s&@datadir@&$datadir&g
4406  s&@docdir@&$docdir&g
4407  s&@infodir@&$infodir&g
4408  s&@localedir@&$localedir&g
4409  s&@mandir@&$mandir&g
4410  s&\\\${datarootdir}&$datarootdir&g' ;;
4411esac
4412_ACEOF
4413
4414# Neutralize VPATH when `$srcdir' = `.'.
4415# Shell code in configure.ac might set extrasub.
4416# FIXME: do we really want to maintain this feature?
4417cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4418ac_sed_extra="$ac_vpsub
4419$extrasub
4420_ACEOF
4421cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4422:t
4423/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4424s|@configure_input@|$ac_sed_conf_input|;t t
4425s&@top_builddir@&$ac_top_builddir_sub&;t t
4426s&@top_build_prefix@&$ac_top_build_prefix&;t t
4427s&@srcdir@&$ac_srcdir&;t t
4428s&@abs_srcdir@&$ac_abs_srcdir&;t t
4429s&@top_srcdir@&$ac_top_srcdir&;t t
4430s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4431s&@builddir@&$ac_builddir&;t t
4432s&@abs_builddir@&$ac_abs_builddir&;t t
4433s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4434$ac_datarootdir_hack
4435"
4436eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4437  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4438
4439test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4440  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4441  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4442  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4443which seems to be undefined.  Please make sure it is defined" >&5
4444$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4445which seems to be undefined.  Please make sure it is defined" >&2;}
4446
4447  rm -f "$tmp/stdin"
4448  case $ac_file in
4449  -) cat "$tmp/out" && rm -f "$tmp/out";;
4450  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4451  esac \
4452  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4453 ;;
4454  :H)
4455  #
4456  # CONFIG_HEADER
4457  #
4458  if test x"$ac_file" != x-; then
4459    {
4460      $as_echo "/* $configure_input  */" \
4461      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4462    } >"$tmp/config.h" \
4463      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4464    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
4465      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4466$as_echo "$as_me: $ac_file is unchanged" >&6;}
4467    else
4468      rm -f "$ac_file"
4469      mv "$tmp/config.h" "$ac_file" \
4470        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4471    fi
4472  else
4473    $as_echo "/* $configure_input  */" \
4474      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
4475      || as_fn_error $? "could not create -" "$LINENO" 5
4476  fi
4477# Compute "$ac_file"'s index in $config_headers.
4478_am_stamp_count=1
4479for _am_header in $config_headers :; do
4480  case $_am_header in
4481    "$ac_file" | "$ac_file":* )
4482      break ;;
4483    * )
4484      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4485  esac
4486done
4487echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
4488$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4489         X"$ac_file" : 'X\(//\)[^/]' \| \
4490         X"$ac_file" : 'X\(//\)$' \| \
4491         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4492$as_echo X"$ac_file" |
4493    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4494            s//\1/
4495            q
4496          }
4497          /^X\(\/\/\)[^/].*/{
4498            s//\1/
4499            q
4500          }
4501          /^X\(\/\/\)$/{
4502            s//\1/
4503            q
4504          }
4505          /^X\(\/\).*/{
4506            s//\1/
4507            q
4508          }
4509          s/.*/./; q'`/stamp-h$_am_stamp_count
4510 ;;
4511
4512
4513  esac
4514
4515done # for ac_tag
4516
4517
4518as_fn_exit 0
4519_ACEOF
4520ac_clean_files=$ac_clean_files_save
4521
4522test $ac_write_fail = 0 ||
4523  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4524
4525
4526# configure is writing to config.log, and then calls config.status.
4527# config.status does its own redirection, appending to config.log.
4528# Unfortunately, on DOS this fails, as config.log is still kept open
4529# by configure, so config.status won't be able to write to it; its
4530# output is simply discarded.  So we exec the FD to /dev/null,
4531# effectively closing config.log, so it can be properly (re)opened and
4532# appended to by config.status.  When coming back to configure, we
4533# need to make the FD available again.
4534if test "$no_create" != yes; then
4535  ac_cs_success=:
4536  ac_config_status_args=
4537  test "$silent" = yes &&
4538    ac_config_status_args="$ac_config_status_args --quiet"
4539  exec 5>/dev/null
4540  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4541  exec 5>>config.log
4542  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4543  # would make configure fail if this is the last instruction.
4544  $ac_cs_success || as_fn_exit 1
4545fi
4546if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4547  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4548$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4549fi
4550
Note: See TracBrowser for help on using the repository browser.