source: main/trunk/gs2-core/runtime-src/configure@ 21473

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

First attempt at an autoconf configure script for runtime-src.

  • Property svn:executable set to *
File size: 126.2 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for greenstone2-runtime-src 2.84.
4#
5# Report bugs to <[email protected]>.
6#
7# Copyright (C) 2003 Free Software Foundation, Inc.
8# This configure script is free software; the Free Software Foundation
9# gives unlimited permission to copy, distribute and modify it.
10## --------------------- ##
11## M4sh Initialization. ##
12## --------------------- ##
13
14# Be Bourne compatible
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23fi
24DUALCASE=1; export DUALCASE # for MKS sh
25
26# Support unset when possible.
27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29else
30 as_unset=false
31fi
32
33
34# Work around bugs in pre-3.0 UWIN ksh.
35$as_unset ENV MAIL MAILPATH
36PS1='$ '
37PS2='> '
38PS4='+ '
39
40# NLS nuisances.
41for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45do
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
50 fi
51done
52
53# Required to use basename.
54if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56else
57 as_expr=false
58fi
59
60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62else
63 as_basename=false
64fi
65
66
67# Name of the executable.
68as_me=`$as_basename "$0" ||
69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
79
80# PATH needs CR, and LINENO needs CR and PATH.
81# Avoid depending upon Character Ranges.
82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85as_cr_digits='0123456789'
86as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88# The user is always right.
89if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
97 fi
98 rm -f conf$$.sh
99fi
100
101
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112for as_dir in $PATH
113do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117done
118
119 ;;
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
125 fi
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
129 fi
130 case $CONFIG_SHELL in
131 '')
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134do
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
139 /*)
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154done
155;;
156 esac
157
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
168 N
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
179
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
186}
187
188
189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194esac
195
196if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198else
199 as_expr=false
200fi
201
202rm -f conf$$ conf$$.exe conf$$.file
203echo >conf$$.file
204if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
212 fi
213elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215else
216 as_ln_s='cp -p'
217fi
218rm -f conf$$ conf$$.exe conf$$.file
219
220if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
225fi
226
227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
230as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232# Sed expression to map a string onto a valid variable name.
233as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS=" $as_nl"
241
242# CDPATH.
243$as_unset CDPATH
244
245
246# Name of the host.
247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248# so uname gets run too.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${CONFIG_SHELL-/bin/sh}
263
264# Maximum number of lines to put in a shell here document.
265# This variable seems obsolete. It should probably be removed, and
266# only ac_max_sed_lines should be used.
267: ${ac_max_here_lines=38}
268
269# Identity of this package.
270PACKAGE_NAME='greenstone2-runtime-src'
271PACKAGE_TARNAME='greenstone2-runtime-src'
272PACKAGE_VERSION='2.84'
273PACKAGE_STRING='greenstone2-runtime-src 2.84'
274PACKAGE_BUGREPORT='[email protected]'
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-runtime-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-runtime-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 --enable-sqlite Enable 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 <[email protected]>.
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-runtime-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-runtime-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-runtime-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
2671# Check whether --enable-sqlite or --disable-sqlite was given.
2672if test "${enable_sqlite+set}" = set; then
2673 enableval="$enable_sqlite"
2674 USE_SQLITE=1
2675else
2676 USE_SQLITE=0
2677fi;
2678
2679cat >>confdefs.h <<_ACEOF
2680#define USE_SQLITE $USE_SQLITE
2681_ACEOF
2682
2683
2684
2685if test "$USE_SQLITE" = 1; then
2686 USE_SQLITE_TRUE=
2687 USE_SQLITE_FALSE='#'
2688else
2689 USE_SQLITE_TRUE='#'
2690 USE_SQLITE_FALSE=
2691fi
2692
2693
2694# Generate the Makefiles for this package
2695 ac_config_files="$ac_config_files Makefile src/colservr/Makefile src/protocol/Makefile"
2696cat >confcache <<\_ACEOF
2697# This file is a shell script that caches the results of configure
2698# tests run on this system so they can be shared between configure
2699# scripts and configure runs, see configure's option --config-cache.
2700# It is not useful on other systems. If it contains results you don't
2701# want to keep, you may remove or edit it.
2702#
2703# config.status only pays attention to the cache file if you give it
2704# the --recheck option to rerun configure.
2705#
2706# `ac_cv_env_foo' variables (set or unset) will be overridden when
2707# loading this file, other *unset* `ac_cv_foo' will be assigned the
2708# following values.
2709
2710_ACEOF
2711
2712# The following way of writing the cache mishandles newlines in values,
2713# but we know of no workaround that is simple, portable, and efficient.
2714# So, don't put newlines in cache variables' values.
2715# Ultrix sh set writes to stderr and can't be redirected directly,
2716# and sets the high bit in the cache file unless we assign to the vars.
2717{
2718 (set) 2>&1 |
2719 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2720 *ac_space=\ *)
2721 # `set' does not quote correctly, so add quotes (double-quote
2722 # substitution turns \\\\ into \\, and sed turns \\ into \).
2723 sed -n \
2724 "s/'/'\\\\''/g;
2725 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2726 ;;
2727 *)
2728 # `set' quotes correctly as required by POSIX, so do not add quotes.
2729 sed -n \
2730 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2731 ;;
2732 esac;
2733} |
2734 sed '
2735 t clear
2736 : clear
2737 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2738 t end
2739 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2740 : end' >>confcache
2741if diff $cache_file confcache >/dev/null 2>&1; then :; else
2742 if test -w $cache_file; then
2743 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2744 cat confcache >$cache_file
2745 else
2746 echo "not updating unwritable cache $cache_file"
2747 fi
2748fi
2749rm -f confcache
2750
2751test "x$prefix" = xNONE && prefix=$ac_default_prefix
2752# Let make expand exec_prefix.
2753test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2754
2755# VPATH may cause trouble with some makes, so we remove $(srcdir),
2756# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2757# trailing colons and then remove the whole line if VPATH becomes empty
2758# (actually we leave an empty line to preserve line numbers).
2759if test "x$srcdir" = x.; then
2760 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2761s/:*\$(srcdir):*/:/;
2762s/:*\${srcdir}:*/:/;
2763s/:*@srcdir@:*/:/;
2764s/^\([^=]*=[ ]*\):*/\1/;
2765s/:*$//;
2766s/^[^=]*=[ ]*$//;
2767}'
2768fi
2769
2770DEFS=-DHAVE_CONFIG_H
2771
2772ac_libobjs=
2773ac_ltlibobjs=
2774for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2775 # 1. Remove the extension, and $U if already installed.
2776 ac_i=`echo "$ac_i" |
2777 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2778 # 2. Add them.
2779 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2780 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2781done
2782LIBOBJS=$ac_libobjs
2783
2784LTLIBOBJS=$ac_ltlibobjs
2785
2786
2787if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2788 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2789Usually this means the macro was only invoked conditionally." >&5
2790echo "$as_me: error: conditional \"AMDEP\" was never defined.
2791Usually this means the macro was only invoked conditionally." >&2;}
2792 { (exit 1); exit 1; }; }
2793fi
2794if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
2795 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
2796Usually this means the macro was only invoked conditionally." >&5
2797echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
2798Usually this means the macro was only invoked conditionally." >&2;}
2799 { (exit 1); exit 1; }; }
2800fi
2801if test -z "${USE_SQLITE_TRUE}" && test -z "${USE_SQLITE_FALSE}"; then
2802 { { echo "$as_me:$LINENO: error: conditional \"USE_SQLITE\" was never defined.
2803Usually this means the macro was only invoked conditionally." >&5
2804echo "$as_me: error: conditional \"USE_SQLITE\" was never defined.
2805Usually this means the macro was only invoked conditionally." >&2;}
2806 { (exit 1); exit 1; }; }
2807fi
2808
2809: ${CONFIG_STATUS=./config.status}
2810ac_clean_files_save=$ac_clean_files
2811ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2812{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2813echo "$as_me: creating $CONFIG_STATUS" >&6;}
2814cat >$CONFIG_STATUS <<_ACEOF
2815#! $SHELL
2816# Generated by $as_me.
2817# Run this file to recreate the current configuration.
2818# Compiler output produced by configure, useful for debugging
2819# configure, is in config.log if it exists.
2820
2821debug=false
2822ac_cs_recheck=false
2823ac_cs_silent=false
2824SHELL=\${CONFIG_SHELL-$SHELL}
2825_ACEOF
2826
2827cat >>$CONFIG_STATUS <<\_ACEOF
2828## --------------------- ##
2829## M4sh Initialization. ##
2830## --------------------- ##
2831
2832# Be Bourne compatible
2833if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2834 emulate sh
2835 NULLCMD=:
2836 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2837 # is contrary to our usage. Disable this feature.
2838 alias -g '${1+"$@"}'='"$@"'
2839elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2840 set -o posix
2841fi
2842DUALCASE=1; export DUALCASE # for MKS sh
2843
2844# Support unset when possible.
2845if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2846 as_unset=unset
2847else
2848 as_unset=false
2849fi
2850
2851
2852# Work around bugs in pre-3.0 UWIN ksh.
2853$as_unset ENV MAIL MAILPATH
2854PS1='$ '
2855PS2='> '
2856PS4='+ '
2857
2858# NLS nuisances.
2859for as_var in \
2860 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2861 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2862 LC_TELEPHONE LC_TIME
2863do
2864 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2865 eval $as_var=C; export $as_var
2866 else
2867 $as_unset $as_var
2868 fi
2869done
2870
2871# Required to use basename.
2872if expr a : '\(a\)' >/dev/null 2>&1; then
2873 as_expr=expr
2874else
2875 as_expr=false
2876fi
2877
2878if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2879 as_basename=basename
2880else
2881 as_basename=false
2882fi
2883
2884
2885# Name of the executable.
2886as_me=`$as_basename "$0" ||
2887$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2888 X"$0" : 'X\(//\)$' \| \
2889 X"$0" : 'X\(/\)$' \| \
2890 . : '\(.\)' 2>/dev/null ||
2891echo X/"$0" |
2892 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2893 /^X\/\(\/\/\)$/{ s//\1/; q; }
2894 /^X\/\(\/\).*/{ s//\1/; q; }
2895 s/.*/./; q'`
2896
2897
2898# PATH needs CR, and LINENO needs CR and PATH.
2899# Avoid depending upon Character Ranges.
2900as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2901as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2902as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2903as_cr_digits='0123456789'
2904as_cr_alnum=$as_cr_Letters$as_cr_digits
2905
2906# The user is always right.
2907if test "${PATH_SEPARATOR+set}" != set; then
2908 echo "#! /bin/sh" >conf$$.sh
2909 echo "exit 0" >>conf$$.sh
2910 chmod +x conf$$.sh
2911 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2912 PATH_SEPARATOR=';'
2913 else
2914 PATH_SEPARATOR=:
2915 fi
2916 rm -f conf$$.sh
2917fi
2918
2919
2920 as_lineno_1=$LINENO
2921 as_lineno_2=$LINENO
2922 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2923 test "x$as_lineno_1" != "x$as_lineno_2" &&
2924 test "x$as_lineno_3" = "x$as_lineno_2" || {
2925 # Find who we are. Look in the path if we contain no path at all
2926 # relative or not.
2927 case $0 in
2928 *[\\/]* ) as_myself=$0 ;;
2929 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2930for as_dir in $PATH
2931do
2932 IFS=$as_save_IFS
2933 test -z "$as_dir" && as_dir=.
2934 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2935done
2936
2937 ;;
2938 esac
2939 # We did not find ourselves, most probably we were run as `sh COMMAND'
2940 # in which case we are not to be found in the path.
2941 if test "x$as_myself" = x; then
2942 as_myself=$0
2943 fi
2944 if test ! -f "$as_myself"; then
2945 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2946echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2947 { (exit 1); exit 1; }; }
2948 fi
2949 case $CONFIG_SHELL in
2950 '')
2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2952for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2953do
2954 IFS=$as_save_IFS
2955 test -z "$as_dir" && as_dir=.
2956 for as_base in sh bash ksh sh5; do
2957 case $as_dir in
2958 /*)
2959 if ("$as_dir/$as_base" -c '
2960 as_lineno_1=$LINENO
2961 as_lineno_2=$LINENO
2962 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2963 test "x$as_lineno_1" != "x$as_lineno_2" &&
2964 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
2965 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2966 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2967 CONFIG_SHELL=$as_dir/$as_base
2968 export CONFIG_SHELL
2969 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2970 fi;;
2971 esac
2972 done
2973done
2974;;
2975 esac
2976
2977 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2978 # uniformly replaced by the line number. The first 'sed' inserts a
2979 # line-number line before each line; the second 'sed' does the real
2980 # work. The second script uses 'N' to pair each line-number line
2981 # with the numbered line, and appends trailing '-' during
2982 # substitution so that $LINENO is not a special case at line end.
2983 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2984 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
2985 sed '=' <$as_myself |
2986 sed '
2987 N
2988 s,$,-,
2989 : loop
2990 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2991 t loop
2992 s,-$,,
2993 s,^['$as_cr_digits']*\n,,
2994 ' >$as_me.lineno &&
2995 chmod +x $as_me.lineno ||
2996 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2997echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2998 { (exit 1); exit 1; }; }
2999
3000 # Don't try to exec as it changes $[0], causing all sort of problems
3001 # (the dirname of $[0] is not the place where we might find the
3002 # original and so on. Autoconf is especially sensible to this).
3003 . ./$as_me.lineno
3004 # Exit status is that of the last command.
3005 exit
3006}
3007
3008
3009case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3010 *c*,-n*) ECHO_N= ECHO_C='
3011' ECHO_T=' ' ;;
3012 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3013 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3014esac
3015
3016if expr a : '\(a\)' >/dev/null 2>&1; then
3017 as_expr=expr
3018else
3019 as_expr=false
3020fi
3021
3022rm -f conf$$ conf$$.exe conf$$.file
3023echo >conf$$.file
3024if ln -s conf$$.file conf$$ 2>/dev/null; then
3025 # We could just check for DJGPP; but this test a) works b) is more generic
3026 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3027 if test -f conf$$.exe; then
3028 # Don't use ln at all; we don't have any links
3029 as_ln_s='cp -p'
3030 else
3031 as_ln_s='ln -s'
3032 fi
3033elif ln conf$$.file conf$$ 2>/dev/null; then
3034 as_ln_s=ln
3035else
3036 as_ln_s='cp -p'
3037fi
3038rm -f conf$$ conf$$.exe conf$$.file
3039
3040if mkdir -p . 2>/dev/null; then
3041 as_mkdir_p=:
3042else
3043 test -d ./-p && rmdir ./-p
3044 as_mkdir_p=false
3045fi
3046
3047as_executable_p="test -f"
3048
3049# Sed expression to map a string onto a valid CPP name.
3050as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3051
3052# Sed expression to map a string onto a valid variable name.
3053as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3054
3055
3056# IFS
3057# We need space, tab and new line, in precisely that order.
3058as_nl='
3059'
3060IFS=" $as_nl"
3061
3062# CDPATH.
3063$as_unset CDPATH
3064
3065exec 6>&1
3066
3067# Open the log real soon, to keep \$[0] and so on meaningful, and to
3068# report actual input values of CONFIG_FILES etc. instead of their
3069# values after options handling. Logging --version etc. is OK.
3070exec 5>>config.log
3071{
3072 echo
3073 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3074## Running $as_me. ##
3075_ASBOX
3076} >&5
3077cat >&5 <<_CSEOF
3078
3079This file was extended by greenstone2-runtime-src $as_me 2.84, which was
3080generated by GNU Autoconf 2.59. Invocation command line was
3081
3082 CONFIG_FILES = $CONFIG_FILES
3083 CONFIG_HEADERS = $CONFIG_HEADERS
3084 CONFIG_LINKS = $CONFIG_LINKS
3085 CONFIG_COMMANDS = $CONFIG_COMMANDS
3086 $ $0 $@
3087
3088_CSEOF
3089echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3090echo >&5
3091_ACEOF
3092
3093# Files that config.status was made for.
3094if test -n "$ac_config_files"; then
3095 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3096fi
3097
3098if test -n "$ac_config_headers"; then
3099 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3100fi
3101
3102if test -n "$ac_config_links"; then
3103 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3104fi
3105
3106if test -n "$ac_config_commands"; then
3107 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3108fi
3109
3110cat >>$CONFIG_STATUS <<\_ACEOF
3111
3112ac_cs_usage="\
3113\`$as_me' instantiates files from templates according to the
3114current configuration.
3115
3116Usage: $0 [OPTIONS] [FILE]...
3117
3118 -h, --help print this help, then exit
3119 -V, --version print version number, then exit
3120 -q, --quiet do not print progress messages
3121 -d, --debug don't remove temporary files
3122 --recheck update $as_me by reconfiguring in the same conditions
3123 --file=FILE[:TEMPLATE]
3124 instantiate the configuration file FILE
3125 --header=FILE[:TEMPLATE]
3126 instantiate the configuration header FILE
3127
3128Configuration files:
3129$config_files
3130
3131Configuration headers:
3132$config_headers
3133
3134Configuration commands:
3135$config_commands
3136
3137Report bugs to <[email protected]>."
3138_ACEOF
3139
3140cat >>$CONFIG_STATUS <<_ACEOF
3141ac_cs_version="\\
3142greenstone2-runtime-src config.status 2.84
3143configured by $0, generated by GNU Autoconf 2.59,
3144 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3145
3146Copyright (C) 2003 Free Software Foundation, Inc.
3147This config.status script is free software; the Free Software Foundation
3148gives unlimited permission to copy, distribute and modify it."
3149srcdir=$srcdir
3150INSTALL="$INSTALL"
3151_ACEOF
3152
3153cat >>$CONFIG_STATUS <<\_ACEOF
3154# If no file are specified by the user, then we need to provide default
3155# value. By we need to know if files were specified by the user.
3156ac_need_defaults=:
3157while test $# != 0
3158do
3159 case $1 in
3160 --*=*)
3161 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3162 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3163 ac_shift=:
3164 ;;
3165 -*)
3166 ac_option=$1
3167 ac_optarg=$2
3168 ac_shift=shift
3169 ;;
3170 *) # This is not an option, so the user has probably given explicit
3171 # arguments.
3172 ac_option=$1
3173 ac_need_defaults=false;;
3174 esac
3175
3176 case $ac_option in
3177 # Handling of the options.
3178_ACEOF
3179cat >>$CONFIG_STATUS <<\_ACEOF
3180 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3181 ac_cs_recheck=: ;;
3182 --version | --vers* | -V )
3183 echo "$ac_cs_version"; exit 0 ;;
3184 --he | --h)
3185 # Conflict between --help and --header
3186 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3187Try \`$0 --help' for more information." >&5
3188echo "$as_me: error: ambiguous option: $1
3189Try \`$0 --help' for more information." >&2;}
3190 { (exit 1); exit 1; }; };;
3191 --help | --hel | -h )
3192 echo "$ac_cs_usage"; exit 0 ;;
3193 --debug | --d* | -d )
3194 debug=: ;;
3195 --file | --fil | --fi | --f )
3196 $ac_shift
3197 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3198 ac_need_defaults=false;;
3199 --header | --heade | --head | --hea )
3200 $ac_shift
3201 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3202 ac_need_defaults=false;;
3203 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3204 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3205 ac_cs_silent=: ;;
3206
3207 # This is an error.
3208 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3209Try \`$0 --help' for more information." >&5
3210echo "$as_me: error: unrecognized option: $1
3211Try \`$0 --help' for more information." >&2;}
3212 { (exit 1); exit 1; }; } ;;
3213
3214 *) ac_config_targets="$ac_config_targets $1" ;;
3215
3216 esac
3217 shift
3218done
3219
3220ac_configure_extra_args=
3221
3222if $ac_cs_silent; then
3223 exec 6>/dev/null
3224 ac_configure_extra_args="$ac_configure_extra_args --silent"
3225fi
3226
3227_ACEOF
3228cat >>$CONFIG_STATUS <<_ACEOF
3229if \$ac_cs_recheck; then
3230 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3231 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3232fi
3233
3234_ACEOF
3235
3236cat >>$CONFIG_STATUS <<_ACEOF
3237#
3238# INIT-COMMANDS section.
3239#
3240
3241AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
3242
3243_ACEOF
3244
3245
3246
3247cat >>$CONFIG_STATUS <<\_ACEOF
3248for ac_config_target in $ac_config_targets
3249do
3250 case "$ac_config_target" in
3251 # Handling of arguments.
3252 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3253 "src/colservr/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/colservr/Makefile" ;;
3254 "src/protocol/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/protocol/Makefile" ;;
3255 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3256 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3257 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3258echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3259 { (exit 1); exit 1; }; };;
3260 esac
3261done
3262
3263# If the user did not use the arguments to specify the items to instantiate,
3264# then the envvar interface is used. Set only those that are not.
3265# We use the long form for the default assignment because of an extremely
3266# bizarre bug on SunOS 4.1.3.
3267if $ac_need_defaults; then
3268 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3269 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3270 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3271fi
3272
3273# Have a temporary directory for convenience. Make it in the build tree
3274# simply because there is no reason to put it here, and in addition,
3275# creating and moving files from /tmp can sometimes cause problems.
3276# Create a temporary directory, and hook for its removal unless debugging.
3277$debug ||
3278{
3279 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3280 trap '{ (exit 1); exit 1; }' 1 2 13 15
3281}
3282
3283# Create a (secure) tmp directory for tmp files.
3284
3285{
3286 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3287 test -n "$tmp" && test -d "$tmp"
3288} ||
3289{
3290 tmp=./confstat$$-$RANDOM
3291 (umask 077 && mkdir $tmp)
3292} ||
3293{
3294 echo "$me: cannot create a temporary directory in ." >&2
3295 { (exit 1); exit 1; }
3296}
3297
3298_ACEOF
3299
3300cat >>$CONFIG_STATUS <<_ACEOF
3301
3302#
3303# CONFIG_FILES section.
3304#
3305
3306# No need to generate the scripts if there are no CONFIG_FILES.
3307# This happens for instance when ./config.status config.h
3308if test -n "\$CONFIG_FILES"; then
3309 # Protect against being on the right side of a sed subst in config.status.
3310 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3311 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3312s,@SHELL@,$SHELL,;t t
3313s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3314s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3315s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3316s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3317s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3318s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3319s,@exec_prefix@,$exec_prefix,;t t
3320s,@prefix@,$prefix,;t t
3321s,@program_transform_name@,$program_transform_name,;t t
3322s,@bindir@,$bindir,;t t
3323s,@sbindir@,$sbindir,;t t
3324s,@libexecdir@,$libexecdir,;t t
3325s,@datadir@,$datadir,;t t
3326s,@sysconfdir@,$sysconfdir,;t t
3327s,@sharedstatedir@,$sharedstatedir,;t t
3328s,@localstatedir@,$localstatedir,;t t
3329s,@libdir@,$libdir,;t t
3330s,@includedir@,$includedir,;t t
3331s,@oldincludedir@,$oldincludedir,;t t
3332s,@infodir@,$infodir,;t t
3333s,@mandir@,$mandir,;t t
3334s,@build_alias@,$build_alias,;t t
3335s,@host_alias@,$host_alias,;t t
3336s,@target_alias@,$target_alias,;t t
3337s,@DEFS@,$DEFS,;t t
3338s,@ECHO_C@,$ECHO_C,;t t
3339s,@ECHO_N@,$ECHO_N,;t t
3340s,@ECHO_T@,$ECHO_T,;t t
3341s,@LIBS@,$LIBS,;t t
3342s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3343s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3344s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3345s,@CYGPATH_W@,$CYGPATH_W,;t t
3346s,@PACKAGE@,$PACKAGE,;t t
3347s,@VERSION@,$VERSION,;t t
3348s,@ACLOCAL@,$ACLOCAL,;t t
3349s,@AUTOCONF@,$AUTOCONF,;t t
3350s,@AUTOMAKE@,$AUTOMAKE,;t t
3351s,@AUTOHEADER@,$AUTOHEADER,;t t
3352s,@MAKEINFO@,$MAKEINFO,;t t
3353s,@install_sh@,$install_sh,;t t
3354s,@STRIP@,$STRIP,;t t
3355s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3356s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3357s,@mkdir_p@,$mkdir_p,;t t
3358s,@AWK@,$AWK,;t t
3359s,@SET_MAKE@,$SET_MAKE,;t t
3360s,@am__leading_dot@,$am__leading_dot,;t t
3361s,@AMTAR@,$AMTAR,;t t
3362s,@am__tar@,$am__tar,;t t
3363s,@am__untar@,$am__untar,;t t
3364s,@CXX@,$CXX,;t t
3365s,@CXXFLAGS@,$CXXFLAGS,;t t
3366s,@LDFLAGS@,$LDFLAGS,;t t
3367s,@CPPFLAGS@,$CPPFLAGS,;t t
3368s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3369s,@EXEEXT@,$EXEEXT,;t t
3370s,@OBJEXT@,$OBJEXT,;t t
3371s,@DEPDIR@,$DEPDIR,;t t
3372s,@am__include@,$am__include,;t t
3373s,@am__quote@,$am__quote,;t t
3374s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3375s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3376s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3377s,@CXXDEPMODE@,$CXXDEPMODE,;t t
3378s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
3379s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
3380s,@RANLIB@,$RANLIB,;t t
3381s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
3382s,@build@,$build,;t t
3383s,@build_cpu@,$build_cpu,;t t
3384s,@build_vendor@,$build_vendor,;t t
3385s,@build_os@,$build_os,;t t
3386s,@host@,$host,;t t
3387s,@host_cpu@,$host_cpu,;t t
3388s,@host_vendor@,$host_vendor,;t t
3389s,@host_os@,$host_os,;t t
3390s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
3391s,@USE_SQLITE_TRUE@,$USE_SQLITE_TRUE,;t t
3392s,@USE_SQLITE_FALSE@,$USE_SQLITE_FALSE,;t t
3393s,@LIBOBJS@,$LIBOBJS,;t t
3394s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3395CEOF
3396
3397_ACEOF
3398
3399 cat >>$CONFIG_STATUS <<\_ACEOF
3400 # Split the substitutions into bite-sized pieces for seds with
3401 # small command number limits, like on Digital OSF/1 and HP-UX.
3402 ac_max_sed_lines=48
3403 ac_sed_frag=1 # Number of current file.
3404 ac_beg=1 # First line for current file.
3405 ac_end=$ac_max_sed_lines # Line after last line for current file.
3406 ac_more_lines=:
3407 ac_sed_cmds=
3408 while $ac_more_lines; do
3409 if test $ac_beg -gt 1; then
3410 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3411 else
3412 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
3413 fi
3414 if test ! -s $tmp/subs.frag; then
3415 ac_more_lines=false
3416 else
3417 # The purpose of the label and of the branching condition is to
3418 # speed up the sed processing (if there are no `@' at all, there
3419 # is no need to browse any of the substitutions).
3420 # These are the two extra sed commands mentioned above.
3421 (echo ':t
3422 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3423 if test -z "$ac_sed_cmds"; then
3424 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3425 else
3426 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3427 fi
3428 ac_sed_frag=`expr $ac_sed_frag + 1`
3429 ac_beg=$ac_end
3430 ac_end=`expr $ac_end + $ac_max_sed_lines`
3431 fi
3432 done
3433 if test -z "$ac_sed_cmds"; then
3434 ac_sed_cmds=cat
3435 fi
3436fi # test -n "$CONFIG_FILES"
3437
3438_ACEOF
3439cat >>$CONFIG_STATUS <<\_ACEOF
3440for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3441 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3442 case $ac_file in
3443 - | *:- | *:-:* ) # input from stdin
3444 cat >$tmp/stdin
3445 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3446 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3447 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3448 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3449 * ) ac_file_in=$ac_file.in ;;
3450 esac
3451
3452 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3453 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3454$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3455 X"$ac_file" : 'X\(//\)[^/]' \| \
3456 X"$ac_file" : 'X\(//\)$' \| \
3457 X"$ac_file" : 'X\(/\)' \| \
3458 . : '\(.\)' 2>/dev/null ||
3459echo X"$ac_file" |
3460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3461 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3462 /^X\(\/\/\)$/{ s//\1/; q; }
3463 /^X\(\/\).*/{ s//\1/; q; }
3464 s/.*/./; q'`
3465 { if $as_mkdir_p; then
3466 mkdir -p "$ac_dir"
3467 else
3468 as_dir="$ac_dir"
3469 as_dirs=
3470 while test ! -d "$as_dir"; do
3471 as_dirs="$as_dir $as_dirs"
3472 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3473$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3474 X"$as_dir" : 'X\(//\)[^/]' \| \
3475 X"$as_dir" : 'X\(//\)$' \| \
3476 X"$as_dir" : 'X\(/\)' \| \
3477 . : '\(.\)' 2>/dev/null ||
3478echo X"$as_dir" |
3479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3480 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3481 /^X\(\/\/\)$/{ s//\1/; q; }
3482 /^X\(\/\).*/{ s//\1/; q; }
3483 s/.*/./; q'`
3484 done
3485 test ! -n "$as_dirs" || mkdir $as_dirs
3486 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3487echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3488 { (exit 1); exit 1; }; }; }
3489
3490 ac_builddir=.
3491
3492if test "$ac_dir" != .; then
3493 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3494 # A "../" for each directory in $ac_dir_suffix.
3495 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3496else
3497 ac_dir_suffix= ac_top_builddir=
3498fi
3499
3500case $srcdir in
3501 .) # No --srcdir option. We are building in place.
3502 ac_srcdir=.
3503 if test -z "$ac_top_builddir"; then
3504 ac_top_srcdir=.
3505 else
3506 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3507 fi ;;
3508 [\\/]* | ?:[\\/]* ) # Absolute path.
3509 ac_srcdir=$srcdir$ac_dir_suffix;
3510 ac_top_srcdir=$srcdir ;;
3511 *) # Relative path.
3512 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3513 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3514esac
3515
3516# Do not use `cd foo && pwd` to compute absolute paths, because
3517# the directories may not exist.
3518case `pwd` in
3519.) ac_abs_builddir="$ac_dir";;
3520*)
3521 case "$ac_dir" in
3522 .) ac_abs_builddir=`pwd`;;
3523 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3524 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3525 esac;;
3526esac
3527case $ac_abs_builddir in
3528.) ac_abs_top_builddir=${ac_top_builddir}.;;
3529*)
3530 case ${ac_top_builddir}. in
3531 .) ac_abs_top_builddir=$ac_abs_builddir;;
3532 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3533 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3534 esac;;
3535esac
3536case $ac_abs_builddir in
3537.) ac_abs_srcdir=$ac_srcdir;;
3538*)
3539 case $ac_srcdir in
3540 .) ac_abs_srcdir=$ac_abs_builddir;;
3541 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3542 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3543 esac;;
3544esac
3545case $ac_abs_builddir in
3546.) ac_abs_top_srcdir=$ac_top_srcdir;;
3547*)
3548 case $ac_top_srcdir in
3549 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3550 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3551 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3552 esac;;
3553esac
3554
3555
3556 case $INSTALL in
3557 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
3558 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
3559 esac
3560
3561 if test x"$ac_file" != x-; then
3562 { echo "$as_me:$LINENO: creating $ac_file" >&5
3563echo "$as_me: creating $ac_file" >&6;}
3564 rm -f "$ac_file"
3565 fi
3566 # Let's still pretend it is `configure' which instantiates (i.e., don't
3567 # use $as_me), people would be surprised to read:
3568 # /* config.h. Generated by config.status. */
3569 if test x"$ac_file" = x-; then
3570 configure_input=
3571 else
3572 configure_input="$ac_file. "
3573 fi
3574 configure_input=$configure_input"Generated from `echo $ac_file_in |
3575 sed 's,.*/,,'` by configure."
3576
3577 # First look for the input files in the build tree, otherwise in the
3578 # src tree.
3579 ac_file_inputs=`IFS=:
3580 for f in $ac_file_in; do
3581 case $f in
3582 -) echo $tmp/stdin ;;
3583 [\\/$]*)
3584 # Absolute (can't be DOS-style, as IFS=:)
3585 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3586echo "$as_me: error: cannot find input file: $f" >&2;}
3587 { (exit 1); exit 1; }; }
3588 echo "$f";;
3589 *) # Relative
3590 if test -f "$f"; then
3591 # Build tree
3592 echo "$f"
3593 elif test -f "$srcdir/$f"; then
3594 # Source tree
3595 echo "$srcdir/$f"
3596 else
3597 # /dev/null tree
3598 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3599echo "$as_me: error: cannot find input file: $f" >&2;}
3600 { (exit 1); exit 1; }; }
3601 fi;;
3602 esac
3603 done` || { (exit 1); exit 1; }
3604_ACEOF
3605cat >>$CONFIG_STATUS <<_ACEOF
3606 sed "$ac_vpsub
3607$extrasub
3608_ACEOF
3609cat >>$CONFIG_STATUS <<\_ACEOF
3610:t
3611/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3612s,@configure_input@,$configure_input,;t t
3613s,@srcdir@,$ac_srcdir,;t t
3614s,@abs_srcdir@,$ac_abs_srcdir,;t t
3615s,@top_srcdir@,$ac_top_srcdir,;t t
3616s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3617s,@builddir@,$ac_builddir,;t t
3618s,@abs_builddir@,$ac_abs_builddir,;t t
3619s,@top_builddir@,$ac_top_builddir,;t t
3620s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3621s,@INSTALL@,$ac_INSTALL,;t t
3622" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3623 rm -f $tmp/stdin
3624 if test x"$ac_file" != x-; then
3625 mv $tmp/out $ac_file
3626 else
3627 cat $tmp/out
3628 rm -f $tmp/out
3629 fi
3630
3631done
3632_ACEOF
3633cat >>$CONFIG_STATUS <<\_ACEOF
3634
3635#
3636# CONFIG_HEADER section.
3637#
3638
3639# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3640# NAME is the cpp macro being defined and VALUE is the value it is being given.
3641#
3642# ac_d sets the value in "#define NAME VALUE" lines.
3643ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3644ac_dB='[ ].*$,\1#\2'
3645ac_dC=' '
3646ac_dD=',;t'
3647# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3648ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3649ac_uB='$,\1#\2define\3'
3650ac_uC=' '
3651ac_uD=',;t'
3652
3653for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3654 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3655 case $ac_file in
3656 - | *:- | *:-:* ) # input from stdin
3657 cat >$tmp/stdin
3658 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3659 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3660 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3661 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3662 * ) ac_file_in=$ac_file.in ;;
3663 esac
3664
3665 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3666echo "$as_me: creating $ac_file" >&6;}
3667
3668 # First look for the input files in the build tree, otherwise in the
3669 # src tree.
3670 ac_file_inputs=`IFS=:
3671 for f in $ac_file_in; do
3672 case $f in
3673 -) echo $tmp/stdin ;;
3674 [\\/$]*)
3675 # Absolute (can't be DOS-style, as IFS=:)
3676 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3677echo "$as_me: error: cannot find input file: $f" >&2;}
3678 { (exit 1); exit 1; }; }
3679 # Do quote $f, to prevent DOS paths from being IFS'd.
3680 echo "$f";;
3681 *) # Relative
3682 if test -f "$f"; then
3683 # Build tree
3684 echo "$f"
3685 elif test -f "$srcdir/$f"; then
3686 # Source tree
3687 echo "$srcdir/$f"
3688 else
3689 # /dev/null tree
3690 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3691echo "$as_me: error: cannot find input file: $f" >&2;}
3692 { (exit 1); exit 1; }; }
3693 fi;;
3694 esac
3695 done` || { (exit 1); exit 1; }
3696 # Remove the trailing spaces.
3697 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3698
3699_ACEOF
3700
3701# Transform confdefs.h into two sed scripts, `conftest.defines' and
3702# `conftest.undefs', that substitutes the proper values into
3703# config.h.in to produce config.h. The first handles `#define'
3704# templates, and the second `#undef' templates.
3705# And first: Protect against being on the right side of a sed subst in
3706# config.status. Protect against being in an unquoted here document
3707# in config.status.
3708rm -f conftest.defines conftest.undefs
3709# Using a here document instead of a string reduces the quoting nightmare.
3710# Putting comments in sed scripts is not portable.
3711#
3712# `end' is used to avoid that the second main sed command (meant for
3713# 0-ary CPP macros) applies to n-ary macro definitions.
3714# See the Autoconf documentation for `clear'.
3715cat >confdef2sed.sed <<\_ACEOF
3716s/[\\&,]/\\&/g
3717s,[\\$`],\\&,g
3718t clear
3719: clear
3720s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3721t end
3722s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3723: end
3724_ACEOF
3725# If some macros were called several times there might be several times
3726# the same #defines, which is useless. Nevertheless, we may not want to
3727# sort them, since we want the *last* AC-DEFINE to be honored.
3728uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3729sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3730rm -f confdef2sed.sed
3731
3732# This sed command replaces #undef with comments. This is necessary, for
3733# example, in the case of _POSIX_SOURCE, which is predefined and required
3734# on some systems where configure will not decide to define it.
3735cat >>conftest.undefs <<\_ACEOF
3736s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3737_ACEOF
3738
3739# Break up conftest.defines because some shells have a limit on the size
3740# of here documents, and old seds have small limits too (100 cmds).
3741echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3742echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3743echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3744echo ' :' >>$CONFIG_STATUS
3745rm -f conftest.tail
3746while grep . conftest.defines >/dev/null
3747do
3748 # Write a limited-size here document to $tmp/defines.sed.
3749 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3750 # Speed up: don't consider the non `#define' lines.
3751 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3752 # Work around the forget-to-reset-the-flag bug.
3753 echo 't clr' >>$CONFIG_STATUS
3754 echo ': clr' >>$CONFIG_STATUS
3755 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3756 echo 'CEOF
3757 sed -f $tmp/defines.sed $tmp/in >$tmp/out
3758 rm -f $tmp/in
3759 mv $tmp/out $tmp/in
3760' >>$CONFIG_STATUS
3761 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3762 rm -f conftest.defines
3763 mv conftest.tail conftest.defines
3764done
3765rm -f conftest.defines
3766echo ' fi # grep' >>$CONFIG_STATUS
3767echo >>$CONFIG_STATUS
3768
3769# Break up conftest.undefs because some shells have a limit on the size
3770# of here documents, and old seds have small limits too (100 cmds).
3771echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3772rm -f conftest.tail
3773while grep . conftest.undefs >/dev/null
3774do
3775 # Write a limited-size here document to $tmp/undefs.sed.
3776 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3777 # Speed up: don't consider the non `#undef'
3778 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3779 # Work around the forget-to-reset-the-flag bug.
3780 echo 't clr' >>$CONFIG_STATUS
3781 echo ': clr' >>$CONFIG_STATUS
3782 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3783 echo 'CEOF
3784 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3785 rm -f $tmp/in
3786 mv $tmp/out $tmp/in
3787' >>$CONFIG_STATUS
3788 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3789 rm -f conftest.undefs
3790 mv conftest.tail conftest.undefs
3791done
3792rm -f conftest.undefs
3793
3794cat >>$CONFIG_STATUS <<\_ACEOF
3795 # Let's still pretend it is `configure' which instantiates (i.e., don't
3796 # use $as_me), people would be surprised to read:
3797 # /* config.h. Generated by config.status. */
3798 if test x"$ac_file" = x-; then
3799 echo "/* Generated by configure. */" >$tmp/config.h
3800 else
3801 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
3802 fi
3803 cat $tmp/in >>$tmp/config.h
3804 rm -f $tmp/in
3805 if test x"$ac_file" != x-; then
3806 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
3807 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3808echo "$as_me: $ac_file is unchanged" >&6;}
3809 else
3810 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3811$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3812 X"$ac_file" : 'X\(//\)[^/]' \| \
3813 X"$ac_file" : 'X\(//\)$' \| \
3814 X"$ac_file" : 'X\(/\)' \| \
3815 . : '\(.\)' 2>/dev/null ||
3816echo X"$ac_file" |
3817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3818 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3819 /^X\(\/\/\)$/{ s//\1/; q; }
3820 /^X\(\/\).*/{ s//\1/; q; }
3821 s/.*/./; q'`
3822 { if $as_mkdir_p; then
3823 mkdir -p "$ac_dir"
3824 else
3825 as_dir="$ac_dir"
3826 as_dirs=
3827 while test ! -d "$as_dir"; do
3828 as_dirs="$as_dir $as_dirs"
3829 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3830$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3831 X"$as_dir" : 'X\(//\)[^/]' \| \
3832 X"$as_dir" : 'X\(//\)$' \| \
3833 X"$as_dir" : 'X\(/\)' \| \
3834 . : '\(.\)' 2>/dev/null ||
3835echo X"$as_dir" |
3836 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3837 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3838 /^X\(\/\/\)$/{ s//\1/; q; }
3839 /^X\(\/\).*/{ s//\1/; q; }
3840 s/.*/./; q'`
3841 done
3842 test ! -n "$as_dirs" || mkdir $as_dirs
3843 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3844echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3845 { (exit 1); exit 1; }; }; }
3846
3847 rm -f $ac_file
3848 mv $tmp/config.h $ac_file
3849 fi
3850 else
3851 cat $tmp/config.h
3852 rm -f $tmp/config.h
3853 fi
3854# Compute $ac_file's index in $config_headers.
3855_am_stamp_count=1
3856for _am_header in $config_headers :; do
3857 case $_am_header in
3858 $ac_file | $ac_file:* )
3859 break ;;
3860 * )
3861 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
3862 esac
3863done
3864echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
3865$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3866 X$ac_file : 'X\(//\)[^/]' \| \
3867 X$ac_file : 'X\(//\)$' \| \
3868 X$ac_file : 'X\(/\)' \| \
3869 . : '\(.\)' 2>/dev/null ||
3870echo X$ac_file |
3871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3873 /^X\(\/\/\)$/{ s//\1/; q; }
3874 /^X\(\/\).*/{ s//\1/; q; }
3875 s/.*/./; q'`/stamp-h$_am_stamp_count
3876done
3877_ACEOF
3878cat >>$CONFIG_STATUS <<\_ACEOF
3879
3880#
3881# CONFIG_COMMANDS section.
3882#
3883for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3884 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3885 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3886 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3887$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3888 X"$ac_dest" : 'X\(//\)[^/]' \| \
3889 X"$ac_dest" : 'X\(//\)$' \| \
3890 X"$ac_dest" : 'X\(/\)' \| \
3891 . : '\(.\)' 2>/dev/null ||
3892echo X"$ac_dest" |
3893 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3894 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3895 /^X\(\/\/\)$/{ s//\1/; q; }
3896 /^X\(\/\).*/{ s//\1/; q; }
3897 s/.*/./; q'`
3898 { if $as_mkdir_p; then
3899 mkdir -p "$ac_dir"
3900 else
3901 as_dir="$ac_dir"
3902 as_dirs=
3903 while test ! -d "$as_dir"; do
3904 as_dirs="$as_dir $as_dirs"
3905 as_dir=`(dirname "$as_dir") 2>/dev/null ||
3906$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3907 X"$as_dir" : 'X\(//\)[^/]' \| \
3908 X"$as_dir" : 'X\(//\)$' \| \
3909 X"$as_dir" : 'X\(/\)' \| \
3910 . : '\(.\)' 2>/dev/null ||
3911echo X"$as_dir" |
3912 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3913 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3914 /^X\(\/\/\)$/{ s//\1/; q; }
3915 /^X\(\/\).*/{ s//\1/; q; }
3916 s/.*/./; q'`
3917 done
3918 test ! -n "$as_dirs" || mkdir $as_dirs
3919 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3920echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3921 { (exit 1); exit 1; }; }; }
3922
3923 ac_builddir=.
3924
3925if test "$ac_dir" != .; then
3926 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3927 # A "../" for each directory in $ac_dir_suffix.
3928 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3929else
3930 ac_dir_suffix= ac_top_builddir=
3931fi
3932
3933case $srcdir in
3934 .) # No --srcdir option. We are building in place.
3935 ac_srcdir=.
3936 if test -z "$ac_top_builddir"; then
3937 ac_top_srcdir=.
3938 else
3939 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3940 fi ;;
3941 [\\/]* | ?:[\\/]* ) # Absolute path.
3942 ac_srcdir=$srcdir$ac_dir_suffix;
3943 ac_top_srcdir=$srcdir ;;
3944 *) # Relative path.
3945 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3946 ac_top_srcdir=$ac_top_builddir$srcdir ;;
3947esac
3948
3949# Do not use `cd foo && pwd` to compute absolute paths, because
3950# the directories may not exist.
3951case `pwd` in
3952.) ac_abs_builddir="$ac_dir";;
3953*)
3954 case "$ac_dir" in
3955 .) ac_abs_builddir=`pwd`;;
3956 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3957 *) ac_abs_builddir=`pwd`/"$ac_dir";;
3958 esac;;
3959esac
3960case $ac_abs_builddir in
3961.) ac_abs_top_builddir=${ac_top_builddir}.;;
3962*)
3963 case ${ac_top_builddir}. in
3964 .) ac_abs_top_builddir=$ac_abs_builddir;;
3965 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3966 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3967 esac;;
3968esac
3969case $ac_abs_builddir in
3970.) ac_abs_srcdir=$ac_srcdir;;
3971*)
3972 case $ac_srcdir in
3973 .) ac_abs_srcdir=$ac_abs_builddir;;
3974 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3975 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3976 esac;;
3977esac
3978case $ac_abs_builddir in
3979.) ac_abs_top_srcdir=$ac_top_srcdir;;
3980*)
3981 case $ac_top_srcdir in
3982 .) ac_abs_top_srcdir=$ac_abs_builddir;;
3983 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3984 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3985 esac;;
3986esac
3987
3988
3989 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3990echo "$as_me: executing $ac_dest commands" >&6;}
3991 case $ac_dest in
3992 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
3993 # Strip MF so we end up with the name of the file.
3994 mf=`echo "$mf" | sed -e 's/:.*$//'`
3995 # Check whether this is an Automake generated Makefile or not.
3996 # We used to match only the files named `Makefile.in', but
3997 # some people rename them; so instead we look at the file content.
3998 # Grep'ing the first line is not enough: some people post-process
3999 # each Makefile.in and add a new line on top of each file to say so.
4000 # So let's grep whole file.
4001 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4002 dirpart=`(dirname "$mf") 2>/dev/null ||
4003$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4004 X"$mf" : 'X\(//\)[^/]' \| \
4005 X"$mf" : 'X\(//\)$' \| \
4006 X"$mf" : 'X\(/\)' \| \
4007 . : '\(.\)' 2>/dev/null ||
4008echo X"$mf" |
4009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4010 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4011 /^X\(\/\/\)$/{ s//\1/; q; }
4012 /^X\(\/\).*/{ s//\1/; q; }
4013 s/.*/./; q'`
4014 else
4015 continue
4016 fi
4017 # Extract the definition of DEPDIR, am__include, and am__quote
4018 # from the Makefile without running `make'.
4019 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4020 test -z "$DEPDIR" && continue
4021 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4022 test -z "am__include" && continue
4023 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4024 # When using ansi2knr, U may be empty or an underscore; expand it
4025 U=`sed -n 's/^U = //p' < "$mf"`
4026 # Find all dependency output files, they are included files with
4027 # $(DEPDIR) in their names. We invoke sed twice because it is the
4028 # simplest approach to changing $(DEPDIR) to its actual value in the
4029 # expansion.
4030 for file in `sed -n "
4031 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4032 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4033 # Make sure the directory exists.
4034 test -f "$dirpart/$file" && continue
4035 fdir=`(dirname "$file") 2>/dev/null ||
4036$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4037 X"$file" : 'X\(//\)[^/]' \| \
4038 X"$file" : 'X\(//\)$' \| \
4039 X"$file" : 'X\(/\)' \| \
4040 . : '\(.\)' 2>/dev/null ||
4041echo X"$file" |
4042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4043 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4044 /^X\(\/\/\)$/{ s//\1/; q; }
4045 /^X\(\/\).*/{ s//\1/; q; }
4046 s/.*/./; q'`
4047 { if $as_mkdir_p; then
4048 mkdir -p $dirpart/$fdir
4049 else
4050 as_dir=$dirpart/$fdir
4051 as_dirs=
4052 while test ! -d "$as_dir"; do
4053 as_dirs="$as_dir $as_dirs"
4054 as_dir=`(dirname "$as_dir") 2>/dev/null ||
4055$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4056 X"$as_dir" : 'X\(//\)[^/]' \| \
4057 X"$as_dir" : 'X\(//\)$' \| \
4058 X"$as_dir" : 'X\(/\)' \| \
4059 . : '\(.\)' 2>/dev/null ||
4060echo X"$as_dir" |
4061 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4062 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4063 /^X\(\/\/\)$/{ s//\1/; q; }
4064 /^X\(\/\).*/{ s//\1/; q; }
4065 s/.*/./; q'`
4066 done
4067 test ! -n "$as_dirs" || mkdir $as_dirs
4068 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4069echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4070 { (exit 1); exit 1; }; }; }
4071
4072 # echo "creating $dirpart/$file"
4073 echo '# dummy' > "$dirpart/$file"
4074 done
4075done
4076 ;;
4077 esac
4078done
4079_ACEOF
4080
4081cat >>$CONFIG_STATUS <<\_ACEOF
4082
4083{ (exit 0); exit 0; }
4084_ACEOF
4085chmod +x $CONFIG_STATUS
4086ac_clean_files=$ac_clean_files_save
4087
4088
4089# configure is writing to config.log, and then calls config.status.
4090# config.status does its own redirection, appending to config.log.
4091# Unfortunately, on DOS this fails, as config.log is still kept open
4092# by configure, so config.status won't be able to write to it; its
4093# output is simply discarded. So we exec the FD to /dev/null,
4094# effectively closing config.log, so it can be properly (re)opened and
4095# appended to by config.status. When coming back to configure, we
4096# need to make the FD available again.
4097if test "$no_create" != yes; then
4098 ac_cs_success=:
4099 ac_config_status_args=
4100 test "$silent" = yes &&
4101 ac_config_status_args="$ac_config_status_args --quiet"
4102 exec 5>/dev/null
4103 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4104 exec 5>>config.log
4105 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4106 # would make configure fail if this is the last instruction.
4107 $ac_cs_success || { (exit 1); exit 1; }
4108fi
4109
Note: See TracBrowser for help on using the repository browser.