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

Last change on this file since 33064 was 21681, checked in by mdewsnip, 11 years ago

Changed top-level configure and Makefile so the build-src directory is done as well.

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