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