source: trunk/configure @ 325

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

configure, Makefile.in, configure.in:

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