source: main/trunk/gs2-core/configure@ 21583

Last change on this file since 21583 was 21534, checked in by mdewsnip, 14 years ago

Added --disable-lucene option to configure scripts, and make Lucene enabled by default. ENABLE_LUCENE is defined for use in the C++ code and Makefiles.

  • Property svn:executable set to *
File size: 132.9 KB
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 <[email protected]>.
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='[email protected]'
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 <[email protected]>.
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# Configure the common-src subdirectory
2726if test -d "$srcdir/common-src"; then
2727
2728
2729subdirs="$subdirs common-src"
2730
2731fi
2732
2733# Configure the runtime-src subdirectory
2734if test -d "$srcdir/runtime-src"; then
2735
2736
2737subdirs="$subdirs runtime-src"
2738
2739fi
2740
2741# Generate the Makefiles for this package
2742 ac_config_files="$ac_config_files Makefile"
2743cat >confcache <<\_ACEOF
2744# This file is a shell script that caches the results of configure
2745# tests run on this system so they can be shared between configure
2746# scripts and configure runs, see configure's option --config-cache.
2747# It is not useful on other systems. If it contains results you don't
2748# want to keep, you may remove or edit it.
2749#
2750# config.status only pays attention to the cache file if you give it
2751# the --recheck option to rerun configure.
2752#
2753# `ac_cv_env_foo' variables (set or unset) will be overridden when
2754# loading this file, other *unset* `ac_cv_foo' will be assigned the
2755# following values.
2756
2757_ACEOF
2758
2759# The following way of writing the cache mishandles newlines in values,
2760# but we know of no workaround that is simple, portable, and efficient.
2761# So, don't put newlines in cache variables' values.
2762# Ultrix sh set writes to stderr and can't be redirected directly,
2763# and sets the high bit in the cache file unless we assign to the vars.
2764{
2765 (set) 2>&1 |
2766 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2767 *ac_space=\ *)
2768 # `set' does not quote correctly, so add quotes (double-quote
2769 # substitution turns \\\\ into \\, and sed turns \\ into \).
2770 sed -n \
2771 "s/'/'\\\\''/g;
2772 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2773 ;;
2774 *)
2775 # `set' quotes correctly as required by POSIX, so do not add quotes.
2776 sed -n \
2777 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2778 ;;
2779 esac;
2780} |
2781 sed '
2782 t clear
2783 : clear
2784 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2785 t end
2786 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2787 : end' >>confcache
2788if diff $cache_file confcache >/dev/null 2>&1; then :; else
2789 if test -w $cache_file; then
2790 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2791 cat confcache >$cache_file
2792 else
2793 echo "not updating unwritable cache $cache_file"
2794 fi
2795fi
2796rm -f confcache
2797
2798test "x$prefix" = xNONE && prefix=$ac_default_prefix
2799# Let make expand exec_prefix.
2800test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2801
2802# VPATH may cause trouble with some makes, so we remove $(srcdir),
2803# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2804# trailing colons and then remove the whole line if VPATH becomes empty
2805# (actually we leave an empty line to preserve line numbers).
2806if test "x$srcdir" = x.; then
2807 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2808s/:*\$(srcdir):*/:/;
2809s/:*\${srcdir}:*/:/;
2810s/:*@srcdir@:*/:/;
2811s/^\([^=]*=[ ]*\):*/\1/;
2812s/:*$//;
2813s/^[^=]*=[ ]*$//;
2814}'
2815fi
2816
2817DEFS=-DHAVE_CONFIG_H
2818
2819ac_libobjs=
2820ac_ltlibobjs=
2821for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2822 # 1. Remove the extension, and $U if already installed.
2823 ac_i=`echo "$ac_i" |
2824 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2825 # 2. Add them.
2826 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2827 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2828done
2829LIBOBJS=$ac_libobjs
2830
2831LTLIBOBJS=$ac_ltlibobjs
2832
2833
2834if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2835 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2836Usually this means the macro was only invoked conditionally." >&5
2837echo "$as_me: error: conditional \"AMDEP\" was never defined.
2838Usually this means the macro was only invoked conditionally." >&2;}
2839 { (exit 1); exit 1; }; }
2840fi
2841if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
2842 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
2843Usually this means the macro was only invoked conditionally." >&5
2844echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
2845Usually this means the macro was only invoked conditionally." >&2;}
2846 { (exit 1); exit 1; }; }
2847fi
2848if test -z "${ENABLE_LUCENE_TRUE}" && test -z "${ENABLE_LUCENE_FALSE}"; then
2849 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_LUCENE\" was never defined.
2850Usually this means the macro was only invoked conditionally." >&5
2851echo "$as_me: error: conditional \"ENABLE_LUCENE\" was never defined.
2852Usually this means the macro was only invoked conditionally." >&2;}
2853 { (exit 1); exit 1; }; }
2854fi
2855if test -z "${USE_SQLITE_TRUE}" && test -z "${USE_SQLITE_FALSE}"; then
2856 { { echo "$as_me:$LINENO: error: conditional \"USE_SQLITE\" was never defined.
2857Usually this means the macro was only invoked conditionally." >&5
2858echo "$as_me: error: conditional \"USE_SQLITE\" was never defined.
2859Usually this means the macro was only invoked conditionally." >&2;}
2860 { (exit 1); exit 1; }; }
2861fi
2862
2863: ${CONFIG_STATUS=./config.status}
2864ac_clean_files_save=$ac_clean_files
2865ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2866{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2867echo "$as_me: creating $CONFIG_STATUS" >&6;}
2868cat >$CONFIG_STATUS <<_ACEOF
2869#! $SHELL
2870# Generated by $as_me.
2871# Run this file to recreate the current configuration.
2872# Compiler output produced by configure, useful for debugging
2873# configure, is in config.log if it exists.
2874
2875debug=false
2876ac_cs_recheck=false
2877ac_cs_silent=false
2878SHELL=\${CONFIG_SHELL-$SHELL}
2879_ACEOF
2880
2881cat >>$CONFIG_STATUS <<\_ACEOF
2882## --------------------- ##
2883## M4sh Initialization. ##
2884## --------------------- ##
2885
2886# Be Bourne compatible
2887if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2888 emulate sh
2889 NULLCMD=:
2890 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2891 # is contrary to our usage. Disable this feature.
2892 alias -g '${1+"$@"}'='"$@"'
2893elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2894 set -o posix
2895fi
2896DUALCASE=1; export DUALCASE # for MKS sh
2897
2898# Support unset when possible.
2899if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2900 as_unset=unset
2901else
2902 as_unset=false
2903fi
2904
2905
2906# Work around bugs in pre-3.0 UWIN ksh.
2907$as_unset ENV MAIL MAILPATH
2908PS1='$ '
2909PS2='> '
2910PS4='+ '
2911
2912# NLS nuisances.
2913for as_var in \
2914 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2915 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2916 LC_TELEPHONE LC_TIME
2917do
2918 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2919 eval $as_var=C; export $as_var
2920 else
2921 $as_unset $as_var
2922 fi
2923done
2924
2925# Required to use basename.
2926if expr a : '\(a\)' >/dev/null 2>&1; then
2927 as_expr=expr
2928else
2929 as_expr=false
2930fi
2931
2932if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2933 as_basename=basename
2934else
2935 as_basename=false
2936fi
2937
2938
2939# Name of the executable.
2940as_me=`$as_basename "$0" ||
2941$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2942 X"$0" : 'X\(//\)$' \| \
2943 X"$0" : 'X\(/\)$' \| \
2944 . : '\(.\)' 2>/dev/null ||
2945echo X/"$0" |
2946 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2947 /^X\/\(\/\/\)$/{ s//\1/; q; }
2948 /^X\/\(\/\).*/{ s//\1/; q; }
2949 s/.*/./; q'`
2950
2951
2952# PATH needs CR, and LINENO needs CR and PATH.
2953# Avoid depending upon Character Ranges.
2954as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2955as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2956as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2957as_cr_digits='0123456789'
2958as_cr_alnum=$as_cr_Letters$as_cr_digits
2959
2960# The user is always right.
2961if test "${PATH_SEPARATOR+set}" != set; then
2962 echo "#! /bin/sh" >conf$$.sh
2963 echo "exit 0" >>conf$$.sh
2964 chmod +x conf$$.sh
2965 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2966 PATH_SEPARATOR=';'
2967 else
2968 PATH_SEPARATOR=:
2969 fi
2970 rm -f conf$$.sh
2971fi
2972
2973
2974 as_lineno_1=$LINENO
2975 as_lineno_2=$LINENO
2976 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2977 test "x$as_lineno_1" != "x$as_lineno_2" &&
2978 test "x$as_lineno_3" = "x$as_lineno_2" || {
2979 # Find who we are. Look in the path if we contain no path at all
2980 # relative or not.
2981 case $0 in
2982 *[\\/]* ) as_myself=$0 ;;
2983 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984for as_dir in $PATH
2985do
2986 IFS=$as_save_IFS
2987 test -z "$as_dir" && as_dir=.
2988 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2989done
2990
2991 ;;
2992 esac
2993 # We did not find ourselves, most probably we were run as `sh COMMAND'
2994 # in which case we are not to be found in the path.
2995 if test "x$as_myself" = x; then
2996 as_myself=$0
2997 fi
2998 if test ! -f "$as_myself"; then
2999 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3000echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3001 { (exit 1); exit 1; }; }
3002 fi
3003 case $CONFIG_SHELL in
3004 '')
3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3006for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3007do
3008 IFS=$as_save_IFS
3009 test -z "$as_dir" && as_dir=.
3010 for as_base in sh bash ksh sh5; do
3011 case $as_dir in
3012 /*)
3013 if ("$as_dir/$as_base" -c '
3014 as_lineno_1=$LINENO
3015 as_lineno_2=$LINENO
3016 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3017 test "x$as_lineno_1" != "x$as_lineno_2" &&
3018 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3019 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3020 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3021 CONFIG_SHELL=$as_dir/$as_base
3022 export CONFIG_SHELL
3023 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3024 fi;;
3025 esac
3026 done
3027done
3028;;
3029 esac
3030
3031 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3032 # uniformly replaced by the line number. The first 'sed' inserts a
3033 # line-number line before each line; the second 'sed' does the real
3034 # work. The second script uses 'N' to pair each line-number line
3035 # with the numbered line, and appends trailing '-' during
3036 # substitution so that $LINENO is not a special case at line end.
3037 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3038 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3039 sed '=' <$as_myself |
3040 sed '
3041 N
3042 s,$,-,
3043 : loop
3044 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3045 t loop
3046 s,-$,,
3047 s,^['$as_cr_digits']*\n,,
3048 ' >$as_me.lineno &&
3049 chmod +x $as_me.lineno ||
3050 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3051echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3052 { (exit 1); exit 1; }; }
3053
3054 # Don't try to exec as it changes $[0], causing all sort of problems
3055 # (the dirname of $[0] is not the place where we might find the
3056 # original and so on. Autoconf is especially sensible to this).
3057 . ./$as_me.lineno
3058 # Exit status is that of the last command.
3059 exit
3060}
3061
3062
3063case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3064 *c*,-n*) ECHO_N= ECHO_C='
3065' ECHO_T=' ' ;;
3066 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3067 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3068esac
3069
3070if expr a : '\(a\)' >/dev/null 2>&1; then
3071 as_expr=expr
3072else
3073 as_expr=false
3074fi
3075
3076rm -f conf$$ conf$$.exe conf$$.file
3077echo >conf$$.file
3078if ln -s conf$$.file conf$$ 2>/dev/null; then
3079 # We could just check for DJGPP; but this test a) works b) is more generic
3080 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3081 if test -f conf$$.exe; then
3082 # Don't use ln at all; we don't have any links
3083 as_ln_s='cp -p'
3084 else
3085 as_ln_s='ln -s'
3086 fi
3087elif ln conf$$.file conf$$ 2>/dev/null; then
3088 as_ln_s=ln
3089else
3090 as_ln_s='cp -p'
3091fi
3092rm -f conf$$ conf$$.exe conf$$.file
3093
3094if mkdir -p . 2>/dev/null; then
3095 as_mkdir_p=:
3096else
3097 test -d ./-p && rmdir ./-p
3098 as_mkdir_p=false
3099fi
3100
3101as_executable_p="test -f"
3102
3103# Sed expression to map a string onto a valid CPP name.
3104as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3105
3106# Sed expression to map a string onto a valid variable name.
3107as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3108
3109
3110# IFS
3111# We need space, tab and new line, in precisely that order.
3112as_nl='
3113'
3114IFS=" $as_nl"
3115
3116# CDPATH.
3117$as_unset CDPATH
3118
3119exec 6>&1
3120
3121# Open the log real soon, to keep \$[0] and so on meaningful, and to
3122# report actual input values of CONFIG_FILES etc. instead of their
3123# values after options handling. Logging --version etc. is OK.
3124exec 5>>config.log
3125{
3126 echo
3127 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3128## Running $as_me. ##
3129_ASBOX
3130} >&5
3131cat >&5 <<_CSEOF
3132
3133This file was extended by greenstone2 $as_me 2.84-svn, which was
3134generated by GNU Autoconf 2.59. Invocation command line was
3135
3136 CONFIG_FILES = $CONFIG_FILES
3137 CONFIG_HEADERS = $CONFIG_HEADERS
3138 CONFIG_LINKS = $CONFIG_LINKS
3139 CONFIG_COMMANDS = $CONFIG_COMMANDS
3140 $ $0 $@
3141
3142_CSEOF
3143echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3144echo >&5
3145_ACEOF
3146
3147# Files that config.status was made for.
3148if test -n "$ac_config_files"; then
3149 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3150fi
3151
3152if test -n "$ac_config_headers"; then
3153 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3154fi
3155
3156if test -n "$ac_config_links"; then
3157 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3158fi
3159
3160if test -n "$ac_config_commands"; then
3161 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3162fi
3163
3164cat >>$CONFIG_STATUS <<\_ACEOF
3165
3166ac_cs_usage="\
3167\`$as_me' instantiates files from templates according to the
3168current configuration.
3169
3170Usage: $0 [OPTIONS] [FILE]...
3171
3172 -h, --help print this help, then exit
3173 -V, --version print version number, then exit
3174 -q, --quiet do not print progress messages
3175 -d, --debug don't remove temporary files
3176 --recheck update $as_me by reconfiguring in the same conditions
3177 --file=FILE[:TEMPLATE]
3178 instantiate the configuration file FILE
3179 --header=FILE[:TEMPLATE]
3180 instantiate the configuration header FILE
3181
3182Configuration files:
3183$config_files
3184
3185Configuration headers:
3186$config_headers
3187
3188Configuration commands:
3189$config_commands
3190
3191Report bugs to <[email protected]>."
3192_ACEOF
3193
3194cat >>$CONFIG_STATUS <<_ACEOF
3195ac_cs_version="\\
3196greenstone2 config.status 2.84-svn
3197configured by $0, generated by GNU Autoconf 2.59,
3198 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3199
3200Copyright (C) 2003 Free Software Foundation, Inc.
3201This config.status script is free software; the Free Software Foundation
3202gives unlimited permission to copy, distribute and modify it."
3203srcdir=$srcdir
3204INSTALL="$INSTALL"
3205_ACEOF
3206
3207cat >>$CONFIG_STATUS <<\_ACEOF
3208# If no file are specified by the user, then we need to provide default
3209# value. By we need to know if files were specified by the user.
3210ac_need_defaults=:
3211while test $# != 0
3212do
3213 case $1 in
3214 --*=*)
3215 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3216 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3217 ac_shift=:
3218 ;;
3219 -*)
3220 ac_option=$1
3221 ac_optarg=$2
3222 ac_shift=shift
3223 ;;
3224 *) # This is not an option, so the user has probably given explicit
3225 # arguments.
3226 ac_option=$1
3227 ac_need_defaults=false;;
3228 esac
3229
3230 case $ac_option in
3231 # Handling of the options.
3232_ACEOF
3233cat >>$CONFIG_STATUS <<\_ACEOF
3234 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3235 ac_cs_recheck=: ;;
3236 --version | --vers* | -V )
3237 echo "$ac_cs_version"; exit 0 ;;
3238 --he | --h)
3239 # Conflict between --help and --header
3240 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3241Try \`$0 --help' for more information." >&5
3242echo "$as_me: error: ambiguous option: $1
3243Try \`$0 --help' for more information." >&2;}
3244 { (exit 1); exit 1; }; };;
3245 --help | --hel | -h )
3246 echo "$ac_cs_usage"; exit 0 ;;
3247 --debug | --d* | -d )
3248 debug=: ;;
3249 --file | --fil | --fi | --f )
3250 $ac_shift
3251 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3252 ac_need_defaults=false;;
3253 --header | --heade | --head | --hea )
3254 $ac_shift
3255 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3256 ac_need_defaults=false;;
3257 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3258 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3259 ac_cs_silent=: ;;
3260
3261 # This is an error.
3262 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3263Try \`$0 --help' for more information." >&5
3264echo "$as_me: error: unrecognized option: $1
3265Try \`$0 --help' for more information." >&2;}
3266 { (exit 1); exit 1; }; } ;;
3267
3268 *) ac_config_targets="$ac_config_targets $1" ;;
3269
3270 esac
3271 shift
3272done
3273
3274ac_configure_extra_args=
3275
3276if $ac_cs_silent; then
3277 exec 6>/dev/null
3278 ac_configure_extra_args="$ac_configure_extra_args --silent"
3279fi
3280
3281_ACEOF
3282cat >>$CONFIG_STATUS <<_ACEOF
3283if \$ac_cs_recheck; then
3284 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3285 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3286fi
3287
3288_ACEOF
3289
3290cat >>$CONFIG_STATUS <<_ACEOF
3291#
3292# INIT-COMMANDS section.
3293#
3294
3295AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3296
3297_ACEOF
3298
3299
3300
3301cat >>$CONFIG_STATUS <<\_ACEOF
3302for ac_config_target in $ac_config_targets
3303do
3304 case "$ac_config_target" in
3305 # Handling of arguments.
3306 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3307 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3308 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3309 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3310echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3311 { (exit 1); exit 1; }; };;
3312 esac
3313done
3314
3315# If the user did not use the arguments to specify the items to instantiate,
3316# then the envvar interface is used. Set only those that are not.
3317# We use the long form for the default assignment because of an extremely
3318# bizarre bug on SunOS 4.1.3.
3319if $ac_need_defaults; then
3320 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3321 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3322 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3323fi
3324
3325# Have a temporary directory for convenience. Make it in the build tree
3326# simply because there is no reason to put it here, and in addition,
3327# creating and moving files from /tmp can sometimes cause problems.
3328# Create a temporary directory, and hook for its removal unless debugging.
3329$debug ||
3330{
3331 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3332 trap '{ (exit 1); exit 1; }' 1 2 13 15
3333}
3334
3335# Create a (secure) tmp directory for tmp files.
3336
3337{
3338 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3339 test -n "$tmp" && test -d "$tmp"
3340} ||
3341{
3342 tmp=./confstat$$-$RANDOM
3343 (umask 077 && mkdir $tmp)
3344} ||
3345{
3346 echo "$me: cannot create a temporary directory in ." >&2
3347 { (exit 1); exit 1; }
3348}
3349
3350_ACEOF
3351
3352cat >>$CONFIG_STATUS <<_ACEOF
3353
3354#
3355# CONFIG_FILES section.
3356#
3357
3358# No need to generate the scripts if there are no CONFIG_FILES.
3359# This happens for instance when ./config.status config.h
3360if test -n "\$CONFIG_FILES"; then
3361 # Protect against being on the right side of a sed subst in config.status.
3362 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3363 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3364s,@SHELL@,$SHELL,;t t
3365s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3366s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3367s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3368s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3369s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3370s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3371s,@exec_prefix@,$exec_prefix,;t t
3372s,@prefix@,$prefix,;t t
3373s,@program_transform_name@,$program_transform_name,;t t
3374s,@bindir@,$bindir,;t t
3375s,@sbindir@,$sbindir,;t t
3376s,@libexecdir@,$libexecdir,;t t
3377s,@datadir@,$datadir,;t t
3378s,@sysconfdir@,$sysconfdir,;t t
3379s,@sharedstatedir@,$sharedstatedir,;t t
3380s,@localstatedir@,$localstatedir,;t t
3381s,@libdir@,$libdir,;t t
3382s,@includedir@,$includedir,;t t
3383s,@oldincludedir@,$oldincludedir,;t t
3384s,@infodir@,$infodir,;t t
3385s,@mandir@,$mandir,;t t
3386s,@build_alias@,$build_alias,;t t
3387s,@host_alias@,$host_alias,;t t
3388s,@target_alias@,$target_alias,;t t
3389s,@DEFS@,$DEFS,;t t
3390s,@ECHO_C@,$ECHO_C,;t t
3391s,@ECHO_N@,$ECHO_N,;t t
3392s,@ECHO_T@,$ECHO_T,;t t
3393s,@LIBS@,$LIBS,;t t
3394s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3395s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3396s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3397s,@CYGPATH_W@,$CYGPATH_W,;t t
3398s,@PACKAGE@,$PACKAGE,;t t
3399s,@VERSION@,$VERSION,;t t
3400s,@ACLOCAL@,$ACLOCAL,;t t
3401s,@AUTOCONF@,$AUTOCONF,;t t
3402s,@AUTOMAKE@,$AUTOMAKE,;t t
3403s,@AUTOHEADER@,$AUTOHEADER,;t t
3404s,@MAKEINFO@,$MAKEINFO,;t t
3405s,@install_sh@,$install_sh,;t t
3406s,@STRIP@,$STRIP,;t t
3407s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3408s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3409s,@mkdir_p@,$mkdir_p,;t t
3410s,@AWK@,$AWK,;t t
3411s,@SET_MAKE@,$SET_MAKE,;t t
3412s,@am__leading_dot@,$am__leading_dot,;t t
3413s,@AMTAR@,$AMTAR,;t t
3414s,@am__tar@,$am__tar,;t t
3415s,@am__untar@,$am__untar,;t t
3416s,@CXX@,$CXX,;t t
3417s,@CXXFLAGS@,$CXXFLAGS,;t t
3418s,@LDFLAGS@,$LDFLAGS,;t t
3419s,@CPPFLAGS@,$CPPFLAGS,;t t
3420s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3421s,@EXEEXT@,$EXEEXT,;t t
3422s,@OBJEXT@,$OBJEXT,;t t
3423s,@DEPDIR@,$DEPDIR,;t t
3424s,@am__include@,$am__include,;t t
3425s,@am__quote@,$am__quote,;t t
3426s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3427s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3428s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3429s,@CXXDEPMODE@,$CXXDEPMODE,;t t
3430s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
3431s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
3432s,@RANLIB@,$RANLIB,;t t
3433s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
3434s,@build@,$build,;t t
3435s,@build_cpu@,$build_cpu,;t t
3436s,@build_vendor@,$build_vendor,;t t
3437s,@build_os@,$build_os,;t t
3438s,@host@,$host,;t t
3439s,@host_cpu@,$host_cpu,;t t
3440s,@host_vendor@,$host_vendor,;t t
3441s,@host_os@,$host_os,;t t
3442s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
3443s,@ENABLE_LUCENE_TRUE@,$ENABLE_LUCENE_TRUE,;t t
3444s,@ENABLE_LUCENE_FALSE@,$ENABLE_LUCENE_FALSE,;t t
3445s,@USE_SQLITE_TRUE@,$USE_SQLITE_TRUE,;t t
3446s,@USE_SQLITE_FALSE@,$USE_SQLITE_FALSE,;t t
3447s,@subdirs@,$subdirs,;t t
3448s,@LIBOBJS@,$LIBOBJS,;t t
3449s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3450CEOF
3451
3452_ACEOF
3453
3454 cat >>$CONFIG_STATUS <<\_ACEOF
3455 # Split the substitutions into bite-sized pieces for seds with
3456 # small command number limits, like on Digital OSF/1 and HP-UX.
3457 ac_max_sed_lines=48
3458 ac_sed_frag=1 # Number of current file.
3459 ac_beg=1 # First line for current file.
3460 ac_end=$ac_max_sed_lines # Line after last line for current file.
3461 ac_more_lines=:
3462 ac_sed_cmds=
3463 while $ac_more_lines; do
3464 if test $ac_beg -gt 1; then
3465 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3466 else
3467 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3468 fi
3469 if test ! -s $tmp/subs.frag; then
3470 ac_more_lines=false
3471 else
3472 # The purpose of the label and of the branching condition is to
3473 # speed up the sed processing (if there are no `@' at all, there
3474 # is no need to browse any of the substitutions).
3475 # These are the two extra sed commands mentioned above.
3476 (echo ':t
3477 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3478 if test -z "$ac_sed_cmds"; then
3479 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3480 else
3481 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3482 fi
3483 ac_sed_frag=`expr $ac_sed_frag + 1`
3484 ac_beg=$ac_end
3485 ac_end=`expr $ac_end + $ac_max_sed_lines`
3486 fi
3487 done
3488 if test -z "$ac_sed_cmds"; then
3489 ac_sed_cmds=cat
3490 fi
3491fi # test -n "$CONFIG_FILES"
3492
3493_ACEOF
3494cat >>$CONFIG_STATUS <<\_ACEOF
3495for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3496 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3497 case $ac_file in
3498 - | *:- | *:-:* ) # input from stdin
3499 cat >$tmp/stdin
3500 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3501 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3502 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3503 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3504 * ) ac_file_in=$ac_file.in ;;
3505 esac
3506
3507 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3508 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3509$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3510 X"$ac_file" : 'X\(//\)[^/]' \| \
3511 X"$ac_file" : 'X\(//\)$' \| \
3512 X"$ac_file" : 'X\(/\)' \| \
3513 . : '\(.\)' 2>/dev/null ||
3514echo X"$ac_file" |
3515 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3516 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3517 /^X\(\/\/\)$/{ s//\1/; q; }
3518 /^X\(\/\).*/{ s//\1/; q; }
3519 s/.*/./; q'`
3520 { if $as_mkdir_p; then
3521 mkdir -p "$ac_dir"
3522 else
3523 as_dir="$ac_dir"
3524 as_dirs=
3525 while test ! -d "$as_dir"; do
3526 as_dirs="$as_dir $as_dirs"
3527 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3528$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3529 X"$as_dir" : 'X\(//\)[^/]' \| \
3530 X"$as_dir" : 'X\(//\)$' \| \
3531 X"$as_dir" : 'X\(/\)' \| \
3532 . : '\(.\)' 2>/dev/null ||
3533echo X"$as_dir" |
3534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3535 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3536 /^X\(\/\/\)$/{ s//\1/; q; }
3537 /^X\(\/\).*/{ s//\1/; q; }
3538 s/.*/./; q'`
3539 done
3540 test ! -n "$as_dirs" || mkdir $as_dirs
3541 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3542echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3543 { (exit 1); exit 1; }; }; }
3544
3545 ac_builddir=.
3546
3547if test "$ac_dir" != .; then
3548 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3549 # A "../" for each directory in $ac_dir_suffix.
3550 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3551else
3552 ac_dir_suffix= ac_top_builddir=
3553fi
3554
3555case $srcdir in
3556 .) # No --srcdir option. We are building in place.
3557 ac_srcdir=.
3558 if test -z "$ac_top_builddir"; then
3559 ac_top_srcdir=.
3560 else
3561 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3562 fi ;;
3563 [\\/]* | ?:[\\/]* ) # Absolute path.
3564 ac_srcdir=$srcdir$ac_dir_suffix;
3565 ac_top_srcdir=$srcdir ;;
3566 *) # Relative path.
3567 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3568 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3569esac
3570
3571# Do not use `cd foo && pwd` to compute absolute paths, because
3572# the directories may not exist.
3573case `pwd` in
3574.) ac_abs_builddir="$ac_dir";;
3575*)
3576 case "$ac_dir" in
3577 .) ac_abs_builddir=`pwd`;;
3578 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3579 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3580 esac;;
3581esac
3582case $ac_abs_builddir in
3583.) ac_abs_top_builddir=${ac_top_builddir}.;;
3584*)
3585 case ${ac_top_builddir}. in
3586 .) ac_abs_top_builddir=$ac_abs_builddir;;
3587 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3588 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3589 esac;;
3590esac
3591case $ac_abs_builddir in
3592.) ac_abs_srcdir=$ac_srcdir;;
3593*)
3594 case $ac_srcdir in
3595 .) ac_abs_srcdir=$ac_abs_builddir;;
3596 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3597 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3598 esac;;
3599esac
3600case $ac_abs_builddir in
3601.) ac_abs_top_srcdir=$ac_top_srcdir;;
3602*)
3603 case $ac_top_srcdir in
3604 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3605 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3606 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3607 esac;;
3608esac
3609
3610
3611 case $INSTALL in
3612 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3613 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3614 esac
3615
3616 if test x"$ac_file" != x-; then
3617 { echo "$as_me:$LINENO: creating $ac_file" >&5
3618echo "$as_me: creating $ac_file" >&6;}
3619 rm -f "$ac_file"
3620 fi
3621 # Let's still pretend it is `configure' which instantiates (i.e., don't
3622 # use $as_me), people would be surprised to read:
3623 # /* config.h. Generated by config.status. */
3624 if test x"$ac_file" = x-; then
3625 configure_input=
3626 else
3627 configure_input="$ac_file. "
3628 fi
3629 configure_input=$configure_input"Generated from `echo $ac_file_in |
3630 sed 's,.*/,,'` by configure."
3631
3632 # First look for the input files in the build tree, otherwise in the
3633 # src tree.
3634 ac_file_inputs=`IFS=:
3635 for f in $ac_file_in; do
3636 case $f in
3637 -) echo $tmp/stdin ;;
3638 [\\/$]*)
3639 # Absolute (can't be DOS-style, as IFS=:)
3640 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3641echo "$as_me: error: cannot find input file: $f" >&2;}
3642 { (exit 1); exit 1; }; }
3643 echo "$f";;
3644 *) # Relative
3645 if test -f "$f"; then
3646 # Build tree
3647 echo "$f"
3648 elif test -f "$srcdir/$f"; then
3649 # Source tree
3650 echo "$srcdir/$f"
3651 else
3652 # /dev/null tree
3653 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3654echo "$as_me: error: cannot find input file: $f" >&2;}
3655 { (exit 1); exit 1; }; }
3656 fi;;
3657 esac
3658 done` || { (exit 1); exit 1; }
3659_ACEOF
3660cat >>$CONFIG_STATUS <<_ACEOF
3661 sed "$ac_vpsub
3662$extrasub
3663_ACEOF
3664cat >>$CONFIG_STATUS <<\_ACEOF
3665:t
3666/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3667s,@configure_input@,$configure_input,;t t
3668s,@srcdir@,$ac_srcdir,;t t
3669s,@abs_srcdir@,$ac_abs_srcdir,;t t
3670s,@top_srcdir@,$ac_top_srcdir,;t t
3671s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3672s,@builddir@,$ac_builddir,;t t
3673s,@abs_builddir@,$ac_abs_builddir,;t t
3674s,@top_builddir@,$ac_top_builddir,;t t
3675s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3676s,@INSTALL@,$ac_INSTALL,;t t
3677" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3678 rm -f $tmp/stdin
3679 if test x"$ac_file" != x-; then
3680 mv $tmp/out $ac_file
3681 else
3682 cat $tmp/out
3683 rm -f $tmp/out
3684 fi
3685
3686done
3687_ACEOF
3688cat >>$CONFIG_STATUS <<\_ACEOF
3689
3690#
3691# CONFIG_HEADER section.
3692#
3693
3694# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3695# NAME is the cpp macro being defined and VALUE is the value it is being given.
3696#
3697# ac_d sets the value in "#define NAME VALUE" lines.
3698ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3699ac_dB='[ ].*$,\1#\2'
3700ac_dC=' '
3701ac_dD=',;t'
3702# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3703ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3704ac_uB='$,\1#\2define\3'
3705ac_uC=' '
3706ac_uD=',;t'
3707
3708for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3709 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3710 case $ac_file in
3711 - | *:- | *:-:* ) # input from stdin
3712 cat >$tmp/stdin
3713 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3714 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3715 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3716 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3717 * ) ac_file_in=$ac_file.in ;;
3718 esac
3719
3720 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3721echo "$as_me: creating $ac_file" >&6;}
3722
3723 # First look for the input files in the build tree, otherwise in the
3724 # src tree.
3725 ac_file_inputs=`IFS=:
3726 for f in $ac_file_in; do
3727 case $f in
3728 -) echo $tmp/stdin ;;
3729 [\\/$]*)
3730 # Absolute (can't be DOS-style, as IFS=:)
3731 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3732echo "$as_me: error: cannot find input file: $f" >&2;}
3733 { (exit 1); exit 1; }; }
3734 # Do quote $f, to prevent DOS paths from being IFS'd.
3735 echo "$f";;
3736 *) # Relative
3737 if test -f "$f"; then
3738 # Build tree
3739 echo "$f"
3740 elif test -f "$srcdir/$f"; then
3741 # Source tree
3742 echo "$srcdir/$f"
3743 else
3744 # /dev/null tree
3745 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3746echo "$as_me: error: cannot find input file: $f" >&2;}
3747 { (exit 1); exit 1; }; }
3748 fi;;
3749 esac
3750 done` || { (exit 1); exit 1; }
3751 # Remove the trailing spaces.
3752 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3753
3754_ACEOF
3755
3756# Transform confdefs.h into two sed scripts, `conftest.defines' and
3757# `conftest.undefs', that substitutes the proper values into
3758# config.h.in to produce config.h. The first handles `#define'
3759# templates, and the second `#undef' templates.
3760# And first: Protect against being on the right side of a sed subst in
3761# config.status. Protect against being in an unquoted here document
3762# in config.status.
3763rm -f conftest.defines conftest.undefs
3764# Using a here document instead of a string reduces the quoting nightmare.
3765# Putting comments in sed scripts is not portable.
3766#
3767# `end' is used to avoid that the second main sed command (meant for
3768# 0-ary CPP macros) applies to n-ary macro definitions.
3769# See the Autoconf documentation for `clear'.
3770cat >confdef2sed.sed <<\_ACEOF
3771s/[\\&,]/\\&/g
3772s,[\\$`],\\&,g
3773t clear
3774: clear
3775s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3776t end
3777s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3778: end
3779_ACEOF
3780# If some macros were called several times there might be several times
3781# the same #defines, which is useless. Nevertheless, we may not want to
3782# sort them, since we want the *last* AC-DEFINE to be honored.
3783uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3784sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3785rm -f confdef2sed.sed
3786
3787# This sed command replaces #undef with comments. This is necessary, for
3788# example, in the case of _POSIX_SOURCE, which is predefined and required
3789# on some systems where configure will not decide to define it.
3790cat >>conftest.undefs <<\_ACEOF
3791s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3792_ACEOF
3793
3794# Break up conftest.defines because some shells have a limit on the size
3795# of here documents, and old seds have small limits too (100 cmds).
3796echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3797echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3798echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3799echo ' :' >>$CONFIG_STATUS
3800rm -f conftest.tail
3801while grep . conftest.defines >/dev/null
3802do
3803 # Write a limited-size here document to $tmp/defines.sed.
3804 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3805 # Speed up: don't consider the non `#define' lines.
3806 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3807 # Work around the forget-to-reset-the-flag bug.
3808 echo 't clr' >>$CONFIG_STATUS
3809 echo ': clr' >>$CONFIG_STATUS
3810 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3811 echo 'CEOF
3812 sed -f $tmp/defines.sed $tmp/in >$tmp/out
3813 rm -f $tmp/in
3814 mv $tmp/out $tmp/in
3815' >>$CONFIG_STATUS
3816 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3817 rm -f conftest.defines
3818 mv conftest.tail conftest.defines
3819done
3820rm -f conftest.defines
3821echo ' fi # grep' >>$CONFIG_STATUS
3822echo >>$CONFIG_STATUS
3823
3824# Break up conftest.undefs because some shells have a limit on the size
3825# of here documents, and old seds have small limits too (100 cmds).
3826echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3827rm -f conftest.tail
3828while grep . conftest.undefs >/dev/null
3829do
3830 # Write a limited-size here document to $tmp/undefs.sed.
3831 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3832 # Speed up: don't consider the non `#undef'
3833 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3834 # Work around the forget-to-reset-the-flag bug.
3835 echo 't clr' >>$CONFIG_STATUS
3836 echo ': clr' >>$CONFIG_STATUS
3837 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3838 echo 'CEOF
3839 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3840 rm -f $tmp/in
3841 mv $tmp/out $tmp/in
3842' >>$CONFIG_STATUS
3843 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3844 rm -f conftest.undefs
3845 mv conftest.tail conftest.undefs
3846done
3847rm -f conftest.undefs
3848
3849cat >>$CONFIG_STATUS <<\_ACEOF
3850 # Let's still pretend it is `configure' which instantiates (i.e., don't
3851 # use $as_me), people would be surprised to read:
3852 # /* config.h. Generated by config.status. */
3853 if test x"$ac_file" = x-; then
3854 echo "/* Generated by configure. */" >$tmp/config.h
3855 else
3856 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
3857 fi
3858 cat $tmp/in >>$tmp/config.h
3859 rm -f $tmp/in
3860 if test x"$ac_file" != x-; then
3861 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
3862 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3863echo "$as_me: $ac_file is unchanged" >&6;}
3864 else
3865 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3866$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3867 X"$ac_file" : 'X\(//\)[^/]' \| \
3868 X"$ac_file" : 'X\(//\)$' \| \
3869 X"$ac_file" : 'X\(/\)' \| \
3870 . : '\(.\)' 2>/dev/null ||
3871echo X"$ac_file" |
3872 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3873 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3874 /^X\(\/\/\)$/{ s//\1/; q; }
3875 /^X\(\/\).*/{ s//\1/; q; }
3876 s/.*/./; q'`
3877 { if $as_mkdir_p; then
3878 mkdir -p "$ac_dir"
3879 else
3880 as_dir="$ac_dir"
3881 as_dirs=
3882 while test ! -d "$as_dir"; do
3883 as_dirs="$as_dir $as_dirs"
3884 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3885$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3886 X"$as_dir" : 'X\(//\)[^/]' \| \
3887 X"$as_dir" : 'X\(//\)$' \| \
3888 X"$as_dir" : 'X\(/\)' \| \
3889 . : '\(.\)' 2>/dev/null ||
3890echo X"$as_dir" |
3891 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3892 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3893 /^X\(\/\/\)$/{ s//\1/; q; }
3894 /^X\(\/\).*/{ s//\1/; q; }
3895 s/.*/./; q'`
3896 done
3897 test ! -n "$as_dirs" || mkdir $as_dirs
3898 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3899echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3900 { (exit 1); exit 1; }; }; }
3901
3902 rm -f $ac_file
3903 mv $tmp/config.h $ac_file
3904 fi
3905 else
3906 cat $tmp/config.h
3907 rm -f $tmp/config.h
3908 fi
3909# Compute $ac_file's index in $config_headers.
3910_am_stamp_count=1
3911for _am_header in $config_headers :; do
3912 case $_am_header in
3913 $ac_file | $ac_file:* )
3914 break ;;
3915 * )
3916 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
3917 esac
3918done
3919echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
3920$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3921 X$ac_file : 'X\(//\)[^/]' \| \
3922 X$ac_file : 'X\(//\)$' \| \
3923 X$ac_file : 'X\(/\)' \| \
3924 . : '\(.\)' 2>/dev/null ||
3925echo X$ac_file |
3926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3927 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3928 /^X\(\/\/\)$/{ s//\1/; q; }
3929 /^X\(\/\).*/{ s//\1/; q; }
3930 s/.*/./; q'`/stamp-h$_am_stamp_count
3931done
3932_ACEOF
3933cat >>$CONFIG_STATUS <<\_ACEOF
3934
3935#
3936# CONFIG_COMMANDS section.
3937#
3938for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3939 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3940 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3941 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3942$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3943 X"$ac_dest" : 'X\(//\)[^/]' \| \
3944 X"$ac_dest" : 'X\(//\)$' \| \
3945 X"$ac_dest" : 'X\(/\)' \| \
3946 . : '\(.\)' 2>/dev/null ||
3947echo X"$ac_dest" |
3948 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3949 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3950 /^X\(\/\/\)$/{ s//\1/; q; }
3951 /^X\(\/\).*/{ s//\1/; q; }
3952 s/.*/./; q'`
3953 { if $as_mkdir_p; then
3954 mkdir -p "$ac_dir"
3955 else
3956 as_dir="$ac_dir"
3957 as_dirs=
3958 while test ! -d "$as_dir"; do
3959 as_dirs="$as_dir $as_dirs"
3960 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3961$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3962 X"$as_dir" : 'X\(//\)[^/]' \| \
3963 X"$as_dir" : 'X\(//\)$' \| \
3964 X"$as_dir" : 'X\(/\)' \| \
3965 . : '\(.\)' 2>/dev/null ||
3966echo X"$as_dir" |
3967 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3968 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3969 /^X\(\/\/\)$/{ s//\1/; q; }
3970 /^X\(\/\).*/{ s//\1/; q; }
3971 s/.*/./; q'`
3972 done
3973 test ! -n "$as_dirs" || mkdir $as_dirs
3974 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3975echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3976 { (exit 1); exit 1; }; }; }
3977
3978 ac_builddir=.
3979
3980if test "$ac_dir" != .; then
3981 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3982 # A "../" for each directory in $ac_dir_suffix.
3983 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3984else
3985 ac_dir_suffix= ac_top_builddir=
3986fi
3987
3988case $srcdir in
3989 .) # No --srcdir option. We are building in place.
3990 ac_srcdir=.
3991 if test -z "$ac_top_builddir"; then
3992 ac_top_srcdir=.
3993 else
3994 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3995 fi ;;
3996 [\\/]* | ?:[\\/]* ) # Absolute path.
3997 ac_srcdir=$srcdir$ac_dir_suffix;
3998 ac_top_srcdir=$srcdir ;;
3999 *) # Relative path.
4000 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4001 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4002esac
4003
4004# Do not use `cd foo && pwd` to compute absolute paths, because
4005# the directories may not exist.
4006case `pwd` in
4007.) ac_abs_builddir="$ac_dir";;
4008*)
4009 case "$ac_dir" in
4010 .) ac_abs_builddir=`pwd`;;
4011 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4012 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4013 esac;;
4014esac
4015case $ac_abs_builddir in
4016.) ac_abs_top_builddir=${ac_top_builddir}.;;
4017*)
4018 case ${ac_top_builddir}. in
4019 .) ac_abs_top_builddir=$ac_abs_builddir;;
4020 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4021 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4022 esac;;
4023esac
4024case $ac_abs_builddir in
4025.) ac_abs_srcdir=$ac_srcdir;;
4026*)
4027 case $ac_srcdir in
4028 .) ac_abs_srcdir=$ac_abs_builddir;;
4029 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4030 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4031 esac;;
4032esac
4033case $ac_abs_builddir in
4034.) ac_abs_top_srcdir=$ac_top_srcdir;;
4035*)
4036 case $ac_top_srcdir in
4037 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4038 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4039 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4040 esac;;
4041esac
4042
4043
4044 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4045echo "$as_me: executing $ac_dest commands" >&6;}
4046 case $ac_dest in
4047 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4048 # Strip MF so we end up with the name of the file.
4049 mf=`echo "$mf" | sed -e 's/:.*$//'`
4050 # Check whether this is an Automake generated Makefile or not.
4051 # We used to match only the files named `Makefile.in', but
4052 # some people rename them; so instead we look at the file content.
4053 # Grep'ing the first line is not enough: some people post-process
4054 # each Makefile.in and add a new line on top of each file to say so.
4055 # So let's grep whole file.
4056 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4057 dirpart=`(dirname "$mf") 2>/dev/null ||
4058$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4059 X"$mf" : 'X\(//\)[^/]' \| \
4060 X"$mf" : 'X\(//\)$' \| \
4061 X"$mf" : 'X\(/\)' \| \
4062 . : '\(.\)' 2>/dev/null ||
4063echo X"$mf" |
4064 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4065 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4066 /^X\(\/\/\)$/{ s//\1/; q; }
4067 /^X\(\/\).*/{ s//\1/; q; }
4068 s/.*/./; q'`
4069 else
4070 continue
4071 fi
4072 # Extract the definition of DEPDIR, am__include, and am__quote
4073 # from the Makefile without running `make'.
4074 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4075 test -z "$DEPDIR" && continue
4076 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4077 test -z "am__include" && continue
4078 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4079 # When using ansi2knr, U may be empty or an underscore; expand it
4080 U=`sed -n 's/^U = //p' < "$mf"`
4081 # Find all dependency output files, they are included files with
4082 # $(DEPDIR) in their names. We invoke sed twice because it is the
4083 # simplest approach to changing $(DEPDIR) to its actual value in the
4084 # expansion.
4085 for file in `sed -n "
4086 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4087 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4088 # Make sure the directory exists.
4089 test -f "$dirpart/$file" && continue
4090 fdir=`(dirname "$file") 2>/dev/null ||
4091$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4092 X"$file" : 'X\(//\)[^/]' \| \
4093 X"$file" : 'X\(//\)$' \| \
4094 X"$file" : 'X\(/\)' \| \
4095 . : '\(.\)' 2>/dev/null ||
4096echo X"$file" |
4097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4098 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4099 /^X\(\/\/\)$/{ s//\1/; q; }
4100 /^X\(\/\).*/{ s//\1/; q; }
4101 s/.*/./; q'`
4102 { if $as_mkdir_p; then
4103 mkdir -p $dirpart/$fdir
4104 else
4105 as_dir=$dirpart/$fdir
4106 as_dirs=
4107 while test ! -d "$as_dir"; do
4108 as_dirs="$as_dir $as_dirs"
4109 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4110$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4111 X"$as_dir" : 'X\(//\)[^/]' \| \
4112 X"$as_dir" : 'X\(//\)$' \| \
4113 X"$as_dir" : 'X\(/\)' \| \
4114 . : '\(.\)' 2>/dev/null ||
4115echo X"$as_dir" |
4116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4117 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4118 /^X\(\/\/\)$/{ s//\1/; q; }
4119 /^X\(\/\).*/{ s//\1/; q; }
4120 s/.*/./; q'`
4121 done
4122 test ! -n "$as_dirs" || mkdir $as_dirs
4123 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4124echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4125 { (exit 1); exit 1; }; }; }
4126
4127 # echo "creating $dirpart/$file"
4128 echo '# dummy' > "$dirpart/$file"
4129 done
4130done
4131 ;;
4132 esac
4133done
4134_ACEOF
4135
4136cat >>$CONFIG_STATUS <<\_ACEOF
4137
4138{ (exit 0); exit 0; }
4139_ACEOF
4140chmod +x $CONFIG_STATUS
4141ac_clean_files=$ac_clean_files_save
4142
4143
4144# configure is writing to config.log, and then calls config.status.
4145# config.status does its own redirection, appending to config.log.
4146# Unfortunately, on DOS this fails, as config.log is still kept open
4147# by configure, so config.status won't be able to write to it; its
4148# output is simply discarded. So we exec the FD to /dev/null,
4149# effectively closing config.log, so it can be properly (re)opened and
4150# appended to by config.status. When coming back to configure, we
4151# need to make the FD available again.
4152if test "$no_create" != yes; then
4153 ac_cs_success=:
4154 ac_config_status_args=
4155 test "$silent" = yes &&
4156 ac_config_status_args="$ac_config_status_args --quiet"
4157 exec 5>/dev/null
4158 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4159 exec 5>>config.log
4160 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4161 # would make configure fail if this is the last instruction.
4162 $ac_cs_success || { (exit 1); exit 1; }
4163fi
4164
4165#
4166# CONFIG_SUBDIRS section.
4167#
4168if test "$no_recursion" != yes; then
4169
4170 # Remove --cache-file and --srcdir arguments so they do not pile up.
4171 ac_sub_configure_args=
4172 ac_prev=
4173 for ac_arg in $ac_configure_args; do
4174 if test -n "$ac_prev"; then
4175 ac_prev=
4176 continue
4177 fi
4178 case $ac_arg in
4179 -cache-file | --cache-file | --cache-fil | --cache-fi \
4180 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
4181 ac_prev=cache_file ;;
4182 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
4183 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
4184 | --c=*)
4185 ;;
4186 --config-cache | -C)
4187 ;;
4188 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4189 ac_prev=srcdir ;;
4190 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4191 ;;
4192 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
4193 ac_prev=prefix ;;
4194 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
4195 ;;
4196 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
4197 esac
4198 done
4199
4200 # Always prepend --prefix to ensure using the same prefix
4201 # in subdir configurations.
4202 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
4203
4204 ac_popdir=`pwd`
4205 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
4206
4207 # Do not complain, so a configure script can configure whichever
4208 # parts of a large source tree are present.
4209 test -d $srcdir/$ac_dir || continue
4210
4211 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
4212echo "$as_me: configuring in $ac_dir" >&6;}
4213 { if $as_mkdir_p; then
4214 mkdir -p "$ac_dir"
4215 else
4216 as_dir="$ac_dir"
4217 as_dirs=
4218 while test ! -d "$as_dir"; do
4219 as_dirs="$as_dir $as_dirs"
4220 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4221$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4222 X"$as_dir" : 'X\(//\)[^/]' \| \
4223 X"$as_dir" : 'X\(//\)$' \| \
4224 X"$as_dir" : 'X\(/\)' \| \
4225 . : '\(.\)' 2>/dev/null ||
4226echo X"$as_dir" |
4227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4228 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4229 /^X\(\/\/\)$/{ s//\1/; q; }
4230 /^X\(\/\).*/{ s//\1/; q; }
4231 s/.*/./; q'`
4232 done
4233 test ! -n "$as_dirs" || mkdir $as_dirs
4234 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4235echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4236 { (exit 1); exit 1; }; }; }
4237
4238 ac_builddir=.
4239
4240if test "$ac_dir" != .; then
4241 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4242 # A "../" for each directory in $ac_dir_suffix.
4243 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4244else
4245 ac_dir_suffix= ac_top_builddir=
4246fi
4247
4248case $srcdir in
4249 .) # No --srcdir option. We are building in place.
4250 ac_srcdir=.
4251 if test -z "$ac_top_builddir"; then
4252 ac_top_srcdir=.
4253 else
4254 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4255 fi ;;
4256 [\\/]* | ?:[\\/]* ) # Absolute path.
4257 ac_srcdir=$srcdir$ac_dir_suffix;
4258 ac_top_srcdir=$srcdir ;;
4259 *) # Relative path.
4260 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4261 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4262esac
4263
4264# Do not use `cd foo && pwd` to compute absolute paths, because
4265# the directories may not exist.
4266case `pwd` in
4267.) ac_abs_builddir="$ac_dir";;
4268*)
4269 case "$ac_dir" in
4270 .) ac_abs_builddir=`pwd`;;
4271 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4272 *) ac_abs_builddir=`pwd`/"$ac_dir";;
4273 esac;;
4274esac
4275case $ac_abs_builddir in
4276.) ac_abs_top_builddir=${ac_top_builddir}.;;
4277*)
4278 case ${ac_top_builddir}. in
4279 .) ac_abs_top_builddir=$ac_abs_builddir;;
4280 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4281 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4282 esac;;
4283esac
4284case $ac_abs_builddir in
4285.) ac_abs_srcdir=$ac_srcdir;;
4286*)
4287 case $ac_srcdir in
4288 .) ac_abs_srcdir=$ac_abs_builddir;;
4289 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4290 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4291 esac;;
4292esac
4293case $ac_abs_builddir in
4294.) ac_abs_top_srcdir=$ac_top_srcdir;;
4295*)
4296 case $ac_top_srcdir in
4297 .) ac_abs_top_srcdir=$ac_abs_builddir;;
4298 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4299 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4300 esac;;
4301esac
4302
4303
4304 cd $ac_dir
4305
4306 # Check for guested configure; otherwise get Cygnus style configure.
4307 if test -f $ac_srcdir/configure.gnu; then
4308 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
4309 elif test -f $ac_srcdir/configure; then
4310 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
4311 elif test -f $ac_srcdir/configure.in; then
4312 ac_sub_configure=$ac_configure
4313 else
4314 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
4315echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
4316 ac_sub_configure=
4317 fi
4318
4319 # The recursion is here.
4320 if test -n "$ac_sub_configure"; then
4321 # Make the cache file name correct relative to the subdirectory.
4322 case $cache_file in
4323 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
4324 *) # Relative path.
4325 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
4326 esac
4327
4328 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
4329echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
4330 # The eval makes quoting arguments work.
4331 eval $ac_sub_configure $ac_sub_configure_args \
4332 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
4333 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
4334echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
4335 { (exit 1); exit 1; }; }
4336 fi
4337
4338 cd $ac_popdir
4339 done
4340fi
4341
Note: See TracBrowser for help on using the repository browser.