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