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