root/main/trunk/gs2-core/runtime-src/configure @ 21505

Revision 21505, 152.4 KB (checked in by mdewsnip, 10 years ago)

Now compiles src/oaiservr directory too.

  • Property svn:executable set to *
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for greenstone2-runtime-src 2.84.
4#
5# Report bugs to <greenstone@cs.waikato.ac.nz>.
6#
7# Copyright (C) 2003 Free Software Foundation, Inc.
8# This configure script is free software; the Free Software Foundation
9# gives unlimited permission to copy, distribute and modify it.
10## --------------------- ##
11## M4sh Initialization.  ##
12## --------------------- ##
13
14# Be Bourne compatible
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16  emulate sh
17  NULLCMD=:
18  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19  # is contrary to our usage.  Disable this feature.
20  alias -g '${1+"$@"}'='"$@"'
21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22  set -o posix
23fi
24DUALCASE=1; export DUALCASE # for MKS sh
25
26# Support unset when possible.
27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28  as_unset=unset
29else
30  as_unset=false
31fi
32
33
34# Work around bugs in pre-3.0 UWIN ksh.
35$as_unset ENV MAIL MAILPATH
36PS1='$ '
37PS2='> '
38PS4='+ '
39
40# NLS nuisances.
41for as_var in \
42  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44  LC_TELEPHONE LC_TIME
45do
46  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47    eval $as_var=C; export $as_var
48  else
49    $as_unset $as_var
50  fi
51done
52
53# Required to use basename.
54if expr a : '\(a\)' >/dev/null 2>&1; then
55  as_expr=expr
56else
57  as_expr=false
58fi
59
60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61  as_basename=basename
62else
63  as_basename=false
64fi
65
66
67# Name of the executable.
68as_me=`$as_basename "$0" ||
69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70     X"$0" : 'X\(//\)$' \| \
71     X"$0" : 'X\(/\)$' \| \
72     .     : '\(.\)' 2>/dev/null ||
73echo X/"$0" |
74    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75      /^X\/\(\/\/\)$/{ s//\1/; q; }
76      /^X\/\(\/\).*/{ s//\1/; q; }
77      s/.*/./; q'`
78
79
80# PATH needs CR, and LINENO needs CR and PATH.
81# Avoid depending upon Character Ranges.
82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85as_cr_digits='0123456789'
86as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88# The user is always right.
89if test "${PATH_SEPARATOR+set}" != set; then
90  echo "#! /bin/sh" >conf$$.sh
91  echo  "exit 0"   >>conf$$.sh
92  chmod +x conf$$.sh
93  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94    PATH_SEPARATOR=';'
95  else
96    PATH_SEPARATOR=:
97  fi
98  rm -f conf$$.sh
99fi
100
101
102  as_lineno_1=$LINENO
103  as_lineno_2=$LINENO
104  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105  test "x$as_lineno_1" != "x$as_lineno_2" &&
106  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
107  # Find who we are.  Look in the path if we contain no path at all
108  # relative or not.
109  case $0 in
110    *[\\/]* ) as_myself=$0 ;;
111    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112for as_dir in $PATH
113do
114  IFS=$as_save_IFS
115  test -z "$as_dir" && as_dir=.
116  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117done
118
119       ;;
120  esac
121  # We did not find ourselves, most probably we were run as `sh COMMAND'
122  # in which case we are not to be found in the path.
123  if test "x$as_myself" = x; then
124    as_myself=$0
125  fi
126  if test ! -f "$as_myself"; then
127    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128   { (exit 1); exit 1; }; }
129  fi
130  case $CONFIG_SHELL in
131  '')
132    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134do
135  IFS=$as_save_IFS
136  test -z "$as_dir" && as_dir=.
137  for as_base in sh bash ksh sh5; do
138     case $as_dir in
139     /*)
140       if ("$as_dir/$as_base" -c '
141  as_lineno_1=$LINENO
142  as_lineno_2=$LINENO
143  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144  test "x$as_lineno_1" != "x$as_lineno_2" &&
145  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
146         $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147         $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148         CONFIG_SHELL=$as_dir/$as_base
149         export CONFIG_SHELL
150         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151       fi;;
152     esac
153       done
154done
155;;
156  esac
157
158  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159  # uniformly replaced by the line number.  The first 'sed' inserts a
160  # line-number line before each line; the second 'sed' does the real
161  # work.  The second script uses 'N' to pair each line-number line
162  # with the numbered line, and appends trailing '-' during
163  # substitution so that $LINENO is not a special case at line end.
164  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
166  sed '=' <$as_myself |
167    sed '
168      N
169      s,$,-,
170      : loop
171      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172      t loop
173      s,-$,,
174      s,^['$as_cr_digits']*\n,,
175    ' >$as_me.lineno &&
176  chmod +x $as_me.lineno ||
177    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178   { (exit 1); exit 1; }; }
179
180  # Don't try to exec as it changes $[0], causing all sort of problems
181  # (the dirname of $[0] is not the place where we might find the
182  # original and so on.  Autoconf is especially sensible to this).
183  . ./$as_me.lineno
184  # Exit status is that of the last command.
185  exit
186}
187
188
189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190  *c*,-n*) ECHO_N= ECHO_C='
191' ECHO_T='  ' ;;
192  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
194esac
195
196if expr a : '\(a\)' >/dev/null 2>&1; then
197  as_expr=expr
198else
199  as_expr=false
200fi
201
202rm -f conf$$ conf$$.exe conf$$.file
203echo >conf$$.file
204if ln -s conf$$.file conf$$ 2>/dev/null; then
205  # We could just check for DJGPP; but this test a) works b) is more generic
206  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207  if test -f conf$$.exe; then
208    # Don't use ln at all; we don't have any links
209    as_ln_s='cp -p'
210  else
211    as_ln_s='ln -s'
212  fi
213elif ln conf$$.file conf$$ 2>/dev/null; then
214  as_ln_s=ln
215else
216  as_ln_s='cp -p'
217fi
218rm -f conf$$ conf$$.exe conf$$.file
219
220if mkdir -p . 2>/dev/null; then
221  as_mkdir_p=:
222else
223  test -d ./-p && rmdir ./-p
224  as_mkdir_p=false
225fi
226
227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
230as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232# Sed expression to map a string onto a valid variable name.
233as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS="   $as_nl"
241
242# CDPATH.
243$as_unset CDPATH
244
245
246# Name of the host.
247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248# so uname gets run too.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${CONFIG_SHELL-/bin/sh}
263
264# Maximum number of lines to put in a shell here document.
265# This variable seems obsolete.  It should probably be removed, and
266# only ac_max_sed_lines should be used.
267: ${ac_max_here_lines=38}
268
269# Identity of this package.
270PACKAGE_NAME='greenstone2-runtime-src'
271PACKAGE_TARNAME='greenstone2-runtime-src'
272PACKAGE_VERSION='2.84'
273PACKAGE_STRING='greenstone2-runtime-src 2.84'
274PACKAGE_BUGREPORT='greenstone@cs.waikato.ac.nz'
275
276ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX 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_CC_set=${CC+set}
718ac_env_CC_value=$CC
719ac_cv_env_CC_set=${CC+set}
720ac_cv_env_CC_value=$CC
721ac_env_CFLAGS_set=${CFLAGS+set}
722ac_env_CFLAGS_value=$CFLAGS
723ac_cv_env_CFLAGS_set=${CFLAGS+set}
724ac_cv_env_CFLAGS_value=$CFLAGS
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
733ac_env_CXX_set=${CXX+set}
734ac_env_CXX_value=$CXX
735ac_cv_env_CXX_set=${CXX+set}
736ac_cv_env_CXX_value=$CXX
737ac_env_CXXFLAGS_set=${CXXFLAGS+set}
738ac_env_CXXFLAGS_value=$CXXFLAGS
739ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
740ac_cv_env_CXXFLAGS_value=$CXXFLAGS
741
742#
743# Report the --help message.
744#
745if test "$ac_init_help" = "long"; then
746  # Omit some internal or obsolete options to make the list less imposing.
747  # This message is too long to be a string in the A/UX 3.1 sh.
748  cat <<_ACEOF
749\`configure' configures greenstone2-runtime-src 2.84 to adapt to many kinds of systems.
750
751Usage: $0 [OPTION]... [VAR=VALUE]...
752
753To assign environment variables (e.g., CC, CFLAGS...), specify them as
754VAR=VALUE.  See below for descriptions of some of the useful variables.
755
756Defaults for the options are specified in brackets.
757
758Configuration:
759  -h, --help              display this help and exit
760      --help=short        display options specific to this package
761      --help=recursive    display the short help of all the included packages
762  -V, --version           display version information and exit
763  -q, --quiet, --silent   do not print \`checking...' messages
764      --cache-file=FILE   cache test results in FILE [disabled]
765  -C, --config-cache      alias for \`--cache-file=config.cache'
766  -n, --no-create         do not create output files
767      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
768
769_ACEOF
770
771  cat <<_ACEOF
772Installation directories:
773  --prefix=PREFIX         install architecture-independent files in PREFIX
774              [$ac_default_prefix]
775  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
776              [PREFIX]
777
778By default, \`make install' will install all the files in
779\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
780an installation prefix other than \`$ac_default_prefix' using \`--prefix',
781for instance \`--prefix=\$HOME'.
782
783For better control, use the options below.
784
785Fine tuning of the installation directories:
786  --bindir=DIR           user executables [EPREFIX/bin]
787  --sbindir=DIR          system admin executables [EPREFIX/sbin]
788  --libexecdir=DIR       program executables [EPREFIX/libexec]
789  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
790  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
791  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
792  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
793  --libdir=DIR           object code libraries [EPREFIX/lib]
794  --includedir=DIR       C header files [PREFIX/include]
795  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
796  --infodir=DIR          info documentation [PREFIX/info]
797  --mandir=DIR           man documentation [PREFIX/man]
798_ACEOF
799
800  cat <<\_ACEOF
801
802Program names:
803  --program-prefix=PREFIX            prepend PREFIX to installed program names
804  --program-suffix=SUFFIX            append SUFFIX to installed program names
805  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
806
807System types:
808  --build=BUILD     configure for building on BUILD [guessed]
809  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
810_ACEOF
811fi
812
813if test -n "$ac_init_help"; then
814  case $ac_init_help in
815     short | recursive ) echo "Configuration of greenstone2-runtime-src 2.84:";;
816   esac
817  cat <<\_ACEOF
818
819Optional Features:
820  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
821  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
822  --disable-dependency-tracking  speeds up one-time build
823  --enable-dependency-tracking   do not reject slow dependency extractors
824 --enable-sqlite  Enable SQLite support
825
826Some influential environment variables:
827  CC          C compiler command
828  CFLAGS      C compiler flags
829  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
830              nonstandard directory <lib dir>
831  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
832              headers in a nonstandard directory <include dir>
833  CXX         C++ compiler command
834  CXXFLAGS    C++ compiler flags
835
836Use these variables to override the choices made by `configure' or to help
837it to find libraries and programs with nonstandard names/locations.
838
839Report bugs to <greenstone@cs.waikato.ac.nz>.
840_ACEOF
841fi
842
843if test "$ac_init_help" = "recursive"; then
844  # If there are subdirs, report their specific --help.
845  ac_popdir=`pwd`
846  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
847    test -d $ac_dir || continue
848    ac_builddir=.
849
850if test "$ac_dir" != .; then
851  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
852  # A "../" for each directory in $ac_dir_suffix.
853  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
854else
855  ac_dir_suffix= ac_top_builddir=
856fi
857
858case $srcdir in
859  .)  # No --srcdir option.  We are building in place.
860    ac_srcdir=.
861    if test -z "$ac_top_builddir"; then
862       ac_top_srcdir=.
863    else
864       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
865    fi ;;
866  [\\/]* | ?:[\\/]* )  # Absolute path.
867    ac_srcdir=$srcdir$ac_dir_suffix;
868    ac_top_srcdir=$srcdir ;;
869  *) # Relative path.
870    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
871    ac_top_srcdir=$ac_top_builddir$srcdir ;;
872esac
873
874# Do not use `cd foo && pwd` to compute absolute paths, because
875# the directories may not exist.
876case `pwd` in
877.) ac_abs_builddir="$ac_dir";;
878*)
879  case "$ac_dir" in
880  .) ac_abs_builddir=`pwd`;;
881  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
882  *) ac_abs_builddir=`pwd`/"$ac_dir";;
883  esac;;
884esac
885case $ac_abs_builddir in
886.) ac_abs_top_builddir=${ac_top_builddir}.;;
887*)
888  case ${ac_top_builddir}. in
889  .) ac_abs_top_builddir=$ac_abs_builddir;;
890  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
891  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
892  esac;;
893esac
894case $ac_abs_builddir in
895.) ac_abs_srcdir=$ac_srcdir;;
896*)
897  case $ac_srcdir in
898  .) ac_abs_srcdir=$ac_abs_builddir;;
899  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
900  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
901  esac;;
902esac
903case $ac_abs_builddir in
904.) ac_abs_top_srcdir=$ac_top_srcdir;;
905*)
906  case $ac_top_srcdir in
907  .) ac_abs_top_srcdir=$ac_abs_builddir;;
908  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
909  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
910  esac;;
911esac
912
913    cd $ac_dir
914    # Check for guested configure; otherwise get Cygnus style configure.
915    if test -f $ac_srcdir/configure.gnu; then
916      echo
917      $SHELL $ac_srcdir/configure.gnu  --help=recursive
918    elif test -f $ac_srcdir/configure; then
919      echo
920      $SHELL $ac_srcdir/configure  --help=recursive
921    elif test -f $ac_srcdir/configure.ac ||
922       test -f $ac_srcdir/configure.in; then
923      echo
924      $ac_configure --help
925    else
926      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
927    fi
928    cd $ac_popdir
929  done
930fi
931
932test -n "$ac_init_help" && exit 0
933if $ac_init_version; then
934  cat <<\_ACEOF
935greenstone2-runtime-src configure 2.84
936generated by GNU Autoconf 2.59
937
938Copyright (C) 2003 Free Software Foundation, Inc.
939This configure script is free software; the Free Software Foundation
940gives unlimited permission to copy, distribute and modify it.
941_ACEOF
942  exit 0
943fi
944exec 5>config.log
945cat >&5 <<_ACEOF
946This file contains any messages produced by compilers while
947running configure, to aid debugging if configure makes a mistake.
948
949It was created by greenstone2-runtime-src $as_me 2.84, which was
950generated by GNU Autoconf 2.59.  Invocation command line was
951
952  $ $0 $@
953
954_ACEOF
955{
956cat <<_ASUNAME
957## --------- ##
958## Platform. ##
959## --------- ##
960
961hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
962uname -m = `(uname -m) 2>/dev/null || echo unknown`
963uname -r = `(uname -r) 2>/dev/null || echo unknown`
964uname -s = `(uname -s) 2>/dev/null || echo unknown`
965uname -v = `(uname -v) 2>/dev/null || echo unknown`
966
967/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
968/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
969
970/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
971/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
972/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
973hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
974/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
975/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
976/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
977
978_ASUNAME
979
980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
981for as_dir in $PATH
982do
983  IFS=$as_save_IFS
984  test -z "$as_dir" && as_dir=.
985  echo "PATH: $as_dir"
986done
987
988} >&5
989
990cat >&5 <<_ACEOF
991
992
993## ----------- ##
994## Core tests. ##
995## ----------- ##
996
997_ACEOF
998
999
1000# Keep a trace of the command line.
1001# Strip out --no-create and --no-recursion so they do not pile up.
1002# Strip out --silent because we don't want to record it for future runs.
1003# Also quote any args containing shell meta-characters.
1004# Make two passes to allow for proper duplicate-argument suppression.
1005ac_configure_args=
1006ac_configure_args0=
1007ac_configure_args1=
1008ac_sep=
1009ac_must_keep_next=false
1010for ac_pass in 1 2
1011do
1012  for ac_arg
1013  do
1014    case $ac_arg in
1015    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1016    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1017    | -silent | --silent | --silen | --sile | --sil)
1018      continue ;;
1019    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1020      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1021    esac
1022    case $ac_pass in
1023    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1024    2)
1025      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1026      if test $ac_must_keep_next = true; then
1027    ac_must_keep_next=false # Got value, back to normal.
1028      else
1029    case $ac_arg in
1030      *=* | --config-cache | -C | -disable-* | --disable-* \
1031      | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1032      | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1033      | -with-* | --with-* | -without-* | --without-* | --x)
1034        case "$ac_configure_args0 " in
1035          "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1036        esac
1037        ;;
1038      -* ) ac_must_keep_next=true ;;
1039    esac
1040      fi
1041      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1042      # Get rid of the leading space.
1043      ac_sep=" "
1044      ;;
1045    esac
1046  done
1047done
1048$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1049$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1050
1051# When interrupted or exit'd, cleanup temporary files, and complete
1052# config.log.  We remove comments because anyway the quotes in there
1053# would cause problems or look ugly.
1054# WARNING: Be sure not to use single quotes in there, as some shells,
1055# such as our DU 5.0 friend, will then `close' the trap.
1056trap 'exit_status=$?
1057  # Save into config.log some information that might help in debugging.
1058  {
1059    echo
1060
1061    cat <<\_ASBOX
1062## ---------------- ##
1063## Cache variables. ##
1064## ---------------- ##
1065_ASBOX
1066    echo
1067    # The following way of writing the cache mishandles newlines in values,
1068{
1069  (set) 2>&1 |
1070    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1071    *ac_space=\ *)
1072      sed -n \
1073    "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1074      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1075      ;;
1076    *)
1077      sed -n \
1078    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1079      ;;
1080    esac;
1081}
1082    echo
1083
1084    cat <<\_ASBOX
1085## ----------------- ##
1086## Output variables. ##
1087## ----------------- ##
1088_ASBOX
1089    echo
1090    for ac_var in $ac_subst_vars
1091    do
1092      eval ac_val=$`echo $ac_var`
1093      echo "$ac_var='"'"'$ac_val'"'"'"
1094    done | sort
1095    echo
1096
1097    if test -n "$ac_subst_files"; then
1098      cat <<\_ASBOX
1099## ------------- ##
1100## Output files. ##
1101## ------------- ##
1102_ASBOX
1103      echo
1104      for ac_var in $ac_subst_files
1105      do
1106    eval ac_val=$`echo $ac_var`
1107    echo "$ac_var='"'"'$ac_val'"'"'"
1108      done | sort
1109      echo
1110    fi
1111
1112    if test -s confdefs.h; then
1113      cat <<\_ASBOX
1114## ----------- ##
1115## confdefs.h. ##
1116## ----------- ##
1117_ASBOX
1118      echo
1119      sed "/^$/d" confdefs.h | sort
1120      echo
1121    fi
1122    test "$ac_signal" != 0 &&
1123      echo "$as_me: caught signal $ac_signal"
1124    echo "$as_me: exit $exit_status"
1125  } >&5
1126  rm -f core *.core &&
1127  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1128    exit $exit_status
1129     ' 0
1130for ac_signal in 1 2 13 15; do
1131  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1132done
1133ac_signal=0
1134
1135# confdefs.h avoids OS command line length limits that DEFS can exceed.
1136rm -rf conftest* confdefs.h
1137# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1138echo >confdefs.h
1139
1140# Predefined preprocessor variables.
1141
1142cat >>confdefs.h <<_ACEOF
1143#define PACKAGE_NAME "$PACKAGE_NAME"
1144_ACEOF
1145
1146
1147cat >>confdefs.h <<_ACEOF
1148#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1149_ACEOF
1150
1151
1152cat >>confdefs.h <<_ACEOF
1153#define PACKAGE_VERSION "$PACKAGE_VERSION"
1154_ACEOF
1155
1156
1157cat >>confdefs.h <<_ACEOF
1158#define PACKAGE_STRING "$PACKAGE_STRING"
1159_ACEOF
1160
1161
1162cat >>confdefs.h <<_ACEOF
1163#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1164_ACEOF
1165
1166
1167# Let the site file select an alternate cache file if it wants to.
1168# Prefer explicitly selected file to automatically selected ones.
1169if test -z "$CONFIG_SITE"; then
1170  if test "x$prefix" != xNONE; then
1171    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1172  else
1173    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1174  fi
1175fi
1176for ac_site_file in $CONFIG_SITE; do
1177  if test -r "$ac_site_file"; then
1178    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1179echo "$as_me: loading site script $ac_site_file" >&6;}
1180    sed 's/^/| /' "$ac_site_file" >&5
1181    . "$ac_site_file"
1182  fi
1183done
1184
1185if test -r "$cache_file"; then
1186  # Some versions of bash will fail to source /dev/null (special
1187  # files actually), so we avoid doing that.
1188  if test -f "$cache_file"; then
1189    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1190echo "$as_me: loading cache $cache_file" >&6;}
1191    case $cache_file in
1192      [\\/]* | ?:[\\/]* ) . $cache_file;;
1193      *)                      . ./$cache_file;;
1194    esac
1195  fi
1196else
1197  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1198echo "$as_me: creating cache $cache_file" >&6;}
1199  >$cache_file
1200fi
1201
1202# Check that the precious variables saved in the cache have kept the same
1203# value.
1204ac_cache_corrupted=false
1205for ac_var in `(set) 2>&1 |
1206           sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1207  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1208  eval ac_new_set=\$ac_env_${ac_var}_set
1209  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1210  eval ac_new_val="\$ac_env_${ac_var}_value"
1211  case $ac_old_set,$ac_new_set in
1212    set,)
1213      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1214echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1215      ac_cache_corrupted=: ;;
1216    ,set)
1217      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1218echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1219      ac_cache_corrupted=: ;;
1220    ,);;
1221    *)
1222      if test "x$ac_old_val" != "x$ac_new_val"; then
1223    { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1224echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1225    { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1226echo "$as_me:   former value:  $ac_old_val" >&2;}
1227    { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1228echo "$as_me:   current value: $ac_new_val" >&2;}
1229    ac_cache_corrupted=:
1230      fi;;
1231  esac
1232  # Pass precious variables to config.status.
1233  if test "$ac_new_set" = set; then
1234    case $ac_new_val in
1235    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1236      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1237    *) ac_arg=$ac_var=$ac_new_val ;;
1238    esac
1239    case " $ac_configure_args " in
1240      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1241      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1242    esac
1243  fi
1244done
1245if $ac_cache_corrupted; then
1246  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1247echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1248  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1249echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1250   { (exit 1); exit 1; }; }
1251fi
1252
1253ac_ext=c
1254ac_cpp='$CPP $CPPFLAGS'
1255ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1256ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1257ac_compiler_gnu=$ac_cv_c_compiler_gnu
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285ac_aux_dir=
1286for ac_dir in . $srcdir/.; do
1287  if test -f $ac_dir/install-sh; then
1288    ac_aux_dir=$ac_dir
1289    ac_install_sh="$ac_aux_dir/install-sh -c"
1290    break
1291  elif test -f $ac_dir/install.sh; then
1292    ac_aux_dir=$ac_dir
1293    ac_install_sh="$ac_aux_dir/install.sh -c"
1294    break
1295  elif test -f $ac_dir/shtool; then
1296    ac_aux_dir=$ac_dir
1297    ac_install_sh="$ac_aux_dir/shtool install -c"
1298    break
1299  fi
1300done
1301if test -z "$ac_aux_dir"; then
1302  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in . $srcdir/." >&5
1303echo "$as_me: error: cannot find install-sh or install.sh in . $srcdir/." >&2;}
1304   { (exit 1); exit 1; }; }
1305fi
1306ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1307ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1308ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1309
1310          ac_config_headers="$ac_config_headers config.h"
1311
1312am__api_version="1.9"
1313# Find a good install program.  We prefer a C program (faster),
1314# so one script is as good as another.  But avoid the broken or
1315# incompatible versions:
1316# SysV /etc/install, /usr/sbin/install
1317# SunOS /usr/etc/install
1318# IRIX /sbin/install
1319# AIX /bin/install
1320# AmigaOS /C/install, which installs bootblocks on floppy discs
1321# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1322# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1323# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1324# OS/2's system install, which has a completely different semantic
1325# ./install, which can be erroneously created by make from ./install.sh.
1326echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1327echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1328if test -z "$INSTALL"; then
1329if test "${ac_cv_path_install+set}" = set; then
1330  echo $ECHO_N "(cached) $ECHO_C" >&6
1331else
1332  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1333for as_dir in $PATH
1334do
1335  IFS=$as_save_IFS
1336  test -z "$as_dir" && as_dir=.
1337  # Account for people who put trailing slashes in PATH elements.
1338case $as_dir/ in
1339  ./ | .// | /cC/* | \
1340  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1341  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1342  /usr/ucb/* ) ;;
1343  *)
1344    # OSF1 and SCO ODT 3.0 have their own names for install.
1345    # Don't use installbsd from OSF since it installs stuff as root
1346    # by default.
1347    for ac_prog in ginstall scoinst install; do
1348      for ac_exec_ext in '' $ac_executable_extensions; do
1349    if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1350      if test $ac_prog = install &&
1351        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1352        # AIX install.  It has an incompatible calling convention.
1353        :
1354      elif test $ac_prog = install &&
1355        grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1356        # program-specific install script used by HP pwplus--don't use.
1357        :
1358      else
1359        ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1360        break 3
1361      fi
1362    fi
1363      done
1364    done
1365    ;;
1366esac
1367done
1368
1369
1370fi
1371  if test "${ac_cv_path_install+set}" = set; then
1372    INSTALL=$ac_cv_path_install
1373  else
1374    # As a last resort, use the slow shell script.  We don't cache a
1375    # path for INSTALL within a source directory, because that will
1376    # break other packages using the cache if that directory is
1377    # removed, or if the path is relative.
1378    INSTALL=$ac_install_sh
1379  fi
1380fi
1381echo "$as_me:$LINENO: result: $INSTALL" >&5
1382echo "${ECHO_T}$INSTALL" >&6
1383
1384# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1385# It thinks the first close brace ends the variable substitution.
1386test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1387
1388test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1389
1390test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1391
1392echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1393echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1394# Just in case
1395sleep 1
1396echo timestamp > conftest.file
1397# Do `set' in a subshell so we don't clobber the current shell's
1398# arguments.  Must try -L first in case configure is actually a
1399# symlink; some systems play weird games with the mod time of symlinks
1400# (eg FreeBSD returns the mod time of the symlink's containing
1401# directory).
1402if (
1403   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1404   if test "$*" = "X"; then
1405      # -L didn't work.
1406      set X `ls -t $srcdir/configure conftest.file`
1407   fi
1408   rm -f conftest.file
1409   if test "$*" != "X $srcdir/configure conftest.file" \
1410      && test "$*" != "X conftest.file $srcdir/configure"; then
1411
1412      # If neither matched, then we have a broken ls.  This can happen
1413      # if, for instance, CONFIG_SHELL is bash and it inherits a
1414      # broken ls alias from the environment.  This has actually
1415      # happened.  Such a system could not be considered "sane".
1416      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1417alias in your environment" >&5
1418echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1419alias in your environment" >&2;}
1420   { (exit 1); exit 1; }; }
1421   fi
1422
1423   test "$2" = conftest.file
1424   )
1425then
1426   # Ok.
1427   :
1428else
1429   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1430Check your system clock" >&5
1431echo "$as_me: error: newly created file is older than distributed files!
1432Check your system clock" >&2;}
1433   { (exit 1); exit 1; }; }
1434fi
1435echo "$as_me:$LINENO: result: yes" >&5
1436echo "${ECHO_T}yes" >&6
1437test "$program_prefix" != NONE &&
1438  program_transform_name="s,^,$program_prefix,;$program_transform_name"
1439# Use a double $ so make ignores it.
1440test "$program_suffix" != NONE &&
1441  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1442# Double any \ or $.  echo might interpret backslashes.
1443# By default was `s,x,x', remove it if useless.
1444cat <<\_ACEOF >conftest.sed
1445s/[\\$]/&&/g;s/;s,x,x,$//
1446_ACEOF
1447program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1448rm conftest.sed
1449
1450# expand $ac_aux_dir to an absolute path
1451am_aux_dir=`cd $ac_aux_dir && pwd`
1452
1453test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1454# Use eval to expand $SHELL
1455if eval "$MISSING --run true"; then
1456  am_missing_run="$MISSING --run "
1457else
1458  am_missing_run=
1459  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1460echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1461fi
1462
1463if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1464  # We used to keeping the `.' as first argument, in order to
1465  # allow $(mkdir_p) to be used without argument.  As in
1466  #   $(mkdir_p) $(somedir)
1467  # where $(somedir) is conditionally defined.  However this is wrong
1468  # for two reasons:
1469  #  1. if the package is installed by a user who cannot write `.'
1470  #     make install will fail,
1471  #  2. the above comment should most certainly read
1472  #     $(mkdir_p) $(DESTDIR)$(somedir)
1473  #     so it does not work when $(somedir) is undefined and
1474  #     $(DESTDIR) is not.
1475  #  To support the latter case, we have to write
1476  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1477  #  so the `.' trick is pointless.
1478  mkdir_p='mkdir -p --'
1479else
1480  # On NextStep and OpenStep, the `mkdir' command does not
1481  # recognize any option.  It will interpret all options as
1482  # directories to create, and then abort because `.' already
1483  # exists.
1484  for d in ./-p ./--version;
1485  do
1486    test -d $d && rmdir $d
1487  done
1488  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1489  if test -f "$ac_aux_dir/mkinstalldirs"; then
1490    mkdir_p='$(mkinstalldirs)'
1491  else
1492    mkdir_p='$(install_sh) -d'
1493  fi
1494fi
1495
1496for ac_prog in gawk mawk nawk awk
1497do
1498  # Extract the first word of "$ac_prog", so it can be a program name with args.
1499set dummy $ac_prog; ac_word=$2
1500echo "$as_me:$LINENO: checking for $ac_word" >&5
1501echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1502if test "${ac_cv_prog_AWK+set}" = set; then
1503  echo $ECHO_N "(cached) $ECHO_C" >&6
1504else
1505  if test -n "$AWK"; then
1506  ac_cv_prog_AWK="$AWK" # Let the user override the test.
1507else
1508as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1509for as_dir in $PATH
1510do
1511  IFS=$as_save_IFS
1512  test -z "$as_dir" && as_dir=.
1513  for ac_exec_ext in '' $ac_executable_extensions; do
1514  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1515    ac_cv_prog_AWK="$ac_prog"
1516    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1517    break 2
1518  fi
1519done
1520done
1521
1522fi
1523fi
1524AWK=$ac_cv_prog_AWK
1525if test -n "$AWK"; then
1526  echo "$as_me:$LINENO: result: $AWK" >&5
1527echo "${ECHO_T}$AWK" >&6
1528else
1529  echo "$as_me:$LINENO: result: no" >&5
1530echo "${ECHO_T}no" >&6
1531fi
1532
1533  test -n "$AWK" && break
1534done
1535
1536echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1537echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1538set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1539if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1540  echo $ECHO_N "(cached) $ECHO_C" >&6
1541else
1542  cat >conftest.make <<\_ACEOF
1543all:
1544    @echo 'ac_maketemp="$(MAKE)"'
1545_ACEOF
1546# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1547eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1548if test -n "$ac_maketemp"; then
1549  eval ac_cv_prog_make_${ac_make}_set=yes
1550else
1551  eval ac_cv_prog_make_${ac_make}_set=no
1552fi
1553rm -f conftest.make
1554fi
1555if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1556  echo "$as_me:$LINENO: result: yes" >&5
1557echo "${ECHO_T}yes" >&6
1558  SET_MAKE=
1559else
1560  echo "$as_me:$LINENO: result: no" >&5
1561echo "${ECHO_T}no" >&6
1562  SET_MAKE="MAKE=${MAKE-make}"
1563fi
1564
1565rm -rf .tst 2>/dev/null
1566mkdir .tst 2>/dev/null
1567if test -d .tst; then
1568  am__leading_dot=.
1569else
1570  am__leading_dot=_
1571fi
1572rmdir .tst 2>/dev/null
1573
1574# test to see if srcdir already configured
1575if test "`cd $srcdir && pwd`" != "`pwd`" &&
1576   test -f $srcdir/config.status; then
1577  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1578echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1579   { (exit 1); exit 1; }; }
1580fi
1581
1582# test whether we have cygpath
1583if test -z "$CYGPATH_W"; then
1584  if (cygpath --version) >/dev/null 2>/dev/null; then
1585    CYGPATH_W='cygpath -w'
1586  else
1587    CYGPATH_W=echo
1588  fi
1589fi
1590
1591
1592# Define the identity of the package.
1593 PACKAGE='greenstone2-runtime-src'
1594 VERSION='2.84'
1595
1596
1597# Some tools Automake needs.
1598
1599ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1600
1601
1602AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1603
1604
1605AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1606
1607
1608AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1609
1610
1611MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1612
1613install_sh=${install_sh-"$am_aux_dir/install-sh"}
1614
1615# Installed binaries are usually stripped using `strip' when the user
1616# run `make install-strip'.  However `strip' might not be the right
1617# tool to use in cross-compilation environments, therefore Automake
1618# will honor the `STRIP' environment variable to overrule this program.
1619if test "$cross_compiling" != no; then
1620  if test -n "$ac_tool_prefix"; then
1621  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1622set dummy ${ac_tool_prefix}strip; ac_word=$2
1623echo "$as_me:$LINENO: checking for $ac_word" >&5
1624echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1625if test "${ac_cv_prog_STRIP+set}" = set; then
1626  echo $ECHO_N "(cached) $ECHO_C" >&6
1627else
1628  if test -n "$STRIP"; then
1629  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1630else
1631as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1632for as_dir in $PATH
1633do
1634  IFS=$as_save_IFS
1635  test -z "$as_dir" && as_dir=.
1636  for ac_exec_ext in '' $ac_executable_extensions; do
1637  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1638    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1639    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1640    break 2
1641  fi
1642done
1643done
1644
1645fi
1646fi
1647STRIP=$ac_cv_prog_STRIP
1648if test -n "$STRIP"; then
1649  echo "$as_me:$LINENO: result: $STRIP" >&5
1650echo "${ECHO_T}$STRIP" >&6
1651else
1652  echo "$as_me:$LINENO: result: no" >&5
1653echo "${ECHO_T}no" >&6
1654fi
1655
1656fi
1657if test -z "$ac_cv_prog_STRIP"; then
1658  ac_ct_STRIP=$STRIP
1659  # Extract the first word of "strip", so it can be a program name with args.
1660set dummy strip; ac_word=$2
1661echo "$as_me:$LINENO: checking for $ac_word" >&5
1662echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1663if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1664  echo $ECHO_N "(cached) $ECHO_C" >&6
1665else
1666  if test -n "$ac_ct_STRIP"; then
1667  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1668else
1669as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1670for as_dir in $PATH
1671do
1672  IFS=$as_save_IFS
1673  test -z "$as_dir" && as_dir=.
1674  for ac_exec_ext in '' $ac_executable_extensions; do
1675  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1676    ac_cv_prog_ac_ct_STRIP="strip"
1677    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1678    break 2
1679  fi
1680done
1681done
1682
1683  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1684fi
1685fi
1686ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1687if test -n "$ac_ct_STRIP"; then
1688  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1689echo "${ECHO_T}$ac_ct_STRIP" >&6
1690else
1691  echo "$as_me:$LINENO: result: no" >&5
1692echo "${ECHO_T}no" >&6
1693fi
1694
1695  STRIP=$ac_ct_STRIP
1696else
1697  STRIP="$ac_cv_prog_STRIP"
1698fi
1699
1700fi
1701INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1702
1703# We need awk for the "check" target.  The system "awk" is bad on
1704# some platforms.
1705# Always define AMTAR for backward compatibility.
1706
1707AMTAR=${AMTAR-"${am_missing_run}tar"}
1708
1709am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1710
1711
1712
1713
1714
1715
1716# This package requires the crypt library
1717DEPDIR="${am__leading_dot}deps"
1718
1719          ac_config_commands="$ac_config_commands depfiles"
1720
1721
1722am_make=${MAKE-make}
1723cat > confinc << 'END'
1724am__doit:
1725    @echo done
1726.PHONY: am__doit
1727END
1728# If we don't find an include directive, just comment out the code.
1729echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
1730echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
1731am__include="#"
1732am__quote=
1733_am_result=none
1734# First try GNU make style include.
1735echo "include confinc" > confmf
1736# We grep out `Entering directory' and `Leaving directory'
1737# messages which can occur if `w' ends up in MAKEFLAGS.
1738# In particular we don't look at `^make:' because GNU make might
1739# be invoked under some other name (usually "gmake"), in which
1740# case it prints its new name instead of `make'.
1741if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
1742   am__include=include
1743   am__quote=
1744   _am_result=GNU
1745fi
1746# Now try BSD make style include.
1747if test "$am__include" = "#"; then
1748   echo '.include "confinc"' > confmf
1749   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1750      am__include=.include
1751      am__quote="\""
1752      _am_result=BSD
1753   fi
1754fi
1755
1756
1757echo "$as_me:$LINENO: result: $_am_result" >&5
1758echo "${ECHO_T}$_am_result" >&6
1759rm -f confinc confmf
1760
1761# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1762if test "${enable_dependency_tracking+set}" = set; then
1763  enableval="$enable_dependency_tracking"
1764
1765fi;
1766if test "x$enable_dependency_tracking" != xno; then
1767  am_depcomp="$ac_aux_dir/depcomp"
1768  AMDEPBACKSLASH='\'
1769fi
1770
1771
1772if test "x$enable_dependency_tracking" != xno; then
1773  AMDEP_TRUE=
1774  AMDEP_FALSE='#'
1775else
1776  AMDEP_TRUE='#'
1777  AMDEP_FALSE=
1778fi
1779
1780
1781
1782ac_ext=c
1783ac_cpp='$CPP $CPPFLAGS'
1784ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1785ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1786ac_compiler_gnu=$ac_cv_c_compiler_gnu
1787if test -n "$ac_tool_prefix"; then
1788  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1789set dummy ${ac_tool_prefix}gcc; ac_word=$2
1790echo "$as_me:$LINENO: checking for $ac_word" >&5
1791echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1792if test "${ac_cv_prog_CC+set}" = set; then
1793  echo $ECHO_N "(cached) $ECHO_C" >&6
1794else
1795  if test -n "$CC"; then
1796  ac_cv_prog_CC="$CC" # Let the user override the test.
1797else
1798as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1799for as_dir in $PATH
1800do
1801  IFS=$as_save_IFS
1802  test -z "$as_dir" && as_dir=.
1803  for ac_exec_ext in '' $ac_executable_extensions; do
1804  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1805    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1806    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1807    break 2
1808  fi
1809done
1810done
1811
1812fi
1813fi
1814CC=$ac_cv_prog_CC
1815if test -n "$CC"; then
1816  echo "$as_me:$LINENO: result: $CC" >&5
1817echo "${ECHO_T}$CC" >&6
1818else
1819  echo "$as_me:$LINENO: result: no" >&5
1820echo "${ECHO_T}no" >&6
1821fi
1822
1823fi
1824if test -z "$ac_cv_prog_CC"; then
1825  ac_ct_CC=$CC
1826  # Extract the first word of "gcc", so it can be a program name with args.
1827set dummy gcc; ac_word=$2
1828echo "$as_me:$LINENO: checking for $ac_word" >&5
1829echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1830if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1831  echo $ECHO_N "(cached) $ECHO_C" >&6
1832else
1833  if test -n "$ac_ct_CC"; then
1834  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1835else
1836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1837for as_dir in $PATH
1838do
1839  IFS=$as_save_IFS
1840  test -z "$as_dir" && as_dir=.
1841  for ac_exec_ext in '' $ac_executable_extensions; do
1842  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1843    ac_cv_prog_ac_ct_CC="gcc"
1844    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1845    break 2
1846  fi
1847done
1848done
1849
1850fi
1851fi
1852ac_ct_CC=$ac_cv_prog_ac_ct_CC
1853if test -n "$ac_ct_CC"; then
1854  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1855echo "${ECHO_T}$ac_ct_CC" >&6
1856else
1857  echo "$as_me:$LINENO: result: no" >&5
1858echo "${ECHO_T}no" >&6
1859fi
1860
1861  CC=$ac_ct_CC
1862else
1863  CC="$ac_cv_prog_CC"
1864fi
1865
1866if test -z "$CC"; then
1867  if test -n "$ac_tool_prefix"; then
1868  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1869set dummy ${ac_tool_prefix}cc; ac_word=$2
1870echo "$as_me:$LINENO: checking for $ac_word" >&5
1871echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1872if test "${ac_cv_prog_CC+set}" = set; then
1873  echo $ECHO_N "(cached) $ECHO_C" >&6
1874else
1875  if test -n "$CC"; then
1876  ac_cv_prog_CC="$CC" # Let the user override the test.
1877else
1878as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1879for as_dir in $PATH
1880do
1881  IFS=$as_save_IFS
1882  test -z "$as_dir" && as_dir=.
1883  for ac_exec_ext in '' $ac_executable_extensions; do
1884  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1885    ac_cv_prog_CC="${ac_tool_prefix}cc"
1886    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1887    break 2
1888  fi
1889done
1890done
1891
1892fi
1893fi
1894CC=$ac_cv_prog_CC
1895if test -n "$CC"; then
1896  echo "$as_me:$LINENO: result: $CC" >&5
1897echo "${ECHO_T}$CC" >&6
1898else
1899  echo "$as_me:$LINENO: result: no" >&5
1900echo "${ECHO_T}no" >&6
1901fi
1902
1903fi
1904if test -z "$ac_cv_prog_CC"; then
1905  ac_ct_CC=$CC
1906  # Extract the first word of "cc", so it can be a program name with args.
1907set dummy cc; ac_word=$2
1908echo "$as_me:$LINENO: checking for $ac_word" >&5
1909echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1910if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1911  echo $ECHO_N "(cached) $ECHO_C" >&6
1912else
1913  if test -n "$ac_ct_CC"; then
1914  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1915else
1916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917for as_dir in $PATH
1918do
1919  IFS=$as_save_IFS
1920  test -z "$as_dir" && as_dir=.
1921  for ac_exec_ext in '' $ac_executable_extensions; do
1922  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1923    ac_cv_prog_ac_ct_CC="cc"
1924    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1925    break 2
1926  fi
1927done
1928done
1929
1930fi
1931fi
1932ac_ct_CC=$ac_cv_prog_ac_ct_CC
1933if test -n "$ac_ct_CC"; then
1934  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1935echo "${ECHO_T}$ac_ct_CC" >&6
1936else
1937  echo "$as_me:$LINENO: result: no" >&5
1938echo "${ECHO_T}no" >&6
1939fi
1940
1941  CC=$ac_ct_CC
1942else
1943  CC="$ac_cv_prog_CC"
1944fi
1945
1946fi
1947if test -z "$CC"; then
1948  # Extract the first word of "cc", so it can be a program name with args.
1949set dummy cc; ac_word=$2
1950echo "$as_me:$LINENO: checking for $ac_word" >&5
1951echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1952if test "${ac_cv_prog_CC+set}" = set; then
1953  echo $ECHO_N "(cached) $ECHO_C" >&6
1954else
1955  if test -n "$CC"; then
1956  ac_cv_prog_CC="$CC" # Let the user override the test.
1957else
1958  ac_prog_rejected=no
1959as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1960for as_dir in $PATH
1961do
1962  IFS=$as_save_IFS
1963  test -z "$as_dir" && as_dir=.
1964  for ac_exec_ext in '' $ac_executable_extensions; do
1965  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1966    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1967       ac_prog_rejected=yes
1968       continue
1969     fi
1970    ac_cv_prog_CC="cc"
1971    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1972    break 2
1973  fi
1974done
1975done
1976
1977if test $ac_prog_rejected = yes; then
1978  # We found a bogon in the path, so make sure we never use it.
1979  set dummy $ac_cv_prog_CC
1980  shift
1981  if test $# != 0; then
1982    # We chose a different compiler from the bogus one.
1983    # However, it has the same basename, so the bogon will be chosen
1984    # first if we set CC to just the basename; use the full file name.
1985    shift
1986    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1987  fi
1988fi
1989fi
1990fi
1991CC=$ac_cv_prog_CC
1992if test -n "$CC"; then
1993  echo "$as_me:$LINENO: result: $CC" >&5
1994echo "${ECHO_T}$CC" >&6
1995else
1996  echo "$as_me:$LINENO: result: no" >&5
1997echo "${ECHO_T}no" >&6
1998fi
1999
2000fi
2001if test -z "$CC"; then
2002  if test -n "$ac_tool_prefix"; then
2003  for ac_prog in cl
2004  do
2005    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2006set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2007echo "$as_me:$LINENO: checking for $ac_word" >&5
2008echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2009if test "${ac_cv_prog_CC+set}" = set; then
2010  echo $ECHO_N "(cached) $ECHO_C" >&6
2011else
2012  if test -n "$CC"; then
2013  ac_cv_prog_CC="$CC" # Let the user override the test.
2014else
2015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2016for as_dir in $PATH
2017do
2018  IFS=$as_save_IFS
2019  test -z "$as_dir" && as_dir=.
2020  for ac_exec_ext in '' $ac_executable_extensions; do
2021  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2022    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2023    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2024    break 2
2025  fi
2026done
2027done
2028
2029fi
2030fi
2031CC=$ac_cv_prog_CC
2032if test -n "$CC"; then
2033  echo "$as_me:$LINENO: result: $CC" >&5
2034echo "${ECHO_T}$CC" >&6
2035else
2036  echo "$as_me:$LINENO: result: no" >&5
2037echo "${ECHO_T}no" >&6
2038fi
2039
2040    test -n "$CC" && break
2041  done
2042fi
2043if test -z "$CC"; then
2044  ac_ct_CC=$CC
2045  for ac_prog in cl
2046do
2047  # Extract the first word of "$ac_prog", so it can be a program name with args.
2048set dummy $ac_prog; ac_word=$2
2049echo "$as_me:$LINENO: checking for $ac_word" >&5
2050echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2051if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2052  echo $ECHO_N "(cached) $ECHO_C" >&6
2053else
2054  if test -n "$ac_ct_CC"; then
2055  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2056else
2057as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058for as_dir in $PATH
2059do
2060  IFS=$as_save_IFS
2061  test -z "$as_dir" && as_dir=.
2062  for ac_exec_ext in '' $ac_executable_extensions; do
2063  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2064    ac_cv_prog_ac_ct_CC="$ac_prog"
2065    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2066    break 2
2067  fi
2068done
2069done
2070
2071fi
2072fi
2073ac_ct_CC=$ac_cv_prog_ac_ct_CC
2074if test -n "$ac_ct_CC"; then
2075  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2076echo "${ECHO_T}$ac_ct_CC" >&6
2077else
2078  echo "$as_me:$LINENO: result: no" >&5
2079echo "${ECHO_T}no" >&6
2080fi
2081
2082  test -n "$ac_ct_CC" && break
2083done
2084
2085  CC=$ac_ct_CC
2086fi
2087
2088fi
2089
2090
2091test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2092See \`config.log' for more details." >&5
2093echo "$as_me: error: no acceptable C compiler found in \$PATH
2094See \`config.log' for more details." >&2;}
2095   { (exit 1); exit 1; }; }
2096
2097# Provide some information about the compiler.
2098echo "$as_me:$LINENO:" \
2099     "checking for C compiler version" >&5
2100ac_compiler=`set X $ac_compile; echo $2`
2101{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2102  (eval $ac_compiler --version </dev/null >&5) 2>&5
2103  ac_status=$?
2104  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2105  (exit $ac_status); }
2106{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2107  (eval $ac_compiler -v </dev/null >&5) 2>&5
2108  ac_status=$?
2109  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110  (exit $ac_status); }
2111{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2112  (eval $ac_compiler -V </dev/null >&5) 2>&5
2113  ac_status=$?
2114  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2115  (exit $ac_status); }
2116
2117cat >conftest.$ac_ext <<_ACEOF
2118/* confdefs.h.  */
2119_ACEOF
2120cat confdefs.h >>conftest.$ac_ext
2121cat >>conftest.$ac_ext <<_ACEOF
2122/* end confdefs.h.  */
2123
2124int
2125main ()
2126{
2127
2128  ;
2129  return 0;
2130}
2131_ACEOF
2132ac_clean_files_save=$ac_clean_files
2133ac_clean_files="$ac_clean_files a.out a.exe b.out"
2134# Try to create an executable without -o first, disregard a.out.
2135# It will help us diagnose broken compilers, and finding out an intuition
2136# of exeext.
2137echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2138echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2139ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2140if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2141  (eval $ac_link_default) 2>&5
2142  ac_status=$?
2143  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2144  (exit $ac_status); }; then
2145  # Find the output, starting from the most likely.  This scheme is
2146# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2147# resort.
2148
2149# Be careful to initialize this variable, since it used to be cached.
2150# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2151ac_cv_exeext=
2152# b.out is created by i960 compilers.
2153for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2154do
2155  test -f "$ac_file" || continue
2156  case $ac_file in
2157    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2158    ;;
2159    conftest.$ac_ext )
2160    # This is the source file.
2161    ;;
2162    [ab].out )
2163    # We found the default executable, but exeext='' is most
2164    # certainly right.
2165    break;;
2166    *.* )
2167    ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2168    # FIXME: I believe we export ac_cv_exeext for Libtool,
2169    # but it would be cool to find out if it's true.  Does anybody
2170    # maintain Libtool? --akim.
2171    export ac_cv_exeext
2172    break;;
2173    * )
2174    break;;
2175  esac
2176done
2177else
2178  echo "$as_me: failed program was:" >&5
2179sed 's/^/| /' conftest.$ac_ext >&5
2180
2181{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2182See \`config.log' for more details." >&5
2183echo "$as_me: error: C compiler cannot create executables
2184See \`config.log' for more details." >&2;}
2185   { (exit 77); exit 77; }; }
2186fi
2187
2188ac_exeext=$ac_cv_exeext
2189echo "$as_me:$LINENO: result: $ac_file" >&5
2190echo "${ECHO_T}$ac_file" >&6
2191
2192# Check the compiler produces executables we can run.  If not, either
2193# the compiler is broken, or we cross compile.
2194echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2195echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2196# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2197# If not cross compiling, check that we can run a simple program.
2198if test "$cross_compiling" != yes; then
2199  if { ac_try='./$ac_file'
2200  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2201  (eval $ac_try) 2>&5
2202  ac_status=$?
2203  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2204  (exit $ac_status); }; }; then
2205    cross_compiling=no
2206  else
2207    if test "$cross_compiling" = maybe; then
2208    cross_compiling=yes
2209    else
2210    { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2211If you meant to cross compile, use \`--host'.
2212See \`config.log' for more details." >&5
2213echo "$as_me: error: cannot run C compiled programs.
2214If you meant to cross compile, use \`--host'.
2215See \`config.log' for more details." >&2;}
2216   { (exit 1); exit 1; }; }
2217    fi
2218  fi
2219fi
2220echo "$as_me:$LINENO: result: yes" >&5
2221echo "${ECHO_T}yes" >&6
2222
2223rm -f a.out a.exe conftest$ac_cv_exeext b.out
2224ac_clean_files=$ac_clean_files_save
2225# Check the compiler produces executables we can run.  If not, either
2226# the compiler is broken, or we cross compile.
2227echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2228echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2229echo "$as_me:$LINENO: result: $cross_compiling" >&5
2230echo "${ECHO_T}$cross_compiling" >&6
2231
2232echo "$as_me:$LINENO: checking for suffix of executables" >&5
2233echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2234if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2235  (eval $ac_link) 2>&5
2236  ac_status=$?
2237  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238  (exit $ac_status); }; then
2239  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2240# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2241# work properly (i.e., refer to `conftest.exe'), while it won't with
2242# `rm'.
2243for ac_file in conftest.exe conftest conftest.*; do
2244  test -f "$ac_file" || continue
2245  case $ac_file in
2246    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2247    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2248      export ac_cv_exeext
2249      break;;
2250    * ) break;;
2251  esac
2252done
2253else
2254  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2255See \`config.log' for more details." >&5
2256echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2257See \`config.log' for more details." >&2;}
2258   { (exit 1); exit 1; }; }
2259fi
2260
2261rm -f conftest$ac_cv_exeext
2262echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2263echo "${ECHO_T}$ac_cv_exeext" >&6
2264
2265rm -f conftest.$ac_ext
2266EXEEXT=$ac_cv_exeext
2267ac_exeext=$EXEEXT
2268echo "$as_me:$LINENO: checking for suffix of object files" >&5
2269echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2270if test "${ac_cv_objext+set}" = set; then
2271  echo $ECHO_N "(cached) $ECHO_C" >&6
2272else
2273  cat >conftest.$ac_ext <<_ACEOF
2274/* confdefs.h.  */
2275_ACEOF
2276cat confdefs.h >>conftest.$ac_ext
2277cat >>conftest.$ac_ext <<_ACEOF
2278/* end confdefs.h.  */
2279
2280int
2281main ()
2282{
2283
2284  ;
2285  return 0;
2286}
2287_ACEOF
2288rm -f conftest.o conftest.obj
2289if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2290  (eval $ac_compile) 2>&5
2291  ac_status=$?
2292  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293  (exit $ac_status); }; then
2294  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2295  case $ac_file in
2296    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2297    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2298       break;;
2299  esac
2300done
2301else
2302  echo "$as_me: failed program was:" >&5
2303sed 's/^/| /' conftest.$ac_ext >&5
2304
2305{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2306See \`config.log' for more details." >&5
2307echo "$as_me: error: cannot compute suffix of object files: cannot compile
2308See \`config.log' for more details." >&2;}
2309   { (exit 1); exit 1; }; }
2310fi
2311
2312rm -f conftest.$ac_cv_objext conftest.$ac_ext
2313fi
2314echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2315echo "${ECHO_T}$ac_cv_objext" >&6
2316OBJEXT=$ac_cv_objext
2317ac_objext=$OBJEXT
2318echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2319echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2320if test "${ac_cv_c_compiler_gnu+set}" = set; then
2321  echo $ECHO_N "(cached) $ECHO_C" >&6
2322else
2323  cat >conftest.$ac_ext <<_ACEOF
2324/* confdefs.h.  */
2325_ACEOF
2326cat confdefs.h >>conftest.$ac_ext
2327cat >>conftest.$ac_ext <<_ACEOF
2328/* end confdefs.h.  */
2329
2330int
2331main ()
2332{
2333#ifndef __GNUC__
2334       choke me
2335#endif
2336
2337  ;
2338  return 0;
2339}
2340_ACEOF
2341rm -f conftest.$ac_objext
2342if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2343  (eval $ac_compile) 2>conftest.er1
2344  ac_status=$?
2345  grep -v '^ *+' conftest.er1 >conftest.err
2346  rm -f conftest.er1
2347  cat conftest.err >&5
2348  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349  (exit $ac_status); } &&
2350     { ac_try='test -z "$ac_c_werror_flag"
2351             || test ! -s conftest.err'
2352  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353  (eval $ac_try) 2>&5
2354  ac_status=$?
2355  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356  (exit $ac_status); }; } &&
2357     { ac_try='test -s conftest.$ac_objext'
2358  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359  (eval $ac_try) 2>&5
2360  ac_status=$?
2361  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362  (exit $ac_status); }; }; then
2363  ac_compiler_gnu=yes
2364else
2365  echo "$as_me: failed program was:" >&5
2366sed 's/^/| /' conftest.$ac_ext >&5
2367
2368ac_compiler_gnu=no
2369fi
2370rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2371ac_cv_c_compiler_gnu=$ac_compiler_gnu
2372
2373fi
2374echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2375echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2376GCC=`test $ac_compiler_gnu = yes && echo yes`
2377ac_test_CFLAGS=${CFLAGS+set}
2378ac_save_CFLAGS=$CFLAGS
2379CFLAGS="-g"
2380echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2381echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2382if test "${ac_cv_prog_cc_g+set}" = set; then
2383  echo $ECHO_N "(cached) $ECHO_C" >&6
2384else
2385  cat >conftest.$ac_ext <<_ACEOF
2386/* confdefs.h.  */
2387_ACEOF
2388cat confdefs.h >>conftest.$ac_ext
2389cat >>conftest.$ac_ext <<_ACEOF
2390/* end confdefs.h.  */
2391
2392int
2393main ()
2394{
2395
2396  ;
2397  return 0;
2398}
2399_ACEOF
2400rm -f conftest.$ac_objext
2401if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2402  (eval $ac_compile) 2>conftest.er1
2403  ac_status=$?
2404  grep -v '^ *+' conftest.er1 >conftest.err
2405  rm -f conftest.er1
2406  cat conftest.err >&5
2407  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408  (exit $ac_status); } &&
2409     { ac_try='test -z "$ac_c_werror_flag"
2410             || test ! -s conftest.err'
2411  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412  (eval $ac_try) 2>&5
2413  ac_status=$?
2414  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415  (exit $ac_status); }; } &&
2416     { ac_try='test -s conftest.$ac_objext'
2417  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418  (eval $ac_try) 2>&5
2419  ac_status=$?
2420  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421  (exit $ac_status); }; }; then
2422  ac_cv_prog_cc_g=yes
2423else
2424  echo "$as_me: failed program was:" >&5
2425sed 's/^/| /' conftest.$ac_ext >&5
2426
2427ac_cv_prog_cc_g=no
2428fi
2429rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2430fi
2431echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2432echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2433if test "$ac_test_CFLAGS" = set; then
2434  CFLAGS=$ac_save_CFLAGS
2435elif test $ac_cv_prog_cc_g = yes; then
2436  if test "$GCC" = yes; then
2437    CFLAGS="-g -O2"
2438  else
2439    CFLAGS="-g"
2440  fi
2441else
2442  if test "$GCC" = yes; then
2443    CFLAGS="-O2"
2444  else
2445    CFLAGS=
2446  fi
2447fi
2448echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2449echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2450if test "${ac_cv_prog_cc_stdc+set}" = set; then
2451  echo $ECHO_N "(cached) $ECHO_C" >&6
2452else
2453  ac_cv_prog_cc_stdc=no
2454ac_save_CC=$CC
2455cat >conftest.$ac_ext <<_ACEOF
2456/* confdefs.h.  */
2457_ACEOF
2458cat confdefs.h >>conftest.$ac_ext
2459cat >>conftest.$ac_ext <<_ACEOF
2460/* end confdefs.h.  */
2461#include <stdarg.h>
2462#include <stdio.h>
2463#include <sys/types.h>
2464#include <sys/stat.h>
2465/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2466struct buf { int x; };
2467FILE * (*rcsopen) (struct buf *, struct stat *, int);
2468static char *e (p, i)
2469     char **p;
2470     int i;
2471{
2472  return p[i];
2473}
2474static char *f (char * (*g) (char **, int), char **p, ...)
2475{
2476  char *s;
2477  va_list v;
2478  va_start (v,p);
2479  s = g (p, va_arg (v,int));
2480  va_end (v);
2481  return s;
2482}
2483
2484/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2485   function prototypes and stuff, but not '\xHH' hex character constants.
2486   These don't provoke an error unfortunately, instead are silently treated
2487   as 'x'.  The following induces an error, until -std1 is added to get
2488   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2489   array size at least.  It's necessary to write '\x00'==0 to get something
2490   that's true only with -std1.  */
2491int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2492
2493int test (int i, double x);
2494struct s1 {int (*f) (int a);};
2495struct s2 {int (*f) (double a);};
2496int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2497int argc;
2498char **argv;
2499int
2500main ()
2501{
2502return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2503  ;
2504  return 0;
2505}
2506_ACEOF
2507# Don't try gcc -ansi; that turns off useful extensions and
2508# breaks some systems' header files.
2509# AIX           -qlanglvl=ansi
2510# Ultrix and OSF/1  -std1
2511# HP-UX 10.20 and later -Ae
2512# HP-UX older versions  -Aa -D_HPUX_SOURCE
2513# SVR4          -Xc -D__EXTENSIONS__
2514for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2515do
2516  CC="$ac_save_CC $ac_arg"
2517  rm -f conftest.$ac_objext
2518if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2519  (eval $ac_compile) 2>conftest.er1
2520  ac_status=$?
2521  grep -v '^ *+' conftest.er1 >conftest.err
2522  rm -f conftest.er1
2523  cat conftest.err >&5
2524  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525  (exit $ac_status); } &&
2526     { ac_try='test -z "$ac_c_werror_flag"
2527             || test ! -s conftest.err'
2528  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2529  (eval $ac_try) 2>&5
2530  ac_status=$?
2531  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532  (exit $ac_status); }; } &&
2533     { ac_try='test -s conftest.$ac_objext'
2534  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2535  (eval $ac_try) 2>&5
2536  ac_status=$?
2537  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538  (exit $ac_status); }; }; then
2539  ac_cv_prog_cc_stdc=$ac_arg
2540break
2541else
2542  echo "$as_me: failed program was:" >&5
2543sed 's/^/| /' conftest.$ac_ext >&5
2544
2545fi
2546rm -f conftest.err conftest.$ac_objext
2547done
2548rm -f conftest.$ac_ext conftest.$ac_objext
2549CC=$ac_save_CC
2550
2551fi
2552
2553case "x$ac_cv_prog_cc_stdc" in
2554  x|xno)
2555    echo "$as_me:$LINENO: result: none needed" >&5
2556echo "${ECHO_T}none needed" >&6 ;;
2557  *)
2558    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2559echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2560    CC="$CC $ac_cv_prog_cc_stdc" ;;
2561esac
2562
2563# Some people use a C++ compiler to compile C.  Since we use `exit',
2564# in C++ we need to declare it.  In case someone uses the same compiler
2565# for both compiling C and C++ we need to have the C++ compiler decide
2566# the declaration of exit, since it's the most demanding environment.
2567cat >conftest.$ac_ext <<_ACEOF
2568#ifndef __cplusplus
2569  choke me
2570#endif
2571_ACEOF
2572rm -f conftest.$ac_objext
2573if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574  (eval $ac_compile) 2>conftest.er1
2575  ac_status=$?
2576  grep -v '^ *+' conftest.er1 >conftest.err
2577  rm -f conftest.er1
2578  cat conftest.err >&5
2579  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580  (exit $ac_status); } &&
2581     { ac_try='test -z "$ac_c_werror_flag"
2582             || test ! -s conftest.err'
2583  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2584  (eval $ac_try) 2>&5
2585  ac_status=$?
2586  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587  (exit $ac_status); }; } &&
2588     { ac_try='test -s conftest.$ac_objext'
2589  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2590  (eval $ac_try) 2>&5
2591  ac_status=$?
2592  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593  (exit $ac_status); }; }; then
2594  for ac_declaration in \
2595   '' \
2596   'extern "C" void std::exit (int) throw (); using std::exit;' \
2597   'extern "C" void std::exit (int); using std::exit;' \
2598   'extern "C" void exit (int) throw ();' \
2599   'extern "C" void exit (int);' \
2600   'void exit (int);'
2601do
2602  cat >conftest.$ac_ext <<_ACEOF
2603/* confdefs.h.  */
2604_ACEOF
2605cat confdefs.h >>conftest.$ac_ext
2606cat >>conftest.$ac_ext <<_ACEOF
2607/* end confdefs.h.  */
2608$ac_declaration
2609#include <stdlib.h>
2610int
2611main ()
2612{
2613exit (42);
2614  ;
2615  return 0;
2616}
2617_ACEOF
2618rm -f conftest.$ac_objext
2619if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2620  (eval $ac_compile) 2>conftest.er1
2621  ac_status=$?
2622  grep -v '^ *+' conftest.er1 >conftest.err
2623  rm -f conftest.er1
2624  cat conftest.err >&5
2625  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626  (exit $ac_status); } &&
2627     { ac_try='test -z "$ac_c_werror_flag"
2628             || test ! -s conftest.err'
2629  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2630  (eval $ac_try) 2>&5
2631  ac_status=$?
2632  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633  (exit $ac_status); }; } &&
2634     { ac_try='test -s conftest.$ac_objext'
2635  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2636  (eval $ac_try) 2>&5
2637  ac_status=$?
2638  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639  (exit $ac_status); }; }; then
2640  :
2641else
2642  echo "$as_me: failed program was:" >&5
2643sed 's/^/| /' conftest.$ac_ext >&5
2644
2645continue
2646fi
2647rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2648  cat >conftest.$ac_ext <<_ACEOF
2649/* confdefs.h.  */
2650_ACEOF
2651cat confdefs.h >>conftest.$ac_ext
2652cat >>conftest.$ac_ext <<_ACEOF
2653/* end confdefs.h.  */
2654$ac_declaration
2655int
2656main ()
2657{
2658exit (42);
2659  ;
2660  return 0;
2661}
2662_ACEOF
2663rm -f conftest.$ac_objext
2664if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2665  (eval $ac_compile) 2>conftest.er1
2666  ac_status=$?
2667  grep -v '^ *+' conftest.er1 >conftest.err
2668  rm -f conftest.er1
2669  cat conftest.err >&5
2670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671  (exit $ac_status); } &&
2672     { ac_try='test -z "$ac_c_werror_flag"
2673             || test ! -s conftest.err'
2674  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2675  (eval $ac_try) 2>&5
2676  ac_status=$?
2677  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678  (exit $ac_status); }; } &&
2679     { ac_try='test -s conftest.$ac_objext'
2680  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2681  (eval $ac_try) 2>&5
2682  ac_status=$?
2683  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684  (exit $ac_status); }; }; then
2685  break
2686else
2687  echo "$as_me: failed program was:" >&5
2688sed 's/^/| /' conftest.$ac_ext >&5
2689
2690fi
2691rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2692done
2693rm -f conftest*
2694if test -n "$ac_declaration"; then
2695  echo '#ifdef __cplusplus' >>confdefs.h
2696  echo $ac_declaration      >>confdefs.h
2697  echo '#endif'             >>confdefs.h
2698fi
2699
2700else
2701  echo "$as_me: failed program was:" >&5
2702sed 's/^/| /' conftest.$ac_ext >&5
2703
2704fi
2705rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2706ac_ext=c
2707ac_cpp='$CPP $CPPFLAGS'
2708ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2709ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2710ac_compiler_gnu=$ac_cv_c_compiler_gnu
2711
2712depcc="$CC"   am_compiler_list=
2713
2714echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2715echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2716if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2717  echo $ECHO_N "(cached) $ECHO_C" >&6
2718else
2719  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2720  # We make a subdir and do the tests there.  Otherwise we can end up
2721  # making bogus files that we don't know about and never remove.  For
2722  # instance it was reported that on HP-UX the gcc test will end up
2723  # making a dummy file named `D' -- because `-MD' means `put the output
2724  # in D'.
2725  mkdir conftest.dir
2726  # Copy depcomp to subdir because otherwise we won't find it if we're
2727  # using a relative directory.
2728  cp "$am_depcomp" conftest.dir
2729  cd conftest.dir
2730  # We will build objects and dependencies in a subdirectory because
2731  # it helps to detect inapplicable dependency modes.  For instance
2732  # both Tru64's cc and ICC support -MD to output dependencies as a
2733  # side effect of compilation, but ICC will put the dependencies in
2734  # the current directory while Tru64 will put them in the object
2735  # directory.
2736  mkdir sub
2737
2738  am_cv_CC_dependencies_compiler_type=none
2739  if test "$am_compiler_list" = ""; then
2740     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2741  fi
2742  for depmode in $am_compiler_list; do
2743    # Setup a source with many dependencies, because some compilers
2744    # like to wrap large dependency lists on column 80 (with \), and
2745    # we should not choose a depcomp mode which is confused by this.
2746    #
2747    # We need to recreate these files for each test, as the compiler may
2748    # overwrite some of them when testing with obscure command lines.
2749    # This happens at least with the AIX C compiler.
2750    : > sub/conftest.c
2751    for i in 1 2 3 4 5 6; do
2752      echo '#include "conftst'$i'.h"' >> sub/conftest.c
2753      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2754      # Solaris 8's {/usr,}/bin/sh.
2755      touch sub/conftst$i.h
2756    done
2757    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2758
2759    case $depmode in
2760    nosideeffect)
2761      # after this tag, mechanisms are not by side-effect, so they'll
2762      # only be used when explicitly requested
2763      if test "x$enable_dependency_tracking" = xyes; then
2764    continue
2765      else
2766    break
2767      fi
2768      ;;
2769    none) break ;;
2770    esac
2771    # We check with `-c' and `-o' for the sake of the "dashmstdout"
2772    # mode.  It turns out that the SunPro C++ compiler does not properly
2773    # handle `-M -o', and we need to detect this.
2774    if depmode=$depmode \
2775       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2776       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2777       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2778         >/dev/null 2>conftest.err &&
2779       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2780       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2781       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2782      # icc doesn't choke on unknown options, it will just issue warnings
2783      # or remarks (even with -Werror).  So we grep stderr for any message
2784      # that says an option was ignored or not supported.
2785      # When given -MP, icc 7.0 and 7.1 complain thusly:
2786      #   icc: Command line warning: ignoring option '-M'; no argument required
2787      # The diagnosis changed in icc 8.0:
2788      #   icc: Command line remark: option '-MP' not supported
2789      if (grep 'ignoring option' conftest.err ||
2790          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2791        am_cv_CC_dependencies_compiler_type=$depmode
2792        break
2793      fi
2794    fi
2795  done
2796
2797  cd ..
2798  rm -rf conftest.dir
2799else
2800  am_cv_CC_dependencies_compiler_type=none
2801fi
2802
2803fi
2804echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2805echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2806CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2807
2808
2809
2810if
2811  test "x$enable_dependency_tracking" != xno \
2812  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2813  am__fastdepCC_TRUE=
2814  am__fastdepCC_FALSE='#'
2815else
2816  am__fastdepCC_TRUE='#'
2817  am__fastdepCC_FALSE=
2818fi
2819
2820
2821
2822
2823echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
2824echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6
2825if test "${ac_cv_lib_crypt_main+set}" = set; then
2826  echo $ECHO_N "(cached) $ECHO_C" >&6
2827else
2828  ac_check_lib_save_LIBS=$LIBS
2829LIBS="-lcrypt  $LIBS"
2830cat >conftest.$ac_ext <<_ACEOF
2831/* confdefs.h.  */
2832_ACEOF
2833cat confdefs.h >>conftest.$ac_ext
2834cat >>conftest.$ac_ext <<_ACEOF
2835/* end confdefs.h.  */
2836
2837
2838int
2839main ()
2840{
2841main ();
2842  ;
2843  return 0;
2844}
2845_ACEOF
2846rm -f conftest.$ac_objext conftest$ac_exeext
2847if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2848  (eval $ac_link) 2>conftest.er1
2849  ac_status=$?
2850  grep -v '^ *+' conftest.er1 >conftest.err
2851  rm -f conftest.er1
2852  cat conftest.err >&5
2853  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854  (exit $ac_status); } &&
2855     { ac_try='test -z "$ac_c_werror_flag"
2856             || test ! -s conftest.err'
2857  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2858  (eval $ac_try) 2>&5
2859  ac_status=$?
2860  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861  (exit $ac_status); }; } &&
2862     { ac_try='test -s conftest$ac_exeext'
2863  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2864  (eval $ac_try) 2>&5
2865  ac_status=$?
2866  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2867  (exit $ac_status); }; }; then
2868  ac_cv_lib_crypt_main=yes
2869else
2870  echo "$as_me: failed program was:" >&5
2871sed 's/^/| /' conftest.$ac_ext >&5
2872
2873ac_cv_lib_crypt_main=no
2874fi
2875rm -f conftest.err conftest.$ac_objext \
2876      conftest$ac_exeext conftest.$ac_ext
2877LIBS=$ac_check_lib_save_LIBS
2878fi
2879echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_main" >&5
2880echo "${ECHO_T}$ac_cv_lib_crypt_main" >&6
2881if test $ac_cv_lib_crypt_main = yes; then
2882  cat >>confdefs.h <<_ACEOF
2883#define HAVE_LIBCRYPT 1
2884_ACEOF
2885
2886  LIBS="-lcrypt $LIBS"
2887
2888fi
2889ac_cv_lib_crypt=ac_cv_lib_crypt_main
2890
2891
2892# This package requires C++ compilation and library creation
2893ac_ext=cc
2894ac_cpp='$CXXCPP $CPPFLAGS'
2895ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2896ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2897ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2898if test -n "$ac_tool_prefix"; then
2899  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2900  do
2901    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2902set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2903echo "$as_me:$LINENO: checking for $ac_word" >&5
2904echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2905if test "${ac_cv_prog_CXX+set}" = set; then
2906  echo $ECHO_N "(cached) $ECHO_C" >&6
2907else
2908  if test -n "$CXX"; then
2909  ac_cv_prog_CXX="$CXX" # Let the user override the test.
2910else
2911as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912for as_dir in $PATH
2913do
2914  IFS=$as_save_IFS
2915  test -z "$as_dir" && as_dir=.
2916  for ac_exec_ext in '' $ac_executable_extensions; do
2917  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2918    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2919    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2920    break 2
2921  fi
2922done
2923done
2924
2925fi
2926fi
2927CXX=$ac_cv_prog_CXX
2928if test -n "$CXX"; then
2929  echo "$as_me:$LINENO: result: $CXX" >&5
2930echo "${ECHO_T}$CXX" >&6
2931else
2932  echo "$as_me:$LINENO: result: no" >&5
2933echo "${ECHO_T}no" >&6
2934fi
2935
2936    test -n "$CXX" && break
2937  done
2938fi
2939if test -z "$CXX"; then
2940  ac_ct_CXX=$CXX
2941  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2942do
2943  # Extract the first word of "$ac_prog", so it can be a program name with args.
2944set dummy $ac_prog; ac_word=$2
2945echo "$as_me:$LINENO: checking for $ac_word" >&5
2946echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2947if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2948  echo $ECHO_N "(cached) $ECHO_C" >&6
2949else
2950  if test -n "$ac_ct_CXX"; then
2951  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2952else
2953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2954for as_dir in $PATH
2955do
2956  IFS=$as_save_IFS
2957  test -z "$as_dir" && as_dir=.
2958  for ac_exec_ext in '' $ac_executable_extensions; do
2959  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2960    ac_cv_prog_ac_ct_CXX="$ac_prog"
2961    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2962    break 2
2963  fi
2964done
2965done
2966
2967fi
2968fi
2969ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2970if test -n "$ac_ct_CXX"; then
2971  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2972echo "${ECHO_T}$ac_ct_CXX" >&6
2973else
2974  echo "$as_me:$LINENO: result: no" >&5
2975echo "${ECHO_T}no" >&6
2976fi
2977
2978  test -n "$ac_ct_CXX" && break
2979done
2980test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2981
2982  CXX=$ac_ct_CXX
2983fi
2984
2985
2986# Provide some information about the compiler.
2987echo "$as_me:$LINENO:" \
2988     "checking for C++ compiler version" >&5
2989ac_compiler=`set X $ac_compile; echo $2`
2990{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2991  (eval $ac_compiler --version </dev/null >&5) 2>&5
2992  ac_status=$?
2993  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994  (exit $ac_status); }
2995{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2996  (eval $ac_compiler -v </dev/null >&5) 2>&5
2997  ac_status=$?
2998  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999  (exit $ac_status); }
3000{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3001  (eval $ac_compiler -V </dev/null >&5) 2>&5
3002  ac_status=$?
3003  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004  (exit $ac_status); }
3005
3006echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3007echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3008if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3009  echo $ECHO_N "(cached) $ECHO_C" >&6
3010else
3011  cat >conftest.$ac_ext <<_ACEOF
3012/* confdefs.h.  */
3013_ACEOF
3014cat confdefs.h >>conftest.$ac_ext
3015cat >>conftest.$ac_ext <<_ACEOF
3016/* end confdefs.h.  */
3017
3018int
3019main ()
3020{
3021#ifndef __GNUC__
3022       choke me
3023#endif
3024
3025  ;
3026  return 0;
3027}
3028_ACEOF
3029rm -f conftest.$ac_objext
3030if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3031  (eval $ac_compile) 2>conftest.er1
3032  ac_status=$?
3033  grep -v '^ *+' conftest.er1 >conftest.err
3034  rm -f conftest.er1
3035  cat conftest.err >&5
3036  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037  (exit $ac_status); } &&
3038     { ac_try='test -z "$ac_cxx_werror_flag"
3039             || test ! -s conftest.err'
3040  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3041  (eval $ac_try) 2>&5
3042  ac_status=$?
3043  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044  (exit $ac_status); }; } &&
3045     { ac_try='test -s conftest.$ac_objext'
3046  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3047  (eval $ac_try) 2>&5
3048  ac_status=$?
3049  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050  (exit $ac_status); }; }; then
3051  ac_compiler_gnu=yes
3052else
3053  echo "$as_me: failed program was:" >&5
3054sed 's/^/| /' conftest.$ac_ext >&5
3055
3056ac_compiler_gnu=no
3057fi
3058rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3059ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3060
3061fi
3062echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3063echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3064GXX=`test $ac_compiler_gnu = yes && echo yes`
3065ac_test_CXXFLAGS=${CXXFLAGS+set}
3066ac_save_CXXFLAGS=$CXXFLAGS
3067CXXFLAGS="-g"
3068echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3069echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3070if test "${ac_cv_prog_cxx_g+set}" = set; then
3071  echo $ECHO_N "(cached) $ECHO_C" >&6
3072else
3073  cat >conftest.$ac_ext <<_ACEOF
3074/* confdefs.h.  */
3075_ACEOF
3076cat confdefs.h >>conftest.$ac_ext
3077cat >>conftest.$ac_ext <<_ACEOF
3078/* end confdefs.h.  */
3079
3080int
3081main ()
3082{
3083
3084  ;
3085  return 0;
3086}
3087_ACEOF
3088rm -f conftest.$ac_objext
3089if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3090  (eval $ac_compile) 2>conftest.er1
3091  ac_status=$?
3092  grep -v '^ *+' conftest.er1 >conftest.err
3093  rm -f conftest.er1
3094  cat conftest.err >&5
3095  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096  (exit $ac_status); } &&
3097     { ac_try='test -z "$ac_cxx_werror_flag"
3098             || test ! -s conftest.err'
3099  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3100  (eval $ac_try) 2>&5
3101  ac_status=$?
3102  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103  (exit $ac_status); }; } &&
3104     { ac_try='test -s conftest.$ac_objext'
3105  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3106  (eval $ac_try) 2>&5
3107  ac_status=$?
3108  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109  (exit $ac_status); }; }; then
3110  ac_cv_prog_cxx_g=yes
3111else
3112  echo "$as_me: failed program was:" >&5
3113sed 's/^/| /' conftest.$ac_ext >&5
3114
3115ac_cv_prog_cxx_g=no
3116fi
3117rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3118fi
3119echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3120echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3121if test "$ac_test_CXXFLAGS" = set; then
3122  CXXFLAGS=$ac_save_CXXFLAGS
3123elif test $ac_cv_prog_cxx_g = yes; then
3124  if test "$GXX" = yes; then
3125    CXXFLAGS="-g -O2"
3126  else
3127    CXXFLAGS="-g"
3128  fi
3129else
3130  if test "$GXX" = yes; then
3131    CXXFLAGS="-O2"
3132  else
3133    CXXFLAGS=
3134  fi
3135fi
3136for ac_declaration in \
3137   '' \
3138   'extern "C" void std::exit (int) throw (); using std::exit;' \
3139   'extern "C" void std::exit (int); using std::exit;' \
3140   'extern "C" void exit (int) throw ();' \
3141   'extern "C" void exit (int);' \
3142   'void exit (int);'
3143do
3144  cat >conftest.$ac_ext <<_ACEOF
3145/* confdefs.h.  */
3146_ACEOF
3147cat confdefs.h >>conftest.$ac_ext
3148cat >>conftest.$ac_ext <<_ACEOF
3149/* end confdefs.h.  */
3150$ac_declaration
3151#include <stdlib.h>
3152int
3153main ()
3154{
3155exit (42);
3156  ;
3157  return 0;
3158}
3159_ACEOF
3160rm -f conftest.$ac_objext
3161if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3162  (eval $ac_compile) 2>conftest.er1
3163  ac_status=$?
3164  grep -v '^ *+' conftest.er1 >conftest.err
3165  rm -f conftest.er1
3166  cat conftest.err >&5
3167  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168  (exit $ac_status); } &&
3169     { ac_try='test -z "$ac_cxx_werror_flag"
3170             || test ! -s conftest.err'
3171  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3172  (eval $ac_try) 2>&5
3173  ac_status=$?
3174  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175  (exit $ac_status); }; } &&
3176     { ac_try='test -s conftest.$ac_objext'
3177  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3178  (eval $ac_try) 2>&5
3179  ac_status=$?
3180  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3181  (exit $ac_status); }; }; then
3182  :
3183else
3184  echo "$as_me: failed program was:" >&5
3185sed 's/^/| /' conftest.$ac_ext >&5
3186
3187continue
3188fi
3189rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3190  cat >conftest.$ac_ext <<_ACEOF
3191/* confdefs.h.  */
3192_ACEOF
3193cat confdefs.h >>conftest.$ac_ext
3194cat >>conftest.$ac_ext <<_ACEOF
3195/* end confdefs.h.  */
3196$ac_declaration
3197int
3198main ()
3199{
3200exit (42);
3201  ;
3202  return 0;
3203}
3204_ACEOF
3205rm -f conftest.$ac_objext
3206if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3207  (eval $ac_compile) 2>conftest.er1
3208  ac_status=$?
3209  grep -v '^ *+' conftest.er1 >conftest.err
3210  rm -f conftest.er1
3211  cat conftest.err >&5
3212  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213  (exit $ac_status); } &&
3214     { ac_try='test -z "$ac_cxx_werror_flag"
3215             || test ! -s conftest.err'
3216  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3217  (eval $ac_try) 2>&5
3218  ac_status=$?
3219  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220  (exit $ac_status); }; } &&
3221     { ac_try='test -s conftest.$ac_objext'
3222  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3223  (eval $ac_try) 2>&5
3224  ac_status=$?
3225  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226  (exit $ac_status); }; }; then
3227  break
3228else
3229  echo "$as_me: failed program was:" >&5
3230sed 's/^/| /' conftest.$ac_ext >&5
3231
3232fi
3233rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3234done
3235rm -f conftest*
3236if test -n "$ac_declaration"; then
3237  echo '#ifdef __cplusplus' >>confdefs.h
3238  echo $ac_declaration      >>confdefs.h
3239  echo '#endif'             >>confdefs.h
3240fi
3241
3242ac_ext=c
3243ac_cpp='$CPP $CPPFLAGS'
3244ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3245ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3246ac_compiler_gnu=$ac_cv_c_compiler_gnu
3247
3248depcc="$CXX"  am_compiler_list=
3249
3250echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3251echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3252if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3253  echo $ECHO_N "(cached) $ECHO_C" >&6
3254else
3255  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3256  # We make a subdir and do the tests there.  Otherwise we can end up
3257  # making bogus files that we don't know about and never remove.  For
3258  # instance it was reported that on HP-UX the gcc test will end up
3259  # making a dummy file named `D' -- because `-MD' means `put the output
3260  # in D'.
3261  mkdir conftest.dir
3262  # Copy depcomp to subdir because otherwise we won't find it if we're
3263  # using a relative directory.
3264  cp "$am_depcomp" conftest.dir
3265  cd conftest.dir
3266  # We will build objects and dependencies in a subdirectory because
3267  # it helps to detect inapplicable dependency modes.  For instance
3268  # both Tru64's cc and ICC support -MD to output dependencies as a
3269  # side effect of compilation, but ICC will put the dependencies in
3270  # the current directory while Tru64 will put them in the object
3271  # directory.
3272  mkdir sub
3273
3274  am_cv_CXX_dependencies_compiler_type=none
3275  if test "$am_compiler_list" = ""; then
3276     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3277  fi
3278  for depmode in $am_compiler_list; do
3279    # Setup a source with many dependencies, because some compilers
3280    # like to wrap large dependency lists on column 80 (with \), and
3281    # we should not choose a depcomp mode which is confused by this.
3282    #
3283    # We need to recreate these files for each test, as the compiler may
3284    # overwrite some of them when testing with obscure command lines.
3285    # This happens at least with the AIX C compiler.
3286    : > sub/conftest.c
3287    for i in 1 2 3 4 5 6; do
3288      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3289      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3290      # Solaris 8's {/usr,}/bin/sh.
3291      touch sub/conftst$i.h
3292    done
3293    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3294
3295    case $depmode in
3296    nosideeffect)
3297      # after this tag, mechanisms are not by side-effect, so they'll
3298      # only be used when explicitly requested
3299      if test "x$enable_dependency_tracking" = xyes; then
3300    continue
3301      else
3302    break
3303      fi
3304      ;;
3305    none) break ;;
3306    esac
3307    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3308    # mode.  It turns out that the SunPro C++ compiler does not properly
3309    # handle `-M -o', and we need to detect this.
3310    if depmode=$depmode \
3311       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3312       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3313       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3314         >/dev/null 2>conftest.err &&
3315       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3316       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3317       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3318      # icc doesn't choke on unknown options, it will just issue warnings
3319      # or remarks (even with -Werror).  So we grep stderr for any message
3320      # that says an option was ignored or not supported.
3321      # When given -MP, icc 7.0 and 7.1 complain thusly:
3322      #   icc: Command line warning: ignoring option '-M'; no argument required
3323      # The diagnosis changed in icc 8.0:
3324      #   icc: Command line remark: option '-MP' not supported
3325      if (grep 'ignoring option' conftest.err ||
3326          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3327        am_cv_CXX_dependencies_compiler_type=$depmode
3328        break
3329      fi
3330    fi
3331  done
3332
3333  cd ..
3334  rm -rf conftest.dir
3335else
3336  am_cv_CXX_dependencies_compiler_type=none
3337fi
3338
3339fi
3340echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3341echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
3342CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3343
3344
3345
3346if
3347  test "x$enable_dependency_tracking" != xno \
3348  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3349  am__fastdepCXX_TRUE=
3350  am__fastdepCXX_FALSE='#'
3351else
3352  am__fastdepCXX_TRUE='#'
3353  am__fastdepCXX_FALSE=
3354fi
3355
3356
3357# Find a good install program.  We prefer a C program (faster),
3358# so one script is as good as another.  But avoid the broken or
3359# incompatible versions:
3360# SysV /etc/install, /usr/sbin/install
3361# SunOS /usr/etc/install
3362# IRIX /sbin/install
3363# AIX /bin/install
3364# AmigaOS /C/install, which installs bootblocks on floppy discs
3365# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3366# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3367# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3368# OS/2's system install, which has a completely different semantic
3369# ./install, which can be erroneously created by make from ./install.sh.
3370echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3371echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3372if test -z "$INSTALL"; then
3373if test "${ac_cv_path_install+set}" = set; then
3374  echo $ECHO_N "(cached) $ECHO_C" >&6
3375else
3376  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377for as_dir in $PATH
3378do
3379  IFS=$as_save_IFS
3380  test -z "$as_dir" && as_dir=.
3381  # Account for people who put trailing slashes in PATH elements.
3382case $as_dir/ in
3383  ./ | .// | /cC/* | \
3384  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3385  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3386  /usr/ucb/* ) ;;
3387  *)
3388    # OSF1 and SCO ODT 3.0 have their own names for install.
3389    # Don't use installbsd from OSF since it installs stuff as root
3390    # by default.
3391    for ac_prog in ginstall scoinst install; do
3392      for ac_exec_ext in '' $ac_executable_extensions; do
3393    if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3394      if test $ac_prog = install &&
3395        grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3396        # AIX install.  It has an incompatible calling convention.
3397        :
3398      elif test $ac_prog = install &&
3399        grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3400        # program-specific install script used by HP pwplus--don't use.
3401        :
3402      else
3403        ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3404        break 3
3405      fi
3406    fi
3407      done
3408    done
3409    ;;
3410esac
3411done
3412
3413
3414fi
3415  if test "${ac_cv_path_install+set}" = set; then
3416    INSTALL=$ac_cv_path_install
3417  else
3418    # As a last resort, use the slow shell script.  We don't cache a
3419    # path for INSTALL within a source directory, because that will
3420    # break other packages using the cache if that directory is
3421    # removed, or if the path is relative.
3422    INSTALL=$ac_install_sh
3423  fi
3424fi
3425echo "$as_me:$LINENO: result: $INSTALL" >&5
3426echo "${ECHO_T}$INSTALL" >&6
3427
3428# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3429# It thinks the first close brace ends the variable substitution.
3430test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3431
3432test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3433
3434test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3435
3436if test -n "$ac_tool_prefix"; then
3437  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3438set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3439echo "$as_me:$LINENO: checking for $ac_word" >&5
3440echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3441if test "${ac_cv_prog_RANLIB+set}" = set; then
3442  echo $ECHO_N "(cached) $ECHO_C" >&6
3443else
3444  if test -n "$RANLIB"; then
3445  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3446else
3447as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3448for as_dir in $PATH
3449do
3450  IFS=$as_save_IFS
3451  test -z "$as_dir" && as_dir=.
3452  for ac_exec_ext in '' $ac_executable_extensions; do
3453  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3455    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3456    break 2
3457  fi
3458done
3459done
3460
3461fi
3462fi
3463RANLIB=$ac_cv_prog_RANLIB
3464if test -n "$RANLIB"; then
3465  echo "$as_me:$LINENO: result: $RANLIB" >&5
3466echo "${ECHO_T}$RANLIB" >&6
3467else
3468  echo "$as_me:$LINENO: result: no" >&5
3469echo "${ECHO_T}no" >&6
3470fi
3471
3472fi
3473if test -z "$ac_cv_prog_RANLIB"; then
3474  ac_ct_RANLIB=$RANLIB
3475  # Extract the first word of "ranlib", so it can be a program name with args.
3476set dummy ranlib; ac_word=$2
3477echo "$as_me:$LINENO: checking for $ac_word" >&5
3478echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3479if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3480  echo $ECHO_N "(cached) $ECHO_C" >&6
3481else
3482  if test -n "$ac_ct_RANLIB"; then
3483  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3484else
3485as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486for as_dir in $PATH
3487do
3488  IFS=$as_save_IFS
3489  test -z "$as_dir" && as_dir=.
3490  for ac_exec_ext in '' $ac_executable_extensions; do
3491  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3492    ac_cv_prog_ac_ct_RANLIB="ranlib"
3493    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3494    break 2
3495  fi
3496done
3497done
3498
3499  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3500fi
3501fi
3502ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3503if test -n "$ac_ct_RANLIB"; then
3504  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3505echo "${ECHO_T}$ac_ct_RANLIB" >&6
3506else
3507  echo "$as_me:$LINENO: result: no" >&5
3508echo "${ECHO_T}no" >&6
3509fi
3510
3511  RANLIB=$ac_ct_RANLIB
3512else
3513  RANLIB="$ac_cv_prog_RANLIB"
3514fi
3515
3516
3517# Check for 64-bit machines
3518# Make sure we can run config.sub.
3519$ac_config_sub sun4 >/dev/null 2>&1 ||
3520  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3521echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3522   { (exit 1); exit 1; }; }
3523
3524echo "$as_me:$LINENO: checking build system type" >&5
3525echo $ECHO_N "checking build system type... $ECHO_C" >&6
3526if test "${ac_cv_build+set}" = set; then
3527  echo $ECHO_N "(cached) $ECHO_C" >&6
3528else
3529  ac_cv_build_alias=$build_alias
3530test -z "$ac_cv_build_alias" &&
3531  ac_cv_build_alias=`$ac_config_guess`
3532test -z "$ac_cv_build_alias" &&
3533  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3534echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3535   { (exit 1); exit 1; }; }
3536ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3537  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3538echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3539   { (exit 1); exit 1; }; }
3540
3541fi
3542echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3543echo "${ECHO_T}$ac_cv_build" >&6
3544build=$ac_cv_build
3545build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3546build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3547build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3548
3549
3550echo "$as_me:$LINENO: checking host system type" >&5
3551echo $ECHO_N "checking host system type... $ECHO_C" >&6
3552if test "${ac_cv_host+set}" = set; then
3553  echo $ECHO_N "(cached) $ECHO_C" >&6
3554else
3555  ac_cv_host_alias=$host_alias
3556test -z "$ac_cv_host_alias" &&
3557  ac_cv_host_alias=$ac_cv_build_alias
3558ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3559  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3560echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3561   { (exit 1); exit 1; }; }
3562
3563fi
3564echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3565echo "${ECHO_T}$ac_cv_host" >&6
3566host=$ac_cv_host
3567host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3568host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3569host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3570
3571
3572echo "$as_me:$LINENO: checking if architecture is 64-bit" >&5
3573echo $ECHO_N "checking if architecture is 64-bit... $ECHO_C" >&6
3574arch_64bit=no
3575case "$host_cpu" in
3576  x86_64) arch_64bit=yes ;;
3577esac
3578if test "$arch_64bit" = yes; then
3579  echo "$as_me:$LINENO: result: yes" >&5
3580echo "${ECHO_T}yes" >&6
3581  if test -z "$COMPAT32BITFLAGS" ; then
3582    COMPAT32BITFLAGS="-m32"
3583  fi
3584else
3585  echo "$as_me:$LINENO: result: no" >&5
3586echo "${ECHO_T}no" >&6
3587fi
3588
3589
3590# Option: SQLite support
3591# Check whether --enable-sqlite or --disable-sqlite was given.
3592if test "${enable_sqlite+set}" = set; then
3593  enableval="$enable_sqlite"
3594  USE_SQLITE=1 &&
3595cat >>confdefs.h <<\_ACEOF
3596#define USE_SQLITE 1
3597_ACEOF
3598
3599else
3600  USE_SQLITE=0
3601fi;
3602
3603
3604if test "$USE_SQLITE" = 1; then
3605  USE_SQLITE_TRUE=
3606  USE_SQLITE_FALSE='#'
3607else
3608  USE_SQLITE_TRUE='#'
3609  USE_SQLITE_FALSE=
3610fi
3611
3612
3613# Generate the Makefiles for this package
3614                                                  ac_config_files="$ac_config_files Makefile src/colservr/Makefile src/protocol/Makefile src/recpt/Makefile src/oaiservr/Makefile"
3615cat >confcache <<\_ACEOF
3616# This file is a shell script that caches the results of configure
3617# tests run on this system so they can be shared between configure
3618# scripts and configure runs, see configure's option --config-cache.
3619# It is not useful on other systems.  If it contains results you don't
3620# want to keep, you may remove or edit it.
3621#
3622# config.status only pays attention to the cache file if you give it
3623# the --recheck option to rerun configure.
3624#
3625# `ac_cv_env_foo' variables (set or unset) will be overridden when
3626# loading this file, other *unset* `ac_cv_foo' will be assigned the
3627# following values.
3628
3629_ACEOF
3630
3631# The following way of writing the cache mishandles newlines in values,
3632# but we know of no workaround that is simple, portable, and efficient.
3633# So, don't put newlines in cache variables' values.
3634# Ultrix sh set writes to stderr and can't be redirected directly,
3635# and sets the high bit in the cache file unless we assign to the vars.
3636{
3637  (set) 2>&1 |
3638    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3639    *ac_space=\ *)
3640      # `set' does not quote correctly, so add quotes (double-quote
3641      # substitution turns \\\\ into \\, and sed turns \\ into \).
3642      sed -n \
3643    "s/'/'\\\\''/g;
3644      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3645      ;;
3646    *)
3647      # `set' quotes correctly as required by POSIX, so do not add quotes.
3648      sed -n \
3649    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3650      ;;
3651    esac;
3652} |
3653  sed '
3654     t clear
3655     : clear
3656     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3657     t end
3658     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3659     : end' >>confcache
3660if diff $cache_file confcache >/dev/null 2>&1; then :; else
3661  if test -w $cache_file; then
3662    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3663    cat confcache >$cache_file
3664  else
3665    echo "not updating unwritable cache $cache_file"
3666  fi
3667fi
3668rm -f confcache
3669
3670test "x$prefix" = xNONE && prefix=$ac_default_prefix
3671# Let make expand exec_prefix.
3672test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3673
3674# VPATH may cause trouble with some makes, so we remove $(srcdir),
3675# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3676# trailing colons and then remove the whole line if VPATH becomes empty
3677# (actually we leave an empty line to preserve line numbers).
3678if test "x$srcdir" = x.; then
3679  ac_vpsub='/^[  ]*VPATH[    ]*=/{
3680s/:*\$(srcdir):*/:/;
3681s/:*\${srcdir}:*/:/;
3682s/:*@srcdir@:*/:/;
3683s/^\([^=]*=[     ]*\):*/\1/;
3684s/:*$//;
3685s/^[^=]*=[   ]*$//;
3686}'
3687fi
3688
3689DEFS=-DHAVE_CONFIG_H
3690
3691ac_libobjs=
3692ac_ltlibobjs=
3693for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3694  # 1. Remove the extension, and $U if already installed.
3695  ac_i=`echo "$ac_i" |
3696     sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3697  # 2. Add them.
3698  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3699  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3700done
3701LIBOBJS=$ac_libobjs
3702
3703LTLIBOBJS=$ac_ltlibobjs
3704
3705
3706if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3707  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3708Usually this means the macro was only invoked conditionally." >&5
3709echo "$as_me: error: conditional \"AMDEP\" was never defined.
3710Usually this means the macro was only invoked conditionally." >&2;}
3711   { (exit 1); exit 1; }; }
3712fi
3713if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3714  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3715Usually this means the macro was only invoked conditionally." >&5
3716echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3717Usually this means the macro was only invoked conditionally." >&2;}
3718   { (exit 1); exit 1; }; }
3719fi
3720if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
3721  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
3722Usually this means the macro was only invoked conditionally." >&5
3723echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
3724Usually this means the macro was only invoked conditionally." >&2;}
3725   { (exit 1); exit 1; }; }
3726fi
3727if test -z "${USE_SQLITE_TRUE}" && test -z "${USE_SQLITE_FALSE}"; then
3728  { { echo "$as_me:$LINENO: error: conditional \"USE_SQLITE\" was never defined.
3729Usually this means the macro was only invoked conditionally." >&5
3730echo "$as_me: error: conditional \"USE_SQLITE\" was never defined.
3731Usually this means the macro was only invoked conditionally." >&2;}
3732   { (exit 1); exit 1; }; }
3733fi
3734
3735: ${CONFIG_STATUS=./config.status}
3736ac_clean_files_save=$ac_clean_files
3737ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3738{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3739echo "$as_me: creating $CONFIG_STATUS" >&6;}
3740cat >$CONFIG_STATUS <<_ACEOF
3741#! $SHELL
3742# Generated by $as_me.
3743# Run this file to recreate the current configuration.
3744# Compiler output produced by configure, useful for debugging
3745# configure, is in config.log if it exists.
3746
3747debug=false
3748ac_cs_recheck=false
3749ac_cs_silent=false
3750SHELL=\${CONFIG_SHELL-$SHELL}
3751_ACEOF
3752
3753cat >>$CONFIG_STATUS <<\_ACEOF
3754## --------------------- ##
3755## M4sh Initialization.  ##
3756## --------------------- ##
3757
3758# Be Bourne compatible
3759if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3760  emulate sh
3761  NULLCMD=:
3762  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3763  # is contrary to our usage.  Disable this feature.
3764  alias -g '${1+"$@"}'='"$@"'
3765elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3766  set -o posix
3767fi
3768DUALCASE=1; export DUALCASE # for MKS sh
3769
3770# Support unset when possible.
3771if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3772  as_unset=unset
3773else
3774  as_unset=false
3775fi
3776
3777
3778# Work around bugs in pre-3.0 UWIN ksh.
3779$as_unset ENV MAIL MAILPATH
3780PS1='$ '
3781PS2='> '
3782PS4='+ '
3783
3784# NLS nuisances.
3785for as_var in \
3786  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3787  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3788  LC_TELEPHONE LC_TIME
3789do
3790  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3791    eval $as_var=C; export $as_var
3792  else
3793    $as_unset $as_var
3794  fi
3795done
3796
3797# Required to use basename.
3798if expr a : '\(a\)' >/dev/null 2>&1; then
3799  as_expr=expr
3800else
3801  as_expr=false
3802fi
3803
3804if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3805  as_basename=basename
3806else
3807  as_basename=false
3808fi
3809
3810
3811# Name of the executable.
3812as_me=`$as_basename "$0" ||
3813$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3814     X"$0" : 'X\(//\)$' \| \
3815     X"$0" : 'X\(/\)$' \| \
3816     .     : '\(.\)' 2>/dev/null ||
3817echo X/"$0" |
3818    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3819      /^X\/\(\/\/\)$/{ s//\1/; q; }
3820      /^X\/\(\/\).*/{ s//\1/; q; }
3821      s/.*/./; q'`
3822
3823
3824# PATH needs CR, and LINENO needs CR and PATH.
3825# Avoid depending upon Character Ranges.
3826as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3827as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3828as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3829as_cr_digits='0123456789'
3830as_cr_alnum=$as_cr_Letters$as_cr_digits
3831
3832# The user is always right.
3833if test "${PATH_SEPARATOR+set}" != set; then
3834  echo "#! /bin/sh" >conf$$.sh
3835  echo  "exit 0"   >>conf$$.sh
3836  chmod +x conf$$.sh
3837  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3838    PATH_SEPARATOR=';'
3839  else
3840    PATH_SEPARATOR=:
3841  fi
3842  rm -f conf$$.sh
3843fi
3844
3845
3846  as_lineno_1=$LINENO
3847  as_lineno_2=$LINENO
3848  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3849  test "x$as_lineno_1" != "x$as_lineno_2" &&
3850  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3851  # Find who we are.  Look in the path if we contain no path at all
3852  # relative or not.
3853  case $0 in
3854    *[\\/]* ) as_myself=$0 ;;
3855    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856for as_dir in $PATH
3857do
3858  IFS=$as_save_IFS
3859  test -z "$as_dir" && as_dir=.
3860  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3861done
3862
3863       ;;
3864  esac
3865  # We did not find ourselves, most probably we were run as `sh COMMAND'
3866  # in which case we are not to be found in the path.
3867  if test "x$as_myself" = x; then
3868    as_myself=$0
3869  fi
3870  if test ! -f "$as_myself"; then
3871    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3872echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3873   { (exit 1); exit 1; }; }
3874  fi
3875  case $CONFIG_SHELL in
3876  '')
3877    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3878for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3879do
3880  IFS=$as_save_IFS
3881  test -z "$as_dir" && as_dir=.
3882  for as_base in sh bash ksh sh5; do
3883     case $as_dir in
3884     /*)
3885       if ("$as_dir/$as_base" -c '
3886  as_lineno_1=$LINENO
3887  as_lineno_2=$LINENO
3888  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3889  test "x$as_lineno_1" != "x$as_lineno_2" &&
3890  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3891         $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3892         $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3893         CONFIG_SHELL=$as_dir/$as_base
3894         export CONFIG_SHELL
3895         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3896       fi;;
3897     esac
3898       done
3899done
3900;;
3901  esac
3902
3903  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3904  # uniformly replaced by the line number.  The first 'sed' inserts a
3905  # line-number line before each line; the second 'sed' does the real
3906  # work.  The second script uses 'N' to pair each line-number line
3907  # with the numbered line, and appends trailing '-' during
3908  # substitution so that $LINENO is not a special case at line end.
3909  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3910  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3911  sed '=' <$as_myself |
3912    sed '
3913      N
3914      s,$,-,
3915      : loop
3916      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3917      t loop
3918      s,-$,,
3919      s,^['$as_cr_digits']*\n,,
3920    ' >$as_me.lineno &&
3921  chmod +x $as_me.lineno ||
3922    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3923echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3924   { (exit 1); exit 1; }; }
3925
3926  # Don't try to exec as it changes $[0], causing all sort of problems
3927  # (the dirname of $[0] is not the place where we might find the
3928  # original and so on.  Autoconf is especially sensible to this).
3929  . ./$as_me.lineno
3930  # Exit status is that of the last command.
3931  exit
3932}
3933
3934
3935case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3936  *c*,-n*) ECHO_N= ECHO_C='
3937' ECHO_T='  ' ;;
3938  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3939  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
3940esac
3941
3942if expr a : '\(a\)' >/dev/null 2>&1; then
3943  as_expr=expr
3944else
3945  as_expr=false
3946fi
3947
3948rm -f conf$$ conf$$.exe conf$$.file
3949echo >conf$$.file
3950if ln -s conf$$.file conf$$ 2>/dev/null; then
3951  # We could just check for DJGPP; but this test a) works b) is more generic
3952  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3953  if test -f conf$$.exe; then
3954    # Don't use ln at all; we don't have any links
3955    as_ln_s='cp -p'
3956  else
3957    as_ln_s='ln -s'
3958  fi
3959elif ln conf$$.file conf$$ 2>/dev/null; then
3960  as_ln_s=ln
3961else
3962  as_ln_s='cp -p'
3963fi
3964rm -f conf$$ conf$$.exe conf$$.file
3965
3966if mkdir -p . 2>/dev/null; then
3967  as_mkdir_p=:
3968else
3969  test -d ./-p && rmdir ./-p
3970  as_mkdir_p=false
3971fi
3972
3973as_executable_p="test -f"
3974
3975# Sed expression to map a string onto a valid CPP name.
3976as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3977
3978# Sed expression to map a string onto a valid variable name.
3979as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3980
3981
3982# IFS
3983# We need space, tab and new line, in precisely that order.
3984as_nl='
3985'
3986IFS="   $as_nl"
3987
3988# CDPATH.
3989$as_unset CDPATH
3990
3991exec 6>&1
3992
3993# Open the log real soon, to keep \$[0] and so on meaningful, and to
3994# report actual input values of CONFIG_FILES etc. instead of their
3995# values after options handling.  Logging --version etc. is OK.
3996exec 5>>config.log
3997{
3998  echo
3999  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4000## Running $as_me. ##
4001_ASBOX
4002} >&5
4003cat >&5 <<_CSEOF
4004
4005This file was extended by greenstone2-runtime-src $as_me 2.84, which was
4006generated by GNU Autoconf 2.59.  Invocation command line was
4007
4008  CONFIG_FILES    = $CONFIG_FILES
4009  CONFIG_HEADERS  = $CONFIG_HEADERS
4010  CONFIG_LINKS    = $CONFIG_LINKS
4011  CONFIG_COMMANDS = $CONFIG_COMMANDS
4012  $ $0 $@
4013
4014_CSEOF
4015echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4016echo >&5
4017_ACEOF
4018
4019# Files that config.status was made for.
4020if test -n "$ac_config_files"; then
4021  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4022fi
4023
4024if test -n "$ac_config_headers"; then
4025  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4026fi
4027
4028if test -n "$ac_config_links"; then
4029  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4030fi
4031
4032if test -n "$ac_config_commands"; then
4033  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4034fi
4035
4036cat >>$CONFIG_STATUS <<\_ACEOF
4037
4038ac_cs_usage="\
4039\`$as_me' instantiates files from templates according to the
4040current configuration.
4041
4042Usage: $0 [OPTIONS] [FILE]...
4043
4044  -h, --help       print this help, then exit
4045  -V, --version    print version number, then exit
4046  -q, --quiet      do not print progress messages
4047  -d, --debug      don't remove temporary files
4048      --recheck    update $as_me by reconfiguring in the same conditions
4049  --file=FILE[:TEMPLATE]
4050           instantiate the configuration file FILE
4051  --header=FILE[:TEMPLATE]
4052           instantiate the configuration header FILE
4053
4054Configuration files:
4055$config_files
4056
4057Configuration headers:
4058$config_headers
4059
4060Configuration commands:
4061$config_commands
4062
4063Report bugs to <bug-autoconf@gnu.org>."
4064_ACEOF
4065
4066cat >>$CONFIG_STATUS <<_ACEOF
4067ac_cs_version="\\
4068greenstone2-runtime-src config.status 2.84
4069configured by $0, generated by GNU Autoconf 2.59,
4070  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4071
4072Copyright (C) 2003 Free Software Foundation, Inc.
4073This config.status script is free software; the Free Software Foundation
4074gives unlimited permission to copy, distribute and modify it."
4075srcdir=$srcdir
4076INSTALL="$INSTALL"
4077_ACEOF
4078
4079cat >>$CONFIG_STATUS <<\_ACEOF
4080# If no file are specified by the user, then we need to provide default
4081# value.  By we need to know if files were specified by the user.
4082ac_need_defaults=:
4083while test $# != 0
4084do
4085  case $1 in
4086  --*=*)
4087    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4088    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4089    ac_shift=:
4090    ;;
4091  -*)
4092    ac_option=$1
4093    ac_optarg=$2
4094    ac_shift=shift
4095    ;;
4096  *) # This is not an option, so the user has probably given explicit
4097     # arguments.
4098     ac_option=$1
4099     ac_need_defaults=false;;
4100  esac
4101
4102  case $ac_option in
4103  # Handling of the options.
4104_ACEOF
4105cat >>$CONFIG_STATUS <<\_ACEOF
4106  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4107    ac_cs_recheck=: ;;
4108  --version | --vers* | -V )
4109    echo "$ac_cs_version"; exit 0 ;;
4110  --he | --h)
4111    # Conflict between --help and --header
4112    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4113Try \`$0 --help' for more information." >&5
4114echo "$as_me: error: ambiguous option: $1
4115Try \`$0 --help' for more information." >&2;}
4116   { (exit 1); exit 1; }; };;
4117  --help | --hel | -h )
4118    echo "$ac_cs_usage"; exit 0 ;;
4119  --debug | --d* | -d )
4120    debug=: ;;
4121  --file | --fil | --fi | --f )
4122    $ac_shift
4123    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4124    ac_need_defaults=false;;
4125  --header | --heade | --head | --hea )
4126    $ac_shift
4127    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4128    ac_need_defaults=false;;
4129  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4130  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4131    ac_cs_silent=: ;;
4132
4133  # This is an error.
4134  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4135Try \`$0 --help' for more information." >&5
4136echo "$as_me: error: unrecognized option: $1
4137Try \`$0 --help' for more information." >&2;}
4138   { (exit 1); exit 1; }; } ;;
4139
4140  *) ac_config_targets="$ac_config_targets $1" ;;
4141
4142  esac
4143  shift
4144done
4145
4146ac_configure_extra_args=
4147
4148if $ac_cs_silent; then
4149  exec 6>/dev/null
4150  ac_configure_extra_args="$ac_configure_extra_args --silent"
4151fi
4152
4153_ACEOF
4154cat >>$CONFIG_STATUS <<_ACEOF
4155if \$ac_cs_recheck; then
4156  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4157  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4158fi
4159
4160_ACEOF
4161
4162cat >>$CONFIG_STATUS <<_ACEOF
4163#
4164# INIT-COMMANDS section.
4165#
4166
4167AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4168
4169_ACEOF
4170
4171
4172
4173cat >>$CONFIG_STATUS <<\_ACEOF
4174for ac_config_target in $ac_config_targets
4175do
4176  case "$ac_config_target" in
4177  # Handling of arguments.
4178  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4179  "src/colservr/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/colservr/Makefile" ;;
4180  "src/protocol/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/protocol/Makefile" ;;
4181  "src/recpt/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/recpt/Makefile" ;;
4182  "src/oaiservr/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/oaiservr/Makefile" ;;
4183  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4184  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4185  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4186echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4187   { (exit 1); exit 1; }; };;
4188  esac
4189done
4190
4191# If the user did not use the arguments to specify the items to instantiate,
4192# then the envvar interface is used.  Set only those that are not.
4193# We use the long form for the default assignment because of an extremely
4194# bizarre bug on SunOS 4.1.3.
4195if $ac_need_defaults; then
4196  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4197  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4198  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4199fi
4200
4201# Have a temporary directory for convenience.  Make it in the build tree
4202# simply because there is no reason to put it here, and in addition,
4203# creating and moving files from /tmp can sometimes cause problems.
4204# Create a temporary directory, and hook for its removal unless debugging.
4205$debug ||
4206{
4207  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4208  trap '{ (exit 1); exit 1; }' 1 2 13 15
4209}
4210
4211# Create a (secure) tmp directory for tmp files.
4212
4213{
4214  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4215  test -n "$tmp" && test -d "$tmp"
4216}  ||
4217{
4218  tmp=./confstat$$-$RANDOM
4219  (umask 077 && mkdir $tmp)
4220} ||
4221{
4222   echo "$me: cannot create a temporary directory in ." >&2
4223   { (exit 1); exit 1; }
4224}
4225
4226_ACEOF
4227
4228cat >>$CONFIG_STATUS <<_ACEOF
4229
4230#
4231# CONFIG_FILES section.
4232#
4233
4234# No need to generate the scripts if there are no CONFIG_FILES.
4235# This happens for instance when ./config.status config.h
4236if test -n "\$CONFIG_FILES"; then
4237  # Protect against being on the right side of a sed subst in config.status.
4238  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4239   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4240s,@SHELL@,$SHELL,;t t
4241s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4242s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4243s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4244s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4245s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4246s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4247s,@exec_prefix@,$exec_prefix,;t t
4248s,@prefix@,$prefix,;t t
4249s,@program_transform_name@,$program_transform_name,;t t
4250s,@bindir@,$bindir,;t t
4251s,@sbindir@,$sbindir,;t t
4252s,@libexecdir@,$libexecdir,;t t
4253s,@datadir@,$datadir,;t t
4254s,@sysconfdir@,$sysconfdir,;t t
4255s,@sharedstatedir@,$sharedstatedir,;t t
4256s,@localstatedir@,$localstatedir,;t t
4257s,@libdir@,$libdir,;t t
4258s,@includedir@,$includedir,;t t
4259s,@oldincludedir@,$oldincludedir,;t t
4260s,@infodir@,$infodir,;t t
4261s,@mandir@,$mandir,;t t
4262s,@build_alias@,$build_alias,;t t
4263s,@host_alias@,$host_alias,;t t
4264s,@target_alias@,$target_alias,;t t
4265s,@DEFS@,$DEFS,;t t
4266s,@ECHO_C@,$ECHO_C,;t t
4267s,@ECHO_N@,$ECHO_N,;t t
4268s,@ECHO_T@,$ECHO_T,;t t
4269s,@LIBS@,$LIBS,;t t
4270s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4271s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4272s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4273s,@CYGPATH_W@,$CYGPATH_W,;t t
4274s,@PACKAGE@,$PACKAGE,;t t
4275s,@VERSION@,$VERSION,;t t
4276s,@ACLOCAL@,$ACLOCAL,;t t
4277s,@AUTOCONF@,$AUTOCONF,;t t
4278s,@AUTOMAKE@,$AUTOMAKE,;t t
4279s,@AUTOHEADER@,$AUTOHEADER,;t t
4280s,@MAKEINFO@,$MAKEINFO,;t t
4281s,@install_sh@,$install_sh,;t t
4282s,@STRIP@,$STRIP,;t t
4283s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4284s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4285s,@mkdir_p@,$mkdir_p,;t t
4286s,@AWK@,$AWK,;t t
4287s,@SET_MAKE@,$SET_MAKE,;t t
4288s,@am__leading_dot@,$am__leading_dot,;t t
4289s,@AMTAR@,$AMTAR,;t t
4290s,@am__tar@,$am__tar,;t t
4291s,@am__untar@,$am__untar,;t t
4292s,@CC@,$CC,;t t
4293s,@CFLAGS@,$CFLAGS,;t t
4294s,@LDFLAGS@,$LDFLAGS,;t t
4295s,@CPPFLAGS@,$CPPFLAGS,;t t
4296s,@ac_ct_CC@,$ac_ct_CC,;t t
4297s,@EXEEXT@,$EXEEXT,;t t
4298s,@OBJEXT@,$OBJEXT,;t t
4299s,@DEPDIR@,$DEPDIR,;t t
4300s,@am__include@,$am__include,;t t
4301s,@am__quote@,$am__quote,;t t
4302s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4303s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4304s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4305s,@CCDEPMODE@,$CCDEPMODE,;t t
4306s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4307s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4308s,@CXX@,$CXX,;t t
4309s,@CXXFLAGS@,$CXXFLAGS,;t t
4310s,@ac_ct_CXX@,$ac_ct_CXX,;t t
4311s,@CXXDEPMODE@,$CXXDEPMODE,;t t
4312s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
4313s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
4314s,@RANLIB@,$RANLIB,;t t
4315s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4316s,@build@,$build,;t t
4317s,@build_cpu@,$build_cpu,;t t
4318s,@build_vendor@,$build_vendor,;t t
4319s,@build_os@,$build_os,;t t
4320s,@host@,$host,;t t
4321s,@host_cpu@,$host_cpu,;t t
4322s,@host_vendor@,$host_vendor,;t t
4323s,@host_os@,$host_os,;t t
4324s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
4325s,@USE_SQLITE_TRUE@,$USE_SQLITE_TRUE,;t t
4326s,@USE_SQLITE_FALSE@,$USE_SQLITE_FALSE,;t t
4327s,@LIBOBJS@,$LIBOBJS,;t t
4328s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4329CEOF
4330
4331_ACEOF
4332
4333  cat >>$CONFIG_STATUS <<\_ACEOF
4334  # Split the substitutions into bite-sized pieces for seds with
4335  # small command number limits, like on Digital OSF/1 and HP-UX.
4336  ac_max_sed_lines=48
4337  ac_sed_frag=1 # Number of current file.
4338  ac_beg=1 # First line for current file.
4339  ac_end=$ac_max_sed_lines # Line after last line for current file.
4340  ac_more_lines=:
4341  ac_sed_cmds=
4342  while $ac_more_lines; do
4343    if test $ac_beg -gt 1; then
4344      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4345    else
4346      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4347    fi
4348    if test ! -s $tmp/subs.frag; then
4349      ac_more_lines=false
4350    else
4351      # The purpose of the label and of the branching condition is to
4352      # speed up the sed processing (if there are no `@' at all, there
4353      # is no need to browse any of the substitutions).
4354      # These are the two extra sed commands mentioned above.
4355      (echo ':t
4356  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4357      if test -z "$ac_sed_cmds"; then
4358    ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4359      else
4360    ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4361      fi
4362      ac_sed_frag=`expr $ac_sed_frag + 1`
4363      ac_beg=$ac_end
4364      ac_end=`expr $ac_end + $ac_max_sed_lines`
4365    fi
4366  done
4367  if test -z "$ac_sed_cmds"; then
4368    ac_sed_cmds=cat
4369  fi
4370fi # test -n "$CONFIG_FILES"
4371
4372_ACEOF
4373cat >>$CONFIG_STATUS <<\_ACEOF
4374for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4375  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4376  case $ac_file in
4377  - | *:- | *:-:* ) # input from stdin
4378    cat >$tmp/stdin
4379    ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4380    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4381  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4382    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4383  * )   ac_file_in=$ac_file.in ;;
4384  esac
4385
4386  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4387  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4388$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4389     X"$ac_file" : 'X\(//\)[^/]' \| \
4390     X"$ac_file" : 'X\(//\)$' \| \
4391     X"$ac_file" : 'X\(/\)' \| \
4392     .     : '\(.\)' 2>/dev/null ||
4393echo X"$ac_file" |
4394    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4395      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4396      /^X\(\/\/\)$/{ s//\1/; q; }
4397      /^X\(\/\).*/{ s//\1/; q; }
4398      s/.*/./; q'`
4399  { if $as_mkdir_p; then
4400    mkdir -p "$ac_dir"
4401  else
4402    as_dir="$ac_dir"
4403    as_dirs=
4404    while test ! -d "$as_dir"; do
4405      as_dirs="$as_dir $as_dirs"
4406      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4407$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4408     X"$as_dir" : 'X\(//\)[^/]' \| \
4409     X"$as_dir" : 'X\(//\)$' \| \
4410     X"$as_dir" : 'X\(/\)' \| \
4411     .     : '\(.\)' 2>/dev/null ||
4412echo X"$as_dir" |
4413    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4414      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4415      /^X\(\/\/\)$/{ s//\1/; q; }
4416      /^X\(\/\).*/{ s//\1/; q; }
4417      s/.*/./; q'`
4418    done
4419    test ! -n "$as_dirs" || mkdir $as_dirs
4420  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4421echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4422   { (exit 1); exit 1; }; }; }
4423
4424  ac_builddir=.
4425
4426if test "$ac_dir" != .; then
4427  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4428  # A "../" for each directory in $ac_dir_suffix.
4429  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4430else
4431  ac_dir_suffix= ac_top_builddir=
4432fi
4433
4434case $srcdir in
4435  .)  # No --srcdir option.  We are building in place.
4436    ac_srcdir=.
4437    if test -z "$ac_top_builddir"; then
4438       ac_top_srcdir=.
4439    else
4440       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4441    fi ;;
4442  [\\/]* | ?:[\\/]* )  # Absolute path.
4443    ac_srcdir=$srcdir$ac_dir_suffix;
4444    ac_top_srcdir=$srcdir ;;
4445  *) # Relative path.
4446    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4447    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4448esac
4449
4450# Do not use `cd foo && pwd` to compute absolute paths, because
4451# the directories may not exist.
4452case `pwd` in
4453.) ac_abs_builddir="$ac_dir";;
4454*)
4455  case "$ac_dir" in
4456  .) ac_abs_builddir=`pwd`;;
4457  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4458  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4459  esac;;
4460esac
4461case $ac_abs_builddir in
4462.) ac_abs_top_builddir=${ac_top_builddir}.;;
4463*)
4464  case ${ac_top_builddir}. in
4465  .) ac_abs_top_builddir=$ac_abs_builddir;;
4466  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4467  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4468  esac;;
4469esac
4470case $ac_abs_builddir in
4471.) ac_abs_srcdir=$ac_srcdir;;
4472*)
4473  case $ac_srcdir in
4474  .) ac_abs_srcdir=$ac_abs_builddir;;
4475  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4476  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4477  esac;;
4478esac
4479case $ac_abs_builddir in
4480.) ac_abs_top_srcdir=$ac_top_srcdir;;
4481*)
4482  case $ac_top_srcdir in
4483  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4484  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4485  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4486  esac;;
4487esac
4488
4489
4490  case $INSTALL in
4491  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4492  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4493  esac
4494
4495  if test x"$ac_file" != x-; then
4496    { echo "$as_me:$LINENO: creating $ac_file" >&5
4497echo "$as_me: creating $ac_file" >&6;}
4498    rm -f "$ac_file"
4499  fi
4500  # Let's still pretend it is `configure' which instantiates (i.e., don't
4501  # use $as_me), people would be surprised to read:
4502  #    /* config.h.  Generated by config.status.  */
4503  if test x"$ac_file" = x-; then
4504    configure_input=
4505  else
4506    configure_input="$ac_file.  "
4507  fi
4508  configure_input=$configure_input"Generated from `echo $ac_file_in |
4509                     sed 's,.*/,,'` by configure."
4510
4511  # First look for the input files in the build tree, otherwise in the
4512  # src tree.
4513  ac_file_inputs=`IFS=:
4514    for f in $ac_file_in; do
4515      case $f in
4516      -) echo $tmp/stdin ;;
4517      [\\/$]*)
4518     # Absolute (can't be DOS-style, as IFS=:)
4519     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4520echo "$as_me: error: cannot find input file: $f" >&2;}
4521   { (exit 1); exit 1; }; }
4522     echo "$f";;
4523      *) # Relative
4524     if test -f "$f"; then
4525       # Build tree
4526       echo "$f"
4527     elif test -f "$srcdir/$f"; then
4528       # Source tree
4529       echo "$srcdir/$f"
4530     else
4531       # /dev/null tree
4532       { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4533echo "$as_me: error: cannot find input file: $f" >&2;}
4534   { (exit 1); exit 1; }; }
4535     fi;;
4536      esac
4537    done` || { (exit 1); exit 1; }
4538_ACEOF
4539cat >>$CONFIG_STATUS <<_ACEOF
4540  sed "$ac_vpsub
4541$extrasub
4542_ACEOF
4543cat >>$CONFIG_STATUS <<\_ACEOF
4544:t
4545/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4546s,@configure_input@,$configure_input,;t t
4547s,@srcdir@,$ac_srcdir,;t t
4548s,@abs_srcdir@,$ac_abs_srcdir,;t t
4549s,@top_srcdir@,$ac_top_srcdir,;t t
4550s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4551s,@builddir@,$ac_builddir,;t t
4552s,@abs_builddir@,$ac_abs_builddir,;t t
4553s,@top_builddir@,$ac_top_builddir,;t t
4554s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4555s,@INSTALL@,$ac_INSTALL,;t t
4556" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4557  rm -f $tmp/stdin
4558  if test x"$ac_file" != x-; then
4559    mv $tmp/out $ac_file
4560  else
4561    cat $tmp/out
4562    rm -f $tmp/out
4563  fi
4564
4565done
4566_ACEOF
4567cat >>$CONFIG_STATUS <<\_ACEOF
4568
4569#
4570# CONFIG_HEADER section.
4571#
4572
4573# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4574# NAME is the cpp macro being defined and VALUE is the value it is being given.
4575#
4576# ac_d sets the value in "#define NAME VALUE" lines.
4577ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
4578ac_dB='[     ].*$,\1#\2'
4579ac_dC=' '
4580ac_dD=',;t'
4581# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4582ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
4583ac_uB='$,\1#\2define\3'
4584ac_uC=' '
4585ac_uD=',;t'
4586
4587for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4588  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4589  case $ac_file in
4590  - | *:- | *:-:* ) # input from stdin
4591    cat >$tmp/stdin
4592    ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4593    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4594  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4595    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4596  * )   ac_file_in=$ac_file.in ;;
4597  esac
4598
4599  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4600echo "$as_me: creating $ac_file" >&6;}
4601
4602  # First look for the input files in the build tree, otherwise in the
4603  # src tree.
4604  ac_file_inputs=`IFS=:
4605    for f in $ac_file_in; do
4606      case $f in
4607      -) echo $tmp/stdin ;;
4608      [\\/$]*)
4609     # Absolute (can't be DOS-style, as IFS=:)
4610     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4611echo "$as_me: error: cannot find input file: $f" >&2;}
4612   { (exit 1); exit 1; }; }
4613     # Do quote $f, to prevent DOS paths from being IFS'd.
4614     echo "$f";;
4615      *) # Relative
4616     if test -f "$f"; then
4617       # Build tree
4618       echo "$f"
4619     elif test -f "$srcdir/$f"; then
4620       # Source tree
4621       echo "$srcdir/$f"
4622     else
4623       # /dev/null tree
4624       { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4625echo "$as_me: error: cannot find input file: $f" >&2;}
4626   { (exit 1); exit 1; }; }
4627     fi;;
4628      esac
4629    done` || { (exit 1); exit 1; }
4630  # Remove the trailing spaces.
4631  sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
4632
4633_ACEOF
4634
4635# Transform confdefs.h into two sed scripts, `conftest.defines' and
4636# `conftest.undefs', that substitutes the proper values into
4637# config.h.in to produce config.h.  The first handles `#define'
4638# templates, and the second `#undef' templates.
4639# And first: Protect against being on the right side of a sed subst in
4640# config.status.  Protect against being in an unquoted here document
4641# in config.status.
4642rm -f conftest.defines conftest.undefs
4643# Using a here document instead of a string reduces the quoting nightmare.
4644# Putting comments in sed scripts is not portable.
4645#
4646# `end' is used to avoid that the second main sed command (meant for
4647# 0-ary CPP macros) applies to n-ary macro definitions.
4648# See the Autoconf documentation for `clear'.
4649cat >confdef2sed.sed <<\_ACEOF
4650s/[\\&,]/\\&/g
4651s,[\\$`],\\&,g
4652t clear
4653: clear
4654s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4655t end
4656s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4657: end
4658_ACEOF
4659# If some macros were called several times there might be several times
4660# the same #defines, which is useless.  Nevertheless, we may not want to
4661# sort them, since we want the *last* AC-DEFINE to be honored.
4662uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4663sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4664rm -f confdef2sed.sed
4665
4666# This sed command replaces #undef with comments.  This is necessary, for
4667# example, in the case of _POSIX_SOURCE, which is predefined and required
4668# on some systems where configure will not decide to define it.
4669cat >>conftest.undefs <<\_ACEOF
4670s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4671_ACEOF
4672
4673# Break up conftest.defines because some shells have a limit on the size
4674# of here documents, and old seds have small limits too (100 cmds).
4675echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4676echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4677echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4678echo '  :' >>$CONFIG_STATUS
4679rm -f conftest.tail
4680while grep . conftest.defines >/dev/null
4681do
4682  # Write a limited-size here document to $tmp/defines.sed.
4683  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4684  # Speed up: don't consider the non `#define' lines.
4685  echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
4686  # Work around the forget-to-reset-the-flag bug.
4687  echo 't clr' >>$CONFIG_STATUS
4688  echo ': clr' >>$CONFIG_STATUS
4689  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4690  echo 'CEOF
4691  sed -f $tmp/defines.sed $tmp/in >$tmp/out
4692  rm -f $tmp/in
4693  mv $tmp/out $tmp/in
4694' >>$CONFIG_STATUS
4695  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4696  rm -f conftest.defines
4697  mv conftest.tail conftest.defines
4698done
4699rm -f conftest.defines
4700echo '  fi # grep' >>$CONFIG_STATUS
4701echo >>$CONFIG_STATUS
4702
4703# Break up conftest.undefs because some shells have a limit on the size
4704# of here documents, and old seds have small limits too (100 cmds).
4705echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
4706rm -f conftest.tail
4707while grep . conftest.undefs >/dev/null
4708do
4709  # Write a limited-size here document to $tmp/undefs.sed.
4710  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4711  # Speed up: don't consider the non `#undef'
4712  echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
4713  # Work around the forget-to-reset-the-flag bug.
4714  echo 't clr' >>$CONFIG_STATUS
4715  echo ': clr' >>$CONFIG_STATUS
4716  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4717  echo 'CEOF
4718  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4719  rm -f $tmp/in
4720  mv $tmp/out $tmp/in
4721' >>$CONFIG_STATUS
4722  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4723  rm -f conftest.undefs
4724  mv conftest.tail conftest.undefs
4725done
4726rm -f conftest.undefs
4727
4728cat >>$CONFIG_STATUS <<\_ACEOF
4729  # Let's still pretend it is `configure' which instantiates (i.e., don't
4730  # use $as_me), people would be surprised to read:
4731  #    /* config.h.  Generated by config.status.  */
4732  if test x"$ac_file" = x-; then
4733    echo "/* Generated by configure.  */" >$tmp/config.h
4734  else
4735    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
4736  fi
4737  cat $tmp/in >>$tmp/config.h
4738  rm -f $tmp/in
4739  if test x"$ac_file" != x-; then
4740    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4741      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4742echo "$as_me: $ac_file is unchanged" >&6;}
4743    else
4744      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4745$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4746     X"$ac_file" : 'X\(//\)[^/]' \| \
4747     X"$ac_file" : 'X\(//\)$' \| \
4748     X"$ac_file" : 'X\(/\)' \| \
4749     .     : '\(.\)' 2>/dev/null ||
4750echo X"$ac_file" |
4751    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4752      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4753      /^X\(\/\/\)$/{ s//\1/; q; }
4754      /^X\(\/\).*/{ s//\1/; q; }
4755      s/.*/./; q'`
4756      { if $as_mkdir_p; then
4757    mkdir -p "$ac_dir"
4758  else
4759    as_dir="$ac_dir"
4760    as_dirs=
4761    while test ! -d "$as_dir"; do
4762      as_dirs="$as_dir $as_dirs"
4763      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4764$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4765     X"$as_dir" : 'X\(//\)[^/]' \| \
4766     X"$as_dir" : 'X\(//\)$' \| \
4767     X"$as_dir" : 'X\(/\)' \| \
4768     .     : '\(.\)' 2>/dev/null ||
4769echo X"$as_dir" |
4770    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4771      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4772      /^X\(\/\/\)$/{ s//\1/; q; }
4773      /^X\(\/\).*/{ s//\1/; q; }
4774      s/.*/./; q'`
4775    done
4776    test ! -n "$as_dirs" || mkdir $as_dirs
4777  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4778echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4779   { (exit 1); exit 1; }; }; }
4780
4781      rm -f $ac_file
4782      mv $tmp/config.h $ac_file
4783    fi
4784  else
4785    cat $tmp/config.h
4786    rm -f $tmp/config.h
4787  fi
4788# Compute $ac_file's index in $config_headers.
4789_am_stamp_count=1
4790for _am_header in $config_headers :; do
4791  case $_am_header in
4792    $ac_file | $ac_file:* )
4793      break ;;
4794    * )
4795      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4796  esac
4797done
4798echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4799$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4800     X$ac_file : 'X\(//\)[^/]' \| \
4801     X$ac_file : 'X\(//\)$' \| \
4802     X$ac_file : 'X\(/\)' \| \
4803     .     : '\(.\)' 2>/dev/null ||
4804echo X$ac_file |
4805    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4806      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4807      /^X\(\/\/\)$/{ s//\1/; q; }
4808      /^X\(\/\).*/{ s//\1/; q; }
4809      s/.*/./; q'`/stamp-h$_am_stamp_count
4810done
4811_ACEOF
4812cat >>$CONFIG_STATUS <<\_ACEOF
4813
4814#
4815# CONFIG_COMMANDS section.
4816#
4817for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4818  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4819  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4820  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4821$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4822     X"$ac_dest" : 'X\(//\)[^/]' \| \
4823     X"$ac_dest" : 'X\(//\)$' \| \
4824     X"$ac_dest" : 'X\(/\)' \| \
4825     .     : '\(.\)' 2>/dev/null ||
4826echo X"$ac_dest" |
4827    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4828      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4829      /^X\(\/\/\)$/{ s//\1/; q; }
4830      /^X\(\/\).*/{ s//\1/; q; }
4831      s/.*/./; q'`
4832  { if $as_mkdir_p; then
4833    mkdir -p "$ac_dir"
4834  else
4835    as_dir="$ac_dir"
4836    as_dirs=
4837    while test ! -d "$as_dir"; do
4838      as_dirs="$as_dir $as_dirs"
4839      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4840$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4841     X"$as_dir" : 'X\(//\)[^/]' \| \
4842     X"$as_dir" : 'X\(//\)$' \| \
4843     X"$as_dir" : 'X\(/\)' \| \
4844     .     : '\(.\)' 2>/dev/null ||
4845echo X"$as_dir" |
4846    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4847      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4848      /^X\(\/\/\)$/{ s//\1/; q; }
4849      /^X\(\/\).*/{ s//\1/; q; }
4850      s/.*/./; q'`
4851    done
4852    test ! -n "$as_dirs" || mkdir $as_dirs
4853  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4854echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4855   { (exit 1); exit 1; }; }; }
4856
4857  ac_builddir=.
4858
4859if test "$ac_dir" != .; then
4860  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4861  # A "../" for each directory in $ac_dir_suffix.
4862  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4863else
4864  ac_dir_suffix= ac_top_builddir=
4865fi
4866
4867case $srcdir in
4868  .)  # No --srcdir option.  We are building in place.
4869    ac_srcdir=.
4870    if test -z "$ac_top_builddir"; then
4871       ac_top_srcdir=.
4872    else
4873       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4874    fi ;;
4875  [\\/]* | ?:[\\/]* )  # Absolute path.
4876    ac_srcdir=$srcdir$ac_dir_suffix;
4877    ac_top_srcdir=$srcdir ;;
4878  *) # Relative path.
4879    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4880    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4881esac
4882
4883# Do not use `cd foo && pwd` to compute absolute paths, because
4884# the directories may not exist.
4885case `pwd` in
4886.) ac_abs_builddir="$ac_dir";;
4887*)
4888  case "$ac_dir" in
4889  .) ac_abs_builddir=`pwd`;;
4890  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4891  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4892  esac;;
4893esac
4894case $ac_abs_builddir in
4895.) ac_abs_top_builddir=${ac_top_builddir}.;;
4896*)
4897  case ${ac_top_builddir}. in
4898  .) ac_abs_top_builddir=$ac_abs_builddir;;
4899  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4900  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4901  esac;;
4902esac
4903case $ac_abs_builddir in
4904.) ac_abs_srcdir=$ac_srcdir;;
4905*)
4906  case $ac_srcdir in
4907  .) ac_abs_srcdir=$ac_abs_builddir;;
4908  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4909  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4910  esac;;
4911esac
4912case $ac_abs_builddir in
4913.) ac_abs_top_srcdir=$ac_top_srcdir;;
4914*)
4915  case $ac_top_srcdir in
4916  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4917  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4918  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4919  esac;;
4920esac
4921
4922
4923  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4924echo "$as_me: executing $ac_dest commands" >&6;}
4925  case $ac_dest in
4926    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4927  # Strip MF so we end up with the name of the file.
4928  mf=`echo "$mf" | sed -e 's/:.*$//'`
4929  # Check whether this is an Automake generated Makefile or not.
4930  # We used to match only the files named `Makefile.in', but
4931  # some people rename them; so instead we look at the file content.
4932  # Grep'ing the first line is not enough: some people post-process
4933  # each Makefile.in and add a new line on top of each file to say so.
4934  # So let's grep whole file.
4935  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4936    dirpart=`(dirname "$mf") 2>/dev/null ||
4937$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4938     X"$mf" : 'X\(//\)[^/]' \| \
4939     X"$mf" : 'X\(//\)$' \| \
4940     X"$mf" : 'X\(/\)' \| \
4941     .     : '\(.\)' 2>/dev/null ||
4942echo X"$mf" |
4943    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4944      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4945      /^X\(\/\/\)$/{ s//\1/; q; }
4946      /^X\(\/\).*/{ s//\1/; q; }
4947      s/.*/./; q'`
4948  else
4949    continue
4950  fi
4951  # Extract the definition of DEPDIR, am__include, and am__quote
4952  # from the Makefile without running `make'.
4953  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4954  test -z "$DEPDIR" && continue
4955  am__include=`sed -n 's/^am__include = //p' < "$mf"`
4956  test -z "am__include" && continue
4957  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4958  # When using ansi2knr, U may be empty or an underscore; expand it
4959  U=`sed -n 's/^U = //p' < "$mf"`
4960  # Find all dependency output files, they are included files with
4961  # $(DEPDIR) in their names.  We invoke sed twice because it is the
4962  # simplest approach to changing $(DEPDIR) to its actual value in the
4963  # expansion.
4964  for file in `sed -n "
4965    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4966       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4967    # Make sure the directory exists.
4968    test -f "$dirpart/$file" && continue
4969    fdir=`(dirname "$file") 2>/dev/null ||
4970$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4971     X"$file" : 'X\(//\)[^/]' \| \
4972     X"$file" : 'X\(//\)$' \| \
4973     X"$file" : 'X\(/\)' \| \
4974     .     : '\(.\)' 2>/dev/null ||
4975echo X"$file" |
4976    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4977      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4978      /^X\(\/\/\)$/{ s//\1/; q; }
4979      /^X\(\/\).*/{ s//\1/; q; }
4980      s/.*/./; q'`
4981    { if $as_mkdir_p; then
4982    mkdir -p $dirpart/$fdir
4983  else
4984    as_dir=$dirpart/$fdir
4985    as_dirs=
4986    while test ! -d "$as_dir"; do
4987      as_dirs="$as_dir $as_dirs"
4988      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4989$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4990     X"$as_dir" : 'X\(//\)[^/]' \| \
4991     X"$as_dir" : 'X\(//\)$' \| \
4992     X"$as_dir" : 'X\(/\)' \| \
4993     .     : '\(.\)' 2>/dev/null ||
4994echo X"$as_dir" |
4995    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4996      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4997      /^X\(\/\/\)$/{ s//\1/; q; }
4998      /^X\(\/\).*/{ s//\1/; q; }
4999      s/.*/./; q'`
5000    done
5001    test ! -n "$as_dirs" || mkdir $as_dirs
5002  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5003echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5004   { (exit 1); exit 1; }; }; }
5005
5006    # echo "creating $dirpart/$file"
5007    echo '# dummy' > "$dirpart/$file"
5008  done
5009done
5010 ;;
5011  esac
5012done
5013_ACEOF
5014
5015cat >>$CONFIG_STATUS <<\_ACEOF
5016
5017{ (exit 0); exit 0; }
5018_ACEOF
5019chmod +x $CONFIG_STATUS
5020ac_clean_files=$ac_clean_files_save
5021
5022
5023# configure is writing to config.log, and then calls config.status.
5024# config.status does its own redirection, appending to config.log.
5025# Unfortunately, on DOS this fails, as config.log is still kept open
5026# by configure, so config.status won't be able to write to it; its
5027# output is simply discarded.  So we exec the FD to /dev/null,
5028# effectively closing config.log, so it can be properly (re)opened and
5029# appended to by config.status.  When coming back to configure, we
5030# need to make the FD available again.
5031if test "$no_create" != yes; then
5032  ac_cs_success=:
5033  ac_config_status_args=
5034  test "$silent" = yes &&
5035    ac_config_status_args="$ac_config_status_args --quiet"
5036  exec 5>/dev/null
5037  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5038  exec 5>>config.log
5039  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5040  # would make configure fail if this is the last instruction.
5041  $ac_cs_success || { (exit 1); exit 1; }
5042fi
5043
Note: See TracBrowser for help on using the browser.