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