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

Revision 21519, 131.8 KB (checked in by mdewsnip, 9 years ago)

Fixing up inclusion/exclusion of SQLite support, and changing default to be included.

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