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

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

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

  • Property svn:executable set to *
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for greenstone2-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  --disable-sqlite        Disable 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 (enabled by default)
3591# Check whether --enable-sqlite or --disable-sqlite was given.
3592if test "${enable_sqlite+set}" = set; then
3593  enableval="$enable_sqlite"
3594
3595else
3596  enable_sqlite=yes
3597fi;
3598if test "x$enable_sqlite" != xno; then
3599
3600cat >>confdefs.h <<\_ACEOF
3601#define USE_SQLITE 1
3602_ACEOF
3603
3604fi
3605
3606
3607if test "x$enable_sqlite" != xno; then
3608  USE_SQLITE_TRUE=
3609  USE_SQLITE_FALSE='#'
3610else
3611  USE_SQLITE_TRUE='#'
3612  USE_SQLITE_FALSE=
3613fi
3614
3615
3616# Generate the Makefiles for this package
3617                                                  ac_config_files="$ac_config_files Makefile src/colservr/Makefile src/protocol/Makefile src/recpt/Makefile src/oaiservr/Makefile"
3618cat >confcache <<\_ACEOF
3619# This file is a shell script that caches the results of configure
3620# tests run on this system so they can be shared between configure
3621# scripts and configure runs, see configure's option --config-cache.
3622# It is not useful on other systems.  If it contains results you don't
3623# want to keep, you may remove or edit it.
3624#
3625# config.status only pays attention to the cache file if you give it
3626# the --recheck option to rerun configure.
3627#
3628# `ac_cv_env_foo' variables (set or unset) will be overridden when
3629# loading this file, other *unset* `ac_cv_foo' will be assigned the
3630# following values.
3631
3632_ACEOF
3633
3634# The following way of writing the cache mishandles newlines in values,
3635# but we know of no workaround that is simple, portable, and efficient.
3636# So, don't put newlines in cache variables' values.
3637# Ultrix sh set writes to stderr and can't be redirected directly,
3638# and sets the high bit in the cache file unless we assign to the vars.
3639{
3640  (set) 2>&1 |
3641    case `(ac_space=' '; set | grep ac_space) 2>&1` in
3642    *ac_space=\ *)
3643      # `set' does not quote correctly, so add quotes (double-quote
3644      # substitution turns \\\\ into \\, and sed turns \\ into \).
3645      sed -n \
3646    "s/'/'\\\\''/g;
3647      s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3648      ;;
3649    *)
3650      # `set' quotes correctly as required by POSIX, so do not add quotes.
3651      sed -n \
3652    "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3653      ;;
3654    esac;
3655} |
3656  sed '
3657     t clear
3658     : clear
3659     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3660     t end
3661     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3662     : end' >>confcache
3663if diff $cache_file confcache >/dev/null 2>&1; then :; else
3664  if test -w $cache_file; then
3665    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3666    cat confcache >$cache_file
3667  else
3668    echo "not updating unwritable cache $cache_file"
3669  fi
3670fi
3671rm -f confcache
3672
3673test "x$prefix" = xNONE && prefix=$ac_default_prefix
3674# Let make expand exec_prefix.
3675test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3676
3677# VPATH may cause trouble with some makes, so we remove $(srcdir),
3678# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3679# trailing colons and then remove the whole line if VPATH becomes empty
3680# (actually we leave an empty line to preserve line numbers).
3681if test "x$srcdir" = x.; then
3682  ac_vpsub='/^[  ]*VPATH[    ]*=/{
3683s/:*\$(srcdir):*/:/;
3684s/:*\${srcdir}:*/:/;
3685s/:*@srcdir@:*/:/;
3686s/^\([^=]*=[     ]*\):*/\1/;
3687s/:*$//;
3688s/^[^=]*=[   ]*$//;
3689}'
3690fi
3691
3692DEFS=-DHAVE_CONFIG_H
3693
3694ac_libobjs=
3695ac_ltlibobjs=
3696for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3697  # 1. Remove the extension, and $U if already installed.
3698  ac_i=`echo "$ac_i" |
3699     sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3700  # 2. Add them.
3701  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3702  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3703done
3704LIBOBJS=$ac_libobjs
3705
3706LTLIBOBJS=$ac_ltlibobjs
3707
3708
3709if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3710  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3711Usually this means the macro was only invoked conditionally." >&5
3712echo "$as_me: error: conditional \"AMDEP\" was never defined.
3713Usually this means the macro was only invoked conditionally." >&2;}
3714   { (exit 1); exit 1; }; }
3715fi
3716if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3717  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3718Usually this means the macro was only invoked conditionally." >&5
3719echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3720Usually this means the macro was only invoked conditionally." >&2;}
3721   { (exit 1); exit 1; }; }
3722fi
3723if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
3724  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
3725Usually this means the macro was only invoked conditionally." >&5
3726echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
3727Usually this means the macro was only invoked conditionally." >&2;}
3728   { (exit 1); exit 1; }; }
3729fi
3730if test -z "${USE_SQLITE_TRUE}" && test -z "${USE_SQLITE_FALSE}"; then
3731  { { echo "$as_me:$LINENO: error: conditional \"USE_SQLITE\" was never defined.
3732Usually this means the macro was only invoked conditionally." >&5
3733echo "$as_me: error: conditional \"USE_SQLITE\" was never defined.
3734Usually this means the macro was only invoked conditionally." >&2;}
3735   { (exit 1); exit 1; }; }
3736fi
3737
3738: ${CONFIG_STATUS=./config.status}
3739ac_clean_files_save=$ac_clean_files
3740ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3741{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3742echo "$as_me: creating $CONFIG_STATUS" >&6;}
3743cat >$CONFIG_STATUS <<_ACEOF
3744#! $SHELL
3745# Generated by $as_me.
3746# Run this file to recreate the current configuration.
3747# Compiler output produced by configure, useful for debugging
3748# configure, is in config.log if it exists.
3749
3750debug=false
3751ac_cs_recheck=false
3752ac_cs_silent=false
3753SHELL=\${CONFIG_SHELL-$SHELL}
3754_ACEOF
3755
3756cat >>$CONFIG_STATUS <<\_ACEOF
3757## --------------------- ##
3758## M4sh Initialization.  ##
3759## --------------------- ##
3760
3761# Be Bourne compatible
3762if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3763  emulate sh
3764  NULLCMD=:
3765  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3766  # is contrary to our usage.  Disable this feature.
3767  alias -g '${1+"$@"}'='"$@"'
3768elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3769  set -o posix
3770fi
3771DUALCASE=1; export DUALCASE # for MKS sh
3772
3773# Support unset when possible.
3774if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3775  as_unset=unset
3776else
3777  as_unset=false
3778fi
3779
3780
3781# Work around bugs in pre-3.0 UWIN ksh.
3782$as_unset ENV MAIL MAILPATH
3783PS1='$ '
3784PS2='> '
3785PS4='+ '
3786
3787# NLS nuisances.
3788for as_var in \
3789  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3790  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3791  LC_TELEPHONE LC_TIME
3792do
3793  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3794    eval $as_var=C; export $as_var
3795  else
3796    $as_unset $as_var
3797  fi
3798done
3799
3800# Required to use basename.
3801if expr a : '\(a\)' >/dev/null 2>&1; then
3802  as_expr=expr
3803else
3804  as_expr=false
3805fi
3806
3807if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3808  as_basename=basename
3809else
3810  as_basename=false
3811fi
3812
3813
3814# Name of the executable.
3815as_me=`$as_basename "$0" ||
3816$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3817     X"$0" : 'X\(//\)$' \| \
3818     X"$0" : 'X\(/\)$' \| \
3819     .     : '\(.\)' 2>/dev/null ||
3820echo X/"$0" |
3821    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3822      /^X\/\(\/\/\)$/{ s//\1/; q; }
3823      /^X\/\(\/\).*/{ s//\1/; q; }
3824      s/.*/./; q'`
3825
3826
3827# PATH needs CR, and LINENO needs CR and PATH.
3828# Avoid depending upon Character Ranges.
3829as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3830as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3831as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3832as_cr_digits='0123456789'
3833as_cr_alnum=$as_cr_Letters$as_cr_digits
3834
3835# The user is always right.
3836if test "${PATH_SEPARATOR+set}" != set; then
3837  echo "#! /bin/sh" >conf$$.sh
3838  echo  "exit 0"   >>conf$$.sh
3839  chmod +x conf$$.sh
3840  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3841    PATH_SEPARATOR=';'
3842  else
3843    PATH_SEPARATOR=:
3844  fi
3845  rm -f conf$$.sh
3846fi
3847
3848
3849  as_lineno_1=$LINENO
3850  as_lineno_2=$LINENO
3851  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3852  test "x$as_lineno_1" != "x$as_lineno_2" &&
3853  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
3854  # Find who we are.  Look in the path if we contain no path at all
3855  # relative or not.
3856  case $0 in
3857    *[\\/]* ) as_myself=$0 ;;
3858    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3859for as_dir in $PATH
3860do
3861  IFS=$as_save_IFS
3862  test -z "$as_dir" && as_dir=.
3863  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3864done
3865
3866       ;;
3867  esac
3868  # We did not find ourselves, most probably we were run as `sh COMMAND'
3869  # in which case we are not to be found in the path.
3870  if test "x$as_myself" = x; then
3871    as_myself=$0
3872  fi
3873  if test ! -f "$as_myself"; then
3874    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3875echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3876   { (exit 1); exit 1; }; }
3877  fi
3878  case $CONFIG_SHELL in
3879  '')
3880    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3881for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3882do
3883  IFS=$as_save_IFS
3884  test -z "$as_dir" && as_dir=.
3885  for as_base in sh bash ksh sh5; do
3886     case $as_dir in
3887     /*)
3888       if ("$as_dir/$as_base" -c '
3889  as_lineno_1=$LINENO
3890  as_lineno_2=$LINENO
3891  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3892  test "x$as_lineno_1" != "x$as_lineno_2" &&
3893  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
3894         $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3895         $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3896         CONFIG_SHELL=$as_dir/$as_base
3897         export CONFIG_SHELL
3898         exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3899       fi;;
3900     esac
3901       done
3902done
3903;;
3904  esac
3905
3906  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3907  # uniformly replaced by the line number.  The first 'sed' inserts a
3908  # line-number line before each line; the second 'sed' does the real
3909  # work.  The second script uses 'N' to pair each line-number line
3910  # with the numbered line, and appends trailing '-' during
3911  # substitution so that $LINENO is not a special case at line end.
3912  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3913  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
3914  sed '=' <$as_myself |
3915    sed '
3916      N
3917      s,$,-,
3918      : loop
3919      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3920      t loop
3921      s,-$,,
3922      s,^['$as_cr_digits']*\n,,
3923    ' >$as_me.lineno &&
3924  chmod +x $as_me.lineno ||
3925    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3926echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3927   { (exit 1); exit 1; }; }
3928
3929  # Don't try to exec as it changes $[0], causing all sort of problems
3930  # (the dirname of $[0] is not the place where we might find the
3931  # original and so on.  Autoconf is especially sensible to this).
3932  . ./$as_me.lineno
3933  # Exit status is that of the last command.
3934  exit
3935}
3936
3937
3938case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3939  *c*,-n*) ECHO_N= ECHO_C='
3940' ECHO_T='  ' ;;
3941  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3942  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
3943esac
3944
3945if expr a : '\(a\)' >/dev/null 2>&1; then
3946  as_expr=expr
3947else
3948  as_expr=false
3949fi
3950
3951rm -f conf$$ conf$$.exe conf$$.file
3952echo >conf$$.file
3953if ln -s conf$$.file conf$$ 2>/dev/null; then
3954  # We could just check for DJGPP; but this test a) works b) is more generic
3955  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3956  if test -f conf$$.exe; then
3957    # Don't use ln at all; we don't have any links
3958    as_ln_s='cp -p'
3959  else
3960    as_ln_s='ln -s'
3961  fi
3962elif ln conf$$.file conf$$ 2>/dev/null; then
3963  as_ln_s=ln
3964else
3965  as_ln_s='cp -p'
3966fi
3967rm -f conf$$ conf$$.exe conf$$.file
3968
3969if mkdir -p . 2>/dev/null; then
3970  as_mkdir_p=:
3971else
3972  test -d ./-p && rmdir ./-p
3973  as_mkdir_p=false
3974fi
3975
3976as_executable_p="test -f"
3977
3978# Sed expression to map a string onto a valid CPP name.
3979as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3980
3981# Sed expression to map a string onto a valid variable name.
3982as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3983
3984
3985# IFS
3986# We need space, tab and new line, in precisely that order.
3987as_nl='
3988'
3989IFS="   $as_nl"
3990
3991# CDPATH.
3992$as_unset CDPATH
3993
3994exec 6>&1
3995
3996# Open the log real soon, to keep \$[0] and so on meaningful, and to
3997# report actual input values of CONFIG_FILES etc. instead of their
3998# values after options handling.  Logging --version etc. is OK.
3999exec 5>>config.log
4000{
4001  echo
4002  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4003## Running $as_me. ##
4004_ASBOX
4005} >&5
4006cat >&5 <<_CSEOF
4007
4008This file was extended by greenstone2-runtime-src $as_me 2.84, which was
4009generated by GNU Autoconf 2.59.  Invocation command line was
4010
4011  CONFIG_FILES    = $CONFIG_FILES
4012  CONFIG_HEADERS  = $CONFIG_HEADERS
4013  CONFIG_LINKS    = $CONFIG_LINKS
4014  CONFIG_COMMANDS = $CONFIG_COMMANDS
4015  $ $0 $@
4016
4017_CSEOF
4018echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4019echo >&5
4020_ACEOF
4021
4022# Files that config.status was made for.
4023if test -n "$ac_config_files"; then
4024  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4025fi
4026
4027if test -n "$ac_config_headers"; then
4028  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4029fi
4030
4031if test -n "$ac_config_links"; then
4032  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4033fi
4034
4035if test -n "$ac_config_commands"; then
4036  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4037fi
4038
4039cat >>$CONFIG_STATUS <<\_ACEOF
4040
4041ac_cs_usage="\
4042\`$as_me' instantiates files from templates according to the
4043current configuration.
4044
4045Usage: $0 [OPTIONS] [FILE]...
4046
4047  -h, --help       print this help, then exit
4048  -V, --version    print version number, then exit
4049  -q, --quiet      do not print progress messages
4050  -d, --debug      don't remove temporary files
4051      --recheck    update $as_me by reconfiguring in the same conditions
4052  --file=FILE[:TEMPLATE]
4053           instantiate the configuration file FILE
4054  --header=FILE[:TEMPLATE]
4055           instantiate the configuration header FILE
4056
4057Configuration files:
4058$config_files
4059
4060Configuration headers:
4061$config_headers
4062
4063Configuration commands:
4064$config_commands
4065
4066Report bugs to <bug-autoconf@gnu.org>."
4067_ACEOF
4068
4069cat >>$CONFIG_STATUS <<_ACEOF
4070ac_cs_version="\\
4071greenstone2-runtime-src config.status 2.84
4072configured by $0, generated by GNU Autoconf 2.59,
4073  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4074
4075Copyright (C) 2003 Free Software Foundation, Inc.
4076This config.status script is free software; the Free Software Foundation
4077gives unlimited permission to copy, distribute and modify it."
4078srcdir=$srcdir
4079INSTALL="$INSTALL"
4080_ACEOF
4081
4082cat >>$CONFIG_STATUS <<\_ACEOF
4083# If no file are specified by the user, then we need to provide default
4084# value.  By we need to know if files were specified by the user.
4085ac_need_defaults=:
4086while test $# != 0
4087do
4088  case $1 in
4089  --*=*)
4090    ac_option=`expr "x$1" : 'x\([^=]*\)='`
4091    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4092    ac_shift=:
4093    ;;
4094  -*)
4095    ac_option=$1
4096    ac_optarg=$2
4097    ac_shift=shift
4098    ;;
4099  *) # This is not an option, so the user has probably given explicit
4100     # arguments.
4101     ac_option=$1
4102     ac_need_defaults=false;;
4103  esac
4104
4105  case $ac_option in
4106  # Handling of the options.
4107_ACEOF
4108cat >>$CONFIG_STATUS <<\_ACEOF
4109  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4110    ac_cs_recheck=: ;;
4111  --version | --vers* | -V )
4112    echo "$ac_cs_version"; exit 0 ;;
4113  --he | --h)
4114    # Conflict between --help and --header
4115    { { echo "$as_me:$LINENO: error: ambiguous option: $1
4116Try \`$0 --help' for more information." >&5
4117echo "$as_me: error: ambiguous option: $1
4118Try \`$0 --help' for more information." >&2;}
4119   { (exit 1); exit 1; }; };;
4120  --help | --hel | -h )
4121    echo "$ac_cs_usage"; exit 0 ;;
4122  --debug | --d* | -d )
4123    debug=: ;;
4124  --file | --fil | --fi | --f )
4125    $ac_shift
4126    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4127    ac_need_defaults=false;;
4128  --header | --heade | --head | --hea )
4129    $ac_shift
4130    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4131    ac_need_defaults=false;;
4132  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4133  | -silent | --silent | --silen | --sile | --sil | --si | --s)
4134    ac_cs_silent=: ;;
4135
4136  # This is an error.
4137  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4138Try \`$0 --help' for more information." >&5
4139echo "$as_me: error: unrecognized option: $1
4140Try \`$0 --help' for more information." >&2;}
4141   { (exit 1); exit 1; }; } ;;
4142
4143  *) ac_config_targets="$ac_config_targets $1" ;;
4144
4145  esac
4146  shift
4147done
4148
4149ac_configure_extra_args=
4150
4151if $ac_cs_silent; then
4152  exec 6>/dev/null
4153  ac_configure_extra_args="$ac_configure_extra_args --silent"
4154fi
4155
4156_ACEOF
4157cat >>$CONFIG_STATUS <<_ACEOF
4158if \$ac_cs_recheck; then
4159  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4160  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4161fi
4162
4163_ACEOF
4164
4165cat >>$CONFIG_STATUS <<_ACEOF
4166#
4167# INIT-COMMANDS section.
4168#
4169
4170AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4171
4172_ACEOF
4173
4174
4175
4176cat >>$CONFIG_STATUS <<\_ACEOF
4177for ac_config_target in $ac_config_targets
4178do
4179  case "$ac_config_target" in
4180  # Handling of arguments.
4181  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4182  "src/colservr/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/colservr/Makefile" ;;
4183  "src/protocol/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/protocol/Makefile" ;;
4184  "src/recpt/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/recpt/Makefile" ;;
4185  "src/oaiservr/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/oaiservr/Makefile" ;;
4186  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4187  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4188  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4189echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4190   { (exit 1); exit 1; }; };;
4191  esac
4192done
4193
4194# If the user did not use the arguments to specify the items to instantiate,
4195# then the envvar interface is used.  Set only those that are not.
4196# We use the long form for the default assignment because of an extremely
4197# bizarre bug on SunOS 4.1.3.
4198if $ac_need_defaults; then
4199  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4200  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4201  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4202fi
4203
4204# Have a temporary directory for convenience.  Make it in the build tree
4205# simply because there is no reason to put it here, and in addition,
4206# creating and moving files from /tmp can sometimes cause problems.
4207# Create a temporary directory, and hook for its removal unless debugging.
4208$debug ||
4209{
4210  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4211  trap '{ (exit 1); exit 1; }' 1 2 13 15
4212}
4213
4214# Create a (secure) tmp directory for tmp files.
4215
4216{
4217  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4218  test -n "$tmp" && test -d "$tmp"
4219}  ||
4220{
4221  tmp=./confstat$$-$RANDOM
4222  (umask 077 && mkdir $tmp)
4223} ||
4224{
4225   echo "$me: cannot create a temporary directory in ." >&2
4226   { (exit 1); exit 1; }
4227}
4228
4229_ACEOF
4230
4231cat >>$CONFIG_STATUS <<_ACEOF
4232
4233#
4234# CONFIG_FILES section.
4235#
4236
4237# No need to generate the scripts if there are no CONFIG_FILES.
4238# This happens for instance when ./config.status config.h
4239if test -n "\$CONFIG_FILES"; then
4240  # Protect against being on the right side of a sed subst in config.status.
4241  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4242   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4243s,@SHELL@,$SHELL,;t t
4244s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4245s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4246s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4247s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4248s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4249s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4250s,@exec_prefix@,$exec_prefix,;t t
4251s,@prefix@,$prefix,;t t
4252s,@program_transform_name@,$program_transform_name,;t t
4253s,@bindir@,$bindir,;t t
4254s,@sbindir@,$sbindir,;t t
4255s,@libexecdir@,$libexecdir,;t t
4256s,@datadir@,$datadir,;t t
4257s,@sysconfdir@,$sysconfdir,;t t
4258s,@sharedstatedir@,$sharedstatedir,;t t
4259s,@localstatedir@,$localstatedir,;t t
4260s,@libdir@,$libdir,;t t
4261s,@includedir@,$includedir,;t t
4262s,@oldincludedir@,$oldincludedir,;t t
4263s,@infodir@,$infodir,;t t
4264s,@mandir@,$mandir,;t t
4265s,@build_alias@,$build_alias,;t t
4266s,@host_alias@,$host_alias,;t t
4267s,@target_alias@,$target_alias,;t t
4268s,@DEFS@,$DEFS,;t t
4269s,@ECHO_C@,$ECHO_C,;t t
4270s,@ECHO_N@,$ECHO_N,;t t
4271s,@ECHO_T@,$ECHO_T,;t t
4272s,@LIBS@,$LIBS,;t t
4273s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4274s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4275s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4276s,@CYGPATH_W@,$CYGPATH_W,;t t
4277s,@PACKAGE@,$PACKAGE,;t t
4278s,@VERSION@,$VERSION,;t t
4279s,@ACLOCAL@,$ACLOCAL,;t t
4280s,@AUTOCONF@,$AUTOCONF,;t t
4281s,@AUTOMAKE@,$AUTOMAKE,;t t
4282s,@AUTOHEADER@,$AUTOHEADER,;t t
4283s,@MAKEINFO@,$MAKEINFO,;t t
4284s,@install_sh@,$install_sh,;t t
4285s,@STRIP@,$STRIP,;t t
4286s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4287s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4288s,@mkdir_p@,$mkdir_p,;t t
4289s,@AWK@,$AWK,;t t
4290s,@SET_MAKE@,$SET_MAKE,;t t
4291s,@am__leading_dot@,$am__leading_dot,;t t
4292s,@AMTAR@,$AMTAR,;t t
4293s,@am__tar@,$am__tar,;t t
4294s,@am__untar@,$am__untar,;t t
4295s,@CC@,$CC,;t t
4296s,@CFLAGS@,$CFLAGS,;t t
4297s,@LDFLAGS@,$LDFLAGS,;t t
4298s,@CPPFLAGS@,$CPPFLAGS,;t t
4299s,@ac_ct_CC@,$ac_ct_CC,;t t
4300s,@EXEEXT@,$EXEEXT,;t t
4301s,@OBJEXT@,$OBJEXT,;t t
4302s,@DEPDIR@,$DEPDIR,;t t
4303s,@am__include@,$am__include,;t t
4304s,@am__quote@,$am__quote,;t t
4305s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4306s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4307s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4308s,@CCDEPMODE@,$CCDEPMODE,;t t
4309s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4310s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4311s,@CXX@,$CXX,;t t
4312s,@CXXFLAGS@,$CXXFLAGS,;t t
4313s,@ac_ct_CXX@,$ac_ct_CXX,;t t
4314s,@CXXDEPMODE@,$CXXDEPMODE,;t t
4315s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
4316s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
4317s,@RANLIB@,$RANLIB,;t t
4318s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4319s,@build@,$build,;t t
4320s,@build_cpu@,$build_cpu,;t t
4321s,@build_vendor@,$build_vendor,;t t
4322s,@build_os@,$build_os,;t t
4323s,@host@,$host,;t t
4324s,@host_cpu@,$host_cpu,;t t
4325s,@host_vendor@,$host_vendor,;t t
4326s,@host_os@,$host_os,;t t
4327s,@COMPAT32BITFLAGS@,$COMPAT32BITFLAGS,;t t
4328s,@USE_SQLITE_TRUE@,$USE_SQLITE_TRUE,;t t
4329s,@USE_SQLITE_FALSE@,$USE_SQLITE_FALSE,;t t
4330s,@LIBOBJS@,$LIBOBJS,;t t
4331s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4332CEOF
4333
4334_ACEOF
4335
4336  cat >>$CONFIG_STATUS <<\_ACEOF
4337  # Split the substitutions into bite-sized pieces for seds with
4338  # small command number limits, like on Digital OSF/1 and HP-UX.
4339  ac_max_sed_lines=48
4340  ac_sed_frag=1 # Number of current file.
4341  ac_beg=1 # First line for current file.
4342  ac_end=$ac_max_sed_lines # Line after last line for current file.
4343  ac_more_lines=:
4344  ac_sed_cmds=
4345  while $ac_more_lines; do
4346    if test $ac_beg -gt 1; then
4347      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4348    else
4349      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4350    fi
4351    if test ! -s $tmp/subs.frag; then
4352      ac_more_lines=false
4353    else
4354      # The purpose of the label and of the branching condition is to
4355      # speed up the sed processing (if there are no `@' at all, there
4356      # is no need to browse any of the substitutions).
4357      # These are the two extra sed commands mentioned above.
4358      (echo ':t
4359  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4360      if test -z "$ac_sed_cmds"; then
4361    ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4362      else
4363    ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4364      fi
4365      ac_sed_frag=`expr $ac_sed_frag + 1`
4366      ac_beg=$ac_end
4367      ac_end=`expr $ac_end + $ac_max_sed_lines`
4368    fi
4369  done
4370  if test -z "$ac_sed_cmds"; then
4371    ac_sed_cmds=cat
4372  fi
4373fi # test -n "$CONFIG_FILES"
4374
4375_ACEOF
4376cat >>$CONFIG_STATUS <<\_ACEOF
4377for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4378  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4379  case $ac_file in
4380  - | *:- | *:-:* ) # input from stdin
4381    cat >$tmp/stdin
4382    ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4383    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4384  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4385    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4386  * )   ac_file_in=$ac_file.in ;;
4387  esac
4388
4389  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4390  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4391$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4392     X"$ac_file" : 'X\(//\)[^/]' \| \
4393     X"$ac_file" : 'X\(//\)$' \| \
4394     X"$ac_file" : 'X\(/\)' \| \
4395     .     : '\(.\)' 2>/dev/null ||
4396echo X"$ac_file" |
4397    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4398      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4399      /^X\(\/\/\)$/{ s//\1/; q; }
4400      /^X\(\/\).*/{ s//\1/; q; }
4401      s/.*/./; q'`
4402  { if $as_mkdir_p; then
4403    mkdir -p "$ac_dir"
4404  else
4405    as_dir="$ac_dir"
4406    as_dirs=
4407    while test ! -d "$as_dir"; do
4408      as_dirs="$as_dir $as_dirs"
4409      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4410$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4411     X"$as_dir" : 'X\(//\)[^/]' \| \
4412     X"$as_dir" : 'X\(//\)$' \| \
4413     X"$as_dir" : 'X\(/\)' \| \
4414     .     : '\(.\)' 2>/dev/null ||
4415echo X"$as_dir" |
4416    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4417      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4418      /^X\(\/\/\)$/{ s//\1/; q; }
4419      /^X\(\/\).*/{ s//\1/; q; }
4420      s/.*/./; q'`
4421    done
4422    test ! -n "$as_dirs" || mkdir $as_dirs
4423  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4424echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4425   { (exit 1); exit 1; }; }; }
4426
4427  ac_builddir=.
4428
4429if test "$ac_dir" != .; then
4430  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4431  # A "../" for each directory in $ac_dir_suffix.
4432  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4433else
4434  ac_dir_suffix= ac_top_builddir=
4435fi
4436
4437case $srcdir in
4438  .)  # No --srcdir option.  We are building in place.
4439    ac_srcdir=.
4440    if test -z "$ac_top_builddir"; then
4441       ac_top_srcdir=.
4442    else
4443       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4444    fi ;;
4445  [\\/]* | ?:[\\/]* )  # Absolute path.
4446    ac_srcdir=$srcdir$ac_dir_suffix;
4447    ac_top_srcdir=$srcdir ;;
4448  *) # Relative path.
4449    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4450    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4451esac
4452
4453# Do not use `cd foo && pwd` to compute absolute paths, because
4454# the directories may not exist.
4455case `pwd` in
4456.) ac_abs_builddir="$ac_dir";;
4457*)
4458  case "$ac_dir" in
4459  .) ac_abs_builddir=`pwd`;;
4460  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4461  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4462  esac;;
4463esac
4464case $ac_abs_builddir in
4465.) ac_abs_top_builddir=${ac_top_builddir}.;;
4466*)
4467  case ${ac_top_builddir}. in
4468  .) ac_abs_top_builddir=$ac_abs_builddir;;
4469  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4470  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4471  esac;;
4472esac
4473case $ac_abs_builddir in
4474.) ac_abs_srcdir=$ac_srcdir;;
4475*)
4476  case $ac_srcdir in
4477  .) ac_abs_srcdir=$ac_abs_builddir;;
4478  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4479  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4480  esac;;
4481esac
4482case $ac_abs_builddir in
4483.) ac_abs_top_srcdir=$ac_top_srcdir;;
4484*)
4485  case $ac_top_srcdir in
4486  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4487  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4488  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4489  esac;;
4490esac
4491
4492
4493  case $INSTALL in
4494  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4495  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4496  esac
4497
4498  if test x"$ac_file" != x-; then
4499    { echo "$as_me:$LINENO: creating $ac_file" >&5
4500echo "$as_me: creating $ac_file" >&6;}
4501    rm -f "$ac_file"
4502  fi
4503  # Let's still pretend it is `configure' which instantiates (i.e., don't
4504  # use $as_me), people would be surprised to read:
4505  #    /* config.h.  Generated by config.status.  */
4506  if test x"$ac_file" = x-; then
4507    configure_input=
4508  else
4509    configure_input="$ac_file.  "
4510  fi
4511  configure_input=$configure_input"Generated from `echo $ac_file_in |
4512                     sed 's,.*/,,'` by configure."
4513
4514  # First look for the input files in the build tree, otherwise in the
4515  # src tree.
4516  ac_file_inputs=`IFS=:
4517    for f in $ac_file_in; do
4518      case $f in
4519      -) echo $tmp/stdin ;;
4520      [\\/$]*)
4521     # Absolute (can't be DOS-style, as IFS=:)
4522     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4523echo "$as_me: error: cannot find input file: $f" >&2;}
4524   { (exit 1); exit 1; }; }
4525     echo "$f";;
4526      *) # Relative
4527     if test -f "$f"; then
4528       # Build tree
4529       echo "$f"
4530     elif test -f "$srcdir/$f"; then
4531       # Source tree
4532       echo "$srcdir/$f"
4533     else
4534       # /dev/null tree
4535       { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4536echo "$as_me: error: cannot find input file: $f" >&2;}
4537   { (exit 1); exit 1; }; }
4538     fi;;
4539      esac
4540    done` || { (exit 1); exit 1; }
4541_ACEOF
4542cat >>$CONFIG_STATUS <<_ACEOF
4543  sed "$ac_vpsub
4544$extrasub
4545_ACEOF
4546cat >>$CONFIG_STATUS <<\_ACEOF
4547:t
4548/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4549s,@configure_input@,$configure_input,;t t
4550s,@srcdir@,$ac_srcdir,;t t
4551s,@abs_srcdir@,$ac_abs_srcdir,;t t
4552s,@top_srcdir@,$ac_top_srcdir,;t t
4553s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4554s,@builddir@,$ac_builddir,;t t
4555s,@abs_builddir@,$ac_abs_builddir,;t t
4556s,@top_builddir@,$ac_top_builddir,;t t
4557s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4558s,@INSTALL@,$ac_INSTALL,;t t
4559" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4560  rm -f $tmp/stdin
4561  if test x"$ac_file" != x-; then
4562    mv $tmp/out $ac_file
4563  else
4564    cat $tmp/out
4565    rm -f $tmp/out
4566  fi
4567
4568done
4569_ACEOF
4570cat >>$CONFIG_STATUS <<\_ACEOF
4571
4572#
4573# CONFIG_HEADER section.
4574#
4575
4576# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4577# NAME is the cpp macro being defined and VALUE is the value it is being given.
4578#
4579# ac_d sets the value in "#define NAME VALUE" lines.
4580ac_dA='s,^\([    ]*\)#\([    ]*define[   ][  ]*\)'
4581ac_dB='[     ].*$,\1#\2'
4582ac_dC=' '
4583ac_dD=',;t'
4584# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4585ac_uA='s,^\([    ]*\)#\([    ]*\)undef\([    ][  ]*\)'
4586ac_uB='$,\1#\2define\3'
4587ac_uC=' '
4588ac_uD=',;t'
4589
4590for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4591  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4592  case $ac_file in
4593  - | *:- | *:-:* ) # input from stdin
4594    cat >$tmp/stdin
4595    ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4596    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4597  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4598    ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4599  * )   ac_file_in=$ac_file.in ;;
4600  esac
4601
4602  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4603echo "$as_me: creating $ac_file" >&6;}
4604
4605  # First look for the input files in the build tree, otherwise in the
4606  # src tree.
4607  ac_file_inputs=`IFS=:
4608    for f in $ac_file_in; do
4609      case $f in
4610      -) echo $tmp/stdin ;;
4611      [\\/$]*)
4612     # Absolute (can't be DOS-style, as IFS=:)
4613     test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4614echo "$as_me: error: cannot find input file: $f" >&2;}
4615   { (exit 1); exit 1; }; }
4616     # Do quote $f, to prevent DOS paths from being IFS'd.
4617     echo "$f";;
4618      *) # Relative
4619     if test -f "$f"; then
4620       # Build tree
4621       echo "$f"
4622     elif test -f "$srcdir/$f"; then
4623       # Source tree
4624       echo "$srcdir/$f"
4625     else
4626       # /dev/null tree
4627       { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4628echo "$as_me: error: cannot find input file: $f" >&2;}
4629   { (exit 1); exit 1; }; }
4630     fi;;
4631      esac
4632    done` || { (exit 1); exit 1; }
4633  # Remove the trailing spaces.
4634  sed 's/[   ]*$//' $ac_file_inputs >$tmp/in
4635
4636_ACEOF
4637
4638# Transform confdefs.h into two sed scripts, `conftest.defines' and
4639# `conftest.undefs', that substitutes the proper values into
4640# config.h.in to produce config.h.  The first handles `#define'
4641# templates, and the second `#undef' templates.
4642# And first: Protect against being on the right side of a sed subst in
4643# config.status.  Protect against being in an unquoted here document
4644# in config.status.
4645rm -f conftest.defines conftest.undefs
4646# Using a here document instead of a string reduces the quoting nightmare.
4647# Putting comments in sed scripts is not portable.
4648#
4649# `end' is used to avoid that the second main sed command (meant for
4650# 0-ary CPP macros) applies to n-ary macro definitions.
4651# See the Autoconf documentation for `clear'.
4652cat >confdef2sed.sed <<\_ACEOF
4653s/[\\&,]/\\&/g
4654s,[\\$`],\\&,g
4655t clear
4656: clear
4657s,^[     ]*#[    ]*define[   ][  ]*\([^  (][^    (]*\)\(([^)]*)\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4658t end
4659s,^[     ]*#[    ]*define[   ][  ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4660: end
4661_ACEOF
4662# If some macros were called several times there might be several times
4663# the same #defines, which is useless.  Nevertheless, we may not want to
4664# sort them, since we want the *last* AC-DEFINE to be honored.
4665uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4666sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4667rm -f confdef2sed.sed
4668
4669# This sed command replaces #undef with comments.  This is necessary, for
4670# example, in the case of _POSIX_SOURCE, which is predefined and required
4671# on some systems where configure will not decide to define it.
4672cat >>conftest.undefs <<\_ACEOF
4673s,^[     ]*#[    ]*undef[    ][  ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4674_ACEOF
4675
4676# Break up conftest.defines because some shells have a limit on the size
4677# of here documents, and old seds have small limits too (100 cmds).
4678echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4679echo '  if grep "^[  ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4680echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4681echo '  :' >>$CONFIG_STATUS
4682rm -f conftest.tail
4683while grep . conftest.defines >/dev/null
4684do
4685  # Write a limited-size here document to $tmp/defines.sed.
4686  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4687  # Speed up: don't consider the non `#define' lines.
4688  echo '/^[  ]*#[    ]*define/!b' >>$CONFIG_STATUS
4689  # Work around the forget-to-reset-the-flag bug.
4690  echo 't clr' >>$CONFIG_STATUS
4691  echo ': clr' >>$CONFIG_STATUS
4692  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4693  echo 'CEOF
4694  sed -f $tmp/defines.sed $tmp/in >$tmp/out
4695  rm -f $tmp/in
4696  mv $tmp/out $tmp/in
4697' >>$CONFIG_STATUS
4698  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4699  rm -f conftest.defines
4700  mv conftest.tail conftest.defines
4701done
4702rm -f conftest.defines
4703echo '  fi # grep' >>$CONFIG_STATUS
4704echo >>$CONFIG_STATUS
4705
4706# Break up conftest.undefs because some shells have a limit on the size
4707# of here documents, and old seds have small limits too (100 cmds).
4708echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
4709rm -f conftest.tail
4710while grep . conftest.undefs >/dev/null
4711do
4712  # Write a limited-size here document to $tmp/undefs.sed.
4713  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4714  # Speed up: don't consider the non `#undef'
4715  echo '/^[  ]*#[    ]*undef/!b' >>$CONFIG_STATUS
4716  # Work around the forget-to-reset-the-flag bug.
4717  echo 't clr' >>$CONFIG_STATUS
4718  echo ': clr' >>$CONFIG_STATUS
4719  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4720  echo 'CEOF
4721  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4722  rm -f $tmp/in
4723  mv $tmp/out $tmp/in
4724' >>$CONFIG_STATUS
4725  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4726  rm -f conftest.undefs
4727  mv conftest.tail conftest.undefs
4728done
4729rm -f conftest.undefs
4730
4731cat >>$CONFIG_STATUS <<\_ACEOF
4732  # Let's still pretend it is `configure' which instantiates (i.e., don't
4733  # use $as_me), people would be surprised to read:
4734  #    /* config.h.  Generated by config.status.  */
4735  if test x"$ac_file" = x-; then
4736    echo "/* Generated by configure.  */" >$tmp/config.h
4737  else
4738    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
4739  fi
4740  cat $tmp/in >>$tmp/config.h
4741  rm -f $tmp/in
4742  if test x"$ac_file" != x-; then
4743    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
4744      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4745echo "$as_me: $ac_file is unchanged" >&6;}
4746    else
4747      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4748$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4749     X"$ac_file" : 'X\(//\)[^/]' \| \
4750     X"$ac_file" : 'X\(//\)$' \| \
4751     X"$ac_file" : 'X\(/\)' \| \
4752     .     : '\(.\)' 2>/dev/null ||
4753echo X"$ac_file" |
4754    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4755      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4756      /^X\(\/\/\)$/{ s//\1/; q; }
4757      /^X\(\/\).*/{ s//\1/; q; }
4758      s/.*/./; q'`
4759      { if $as_mkdir_p; then
4760    mkdir -p "$ac_dir"
4761  else
4762    as_dir="$ac_dir"
4763    as_dirs=
4764    while test ! -d "$as_dir"; do
4765      as_dirs="$as_dir $as_dirs"
4766      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4767$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4768     X"$as_dir" : 'X\(//\)[^/]' \| \
4769     X"$as_dir" : 'X\(//\)$' \| \
4770     X"$as_dir" : 'X\(/\)' \| \
4771     .     : '\(.\)' 2>/dev/null ||
4772echo X"$as_dir" |
4773    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4774      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4775      /^X\(\/\/\)$/{ s//\1/; q; }
4776      /^X\(\/\).*/{ s//\1/; q; }
4777      s/.*/./; q'`
4778    done
4779    test ! -n "$as_dirs" || mkdir $as_dirs
4780  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4781echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4782   { (exit 1); exit 1; }; }; }
4783
4784      rm -f $ac_file
4785      mv $tmp/config.h $ac_file
4786    fi
4787  else
4788    cat $tmp/config.h
4789    rm -f $tmp/config.h
4790  fi
4791# Compute $ac_file's index in $config_headers.
4792_am_stamp_count=1
4793for _am_header in $config_headers :; do
4794  case $_am_header in
4795    $ac_file | $ac_file:* )
4796      break ;;
4797    * )
4798      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
4799  esac
4800done
4801echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4802$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4803     X$ac_file : 'X\(//\)[^/]' \| \
4804     X$ac_file : 'X\(//\)$' \| \
4805     X$ac_file : 'X\(/\)' \| \
4806     .     : '\(.\)' 2>/dev/null ||
4807echo X$ac_file |
4808    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4809      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4810      /^X\(\/\/\)$/{ s//\1/; q; }
4811      /^X\(\/\).*/{ s//\1/; q; }
4812      s/.*/./; q'`/stamp-h$_am_stamp_count
4813done
4814_ACEOF
4815cat >>$CONFIG_STATUS <<\_ACEOF
4816
4817#
4818# CONFIG_COMMANDS section.
4819#
4820for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4821  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4822  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4823  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4824$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4825     X"$ac_dest" : 'X\(//\)[^/]' \| \
4826     X"$ac_dest" : 'X\(//\)$' \| \
4827     X"$ac_dest" : 'X\(/\)' \| \
4828     .     : '\(.\)' 2>/dev/null ||
4829echo X"$ac_dest" |
4830    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4831      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4832      /^X\(\/\/\)$/{ s//\1/; q; }
4833      /^X\(\/\).*/{ s//\1/; q; }
4834      s/.*/./; q'`
4835  { if $as_mkdir_p; then
4836    mkdir -p "$ac_dir"
4837  else
4838    as_dir="$ac_dir"
4839    as_dirs=
4840    while test ! -d "$as_dir"; do
4841      as_dirs="$as_dir $as_dirs"
4842      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4843$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4844     X"$as_dir" : 'X\(//\)[^/]' \| \
4845     X"$as_dir" : 'X\(//\)$' \| \
4846     X"$as_dir" : 'X\(/\)' \| \
4847     .     : '\(.\)' 2>/dev/null ||
4848echo X"$as_dir" |
4849    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4850      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4851      /^X\(\/\/\)$/{ s//\1/; q; }
4852      /^X\(\/\).*/{ s//\1/; q; }
4853      s/.*/./; q'`
4854    done
4855    test ! -n "$as_dirs" || mkdir $as_dirs
4856  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4857echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4858   { (exit 1); exit 1; }; }; }
4859
4860  ac_builddir=.
4861
4862if test "$ac_dir" != .; then
4863  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4864  # A "../" for each directory in $ac_dir_suffix.
4865  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4866else
4867  ac_dir_suffix= ac_top_builddir=
4868fi
4869
4870case $srcdir in
4871  .)  # No --srcdir option.  We are building in place.
4872    ac_srcdir=.
4873    if test -z "$ac_top_builddir"; then
4874       ac_top_srcdir=.
4875    else
4876       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4877    fi ;;
4878  [\\/]* | ?:[\\/]* )  # Absolute path.
4879    ac_srcdir=$srcdir$ac_dir_suffix;
4880    ac_top_srcdir=$srcdir ;;
4881  *) # Relative path.
4882    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4883    ac_top_srcdir=$ac_top_builddir$srcdir ;;
4884esac
4885
4886# Do not use `cd foo && pwd` to compute absolute paths, because
4887# the directories may not exist.
4888case `pwd` in
4889.) ac_abs_builddir="$ac_dir";;
4890*)
4891  case "$ac_dir" in
4892  .) ac_abs_builddir=`pwd`;;
4893  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4894  *) ac_abs_builddir=`pwd`/"$ac_dir";;
4895  esac;;
4896esac
4897case $ac_abs_builddir in
4898.) ac_abs_top_builddir=${ac_top_builddir}.;;
4899*)
4900  case ${ac_top_builddir}. in
4901  .) ac_abs_top_builddir=$ac_abs_builddir;;
4902  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4903  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4904  esac;;
4905esac
4906case $ac_abs_builddir in
4907.) ac_abs_srcdir=$ac_srcdir;;
4908*)
4909  case $ac_srcdir in
4910  .) ac_abs_srcdir=$ac_abs_builddir;;
4911  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4912  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4913  esac;;
4914esac
4915case $ac_abs_builddir in
4916.) ac_abs_top_srcdir=$ac_top_srcdir;;
4917*)
4918  case $ac_top_srcdir in
4919  .) ac_abs_top_srcdir=$ac_abs_builddir;;
4920  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4921  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
4922  esac;;
4923esac
4924
4925
4926  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4927echo "$as_me: executing $ac_dest commands" >&6;}
4928  case $ac_dest in
4929    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4930  # Strip MF so we end up with the name of the file.
4931  mf=`echo "$mf" | sed -e 's/:.*$//'`
4932  # Check whether this is an Automake generated Makefile or not.
4933  # We used to match only the files named `Makefile.in', but
4934  # some people rename them; so instead we look at the file content.
4935  # Grep'ing the first line is not enough: some people post-process
4936  # each Makefile.in and add a new line on top of each file to say so.
4937  # So let's grep whole file.
4938  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4939    dirpart=`(dirname "$mf") 2>/dev/null ||
4940$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4941     X"$mf" : 'X\(//\)[^/]' \| \
4942     X"$mf" : 'X\(//\)$' \| \
4943     X"$mf" : 'X\(/\)' \| \
4944     .     : '\(.\)' 2>/dev/null ||
4945echo X"$mf" |
4946    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4947      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4948      /^X\(\/\/\)$/{ s//\1/; q; }
4949      /^X\(\/\).*/{ s//\1/; q; }
4950      s/.*/./; q'`
4951  else
4952    continue
4953  fi
4954  # Extract the definition of DEPDIR, am__include, and am__quote
4955  # from the Makefile without running `make'.
4956  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4957  test -z "$DEPDIR" && continue
4958  am__include=`sed -n 's/^am__include = //p' < "$mf"`
4959  test -z "am__include" && continue
4960  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4961  # When using ansi2knr, U may be empty or an underscore; expand it
4962  U=`sed -n 's/^U = //p' < "$mf"`
4963  # Find all dependency output files, they are included files with
4964  # $(DEPDIR) in their names.  We invoke sed twice because it is the
4965  # simplest approach to changing $(DEPDIR) to its actual value in the
4966  # expansion.
4967  for file in `sed -n "
4968    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4969       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4970    # Make sure the directory exists.
4971    test -f "$dirpart/$file" && continue
4972    fdir=`(dirname "$file") 2>/dev/null ||
4973$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4974     X"$file" : 'X\(//\)[^/]' \| \
4975     X"$file" : 'X\(//\)$' \| \
4976     X"$file" : 'X\(/\)' \| \
4977     .     : '\(.\)' 2>/dev/null ||
4978echo X"$file" |
4979    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4980      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4981      /^X\(\/\/\)$/{ s//\1/; q; }
4982      /^X\(\/\).*/{ s//\1/; q; }
4983      s/.*/./; q'`
4984    { if $as_mkdir_p; then
4985    mkdir -p $dirpart/$fdir
4986  else
4987    as_dir=$dirpart/$fdir
4988    as_dirs=
4989    while test ! -d "$as_dir"; do
4990      as_dirs="$as_dir $as_dirs"
4991      as_dir=`(dirname "$as_dir") 2>/dev/null ||
4992$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4993     X"$as_dir" : 'X\(//\)[^/]' \| \
4994     X"$as_dir" : 'X\(//\)$' \| \
4995     X"$as_dir" : 'X\(/\)' \| \
4996     .     : '\(.\)' 2>/dev/null ||
4997echo X"$as_dir" |
4998    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4999      /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5000      /^X\(\/\/\)$/{ s//\1/; q; }
5001      /^X\(\/\).*/{ s//\1/; q; }
5002      s/.*/./; q'`
5003    done
5004    test ! -n "$as_dirs" || mkdir $as_dirs
5005  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
5006echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
5007   { (exit 1); exit 1; }; }; }
5008
5009    # echo "creating $dirpart/$file"
5010    echo '# dummy' > "$dirpart/$file"
5011  done
5012done
5013 ;;
5014  esac
5015done
5016_ACEOF
5017
5018cat >>$CONFIG_STATUS <<\_ACEOF
5019
5020{ (exit 0); exit 0; }
5021_ACEOF
5022chmod +x $CONFIG_STATUS
5023ac_clean_files=$ac_clean_files_save
5024
5025
5026# configure is writing to config.log, and then calls config.status.
5027# config.status does its own redirection, appending to config.log.
5028# Unfortunately, on DOS this fails, as config.log is still kept open
5029# by configure, so config.status won't be able to write to it; its
5030# output is simply discarded.  So we exec the FD to /dev/null,
5031# effectively closing config.log, so it can be properly (re)opened and
5032# appended to by config.status.  When coming back to configure, we
5033# need to make the FD available again.
5034if test "$no_create" != yes; then
5035  ac_cs_success=:
5036  ac_config_status_args=
5037  test "$silent" = yes &&
5038    ac_config_status_args="$ac_config_status_args --quiet"
5039  exec 5>/dev/null
5040  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5041  exec 5>>config.log
5042  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5043  # would make configure fail if this is the last instruction.
5044  $ac_cs_success || { (exit 1); exit 1; }
5045fi
5046
Note: See TracBrowser for help on using the browser.