source: trunk/configure @ 261

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

configure.in:

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