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

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