root/main/trunk/gs2-core/configure @ 21677

Revision 21624, 133.2 KB (checked in by mdewsnip, 10 years ago)

Added code to set the --bindir option when configuring subdirectories, so the binaries (eg. sqlite3) are put in the right place.

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