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