source: trunk/configure

Last change on this file was 621, checked in by bas, 11 years ago

added support for trac installations in a virtual environment, eg:

  • configure --virtualenv=/data/virtualenvs/trac
  • set/override it with email2trac --virtualenv=/data/virtualenv/trac_1.2

Updated release version to 2.7

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