OSDN Git Service

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