source: trunk/configure @ 382

Last change on this file since 382 was 332, checked in by bas, 14 years ago

Added a new configure option --with-install_user

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