OSDN Git Service

2004-06-04 Jerry Quinn <jlquinn@optonline.net>
[pf3gnuchains/gcc-fork.git] / fastjar / 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="jartool.h"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 #  include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 #  include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 #  include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
311
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RM CP CHMOD MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT fastjar_warn_cflags CPP EGREP ZLIBS ZDEPS ZINCS GENINSRC_TRUE GENINSRC_FALSE gcc_version LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
314
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
334
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352
353 ac_prev=
354 for ac_option
355 do
356   # If the previous option needs an argument, assign it.
357   if test -n "$ac_prev"; then
358     eval "$ac_prev=\$ac_option"
359     ac_prev=
360     continue
361   fi
362
363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365   # Accept the important Cygnus configure options, so we can diagnose typos.
366
367   case $ac_option in
368
369   -bindir | --bindir | --bindi | --bind | --bin | --bi)
370     ac_prev=bindir ;;
371   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372     bindir=$ac_optarg ;;
373
374   -build | --build | --buil | --bui | --bu)
375     ac_prev=build_alias ;;
376   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377     build_alias=$ac_optarg ;;
378
379   -cache-file | --cache-file | --cache-fil | --cache-fi \
380   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381     ac_prev=cache_file ;;
382   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384     cache_file=$ac_optarg ;;
385
386   --config-cache | -C)
387     cache_file=config.cache ;;
388
389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390     ac_prev=datadir ;;
391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392   | --da=*)
393     datadir=$ac_optarg ;;
394
395   -disable-* | --disable-*)
396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397     # Reject names that are not valid shell variable names.
398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400    { (exit 1); exit 1; }; }
401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402     eval "enable_$ac_feature=no" ;;
403
404   -enable-* | --enable-*)
405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406     # Reject names that are not valid shell variable names.
407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409    { (exit 1); exit 1; }; }
410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411     case $ac_option in
412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413       *) ac_optarg=yes ;;
414     esac
415     eval "enable_$ac_feature='$ac_optarg'" ;;
416
417   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419   | --exec | --exe | --ex)
420     ac_prev=exec_prefix ;;
421   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423   | --exec=* | --exe=* | --ex=*)
424     exec_prefix=$ac_optarg ;;
425
426   -gas | --gas | --ga | --g)
427     # Obsolete; use --with-gas.
428     with_gas=yes ;;
429
430   -help | --help | --hel | --he | -h)
431     ac_init_help=long ;;
432   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433     ac_init_help=recursive ;;
434   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435     ac_init_help=short ;;
436
437   -host | --host | --hos | --ho)
438     ac_prev=host_alias ;;
439   -host=* | --host=* | --hos=* | --ho=*)
440     host_alias=$ac_optarg ;;
441
442   -includedir | --includedir | --includedi | --included | --include \
443   | --includ | --inclu | --incl | --inc)
444     ac_prev=includedir ;;
445   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446   | --includ=* | --inclu=* | --incl=* | --inc=*)
447     includedir=$ac_optarg ;;
448
449   -infodir | --infodir | --infodi | --infod | --info | --inf)
450     ac_prev=infodir ;;
451   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452     infodir=$ac_optarg ;;
453
454   -libdir | --libdir | --libdi | --libd)
455     ac_prev=libdir ;;
456   -libdir=* | --libdir=* | --libdi=* | --libd=*)
457     libdir=$ac_optarg ;;
458
459   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460   | --libexe | --libex | --libe)
461     ac_prev=libexecdir ;;
462   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463   | --libexe=* | --libex=* | --libe=*)
464     libexecdir=$ac_optarg ;;
465
466   -localstatedir | --localstatedir | --localstatedi | --localstated \
467   | --localstate | --localstat | --localsta | --localst \
468   | --locals | --local | --loca | --loc | --lo)
469     ac_prev=localstatedir ;;
470   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473     localstatedir=$ac_optarg ;;
474
475   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476     ac_prev=mandir ;;
477   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478     mandir=$ac_optarg ;;
479
480   -nfp | --nfp | --nf)
481     # Obsolete; use --without-fp.
482     with_fp=no ;;
483
484   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485   | --no-cr | --no-c | -n)
486     no_create=yes ;;
487
488   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490     no_recursion=yes ;;
491
492   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494   | --oldin | --oldi | --old | --ol | --o)
495     ac_prev=oldincludedir ;;
496   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499     oldincludedir=$ac_optarg ;;
500
501   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502     ac_prev=prefix ;;
503   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504     prefix=$ac_optarg ;;
505
506   -program-prefix | --program-prefix | --program-prefi | --program-pref \
507   | --program-pre | --program-pr | --program-p)
508     ac_prev=program_prefix ;;
509   -program-prefix=* | --program-prefix=* | --program-prefi=* \
510   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511     program_prefix=$ac_optarg ;;
512
513   -program-suffix | --program-suffix | --program-suffi | --program-suff \
514   | --program-suf | --program-su | --program-s)
515     ac_prev=program_suffix ;;
516   -program-suffix=* | --program-suffix=* | --program-suffi=* \
517   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518     program_suffix=$ac_optarg ;;
519
520   -program-transform-name | --program-transform-name \
521   | --program-transform-nam | --program-transform-na \
522   | --program-transform-n | --program-transform- \
523   | --program-transform | --program-transfor \
524   | --program-transfo | --program-transf \
525   | --program-trans | --program-tran \
526   | --progr-tra | --program-tr | --program-t)
527     ac_prev=program_transform_name ;;
528   -program-transform-name=* | --program-transform-name=* \
529   | --program-transform-nam=* | --program-transform-na=* \
530   | --program-transform-n=* | --program-transform-=* \
531   | --program-transform=* | --program-transfor=* \
532   | --program-transfo=* | --program-transf=* \
533   | --program-trans=* | --program-tran=* \
534   | --progr-tra=* | --program-tr=* | --program-t=*)
535     program_transform_name=$ac_optarg ;;
536
537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538   | -silent | --silent | --silen | --sile | --sil)
539     silent=yes ;;
540
541   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542     ac_prev=sbindir ;;
543   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544   | --sbi=* | --sb=*)
545     sbindir=$ac_optarg ;;
546
547   -sharedstatedir | --sharedstatedir | --sharedstatedi \
548   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549   | --sharedst | --shareds | --shared | --share | --shar \
550   | --sha | --sh)
551     ac_prev=sharedstatedir ;;
552   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555   | --sha=* | --sh=*)
556     sharedstatedir=$ac_optarg ;;
557
558   -site | --site | --sit)
559     ac_prev=site ;;
560   -site=* | --site=* | --sit=*)
561     site=$ac_optarg ;;
562
563   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564     ac_prev=srcdir ;;
565   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566     srcdir=$ac_optarg ;;
567
568   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569   | --syscon | --sysco | --sysc | --sys | --sy)
570     ac_prev=sysconfdir ;;
571   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573     sysconfdir=$ac_optarg ;;
574
575   -target | --target | --targe | --targ | --tar | --ta | --t)
576     ac_prev=target_alias ;;
577   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578     target_alias=$ac_optarg ;;
579
580   -v | -verbose | --verbose | --verbos | --verbo | --verb)
581     verbose=yes ;;
582
583   -version | --version | --versio | --versi | --vers | -V)
584     ac_init_version=: ;;
585
586   -with-* | --with-*)
587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588     # Reject names that are not valid shell variable names.
589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590       { echo "$as_me: error: invalid package name: $ac_package" >&2
591    { (exit 1); exit 1; }; }
592     ac_package=`echo $ac_package| sed 's/-/_/g'`
593     case $ac_option in
594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595       *) ac_optarg=yes ;;
596     esac
597     eval "with_$ac_package='$ac_optarg'" ;;
598
599   -without-* | --without-*)
600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601     # Reject names that are not valid shell variable names.
602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603       { echo "$as_me: error: invalid package name: $ac_package" >&2
604    { (exit 1); exit 1; }; }
605     ac_package=`echo $ac_package | sed 's/-/_/g'`
606     eval "with_$ac_package=no" ;;
607
608   --x)
609     # Obsolete; use --with-x.
610     with_x=yes ;;
611
612   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613   | --x-incl | --x-inc | --x-in | --x-i)
614     ac_prev=x_includes ;;
615   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617     x_includes=$ac_optarg ;;
618
619   -x-libraries | --x-libraries | --x-librarie | --x-librari \
620   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621     ac_prev=x_libraries ;;
622   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624     x_libraries=$ac_optarg ;;
625
626   -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628    { (exit 1); exit 1; }; }
629     ;;
630
631   *=*)
632     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633     # Reject names that are not valid shell variable names.
634     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636    { (exit 1); exit 1; }; }
637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638     eval "$ac_envvar='$ac_optarg'"
639     export $ac_envvar ;;
640
641   *)
642     # FIXME: should be removed in autoconf 3.0.
643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647     ;;
648
649   esac
650 done
651
652 if test -n "$ac_prev"; then
653   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654   { echo "$as_me: error: missing argument to $ac_option" >&2
655    { (exit 1); exit 1; }; }
656 fi
657
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
661   eval ac_val=$`echo $ac_var`
662   case $ac_val in
663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
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 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671               localstatedir libdir includedir oldincludedir infodir mandir
672 do
673   eval ac_val=$`echo $ac_var`
674   case $ac_val in
675     [\\/$]* | ?:[\\/]* ) ;;
676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677    { (exit 1); exit 1; }; };;
678   esac
679 done
680
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690   if test "x$build_alias" = x; then
691     cross_compiling=maybe
692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693     If a cross compiler is detected then cross compile mode will be used." >&2
694   elif test "x$build_alias" != "x$host_alias"; then
695     cross_compiling=yes
696   fi
697 fi
698
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702 test "$silent" = yes && exec 6>/dev/null
703
704
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707   ac_srcdir_defaulted=yes
708   # Try the directory containing this script, then its parent.
709   ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711          X"$0" : 'X\(//\)[^/]' \| \
712          X"$0" : 'X\(//\)$' \| \
713          X"$0" : 'X\(/\)' \| \
714          .     : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718           /^X\(\/\/\)$/{ s//\1/; q; }
719           /^X\(\/\).*/{ s//\1/; q; }
720           s/.*/./; q'`
721   srcdir=$ac_confdir
722   if test ! -r $srcdir/$ac_unique_file; then
723     srcdir=..
724   fi
725 else
726   ac_srcdir_defaulted=no
727 fi
728 if test ! -r $srcdir/$ac_unique_file; then
729   if test "$ac_srcdir_defaulted" = yes; then
730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731    { (exit 1); exit 1; }; }
732   else
733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734    { (exit 1); exit 1; }; }
735   fi
736 fi
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739    { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
754 ac_env_CC_value=$CC
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
773
774 #
775 # Report the --help message.
776 #
777 if test "$ac_init_help" = "long"; then
778   # Omit some internal or obsolete options to make the list less imposing.
779   # This message is too long to be a string in the A/UX 3.1 sh.
780   cat <<_ACEOF
781 \`configure' configures this package to adapt to many kinds of systems.
782
783 Usage: $0 [OPTION]... [VAR=VALUE]...
784
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE.  See below for descriptions of some of the useful variables.
787
788 Defaults for the options are specified in brackets.
789
790 Configuration:
791   -h, --help              display this help and exit
792       --help=short        display options specific to this package
793       --help=recursive    display the short help of all the included packages
794   -V, --version           display version information and exit
795   -q, --quiet, --silent   do not print \`checking...' messages
796       --cache-file=FILE   cache test results in FILE [disabled]
797   -C, --config-cache      alias for \`--cache-file=config.cache'
798   -n, --no-create         do not create output files
799       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
800
801 _ACEOF
802
803   cat <<_ACEOF
804 Installation directories:
805   --prefix=PREFIX         install architecture-independent files in PREFIX
806                           [$ac_default_prefix]
807   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
808                           [PREFIX]
809
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
814
815 For better control, use the options below.
816
817 Fine tuning of the installation directories:
818   --bindir=DIR           user executables [EPREFIX/bin]
819   --sbindir=DIR          system admin executables [EPREFIX/sbin]
820   --libexecdir=DIR       program executables [EPREFIX/libexec]
821   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
822   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
823   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
824   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
825   --libdir=DIR           object code libraries [EPREFIX/lib]
826   --includedir=DIR       C header files [PREFIX/include]
827   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
828   --infodir=DIR          info documentation [PREFIX/info]
829   --mandir=DIR           man documentation [PREFIX/man]
830 _ACEOF
831
832   cat <<\_ACEOF
833
834 Program names:
835   --program-prefix=PREFIX            prepend PREFIX to installed program names
836   --program-suffix=SUFFIX            append SUFFIX to installed program names
837   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
838 _ACEOF
839 fi
840
841 if test -n "$ac_init_help"; then
842
843   cat <<\_ACEOF
844
845 Optional Features:
846   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
847   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
848   --disable-dependency-tracking Speeds up one-time builds
849   --enable-dependency-tracking  Do not reject slow dependency extractors
850   --enable-maintainer-mode enable make rules and dependencies not useful
851                           (and sometimes confusing) to the casual installer
852   --enable-generated-files-in-srcdir
853                           put copies of generated files in source dir
854                           intended for creating source tarballs for users
855                           without texinfo, perl, bison or flex.
856
857 Optional Packages:
858   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
859   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
860   --with-system-zlib      use installed libz
861
862 Some influential environment variables:
863   CC          C compiler command
864   CFLAGS      C compiler flags
865   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
866               nonstandard directory <lib dir>
867   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
868               headers in a nonstandard directory <include dir>
869   CPP         C preprocessor
870
871 Use these variables to override the choices made by `configure' or to help
872 it to find libraries and programs with nonstandard names/locations.
873
874 _ACEOF
875 fi
876
877 if test "$ac_init_help" = "recursive"; then
878   # If there are subdirs, report their specific --help.
879   ac_popdir=`pwd`
880   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
881     test -d $ac_dir || continue
882     ac_builddir=.
883
884 if test "$ac_dir" != .; then
885   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
886   # A "../" for each directory in $ac_dir_suffix.
887   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
888 else
889   ac_dir_suffix= ac_top_builddir=
890 fi
891
892 case $srcdir in
893   .)  # No --srcdir option.  We are building in place.
894     ac_srcdir=.
895     if test -z "$ac_top_builddir"; then
896        ac_top_srcdir=.
897     else
898        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
899     fi ;;
900   [\\/]* | ?:[\\/]* )  # Absolute path.
901     ac_srcdir=$srcdir$ac_dir_suffix;
902     ac_top_srcdir=$srcdir ;;
903   *) # Relative path.
904     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
905     ac_top_srcdir=$ac_top_builddir$srcdir ;;
906 esac
907
908 # Do not use `cd foo && pwd` to compute absolute paths, because
909 # the directories may not exist.
910 case `pwd` in
911 .) ac_abs_builddir="$ac_dir";;
912 *)
913   case "$ac_dir" in
914   .) ac_abs_builddir=`pwd`;;
915   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
916   *) ac_abs_builddir=`pwd`/"$ac_dir";;
917   esac;;
918 esac
919 case $ac_abs_builddir in
920 .) ac_abs_top_builddir=${ac_top_builddir}.;;
921 *)
922   case ${ac_top_builddir}. in
923   .) ac_abs_top_builddir=$ac_abs_builddir;;
924   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
925   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
926   esac;;
927 esac
928 case $ac_abs_builddir in
929 .) ac_abs_srcdir=$ac_srcdir;;
930 *)
931   case $ac_srcdir in
932   .) ac_abs_srcdir=$ac_abs_builddir;;
933   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
934   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
935   esac;;
936 esac
937 case $ac_abs_builddir in
938 .) ac_abs_top_srcdir=$ac_top_srcdir;;
939 *)
940   case $ac_top_srcdir in
941   .) ac_abs_top_srcdir=$ac_abs_builddir;;
942   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
943   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
944   esac;;
945 esac
946
947     cd $ac_dir
948     # Check for guested configure; otherwise get Cygnus style configure.
949     if test -f $ac_srcdir/configure.gnu; then
950       echo
951       $SHELL $ac_srcdir/configure.gnu  --help=recursive
952     elif test -f $ac_srcdir/configure; then
953       echo
954       $SHELL $ac_srcdir/configure  --help=recursive
955     elif test -f $ac_srcdir/configure.ac ||
956            test -f $ac_srcdir/configure.in; then
957       echo
958       $ac_configure --help
959     else
960       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
961     fi
962     cd $ac_popdir
963   done
964 fi
965
966 test -n "$ac_init_help" && exit 0
967 if $ac_init_version; then
968   cat <<\_ACEOF
969
970 Copyright (C) 2003 Free Software Foundation, Inc.
971 This configure script is free software; the Free Software Foundation
972 gives unlimited permission to copy, distribute and modify it.
973 _ACEOF
974   exit 0
975 fi
976 exec 5>config.log
977 cat >&5 <<_ACEOF
978 This file contains any messages produced by compilers while
979 running configure, to aid debugging if configure makes a mistake.
980
981 It was created by $as_me, which was
982 generated by GNU Autoconf 2.59.  Invocation command line was
983
984   $ $0 $@
985
986 _ACEOF
987 {
988 cat <<_ASUNAME
989 ## --------- ##
990 ## Platform. ##
991 ## --------- ##
992
993 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
994 uname -m = `(uname -m) 2>/dev/null || echo unknown`
995 uname -r = `(uname -r) 2>/dev/null || echo unknown`
996 uname -s = `(uname -s) 2>/dev/null || echo unknown`
997 uname -v = `(uname -v) 2>/dev/null || echo unknown`
998
999 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1000 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1001
1002 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1003 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1004 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1005 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1006 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1007 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1008 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1009
1010 _ASUNAME
1011
1012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1013 for as_dir in $PATH
1014 do
1015   IFS=$as_save_IFS
1016   test -z "$as_dir" && as_dir=.
1017   echo "PATH: $as_dir"
1018 done
1019
1020 } >&5
1021
1022 cat >&5 <<_ACEOF
1023
1024
1025 ## ----------- ##
1026 ## Core tests. ##
1027 ## ----------- ##
1028
1029 _ACEOF
1030
1031
1032 # Keep a trace of the command line.
1033 # Strip out --no-create and --no-recursion so they do not pile up.
1034 # Strip out --silent because we don't want to record it for future runs.
1035 # Also quote any args containing shell meta-characters.
1036 # Make two passes to allow for proper duplicate-argument suppression.
1037 ac_configure_args=
1038 ac_configure_args0=
1039 ac_configure_args1=
1040 ac_sep=
1041 ac_must_keep_next=false
1042 for ac_pass in 1 2
1043 do
1044   for ac_arg
1045   do
1046     case $ac_arg in
1047     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1048     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049     | -silent | --silent | --silen | --sile | --sil)
1050       continue ;;
1051     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1052       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1053     esac
1054     case $ac_pass in
1055     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1056     2)
1057       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1058       if test $ac_must_keep_next = true; then
1059         ac_must_keep_next=false # Got value, back to normal.
1060       else
1061         case $ac_arg in
1062           *=* | --config-cache | -C | -disable-* | --disable-* \
1063           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1064           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1065           | -with-* | --with-* | -without-* | --without-* | --x)
1066             case "$ac_configure_args0 " in
1067               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1068             esac
1069             ;;
1070           -* ) ac_must_keep_next=true ;;
1071         esac
1072       fi
1073       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1074       # Get rid of the leading space.
1075       ac_sep=" "
1076       ;;
1077     esac
1078   done
1079 done
1080 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1081 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1082
1083 # When interrupted or exit'd, cleanup temporary files, and complete
1084 # config.log.  We remove comments because anyway the quotes in there
1085 # would cause problems or look ugly.
1086 # WARNING: Be sure not to use single quotes in there, as some shells,
1087 # such as our DU 5.0 friend, will then `close' the trap.
1088 trap 'exit_status=$?
1089   # Save into config.log some information that might help in debugging.
1090   {
1091     echo
1092
1093     cat <<\_ASBOX
1094 ## ---------------- ##
1095 ## Cache variables. ##
1096 ## ---------------- ##
1097 _ASBOX
1098     echo
1099     # The following way of writing the cache mishandles newlines in values,
1100 {
1101   (set) 2>&1 |
1102     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1103     *ac_space=\ *)
1104       sed -n \
1105         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1106           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1107       ;;
1108     *)
1109       sed -n \
1110         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1111       ;;
1112     esac;
1113 }
1114     echo
1115
1116     cat <<\_ASBOX
1117 ## ----------------- ##
1118 ## Output variables. ##
1119 ## ----------------- ##
1120 _ASBOX
1121     echo
1122     for ac_var in $ac_subst_vars
1123     do
1124       eval ac_val=$`echo $ac_var`
1125       echo "$ac_var='"'"'$ac_val'"'"'"
1126     done | sort
1127     echo
1128
1129     if test -n "$ac_subst_files"; then
1130       cat <<\_ASBOX
1131 ## ------------- ##
1132 ## Output files. ##
1133 ## ------------- ##
1134 _ASBOX
1135       echo
1136       for ac_var in $ac_subst_files
1137       do
1138         eval ac_val=$`echo $ac_var`
1139         echo "$ac_var='"'"'$ac_val'"'"'"
1140       done | sort
1141       echo
1142     fi
1143
1144     if test -s confdefs.h; then
1145       cat <<\_ASBOX
1146 ## ----------- ##
1147 ## confdefs.h. ##
1148 ## ----------- ##
1149 _ASBOX
1150       echo
1151       sed "/^$/d" confdefs.h | sort
1152       echo
1153     fi
1154     test "$ac_signal" != 0 &&
1155       echo "$as_me: caught signal $ac_signal"
1156     echo "$as_me: exit $exit_status"
1157   } >&5
1158   rm -f core *.core &&
1159   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1160     exit $exit_status
1161      ' 0
1162 for ac_signal in 1 2 13 15; do
1163   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1164 done
1165 ac_signal=0
1166
1167 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1168 rm -rf conftest* confdefs.h
1169 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1170 echo >confdefs.h
1171
1172 # Predefined preprocessor variables.
1173
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_NAME "$PACKAGE_NAME"
1176 _ACEOF
1177
1178
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1181 _ACEOF
1182
1183
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1186 _ACEOF
1187
1188
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_STRING "$PACKAGE_STRING"
1191 _ACEOF
1192
1193
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1196 _ACEOF
1197
1198
1199 # Let the site file select an alternate cache file if it wants to.
1200 # Prefer explicitly selected file to automatically selected ones.
1201 if test -z "$CONFIG_SITE"; then
1202   if test "x$prefix" != xNONE; then
1203     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1204   else
1205     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1206   fi
1207 fi
1208 for ac_site_file in $CONFIG_SITE; do
1209   if test -r "$ac_site_file"; then
1210     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1211 echo "$as_me: loading site script $ac_site_file" >&6;}
1212     sed 's/^/| /' "$ac_site_file" >&5
1213     . "$ac_site_file"
1214   fi
1215 done
1216
1217 if test -r "$cache_file"; then
1218   # Some versions of bash will fail to source /dev/null (special
1219   # files actually), so we avoid doing that.
1220   if test -f "$cache_file"; then
1221     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1222 echo "$as_me: loading cache $cache_file" >&6;}
1223     case $cache_file in
1224       [\\/]* | ?:[\\/]* ) . $cache_file;;
1225       *)                      . ./$cache_file;;
1226     esac
1227   fi
1228 else
1229   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1230 echo "$as_me: creating cache $cache_file" >&6;}
1231   >$cache_file
1232 fi
1233
1234 # Check that the precious variables saved in the cache have kept the same
1235 # value.
1236 ac_cache_corrupted=false
1237 for ac_var in `(set) 2>&1 |
1238                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1239   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1240   eval ac_new_set=\$ac_env_${ac_var}_set
1241   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1242   eval ac_new_val="\$ac_env_${ac_var}_value"
1243   case $ac_old_set,$ac_new_set in
1244     set,)
1245       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1246 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1247       ac_cache_corrupted=: ;;
1248     ,set)
1249       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1250 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1251       ac_cache_corrupted=: ;;
1252     ,);;
1253     *)
1254       if test "x$ac_old_val" != "x$ac_new_val"; then
1255         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1256 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1257         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1258 echo "$as_me:   former value:  $ac_old_val" >&2;}
1259         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1260 echo "$as_me:   current value: $ac_new_val" >&2;}
1261         ac_cache_corrupted=:
1262       fi;;
1263   esac
1264   # Pass precious variables to config.status.
1265   if test "$ac_new_set" = set; then
1266     case $ac_new_val in
1267     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1268       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1269     *) ac_arg=$ac_var=$ac_new_val ;;
1270     esac
1271     case " $ac_configure_args " in
1272       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1273       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1274     esac
1275   fi
1276 done
1277 if $ac_cache_corrupted; then
1278   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1279 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1280   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1281 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1282    { (exit 1); exit 1; }; }
1283 fi
1284
1285 ac_ext=c
1286 ac_cpp='$CPP $CPPFLAGS'
1287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309 am__api_version="1.7"
1310 ac_aux_dir=
1311 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1312   if test -f $ac_dir/install-sh; then
1313     ac_aux_dir=$ac_dir
1314     ac_install_sh="$ac_aux_dir/install-sh -c"
1315     break
1316   elif test -f $ac_dir/install.sh; then
1317     ac_aux_dir=$ac_dir
1318     ac_install_sh="$ac_aux_dir/install.sh -c"
1319     break
1320   elif test -f $ac_dir/shtool; then
1321     ac_aux_dir=$ac_dir
1322     ac_install_sh="$ac_aux_dir/shtool install -c"
1323     break
1324   fi
1325 done
1326 if test -z "$ac_aux_dir"; then
1327   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1328 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1329    { (exit 1); exit 1; }; }
1330 fi
1331 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1332 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1333 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1334
1335 # Find a good install program.  We prefer a C program (faster),
1336 # so one script is as good as another.  But avoid the broken or
1337 # incompatible versions:
1338 # SysV /etc/install, /usr/sbin/install
1339 # SunOS /usr/etc/install
1340 # IRIX /sbin/install
1341 # AIX /bin/install
1342 # AmigaOS /C/install, which installs bootblocks on floppy discs
1343 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1344 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1345 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1346 # OS/2's system install, which has a completely different semantic
1347 # ./install, which can be erroneously created by make from ./install.sh.
1348 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1349 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1350 if test -z "$INSTALL"; then
1351 if test "${ac_cv_path_install+set}" = set; then
1352   echo $ECHO_N "(cached) $ECHO_C" >&6
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   # Account for people who put trailing slashes in PATH elements.
1360 case $as_dir/ in
1361   ./ | .// | /cC/* | \
1362   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1363   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1364   /usr/ucb/* ) ;;
1365   *)
1366     # OSF1 and SCO ODT 3.0 have their own names for install.
1367     # Don't use installbsd from OSF since it installs stuff as root
1368     # by default.
1369     for ac_prog in ginstall scoinst install; do
1370       for ac_exec_ext in '' $ac_executable_extensions; do
1371         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1372           if test $ac_prog = install &&
1373             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1374             # AIX install.  It has an incompatible calling convention.
1375             :
1376           elif test $ac_prog = install &&
1377             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1378             # program-specific install script used by HP pwplus--don't use.
1379             :
1380           else
1381             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1382             break 3
1383           fi
1384         fi
1385       done
1386     done
1387     ;;
1388 esac
1389 done
1390
1391
1392 fi
1393   if test "${ac_cv_path_install+set}" = set; then
1394     INSTALL=$ac_cv_path_install
1395   else
1396     # As a last resort, use the slow shell script.  We don't cache a
1397     # path for INSTALL within a source directory, because that will
1398     # break other packages using the cache if that directory is
1399     # removed, or if the path is relative.
1400     INSTALL=$ac_install_sh
1401   fi
1402 fi
1403 echo "$as_me:$LINENO: result: $INSTALL" >&5
1404 echo "${ECHO_T}$INSTALL" >&6
1405
1406 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1407 # It thinks the first close brace ends the variable substitution.
1408 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1409
1410 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1411
1412 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1413
1414 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1415 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1416 # Just in case
1417 sleep 1
1418 echo timestamp > conftest.file
1419 # Do `set' in a subshell so we don't clobber the current shell's
1420 # arguments.  Must try -L first in case configure is actually a
1421 # symlink; some systems play weird games with the mod time of symlinks
1422 # (eg FreeBSD returns the mod time of the symlink's containing
1423 # directory).
1424 if (
1425    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1426    if test "$*" = "X"; then
1427       # -L didn't work.
1428       set X `ls -t $srcdir/configure conftest.file`
1429    fi
1430    rm -f conftest.file
1431    if test "$*" != "X $srcdir/configure conftest.file" \
1432       && test "$*" != "X conftest.file $srcdir/configure"; then
1433
1434       # If neither matched, then we have a broken ls.  This can happen
1435       # if, for instance, CONFIG_SHELL is bash and it inherits a
1436       # broken ls alias from the environment.  This has actually
1437       # happened.  Such a system could not be considered "sane".
1438       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1439 alias in your environment" >&5
1440 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1441 alias in your environment" >&2;}
1442    { (exit 1); exit 1; }; }
1443    fi
1444
1445    test "$2" = conftest.file
1446    )
1447 then
1448    # Ok.
1449    :
1450 else
1451    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1452 Check your system clock" >&5
1453 echo "$as_me: error: newly created file is older than distributed files!
1454 Check your system clock" >&2;}
1455    { (exit 1); exit 1; }; }
1456 fi
1457 echo "$as_me:$LINENO: result: yes" >&5
1458 echo "${ECHO_T}yes" >&6
1459 test "$program_prefix" != NONE &&
1460   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1461 # Use a double $ so make ignores it.
1462 test "$program_suffix" != NONE &&
1463   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1464 # Double any \ or $.  echo might interpret backslashes.
1465 # By default was `s,x,x', remove it if useless.
1466 cat <<\_ACEOF >conftest.sed
1467 s/[\\$]/&&/g;s/;s,x,x,$//
1468 _ACEOF
1469 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1470 rm conftest.sed
1471
1472
1473 # expand $ac_aux_dir to an absolute path
1474 am_aux_dir=`cd $ac_aux_dir && pwd`
1475
1476 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1477 # Use eval to expand $SHELL
1478 if eval "$MISSING --run true"; then
1479   am_missing_run="$MISSING --run "
1480 else
1481   am_missing_run=
1482   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1483 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1484 fi
1485
1486 for ac_prog in gawk mawk nawk awk
1487 do
1488   # Extract the first word of "$ac_prog", so it can be a program name with args.
1489 set dummy $ac_prog; ac_word=$2
1490 echo "$as_me:$LINENO: checking for $ac_word" >&5
1491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1492 if test "${ac_cv_prog_AWK+set}" = set; then
1493   echo $ECHO_N "(cached) $ECHO_C" >&6
1494 else
1495   if test -n "$AWK"; then
1496   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1497 else
1498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1499 for as_dir in $PATH
1500 do
1501   IFS=$as_save_IFS
1502   test -z "$as_dir" && as_dir=.
1503   for ac_exec_ext in '' $ac_executable_extensions; do
1504   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1505     ac_cv_prog_AWK="$ac_prog"
1506     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1507     break 2
1508   fi
1509 done
1510 done
1511
1512 fi
1513 fi
1514 AWK=$ac_cv_prog_AWK
1515 if test -n "$AWK"; then
1516   echo "$as_me:$LINENO: result: $AWK" >&5
1517 echo "${ECHO_T}$AWK" >&6
1518 else
1519   echo "$as_me:$LINENO: result: no" >&5
1520 echo "${ECHO_T}no" >&6
1521 fi
1522
1523   test -n "$AWK" && break
1524 done
1525
1526 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1527 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1528 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1529 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1530   echo $ECHO_N "(cached) $ECHO_C" >&6
1531 else
1532   cat >conftest.make <<\_ACEOF
1533 all:
1534         @echo 'ac_maketemp="$(MAKE)"'
1535 _ACEOF
1536 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1537 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1538 if test -n "$ac_maketemp"; then
1539   eval ac_cv_prog_make_${ac_make}_set=yes
1540 else
1541   eval ac_cv_prog_make_${ac_make}_set=no
1542 fi
1543 rm -f conftest.make
1544 fi
1545 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1546   echo "$as_me:$LINENO: result: yes" >&5
1547 echo "${ECHO_T}yes" >&6
1548   SET_MAKE=
1549 else
1550   echo "$as_me:$LINENO: result: no" >&5
1551 echo "${ECHO_T}no" >&6
1552   SET_MAKE="MAKE=${MAKE-make}"
1553 fi
1554
1555 rm -rf .tst 2>/dev/null
1556 mkdir .tst 2>/dev/null
1557 if test -d .tst; then
1558   am__leading_dot=.
1559 else
1560   am__leading_dot=_
1561 fi
1562 rmdir .tst 2>/dev/null
1563
1564  # test to see if srcdir already configured
1565 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1566    test -f $srcdir/config.status; then
1567   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1568 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1569    { (exit 1); exit 1; }; }
1570 fi
1571
1572 # test whether we have cygpath
1573 if test -z "$CYGPATH_W"; then
1574   if (cygpath --version) >/dev/null 2>/dev/null; then
1575     CYGPATH_W='cygpath -w'
1576   else
1577     CYGPATH_W=echo
1578   fi
1579 fi
1580
1581
1582 # Define the identity of the package.
1583  PACKAGE=fastjar
1584  VERSION=0.92-gcc
1585
1586
1587 cat >>confdefs.h <<_ACEOF
1588 #define PACKAGE "$PACKAGE"
1589 _ACEOF
1590
1591
1592 cat >>confdefs.h <<_ACEOF
1593 #define VERSION "$VERSION"
1594 _ACEOF
1595
1596 # Some tools Automake needs.
1597
1598 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1599
1600
1601 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1602
1603
1604 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1605
1606
1607 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1608
1609
1610 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1611
1612
1613 AMTAR=${AMTAR-"${am_missing_run}tar"}
1614
1615 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1616
1617 # Installed binaries are usually stripped using `strip' when the user
1618 # run `make install-strip'.  However `strip' might not be the right
1619 # tool to use in cross-compilation environments, therefore Automake
1620 # will honor the `STRIP' environment variable to overrule this program.
1621 if test "$cross_compiling" != no; then
1622   if test -n "$ac_tool_prefix"; then
1623   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1624 set dummy ${ac_tool_prefix}strip; ac_word=$2
1625 echo "$as_me:$LINENO: checking for $ac_word" >&5
1626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1627 if test "${ac_cv_prog_STRIP+set}" = set; then
1628   echo $ECHO_N "(cached) $ECHO_C" >&6
1629 else
1630   if test -n "$STRIP"; then
1631   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1632 else
1633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1634 for as_dir in $PATH
1635 do
1636   IFS=$as_save_IFS
1637   test -z "$as_dir" && as_dir=.
1638   for ac_exec_ext in '' $ac_executable_extensions; do
1639   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1640     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1641     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1642     break 2
1643   fi
1644 done
1645 done
1646
1647 fi
1648 fi
1649 STRIP=$ac_cv_prog_STRIP
1650 if test -n "$STRIP"; then
1651   echo "$as_me:$LINENO: result: $STRIP" >&5
1652 echo "${ECHO_T}$STRIP" >&6
1653 else
1654   echo "$as_me:$LINENO: result: no" >&5
1655 echo "${ECHO_T}no" >&6
1656 fi
1657
1658 fi
1659 if test -z "$ac_cv_prog_STRIP"; then
1660   ac_ct_STRIP=$STRIP
1661   # Extract the first word of "strip", so it can be a program name with args.
1662 set dummy strip; ac_word=$2
1663 echo "$as_me:$LINENO: checking for $ac_word" >&5
1664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1665 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1666   echo $ECHO_N "(cached) $ECHO_C" >&6
1667 else
1668   if test -n "$ac_ct_STRIP"; then
1669   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1670 else
1671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1672 for as_dir in $PATH
1673 do
1674   IFS=$as_save_IFS
1675   test -z "$as_dir" && as_dir=.
1676   for ac_exec_ext in '' $ac_executable_extensions; do
1677   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1678     ac_cv_prog_ac_ct_STRIP="strip"
1679     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1680     break 2
1681   fi
1682 done
1683 done
1684
1685   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1686 fi
1687 fi
1688 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1689 if test -n "$ac_ct_STRIP"; then
1690   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1691 echo "${ECHO_T}$ac_ct_STRIP" >&6
1692 else
1693   echo "$as_me:$LINENO: result: no" >&5
1694 echo "${ECHO_T}no" >&6
1695 fi
1696
1697   STRIP=$ac_ct_STRIP
1698 else
1699   STRIP="$ac_cv_prog_STRIP"
1700 fi
1701
1702 fi
1703 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1704
1705 # We need awk for the "check" target.  The system "awk" is bad on
1706 # some platforms.
1707
1708
1709
1710           ac_config_headers="$ac_config_headers config.h"
1711
1712
1713 ac_ext=c
1714 ac_cpp='$CPP $CPPFLAGS'
1715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1718 if test -n "$ac_tool_prefix"; then
1719   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1720 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1721 echo "$as_me:$LINENO: checking for $ac_word" >&5
1722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1723 if test "${ac_cv_prog_CC+set}" = set; then
1724   echo $ECHO_N "(cached) $ECHO_C" >&6
1725 else
1726   if test -n "$CC"; then
1727   ac_cv_prog_CC="$CC" # Let the user override the test.
1728 else
1729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1730 for as_dir in $PATH
1731 do
1732   IFS=$as_save_IFS
1733   test -z "$as_dir" && as_dir=.
1734   for ac_exec_ext in '' $ac_executable_extensions; do
1735   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1736     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1737     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1738     break 2
1739   fi
1740 done
1741 done
1742
1743 fi
1744 fi
1745 CC=$ac_cv_prog_CC
1746 if test -n "$CC"; then
1747   echo "$as_me:$LINENO: result: $CC" >&5
1748 echo "${ECHO_T}$CC" >&6
1749 else
1750   echo "$as_me:$LINENO: result: no" >&5
1751 echo "${ECHO_T}no" >&6
1752 fi
1753
1754 fi
1755 if test -z "$ac_cv_prog_CC"; then
1756   ac_ct_CC=$CC
1757   # Extract the first word of "gcc", so it can be a program name with args.
1758 set dummy gcc; ac_word=$2
1759 echo "$as_me:$LINENO: checking for $ac_word" >&5
1760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1761 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1762   echo $ECHO_N "(cached) $ECHO_C" >&6
1763 else
1764   if test -n "$ac_ct_CC"; then
1765   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1766 else
1767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1768 for as_dir in $PATH
1769 do
1770   IFS=$as_save_IFS
1771   test -z "$as_dir" && as_dir=.
1772   for ac_exec_ext in '' $ac_executable_extensions; do
1773   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1774     ac_cv_prog_ac_ct_CC="gcc"
1775     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1776     break 2
1777   fi
1778 done
1779 done
1780
1781 fi
1782 fi
1783 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1784 if test -n "$ac_ct_CC"; then
1785   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1786 echo "${ECHO_T}$ac_ct_CC" >&6
1787 else
1788   echo "$as_me:$LINENO: result: no" >&5
1789 echo "${ECHO_T}no" >&6
1790 fi
1791
1792   CC=$ac_ct_CC
1793 else
1794   CC="$ac_cv_prog_CC"
1795 fi
1796
1797 if test -z "$CC"; then
1798   if test -n "$ac_tool_prefix"; then
1799   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1800 set dummy ${ac_tool_prefix}cc; ac_word=$2
1801 echo "$as_me:$LINENO: checking for $ac_word" >&5
1802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1803 if test "${ac_cv_prog_CC+set}" = set; then
1804   echo $ECHO_N "(cached) $ECHO_C" >&6
1805 else
1806   if test -n "$CC"; then
1807   ac_cv_prog_CC="$CC" # Let the user override the test.
1808 else
1809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1810 for as_dir in $PATH
1811 do
1812   IFS=$as_save_IFS
1813   test -z "$as_dir" && as_dir=.
1814   for ac_exec_ext in '' $ac_executable_extensions; do
1815   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1816     ac_cv_prog_CC="${ac_tool_prefix}cc"
1817     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1818     break 2
1819   fi
1820 done
1821 done
1822
1823 fi
1824 fi
1825 CC=$ac_cv_prog_CC
1826 if test -n "$CC"; then
1827   echo "$as_me:$LINENO: result: $CC" >&5
1828 echo "${ECHO_T}$CC" >&6
1829 else
1830   echo "$as_me:$LINENO: result: no" >&5
1831 echo "${ECHO_T}no" >&6
1832 fi
1833
1834 fi
1835 if test -z "$ac_cv_prog_CC"; then
1836   ac_ct_CC=$CC
1837   # Extract the first word of "cc", so it can be a program name with args.
1838 set dummy cc; ac_word=$2
1839 echo "$as_me:$LINENO: checking for $ac_word" >&5
1840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1841 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1842   echo $ECHO_N "(cached) $ECHO_C" >&6
1843 else
1844   if test -n "$ac_ct_CC"; then
1845   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1846 else
1847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848 for as_dir in $PATH
1849 do
1850   IFS=$as_save_IFS
1851   test -z "$as_dir" && as_dir=.
1852   for ac_exec_ext in '' $ac_executable_extensions; do
1853   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1854     ac_cv_prog_ac_ct_CC="cc"
1855     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1856     break 2
1857   fi
1858 done
1859 done
1860
1861 fi
1862 fi
1863 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1864 if test -n "$ac_ct_CC"; then
1865   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1866 echo "${ECHO_T}$ac_ct_CC" >&6
1867 else
1868   echo "$as_me:$LINENO: result: no" >&5
1869 echo "${ECHO_T}no" >&6
1870 fi
1871
1872   CC=$ac_ct_CC
1873 else
1874   CC="$ac_cv_prog_CC"
1875 fi
1876
1877 fi
1878 if test -z "$CC"; then
1879   # Extract the first word of "cc", so it can be a program name with args.
1880 set dummy cc; ac_word=$2
1881 echo "$as_me:$LINENO: checking for $ac_word" >&5
1882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1883 if test "${ac_cv_prog_CC+set}" = set; then
1884   echo $ECHO_N "(cached) $ECHO_C" >&6
1885 else
1886   if test -n "$CC"; then
1887   ac_cv_prog_CC="$CC" # Let the user override the test.
1888 else
1889   ac_prog_rejected=no
1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1891 for as_dir in $PATH
1892 do
1893   IFS=$as_save_IFS
1894   test -z "$as_dir" && as_dir=.
1895   for ac_exec_ext in '' $ac_executable_extensions; do
1896   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1897     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1898        ac_prog_rejected=yes
1899        continue
1900      fi
1901     ac_cv_prog_CC="cc"
1902     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903     break 2
1904   fi
1905 done
1906 done
1907
1908 if test $ac_prog_rejected = yes; then
1909   # We found a bogon in the path, so make sure we never use it.
1910   set dummy $ac_cv_prog_CC
1911   shift
1912   if test $# != 0; then
1913     # We chose a different compiler from the bogus one.
1914     # However, it has the same basename, so the bogon will be chosen
1915     # first if we set CC to just the basename; use the full file name.
1916     shift
1917     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1918   fi
1919 fi
1920 fi
1921 fi
1922 CC=$ac_cv_prog_CC
1923 if test -n "$CC"; then
1924   echo "$as_me:$LINENO: result: $CC" >&5
1925 echo "${ECHO_T}$CC" >&6
1926 else
1927   echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6
1929 fi
1930
1931 fi
1932 if test -z "$CC"; then
1933   if test -n "$ac_tool_prefix"; then
1934   for ac_prog in cl
1935   do
1936     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1937 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1938 echo "$as_me:$LINENO: checking for $ac_word" >&5
1939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1940 if test "${ac_cv_prog_CC+set}" = set; then
1941   echo $ECHO_N "(cached) $ECHO_C" >&6
1942 else
1943   if test -n "$CC"; then
1944   ac_cv_prog_CC="$CC" # Let the user override the test.
1945 else
1946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1947 for as_dir in $PATH
1948 do
1949   IFS=$as_save_IFS
1950   test -z "$as_dir" && as_dir=.
1951   for ac_exec_ext in '' $ac_executable_extensions; do
1952   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1953     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1954     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1955     break 2
1956   fi
1957 done
1958 done
1959
1960 fi
1961 fi
1962 CC=$ac_cv_prog_CC
1963 if test -n "$CC"; then
1964   echo "$as_me:$LINENO: result: $CC" >&5
1965 echo "${ECHO_T}$CC" >&6
1966 else
1967   echo "$as_me:$LINENO: result: no" >&5
1968 echo "${ECHO_T}no" >&6
1969 fi
1970
1971     test -n "$CC" && break
1972   done
1973 fi
1974 if test -z "$CC"; then
1975   ac_ct_CC=$CC
1976   for ac_prog in cl
1977 do
1978   # Extract the first word of "$ac_prog", so it can be a program name with args.
1979 set dummy $ac_prog; ac_word=$2
1980 echo "$as_me:$LINENO: checking for $ac_word" >&5
1981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1982 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1983   echo $ECHO_N "(cached) $ECHO_C" >&6
1984 else
1985   if test -n "$ac_ct_CC"; then
1986   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1987 else
1988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1989 for as_dir in $PATH
1990 do
1991   IFS=$as_save_IFS
1992   test -z "$as_dir" && as_dir=.
1993   for ac_exec_ext in '' $ac_executable_extensions; do
1994   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1995     ac_cv_prog_ac_ct_CC="$ac_prog"
1996     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1997     break 2
1998   fi
1999 done
2000 done
2001
2002 fi
2003 fi
2004 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2005 if test -n "$ac_ct_CC"; then
2006   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2007 echo "${ECHO_T}$ac_ct_CC" >&6
2008 else
2009   echo "$as_me:$LINENO: result: no" >&5
2010 echo "${ECHO_T}no" >&6
2011 fi
2012
2013   test -n "$ac_ct_CC" && break
2014 done
2015
2016   CC=$ac_ct_CC
2017 fi
2018
2019 fi
2020
2021
2022 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2023 See \`config.log' for more details." >&5
2024 echo "$as_me: error: no acceptable C compiler found in \$PATH
2025 See \`config.log' for more details." >&2;}
2026    { (exit 1); exit 1; }; }
2027
2028 # Provide some information about the compiler.
2029 echo "$as_me:$LINENO:" \
2030      "checking for C compiler version" >&5
2031 ac_compiler=`set X $ac_compile; echo $2`
2032 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2033   (eval $ac_compiler --version </dev/null >&5) 2>&5
2034   ac_status=$?
2035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2036   (exit $ac_status); }
2037 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2038   (eval $ac_compiler -v </dev/null >&5) 2>&5
2039   ac_status=$?
2040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041   (exit $ac_status); }
2042 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2043   (eval $ac_compiler -V </dev/null >&5) 2>&5
2044   ac_status=$?
2045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046   (exit $ac_status); }
2047
2048 cat >conftest.$ac_ext <<_ACEOF
2049 /* confdefs.h.  */
2050 _ACEOF
2051 cat confdefs.h >>conftest.$ac_ext
2052 cat >>conftest.$ac_ext <<_ACEOF
2053 /* end confdefs.h.  */
2054
2055 int
2056 main ()
2057 {
2058
2059   ;
2060   return 0;
2061 }
2062 _ACEOF
2063 ac_clean_files_save=$ac_clean_files
2064 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2065 # Try to create an executable without -o first, disregard a.out.
2066 # It will help us diagnose broken compilers, and finding out an intuition
2067 # of exeext.
2068 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2069 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2070 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2071 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2072   (eval $ac_link_default) 2>&5
2073   ac_status=$?
2074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2075   (exit $ac_status); }; then
2076   # Find the output, starting from the most likely.  This scheme is
2077 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2078 # resort.
2079
2080 # Be careful to initialize this variable, since it used to be cached.
2081 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2082 ac_cv_exeext=
2083 # b.out is created by i960 compilers.
2084 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2085 do
2086   test -f "$ac_file" || continue
2087   case $ac_file in
2088     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2089         ;;
2090     conftest.$ac_ext )
2091         # This is the source file.
2092         ;;
2093     [ab].out )
2094         # We found the default executable, but exeext='' is most
2095         # certainly right.
2096         break;;
2097     *.* )
2098         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2099         # FIXME: I believe we export ac_cv_exeext for Libtool,
2100         # but it would be cool to find out if it's true.  Does anybody
2101         # maintain Libtool? --akim.
2102         export ac_cv_exeext
2103         break;;
2104     * )
2105         break;;
2106   esac
2107 done
2108 else
2109   echo "$as_me: failed program was:" >&5
2110 sed 's/^/| /' conftest.$ac_ext >&5
2111
2112 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2113 See \`config.log' for more details." >&5
2114 echo "$as_me: error: C compiler cannot create executables
2115 See \`config.log' for more details." >&2;}
2116    { (exit 77); exit 77; }; }
2117 fi
2118
2119 ac_exeext=$ac_cv_exeext
2120 echo "$as_me:$LINENO: result: $ac_file" >&5
2121 echo "${ECHO_T}$ac_file" >&6
2122
2123 # Check the compiler produces executables we can run.  If not, either
2124 # the compiler is broken, or we cross compile.
2125 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2126 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2127 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2128 # If not cross compiling, check that we can run a simple program.
2129 if test "$cross_compiling" != yes; then
2130   if { ac_try='./$ac_file'
2131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2132   (eval $ac_try) 2>&5
2133   ac_status=$?
2134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135   (exit $ac_status); }; }; then
2136     cross_compiling=no
2137   else
2138     if test "$cross_compiling" = maybe; then
2139         cross_compiling=yes
2140     else
2141         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2142 If you meant to cross compile, use \`--host'.
2143 See \`config.log' for more details." >&5
2144 echo "$as_me: error: cannot run C compiled programs.
2145 If you meant to cross compile, use \`--host'.
2146 See \`config.log' for more details." >&2;}
2147    { (exit 1); exit 1; }; }
2148     fi
2149   fi
2150 fi
2151 echo "$as_me:$LINENO: result: yes" >&5
2152 echo "${ECHO_T}yes" >&6
2153
2154 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2155 ac_clean_files=$ac_clean_files_save
2156 # Check the compiler produces executables we can run.  If not, either
2157 # the compiler is broken, or we cross compile.
2158 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2159 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2160 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2161 echo "${ECHO_T}$cross_compiling" >&6
2162
2163 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2164 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2166   (eval $ac_link) 2>&5
2167   ac_status=$?
2168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2169   (exit $ac_status); }; then
2170   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2171 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2172 # work properly (i.e., refer to `conftest.exe'), while it won't with
2173 # `rm'.
2174 for ac_file in conftest.exe conftest conftest.*; do
2175   test -f "$ac_file" || continue
2176   case $ac_file in
2177     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2178     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2179           export ac_cv_exeext
2180           break;;
2181     * ) break;;
2182   esac
2183 done
2184 else
2185   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2186 See \`config.log' for more details." >&5
2187 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2188 See \`config.log' for more details." >&2;}
2189    { (exit 1); exit 1; }; }
2190 fi
2191
2192 rm -f conftest$ac_cv_exeext
2193 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2194 echo "${ECHO_T}$ac_cv_exeext" >&6
2195
2196 rm -f conftest.$ac_ext
2197 EXEEXT=$ac_cv_exeext
2198 ac_exeext=$EXEEXT
2199 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2200 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2201 if test "${ac_cv_objext+set}" = set; then
2202   echo $ECHO_N "(cached) $ECHO_C" >&6
2203 else
2204   cat >conftest.$ac_ext <<_ACEOF
2205 /* confdefs.h.  */
2206 _ACEOF
2207 cat confdefs.h >>conftest.$ac_ext
2208 cat >>conftest.$ac_ext <<_ACEOF
2209 /* end confdefs.h.  */
2210
2211 int
2212 main ()
2213 {
2214
2215   ;
2216   return 0;
2217 }
2218 _ACEOF
2219 rm -f conftest.o conftest.obj
2220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2221   (eval $ac_compile) 2>&5
2222   ac_status=$?
2223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224   (exit $ac_status); }; then
2225   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2226   case $ac_file in
2227     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2228     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2229        break;;
2230   esac
2231 done
2232 else
2233   echo "$as_me: failed program was:" >&5
2234 sed 's/^/| /' conftest.$ac_ext >&5
2235
2236 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2237 See \`config.log' for more details." >&5
2238 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2239 See \`config.log' for more details." >&2;}
2240    { (exit 1); exit 1; }; }
2241 fi
2242
2243 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2244 fi
2245 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2246 echo "${ECHO_T}$ac_cv_objext" >&6
2247 OBJEXT=$ac_cv_objext
2248 ac_objext=$OBJEXT
2249 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2250 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2251 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2252   echo $ECHO_N "(cached) $ECHO_C" >&6
2253 else
2254   cat >conftest.$ac_ext <<_ACEOF
2255 /* confdefs.h.  */
2256 _ACEOF
2257 cat confdefs.h >>conftest.$ac_ext
2258 cat >>conftest.$ac_ext <<_ACEOF
2259 /* end confdefs.h.  */
2260
2261 int
2262 main ()
2263 {
2264 #ifndef __GNUC__
2265        choke me
2266 #endif
2267
2268   ;
2269   return 0;
2270 }
2271 _ACEOF
2272 rm -f conftest.$ac_objext
2273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2274   (eval $ac_compile) 2>conftest.er1
2275   ac_status=$?
2276   grep -v '^ *+' conftest.er1 >conftest.err
2277   rm -f conftest.er1
2278   cat conftest.err >&5
2279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280   (exit $ac_status); } &&
2281          { ac_try='test -z "$ac_c_werror_flag"
2282                          || test ! -s conftest.err'
2283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2284   (eval $ac_try) 2>&5
2285   ac_status=$?
2286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2287   (exit $ac_status); }; } &&
2288          { ac_try='test -s conftest.$ac_objext'
2289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2290   (eval $ac_try) 2>&5
2291   ac_status=$?
2292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293   (exit $ac_status); }; }; then
2294   ac_compiler_gnu=yes
2295 else
2296   echo "$as_me: failed program was:" >&5
2297 sed 's/^/| /' conftest.$ac_ext >&5
2298
2299 ac_compiler_gnu=no
2300 fi
2301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2302 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2303
2304 fi
2305 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2306 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2307 GCC=`test $ac_compiler_gnu = yes && echo yes`
2308 ac_test_CFLAGS=${CFLAGS+set}
2309 ac_save_CFLAGS=$CFLAGS
2310 CFLAGS="-g"
2311 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2312 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2313 if test "${ac_cv_prog_cc_g+set}" = set; then
2314   echo $ECHO_N "(cached) $ECHO_C" >&6
2315 else
2316   cat >conftest.$ac_ext <<_ACEOF
2317 /* confdefs.h.  */
2318 _ACEOF
2319 cat confdefs.h >>conftest.$ac_ext
2320 cat >>conftest.$ac_ext <<_ACEOF
2321 /* end confdefs.h.  */
2322
2323 int
2324 main ()
2325 {
2326
2327   ;
2328   return 0;
2329 }
2330 _ACEOF
2331 rm -f conftest.$ac_objext
2332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2333   (eval $ac_compile) 2>conftest.er1
2334   ac_status=$?
2335   grep -v '^ *+' conftest.er1 >conftest.err
2336   rm -f conftest.er1
2337   cat conftest.err >&5
2338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339   (exit $ac_status); } &&
2340          { ac_try='test -z "$ac_c_werror_flag"
2341                          || test ! -s conftest.err'
2342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2343   (eval $ac_try) 2>&5
2344   ac_status=$?
2345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346   (exit $ac_status); }; } &&
2347          { ac_try='test -s conftest.$ac_objext'
2348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2349   (eval $ac_try) 2>&5
2350   ac_status=$?
2351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352   (exit $ac_status); }; }; then
2353   ac_cv_prog_cc_g=yes
2354 else
2355   echo "$as_me: failed program was:" >&5
2356 sed 's/^/| /' conftest.$ac_ext >&5
2357
2358 ac_cv_prog_cc_g=no
2359 fi
2360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2361 fi
2362 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2363 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2364 if test "$ac_test_CFLAGS" = set; then
2365   CFLAGS=$ac_save_CFLAGS
2366 elif test $ac_cv_prog_cc_g = yes; then
2367   if test "$GCC" = yes; then
2368     CFLAGS="-g -O2"
2369   else
2370     CFLAGS="-g"
2371   fi
2372 else
2373   if test "$GCC" = yes; then
2374     CFLAGS="-O2"
2375   else
2376     CFLAGS=
2377   fi
2378 fi
2379 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2380 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2381 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2382   echo $ECHO_N "(cached) $ECHO_C" >&6
2383 else
2384   ac_cv_prog_cc_stdc=no
2385 ac_save_CC=$CC
2386 cat >conftest.$ac_ext <<_ACEOF
2387 /* confdefs.h.  */
2388 _ACEOF
2389 cat confdefs.h >>conftest.$ac_ext
2390 cat >>conftest.$ac_ext <<_ACEOF
2391 /* end confdefs.h.  */
2392 #include <stdarg.h>
2393 #include <stdio.h>
2394 #include <sys/types.h>
2395 #include <sys/stat.h>
2396 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2397 struct buf { int x; };
2398 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2399 static char *e (p, i)
2400      char **p;
2401      int i;
2402 {
2403   return p[i];
2404 }
2405 static char *f (char * (*g) (char **, int), char **p, ...)
2406 {
2407   char *s;
2408   va_list v;
2409   va_start (v,p);
2410   s = g (p, va_arg (v,int));
2411   va_end (v);
2412   return s;
2413 }
2414
2415 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2416    function prototypes and stuff, but not '\xHH' hex character constants.
2417    These don't provoke an error unfortunately, instead are silently treated
2418    as 'x'.  The following induces an error, until -std1 is added to get
2419    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2420    array size at least.  It's necessary to write '\x00'==0 to get something
2421    that's true only with -std1.  */
2422 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2423
2424 int test (int i, double x);
2425 struct s1 {int (*f) (int a);};
2426 struct s2 {int (*f) (double a);};
2427 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2428 int argc;
2429 char **argv;
2430 int
2431 main ()
2432 {
2433 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2434   ;
2435   return 0;
2436 }
2437 _ACEOF
2438 # Don't try gcc -ansi; that turns off useful extensions and
2439 # breaks some systems' header files.
2440 # AIX                   -qlanglvl=ansi
2441 # Ultrix and OSF/1      -std1
2442 # HP-UX 10.20 and later -Ae
2443 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2444 # SVR4                  -Xc -D__EXTENSIONS__
2445 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2446 do
2447   CC="$ac_save_CC $ac_arg"
2448   rm -f conftest.$ac_objext
2449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2450   (eval $ac_compile) 2>conftest.er1
2451   ac_status=$?
2452   grep -v '^ *+' conftest.er1 >conftest.err
2453   rm -f conftest.er1
2454   cat conftest.err >&5
2455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456   (exit $ac_status); } &&
2457          { ac_try='test -z "$ac_c_werror_flag"
2458                          || test ! -s conftest.err'
2459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460   (eval $ac_try) 2>&5
2461   ac_status=$?
2462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2463   (exit $ac_status); }; } &&
2464          { ac_try='test -s conftest.$ac_objext'
2465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2466   (eval $ac_try) 2>&5
2467   ac_status=$?
2468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469   (exit $ac_status); }; }; then
2470   ac_cv_prog_cc_stdc=$ac_arg
2471 break
2472 else
2473   echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.$ac_ext >&5
2475
2476 fi
2477 rm -f conftest.err conftest.$ac_objext
2478 done
2479 rm -f conftest.$ac_ext conftest.$ac_objext
2480 CC=$ac_save_CC
2481
2482 fi
2483
2484 case "x$ac_cv_prog_cc_stdc" in
2485   x|xno)
2486     echo "$as_me:$LINENO: result: none needed" >&5
2487 echo "${ECHO_T}none needed" >&6 ;;
2488   *)
2489     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2490 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2491     CC="$CC $ac_cv_prog_cc_stdc" ;;
2492 esac
2493
2494 # Some people use a C++ compiler to compile C.  Since we use `exit',
2495 # in C++ we need to declare it.  In case someone uses the same compiler
2496 # for both compiling C and C++ we need to have the C++ compiler decide
2497 # the declaration of exit, since it's the most demanding environment.
2498 cat >conftest.$ac_ext <<_ACEOF
2499 #ifndef __cplusplus
2500   choke me
2501 #endif
2502 _ACEOF
2503 rm -f conftest.$ac_objext
2504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2505   (eval $ac_compile) 2>conftest.er1
2506   ac_status=$?
2507   grep -v '^ *+' conftest.er1 >conftest.err
2508   rm -f conftest.er1
2509   cat conftest.err >&5
2510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511   (exit $ac_status); } &&
2512          { ac_try='test -z "$ac_c_werror_flag"
2513                          || test ! -s conftest.err'
2514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2515   (eval $ac_try) 2>&5
2516   ac_status=$?
2517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518   (exit $ac_status); }; } &&
2519          { ac_try='test -s conftest.$ac_objext'
2520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2521   (eval $ac_try) 2>&5
2522   ac_status=$?
2523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524   (exit $ac_status); }; }; then
2525   for ac_declaration in \
2526    '' \
2527    'extern "C" void std::exit (int) throw (); using std::exit;' \
2528    'extern "C" void std::exit (int); using std::exit;' \
2529    'extern "C" void exit (int) throw ();' \
2530    'extern "C" void exit (int);' \
2531    'void exit (int);'
2532 do
2533   cat >conftest.$ac_ext <<_ACEOF
2534 /* confdefs.h.  */
2535 _ACEOF
2536 cat confdefs.h >>conftest.$ac_ext
2537 cat >>conftest.$ac_ext <<_ACEOF
2538 /* end confdefs.h.  */
2539 $ac_declaration
2540 #include <stdlib.h>
2541 int
2542 main ()
2543 {
2544 exit (42);
2545   ;
2546   return 0;
2547 }
2548 _ACEOF
2549 rm -f conftest.$ac_objext
2550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2551   (eval $ac_compile) 2>conftest.er1
2552   ac_status=$?
2553   grep -v '^ *+' conftest.er1 >conftest.err
2554   rm -f conftest.er1
2555   cat conftest.err >&5
2556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2557   (exit $ac_status); } &&
2558          { ac_try='test -z "$ac_c_werror_flag"
2559                          || test ! -s conftest.err'
2560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2561   (eval $ac_try) 2>&5
2562   ac_status=$?
2563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564   (exit $ac_status); }; } &&
2565          { ac_try='test -s conftest.$ac_objext'
2566   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567   (eval $ac_try) 2>&5
2568   ac_status=$?
2569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570   (exit $ac_status); }; }; then
2571   :
2572 else
2573   echo "$as_me: failed program was:" >&5
2574 sed 's/^/| /' conftest.$ac_ext >&5
2575
2576 continue
2577 fi
2578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2579   cat >conftest.$ac_ext <<_ACEOF
2580 /* confdefs.h.  */
2581 _ACEOF
2582 cat confdefs.h >>conftest.$ac_ext
2583 cat >>conftest.$ac_ext <<_ACEOF
2584 /* end confdefs.h.  */
2585 $ac_declaration
2586 int
2587 main ()
2588 {
2589 exit (42);
2590   ;
2591   return 0;
2592 }
2593 _ACEOF
2594 rm -f conftest.$ac_objext
2595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2596   (eval $ac_compile) 2>conftest.er1
2597   ac_status=$?
2598   grep -v '^ *+' conftest.er1 >conftest.err
2599   rm -f conftest.er1
2600   cat conftest.err >&5
2601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602   (exit $ac_status); } &&
2603          { ac_try='test -z "$ac_c_werror_flag"
2604                          || test ! -s conftest.err'
2605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2606   (eval $ac_try) 2>&5
2607   ac_status=$?
2608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609   (exit $ac_status); }; } &&
2610          { ac_try='test -s conftest.$ac_objext'
2611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2612   (eval $ac_try) 2>&5
2613   ac_status=$?
2614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615   (exit $ac_status); }; }; then
2616   break
2617 else
2618   echo "$as_me: failed program was:" >&5
2619 sed 's/^/| /' conftest.$ac_ext >&5
2620
2621 fi
2622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2623 done
2624 rm -f conftest*
2625 if test -n "$ac_declaration"; then
2626   echo '#ifdef __cplusplus' >>confdefs.h
2627   echo $ac_declaration      >>confdefs.h
2628   echo '#endif'             >>confdefs.h
2629 fi
2630
2631 else
2632   echo "$as_me: failed program was:" >&5
2633 sed 's/^/| /' conftest.$ac_ext >&5
2634
2635 fi
2636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2637 ac_ext=c
2638 ac_cpp='$CPP $CPPFLAGS'
2639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2642 DEPDIR="${am__leading_dot}deps"
2643
2644           ac_config_commands="$ac_config_commands depfiles"
2645
2646
2647 am_make=${MAKE-make}
2648 cat > confinc << 'END'
2649 am__doit:
2650         @echo done
2651 .PHONY: am__doit
2652 END
2653 # If we don't find an include directive, just comment out the code.
2654 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2655 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2656 am__include="#"
2657 am__quote=
2658 _am_result=none
2659 # First try GNU make style include.
2660 echo "include confinc" > confmf
2661 # We grep out `Entering directory' and `Leaving directory'
2662 # messages which can occur if `w' ends up in MAKEFLAGS.
2663 # In particular we don't look at `^make:' because GNU make might
2664 # be invoked under some other name (usually "gmake"), in which
2665 # case it prints its new name instead of `make'.
2666 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2667    am__include=include
2668    am__quote=
2669    _am_result=GNU
2670 fi
2671 # Now try BSD make style include.
2672 if test "$am__include" = "#"; then
2673    echo '.include "confinc"' > confmf
2674    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2675       am__include=.include
2676       am__quote="\""
2677       _am_result=BSD
2678    fi
2679 fi
2680
2681
2682 echo "$as_me:$LINENO: result: $_am_result" >&5
2683 echo "${ECHO_T}$_am_result" >&6
2684 rm -f confinc confmf
2685
2686 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2687 if test "${enable_dependency_tracking+set}" = set; then
2688   enableval="$enable_dependency_tracking"
2689
2690 fi;
2691 if test "x$enable_dependency_tracking" != xno; then
2692   am_depcomp="$ac_aux_dir/depcomp"
2693   AMDEPBACKSLASH='\'
2694 fi
2695
2696
2697 if test "x$enable_dependency_tracking" != xno; then
2698   AMDEP_TRUE=
2699   AMDEP_FALSE='#'
2700 else
2701   AMDEP_TRUE='#'
2702   AMDEP_FALSE=
2703 fi
2704
2705
2706
2707
2708 depcc="$CC"   am_compiler_list=
2709
2710 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2711 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2712 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2713   echo $ECHO_N "(cached) $ECHO_C" >&6
2714 else
2715   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2716   # We make a subdir and do the tests there.  Otherwise we can end up
2717   # making bogus files that we don't know about and never remove.  For
2718   # instance it was reported that on HP-UX the gcc test will end up
2719   # making a dummy file named `D' -- because `-MD' means `put the output
2720   # in D'.
2721   mkdir conftest.dir
2722   # Copy depcomp to subdir because otherwise we won't find it if we're
2723   # using a relative directory.
2724   cp "$am_depcomp" conftest.dir
2725   cd conftest.dir
2726   # We will build objects and dependencies in a subdirectory because
2727   # it helps to detect inapplicable dependency modes.  For instance
2728   # both Tru64's cc and ICC support -MD to output dependencies as a
2729   # side effect of compilation, but ICC will put the dependencies in
2730   # the current directory while Tru64 will put them in the object
2731   # directory.
2732   mkdir sub
2733
2734   am_cv_CC_dependencies_compiler_type=none
2735   if test "$am_compiler_list" = ""; then
2736      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2737   fi
2738   for depmode in $am_compiler_list; do
2739     # Setup a source with many dependencies, because some compilers
2740     # like to wrap large dependency lists on column 80 (with \), and
2741     # we should not choose a depcomp mode which is confused by this.
2742     #
2743     # We need to recreate these files for each test, as the compiler may
2744     # overwrite some of them when testing with obscure command lines.
2745     # This happens at least with the AIX C compiler.
2746     : > sub/conftest.c
2747     for i in 1 2 3 4 5 6; do
2748       echo '#include "conftst'$i'.h"' >> sub/conftest.c
2749       : > sub/conftst$i.h
2750     done
2751     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2752
2753     case $depmode in
2754     nosideeffect)
2755       # after this tag, mechanisms are not by side-effect, so they'll
2756       # only be used when explicitly requested
2757       if test "x$enable_dependency_tracking" = xyes; then
2758         continue
2759       else
2760         break
2761       fi
2762       ;;
2763     none) break ;;
2764     esac
2765     # We check with `-c' and `-o' for the sake of the "dashmstdout"
2766     # mode.  It turns out that the SunPro C++ compiler does not properly
2767     # handle `-M -o', and we need to detect this.
2768     if depmode=$depmode \
2769        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2770        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2771        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2772          >/dev/null 2>conftest.err &&
2773        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2774        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2775        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2776       # icc doesn't choke on unknown options, it will just issue warnings
2777       # (even with -Werror).  So we grep stderr for any message
2778       # that says an option was ignored.
2779       if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2780         am_cv_CC_dependencies_compiler_type=$depmode
2781         break
2782       fi
2783     fi
2784   done
2785
2786   cd ..
2787   rm -rf conftest.dir
2788 else
2789   am_cv_CC_dependencies_compiler_type=none
2790 fi
2791
2792 fi
2793 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2794 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2795 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2796
2797
2798
2799 if
2800   test "x$enable_dependency_tracking" != xno \
2801   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2802   am__fastdepCC_TRUE=
2803   am__fastdepCC_FALSE='#'
2804 else
2805   am__fastdepCC_TRUE='#'
2806   am__fastdepCC_FALSE=
2807 fi
2808
2809
2810 # Find a good install program.  We prefer a C program (faster),
2811 # so one script is as good as another.  But avoid the broken or
2812 # incompatible versions:
2813 # SysV /etc/install, /usr/sbin/install
2814 # SunOS /usr/etc/install
2815 # IRIX /sbin/install
2816 # AIX /bin/install
2817 # AmigaOS /C/install, which installs bootblocks on floppy discs
2818 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2819 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2820 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2821 # OS/2's system install, which has a completely different semantic
2822 # ./install, which can be erroneously created by make from ./install.sh.
2823 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2824 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2825 if test -z "$INSTALL"; then
2826 if test "${ac_cv_path_install+set}" = set; then
2827   echo $ECHO_N "(cached) $ECHO_C" >&6
2828 else
2829   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2830 for as_dir in $PATH
2831 do
2832   IFS=$as_save_IFS
2833   test -z "$as_dir" && as_dir=.
2834   # Account for people who put trailing slashes in PATH elements.
2835 case $as_dir/ in
2836   ./ | .// | /cC/* | \
2837   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2838   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2839   /usr/ucb/* ) ;;
2840   *)
2841     # OSF1 and SCO ODT 3.0 have their own names for install.
2842     # Don't use installbsd from OSF since it installs stuff as root
2843     # by default.
2844     for ac_prog in ginstall scoinst install; do
2845       for ac_exec_ext in '' $ac_executable_extensions; do
2846         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2847           if test $ac_prog = install &&
2848             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2849             # AIX install.  It has an incompatible calling convention.
2850             :
2851           elif test $ac_prog = install &&
2852             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2853             # program-specific install script used by HP pwplus--don't use.
2854             :
2855           else
2856             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2857             break 3
2858           fi
2859         fi
2860       done
2861     done
2862     ;;
2863 esac
2864 done
2865
2866
2867 fi
2868   if test "${ac_cv_path_install+set}" = set; then
2869     INSTALL=$ac_cv_path_install
2870   else
2871     # As a last resort, use the slow shell script.  We don't cache a
2872     # path for INSTALL within a source directory, because that will
2873     # break other packages using the cache if that directory is
2874     # removed, or if the path is relative.
2875     INSTALL=$ac_install_sh
2876   fi
2877 fi
2878 echo "$as_me:$LINENO: result: $INSTALL" >&5
2879 echo "${ECHO_T}$INSTALL" >&6
2880
2881 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2882 # It thinks the first close brace ends the variable substitution.
2883 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2884
2885 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2886
2887 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2888
2889 # Extract the first word of "rm", so it can be a program name with args.
2890 set dummy rm; ac_word=$2
2891 echo "$as_me:$LINENO: checking for $ac_word" >&5
2892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2893 if test "${ac_cv_path_RM+set}" = set; then
2894   echo $ECHO_N "(cached) $ECHO_C" >&6
2895 else
2896   case $RM in
2897   [\\/]* | ?:[\\/]*)
2898   ac_cv_path_RM="$RM" # Let the user override the test with a path.
2899   ;;
2900   *)
2901   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2902 as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
2903 for as_dir in $as_dummy
2904 do
2905   IFS=$as_save_IFS
2906   test -z "$as_dir" && as_dir=.
2907   for ac_exec_ext in '' $ac_executable_extensions; do
2908   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2909     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
2910     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2911     break 2
2912   fi
2913 done
2914 done
2915
2916   test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
2917   ;;
2918 esac
2919 fi
2920 RM=$ac_cv_path_RM
2921
2922 if test -n "$RM"; then
2923   echo "$as_me:$LINENO: result: $RM" >&5
2924 echo "${ECHO_T}$RM" >&6
2925 else
2926   echo "$as_me:$LINENO: result: no" >&5
2927 echo "${ECHO_T}no" >&6
2928 fi
2929
2930 # Extract the first word of "cp", so it can be a program name with args.
2931 set dummy cp; ac_word=$2
2932 echo "$as_me:$LINENO: checking for $ac_word" >&5
2933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2934 if test "${ac_cv_path_CP+set}" = set; then
2935   echo $ECHO_N "(cached) $ECHO_C" >&6
2936 else
2937   case $CP in
2938   [\\/]* | ?:[\\/]*)
2939   ac_cv_path_CP="$CP" # Let the user override the test with a path.
2940   ;;
2941   *)
2942   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
2944 for as_dir in $as_dummy
2945 do
2946   IFS=$as_save_IFS
2947   test -z "$as_dir" && as_dir=.
2948   for ac_exec_ext in '' $ac_executable_extensions; do
2949   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2950     ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
2951     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2952     break 2
2953   fi
2954 done
2955 done
2956
2957   test -z "$ac_cv_path_CP" && ac_cv_path_CP="/bin/cp"
2958   ;;
2959 esac
2960 fi
2961 CP=$ac_cv_path_CP
2962
2963 if test -n "$CP"; then
2964   echo "$as_me:$LINENO: result: $CP" >&5
2965 echo "${ECHO_T}$CP" >&6
2966 else
2967   echo "$as_me:$LINENO: result: no" >&5
2968 echo "${ECHO_T}no" >&6
2969 fi
2970
2971 # Extract the first word of "strip", so it can be a program name with args.
2972 set dummy strip; ac_word=$2
2973 echo "$as_me:$LINENO: checking for $ac_word" >&5
2974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2975 if test "${ac_cv_path_STRIP+set}" = set; then
2976   echo $ECHO_N "(cached) $ECHO_C" >&6
2977 else
2978   case $STRIP in
2979   [\\/]* | ?:[\\/]*)
2980   ac_cv_path_STRIP="$STRIP" # Let the user override the test with a path.
2981   ;;
2982   *)
2983   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984 as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
2985 for as_dir in $as_dummy
2986 do
2987   IFS=$as_save_IFS
2988   test -z "$as_dir" && as_dir=.
2989   for ac_exec_ext in '' $ac_executable_extensions; do
2990   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2991     ac_cv_path_STRIP="$as_dir/$ac_word$ac_exec_ext"
2992     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2993     break 2
2994   fi
2995 done
2996 done
2997
2998   test -z "$ac_cv_path_STRIP" && ac_cv_path_STRIP="/usr/bin/strip"
2999   ;;
3000 esac
3001 fi
3002 STRIP=$ac_cv_path_STRIP
3003
3004 if test -n "$STRIP"; then
3005   echo "$as_me:$LINENO: result: $STRIP" >&5
3006 echo "${ECHO_T}$STRIP" >&6
3007 else
3008   echo "$as_me:$LINENO: result: no" >&5
3009 echo "${ECHO_T}no" >&6
3010 fi
3011
3012 # Extract the first word of "chmod", so it can be a program name with args.
3013 set dummy chmod; ac_word=$2
3014 echo "$as_me:$LINENO: checking for $ac_word" >&5
3015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3016 if test "${ac_cv_path_CHMOD+set}" = set; then
3017   echo $ECHO_N "(cached) $ECHO_C" >&6
3018 else
3019   case $CHMOD in
3020   [\\/]* | ?:[\\/]*)
3021   ac_cv_path_CHMOD="$CHMOD" # Let the user override the test with a path.
3022   ;;
3023   *)
3024   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 as_dummy="$PATH:/bin:/usr/bin:/usr/local/bin"
3026 for as_dir in $as_dummy
3027 do
3028   IFS=$as_save_IFS
3029   test -z "$as_dir" && as_dir=.
3030   for ac_exec_ext in '' $ac_executable_extensions; do
3031   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3032     ac_cv_path_CHMOD="$as_dir/$ac_word$ac_exec_ext"
3033     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3034     break 2
3035   fi
3036 done
3037 done
3038
3039   test -z "$ac_cv_path_CHMOD" && ac_cv_path_CHMOD="/bin/chmod"
3040   ;;
3041 esac
3042 fi
3043 CHMOD=$ac_cv_path_CHMOD
3044
3045 if test -n "$CHMOD"; then
3046   echo "$as_me:$LINENO: result: $CHMOD" >&5
3047 echo "${ECHO_T}$CHMOD" >&6
3048 else
3049   echo "$as_me:$LINENO: result: no" >&5
3050 echo "${ECHO_T}no" >&6
3051 fi
3052
3053
3054
3055 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3056 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3057     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3058 if test "${enable_maintainer_mode+set}" = set; then
3059   enableval="$enable_maintainer_mode"
3060   USE_MAINTAINER_MODE=$enableval
3061 else
3062   USE_MAINTAINER_MODE=no
3063 fi;
3064   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3065 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3066
3067
3068 if test $USE_MAINTAINER_MODE = yes; then
3069   MAINTAINER_MODE_TRUE=
3070   MAINTAINER_MODE_FALSE='#'
3071 else
3072   MAINTAINER_MODE_TRUE='#'
3073   MAINTAINER_MODE_FALSE=
3074 fi
3075
3076   MAINT=$MAINTAINER_MODE_TRUE
3077
3078
3079
3080 if test "$GCC" = yes; then
3081   fastjar_warn_cflags='-W -Wall -pedantic -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings'
3082 fi
3083
3084
3085
3086
3087
3088
3089
3090
3091 ac_header_dirent=no
3092 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3093   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3094 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
3095 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
3096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3097   echo $ECHO_N "(cached) $ECHO_C" >&6
3098 else
3099   cat >conftest.$ac_ext <<_ACEOF
3100 /* confdefs.h.  */
3101 _ACEOF
3102 cat confdefs.h >>conftest.$ac_ext
3103 cat >>conftest.$ac_ext <<_ACEOF
3104 /* end confdefs.h.  */
3105 #include <sys/types.h>
3106 #include <$ac_hdr>
3107
3108 int
3109 main ()
3110 {
3111 if ((DIR *) 0)
3112 return 0;
3113   ;
3114   return 0;
3115 }
3116 _ACEOF
3117 rm -f conftest.$ac_objext
3118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3119   (eval $ac_compile) 2>conftest.er1
3120   ac_status=$?
3121   grep -v '^ *+' conftest.er1 >conftest.err
3122   rm -f conftest.er1
3123   cat conftest.err >&5
3124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125   (exit $ac_status); } &&
3126          { ac_try='test -z "$ac_c_werror_flag"
3127                          || test ! -s conftest.err'
3128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3129   (eval $ac_try) 2>&5
3130   ac_status=$?
3131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132   (exit $ac_status); }; } &&
3133          { ac_try='test -s conftest.$ac_objext'
3134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3135   (eval $ac_try) 2>&5
3136   ac_status=$?
3137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138   (exit $ac_status); }; }; then
3139   eval "$as_ac_Header=yes"
3140 else
3141   echo "$as_me: failed program was:" >&5
3142 sed 's/^/| /' conftest.$ac_ext >&5
3143
3144 eval "$as_ac_Header=no"
3145 fi
3146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3147 fi
3148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3149 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3151   cat >>confdefs.h <<_ACEOF
3152 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3153 _ACEOF
3154
3155 ac_header_dirent=$ac_hdr; break
3156 fi
3157
3158 done
3159 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3160 if test $ac_header_dirent = dirent.h; then
3161   echo "$as_me:$LINENO: checking for library containing opendir" >&5
3162 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3163 if test "${ac_cv_search_opendir+set}" = set; then
3164   echo $ECHO_N "(cached) $ECHO_C" >&6
3165 else
3166   ac_func_search_save_LIBS=$LIBS
3167 ac_cv_search_opendir=no
3168 cat >conftest.$ac_ext <<_ACEOF
3169 /* confdefs.h.  */
3170 _ACEOF
3171 cat confdefs.h >>conftest.$ac_ext
3172 cat >>conftest.$ac_ext <<_ACEOF
3173 /* end confdefs.h.  */
3174
3175 /* Override any gcc2 internal prototype to avoid an error.  */
3176 #ifdef __cplusplus
3177 extern "C"
3178 #endif
3179 /* We use char because int might match the return type of a gcc2
3180    builtin and then its argument prototype would still apply.  */
3181 char opendir ();
3182 int
3183 main ()
3184 {
3185 opendir ();
3186   ;
3187   return 0;
3188 }
3189 _ACEOF
3190 rm -f conftest.$ac_objext conftest$ac_exeext
3191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3192   (eval $ac_link) 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_exeext'
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   ac_cv_search_opendir="none required"
3213 else
3214   echo "$as_me: failed program was:" >&5
3215 sed 's/^/| /' conftest.$ac_ext >&5
3216
3217 fi
3218 rm -f conftest.err conftest.$ac_objext \
3219       conftest$ac_exeext conftest.$ac_ext
3220 if test "$ac_cv_search_opendir" = no; then
3221   for ac_lib in dir; do
3222     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3223     cat >conftest.$ac_ext <<_ACEOF
3224 /* confdefs.h.  */
3225 _ACEOF
3226 cat confdefs.h >>conftest.$ac_ext
3227 cat >>conftest.$ac_ext <<_ACEOF
3228 /* end confdefs.h.  */
3229
3230 /* Override any gcc2 internal prototype to avoid an error.  */
3231 #ifdef __cplusplus
3232 extern "C"
3233 #endif
3234 /* We use char because int might match the return type of a gcc2
3235    builtin and then its argument prototype would still apply.  */
3236 char opendir ();
3237 int
3238 main ()
3239 {
3240 opendir ();
3241   ;
3242   return 0;
3243 }
3244 _ACEOF
3245 rm -f conftest.$ac_objext conftest$ac_exeext
3246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3247   (eval $ac_link) 2>conftest.er1
3248   ac_status=$?
3249   grep -v '^ *+' conftest.er1 >conftest.err
3250   rm -f conftest.er1
3251   cat conftest.err >&5
3252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253   (exit $ac_status); } &&
3254          { ac_try='test -z "$ac_c_werror_flag"
3255                          || test ! -s conftest.err'
3256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3257   (eval $ac_try) 2>&5
3258   ac_status=$?
3259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260   (exit $ac_status); }; } &&
3261          { ac_try='test -s conftest$ac_exeext'
3262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3263   (eval $ac_try) 2>&5
3264   ac_status=$?
3265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266   (exit $ac_status); }; }; then
3267   ac_cv_search_opendir="-l$ac_lib"
3268 break
3269 else
3270   echo "$as_me: failed program was:" >&5
3271 sed 's/^/| /' conftest.$ac_ext >&5
3272
3273 fi
3274 rm -f conftest.err conftest.$ac_objext \
3275       conftest$ac_exeext conftest.$ac_ext
3276   done
3277 fi
3278 LIBS=$ac_func_search_save_LIBS
3279 fi
3280 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3281 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3282 if test "$ac_cv_search_opendir" != no; then
3283   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
3284
3285 fi
3286
3287 else
3288   echo "$as_me:$LINENO: checking for library containing opendir" >&5
3289 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
3290 if test "${ac_cv_search_opendir+set}" = set; then
3291   echo $ECHO_N "(cached) $ECHO_C" >&6
3292 else
3293   ac_func_search_save_LIBS=$LIBS
3294 ac_cv_search_opendir=no
3295 cat >conftest.$ac_ext <<_ACEOF
3296 /* confdefs.h.  */
3297 _ACEOF
3298 cat confdefs.h >>conftest.$ac_ext
3299 cat >>conftest.$ac_ext <<_ACEOF
3300 /* end confdefs.h.  */
3301
3302 /* Override any gcc2 internal prototype to avoid an error.  */
3303 #ifdef __cplusplus
3304 extern "C"
3305 #endif
3306 /* We use char because int might match the return type of a gcc2
3307    builtin and then its argument prototype would still apply.  */
3308 char opendir ();
3309 int
3310 main ()
3311 {
3312 opendir ();
3313   ;
3314   return 0;
3315 }
3316 _ACEOF
3317 rm -f conftest.$ac_objext conftest$ac_exeext
3318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3319   (eval $ac_link) 2>conftest.er1
3320   ac_status=$?
3321   grep -v '^ *+' conftest.er1 >conftest.err
3322   rm -f conftest.er1
3323   cat conftest.err >&5
3324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325   (exit $ac_status); } &&
3326          { ac_try='test -z "$ac_c_werror_flag"
3327                          || test ! -s conftest.err'
3328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3329   (eval $ac_try) 2>&5
3330   ac_status=$?
3331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332   (exit $ac_status); }; } &&
3333          { ac_try='test -s conftest$ac_exeext'
3334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3335   (eval $ac_try) 2>&5
3336   ac_status=$?
3337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3338   (exit $ac_status); }; }; then
3339   ac_cv_search_opendir="none required"
3340 else
3341   echo "$as_me: failed program was:" >&5
3342 sed 's/^/| /' conftest.$ac_ext >&5
3343
3344 fi
3345 rm -f conftest.err conftest.$ac_objext \
3346       conftest$ac_exeext conftest.$ac_ext
3347 if test "$ac_cv_search_opendir" = no; then
3348   for ac_lib in x; do
3349     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3350     cat >conftest.$ac_ext <<_ACEOF
3351 /* confdefs.h.  */
3352 _ACEOF
3353 cat confdefs.h >>conftest.$ac_ext
3354 cat >>conftest.$ac_ext <<_ACEOF
3355 /* end confdefs.h.  */
3356
3357 /* Override any gcc2 internal prototype to avoid an error.  */
3358 #ifdef __cplusplus
3359 extern "C"
3360 #endif
3361 /* We use char because int might match the return type of a gcc2
3362    builtin and then its argument prototype would still apply.  */
3363 char opendir ();
3364 int
3365 main ()
3366 {
3367 opendir ();
3368   ;
3369   return 0;
3370 }
3371 _ACEOF
3372 rm -f conftest.$ac_objext conftest$ac_exeext
3373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3374   (eval $ac_link) 2>conftest.er1
3375   ac_status=$?
3376   grep -v '^ *+' conftest.er1 >conftest.err
3377   rm -f conftest.er1
3378   cat conftest.err >&5
3379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380   (exit $ac_status); } &&
3381          { ac_try='test -z "$ac_c_werror_flag"
3382                          || test ! -s conftest.err'
3383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3384   (eval $ac_try) 2>&5
3385   ac_status=$?
3386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387   (exit $ac_status); }; } &&
3388          { ac_try='test -s conftest$ac_exeext'
3389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3390   (eval $ac_try) 2>&5
3391   ac_status=$?
3392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393   (exit $ac_status); }; }; then
3394   ac_cv_search_opendir="-l$ac_lib"
3395 break
3396 else
3397   echo "$as_me: failed program was:" >&5
3398 sed 's/^/| /' conftest.$ac_ext >&5
3399
3400 fi
3401 rm -f conftest.err conftest.$ac_objext \
3402       conftest$ac_exeext conftest.$ac_ext
3403   done
3404 fi
3405 LIBS=$ac_func_search_save_LIBS
3406 fi
3407 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
3408 echo "${ECHO_T}$ac_cv_search_opendir" >&6
3409 if test "$ac_cv_search_opendir" != no; then
3410   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
3411
3412 fi
3413
3414 fi
3415
3416 ac_ext=c
3417 ac_cpp='$CPP $CPPFLAGS'
3418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3421 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3422 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3423 # On Suns, sometimes $CPP names a directory.
3424 if test -n "$CPP" && test -d "$CPP"; then
3425   CPP=
3426 fi
3427 if test -z "$CPP"; then
3428   if test "${ac_cv_prog_CPP+set}" = set; then
3429   echo $ECHO_N "(cached) $ECHO_C" >&6
3430 else
3431       # Double quotes because CPP needs to be expanded
3432     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3433     do
3434       ac_preproc_ok=false
3435 for ac_c_preproc_warn_flag in '' yes
3436 do
3437   # Use a header file that comes with gcc, so configuring glibc
3438   # with a fresh cross-compiler works.
3439   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3440   # <limits.h> exists even on freestanding compilers.
3441   # On the NeXT, cc -E runs the code through the compiler's parser,
3442   # not just through cpp. "Syntax error" is here to catch this case.
3443   cat >conftest.$ac_ext <<_ACEOF
3444 /* confdefs.h.  */
3445 _ACEOF
3446 cat confdefs.h >>conftest.$ac_ext
3447 cat >>conftest.$ac_ext <<_ACEOF
3448 /* end confdefs.h.  */
3449 #ifdef __STDC__
3450 # include <limits.h>
3451 #else
3452 # include <assert.h>
3453 #endif
3454                      Syntax error
3455 _ACEOF
3456 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3457   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3458   ac_status=$?
3459   grep -v '^ *+' conftest.er1 >conftest.err
3460   rm -f conftest.er1
3461   cat conftest.err >&5
3462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463   (exit $ac_status); } >/dev/null; then
3464   if test -s conftest.err; then
3465     ac_cpp_err=$ac_c_preproc_warn_flag
3466     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3467   else
3468     ac_cpp_err=
3469   fi
3470 else
3471   ac_cpp_err=yes
3472 fi
3473 if test -z "$ac_cpp_err"; then
3474   :
3475 else
3476   echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.$ac_ext >&5
3478
3479   # Broken: fails on valid input.
3480 continue
3481 fi
3482 rm -f conftest.err conftest.$ac_ext
3483
3484   # OK, works on sane cases.  Now check whether non-existent headers
3485   # can be detected and how.
3486   cat >conftest.$ac_ext <<_ACEOF
3487 /* confdefs.h.  */
3488 _ACEOF
3489 cat confdefs.h >>conftest.$ac_ext
3490 cat >>conftest.$ac_ext <<_ACEOF
3491 /* end confdefs.h.  */
3492 #include <ac_nonexistent.h>
3493 _ACEOF
3494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3495   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3496   ac_status=$?
3497   grep -v '^ *+' conftest.er1 >conftest.err
3498   rm -f conftest.er1
3499   cat conftest.err >&5
3500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501   (exit $ac_status); } >/dev/null; then
3502   if test -s conftest.err; then
3503     ac_cpp_err=$ac_c_preproc_warn_flag
3504     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3505   else
3506     ac_cpp_err=
3507   fi
3508 else
3509   ac_cpp_err=yes
3510 fi
3511 if test -z "$ac_cpp_err"; then
3512   # Broken: success on invalid input.
3513 continue
3514 else
3515   echo "$as_me: failed program was:" >&5
3516 sed 's/^/| /' conftest.$ac_ext >&5
3517
3518   # Passes both tests.
3519 ac_preproc_ok=:
3520 break
3521 fi
3522 rm -f conftest.err conftest.$ac_ext
3523
3524 done
3525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3526 rm -f conftest.err conftest.$ac_ext
3527 if $ac_preproc_ok; then
3528   break
3529 fi
3530
3531     done
3532     ac_cv_prog_CPP=$CPP
3533
3534 fi
3535   CPP=$ac_cv_prog_CPP
3536 else
3537   ac_cv_prog_CPP=$CPP
3538 fi
3539 echo "$as_me:$LINENO: result: $CPP" >&5
3540 echo "${ECHO_T}$CPP" >&6
3541 ac_preproc_ok=false
3542 for ac_c_preproc_warn_flag in '' yes
3543 do
3544   # Use a header file that comes with gcc, so configuring glibc
3545   # with a fresh cross-compiler works.
3546   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3547   # <limits.h> exists even on freestanding compilers.
3548   # On the NeXT, cc -E runs the code through the compiler's parser,
3549   # not just through cpp. "Syntax error" is here to catch this case.
3550   cat >conftest.$ac_ext <<_ACEOF
3551 /* confdefs.h.  */
3552 _ACEOF
3553 cat confdefs.h >>conftest.$ac_ext
3554 cat >>conftest.$ac_ext <<_ACEOF
3555 /* end confdefs.h.  */
3556 #ifdef __STDC__
3557 # include <limits.h>
3558 #else
3559 # include <assert.h>
3560 #endif
3561                      Syntax error
3562 _ACEOF
3563 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3564   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3565   ac_status=$?
3566   grep -v '^ *+' conftest.er1 >conftest.err
3567   rm -f conftest.er1
3568   cat conftest.err >&5
3569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3570   (exit $ac_status); } >/dev/null; then
3571   if test -s conftest.err; then
3572     ac_cpp_err=$ac_c_preproc_warn_flag
3573     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3574   else
3575     ac_cpp_err=
3576   fi
3577 else
3578   ac_cpp_err=yes
3579 fi
3580 if test -z "$ac_cpp_err"; then
3581   :
3582 else
3583   echo "$as_me: failed program was:" >&5
3584 sed 's/^/| /' conftest.$ac_ext >&5
3585
3586   # Broken: fails on valid input.
3587 continue
3588 fi
3589 rm -f conftest.err conftest.$ac_ext
3590
3591   # OK, works on sane cases.  Now check whether non-existent headers
3592   # can be detected and how.
3593   cat >conftest.$ac_ext <<_ACEOF
3594 /* confdefs.h.  */
3595 _ACEOF
3596 cat confdefs.h >>conftest.$ac_ext
3597 cat >>conftest.$ac_ext <<_ACEOF
3598 /* end confdefs.h.  */
3599 #include <ac_nonexistent.h>
3600 _ACEOF
3601 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3602   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3603   ac_status=$?
3604   grep -v '^ *+' conftest.er1 >conftest.err
3605   rm -f conftest.er1
3606   cat conftest.err >&5
3607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608   (exit $ac_status); } >/dev/null; then
3609   if test -s conftest.err; then
3610     ac_cpp_err=$ac_c_preproc_warn_flag
3611     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3612   else
3613     ac_cpp_err=
3614   fi
3615 else
3616   ac_cpp_err=yes
3617 fi
3618 if test -z "$ac_cpp_err"; then
3619   # Broken: success on invalid input.
3620 continue
3621 else
3622   echo "$as_me: failed program was:" >&5
3623 sed 's/^/| /' conftest.$ac_ext >&5
3624
3625   # Passes both tests.
3626 ac_preproc_ok=:
3627 break
3628 fi
3629 rm -f conftest.err conftest.$ac_ext
3630
3631 done
3632 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3633 rm -f conftest.err conftest.$ac_ext
3634 if $ac_preproc_ok; then
3635   :
3636 else
3637   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3638 See \`config.log' for more details." >&5
3639 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3640 See \`config.log' for more details." >&2;}
3641    { (exit 1); exit 1; }; }
3642 fi
3643
3644 ac_ext=c
3645 ac_cpp='$CPP $CPPFLAGS'
3646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3649
3650
3651 echo "$as_me:$LINENO: checking for egrep" >&5
3652 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3653 if test "${ac_cv_prog_egrep+set}" = set; then
3654   echo $ECHO_N "(cached) $ECHO_C" >&6
3655 else
3656   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3657     then ac_cv_prog_egrep='grep -E'
3658     else ac_cv_prog_egrep='egrep'
3659     fi
3660 fi
3661 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3662 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3663  EGREP=$ac_cv_prog_egrep
3664
3665
3666 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3667 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3668 if test "${ac_cv_header_stdc+set}" = set; then
3669   echo $ECHO_N "(cached) $ECHO_C" >&6
3670 else
3671   cat >conftest.$ac_ext <<_ACEOF
3672 /* confdefs.h.  */
3673 _ACEOF
3674 cat confdefs.h >>conftest.$ac_ext
3675 cat >>conftest.$ac_ext <<_ACEOF
3676 /* end confdefs.h.  */
3677 #include <stdlib.h>
3678 #include <stdarg.h>
3679 #include <string.h>
3680 #include <float.h>
3681
3682 int
3683 main ()
3684 {
3685
3686   ;
3687   return 0;
3688 }
3689 _ACEOF
3690 rm -f conftest.$ac_objext
3691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3692   (eval $ac_compile) 2>conftest.er1
3693   ac_status=$?
3694   grep -v '^ *+' conftest.er1 >conftest.err
3695   rm -f conftest.er1
3696   cat conftest.err >&5
3697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698   (exit $ac_status); } &&
3699          { ac_try='test -z "$ac_c_werror_flag"
3700                          || test ! -s conftest.err'
3701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702   (eval $ac_try) 2>&5
3703   ac_status=$?
3704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705   (exit $ac_status); }; } &&
3706          { ac_try='test -s conftest.$ac_objext'
3707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3708   (eval $ac_try) 2>&5
3709   ac_status=$?
3710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711   (exit $ac_status); }; }; then
3712   ac_cv_header_stdc=yes
3713 else
3714   echo "$as_me: failed program was:" >&5
3715 sed 's/^/| /' conftest.$ac_ext >&5
3716
3717 ac_cv_header_stdc=no
3718 fi
3719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3720
3721 if test $ac_cv_header_stdc = yes; then
3722   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3723   cat >conftest.$ac_ext <<_ACEOF
3724 /* confdefs.h.  */
3725 _ACEOF
3726 cat confdefs.h >>conftest.$ac_ext
3727 cat >>conftest.$ac_ext <<_ACEOF
3728 /* end confdefs.h.  */
3729 #include <string.h>
3730
3731 _ACEOF
3732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3733   $EGREP "memchr" >/dev/null 2>&1; then
3734   :
3735 else
3736   ac_cv_header_stdc=no
3737 fi
3738 rm -f conftest*
3739
3740 fi
3741
3742 if test $ac_cv_header_stdc = yes; then
3743   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3744   cat >conftest.$ac_ext <<_ACEOF
3745 /* confdefs.h.  */
3746 _ACEOF
3747 cat confdefs.h >>conftest.$ac_ext
3748 cat >>conftest.$ac_ext <<_ACEOF
3749 /* end confdefs.h.  */
3750 #include <stdlib.h>
3751
3752 _ACEOF
3753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3754   $EGREP "free" >/dev/null 2>&1; then
3755   :
3756 else
3757   ac_cv_header_stdc=no
3758 fi
3759 rm -f conftest*
3760
3761 fi
3762
3763 if test $ac_cv_header_stdc = yes; then
3764   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3765   if test "$cross_compiling" = yes; then
3766   :
3767 else
3768   cat >conftest.$ac_ext <<_ACEOF
3769 /* confdefs.h.  */
3770 _ACEOF
3771 cat confdefs.h >>conftest.$ac_ext
3772 cat >>conftest.$ac_ext <<_ACEOF
3773 /* end confdefs.h.  */
3774 #include <ctype.h>
3775 #if ((' ' & 0x0FF) == 0x020)
3776 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3777 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3778 #else
3779 # define ISLOWER(c) \
3780                    (('a' <= (c) && (c) <= 'i') \
3781                      || ('j' <= (c) && (c) <= 'r') \
3782                      || ('s' <= (c) && (c) <= 'z'))
3783 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3784 #endif
3785
3786 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3787 int
3788 main ()
3789 {
3790   int i;
3791   for (i = 0; i < 256; i++)
3792     if (XOR (islower (i), ISLOWER (i))
3793         || toupper (i) != TOUPPER (i))
3794       exit(2);
3795   exit (0);
3796 }
3797 _ACEOF
3798 rm -f conftest$ac_exeext
3799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3800   (eval $ac_link) 2>&5
3801   ac_status=$?
3802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3805   (eval $ac_try) 2>&5
3806   ac_status=$?
3807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808   (exit $ac_status); }; }; then
3809   :
3810 else
3811   echo "$as_me: program exited with status $ac_status" >&5
3812 echo "$as_me: failed program was:" >&5
3813 sed 's/^/| /' conftest.$ac_ext >&5
3814
3815 ( exit $ac_status )
3816 ac_cv_header_stdc=no
3817 fi
3818 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3819 fi
3820 fi
3821 fi
3822 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3823 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3824 if test $ac_cv_header_stdc = yes; then
3825
3826 cat >>confdefs.h <<\_ACEOF
3827 #define STDC_HEADERS 1
3828 _ACEOF
3829
3830 fi
3831
3832 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
3833 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3834 if test "${ac_cv_struct_tm+set}" = set; then
3835   echo $ECHO_N "(cached) $ECHO_C" >&6
3836 else
3837   cat >conftest.$ac_ext <<_ACEOF
3838 /* confdefs.h.  */
3839 _ACEOF
3840 cat confdefs.h >>conftest.$ac_ext
3841 cat >>conftest.$ac_ext <<_ACEOF
3842 /* end confdefs.h.  */
3843 #include <sys/types.h>
3844 #include <time.h>
3845
3846 int
3847 main ()
3848 {
3849 struct tm *tp; tp->tm_sec;
3850   ;
3851   return 0;
3852 }
3853 _ACEOF
3854 rm -f conftest.$ac_objext
3855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3856   (eval $ac_compile) 2>conftest.er1
3857   ac_status=$?
3858   grep -v '^ *+' conftest.er1 >conftest.err
3859   rm -f conftest.er1
3860   cat conftest.err >&5
3861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862   (exit $ac_status); } &&
3863          { ac_try='test -z "$ac_c_werror_flag"
3864                          || test ! -s conftest.err'
3865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866   (eval $ac_try) 2>&5
3867   ac_status=$?
3868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869   (exit $ac_status); }; } &&
3870          { ac_try='test -s conftest.$ac_objext'
3871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3872   (eval $ac_try) 2>&5
3873   ac_status=$?
3874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875   (exit $ac_status); }; }; then
3876   ac_cv_struct_tm=time.h
3877 else
3878   echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.$ac_ext >&5
3880
3881 ac_cv_struct_tm=sys/time.h
3882 fi
3883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3884 fi
3885 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
3886 echo "${ECHO_T}$ac_cv_struct_tm" >&6
3887 if test $ac_cv_struct_tm = sys/time.h; then
3888
3889 cat >>confdefs.h <<\_ACEOF
3890 #define TM_IN_SYS_TIME 1
3891 _ACEOF
3892
3893 fi
3894
3895 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3906                   inttypes.h stdint.h unistd.h
3907 do
3908 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3909 echo "$as_me:$LINENO: checking for $ac_header" >&5
3910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3912   echo $ECHO_N "(cached) $ECHO_C" >&6
3913 else
3914   cat >conftest.$ac_ext <<_ACEOF
3915 /* confdefs.h.  */
3916 _ACEOF
3917 cat confdefs.h >>conftest.$ac_ext
3918 cat >>conftest.$ac_ext <<_ACEOF
3919 /* end confdefs.h.  */
3920 $ac_includes_default
3921
3922 #include <$ac_header>
3923 _ACEOF
3924 rm -f conftest.$ac_objext
3925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3926   (eval $ac_compile) 2>conftest.er1
3927   ac_status=$?
3928   grep -v '^ *+' conftest.er1 >conftest.err
3929   rm -f conftest.er1
3930   cat conftest.err >&5
3931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932   (exit $ac_status); } &&
3933          { ac_try='test -z "$ac_c_werror_flag"
3934                          || test ! -s conftest.err'
3935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3936   (eval $ac_try) 2>&5
3937   ac_status=$?
3938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3939   (exit $ac_status); }; } &&
3940          { ac_try='test -s conftest.$ac_objext'
3941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3942   (eval $ac_try) 2>&5
3943   ac_status=$?
3944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945   (exit $ac_status); }; }; then
3946   eval "$as_ac_Header=yes"
3947 else
3948   echo "$as_me: failed program was:" >&5
3949 sed 's/^/| /' conftest.$ac_ext >&5
3950
3951 eval "$as_ac_Header=no"
3952 fi
3953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3954 fi
3955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3958   cat >>confdefs.h <<_ACEOF
3959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3960 _ACEOF
3961
3962 fi
3963
3964 done
3965
3966
3967
3968
3969
3970
3971
3972 for ac_header in fcntl.h unistd.h sys/param.h stdlib.h limits.h
3973 do
3974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3976   echo "$as_me:$LINENO: checking for $ac_header" >&5
3977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3979   echo $ECHO_N "(cached) $ECHO_C" >&6
3980 fi
3981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3983 else
3984   # Is the header compilable?
3985 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3987 cat >conftest.$ac_ext <<_ACEOF
3988 /* confdefs.h.  */
3989 _ACEOF
3990 cat confdefs.h >>conftest.$ac_ext
3991 cat >>conftest.$ac_ext <<_ACEOF
3992 /* end confdefs.h.  */
3993 $ac_includes_default
3994 #include <$ac_header>
3995 _ACEOF
3996 rm -f conftest.$ac_objext
3997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3998   (eval $ac_compile) 2>conftest.er1
3999   ac_status=$?
4000   grep -v '^ *+' conftest.er1 >conftest.err
4001   rm -f conftest.er1
4002   cat conftest.err >&5
4003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004   (exit $ac_status); } &&
4005          { ac_try='test -z "$ac_c_werror_flag"
4006                          || test ! -s conftest.err'
4007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4008   (eval $ac_try) 2>&5
4009   ac_status=$?
4010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011   (exit $ac_status); }; } &&
4012          { ac_try='test -s conftest.$ac_objext'
4013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4014   (eval $ac_try) 2>&5
4015   ac_status=$?
4016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017   (exit $ac_status); }; }; then
4018   ac_header_compiler=yes
4019 else
4020   echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4022
4023 ac_header_compiler=no
4024 fi
4025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4026 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4027 echo "${ECHO_T}$ac_header_compiler" >&6
4028
4029 # Is the header present?
4030 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4031 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4032 cat >conftest.$ac_ext <<_ACEOF
4033 /* confdefs.h.  */
4034 _ACEOF
4035 cat confdefs.h >>conftest.$ac_ext
4036 cat >>conftest.$ac_ext <<_ACEOF
4037 /* end confdefs.h.  */
4038 #include <$ac_header>
4039 _ACEOF
4040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4041   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4042   ac_status=$?
4043   grep -v '^ *+' conftest.er1 >conftest.err
4044   rm -f conftest.er1
4045   cat conftest.err >&5
4046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047   (exit $ac_status); } >/dev/null; then
4048   if test -s conftest.err; then
4049     ac_cpp_err=$ac_c_preproc_warn_flag
4050     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4051   else
4052     ac_cpp_err=
4053   fi
4054 else
4055   ac_cpp_err=yes
4056 fi
4057 if test -z "$ac_cpp_err"; then
4058   ac_header_preproc=yes
4059 else
4060   echo "$as_me: failed program was:" >&5
4061 sed 's/^/| /' conftest.$ac_ext >&5
4062
4063   ac_header_preproc=no
4064 fi
4065 rm -f conftest.err conftest.$ac_ext
4066 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4067 echo "${ECHO_T}$ac_header_preproc" >&6
4068
4069 # So?  What about this header?
4070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4071   yes:no: )
4072     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4073 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4074     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4075 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4076     ac_header_preproc=yes
4077     ;;
4078   no:yes:* )
4079     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4081     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4082 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4083     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4084 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4085     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4086 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4087     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4089     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4091     (
4092       cat <<\_ASBOX
4093 ## ------------------------------------------ ##
4094 ## Report this to the AC_PACKAGE_NAME lists.  ##
4095 ## ------------------------------------------ ##
4096 _ASBOX
4097     ) |
4098       sed "s/^/$as_me: WARNING:     /" >&2
4099     ;;
4100 esac
4101 echo "$as_me:$LINENO: checking for $ac_header" >&5
4102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4104   echo $ECHO_N "(cached) $ECHO_C" >&6
4105 else
4106   eval "$as_ac_Header=\$ac_header_preproc"
4107 fi
4108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4110
4111 fi
4112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4113   cat >>confdefs.h <<_ACEOF
4114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4115 _ACEOF
4116
4117 fi
4118
4119 done
4120
4121
4122 echo "$as_me:$LINENO: checking for off_t" >&5
4123 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4124 if test "${ac_cv_type_off_t+set}" = set; then
4125   echo $ECHO_N "(cached) $ECHO_C" >&6
4126 else
4127   cat >conftest.$ac_ext <<_ACEOF
4128 /* confdefs.h.  */
4129 _ACEOF
4130 cat confdefs.h >>conftest.$ac_ext
4131 cat >>conftest.$ac_ext <<_ACEOF
4132 /* end confdefs.h.  */
4133 $ac_includes_default
4134 int
4135 main ()
4136 {
4137 if ((off_t *) 0)
4138   return 0;
4139 if (sizeof (off_t))
4140   return 0;
4141   ;
4142   return 0;
4143 }
4144 _ACEOF
4145 rm -f conftest.$ac_objext
4146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4147   (eval $ac_compile) 2>conftest.er1
4148   ac_status=$?
4149   grep -v '^ *+' conftest.er1 >conftest.err
4150   rm -f conftest.er1
4151   cat conftest.err >&5
4152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153   (exit $ac_status); } &&
4154          { ac_try='test -z "$ac_c_werror_flag"
4155                          || test ! -s conftest.err'
4156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4157   (eval $ac_try) 2>&5
4158   ac_status=$?
4159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160   (exit $ac_status); }; } &&
4161          { ac_try='test -s conftest.$ac_objext'
4162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4163   (eval $ac_try) 2>&5
4164   ac_status=$?
4165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4166   (exit $ac_status); }; }; then
4167   ac_cv_type_off_t=yes
4168 else
4169   echo "$as_me: failed program was:" >&5
4170 sed 's/^/| /' conftest.$ac_ext >&5
4171
4172 ac_cv_type_off_t=no
4173 fi
4174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4175 fi
4176 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4177 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4178 if test $ac_cv_type_off_t = yes; then
4179   :
4180 else
4181
4182 cat >>confdefs.h <<_ACEOF
4183 #define off_t long
4184 _ACEOF
4185
4186 fi
4187
4188 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4189 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4190 if test "${ac_cv_struct_tm+set}" = set; then
4191   echo $ECHO_N "(cached) $ECHO_C" >&6
4192 else
4193   cat >conftest.$ac_ext <<_ACEOF
4194 /* confdefs.h.  */
4195 _ACEOF
4196 cat confdefs.h >>conftest.$ac_ext
4197 cat >>conftest.$ac_ext <<_ACEOF
4198 /* end confdefs.h.  */
4199 #include <sys/types.h>
4200 #include <time.h>
4201
4202 int
4203 main ()
4204 {
4205 struct tm *tp; tp->tm_sec;
4206   ;
4207   return 0;
4208 }
4209 _ACEOF
4210 rm -f conftest.$ac_objext
4211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4212   (eval $ac_compile) 2>conftest.er1
4213   ac_status=$?
4214   grep -v '^ *+' conftest.er1 >conftest.err
4215   rm -f conftest.er1
4216   cat conftest.err >&5
4217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218   (exit $ac_status); } &&
4219          { ac_try='test -z "$ac_c_werror_flag"
4220                          || test ! -s conftest.err'
4221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4222   (eval $ac_try) 2>&5
4223   ac_status=$?
4224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225   (exit $ac_status); }; } &&
4226          { ac_try='test -s conftest.$ac_objext'
4227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4228   (eval $ac_try) 2>&5
4229   ac_status=$?
4230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231   (exit $ac_status); }; }; then
4232   ac_cv_struct_tm=time.h
4233 else
4234   echo "$as_me: failed program was:" >&5
4235 sed 's/^/| /' conftest.$ac_ext >&5
4236
4237 ac_cv_struct_tm=sys/time.h
4238 fi
4239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4240 fi
4241 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4242 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4243 if test $ac_cv_struct_tm = sys/time.h; then
4244
4245 cat >>confdefs.h <<\_ACEOF
4246 #define TM_IN_SYS_TIME 1
4247 _ACEOF
4248
4249 fi
4250
4251
4252 # mkdir takes a single argument on some systems.
4253 echo "$as_me:$LINENO: checking if mkdir takes one argument" >&5
4254 echo $ECHO_N "checking if mkdir takes one argument... $ECHO_C" >&6
4255 if test "${gcc_cv_mkdir_takes_one_arg+set}" = set; then
4256   echo $ECHO_N "(cached) $ECHO_C" >&6
4257 else
4258   cat >conftest.$ac_ext <<_ACEOF
4259 /* confdefs.h.  */
4260 _ACEOF
4261 cat confdefs.h >>conftest.$ac_ext
4262 cat >>conftest.$ac_ext <<_ACEOF
4263 /* end confdefs.h.  */
4264
4265 #include <sys/types.h>
4266 #ifdef HAVE_SYS_STAT_H
4267 # include <sys/stat.h>
4268 #endif
4269 #ifdef HAVE_UNISTD_H
4270 # include <unistd.h>
4271 #endif
4272 #ifdef HAVE_DIRECT_H
4273 # include <direct.h>
4274 #endif
4275 int
4276 main ()
4277 {
4278 mkdir ("foo", 0);
4279   ;
4280   return 0;
4281 }
4282 _ACEOF
4283 rm -f conftest.$ac_objext
4284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4285   (eval $ac_compile) 2>conftest.er1
4286   ac_status=$?
4287   grep -v '^ *+' conftest.er1 >conftest.err
4288   rm -f conftest.er1
4289   cat conftest.err >&5
4290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291   (exit $ac_status); } &&
4292          { ac_try='test -z "$ac_c_werror_flag"
4293                          || test ! -s conftest.err'
4294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4295   (eval $ac_try) 2>&5
4296   ac_status=$?
4297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4298   (exit $ac_status); }; } &&
4299          { ac_try='test -s conftest.$ac_objext'
4300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4301   (eval $ac_try) 2>&5
4302   ac_status=$?
4303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304   (exit $ac_status); }; }; then
4305   gcc_cv_mkdir_takes_one_arg=no
4306 else
4307   echo "$as_me: failed program was:" >&5
4308 sed 's/^/| /' conftest.$ac_ext >&5
4309
4310 gcc_cv_mkdir_takes_one_arg=yes
4311 fi
4312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4313 fi
4314 echo "$as_me:$LINENO: result: $gcc_cv_mkdir_takes_one_arg" >&5
4315 echo "${ECHO_T}$gcc_cv_mkdir_takes_one_arg" >&6
4316 if test $gcc_cv_mkdir_takes_one_arg = yes ; then
4317
4318 cat >>confdefs.h <<\_ACEOF
4319 #define MKDIR_TAKES_ONE_ARG 1
4320 _ACEOF
4321
4322 fi
4323
4324
4325 echo "$as_me:$LINENO: checking size of char" >&5
4326 echo $ECHO_N "checking size of char... $ECHO_C" >&6
4327 if test "${ac_cv_sizeof_char+set}" = set; then
4328   echo $ECHO_N "(cached) $ECHO_C" >&6
4329 else
4330   for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
4331   cat >conftest.$ac_ext <<_ACEOF
4332 /* confdefs.h.  */
4333 _ACEOF
4334 cat confdefs.h >>conftest.$ac_ext
4335 cat >>conftest.$ac_ext <<_ACEOF
4336 /* end confdefs.h.  */
4337 #include "confdefs.h"
4338 #include <sys/types.h>
4339
4340
4341 int
4342 main ()
4343 {
4344 switch (0) case 0: case (sizeof (char) == $ac_size):;
4345   ;
4346   return 0;
4347 }
4348 _ACEOF
4349 rm -f conftest.$ac_objext
4350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4351   (eval $ac_compile) 2>conftest.er1
4352   ac_status=$?
4353   grep -v '^ *+' conftest.er1 >conftest.err
4354   rm -f conftest.er1
4355   cat conftest.err >&5
4356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357   (exit $ac_status); } &&
4358          { ac_try='test -z "$ac_c_werror_flag"
4359                          || test ! -s conftest.err'
4360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4361   (eval $ac_try) 2>&5
4362   ac_status=$?
4363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364   (exit $ac_status); }; } &&
4365          { ac_try='test -s conftest.$ac_objext'
4366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4367   (eval $ac_try) 2>&5
4368   ac_status=$?
4369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370   (exit $ac_status); }; }; then
4371   ac_cv_sizeof_char=$ac_size
4372 else
4373   echo "$as_me: failed program was:" >&5
4374 sed 's/^/| /' conftest.$ac_ext >&5
4375
4376 fi
4377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4378   if test x$ac_cv_sizeof_char != x ; then break; fi
4379 done
4380
4381 fi
4382
4383 if test x$ac_cv_sizeof_char = x ; then
4384   { { echo "$as_me:$LINENO: error: cannot determine a size for char" >&5
4385 echo "$as_me: error: cannot determine a size for char" >&2;}
4386    { (exit 1); exit 1; }; }
4387 fi
4388 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
4389 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
4390
4391 cat >>confdefs.h <<_ACEOF
4392 #define SIZEOF_CHAR $ac_cv_sizeof_char
4393 _ACEOF
4394
4395
4396 echo "$as_me:$LINENO: checking size of short" >&5
4397 echo $ECHO_N "checking size of short... $ECHO_C" >&6
4398 if test "${ac_cv_sizeof_short+set}" = set; then
4399   echo $ECHO_N "(cached) $ECHO_C" >&6
4400 else
4401   for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
4402   cat >conftest.$ac_ext <<_ACEOF
4403 /* confdefs.h.  */
4404 _ACEOF
4405 cat confdefs.h >>conftest.$ac_ext
4406 cat >>conftest.$ac_ext <<_ACEOF
4407 /* end confdefs.h.  */
4408 #include "confdefs.h"
4409 #include <sys/types.h>
4410
4411
4412 int
4413 main ()
4414 {
4415 switch (0) case 0: case (sizeof (short) == $ac_size):;
4416   ;
4417   return 0;
4418 }
4419 _ACEOF
4420 rm -f conftest.$ac_objext
4421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4422   (eval $ac_compile) 2>conftest.er1
4423   ac_status=$?
4424   grep -v '^ *+' conftest.er1 >conftest.err
4425   rm -f conftest.er1
4426   cat conftest.err >&5
4427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428   (exit $ac_status); } &&
4429          { ac_try='test -z "$ac_c_werror_flag"
4430                          || test ! -s conftest.err'
4431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4432   (eval $ac_try) 2>&5
4433   ac_status=$?
4434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435   (exit $ac_status); }; } &&
4436          { ac_try='test -s conftest.$ac_objext'
4437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4438   (eval $ac_try) 2>&5
4439   ac_status=$?
4440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441   (exit $ac_status); }; }; then
4442   ac_cv_sizeof_short=$ac_size
4443 else
4444   echo "$as_me: failed program was:" >&5
4445 sed 's/^/| /' conftest.$ac_ext >&5
4446
4447 fi
4448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4449   if test x$ac_cv_sizeof_short != x ; then break; fi
4450 done
4451
4452 fi
4453
4454 if test x$ac_cv_sizeof_short = x ; then
4455   { { echo "$as_me:$LINENO: error: cannot determine a size for short" >&5
4456 echo "$as_me: error: cannot determine a size for short" >&2;}
4457    { (exit 1); exit 1; }; }
4458 fi
4459 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
4460 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
4461
4462 cat >>confdefs.h <<_ACEOF
4463 #define SIZEOF_SHORT $ac_cv_sizeof_short
4464 _ACEOF
4465
4466
4467 echo "$as_me:$LINENO: checking size of int" >&5
4468 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4469 if test "${ac_cv_sizeof_int+set}" = set; then
4470   echo $ECHO_N "(cached) $ECHO_C" >&6
4471 else
4472   for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
4473   cat >conftest.$ac_ext <<_ACEOF
4474 /* confdefs.h.  */
4475 _ACEOF
4476 cat confdefs.h >>conftest.$ac_ext
4477 cat >>conftest.$ac_ext <<_ACEOF
4478 /* end confdefs.h.  */
4479 #include "confdefs.h"
4480 #include <sys/types.h>
4481
4482
4483 int
4484 main ()
4485 {
4486 switch (0) case 0: case (sizeof (int) == $ac_size):;
4487   ;
4488   return 0;
4489 }
4490 _ACEOF
4491 rm -f conftest.$ac_objext
4492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4493   (eval $ac_compile) 2>conftest.er1
4494   ac_status=$?
4495   grep -v '^ *+' conftest.er1 >conftest.err
4496   rm -f conftest.er1
4497   cat conftest.err >&5
4498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499   (exit $ac_status); } &&
4500          { ac_try='test -z "$ac_c_werror_flag"
4501                          || test ! -s conftest.err'
4502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503   (eval $ac_try) 2>&5
4504   ac_status=$?
4505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506   (exit $ac_status); }; } &&
4507          { ac_try='test -s conftest.$ac_objext'
4508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4509   (eval $ac_try) 2>&5
4510   ac_status=$?
4511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512   (exit $ac_status); }; }; then
4513   ac_cv_sizeof_int=$ac_size
4514 else
4515   echo "$as_me: failed program was:" >&5
4516 sed 's/^/| /' conftest.$ac_ext >&5
4517
4518 fi
4519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4520   if test x$ac_cv_sizeof_int != x ; then break; fi
4521 done
4522
4523 fi
4524
4525 if test x$ac_cv_sizeof_int = x ; then
4526   { { echo "$as_me:$LINENO: error: cannot determine a size for int" >&5
4527 echo "$as_me: error: cannot determine a size for int" >&2;}
4528    { (exit 1); exit 1; }; }
4529 fi
4530 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4531 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4532
4533 cat >>confdefs.h <<_ACEOF
4534 #define SIZEOF_INT $ac_cv_sizeof_int
4535 _ACEOF
4536
4537
4538 echo "$as_me:$LINENO: checking size of long" >&5
4539 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4540 if test "${ac_cv_sizeof_long+set}" = set; then
4541   echo $ECHO_N "(cached) $ECHO_C" >&6
4542 else
4543   for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
4544   cat >conftest.$ac_ext <<_ACEOF
4545 /* confdefs.h.  */
4546 _ACEOF
4547 cat confdefs.h >>conftest.$ac_ext
4548 cat >>conftest.$ac_ext <<_ACEOF
4549 /* end confdefs.h.  */
4550 #include "confdefs.h"
4551 #include <sys/types.h>
4552
4553
4554 int
4555 main ()
4556 {
4557 switch (0) case 0: case (sizeof (long) == $ac_size):;
4558   ;
4559   return 0;
4560 }
4561 _ACEOF
4562 rm -f conftest.$ac_objext
4563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4564   (eval $ac_compile) 2>conftest.er1
4565   ac_status=$?
4566   grep -v '^ *+' conftest.er1 >conftest.err
4567   rm -f conftest.er1
4568   cat conftest.err >&5
4569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570   (exit $ac_status); } &&
4571          { ac_try='test -z "$ac_c_werror_flag"
4572                          || test ! -s conftest.err'
4573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574   (eval $ac_try) 2>&5
4575   ac_status=$?
4576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577   (exit $ac_status); }; } &&
4578          { ac_try='test -s conftest.$ac_objext'
4579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4580   (eval $ac_try) 2>&5
4581   ac_status=$?
4582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583   (exit $ac_status); }; }; then
4584   ac_cv_sizeof_long=$ac_size
4585 else
4586   echo "$as_me: failed program was:" >&5
4587 sed 's/^/| /' conftest.$ac_ext >&5
4588
4589 fi
4590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4591   if test x$ac_cv_sizeof_long != x ; then break; fi
4592 done
4593
4594 fi
4595
4596 if test x$ac_cv_sizeof_long = x ; then
4597   { { echo "$as_me:$LINENO: error: cannot determine a size for long" >&5
4598 echo "$as_me: error: cannot determine a size for long" >&2;}
4599    { (exit 1); exit 1; }; }
4600 fi
4601 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4602 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4603
4604 cat >>confdefs.h <<_ACEOF
4605 #define SIZEOF_LONG $ac_cv_sizeof_long
4606 _ACEOF
4607
4608
4609 echo "$as_me:$LINENO: checking size of long long" >&5
4610 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
4611 if test "${ac_cv_sizeof_long_long+set}" = set; then
4612   echo $ECHO_N "(cached) $ECHO_C" >&6
4613 else
4614   for ac_size in 4 8 1 2 16 12  ; do # List sizes in rough order of prevalence.
4615   cat >conftest.$ac_ext <<_ACEOF
4616 /* confdefs.h.  */
4617 _ACEOF
4618 cat confdefs.h >>conftest.$ac_ext
4619 cat >>conftest.$ac_ext <<_ACEOF
4620 /* end confdefs.h.  */
4621 #include "confdefs.h"
4622 #include <sys/types.h>
4623
4624
4625 int
4626 main ()
4627 {
4628 switch (0) case 0: case (sizeof (long long) == $ac_size):;
4629   ;
4630   return 0;
4631 }
4632 _ACEOF
4633 rm -f conftest.$ac_objext
4634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4635   (eval $ac_compile) 2>conftest.er1
4636   ac_status=$?
4637   grep -v '^ *+' conftest.er1 >conftest.err
4638   rm -f conftest.er1
4639   cat conftest.err >&5
4640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641   (exit $ac_status); } &&
4642          { ac_try='test -z "$ac_c_werror_flag"
4643                          || test ! -s conftest.err'
4644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4645   (eval $ac_try) 2>&5
4646   ac_status=$?
4647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648   (exit $ac_status); }; } &&
4649          { ac_try='test -s conftest.$ac_objext'
4650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4651   (eval $ac_try) 2>&5
4652   ac_status=$?
4653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654   (exit $ac_status); }; }; then
4655   ac_cv_sizeof_long_long=$ac_size
4656 else
4657   echo "$as_me: failed program was:" >&5
4658 sed 's/^/| /' conftest.$ac_ext >&5
4659
4660 fi
4661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4662   if test x$ac_cv_sizeof_long_long != x ; then break; fi
4663 done
4664
4665 fi
4666
4667 if test x$ac_cv_sizeof_long_long = x ; then
4668   { { echo "$as_me:$LINENO: error: cannot determine a size for long long" >&5
4669 echo "$as_me: error: cannot determine a size for long long" >&2;}
4670    { (exit 1); exit 1; }; }
4671 fi
4672 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
4673 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
4674
4675 cat >>confdefs.h <<_ACEOF
4676 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
4677 _ACEOF
4678
4679
4680
4681 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4682 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4683 if test "${ac_cv_c_bigendian+set}" = set; then
4684   echo $ECHO_N "(cached) $ECHO_C" >&6
4685 else
4686   ac_cv_c_bigendian=unknown
4687 # See if sys/param.h defines the BYTE_ORDER macro.
4688 cat >conftest.$ac_ext <<_ACEOF
4689 /* confdefs.h.  */
4690 _ACEOF
4691 cat confdefs.h >>conftest.$ac_ext
4692 cat >>conftest.$ac_ext <<_ACEOF
4693 /* end confdefs.h.  */
4694 #include <sys/types.h>
4695 #include <sys/param.h>
4696 int
4697 main ()
4698 {
4699
4700 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4701  bogus endian macros
4702 #endif
4703   ;
4704   return 0;
4705 }
4706 _ACEOF
4707 rm -f conftest.$ac_objext
4708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4709   (eval $ac_compile) 2>conftest.er1
4710   ac_status=$?
4711   grep -v '^ *+' conftest.er1 >conftest.err
4712   rm -f conftest.er1
4713   cat conftest.err >&5
4714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715   (exit $ac_status); } &&
4716          { ac_try='test -z "$ac_c_werror_flag"
4717                          || test ! -s conftest.err'
4718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4719   (eval $ac_try) 2>&5
4720   ac_status=$?
4721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722   (exit $ac_status); }; } &&
4723          { ac_try='test -s conftest.$ac_objext'
4724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4725   (eval $ac_try) 2>&5
4726   ac_status=$?
4727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728   (exit $ac_status); }; }; then
4729   # It does; now see whether it defined to BIG_ENDIAN or not.
4730 cat >conftest.$ac_ext <<_ACEOF
4731 /* confdefs.h.  */
4732 _ACEOF
4733 cat confdefs.h >>conftest.$ac_ext
4734 cat >>conftest.$ac_ext <<_ACEOF
4735 /* end confdefs.h.  */
4736 #include <sys/types.h>
4737 #include <sys/param.h>
4738 int
4739 main ()
4740 {
4741
4742 #if BYTE_ORDER != BIG_ENDIAN
4743  not big endian
4744 #endif
4745   ;
4746   return 0;
4747 }
4748 _ACEOF
4749 rm -f conftest.$ac_objext
4750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4751   (eval $ac_compile) 2>conftest.er1
4752   ac_status=$?
4753   grep -v '^ *+' conftest.er1 >conftest.err
4754   rm -f conftest.er1
4755   cat conftest.err >&5
4756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757   (exit $ac_status); } &&
4758          { ac_try='test -z "$ac_c_werror_flag"
4759                          || test ! -s conftest.err'
4760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4761   (eval $ac_try) 2>&5
4762   ac_status=$?
4763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764   (exit $ac_status); }; } &&
4765          { ac_try='test -s conftest.$ac_objext'
4766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767   (eval $ac_try) 2>&5
4768   ac_status=$?
4769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770   (exit $ac_status); }; }; then
4771   ac_cv_c_bigendian=yes
4772 else
4773   echo "$as_me: failed program was:" >&5
4774 sed 's/^/| /' conftest.$ac_ext >&5
4775
4776 ac_cv_c_bigendian=no
4777 fi
4778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4779 else
4780   echo "$as_me: failed program was:" >&5
4781 sed 's/^/| /' conftest.$ac_ext >&5
4782
4783 fi
4784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4785 if test $ac_cv_c_bigendian = unknown; then
4786 if test "$cross_compiling" = yes; then
4787    echo $ac_n "cross-compiling... " 2>&6
4788 else
4789   cat >conftest.$ac_ext <<_ACEOF
4790 /* confdefs.h.  */
4791 _ACEOF
4792 cat confdefs.h >>conftest.$ac_ext
4793 cat >>conftest.$ac_ext <<_ACEOF
4794 /* end confdefs.h.  */
4795 main () {
4796   /* Are we little or big endian?  From Harbison&Steele.  */
4797   union
4798   {
4799     long l;
4800     char c[sizeof (long)];
4801   } u;
4802   u.l = 1;
4803   exit (u.c[sizeof (long) - 1] == 1);
4804 }
4805 _ACEOF
4806 rm -f conftest$ac_exeext
4807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4808   (eval $ac_link) 2>&5
4809   ac_status=$?
4810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4813   (eval $ac_try) 2>&5
4814   ac_status=$?
4815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816   (exit $ac_status); }; }; then
4817   ac_cv_c_bigendian=no
4818 else
4819   echo "$as_me: program exited with status $ac_status" >&5
4820 echo "$as_me: failed program was:" >&5
4821 sed 's/^/| /' conftest.$ac_ext >&5
4822
4823 ( exit $ac_status )
4824 ac_cv_c_bigendian=yes
4825 fi
4826 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4827 fi
4828 fi
4829 fi
4830 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4831 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4832 if test $ac_cv_c_bigendian = unknown; then
4833 echo "$as_me:$LINENO: checking to probe for byte ordering" >&5
4834 echo $ECHO_N "checking to probe for byte ordering... $ECHO_C" >&6
4835
4836 cat >conftest.c <<EOF
4837 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4838 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4839 void _ascii() { char* s = (char*) ascii_mm; s = (char*) ascii_ii; }
4840 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4841 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4842 void _ebcdic() { char* s = (char*) ebcdic_mm; s = (char*) ebcdic_ii; }
4843 int main() { _ascii (); _ebcdic (); return 0; }
4844 EOF
4845  if test -f conftest.c ; then
4846      if ${CC-cc} ${CFLAGS} -c conftest.c -o conftest.o && test -f conftest.o ; then
4847         if test `grep -l BIGenDianSyS conftest.o` ; then
4848            echo $ac_n ' big endian probe OK, ' 1>&6
4849            ac_cv_c_bigendian=yes
4850         fi
4851         if test `grep -l LiTTleEnDian conftest.o` ; then
4852            echo $ac_n ' little endian probe OK, ' 1>&6
4853            if test $ac_cv_c_bigendian = yes ; then
4854             ac_cv_c_bigendian=unknown;
4855            else
4856             ac_cv_c_bigendian=no
4857            fi
4858         fi
4859         echo $ac_n 'guessing bigendian ...  ' >&6
4860      fi
4861   fi
4862 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4863 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4864 fi
4865 if test $ac_cv_c_bigendian = yes; then
4866
4867 cat >>confdefs.h <<\_ACEOF
4868 #define WORDS_BIGENDIAN 1
4869 _ACEOF
4870
4871
4872 cat >>confdefs.h <<\_ACEOF
4873 #define HOST_WORDS_BIG_ENDIAN 1
4874 _ACEOF
4875
4876   BYTEORDER=4321
4877 else
4878   BYTEORDER=1234
4879 fi
4880
4881 cat >>confdefs.h <<_ACEOF
4882 #define BYTEORDER $BYTEORDER
4883 _ACEOF
4884
4885 if test $ac_cv_c_bigendian = unknown; then
4886   { { echo "$as_me:$LINENO: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&5
4887 echo "$as_me: error: unknown endianess - sorry, please pre-set ac_cv_c_bigendian" >&2;}
4888    { (exit 1); exit 1; }; }
4889 fi
4890
4891
4892
4893 # Check whether --with-system-zlib or --without-system-zlib was given.
4894 if test "${with_system_zlib+set}" = set; then
4895   withval="$with_system_zlib"
4896
4897 fi;
4898
4899 ZLIBS=
4900 ZDEPS=
4901 ZINCS=
4902 use_zlib=maybe
4903 if test "$with_system_zlib" = yes; then
4904    echo "$as_me:$LINENO: checking for deflate in -lz" >&5
4905 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
4906 if test "${ac_cv_lib_z_deflate+set}" = set; then
4907   echo $ECHO_N "(cached) $ECHO_C" >&6
4908 else
4909   ac_check_lib_save_LIBS=$LIBS
4910 LIBS="-lz  $LIBS"
4911 cat >conftest.$ac_ext <<_ACEOF
4912 /* confdefs.h.  */
4913 _ACEOF
4914 cat confdefs.h >>conftest.$ac_ext
4915 cat >>conftest.$ac_ext <<_ACEOF
4916 /* end confdefs.h.  */
4917
4918 /* Override any gcc2 internal prototype to avoid an error.  */
4919 #ifdef __cplusplus
4920 extern "C"
4921 #endif
4922 /* We use char because int might match the return type of a gcc2
4923    builtin and then its argument prototype would still apply.  */
4924 char deflate ();
4925 int
4926 main ()
4927 {
4928 deflate ();
4929   ;
4930   return 0;
4931 }
4932 _ACEOF
4933 rm -f conftest.$ac_objext conftest$ac_exeext
4934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4935   (eval $ac_link) 2>conftest.er1
4936   ac_status=$?
4937   grep -v '^ *+' conftest.er1 >conftest.err
4938   rm -f conftest.er1
4939   cat conftest.err >&5
4940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941   (exit $ac_status); } &&
4942          { ac_try='test -z "$ac_c_werror_flag"
4943                          || test ! -s conftest.err'
4944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4945   (eval $ac_try) 2>&5
4946   ac_status=$?
4947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4948   (exit $ac_status); }; } &&
4949          { ac_try='test -s conftest$ac_exeext'
4950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4951   (eval $ac_try) 2>&5
4952   ac_status=$?
4953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954   (exit $ac_status); }; }; then
4955   ac_cv_lib_z_deflate=yes
4956 else
4957   echo "$as_me: failed program was:" >&5
4958 sed 's/^/| /' conftest.$ac_ext >&5
4959
4960 ac_cv_lib_z_deflate=no
4961 fi
4962 rm -f conftest.err conftest.$ac_objext \
4963       conftest$ac_exeext conftest.$ac_ext
4964 LIBS=$ac_check_lib_save_LIBS
4965 fi
4966 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
4967 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
4968 if test $ac_cv_lib_z_deflate = yes; then
4969   ZLIBS=-lz
4970 else
4971   use_zlib=no
4972 fi
4973
4974 else
4975    use_zlib=no
4976 fi
4977
4978 if test "$use_zlib" = no; then
4979    # Brain dead way to find tree's zlib.
4980    ZDEPS='$(top_builddir)/../zlib/libz.a'
4981    ZLIBS="$ZDEPS -L\$(here)/../zlib/$libsubdir"
4982    ZINCS='-I$(top_srcdir)/../zlib'
4983 fi
4984
4985
4986
4987
4988 # GCC LOCAL CHANGE
4989 # We would like to our source tree to be readonly.  However when releases or
4990 # pre-releases are generated, the man pages need to be included as they are
4991 # converted from the texi files via perl which we don't require end users to
4992 # have installed.
4993 # Therefore we have --enable-generated-files-in-srcdir to do just that.
4994
4995 echo "$as_me:$LINENO: checking whether to place generated files in the source directory" >&5
4996 echo $ECHO_N "checking whether to place generated files in the source directory... $ECHO_C" >&6
4997     # Check whether --enable-generated-files-in-srcdir or --disable-generated-files-in-srcdir was given.
4998 if test "${enable_generated_files_in_srcdir+set}" = set; then
4999   enableval="$enable_generated_files_in_srcdir"
5000   generated_files_in_srcdir=$enableval
5001 else
5002   generated_files_in_srcdir=no
5003 fi;
5004
5005 echo "$as_me:$LINENO: result: $generated_files_in_srcdir" >&5
5006 echo "${ECHO_T}$generated_files_in_srcdir" >&6
5007
5008
5009 if test x$generated_files_in_srcdir = xyes; then
5010   GENINSRC_TRUE=
5011   GENINSRC_FALSE='#'
5012 else
5013   GENINSRC_TRUE='#'
5014   GENINSRC_FALSE=
5015 fi
5016
5017
5018 # Get the version trigger filename from the toplevel
5019 if test "${with_gcc_version_trigger+set}" = set; then
5020    gcc_version_trigger=$with_gcc_version_trigger
5021 else
5022    gcc_version_trigger=${srcdir}/version.c
5023 fi
5024 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*"\([^"]*\)".*/\1/'`
5025 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
5026
5027
5028                     ac_config_files="$ac_config_files Makefile install-defs.sh"
5029 cat >confcache <<\_ACEOF
5030 # This file is a shell script that caches the results of configure
5031 # tests run on this system so they can be shared between configure
5032 # scripts and configure runs, see configure's option --config-cache.
5033 # It is not useful on other systems.  If it contains results you don't
5034 # want to keep, you may remove or edit it.
5035 #
5036 # config.status only pays attention to the cache file if you give it
5037 # the --recheck option to rerun configure.
5038 #
5039 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5040 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5041 # following values.
5042
5043 _ACEOF
5044
5045 # The following way of writing the cache mishandles newlines in values,
5046 # but we know of no workaround that is simple, portable, and efficient.
5047 # So, don't put newlines in cache variables' values.
5048 # Ultrix sh set writes to stderr and can't be redirected directly,
5049 # and sets the high bit in the cache file unless we assign to the vars.
5050 {
5051   (set) 2>&1 |
5052     case `(ac_space=' '; set | grep ac_space) 2>&1` in
5053     *ac_space=\ *)
5054       # `set' does not quote correctly, so add quotes (double-quote
5055       # substitution turns \\\\ into \\, and sed turns \\ into \).
5056       sed -n \
5057         "s/'/'\\\\''/g;
5058           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5059       ;;
5060     *)
5061       # `set' quotes correctly as required by POSIX, so do not add quotes.
5062       sed -n \
5063         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5064       ;;
5065     esac;
5066 } |
5067   sed '
5068      t clear
5069      : clear
5070      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5071      t end
5072      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5073      : end' >>confcache
5074 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5075   if test -w $cache_file; then
5076     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5077     cat confcache >$cache_file
5078   else
5079     echo "not updating unwritable cache $cache_file"
5080   fi
5081 fi
5082 rm -f confcache
5083
5084 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5085 # Let make expand exec_prefix.
5086 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5087
5088 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5089 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5090 # trailing colons and then remove the whole line if VPATH becomes empty
5091 # (actually we leave an empty line to preserve line numbers).
5092 if test "x$srcdir" = x.; then
5093   ac_vpsub='/^[  ]*VPATH[        ]*=/{
5094 s/:*\$(srcdir):*/:/;
5095 s/:*\${srcdir}:*/:/;
5096 s/:*@srcdir@:*/:/;
5097 s/^\([^=]*=[     ]*\):*/\1/;
5098 s/:*$//;
5099 s/^[^=]*=[       ]*$//;
5100 }'
5101 fi
5102
5103 DEFS=-DHAVE_CONFIG_H
5104
5105 ac_libobjs=
5106 ac_ltlibobjs=
5107 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5108   # 1. Remove the extension, and $U if already installed.
5109   ac_i=`echo "$ac_i" |
5110          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5111   # 2. Add them.
5112   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5113   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5114 done
5115 LIBOBJS=$ac_libobjs
5116
5117 LTLIBOBJS=$ac_ltlibobjs
5118
5119
5120 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5121   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
5122 Usually this means the macro was only invoked conditionally." >&5
5123 echo "$as_me: error: conditional \"AMDEP\" was never defined.
5124 Usually this means the macro was only invoked conditionally." >&2;}
5125    { (exit 1); exit 1; }; }
5126 fi
5127 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5128   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
5129 Usually this means the macro was only invoked conditionally." >&5
5130 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
5131 Usually this means the macro was only invoked conditionally." >&2;}
5132    { (exit 1); exit 1; }; }
5133 fi
5134 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5135   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
5136 Usually this means the macro was only invoked conditionally." >&5
5137 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
5138 Usually this means the macro was only invoked conditionally." >&2;}
5139    { (exit 1); exit 1; }; }
5140 fi
5141 if test -z "${GENINSRC_TRUE}" && test -z "${GENINSRC_FALSE}"; then
5142   { { echo "$as_me:$LINENO: error: conditional \"GENINSRC\" was never defined.
5143 Usually this means the macro was only invoked conditionally." >&5
5144 echo "$as_me: error: conditional \"GENINSRC\" was never defined.
5145 Usually this means the macro was only invoked conditionally." >&2;}
5146    { (exit 1); exit 1; }; }
5147 fi
5148
5149 : ${CONFIG_STATUS=./config.status}
5150 ac_clean_files_save=$ac_clean_files
5151 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5152 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5153 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5154 cat >$CONFIG_STATUS <<_ACEOF
5155 #! $SHELL
5156 # Generated by $as_me.
5157 # Run this file to recreate the current configuration.
5158 # Compiler output produced by configure, useful for debugging
5159 # configure, is in config.log if it exists.
5160
5161 debug=false
5162 ac_cs_recheck=false
5163 ac_cs_silent=false
5164 SHELL=\${CONFIG_SHELL-$SHELL}
5165 _ACEOF
5166
5167 cat >>$CONFIG_STATUS <<\_ACEOF
5168 ## --------------------- ##
5169 ## M4sh Initialization.  ##
5170 ## --------------------- ##
5171
5172 # Be Bourne compatible
5173 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5174   emulate sh
5175   NULLCMD=:
5176   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5177   # is contrary to our usage.  Disable this feature.
5178   alias -g '${1+"$@"}'='"$@"'
5179 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5180   set -o posix
5181 fi
5182 DUALCASE=1; export DUALCASE # for MKS sh
5183
5184 # Support unset when possible.
5185 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5186   as_unset=unset
5187 else
5188   as_unset=false
5189 fi
5190
5191
5192 # Work around bugs in pre-3.0 UWIN ksh.
5193 $as_unset ENV MAIL MAILPATH
5194 PS1='$ '
5195 PS2='> '
5196 PS4='+ '
5197
5198 # NLS nuisances.
5199 for as_var in \
5200   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5201   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5202   LC_TELEPHONE LC_TIME
5203 do
5204   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5205     eval $as_var=C; export $as_var
5206   else
5207     $as_unset $as_var
5208   fi
5209 done
5210
5211 # Required to use basename.
5212 if expr a : '\(a\)' >/dev/null 2>&1; then
5213   as_expr=expr
5214 else
5215   as_expr=false
5216 fi
5217
5218 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5219   as_basename=basename
5220 else
5221   as_basename=false
5222 fi
5223
5224
5225 # Name of the executable.
5226 as_me=`$as_basename "$0" ||
5227 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5228          X"$0" : 'X\(//\)$' \| \
5229          X"$0" : 'X\(/\)$' \| \
5230          .     : '\(.\)' 2>/dev/null ||
5231 echo X/"$0" |
5232     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5233           /^X\/\(\/\/\)$/{ s//\1/; q; }
5234           /^X\/\(\/\).*/{ s//\1/; q; }
5235           s/.*/./; q'`
5236
5237
5238 # PATH needs CR, and LINENO needs CR and PATH.
5239 # Avoid depending upon Character Ranges.
5240 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5241 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5242 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5243 as_cr_digits='0123456789'
5244 as_cr_alnum=$as_cr_Letters$as_cr_digits
5245
5246 # The user is always right.
5247 if test "${PATH_SEPARATOR+set}" != set; then
5248   echo "#! /bin/sh" >conf$$.sh
5249   echo  "exit 0"   >>conf$$.sh
5250   chmod +x conf$$.sh
5251   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5252     PATH_SEPARATOR=';'
5253   else
5254     PATH_SEPARATOR=:
5255   fi
5256   rm -f conf$$.sh
5257 fi
5258
5259
5260   as_lineno_1=$LINENO
5261   as_lineno_2=$LINENO
5262   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5263   test "x$as_lineno_1" != "x$as_lineno_2" &&
5264   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
5265   # Find who we are.  Look in the path if we contain no path at all
5266   # relative or not.
5267   case $0 in
5268     *[\\/]* ) as_myself=$0 ;;
5269     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5270 for as_dir in $PATH
5271 do
5272   IFS=$as_save_IFS
5273   test -z "$as_dir" && as_dir=.
5274   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5275 done
5276
5277        ;;
5278   esac
5279   # We did not find ourselves, most probably we were run as `sh COMMAND'
5280   # in which case we are not to be found in the path.
5281   if test "x$as_myself" = x; then
5282     as_myself=$0
5283   fi
5284   if test ! -f "$as_myself"; then
5285     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5286 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5287    { (exit 1); exit 1; }; }
5288   fi
5289   case $CONFIG_SHELL in
5290   '')
5291     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5293 do
5294   IFS=$as_save_IFS
5295   test -z "$as_dir" && as_dir=.
5296   for as_base in sh bash ksh sh5; do
5297          case $as_dir in
5298          /*)
5299            if ("$as_dir/$as_base" -c '
5300   as_lineno_1=$LINENO
5301   as_lineno_2=$LINENO
5302   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5303   test "x$as_lineno_1" != "x$as_lineno_2" &&
5304   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
5305              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5306              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5307              CONFIG_SHELL=$as_dir/$as_base
5308              export CONFIG_SHELL
5309              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5310            fi;;
5311          esac
5312        done
5313 done
5314 ;;
5315   esac
5316
5317   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5318   # uniformly replaced by the line number.  The first 'sed' inserts a
5319   # line-number line before each line; the second 'sed' does the real
5320   # work.  The second script uses 'N' to pair each line-number line
5321   # with the numbered line, and appends trailing '-' during
5322   # substitution so that $LINENO is not a special case at line end.
5323   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5324   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
5325   sed '=' <$as_myself |
5326     sed '
5327       N
5328       s,$,-,
5329       : loop
5330       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5331       t loop
5332       s,-$,,
5333       s,^['$as_cr_digits']*\n,,
5334     ' >$as_me.lineno &&
5335   chmod +x $as_me.lineno ||
5336     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5337 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5338    { (exit 1); exit 1; }; }
5339
5340   # Don't try to exec as it changes $[0], causing all sort of problems
5341   # (the dirname of $[0] is not the place where we might find the
5342   # original and so on.  Autoconf is especially sensible to this).
5343   . ./$as_me.lineno
5344   # Exit status is that of the last command.
5345   exit
5346 }
5347
5348
5349 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5350   *c*,-n*) ECHO_N= ECHO_C='
5351 ' ECHO_T='      ' ;;
5352   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5353   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
5354 esac
5355
5356 if expr a : '\(a\)' >/dev/null 2>&1; then
5357   as_expr=expr
5358 else
5359   as_expr=false
5360 fi
5361
5362 rm -f conf$$ conf$$.exe conf$$.file
5363 echo >conf$$.file
5364 if ln -s conf$$.file conf$$ 2>/dev/null; then
5365   # We could just check for DJGPP; but this test a) works b) is more generic
5366   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5367   if test -f conf$$.exe; then
5368     # Don't use ln at all; we don't have any links
5369     as_ln_s='cp -p'
5370   else
5371     as_ln_s='ln -s'
5372   fi
5373 elif ln conf$$.file conf$$ 2>/dev/null; then
5374   as_ln_s=ln
5375 else
5376   as_ln_s='cp -p'
5377 fi
5378 rm -f conf$$ conf$$.exe conf$$.file
5379
5380 if mkdir -p . 2>/dev/null; then
5381   as_mkdir_p=:
5382 else
5383   test -d ./-p && rmdir ./-p
5384   as_mkdir_p=false
5385 fi
5386
5387 as_executable_p="test -f"
5388
5389 # Sed expression to map a string onto a valid CPP name.
5390 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5391
5392 # Sed expression to map a string onto a valid variable name.
5393 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5394
5395
5396 # IFS
5397 # We need space, tab and new line, in precisely that order.
5398 as_nl='
5399 '
5400 IFS="   $as_nl"
5401
5402 # CDPATH.
5403 $as_unset CDPATH
5404
5405 exec 6>&1
5406
5407 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5408 # report actual input values of CONFIG_FILES etc. instead of their
5409 # values after options handling.  Logging --version etc. is OK.
5410 exec 5>>config.log
5411 {
5412   echo
5413   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5414 ## Running $as_me. ##
5415 _ASBOX
5416 } >&5
5417 cat >&5 <<_CSEOF
5418
5419 This file was extended by $as_me, which was
5420 generated by GNU Autoconf 2.59.  Invocation command line was
5421
5422   CONFIG_FILES    = $CONFIG_FILES
5423   CONFIG_HEADERS  = $CONFIG_HEADERS
5424   CONFIG_LINKS    = $CONFIG_LINKS
5425   CONFIG_COMMANDS = $CONFIG_COMMANDS
5426   $ $0 $@
5427
5428 _CSEOF
5429 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5430 echo >&5
5431 _ACEOF
5432
5433 # Files that config.status was made for.
5434 if test -n "$ac_config_files"; then
5435   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5436 fi
5437
5438 if test -n "$ac_config_headers"; then
5439   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5440 fi
5441
5442 if test -n "$ac_config_links"; then
5443   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5444 fi
5445
5446 if test -n "$ac_config_commands"; then
5447   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5448 fi
5449
5450 cat >>$CONFIG_STATUS <<\_ACEOF
5451
5452 ac_cs_usage="\
5453 \`$as_me' instantiates files from templates according to the
5454 current configuration.
5455
5456 Usage: $0 [OPTIONS] [FILE]...
5457
5458   -h, --help       print this help, then exit
5459   -V, --version    print version number, then exit
5460   -q, --quiet      do not print progress messages
5461   -d, --debug      don't remove temporary files
5462       --recheck    update $as_me by reconfiguring in the same conditions
5463   --file=FILE[:TEMPLATE]
5464                    instantiate the configuration file FILE
5465   --header=FILE[:TEMPLATE]
5466                    instantiate the configuration header FILE
5467
5468 Configuration files:
5469 $config_files
5470
5471 Configuration headers:
5472 $config_headers
5473
5474 Configuration commands:
5475 $config_commands
5476
5477 Report bugs to <bug-autoconf@gnu.org>."
5478 _ACEOF
5479
5480 cat >>$CONFIG_STATUS <<_ACEOF
5481 ac_cs_version="\\
5482 config.status
5483 configured by $0, generated by GNU Autoconf 2.59,
5484   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5485
5486 Copyright (C) 2003 Free Software Foundation, Inc.
5487 This config.status script is free software; the Free Software Foundation
5488 gives unlimited permission to copy, distribute and modify it."
5489 srcdir=$srcdir
5490 INSTALL="$INSTALL"
5491 _ACEOF
5492
5493 cat >>$CONFIG_STATUS <<\_ACEOF
5494 # If no file are specified by the user, then we need to provide default
5495 # value.  By we need to know if files were specified by the user.
5496 ac_need_defaults=:
5497 while test $# != 0
5498 do
5499   case $1 in
5500   --*=*)
5501     ac_option=`expr "x$1" : 'x\([^=]*\)='`
5502     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5503     ac_shift=:
5504     ;;
5505   -*)
5506     ac_option=$1
5507     ac_optarg=$2
5508     ac_shift=shift
5509     ;;
5510   *) # This is not an option, so the user has probably given explicit
5511      # arguments.
5512      ac_option=$1
5513      ac_need_defaults=false;;
5514   esac
5515
5516   case $ac_option in
5517   # Handling of the options.
5518 _ACEOF
5519 cat >>$CONFIG_STATUS <<\_ACEOF
5520   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5521     ac_cs_recheck=: ;;
5522   --version | --vers* | -V )
5523     echo "$ac_cs_version"; exit 0 ;;
5524   --he | --h)
5525     # Conflict between --help and --header
5526     { { echo "$as_me:$LINENO: error: ambiguous option: $1
5527 Try \`$0 --help' for more information." >&5
5528 echo "$as_me: error: ambiguous option: $1
5529 Try \`$0 --help' for more information." >&2;}
5530    { (exit 1); exit 1; }; };;
5531   --help | --hel | -h )
5532     echo "$ac_cs_usage"; exit 0 ;;
5533   --debug | --d* | -d )
5534     debug=: ;;
5535   --file | --fil | --fi | --f )
5536     $ac_shift
5537     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5538     ac_need_defaults=false;;
5539   --header | --heade | --head | --hea )
5540     $ac_shift
5541     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5542     ac_need_defaults=false;;
5543   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5544   | -silent | --silent | --silen | --sile | --sil | --si | --s)
5545     ac_cs_silent=: ;;
5546
5547   # This is an error.
5548   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5549 Try \`$0 --help' for more information." >&5
5550 echo "$as_me: error: unrecognized option: $1
5551 Try \`$0 --help' for more information." >&2;}
5552    { (exit 1); exit 1; }; } ;;
5553
5554   *) ac_config_targets="$ac_config_targets $1" ;;
5555
5556   esac
5557   shift
5558 done
5559
5560 ac_configure_extra_args=
5561
5562 if $ac_cs_silent; then
5563   exec 6>/dev/null
5564   ac_configure_extra_args="$ac_configure_extra_args --silent"
5565 fi
5566
5567 _ACEOF
5568 cat >>$CONFIG_STATUS <<_ACEOF
5569 if \$ac_cs_recheck; then
5570   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5571   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5572 fi
5573
5574 _ACEOF
5575
5576 cat >>$CONFIG_STATUS <<_ACEOF
5577 #
5578 # INIT-COMMANDS section.
5579 #
5580
5581 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5582
5583 _ACEOF
5584
5585
5586
5587 cat >>$CONFIG_STATUS <<\_ACEOF
5588 for ac_config_target in $ac_config_targets
5589 do
5590   case "$ac_config_target" in
5591   # Handling of arguments.
5592   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5593   "install-defs.sh" ) CONFIG_FILES="$CONFIG_FILES install-defs.sh" ;;
5594   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5595   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5596   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5597 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5598    { (exit 1); exit 1; }; };;
5599   esac
5600 done
5601
5602 # If the user did not use the arguments to specify the items to instantiate,
5603 # then the envvar interface is used.  Set only those that are not.
5604 # We use the long form for the default assignment because of an extremely
5605 # bizarre bug on SunOS 4.1.3.
5606 if $ac_need_defaults; then
5607   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5608   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5609   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5610 fi
5611
5612 # Have a temporary directory for convenience.  Make it in the build tree
5613 # simply because there is no reason to put it here, and in addition,
5614 # creating and moving files from /tmp can sometimes cause problems.
5615 # Create a temporary directory, and hook for its removal unless debugging.
5616 $debug ||
5617 {
5618   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5619   trap '{ (exit 1); exit 1; }' 1 2 13 15
5620 }
5621
5622 # Create a (secure) tmp directory for tmp files.
5623
5624 {
5625   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5626   test -n "$tmp" && test -d "$tmp"
5627 }  ||
5628 {
5629   tmp=./confstat$$-$RANDOM
5630   (umask 077 && mkdir $tmp)
5631 } ||
5632 {
5633    echo "$me: cannot create a temporary directory in ." >&2
5634    { (exit 1); exit 1; }
5635 }
5636
5637 _ACEOF
5638
5639 cat >>$CONFIG_STATUS <<_ACEOF
5640
5641 #
5642 # CONFIG_FILES section.
5643 #
5644
5645 # No need to generate the scripts if there are no CONFIG_FILES.
5646 # This happens for instance when ./config.status config.h
5647 if test -n "\$CONFIG_FILES"; then
5648   # Protect against being on the right side of a sed subst in config.status.
5649   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5650    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5651 s,@SHELL@,$SHELL,;t t
5652 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5653 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5654 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5655 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5656 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5657 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5658 s,@exec_prefix@,$exec_prefix,;t t
5659 s,@prefix@,$prefix,;t t
5660 s,@program_transform_name@,$program_transform_name,;t t
5661 s,@bindir@,$bindir,;t t
5662 s,@sbindir@,$sbindir,;t t
5663 s,@libexecdir@,$libexecdir,;t t
5664 s,@datadir@,$datadir,;t t
5665 s,@sysconfdir@,$sysconfdir,;t t
5666 s,@sharedstatedir@,$sharedstatedir,;t t
5667 s,@localstatedir@,$localstatedir,;t t
5668 s,@libdir@,$libdir,;t t
5669 s,@includedir@,$includedir,;t t
5670 s,@oldincludedir@,$oldincludedir,;t t
5671 s,@infodir@,$infodir,;t t
5672 s,@mandir@,$mandir,;t t
5673 s,@build_alias@,$build_alias,;t t
5674 s,@host_alias@,$host_alias,;t t
5675 s,@target_alias@,$target_alias,;t t
5676 s,@DEFS@,$DEFS,;t t
5677 s,@ECHO_C@,$ECHO_C,;t t
5678 s,@ECHO_N@,$ECHO_N,;t t
5679 s,@ECHO_T@,$ECHO_T,;t t
5680 s,@LIBS@,$LIBS,;t t
5681 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5682 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5683 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5684 s,@CYGPATH_W@,$CYGPATH_W,;t t
5685 s,@PACKAGE@,$PACKAGE,;t t
5686 s,@VERSION@,$VERSION,;t t
5687 s,@ACLOCAL@,$ACLOCAL,;t t
5688 s,@AUTOCONF@,$AUTOCONF,;t t
5689 s,@AUTOMAKE@,$AUTOMAKE,;t t
5690 s,@AUTOHEADER@,$AUTOHEADER,;t t
5691 s,@MAKEINFO@,$MAKEINFO,;t t
5692 s,@AMTAR@,$AMTAR,;t t
5693 s,@install_sh@,$install_sh,;t t
5694 s,@STRIP@,$STRIP,;t t
5695 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5696 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5697 s,@AWK@,$AWK,;t t
5698 s,@SET_MAKE@,$SET_MAKE,;t t
5699 s,@am__leading_dot@,$am__leading_dot,;t t
5700 s,@CC@,$CC,;t t
5701 s,@CFLAGS@,$CFLAGS,;t t
5702 s,@LDFLAGS@,$LDFLAGS,;t t
5703 s,@CPPFLAGS@,$CPPFLAGS,;t t
5704 s,@ac_ct_CC@,$ac_ct_CC,;t t
5705 s,@EXEEXT@,$EXEEXT,;t t
5706 s,@OBJEXT@,$OBJEXT,;t t
5707 s,@DEPDIR@,$DEPDIR,;t t
5708 s,@am__include@,$am__include,;t t
5709 s,@am__quote@,$am__quote,;t t
5710 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5711 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5712 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5713 s,@CCDEPMODE@,$CCDEPMODE,;t t
5714 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5715 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5716 s,@RM@,$RM,;t t
5717 s,@CP@,$CP,;t t
5718 s,@CHMOD@,$CHMOD,;t t
5719 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5720 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5721 s,@MAINT@,$MAINT,;t t
5722 s,@fastjar_warn_cflags@,$fastjar_warn_cflags,;t t
5723 s,@CPP@,$CPP,;t t
5724 s,@EGREP@,$EGREP,;t t
5725 s,@ZLIBS@,$ZLIBS,;t t
5726 s,@ZDEPS@,$ZDEPS,;t t
5727 s,@ZINCS@,$ZINCS,;t t
5728 s,@GENINSRC_TRUE@,$GENINSRC_TRUE,;t t
5729 s,@GENINSRC_FALSE@,$GENINSRC_FALSE,;t t
5730 s,@gcc_version@,$gcc_version,;t t
5731 s,@LIBOBJS@,$LIBOBJS,;t t
5732 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5733 CEOF
5734
5735 _ACEOF
5736
5737   cat >>$CONFIG_STATUS <<\_ACEOF
5738   # Split the substitutions into bite-sized pieces for seds with
5739   # small command number limits, like on Digital OSF/1 and HP-UX.
5740   ac_max_sed_lines=48
5741   ac_sed_frag=1 # Number of current file.
5742   ac_beg=1 # First line for current file.
5743   ac_end=$ac_max_sed_lines # Line after last line for current file.
5744   ac_more_lines=:
5745   ac_sed_cmds=
5746   while $ac_more_lines; do
5747     if test $ac_beg -gt 1; then
5748       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5749     else
5750       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5751     fi
5752     if test ! -s $tmp/subs.frag; then
5753       ac_more_lines=false
5754     else
5755       # The purpose of the label and of the branching condition is to
5756       # speed up the sed processing (if there are no `@' at all, there
5757       # is no need to browse any of the substitutions).
5758       # These are the two extra sed commands mentioned above.
5759       (echo ':t
5760   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5761       if test -z "$ac_sed_cmds"; then
5762         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5763       else
5764         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5765       fi
5766       ac_sed_frag=`expr $ac_sed_frag + 1`
5767       ac_beg=$ac_end
5768       ac_end=`expr $ac_end + $ac_max_sed_lines`
5769     fi
5770   done
5771   if test -z "$ac_sed_cmds"; then
5772     ac_sed_cmds=cat
5773   fi
5774 fi # test -n "$CONFIG_FILES"
5775
5776 _ACEOF
5777 cat >>$CONFIG_STATUS <<\_ACEOF
5778 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5779   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5780   case $ac_file in
5781   - | *:- | *:-:* ) # input from stdin
5782         cat >$tmp/stdin
5783         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5784         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5785   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5786         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5787   * )   ac_file_in=$ac_file.in ;;
5788   esac
5789
5790   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5791   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5792 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5793          X"$ac_file" : 'X\(//\)[^/]' \| \
5794          X"$ac_file" : 'X\(//\)$' \| \
5795          X"$ac_file" : 'X\(/\)' \| \
5796          .     : '\(.\)' 2>/dev/null ||
5797 echo X"$ac_file" |
5798     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5799           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5800           /^X\(\/\/\)$/{ s//\1/; q; }
5801           /^X\(\/\).*/{ s//\1/; q; }
5802           s/.*/./; q'`
5803   { if $as_mkdir_p; then
5804     mkdir -p "$ac_dir"
5805   else
5806     as_dir="$ac_dir"
5807     as_dirs=
5808     while test ! -d "$as_dir"; do
5809       as_dirs="$as_dir $as_dirs"
5810       as_dir=`(dirname "$as_dir") 2>/dev/null ||
5811 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5812          X"$as_dir" : 'X\(//\)[^/]' \| \
5813          X"$as_dir" : 'X\(//\)$' \| \
5814          X"$as_dir" : 'X\(/\)' \| \
5815          .     : '\(.\)' 2>/dev/null ||
5816 echo X"$as_dir" |
5817     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5818           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5819           /^X\(\/\/\)$/{ s//\1/; q; }
5820           /^X\(\/\).*/{ s//\1/; q; }
5821           s/.*/./; q'`
5822     done
5823     test ! -n "$as_dirs" || mkdir $as_dirs
5824   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5825 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5826    { (exit 1); exit 1; }; }; }
5827
5828   ac_builddir=.
5829
5830 if test "$ac_dir" != .; then
5831   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5832   # A "../" for each directory in $ac_dir_suffix.
5833   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5834 else
5835   ac_dir_suffix= ac_top_builddir=
5836 fi
5837
5838 case $srcdir in
5839   .)  # No --srcdir option.  We are building in place.
5840     ac_srcdir=.
5841     if test -z "$ac_top_builddir"; then
5842        ac_top_srcdir=.
5843     else
5844        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5845     fi ;;
5846   [\\/]* | ?:[\\/]* )  # Absolute path.
5847     ac_srcdir=$srcdir$ac_dir_suffix;
5848     ac_top_srcdir=$srcdir ;;
5849   *) # Relative path.
5850     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5851     ac_top_srcdir=$ac_top_builddir$srcdir ;;
5852 esac
5853
5854 # Do not use `cd foo && pwd` to compute absolute paths, because
5855 # the directories may not exist.
5856 case `pwd` in
5857 .) ac_abs_builddir="$ac_dir";;
5858 *)
5859   case "$ac_dir" in
5860   .) ac_abs_builddir=`pwd`;;
5861   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5862   *) ac_abs_builddir=`pwd`/"$ac_dir";;
5863   esac;;
5864 esac
5865 case $ac_abs_builddir in
5866 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5867 *)
5868   case ${ac_top_builddir}. in
5869   .) ac_abs_top_builddir=$ac_abs_builddir;;
5870   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5871   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5872   esac;;
5873 esac
5874 case $ac_abs_builddir in
5875 .) ac_abs_srcdir=$ac_srcdir;;
5876 *)
5877   case $ac_srcdir in
5878   .) ac_abs_srcdir=$ac_abs_builddir;;
5879   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5880   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5881   esac;;
5882 esac
5883 case $ac_abs_builddir in
5884 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5885 *)
5886   case $ac_top_srcdir in
5887   .) ac_abs_top_srcdir=$ac_abs_builddir;;
5888   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5889   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5890   esac;;
5891 esac
5892
5893
5894   case $INSTALL in
5895   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5896   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5897   esac
5898
5899   if test x"$ac_file" != x-; then
5900     { echo "$as_me:$LINENO: creating $ac_file" >&5
5901 echo "$as_me: creating $ac_file" >&6;}
5902     rm -f "$ac_file"
5903   fi
5904   # Let's still pretend it is `configure' which instantiates (i.e., don't
5905   # use $as_me), people would be surprised to read:
5906   #    /* config.h.  Generated by config.status.  */
5907   if test x"$ac_file" = x-; then
5908     configure_input=
5909   else
5910     configure_input="$ac_file.  "
5911   fi
5912   configure_input=$configure_input"Generated from `echo $ac_file_in |
5913                                      sed 's,.*/,,'` by configure."
5914
5915   # First look for the input files in the build tree, otherwise in the
5916   # src tree.
5917   ac_file_inputs=`IFS=:
5918     for f in $ac_file_in; do
5919       case $f in
5920       -) echo $tmp/stdin ;;
5921       [\\/$]*)
5922          # Absolute (can't be DOS-style, as IFS=:)
5923          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5924 echo "$as_me: error: cannot find input file: $f" >&2;}
5925    { (exit 1); exit 1; }; }
5926          echo "$f";;
5927       *) # Relative
5928          if test -f "$f"; then
5929            # Build tree
5930            echo "$f"
5931          elif test -f "$srcdir/$f"; then
5932            # Source tree
5933            echo "$srcdir/$f"
5934          else
5935            # /dev/null tree
5936            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5937 echo "$as_me: error: cannot find input file: $f" >&2;}
5938    { (exit 1); exit 1; }; }
5939          fi;;
5940       esac
5941     done` || { (exit 1); exit 1; }
5942 _ACEOF
5943 cat >>$CONFIG_STATUS <<_ACEOF
5944   sed "$ac_vpsub
5945 $extrasub
5946 _ACEOF
5947 cat >>$CONFIG_STATUS <<\_ACEOF
5948 :t
5949 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5950 s,@configure_input@,$configure_input,;t t
5951 s,@srcdir@,$ac_srcdir,;t t
5952 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5953 s,@top_srcdir@,$ac_top_srcdir,;t t
5954 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5955 s,@builddir@,$ac_builddir,;t t
5956 s,@abs_builddir@,$ac_abs_builddir,;t t
5957 s,@top_builddir@,$ac_top_builddir,;t t
5958 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5959 s,@INSTALL@,$ac_INSTALL,;t t
5960 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5961   rm -f $tmp/stdin
5962   if test x"$ac_file" != x-; then
5963     mv $tmp/out $ac_file
5964   else
5965     cat $tmp/out
5966     rm -f $tmp/out
5967   fi
5968
5969 done
5970 _ACEOF
5971 cat >>$CONFIG_STATUS <<\_ACEOF
5972
5973 #
5974 # CONFIG_HEADER section.
5975 #
5976
5977 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5978 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5979 #
5980 # ac_d sets the value in "#define NAME VALUE" lines.
5981 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
5982 ac_dB='[         ].*$,\1#\2'
5983 ac_dC=' '
5984 ac_dD=',;t'
5985 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5986 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
5987 ac_uB='$,\1#\2define\3'
5988 ac_uC=' '
5989 ac_uD=',;t'
5990
5991 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5992   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5993   case $ac_file in
5994   - | *:- | *:-:* ) # input from stdin
5995         cat >$tmp/stdin
5996         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5997         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5998   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5999         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6000   * )   ac_file_in=$ac_file.in ;;
6001   esac
6002
6003   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6004 echo "$as_me: creating $ac_file" >&6;}
6005
6006   # First look for the input files in the build tree, otherwise in the
6007   # src tree.
6008   ac_file_inputs=`IFS=:
6009     for f in $ac_file_in; do
6010       case $f in
6011       -) echo $tmp/stdin ;;
6012       [\\/$]*)
6013          # Absolute (can't be DOS-style, as IFS=:)
6014          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6015 echo "$as_me: error: cannot find input file: $f" >&2;}
6016    { (exit 1); exit 1; }; }
6017          # Do quote $f, to prevent DOS paths from being IFS'd.
6018          echo "$f";;
6019       *) # Relative
6020          if test -f "$f"; then
6021            # Build tree
6022            echo "$f"
6023          elif test -f "$srcdir/$f"; then
6024            # Source tree
6025            echo "$srcdir/$f"
6026          else
6027            # /dev/null tree
6028            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6029 echo "$as_me: error: cannot find input file: $f" >&2;}
6030    { (exit 1); exit 1; }; }
6031          fi;;
6032       esac
6033     done` || { (exit 1); exit 1; }
6034   # Remove the trailing spaces.
6035   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
6036
6037 _ACEOF
6038
6039 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6040 # `conftest.undefs', that substitutes the proper values into
6041 # config.h.in to produce config.h.  The first handles `#define'
6042 # templates, and the second `#undef' templates.
6043 # And first: Protect against being on the right side of a sed subst in
6044 # config.status.  Protect against being in an unquoted here document
6045 # in config.status.
6046 rm -f conftest.defines conftest.undefs
6047 # Using a here document instead of a string reduces the quoting nightmare.
6048 # Putting comments in sed scripts is not portable.
6049 #
6050 # `end' is used to avoid that the second main sed command (meant for
6051 # 0-ary CPP macros) applies to n-ary macro definitions.
6052 # See the Autoconf documentation for `clear'.
6053 cat >confdef2sed.sed <<\_ACEOF
6054 s/[\\&,]/\\&/g
6055 s,[\\$`],\\&,g
6056 t clear
6057 : clear
6058 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6059 t end
6060 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6061 : end
6062 _ACEOF
6063 # If some macros were called several times there might be several times
6064 # the same #defines, which is useless.  Nevertheless, we may not want to
6065 # sort them, since we want the *last* AC-DEFINE to be honored.
6066 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6067 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6068 rm -f confdef2sed.sed
6069
6070 # This sed command replaces #undef with comments.  This is necessary, for
6071 # example, in the case of _POSIX_SOURCE, which is predefined and required
6072 # on some systems where configure will not decide to define it.
6073 cat >>conftest.undefs <<\_ACEOF
6074 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6075 _ACEOF
6076
6077 # Break up conftest.defines because some shells have a limit on the size
6078 # of here documents, and old seds have small limits too (100 cmds).
6079 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6080 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6081 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6082 echo '  :' >>$CONFIG_STATUS
6083 rm -f conftest.tail
6084 while grep . conftest.defines >/dev/null
6085 do
6086   # Write a limited-size here document to $tmp/defines.sed.
6087   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6088   # Speed up: don't consider the non `#define' lines.
6089   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
6090   # Work around the forget-to-reset-the-flag bug.
6091   echo 't clr' >>$CONFIG_STATUS
6092   echo ': clr' >>$CONFIG_STATUS
6093   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6094   echo 'CEOF
6095   sed -f $tmp/defines.sed $tmp/in >$tmp/out
6096   rm -f $tmp/in
6097   mv $tmp/out $tmp/in
6098 ' >>$CONFIG_STATUS
6099   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6100   rm -f conftest.defines
6101   mv conftest.tail conftest.defines
6102 done
6103 rm -f conftest.defines
6104 echo '  fi # grep' >>$CONFIG_STATUS
6105 echo >>$CONFIG_STATUS
6106
6107 # Break up conftest.undefs because some shells have a limit on the size
6108 # of here documents, and old seds have small limits too (100 cmds).
6109 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
6110 rm -f conftest.tail
6111 while grep . conftest.undefs >/dev/null
6112 do
6113   # Write a limited-size here document to $tmp/undefs.sed.
6114   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6115   # Speed up: don't consider the non `#undef'
6116   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
6117   # Work around the forget-to-reset-the-flag bug.
6118   echo 't clr' >>$CONFIG_STATUS
6119   echo ': clr' >>$CONFIG_STATUS
6120   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6121   echo 'CEOF
6122   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6123   rm -f $tmp/in
6124   mv $tmp/out $tmp/in
6125 ' >>$CONFIG_STATUS
6126   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6127   rm -f conftest.undefs
6128   mv conftest.tail conftest.undefs
6129 done
6130 rm -f conftest.undefs
6131
6132 cat >>$CONFIG_STATUS <<\_ACEOF
6133   # Let's still pretend it is `configure' which instantiates (i.e., don't
6134   # use $as_me), people would be surprised to read:
6135   #    /* config.h.  Generated by config.status.  */
6136   if test x"$ac_file" = x-; then
6137     echo "/* Generated by configure.  */" >$tmp/config.h
6138   else
6139     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
6140   fi
6141   cat $tmp/in >>$tmp/config.h
6142   rm -f $tmp/in
6143   if test x"$ac_file" != x-; then
6144     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6145       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6146 echo "$as_me: $ac_file is unchanged" >&6;}
6147     else
6148       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6149 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6150          X"$ac_file" : 'X\(//\)[^/]' \| \
6151          X"$ac_file" : 'X\(//\)$' \| \
6152          X"$ac_file" : 'X\(/\)' \| \
6153          .     : '\(.\)' 2>/dev/null ||
6154 echo X"$ac_file" |
6155     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6156           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6157           /^X\(\/\/\)$/{ s//\1/; q; }
6158           /^X\(\/\).*/{ s//\1/; q; }
6159           s/.*/./; q'`
6160       { if $as_mkdir_p; then
6161     mkdir -p "$ac_dir"
6162   else
6163     as_dir="$ac_dir"
6164     as_dirs=
6165     while test ! -d "$as_dir"; do
6166       as_dirs="$as_dir $as_dirs"
6167       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6168 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6169          X"$as_dir" : 'X\(//\)[^/]' \| \
6170          X"$as_dir" : 'X\(//\)$' \| \
6171          X"$as_dir" : 'X\(/\)' \| \
6172          .     : '\(.\)' 2>/dev/null ||
6173 echo X"$as_dir" |
6174     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6175           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6176           /^X\(\/\/\)$/{ s//\1/; q; }
6177           /^X\(\/\).*/{ s//\1/; q; }
6178           s/.*/./; q'`
6179     done
6180     test ! -n "$as_dirs" || mkdir $as_dirs
6181   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6182 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6183    { (exit 1); exit 1; }; }; }
6184
6185       rm -f $ac_file
6186       mv $tmp/config.h $ac_file
6187     fi
6188   else
6189     cat $tmp/config.h
6190     rm -f $tmp/config.h
6191   fi
6192 # Compute $ac_file's index in $config_headers.
6193 _am_stamp_count=1
6194 for _am_header in $config_headers :; do
6195   case $_am_header in
6196     $ac_file | $ac_file:* )
6197       break ;;
6198     * )
6199       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6200   esac
6201 done
6202 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
6203 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6204          X$ac_file : 'X\(//\)[^/]' \| \
6205          X$ac_file : 'X\(//\)$' \| \
6206          X$ac_file : 'X\(/\)' \| \
6207          .     : '\(.\)' 2>/dev/null ||
6208 echo X$ac_file |
6209     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6210           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6211           /^X\(\/\/\)$/{ s//\1/; q; }
6212           /^X\(\/\).*/{ s//\1/; q; }
6213           s/.*/./; q'`/stamp-h$_am_stamp_count
6214 done
6215 _ACEOF
6216 cat >>$CONFIG_STATUS <<\_ACEOF
6217
6218 #
6219 # CONFIG_COMMANDS section.
6220 #
6221 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6222   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6223   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6224   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6225 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6226          X"$ac_dest" : 'X\(//\)[^/]' \| \
6227          X"$ac_dest" : 'X\(//\)$' \| \
6228          X"$ac_dest" : 'X\(/\)' \| \
6229          .     : '\(.\)' 2>/dev/null ||
6230 echo X"$ac_dest" |
6231     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6232           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6233           /^X\(\/\/\)$/{ s//\1/; q; }
6234           /^X\(\/\).*/{ s//\1/; q; }
6235           s/.*/./; q'`
6236   { if $as_mkdir_p; then
6237     mkdir -p "$ac_dir"
6238   else
6239     as_dir="$ac_dir"
6240     as_dirs=
6241     while test ! -d "$as_dir"; do
6242       as_dirs="$as_dir $as_dirs"
6243       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6244 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6245          X"$as_dir" : 'X\(//\)[^/]' \| \
6246          X"$as_dir" : 'X\(//\)$' \| \
6247          X"$as_dir" : 'X\(/\)' \| \
6248          .     : '\(.\)' 2>/dev/null ||
6249 echo X"$as_dir" |
6250     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6251           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6252           /^X\(\/\/\)$/{ s//\1/; q; }
6253           /^X\(\/\).*/{ s//\1/; q; }
6254           s/.*/./; q'`
6255     done
6256     test ! -n "$as_dirs" || mkdir $as_dirs
6257   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6258 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6259    { (exit 1); exit 1; }; }; }
6260
6261   ac_builddir=.
6262
6263 if test "$ac_dir" != .; then
6264   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6265   # A "../" for each directory in $ac_dir_suffix.
6266   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6267 else
6268   ac_dir_suffix= ac_top_builddir=
6269 fi
6270
6271 case $srcdir in
6272   .)  # No --srcdir option.  We are building in place.
6273     ac_srcdir=.
6274     if test -z "$ac_top_builddir"; then
6275        ac_top_srcdir=.
6276     else
6277        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6278     fi ;;
6279   [\\/]* | ?:[\\/]* )  # Absolute path.
6280     ac_srcdir=$srcdir$ac_dir_suffix;
6281     ac_top_srcdir=$srcdir ;;
6282   *) # Relative path.
6283     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6284     ac_top_srcdir=$ac_top_builddir$srcdir ;;
6285 esac
6286
6287 # Do not use `cd foo && pwd` to compute absolute paths, because
6288 # the directories may not exist.
6289 case `pwd` in
6290 .) ac_abs_builddir="$ac_dir";;
6291 *)
6292   case "$ac_dir" in
6293   .) ac_abs_builddir=`pwd`;;
6294   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6295   *) ac_abs_builddir=`pwd`/"$ac_dir";;
6296   esac;;
6297 esac
6298 case $ac_abs_builddir in
6299 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6300 *)
6301   case ${ac_top_builddir}. in
6302   .) ac_abs_top_builddir=$ac_abs_builddir;;
6303   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6304   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6305   esac;;
6306 esac
6307 case $ac_abs_builddir in
6308 .) ac_abs_srcdir=$ac_srcdir;;
6309 *)
6310   case $ac_srcdir in
6311   .) ac_abs_srcdir=$ac_abs_builddir;;
6312   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6313   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6314   esac;;
6315 esac
6316 case $ac_abs_builddir in
6317 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6318 *)
6319   case $ac_top_srcdir in
6320   .) ac_abs_top_srcdir=$ac_abs_builddir;;
6321   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6322   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6323   esac;;
6324 esac
6325
6326
6327   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6328 echo "$as_me: executing $ac_dest commands" >&6;}
6329   case $ac_dest in
6330     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6331   # Strip MF so we end up with the name of the file.
6332   mf=`echo "$mf" | sed -e 's/:.*$//'`
6333   # Check whether this is an Automake generated Makefile or not.
6334   # We used to match only the files named `Makefile.in', but
6335   # some people rename them; so instead we look at the file content.
6336   # Grep'ing the first line is not enough: some people post-process
6337   # each Makefile.in and add a new line on top of each file to say so.
6338   # So let's grep whole file.
6339   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
6340     dirpart=`(dirname "$mf") 2>/dev/null ||
6341 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6342          X"$mf" : 'X\(//\)[^/]' \| \
6343          X"$mf" : 'X\(//\)$' \| \
6344          X"$mf" : 'X\(/\)' \| \
6345          .     : '\(.\)' 2>/dev/null ||
6346 echo X"$mf" |
6347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6348           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6349           /^X\(\/\/\)$/{ s//\1/; q; }
6350           /^X\(\/\).*/{ s//\1/; q; }
6351           s/.*/./; q'`
6352   else
6353     continue
6354   fi
6355   grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
6356   # Extract the definition of DEP_FILES from the Makefile without
6357   # running `make'.
6358   DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
6359   test -z "$DEPDIR" && continue
6360   # When using ansi2knr, U may be empty or an underscore; expand it
6361   U=`sed -n -e '/^U = / s///p' < "$mf"`
6362   test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
6363   # We invoke sed twice because it is the simplest approach to
6364   # changing $(DEPDIR) to its actual value in the expansion.
6365   for file in `sed -n -e '
6366     /^DEP_FILES = .*\\\\$/ {
6367       s/^DEP_FILES = //
6368       :loop
6369         s/\\\\$//
6370         p
6371         n
6372         /\\\\$/ b loop
6373       p
6374     }
6375     /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
6376        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
6377     # Make sure the directory exists.
6378     test -f "$dirpart/$file" && continue
6379     fdir=`(dirname "$file") 2>/dev/null ||
6380 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6381          X"$file" : 'X\(//\)[^/]' \| \
6382          X"$file" : 'X\(//\)$' \| \
6383          X"$file" : 'X\(/\)' \| \
6384          .     : '\(.\)' 2>/dev/null ||
6385 echo X"$file" |
6386     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6387           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6388           /^X\(\/\/\)$/{ s//\1/; q; }
6389           /^X\(\/\).*/{ s//\1/; q; }
6390           s/.*/./; q'`
6391     { if $as_mkdir_p; then
6392     mkdir -p $dirpart/$fdir
6393   else
6394     as_dir=$dirpart/$fdir
6395     as_dirs=
6396     while test ! -d "$as_dir"; do
6397       as_dirs="$as_dir $as_dirs"
6398       as_dir=`(dirname "$as_dir") 2>/dev/null ||
6399 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6400          X"$as_dir" : 'X\(//\)[^/]' \| \
6401          X"$as_dir" : 'X\(//\)$' \| \
6402          X"$as_dir" : 'X\(/\)' \| \
6403          .     : '\(.\)' 2>/dev/null ||
6404 echo X"$as_dir" |
6405     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6406           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6407           /^X\(\/\/\)$/{ s//\1/; q; }
6408           /^X\(\/\).*/{ s//\1/; q; }
6409           s/.*/./; q'`
6410     done
6411     test ! -n "$as_dirs" || mkdir $as_dirs
6412   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
6413 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
6414    { (exit 1); exit 1; }; }; }
6415
6416     # echo "creating $dirpart/$file"
6417     echo '# dummy' > "$dirpart/$file"
6418   done
6419 done
6420  ;;
6421   esac
6422 done
6423 _ACEOF
6424
6425 cat >>$CONFIG_STATUS <<\_ACEOF
6426
6427 { (exit 0); exit 0; }
6428 _ACEOF
6429 chmod +x $CONFIG_STATUS
6430 ac_clean_files=$ac_clean_files_save
6431
6432
6433 # configure is writing to config.log, and then calls config.status.
6434 # config.status does its own redirection, appending to config.log.
6435 # Unfortunately, on DOS this fails, as config.log is still kept open
6436 # by configure, so config.status won't be able to write to it; its
6437 # output is simply discarded.  So we exec the FD to /dev/null,
6438 # effectively closing config.log, so it can be properly (re)opened and
6439 # appended to by config.status.  When coming back to configure, we
6440 # need to make the FD available again.
6441 if test "$no_create" != yes; then
6442   ac_cs_success=:
6443   ac_config_status_args=
6444   test "$silent" = yes &&
6445     ac_config_status_args="$ac_config_status_args --quiet"
6446   exec 5>/dev/null
6447   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6448   exec 5>>config.log
6449   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6450   # would make configure fail if this is the last instruction.
6451   $ac_cs_success || { (exit 1); exit 1; }
6452 fi
6453