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

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

Changed the SQLite configure stuff so USE_SQLITE is only defined if it is enabled (and undefined if it is disabled). This is required because the C++ code just uses "#ifdef USE_SQLITE", and previously this was always defined.

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