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