OSDN Git Service

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