2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for fixincludes .
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
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
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
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
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 \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
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 ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; 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
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
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
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
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
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
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
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
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
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 |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
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).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe 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
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
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'"
235 # We need space, tab and new line, in precisely that order.
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`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
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
='fixincludes'
269 PACKAGE_TARNAME
='fixincludes'
271 PACKAGE_STRING
='fixincludes '
274 ac_unique_file
="inclhack.def"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT WARN_CFLAGS WARN_PEDANTIC WERROR target_noncanonical TARGET CPP EGREP MAINT LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
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'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
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 ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
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'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
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.
430 -help |
--help |
--hel |
--he |
-h)
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)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
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)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
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)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
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)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
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)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
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'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
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" ;;
609 # Obsolete; use --with-x.
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; }; }
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'"
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}
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`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
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`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
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.
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
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 ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
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; }; }
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}
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.
781 \`configure' configures fixincludes 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.
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 \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
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]
835 --build=BUILD configure
for building on BUILD
[guessed
]
836 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
837 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
841 if test -n "$ac_init_help"; then
842 case $ac_init_help in
843 short | recursive
) echo "Configuration of fixincludes :";;
848 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
849 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
850 --enable-werror-always enable -Werror despite compiler version
851 --enable-twoprocess Use a separate process to apply the fixes
852 --enable-maintainer-mode enable make rules and dependencies not useful
853 (and sometimes confusing
) to the casual installer
856 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
857 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
858 --with-local-prefix=DIR specifies directory to put
local include
860 Some influential environment variables
:
861 CC C compiler
command
862 CFLAGS C compiler flags
863 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
864 nonstandard directory
<lib dir
>
865 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
866 headers
in a nonstandard directory
<include dir
>
869 Use these variables to override the choices made by
`configure' or to help
870 it to find libraries and programs with nonstandard names/locations.
875 if test "$ac_init_help" = "recursive"; then
876 # If there are subdirs, report their specific --help.
878 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
879 test -d $ac_dir || continue
882 if test "$ac_dir" != .; then
883 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
884 # A "../" for each directory in $ac_dir_suffix.
885 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
887 ac_dir_suffix= ac_top_builddir=
891 .) # No --srcdir option. We are building in place.
893 if test -z "$ac_top_builddir"; then
896 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
898 [\\/]* | ?:[\\/]* ) # Absolute path.
899 ac_srcdir=$srcdir$ac_dir_suffix;
900 ac_top_srcdir=$srcdir ;;
902 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903 ac_top_srcdir=$ac_top_builddir$srcdir ;;
906 # Do not use `cd foo
&& pwd` to compute absolute paths, because
907 # the directories may not exist.
909 .) ac_abs_builddir="$ac_dir";;
912 .) ac_abs_builddir=`pwd`;;
913 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
914 *) ac_abs_builddir=`pwd`/"$ac_dir";;
917 case $ac_abs_builddir in
918 .) ac_abs_top_builddir=${ac_top_builddir}.;;
920 case ${ac_top_builddir}. in
921 .) ac_abs_top_builddir=$ac_abs_builddir;;
922 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
923 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
926 case $ac_abs_builddir in
927 .) ac_abs_srcdir=$ac_srcdir;;
930 .) ac_abs_srcdir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
932 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
935 case $ac_abs_builddir in
936 .) ac_abs_top_srcdir=$ac_top_srcdir;;
938 case $ac_top_srcdir in
939 .) ac_abs_top_srcdir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
941 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
946 # Check for guested configure; otherwise get Cygnus style configure.
947 if test -f $ac_srcdir/configure.gnu; then
949 $SHELL $ac_srcdir/configure.gnu --help=recursive
950 elif test -f $ac_srcdir/configure; then
952 $SHELL $ac_srcdir/configure --help=recursive
953 elif test -f $ac_srcdir/configure.ac ||
954 test -f $ac_srcdir/configure.in; then
958 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
964 test -n "$ac_init_help" && exit 0
965 if $ac_init_version; then
967 fixincludes configure
968 generated by GNU Autoconf 2.59
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.
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 fixincludes $as_me , which was
982 generated by GNU Autoconf 2.59. Invocation command line was
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
`
1012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1016 test -z "$as_dir" && as_dir=.
1017 echo "PATH: $as_dir"
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.
1041 ac_must_keep_next=false
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)
1051 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1052 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
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.
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 ;;
1070 -* ) ac_must_keep_next=true ;;
1073 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1074 # Get rid of the leading space.
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.
1094 ## ---------------- ##
1095 ## Cache variables. ##
1096 ## ---------------- ##
1099 # The following way of writing the cache mishandles newlines in values,
1102 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1105 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1106 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1110 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1117 ## ----------------- ##
1118 ## Output variables. ##
1119 ## ----------------- ##
1122 for ac_var
in $ac_subst_vars
1124 eval ac_val
=$
`echo $ac_var`
1125 echo "$ac_var='"'"'$ac_val'"'"'"
1129 if test -n "$ac_subst_files"; then
1136 for ac_var
in $ac_subst_files
1138 eval ac_val
=$
`echo $ac_var`
1139 echo "$ac_var='"'"'$ac_val'"'"'"
1144 if test -s confdefs.h
; then
1151 sed "/^$/d" confdefs.h |
sort
1154 test "$ac_signal" != 0 &&
1155 echo "$as_me: caught signal $ac_signal"
1156 echo "$as_me: exit $exit_status"
1158 rm -f core
*.core
&&
1159 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1162 for ac_signal in 1 2 13 15; do
1163 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
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.
1172 # Predefined preprocessor variables.
1174 cat >>confdefs.h <<_ACEOF
1175 #define PACKAGE_NAME "$PACKAGE_NAME"
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_STRING "$PACKAGE_STRING"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
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"
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
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;}
1224 [\\/]* | ?:[\\/]* ) . $cache_file;;
1225 *) . ./$cache_file;;
1229 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1230 echo "$as_me: creating cache $cache_file" >&6;}
1234 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
1264 # Pass precious variables to config.status.
1265 if test "$ac_new_set" = set; then
1267 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1268 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1269 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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
1319 for ac_dir in .. $srcdir/..; do
1320 if test -f $ac_dir/install-sh; then
1322 ac_install_sh="$ac_aux_dir/install-sh -c"
1324 elif test -f $ac_dir/install.sh; then
1326 ac_install_sh="$ac_aux_dir/install.sh -c"
1328 elif test -f $ac_dir/shtool; then
1330 ac_install_sh="$ac_aux_dir/shtool install -c"
1334 if test -z "$ac_aux_dir"; then
1335 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1336 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1337 { (exit 1); exit 1; }; }
1339 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1340 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1341 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1343 # Make sure we can run config.sub.
1344 $ac_config_sub sun4 >/dev/null 2>&1 ||
1345 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1346 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1347 { (exit 1); exit 1; }; }
1349 echo "$as_me:$LINENO: checking build system type" >&5
1350 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1351 if test "${ac_cv_build+set}" = set; then
1352 echo $ECHO_N "(cached) $ECHO_C" >&6
1354 ac_cv_build_alias=$build_alias
1355 test -z "$ac_cv_build_alias" &&
1356 ac_cv_build_alias=`$ac_config_guess`
1357 test -z "$ac_cv_build_alias" &&
1358 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1359 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1360 { (exit 1); exit 1; }; }
1361 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1362 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1363 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1364 { (exit 1); exit 1; }; }
1367 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1368 echo "${ECHO_T}$ac_cv_build" >&6
1370 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1371 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1372 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1375 echo "$as_me:$LINENO: checking host system type" >&5
1376 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1377 if test "${ac_cv_host+set}" = set; then
1378 echo $ECHO_N "(cached) $ECHO_C" >&6
1380 ac_cv_host_alias=$host_alias
1381 test -z "$ac_cv_host_alias" &&
1382 ac_cv_host_alias=$ac_cv_build_alias
1383 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1384 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1385 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1386 { (exit 1); exit 1; }; }
1389 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1390 echo "${ECHO_T}$ac_cv_host" >&6
1392 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1393 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1394 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1397 echo "$as_me:$LINENO: checking target system type" >&5
1398 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1399 if test "${ac_cv_target+set}" = set; then
1400 echo $ECHO_N "(cached) $ECHO_C" >&6
1402 ac_cv_target_alias=$target_alias
1403 test "x$ac_cv_target_alias" = "x" &&
1404 ac_cv_target_alias=$ac_cv_host_alias
1405 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1406 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1407 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1408 { (exit 1); exit 1; }; }
1411 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1412 echo "${ECHO_T}$ac_cv_target" >&6
1413 target=$ac_cv_target
1414 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1415 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1416 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1419 # The aliases save the names the user supplied, while $host etc.
1420 # will get canonicalized.
1421 test -n "$target_alias" &&
1422 test "$program_prefix$program_suffix$program_transform_name" = \
1424 program_prefix=${target_alias}-
1426 ac_cpp='$CPP $CPPFLAGS'
1427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1428 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1430 if test -n "$ac_tool_prefix"; then
1431 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1432 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1433 echo "$as_me:$LINENO: checking for $ac_word" >&5
1434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1435 if test "${ac_cv_prog_CC+set}" = set; then
1436 echo $ECHO_N "(cached) $ECHO_C" >&6
1438 if test -n "$CC"; then
1439 ac_cv_prog_CC="$CC" # Let the user override the test.
1441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1445 test -z "$as_dir" && as_dir=.
1446 for ac_exec_ext in '' $ac_executable_extensions; do
1447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1448 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1458 if test -n "$CC"; then
1459 echo "$as_me:$LINENO: result: $CC" >&5
1460 echo "${ECHO_T}$CC" >&6
1462 echo "$as_me:$LINENO: result: no" >&5
1463 echo "${ECHO_T}no" >&6
1467 if test -z "$ac_cv_prog_CC"; then
1469 # Extract the first word of "gcc", so it can be a program name with args.
1470 set dummy gcc; ac_word=$2
1471 echo "$as_me:$LINENO: checking for $ac_word" >&5
1472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1473 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1474 echo $ECHO_N "(cached) $ECHO_C" >&6
1476 if test -n "$ac_ct_CC"; then
1477 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1483 test -z "$as_dir" && as_dir=.
1484 for ac_exec_ext in '' $ac_executable_extensions; do
1485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1486 ac_cv_prog_ac_ct_CC="gcc"
1487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1495 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1496 if test -n "$ac_ct_CC"; then
1497 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1498 echo "${ECHO_T}$ac_ct_CC" >&6
1500 echo "$as_me:$LINENO: result: no" >&5
1501 echo "${ECHO_T}no" >&6
1509 if test -z "$CC"; then
1510 if test -n "$ac_tool_prefix"; then
1511 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1512 set dummy ${ac_tool_prefix}cc; ac_word=$2
1513 echo "$as_me:$LINENO: checking for $ac_word" >&5
1514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1515 if test "${ac_cv_prog_CC+set}" = set; then
1516 echo $ECHO_N "(cached) $ECHO_C" >&6
1518 if test -n "$CC"; then
1519 ac_cv_prog_CC="$CC" # Let the user override the test.
1521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1525 test -z "$as_dir" && as_dir=.
1526 for ac_exec_ext in '' $ac_executable_extensions; do
1527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1528 ac_cv_prog_CC="${ac_tool_prefix}cc"
1529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1538 if test -n "$CC"; then
1539 echo "$as_me:$LINENO: result: $CC" >&5
1540 echo "${ECHO_T}$CC" >&6
1542 echo "$as_me:$LINENO: result: no" >&5
1543 echo "${ECHO_T}no" >&6
1547 if test -z "$ac_cv_prog_CC"; then
1549 # Extract the first word of "cc", so it can be a program name with args.
1550 set dummy cc; ac_word=$2
1551 echo "$as_me:$LINENO: checking for $ac_word" >&5
1552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1553 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 if test -n "$ac_ct_CC"; then
1557 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1563 test -z "$as_dir" && as_dir=.
1564 for ac_exec_ext in '' $ac_executable_extensions; do
1565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1566 ac_cv_prog_ac_ct_CC="cc"
1567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1576 if test -n "$ac_ct_CC"; then
1577 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1578 echo "${ECHO_T}$ac_ct_CC" >&6
1580 echo "$as_me:$LINENO: result: no" >&5
1581 echo "${ECHO_T}no" >&6
1590 if test -z "$CC"; then
1591 # Extract the first word of "cc", so it can be a program name with args.
1592 set dummy cc; ac_word=$2
1593 echo "$as_me:$LINENO: checking for $ac_word" >&5
1594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1595 if test "${ac_cv_prog_CC+set}" = set; then
1596 echo $ECHO_N "(cached) $ECHO_C" >&6
1598 if test -n "$CC"; then
1599 ac_cv_prog_CC="$CC" # Let the user override the test.
1602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1606 test -z "$as_dir" && as_dir=.
1607 for ac_exec_ext in '' $ac_executable_extensions; do
1608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1609 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1610 ac_prog_rejected=yes
1614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1620 if test $ac_prog_rejected = yes; then
1621 # We found a bogon in the path, so make sure we never use it.
1622 set dummy $ac_cv_prog_CC
1624 if test $# != 0; then
1625 # We chose a different compiler from the bogus one.
1626 # However, it has the same basename, so the bogon will be chosen
1627 # first if we set CC to just the basename; use the full file name.
1629 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1635 if test -n "$CC"; then
1636 echo "$as_me:$LINENO: result: $CC" >&5
1637 echo "${ECHO_T}$CC" >&6
1639 echo "$as_me:$LINENO: result: no" >&5
1640 echo "${ECHO_T}no" >&6
1644 if test -z "$CC"; then
1645 if test -n "$ac_tool_prefix"; then
1648 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1649 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1650 echo "$as_me:$LINENO: checking for $ac_word" >&5
1651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1652 if test "${ac_cv_prog_CC+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 if test -n "$CC"; then
1656 ac_cv_prog_CC="$CC" # Let the user override the test.
1658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1662 test -z "$as_dir" && as_dir=.
1663 for ac_exec_ext in '' $ac_executable_extensions; do
1664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1665 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1675 if test -n "$CC"; then
1676 echo "$as_me:$LINENO: result: $CC" >&5
1677 echo "${ECHO_T}$CC" >&6
1679 echo "$as_me:$LINENO: result: no" >&5
1680 echo "${ECHO_T}no" >&6
1683 test -n "$CC" && break
1686 if test -z "$CC"; then
1690 # Extract the first word of "$ac_prog", so it can be a program name with args.
1691 set dummy $ac_prog; ac_word=$2
1692 echo "$as_me:$LINENO: checking for $ac_word" >&5
1693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1694 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1697 if test -n "$ac_ct_CC"; then
1698 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1704 test -z "$as_dir" && as_dir=.
1705 for ac_exec_ext in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 ac_cv_prog_ac_ct_CC="$ac_prog"
1708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1716 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1717 if test -n "$ac_ct_CC"; then
1718 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1719 echo "${ECHO_T}$ac_ct_CC" >&6
1721 echo "$as_me:$LINENO: result: no" >&5
1722 echo "${ECHO_T}no" >&6
1725 test -n "$ac_ct_CC" && break
1734 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1735 See \`config.log' for more details.
" >&5
1736 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1737 See \
`config.log' for more details." >&2;}
1738 { (exit 1); exit 1; }; }
1740 # Provide some information about the compiler.
1741 echo "$as_me:$LINENO:" \
1742 "checking for C compiler version" >&5
1743 ac_compiler=`set X
$ac_compile; echo $2`
1744 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1745 (eval $ac_compiler --version </dev/null >&5) 2>&5
1747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1748 (exit $ac_status); }
1749 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1750 (eval $ac_compiler -v </dev/null >&5) 2>&5
1752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1753 (exit $ac_status); }
1754 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1755 (eval $ac_compiler -V </dev/null >&5) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }
1760 cat >conftest.$ac_ext <<_ACEOF
1763 cat confdefs.h >>conftest.$ac_ext
1764 cat >>conftest.$ac_ext <<_ACEOF
1765 /* end confdefs.h. */
1775 ac_clean_files_save=$ac_clean_files
1776 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1777 # Try to create an executable without -o first, disregard a.out.
1778 # It will help us diagnose broken compilers, and finding out an intuition
1780 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1781 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1782 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1783 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1784 (eval $ac_link_default) 2>&5
1786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1787 (exit $ac_status); }; then
1788 # Find the output, starting from the most likely. This scheme is
1789 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1792 # Be careful to initialize this variable, since it used to be cached.
1793 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1795 # b.out is created by i960 compilers.
1796 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1798 test -f "$ac_file" || continue
1800 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1803 # This is the source file.
1806 # We found the default executable, but exeext='' is most
1810 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1811 # FIXME: I believe we export ac_cv_exeext for Libtool,
1812 # but it would be cool to find out if it's true. Does anybody
1813 # maintain Libtool? --akim.
1821 echo "$as_me: failed program was:" >&5
1822 sed 's/^/| /' conftest.$ac_ext >&5
1824 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1825 See \`config.log
' for more details." >&5
1826 echo "$as_me: error: C compiler cannot create executables
1827 See \`config.log' for more details.
" >&2;}
1828 { (exit 77); exit 77; }; }
1831 ac_exeext=$ac_cv_exeext
1832 echo "$as_me:$LINENO: result
: $ac_file" >&5
1833 echo "${ECHO_T}$ac_file" >&6
1835 # Check the compiler produces executables we can run. If not, either
1836 # the compiler is broken, or we cross compile.
1837 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1838 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1839 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1840 # If not cross compiling, check that we can run a simple program.
1841 if test "$cross_compiling" != yes; then
1842 if { ac_try='./$ac_file'
1843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1846 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1847 (exit $ac_status); }; }; then
1850 if test "$cross_compiling" = maybe; then
1853 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1854 If you meant to cross compile
, use \
`--host'.
1855 See \`config.log
' for more details." >&5
1856 echo "$as_me: error: cannot run C compiled programs.
1857 If you meant to cross compile, use \`--host'.
1858 See \
`config.log' for more details." >&2;}
1859 { (exit 1); exit 1; }; }
1863 echo "$as_me:$LINENO: result: yes" >&5
1864 echo "${ECHO_T}yes" >&6
1866 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1867 ac_clean_files=$ac_clean_files_save
1868 # Check the compiler produces executables we can run. If not, either
1869 # the compiler is broken, or we cross compile.
1870 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1871 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1872 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1873 echo "${ECHO_T}$cross_compiling" >&6
1875 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1876 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1878 (eval $ac_link) 2>&5
1880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1881 (exit $ac_status); }; then
1882 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1883 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1884 # work properly (i.e., refer to `conftest.exe'), while it won't with
1886 for ac_file
in conftest.exe conftest conftest.
*; do
1887 test -f "$ac_file" ||
continue
1889 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1890 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1897 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1898 See \`config.log' for more details." >&5
1899 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1900 See \`config.log' for more details." >&2;}
1901 { (exit 1); exit 1; }; }
1904 rm -f conftest
$ac_cv_exeext
1905 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1906 echo "${ECHO_T}$ac_cv_exeext" >&6
1908 rm -f conftest.
$ac_ext
1909 EXEEXT
=$ac_cv_exeext
1911 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1912 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1913 if test "${ac_cv_objext+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1916 cat >conftest.
$ac_ext <<_ACEOF
1919 cat confdefs.h
>>conftest.
$ac_ext
1920 cat >>conftest.
$ac_ext <<_ACEOF
1921 /* end confdefs.h. */
1931 rm -f conftest.o conftest.obj
1932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1933 (eval $ac_compile) 2>&5
1935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1936 (exit $ac_status); }; then
1937 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1939 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1940 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1945 echo "$as_me: failed program was:" >&5
1946 sed 's/^/| /' conftest.
$ac_ext >&5
1948 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1949 See \`config.log' for more details." >&5
1950 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1951 See \`config.log' for more details." >&2;}
1952 { (exit 1); exit 1; }; }
1955 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1957 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1958 echo "${ECHO_T}$ac_cv_objext" >&6
1959 OBJEXT
=$ac_cv_objext
1961 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1962 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1963 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1964 echo $ECHO_N "(cached) $ECHO_C" >&6
1966 cat >conftest.
$ac_ext <<_ACEOF
1969 cat confdefs.h
>>conftest.
$ac_ext
1970 cat >>conftest.
$ac_ext <<_ACEOF
1971 /* end confdefs.h. */
1984 rm -f conftest.
$ac_objext
1985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1986 (eval $ac_compile) 2>conftest.er1
1988 grep -v '^ *+' conftest.er1
>conftest.err
1990 cat conftest.err
>&5
1991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992 (exit $ac_status); } &&
1993 { ac_try
='test -z "$ac_c_werror_flag"
1994 || test ! -s conftest.err'
1995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999 (exit $ac_status); }; } &&
2000 { ac_try
='test -s conftest.$ac_objext'
2001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2005 (exit $ac_status); }; }; then
2008 echo "$as_me: failed program was:" >&5
2009 sed 's/^/| /' conftest.
$ac_ext >&5
2013 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2014 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2017 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2018 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2019 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2020 ac_test_CFLAGS
=${CFLAGS+set}
2021 ac_save_CFLAGS
=$CFLAGS
2023 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2024 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2025 if test "${ac_cv_prog_cc_g+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 cat >conftest.
$ac_ext <<_ACEOF
2031 cat confdefs.h
>>conftest.
$ac_ext
2032 cat >>conftest.
$ac_ext <<_ACEOF
2033 /* end confdefs.h. */
2043 rm -f conftest.
$ac_objext
2044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2045 (eval $ac_compile) 2>conftest.er1
2047 grep -v '^ *+' conftest.er1
>conftest.err
2049 cat conftest.err
>&5
2050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051 (exit $ac_status); } &&
2052 { ac_try
='test -z "$ac_c_werror_flag"
2053 || test ! -s conftest.err'
2054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); }; } &&
2059 { ac_try
='test -s conftest.$ac_objext'
2060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064 (exit $ac_status); }; }; then
2067 echo "$as_me: failed program was:" >&5
2068 sed 's/^/| /' conftest.
$ac_ext >&5
2072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2074 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2075 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2076 if test "$ac_test_CFLAGS" = set; then
2077 CFLAGS
=$ac_save_CFLAGS
2078 elif test $ac_cv_prog_cc_g = yes; then
2079 if test "$GCC" = yes; then
2085 if test "$GCC" = yes; then
2091 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2092 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2093 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 ac_cv_prog_cc_stdc
=no
2098 cat >conftest.
$ac_ext <<_ACEOF
2101 cat confdefs.h
>>conftest.
$ac_ext
2102 cat >>conftest.
$ac_ext <<_ACEOF
2103 /* end confdefs.h. */
2106 #include <sys/types.h>
2107 #include <sys/stat.h>
2108 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2109 struct buf { int x; };
2110 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2111 static char *e (p, i)
2117 static char *f (char * (*g) (char **, int), char **p, ...)
2122 s = g (p, va_arg (v,int));
2127 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2128 function prototypes and stuff, but not '\xHH' hex character constants.
2129 These don't provoke an error unfortunately, instead are silently treated
2130 as 'x'. The following induces an error, until -std1 is added to get
2131 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2132 array size at least. It's necessary to write '\x00'==0 to get something
2133 that's true only with -std1. */
2134 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2136 int test (int i, double x);
2137 struct s1 {int (*f) (int a);};
2138 struct s2 {int (*f) (double a);};
2139 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2145 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2150 # Don't try gcc -ansi; that turns off useful extensions and
2151 # breaks some systems' header files.
2152 # AIX -qlanglvl=ansi
2153 # Ultrix and OSF/1 -std1
2154 # HP-UX 10.20 and later -Ae
2155 # HP-UX older versions -Aa -D_HPUX_SOURCE
2156 # SVR4 -Xc -D__EXTENSIONS__
2157 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2159 CC
="$ac_save_CC $ac_arg"
2160 rm -f conftest.
$ac_objext
2161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2162 (eval $ac_compile) 2>conftest.er1
2164 grep -v '^ *+' conftest.er1
>conftest.err
2166 cat conftest.err
>&5
2167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168 (exit $ac_status); } &&
2169 { ac_try
='test -z "$ac_c_werror_flag"
2170 || test ! -s conftest.err'
2171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }; } &&
2176 { ac_try
='test -s conftest.$ac_objext'
2177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); }; }; then
2182 ac_cv_prog_cc_stdc
=$ac_arg
2185 echo "$as_me: failed program was:" >&5
2186 sed 's/^/| /' conftest.
$ac_ext >&5
2189 rm -f conftest.err conftest.
$ac_objext
2191 rm -f conftest.
$ac_ext conftest.
$ac_objext
2196 case "x$ac_cv_prog_cc_stdc" in
2198 echo "$as_me:$LINENO: result: none needed" >&5
2199 echo "${ECHO_T}none needed" >&6 ;;
2201 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2202 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2203 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2206 # Some people use a C++ compiler to compile C. Since we use `exit',
2207 # in C++ we need to declare it. In case someone uses the same compiler
2208 # for both compiling C and C++ we need to have the C++ compiler decide
2209 # the declaration of exit, since it's the most demanding environment.
2210 cat >conftest.
$ac_ext <<_ACEOF
2215 rm -f conftest.
$ac_objext
2216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2217 (eval $ac_compile) 2>conftest.er1
2219 grep -v '^ *+' conftest.er1
>conftest.err
2221 cat conftest.err
>&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); } &&
2224 { ac_try
='test -z "$ac_c_werror_flag"
2225 || test ! -s conftest.err'
2226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2230 (exit $ac_status); }; } &&
2231 { ac_try
='test -s conftest.$ac_objext'
2232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236 (exit $ac_status); }; }; then
2237 for ac_declaration
in \
2239 'extern "C" void std::exit (int) throw (); using std::exit;' \
2240 'extern "C" void std::exit (int); using std::exit;' \
2241 'extern "C" void exit (int) throw ();' \
2242 'extern "C" void exit (int);' \
2245 cat >conftest.
$ac_ext <<_ACEOF
2248 cat confdefs.h
>>conftest.
$ac_ext
2249 cat >>conftest.
$ac_ext <<_ACEOF
2250 /* end confdefs.h. */
2261 rm -f conftest.
$ac_objext
2262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2263 (eval $ac_compile) 2>conftest.er1
2265 grep -v '^ *+' conftest.er1
>conftest.err
2267 cat conftest.err
>&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); } &&
2270 { ac_try
='test -z "$ac_c_werror_flag"
2271 || test ! -s conftest.err'
2272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; } &&
2277 { ac_try
='test -s conftest.$ac_objext'
2278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2282 (exit $ac_status); }; }; then
2285 echo "$as_me: failed program was:" >&5
2286 sed 's/^/| /' conftest.
$ac_ext >&5
2290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2291 cat >conftest.
$ac_ext <<_ACEOF
2294 cat confdefs.h
>>conftest.
$ac_ext
2295 cat >>conftest.
$ac_ext <<_ACEOF
2296 /* end confdefs.h. */
2306 rm -f conftest.
$ac_objext
2307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2308 (eval $ac_compile) 2>conftest.er1
2310 grep -v '^ *+' conftest.er1
>conftest.err
2312 cat conftest.err
>&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); } &&
2315 { ac_try
='test -z "$ac_c_werror_flag"
2316 || test ! -s conftest.err'
2317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }; } &&
2322 { ac_try
='test -s conftest.$ac_objext'
2323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); }; }; then
2330 echo "$as_me: failed program was:" >&5
2331 sed 's/^/| /' conftest.
$ac_ext >&5
2334 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2337 if test -n "$ac_declaration"; then
2338 echo '#ifdef __cplusplus' >>confdefs.h
2339 echo $ac_declaration >>confdefs.h
2340 echo '#endif' >>confdefs.h
2344 echo "$as_me: failed program was:" >&5
2345 sed 's/^/| /' conftest.
$ac_ext >&5
2348 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2350 ac_cpp
='$CPP $CPPFLAGS'
2351 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2352 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2353 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2356 # Figure out what compiler warnings we can enable.
2357 # See config/warnings.m4 for details.
2361 save_CFLAGS
="$CFLAGS"
2362 for option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
2363 -Wmissing-prototypes -Wold-style-definition \
2364 -Wmissing-format-attribute; do
2365 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
2367 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
2368 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6
2369 if eval "test \"\${$as_acx_Woption+set}\" = set"; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2373 cat >conftest.
$ac_ext <<_ACEOF
2376 cat confdefs.h
>>conftest.
$ac_ext
2377 cat >>conftest.
$ac_ext <<_ACEOF
2378 /* end confdefs.h. */
2388 rm -f conftest.
$ac_objext
2389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2390 (eval $ac_compile) 2>conftest.er1
2392 grep -v '^ *+' conftest.er1
>conftest.err
2394 cat conftest.err
>&5
2395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2396 (exit $ac_status); } &&
2397 { ac_try
='test -z "$ac_c_werror_flag"
2398 || test ! -s conftest.err'
2399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2403 (exit $ac_status); }; } &&
2404 { ac_try
='test -s conftest.$ac_objext'
2405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2409 (exit $ac_status); }; }; then
2410 eval "$as_acx_Woption=yes"
2412 echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.
$ac_ext >&5
2415 eval "$as_acx_Woption=no"
2417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2420 echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5
2421 echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6
2422 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
2423 WARN_CFLAGS
="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
2427 CFLAGS
="$save_CFLAGS"
2430 if test "$GCC" = yes; then
2431 echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
2432 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
2433 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 save_CFLAGS
="$CFLAGS"
2437 CFLAGS
="-pedantic -Wno-long-long"
2438 cat >conftest.
$ac_ext <<_ACEOF
2441 cat confdefs.h
>>conftest.
$ac_ext
2442 cat >>conftest.
$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2453 rm -f conftest.
$ac_objext
2454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2455 (eval $ac_compile) 2>conftest.er1
2457 grep -v '^ *+' conftest.er1
>conftest.err
2459 cat conftest.err
>&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); } &&
2462 { ac_try
='test -z "$ac_c_werror_flag"
2463 || test ! -s conftest.err'
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; } &&
2469 { ac_try
='test -s conftest.$ac_objext'
2470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; }; then
2475 acx_cv_prog_cc_pedantic__Wno_long_long
=yes
2477 echo "$as_me: failed program was:" >&5
2478 sed 's/^/| /' conftest.
$ac_ext >&5
2480 acx_cv_prog_cc_pedantic__Wno_long_long
=no
2482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2483 CFLAGS
="$save_CFLAGS"
2485 echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
2486 echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long" >&6
2487 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
2488 WARN_PEDANTIC
="-pedantic -Wno-long-long"
2496 # Only enable with --enable-werror-always until existing warnings are
2499 # Check whether --enable-werror-always or --disable-werror-always was given.
2500 if test "${enable_werror_always+set}" = set; then
2501 enableval
="$enable_werror_always"
2504 enable_werror_always
=no
2506 if test $enable_werror_always = yes; then
2512 # Determine the noncanonical target name, for directory use.
2513 case ${build_alias} in
2514 "") build_noncanonical
=${build} ;;
2515 *) build_noncanonical
=${build_alias} ;;
2518 case ${host_alias} in
2519 "") host_noncanonical
=${build_noncanonical} ;;
2520 *) host_noncanonical
=${host_alias} ;;
2523 case ${target_alias} in
2524 "") target_noncanonical
=${host_noncanonical} ;;
2525 *) target_noncanonical
=${target_alias} ;;
2531 # Specify the local prefix
2534 # Check whether --with-local-prefix or --without-local-prefix was given.
2535 if test "${with_local_prefix+set}" = set; then
2536 withval
="$with_local_prefix"
2537 case "${withval}" in
2538 yes) { { echo "$as_me:$LINENO: error: bad value ${withval} given for local include directory prefix" >&5
2539 echo "$as_me: error: bad value ${withval} given for local include directory prefix" >&2;}
2540 { (exit 1); exit 1; }; } ;;
2542 *) local_prefix
=$with_local_prefix ;;
2546 # Default local prefix if it is empty
2547 if test x
$local_prefix = x
; then
2548 local_prefix
=/usr
/local
2551 # Choose one or two-process fix methodology. Systems that cannot handle
2552 # bi-directional pipes must use the two process method.
2554 # Check whether --enable-twoprocess or --disable-twoprocess was given.
2555 if test "${enable_twoprocess+set}" = set; then
2556 enableval
="$enable_twoprocess"
2557 if test "x$enable_twoprocess" = xyes
; then
2564 i?
86-*-msdosdjgpp* | \
2577 if test $TARGET = twoprocess
; then
2579 cat >>confdefs.h
<<\_ACEOF
2580 #define SEPARATE_FIX_PROC 1
2588 cat >>confdefs.h
<<\_ACEOF
2593 cat >>confdefs.h
<<\_ACEOF
2594 #define atexit xatexit
2601 cat >>confdefs.h
<<_ACEOF
2602 #define EXE_EXT "$ac_exeext"
2606 # Checks for header files.
2608 ac_cpp
='$CPP $CPPFLAGS'
2609 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2610 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2611 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2612 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2613 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2614 # On Suns, sometimes $CPP names a directory.
2615 if test -n "$CPP" && test -d "$CPP"; then
2618 if test -z "$CPP"; then
2619 if test "${ac_cv_prog_CPP+set}" = set; then
2620 echo $ECHO_N "(cached) $ECHO_C" >&6
2622 # Double quotes because CPP needs to be expanded
2623 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2626 for ac_c_preproc_warn_flag
in '' yes
2628 # Use a header file that comes with gcc, so configuring glibc
2629 # with a fresh cross-compiler works.
2630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2631 # <limits.h> exists even on freestanding compilers.
2632 # On the NeXT, cc -E runs the code through the compiler's parser,
2633 # not just through cpp. "Syntax error" is here to catch this case.
2634 cat >conftest.
$ac_ext <<_ACEOF
2637 cat confdefs.h
>>conftest.
$ac_ext
2638 cat >>conftest.
$ac_ext <<_ACEOF
2639 /* end confdefs.h. */
2641 # include <limits.h>
2643 # include <assert.h>
2647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2648 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2650 grep -v '^ *+' conftest.er1
>conftest.err
2652 cat conftest.err
>&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); } >/dev
/null
; then
2655 if test -s conftest.err
; then
2656 ac_cpp_err
=$ac_c_preproc_warn_flag
2657 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2664 if test -z "$ac_cpp_err"; then
2667 echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.
$ac_ext >&5
2670 # Broken: fails on valid input.
2673 rm -f conftest.err conftest.
$ac_ext
2675 # OK, works on sane cases. Now check whether non-existent headers
2676 # can be detected and how.
2677 cat >conftest.
$ac_ext <<_ACEOF
2680 cat confdefs.h
>>conftest.
$ac_ext
2681 cat >>conftest.
$ac_ext <<_ACEOF
2682 /* end confdefs.h. */
2683 #include <ac_nonexistent.h>
2685 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2686 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2688 grep -v '^ *+' conftest.er1
>conftest.err
2690 cat conftest.err
>&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } >/dev
/null
; then
2693 if test -s conftest.err
; then
2694 ac_cpp_err
=$ac_c_preproc_warn_flag
2695 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2702 if test -z "$ac_cpp_err"; then
2703 # Broken: success on invalid input.
2706 echo "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.
$ac_ext >&5
2709 # Passes both tests.
2713 rm -f conftest.err conftest.
$ac_ext
2716 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2717 rm -f conftest.err conftest.
$ac_ext
2718 if $ac_preproc_ok; then
2730 echo "$as_me:$LINENO: result: $CPP" >&5
2731 echo "${ECHO_T}$CPP" >&6
2733 for ac_c_preproc_warn_flag
in '' yes
2735 # Use a header file that comes with gcc, so configuring glibc
2736 # with a fresh cross-compiler works.
2737 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2738 # <limits.h> exists even on freestanding compilers.
2739 # On the NeXT, cc -E runs the code through the compiler's parser,
2740 # not just through cpp. "Syntax error" is here to catch this case.
2741 cat >conftest.
$ac_ext <<_ACEOF
2744 cat confdefs.h
>>conftest.
$ac_ext
2745 cat >>conftest.
$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2748 # include <limits.h>
2750 # include <assert.h>
2754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2755 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2757 grep -v '^ *+' conftest.er1
>conftest.err
2759 cat conftest.err
>&5
2760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2761 (exit $ac_status); } >/dev
/null
; then
2762 if test -s conftest.err
; then
2763 ac_cpp_err
=$ac_c_preproc_warn_flag
2764 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2771 if test -z "$ac_cpp_err"; then
2774 echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.
$ac_ext >&5
2777 # Broken: fails on valid input.
2780 rm -f conftest.err conftest.
$ac_ext
2782 # OK, works on sane cases. Now check whether non-existent headers
2783 # can be detected and how.
2784 cat >conftest.
$ac_ext <<_ACEOF
2787 cat confdefs.h
>>conftest.
$ac_ext
2788 cat >>conftest.
$ac_ext <<_ACEOF
2789 /* end confdefs.h. */
2790 #include <ac_nonexistent.h>
2792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2793 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2795 grep -v '^ *+' conftest.er1
>conftest.err
2797 cat conftest.err
>&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } >/dev
/null
; then
2800 if test -s conftest.err
; then
2801 ac_cpp_err
=$ac_c_preproc_warn_flag
2802 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2809 if test -z "$ac_cpp_err"; then
2810 # Broken: success on invalid input.
2813 echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.
$ac_ext >&5
2816 # Passes both tests.
2820 rm -f conftest.err conftest.
$ac_ext
2823 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2824 rm -f conftest.err conftest.
$ac_ext
2825 if $ac_preproc_ok; then
2828 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2829 See \`config.log' for more details." >&5
2830 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2831 See \`config.log' for more details." >&2;}
2832 { (exit 1); exit 1; }; }
2836 ac_cpp
='$CPP $CPPFLAGS'
2837 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2838 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2839 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2842 echo "$as_me:$LINENO: checking for egrep" >&5
2843 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2844 if test "${ac_cv_prog_egrep+set}" = set; then
2845 echo $ECHO_N "(cached) $ECHO_C" >&6
2847 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2848 then ac_cv_prog_egrep
='grep -E'
2849 else ac_cv_prog_egrep
='egrep'
2852 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2853 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2854 EGREP
=$ac_cv_prog_egrep
2857 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2858 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2859 if test "${ac_cv_header_stdc+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 cat >conftest.
$ac_ext <<_ACEOF
2865 cat confdefs.h
>>conftest.
$ac_ext
2866 cat >>conftest.
$ac_ext <<_ACEOF
2867 /* end confdefs.h. */
2881 rm -f conftest.
$ac_objext
2882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2883 (eval $ac_compile) 2>conftest.er1
2885 grep -v '^ *+' conftest.er1
>conftest.err
2887 cat conftest.err
>&5
2888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889 (exit $ac_status); } &&
2890 { ac_try
='test -z "$ac_c_werror_flag"
2891 || test ! -s conftest.err'
2892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }; } &&
2897 { ac_try
='test -s conftest.$ac_objext'
2898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }; }; then
2903 ac_cv_header_stdc
=yes
2905 echo "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.
$ac_ext >&5
2908 ac_cv_header_stdc
=no
2910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2912 if test $ac_cv_header_stdc = yes; then
2913 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2914 cat >conftest.
$ac_ext <<_ACEOF
2917 cat confdefs.h
>>conftest.
$ac_ext
2918 cat >>conftest.
$ac_ext <<_ACEOF
2919 /* end confdefs.h. */
2923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2924 $EGREP "memchr" >/dev
/null
2>&1; then
2927 ac_cv_header_stdc
=no
2933 if test $ac_cv_header_stdc = yes; then
2934 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2935 cat >conftest.
$ac_ext <<_ACEOF
2938 cat confdefs.h
>>conftest.
$ac_ext
2939 cat >>conftest.
$ac_ext <<_ACEOF
2940 /* end confdefs.h. */
2944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2945 $EGREP "free" >/dev
/null
2>&1; then
2948 ac_cv_header_stdc
=no
2954 if test $ac_cv_header_stdc = yes; then
2955 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2956 if test "$cross_compiling" = yes; then
2959 cat >conftest.
$ac_ext <<_ACEOF
2962 cat confdefs.h
>>conftest.
$ac_ext
2963 cat >>conftest.
$ac_ext <<_ACEOF
2964 /* end confdefs.h. */
2966 #if ((' ' & 0x0FF) == 0x020)
2967 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2968 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2970 # define ISLOWER(c) \
2971 (('a' <= (c) && (c) <= 'i') \
2972 || ('j' <= (c) && (c) <= 'r') \
2973 || ('s' <= (c) && (c) <= 'z'))
2974 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2977 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2982 for (i = 0; i < 256; i++)
2983 if (XOR (islower (i), ISLOWER (i))
2984 || toupper (i) != TOUPPER (i))
2989 rm -f conftest
$ac_exeext
2990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2991 (eval $ac_link) 2>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); }; }; then
3002 echo "$as_me: program exited with status $ac_status" >&5
3003 echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.
$ac_ext >&5
3007 ac_cv_header_stdc
=no
3009 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3013 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3014 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3015 if test $ac_cv_header_stdc = yes; then
3017 cat >>confdefs.h
<<\_ACEOF
3018 #define STDC_HEADERS 1
3023 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3033 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3034 inttypes.h stdint.h unistd.h
3036 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3037 echo "$as_me:$LINENO: checking for $ac_header" >&5
3038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3042 cat >conftest.
$ac_ext <<_ACEOF
3045 cat confdefs.h
>>conftest.
$ac_ext
3046 cat >>conftest.
$ac_ext <<_ACEOF
3047 /* end confdefs.h. */
3048 $ac_includes_default
3050 #include <$ac_header>
3052 rm -f conftest.
$ac_objext
3053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3054 (eval $ac_compile) 2>conftest.er1
3056 grep -v '^ *+' conftest.er1
>conftest.err
3058 cat conftest.err
>&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); } &&
3061 { ac_try
='test -z "$ac_c_werror_flag"
3062 || test ! -s conftest.err'
3063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067 (exit $ac_status); }; } &&
3068 { ac_try
='test -s conftest.$ac_objext'
3069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); }; }; then
3074 eval "$as_ac_Header=yes"
3076 echo "$as_me: failed program was:" >&5
3077 sed 's/^/| /' conftest.
$ac_ext >&5
3079 eval "$as_ac_Header=no"
3081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3084 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3085 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3086 cat >>confdefs.h
<<_ACEOF
3087 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3102 for ac_header
in stddef.h stdlib.h
strings.h unistd.h fcntl.h sys
/file.h \
3105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3107 echo "$as_me:$LINENO: checking for $ac_header" >&5
3108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3115 # Is the header compilable?
3116 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3118 cat >conftest.
$ac_ext <<_ACEOF
3121 cat confdefs.h
>>conftest.
$ac_ext
3122 cat >>conftest.
$ac_ext <<_ACEOF
3123 /* end confdefs.h. */
3124 $ac_includes_default
3125 #include <$ac_header>
3127 rm -f conftest.
$ac_objext
3128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3129 (eval $ac_compile) 2>conftest.er1
3131 grep -v '^ *+' conftest.er1
>conftest.err
3133 cat conftest.err
>&5
3134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3135 (exit $ac_status); } &&
3136 { ac_try
='test -z "$ac_c_werror_flag"
3137 || test ! -s conftest.err'
3138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); }; } &&
3143 { ac_try
='test -s conftest.$ac_objext'
3144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); }; }; then
3149 ac_header_compiler
=yes
3151 echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.
$ac_ext >&5
3154 ac_header_compiler
=no
3156 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3157 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3158 echo "${ECHO_T}$ac_header_compiler" >&6
3160 # Is the header present?
3161 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3162 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3163 cat >conftest.
$ac_ext <<_ACEOF
3166 cat confdefs.h
>>conftest.
$ac_ext
3167 cat >>conftest.
$ac_ext <<_ACEOF
3168 /* end confdefs.h. */
3169 #include <$ac_header>
3171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3172 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3174 grep -v '^ *+' conftest.er1
>conftest.err
3176 cat conftest.err
>&5
3177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3178 (exit $ac_status); } >/dev
/null
; then
3179 if test -s conftest.err
; then
3180 ac_cpp_err
=$ac_c_preproc_warn_flag
3181 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3188 if test -z "$ac_cpp_err"; then
3189 ac_header_preproc
=yes
3191 echo "$as_me: failed program was:" >&5
3192 sed 's/^/| /' conftest.
$ac_ext >&5
3194 ac_header_preproc
=no
3196 rm -f conftest.err conftest.
$ac_ext
3197 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3198 echo "${ECHO_T}$ac_header_preproc" >&6
3200 # So? What about this header?
3201 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3203 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3204 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3206 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3207 ac_header_preproc
=yes
3210 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3211 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3212 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3213 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3214 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3215 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3216 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3217 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3219 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3220 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3221 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3224 ## -------------------------------------- ##
3225 ## Report this to the fixincludes lists. ##
3226 ## -------------------------------------- ##
3229 sed "s/^/$as_me: WARNING: /" >&2
3232 echo "$as_me:$LINENO: checking for $ac_header" >&5
3233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3235 echo $ECHO_N "(cached) $ECHO_C" >&6
3237 eval "$as_ac_Header=\$ac_header_preproc"
3239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3240 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3244 cat >>confdefs.h
<<_ACEOF
3245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3269 for ac_func
in clearerr_unlocked feof_unlocked ferror_unlocked fflush_unlocked fgetc_unlocked fgets_unlocked fileno_unlocked fprintf_unlocked fputc_unlocked fputs_unlocked fread_unlocked fwrite_unlocked getchar_unlocked getc_unlocked putchar_unlocked putc_unlocked
3271 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3272 echo "$as_me:$LINENO: checking for $ac_func" >&5
3273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3274 if eval "test \"\${$as_ac_var+set}\" = set"; then
3275 echo $ECHO_N "(cached) $ECHO_C" >&6
3277 cat >conftest.
$ac_ext <<_ACEOF
3280 cat confdefs.h
>>conftest.
$ac_ext
3281 cat >>conftest.
$ac_ext <<_ACEOF
3282 /* end confdefs.h. */
3283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3285 #define $ac_func innocuous_$ac_func
3287 /* System header to define __stub macros and hopefully few prototypes,
3288 which can conflict with char $ac_func (); below.
3289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3290 <limits.h> exists even on freestanding compilers. */
3293 # include <limits.h>
3295 # include <assert.h>
3300 /* Override any gcc2 internal prototype to avoid an error. */
3305 /* We use char because int might match the return type of a gcc2
3306 builtin and then its argument prototype would still apply. */
3308 /* The GNU C library defines this for functions which it implements
3309 to always fail with ENOSYS. Some functions are actually named
3310 something starting with __ and the normal name is an alias. */
3311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3314 char (*f) () = $ac_func;
3323 return f != $ac_func;
3328 rm -f conftest.
$ac_objext conftest
$ac_exeext
3329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3330 (eval $ac_link) 2>conftest.er1
3332 grep -v '^ *+' conftest.er1
>conftest.err
3334 cat conftest.err
>&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); } &&
3337 { ac_try
='test -z "$ac_c_werror_flag"
3338 || test ! -s conftest.err'
3339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); }; } &&
3344 { ac_try
='test -s conftest$ac_exeext'
3345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); }; }; then
3350 eval "$as_ac_var=yes"
3352 echo "$as_me: failed program was:" >&5
3353 sed 's/^/| /' conftest.
$ac_ext >&5
3355 eval "$as_ac_var=no"
3357 rm -f conftest.err conftest.
$ac_objext \
3358 conftest
$ac_exeext conftest.
$ac_ext
3360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3362 if test `eval echo '${'$as_ac_var'}'` = yes; then
3363 cat >>confdefs.h
<<_ACEOF
3364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3370 echo "$as_me:$LINENO: checking whether abort is declared" >&5
3371 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6
3372 if test "${ac_cv_have_decl_abort+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 cat >conftest.
$ac_ext <<_ACEOF
3378 cat confdefs.h
>>conftest.
$ac_ext
3379 cat >>conftest.
$ac_ext <<_ACEOF
3380 /* end confdefs.h. */
3381 $ac_includes_default
3386 char *p = (char *) abort;
3393 rm -f conftest.
$ac_objext
3394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3395 (eval $ac_compile) 2>conftest.er1
3397 grep -v '^ *+' conftest.er1
>conftest.err
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"
3403 || test ! -s conftest.err'
3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try
='test -s conftest.$ac_objext'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; }; then
3415 ac_cv_have_decl_abort
=yes
3417 echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.
$ac_ext >&5
3420 ac_cv_have_decl_abort
=no
3422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3424 echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
3425 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6
3426 if test $ac_cv_have_decl_abort = yes; then
3428 cat >>confdefs.h
<<_ACEOF
3429 #define HAVE_DECL_ABORT 1
3434 cat >>confdefs.h
<<_ACEOF
3435 #define HAVE_DECL_ABORT 0
3440 echo "$as_me:$LINENO: checking whether errno is declared" >&5
3441 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6
3442 if test "${ac_cv_have_decl_errno+set}" = set; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3445 cat >conftest.
$ac_ext <<_ACEOF
3448 cat confdefs.h
>>conftest.
$ac_ext
3449 cat >>conftest.
$ac_ext <<_ACEOF
3450 /* end confdefs.h. */
3451 $ac_includes_default
3456 char *p = (char *) errno;
3463 rm -f conftest.
$ac_objext
3464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3465 (eval $ac_compile) 2>conftest.er1
3467 grep -v '^ *+' conftest.er1
>conftest.err
3469 cat conftest.err
>&5
3470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3471 (exit $ac_status); } &&
3472 { ac_try
='test -z "$ac_c_werror_flag"
3473 || test ! -s conftest.err'
3474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); }; } &&
3479 { ac_try
='test -s conftest.$ac_objext'
3480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3484 (exit $ac_status); }; }; then
3485 ac_cv_have_decl_errno
=yes
3487 echo "$as_me: failed program was:" >&5
3488 sed 's/^/| /' conftest.
$ac_ext >&5
3490 ac_cv_have_decl_errno
=no
3492 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3494 echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
3495 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6
3496 if test $ac_cv_have_decl_errno = yes; then
3498 cat >>confdefs.h
<<_ACEOF
3499 #define HAVE_DECL_ERRNO 1
3504 cat >>confdefs.h
<<_ACEOF
3505 #define HAVE_DECL_ERRNO 0
3510 echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5
3511 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6
3512 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
3513 echo $ECHO_N "(cached) $ECHO_C" >&6
3515 cat >conftest.
$ac_ext <<_ACEOF
3518 cat confdefs.h
>>conftest.
$ac_ext
3519 cat >>conftest.
$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3521 $ac_includes_default
3525 #ifndef clearerr_unlocked
3526 char *p = (char *) clearerr_unlocked;
3533 rm -f conftest.
$ac_objext
3534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3535 (eval $ac_compile) 2>conftest.er1
3537 grep -v '^ *+' conftest.er1
>conftest.err
3539 cat conftest.err
>&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); } &&
3542 { ac_try
='test -z "$ac_c_werror_flag"
3543 || test ! -s conftest.err'
3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); }; } &&
3549 { ac_try
='test -s conftest.$ac_objext'
3550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3554 (exit $ac_status); }; }; then
3555 ac_cv_have_decl_clearerr_unlocked
=yes
3557 echo "$as_me: failed program was:" >&5
3558 sed 's/^/| /' conftest.
$ac_ext >&5
3560 ac_cv_have_decl_clearerr_unlocked
=no
3562 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3564 echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5
3565 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6
3566 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
3568 cat >>confdefs.h
<<_ACEOF
3569 #define HAVE_DECL_CLEARERR_UNLOCKED 1
3574 cat >>confdefs.h
<<_ACEOF
3575 #define HAVE_DECL_CLEARERR_UNLOCKED 0
3580 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
3581 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
3582 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 cat >conftest.
$ac_ext <<_ACEOF
3588 cat confdefs.h
>>conftest.
$ac_ext
3589 cat >>conftest.
$ac_ext <<_ACEOF
3590 /* end confdefs.h. */
3591 $ac_includes_default
3595 #ifndef feof_unlocked
3596 char *p = (char *) feof_unlocked;
3603 rm -f conftest.
$ac_objext
3604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3605 (eval $ac_compile) 2>conftest.er1
3607 grep -v '^ *+' conftest.er1
>conftest.err
3609 cat conftest.err
>&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); } &&
3612 { ac_try
='test -z "$ac_c_werror_flag"
3613 || test ! -s conftest.err'
3614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); }; } &&
3619 { ac_try
='test -s conftest.$ac_objext'
3620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); }; }; then
3625 ac_cv_have_decl_feof_unlocked
=yes
3627 echo "$as_me: failed program was:" >&5
3628 sed 's/^/| /' conftest.
$ac_ext >&5
3630 ac_cv_have_decl_feof_unlocked
=no
3632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3634 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
3635 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
3636 if test $ac_cv_have_decl_feof_unlocked = yes; then
3638 cat >>confdefs.h
<<_ACEOF
3639 #define HAVE_DECL_FEOF_UNLOCKED 1
3644 cat >>confdefs.h
<<_ACEOF
3645 #define HAVE_DECL_FEOF_UNLOCKED 0
3650 echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5
3651 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6
3652 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
3653 echo $ECHO_N "(cached) $ECHO_C" >&6
3655 cat >conftest.
$ac_ext <<_ACEOF
3658 cat confdefs.h
>>conftest.
$ac_ext
3659 cat >>conftest.
$ac_ext <<_ACEOF
3660 /* end confdefs.h. */
3661 $ac_includes_default
3665 #ifndef ferror_unlocked
3666 char *p = (char *) ferror_unlocked;
3673 rm -f conftest.
$ac_objext
3674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3675 (eval $ac_compile) 2>conftest.er1
3677 grep -v '^ *+' conftest.er1
>conftest.err
3679 cat conftest.err
>&5
3680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3681 (exit $ac_status); } &&
3682 { ac_try
='test -z "$ac_c_werror_flag"
3683 || test ! -s conftest.err'
3684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); }; } &&
3689 { ac_try
='test -s conftest.$ac_objext'
3690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694 (exit $ac_status); }; }; then
3695 ac_cv_have_decl_ferror_unlocked
=yes
3697 echo "$as_me: failed program was:" >&5
3698 sed 's/^/| /' conftest.
$ac_ext >&5
3700 ac_cv_have_decl_ferror_unlocked
=no
3702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3704 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5
3705 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6
3706 if test $ac_cv_have_decl_ferror_unlocked = yes; then
3708 cat >>confdefs.h
<<_ACEOF
3709 #define HAVE_DECL_FERROR_UNLOCKED 1
3714 cat >>confdefs.h
<<_ACEOF
3715 #define HAVE_DECL_FERROR_UNLOCKED 0
3720 echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5
3721 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6
3722 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6
3725 cat >conftest.
$ac_ext <<_ACEOF
3728 cat confdefs.h
>>conftest.
$ac_ext
3729 cat >>conftest.
$ac_ext <<_ACEOF
3730 /* end confdefs.h. */
3731 $ac_includes_default
3735 #ifndef fflush_unlocked
3736 char *p = (char *) fflush_unlocked;
3743 rm -f conftest.
$ac_objext
3744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3745 (eval $ac_compile) 2>conftest.er1
3747 grep -v '^ *+' conftest.er1
>conftest.err
3749 cat conftest.err
>&5
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); } &&
3752 { ac_try
='test -z "$ac_c_werror_flag"
3753 || test ! -s conftest.err'
3754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); }; } &&
3759 { ac_try
='test -s conftest.$ac_objext'
3760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764 (exit $ac_status); }; }; then
3765 ac_cv_have_decl_fflush_unlocked
=yes
3767 echo "$as_me: failed program was:" >&5
3768 sed 's/^/| /' conftest.
$ac_ext >&5
3770 ac_cv_have_decl_fflush_unlocked
=no
3772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3774 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5
3775 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6
3776 if test $ac_cv_have_decl_fflush_unlocked = yes; then
3778 cat >>confdefs.h
<<_ACEOF
3779 #define HAVE_DECL_FFLUSH_UNLOCKED 1
3784 cat >>confdefs.h
<<_ACEOF
3785 #define HAVE_DECL_FFLUSH_UNLOCKED 0
3790 echo "$as_me:$LINENO: checking whether fgetc_unlocked is declared" >&5
3791 echo $ECHO_N "checking whether fgetc_unlocked is declared... $ECHO_C" >&6
3792 if test "${ac_cv_have_decl_fgetc_unlocked+set}" = set; then
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 cat >conftest.
$ac_ext <<_ACEOF
3798 cat confdefs.h
>>conftest.
$ac_ext
3799 cat >>conftest.
$ac_ext <<_ACEOF
3800 /* end confdefs.h. */
3801 $ac_includes_default
3805 #ifndef fgetc_unlocked
3806 char *p = (char *) fgetc_unlocked;
3813 rm -f conftest.
$ac_objext
3814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3815 (eval $ac_compile) 2>conftest.er1
3817 grep -v '^ *+' conftest.er1
>conftest.err
3819 cat conftest.err
>&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); } &&
3822 { ac_try
='test -z "$ac_c_werror_flag"
3823 || test ! -s conftest.err'
3824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3828 (exit $ac_status); }; } &&
3829 { ac_try
='test -s conftest.$ac_objext'
3830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3834 (exit $ac_status); }; }; then
3835 ac_cv_have_decl_fgetc_unlocked
=yes
3837 echo "$as_me: failed program was:" >&5
3838 sed 's/^/| /' conftest.
$ac_ext >&5
3840 ac_cv_have_decl_fgetc_unlocked
=no
3842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3844 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgetc_unlocked" >&5
3845 echo "${ECHO_T}$ac_cv_have_decl_fgetc_unlocked" >&6
3846 if test $ac_cv_have_decl_fgetc_unlocked = yes; then
3848 cat >>confdefs.h
<<_ACEOF
3849 #define HAVE_DECL_FGETC_UNLOCKED 1
3854 cat >>confdefs.h
<<_ACEOF
3855 #define HAVE_DECL_FGETC_UNLOCKED 0
3860 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
3861 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
3862 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 cat >conftest.
$ac_ext <<_ACEOF
3868 cat confdefs.h
>>conftest.
$ac_ext
3869 cat >>conftest.
$ac_ext <<_ACEOF
3870 /* end confdefs.h. */
3871 $ac_includes_default
3875 #ifndef fgets_unlocked
3876 char *p = (char *) fgets_unlocked;
3883 rm -f conftest.
$ac_objext
3884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3885 (eval $ac_compile) 2>conftest.er1
3887 grep -v '^ *+' conftest.er1
>conftest.err
3889 cat conftest.err
>&5
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); } &&
3892 { ac_try
='test -z "$ac_c_werror_flag"
3893 || test ! -s conftest.err'
3894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3898 (exit $ac_status); }; } &&
3899 { ac_try
='test -s conftest.$ac_objext'
3900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904 (exit $ac_status); }; }; then
3905 ac_cv_have_decl_fgets_unlocked
=yes
3907 echo "$as_me: failed program was:" >&5
3908 sed 's/^/| /' conftest.
$ac_ext >&5
3910 ac_cv_have_decl_fgets_unlocked
=no
3912 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3914 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
3915 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
3916 if test $ac_cv_have_decl_fgets_unlocked = yes; then
3918 cat >>confdefs.h
<<_ACEOF
3919 #define HAVE_DECL_FGETS_UNLOCKED 1
3924 cat >>confdefs.h
<<_ACEOF
3925 #define HAVE_DECL_FGETS_UNLOCKED 0
3930 echo "$as_me:$LINENO: checking whether fileno_unlocked is declared" >&5
3931 echo $ECHO_N "checking whether fileno_unlocked is declared... $ECHO_C" >&6
3932 if test "${ac_cv_have_decl_fileno_unlocked+set}" = set; then
3933 echo $ECHO_N "(cached) $ECHO_C" >&6
3935 cat >conftest.
$ac_ext <<_ACEOF
3938 cat confdefs.h
>>conftest.
$ac_ext
3939 cat >>conftest.
$ac_ext <<_ACEOF
3940 /* end confdefs.h. */
3941 $ac_includes_default
3945 #ifndef fileno_unlocked
3946 char *p = (char *) fileno_unlocked;
3953 rm -f conftest.
$ac_objext
3954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3955 (eval $ac_compile) 2>conftest.er1
3957 grep -v '^ *+' conftest.er1
>conftest.err
3959 cat conftest.err
>&5
3960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3961 (exit $ac_status); } &&
3962 { ac_try
='test -z "$ac_c_werror_flag"
3963 || test ! -s conftest.err'
3964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); }; } &&
3969 { ac_try
='test -s conftest.$ac_objext'
3970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); }; }; then
3975 ac_cv_have_decl_fileno_unlocked
=yes
3977 echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.
$ac_ext >&5
3980 ac_cv_have_decl_fileno_unlocked
=no
3982 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3984 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fileno_unlocked" >&5
3985 echo "${ECHO_T}$ac_cv_have_decl_fileno_unlocked" >&6
3986 if test $ac_cv_have_decl_fileno_unlocked = yes; then
3988 cat >>confdefs.h
<<_ACEOF
3989 #define HAVE_DECL_FILENO_UNLOCKED 1
3994 cat >>confdefs.h
<<_ACEOF
3995 #define HAVE_DECL_FILENO_UNLOCKED 0
4000 echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
4001 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6
4002 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
4003 echo $ECHO_N "(cached) $ECHO_C" >&6
4005 cat >conftest.
$ac_ext <<_ACEOF
4008 cat confdefs.h
>>conftest.
$ac_ext
4009 cat >>conftest.
$ac_ext <<_ACEOF
4010 /* end confdefs.h. */
4011 $ac_includes_default
4015 #ifndef fprintf_unlocked
4016 char *p = (char *) fprintf_unlocked;
4023 rm -f conftest.
$ac_objext
4024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4025 (eval $ac_compile) 2>conftest.er1
4027 grep -v '^ *+' conftest.er1
>conftest.err
4029 cat conftest.err
>&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); } &&
4032 { ac_try
='test -z "$ac_c_werror_flag"
4033 || test ! -s conftest.err'
4034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; } &&
4039 { ac_try
='test -s conftest.$ac_objext'
4040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); }; }; then
4045 ac_cv_have_decl_fprintf_unlocked
=yes
4047 echo "$as_me: failed program was:" >&5
4048 sed 's/^/| /' conftest.
$ac_ext >&5
4050 ac_cv_have_decl_fprintf_unlocked
=no
4052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4054 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
4055 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6
4056 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
4058 cat >>confdefs.h
<<_ACEOF
4059 #define HAVE_DECL_FPRINTF_UNLOCKED 1
4064 cat >>confdefs.h
<<_ACEOF
4065 #define HAVE_DECL_FPRINTF_UNLOCKED 0
4070 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
4071 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
4072 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 cat >conftest.
$ac_ext <<_ACEOF
4078 cat confdefs.h
>>conftest.
$ac_ext
4079 cat >>conftest.
$ac_ext <<_ACEOF
4080 /* end confdefs.h. */
4081 $ac_includes_default
4085 #ifndef fputc_unlocked
4086 char *p = (char *) fputc_unlocked;
4093 rm -f conftest.
$ac_objext
4094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4095 (eval $ac_compile) 2>conftest.er1
4097 grep -v '^ *+' conftest.er1
>conftest.err
4099 cat conftest.err
>&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } &&
4102 { ac_try
='test -z "$ac_c_werror_flag"
4103 || test ! -s conftest.err'
4104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 (exit $ac_status); }; } &&
4109 { ac_try
='test -s conftest.$ac_objext'
4110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); }; }; then
4115 ac_cv_have_decl_fputc_unlocked
=yes
4117 echo "$as_me: failed program was:" >&5
4118 sed 's/^/| /' conftest.
$ac_ext >&5
4120 ac_cv_have_decl_fputc_unlocked
=no
4122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4124 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
4125 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
4126 if test $ac_cv_have_decl_fputc_unlocked = yes; then
4128 cat >>confdefs.h
<<_ACEOF
4129 #define HAVE_DECL_FPUTC_UNLOCKED 1
4134 cat >>confdefs.h
<<_ACEOF
4135 #define HAVE_DECL_FPUTC_UNLOCKED 0
4140 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
4141 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
4142 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
4143 echo $ECHO_N "(cached) $ECHO_C" >&6
4145 cat >conftest.
$ac_ext <<_ACEOF
4148 cat confdefs.h
>>conftest.
$ac_ext
4149 cat >>conftest.
$ac_ext <<_ACEOF
4150 /* end confdefs.h. */
4151 $ac_includes_default
4155 #ifndef fputs_unlocked
4156 char *p = (char *) fputs_unlocked;
4163 rm -f conftest.
$ac_objext
4164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4165 (eval $ac_compile) 2>conftest.er1
4167 grep -v '^ *+' conftest.er1
>conftest.err
4169 cat conftest.err
>&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); } &&
4172 { ac_try
='test -z "$ac_c_werror_flag"
4173 || test ! -s conftest.err'
4174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; } &&
4179 { ac_try
='test -s conftest.$ac_objext'
4180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4184 (exit $ac_status); }; }; then
4185 ac_cv_have_decl_fputs_unlocked
=yes
4187 echo "$as_me: failed program was:" >&5
4188 sed 's/^/| /' conftest.
$ac_ext >&5
4190 ac_cv_have_decl_fputs_unlocked
=no
4192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4194 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
4195 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
4196 if test $ac_cv_have_decl_fputs_unlocked = yes; then
4198 cat >>confdefs.h
<<_ACEOF
4199 #define HAVE_DECL_FPUTS_UNLOCKED 1
4204 cat >>confdefs.h
<<_ACEOF
4205 #define HAVE_DECL_FPUTS_UNLOCKED 0
4210 echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5
4211 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6
4212 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
4213 echo $ECHO_N "(cached) $ECHO_C" >&6
4215 cat >conftest.
$ac_ext <<_ACEOF
4218 cat confdefs.h
>>conftest.
$ac_ext
4219 cat >>conftest.
$ac_ext <<_ACEOF
4220 /* end confdefs.h. */
4221 $ac_includes_default
4225 #ifndef fread_unlocked
4226 char *p = (char *) fread_unlocked;
4233 rm -f conftest.
$ac_objext
4234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4235 (eval $ac_compile) 2>conftest.er1
4237 grep -v '^ *+' conftest.er1
>conftest.err
4239 cat conftest.err
>&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); } &&
4242 { ac_try
='test -z "$ac_c_werror_flag"
4243 || test ! -s conftest.err'
4244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); }; } &&
4249 { ac_try
='test -s conftest.$ac_objext'
4250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); }; }; then
4255 ac_cv_have_decl_fread_unlocked
=yes
4257 echo "$as_me: failed program was:" >&5
4258 sed 's/^/| /' conftest.
$ac_ext >&5
4260 ac_cv_have_decl_fread_unlocked
=no
4262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4264 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5
4265 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6
4266 if test $ac_cv_have_decl_fread_unlocked = yes; then
4268 cat >>confdefs.h
<<_ACEOF
4269 #define HAVE_DECL_FREAD_UNLOCKED 1
4274 cat >>confdefs.h
<<_ACEOF
4275 #define HAVE_DECL_FREAD_UNLOCKED 0
4280 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
4281 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
4282 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
4283 echo $ECHO_N "(cached) $ECHO_C" >&6
4285 cat >conftest.
$ac_ext <<_ACEOF
4288 cat confdefs.h
>>conftest.
$ac_ext
4289 cat >>conftest.
$ac_ext <<_ACEOF
4290 /* end confdefs.h. */
4291 $ac_includes_default
4295 #ifndef fwrite_unlocked
4296 char *p = (char *) fwrite_unlocked;
4303 rm -f conftest.
$ac_objext
4304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4305 (eval $ac_compile) 2>conftest.er1
4307 grep -v '^ *+' conftest.er1
>conftest.err
4309 cat conftest.err
>&5
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); } &&
4312 { ac_try
='test -z "$ac_c_werror_flag"
4313 || test ! -s conftest.err'
4314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4318 (exit $ac_status); }; } &&
4319 { ac_try
='test -s conftest.$ac_objext'
4320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324 (exit $ac_status); }; }; then
4325 ac_cv_have_decl_fwrite_unlocked
=yes
4327 echo "$as_me: failed program was:" >&5
4328 sed 's/^/| /' conftest.
$ac_ext >&5
4330 ac_cv_have_decl_fwrite_unlocked
=no
4332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4334 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
4335 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
4336 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
4338 cat >>confdefs.h
<<_ACEOF
4339 #define HAVE_DECL_FWRITE_UNLOCKED 1
4344 cat >>confdefs.h
<<_ACEOF
4345 #define HAVE_DECL_FWRITE_UNLOCKED 0
4350 echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5
4351 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6
4352 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4355 cat >conftest.
$ac_ext <<_ACEOF
4358 cat confdefs.h
>>conftest.
$ac_ext
4359 cat >>conftest.
$ac_ext <<_ACEOF
4360 /* end confdefs.h. */
4361 $ac_includes_default
4365 #ifndef getchar_unlocked
4366 char *p = (char *) getchar_unlocked;
4373 rm -f conftest.
$ac_objext
4374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4375 (eval $ac_compile) 2>conftest.er1
4377 grep -v '^ *+' conftest.er1
>conftest.err
4379 cat conftest.err
>&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); } &&
4382 { ac_try
='test -z "$ac_c_werror_flag"
4383 || test ! -s conftest.err'
4384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); }; } &&
4389 { ac_try
='test -s conftest.$ac_objext'
4390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); }; }; then
4395 ac_cv_have_decl_getchar_unlocked
=yes
4397 echo "$as_me: failed program was:" >&5
4398 sed 's/^/| /' conftest.
$ac_ext >&5
4400 ac_cv_have_decl_getchar_unlocked
=no
4402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4404 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5
4405 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6
4406 if test $ac_cv_have_decl_getchar_unlocked = yes; then
4408 cat >>confdefs.h
<<_ACEOF
4409 #define HAVE_DECL_GETCHAR_UNLOCKED 1
4414 cat >>confdefs.h
<<_ACEOF
4415 #define HAVE_DECL_GETCHAR_UNLOCKED 0
4420 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
4421 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
4422 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
4423 echo $ECHO_N "(cached) $ECHO_C" >&6
4425 cat >conftest.
$ac_ext <<_ACEOF
4428 cat confdefs.h
>>conftest.
$ac_ext
4429 cat >>conftest.
$ac_ext <<_ACEOF
4430 /* end confdefs.h. */
4431 $ac_includes_default
4435 #ifndef getc_unlocked
4436 char *p = (char *) getc_unlocked;
4443 rm -f conftest.
$ac_objext
4444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4445 (eval $ac_compile) 2>conftest.er1
4447 grep -v '^ *+' conftest.er1
>conftest.err
4449 cat conftest.err
>&5
4450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4451 (exit $ac_status); } &&
4452 { ac_try
='test -z "$ac_c_werror_flag"
4453 || test ! -s conftest.err'
4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; } &&
4459 { ac_try
='test -s conftest.$ac_objext'
4460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4464 (exit $ac_status); }; }; then
4465 ac_cv_have_decl_getc_unlocked
=yes
4467 echo "$as_me: failed program was:" >&5
4468 sed 's/^/| /' conftest.
$ac_ext >&5
4470 ac_cv_have_decl_getc_unlocked
=no
4472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4474 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
4475 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
4476 if test $ac_cv_have_decl_getc_unlocked = yes; then
4478 cat >>confdefs.h
<<_ACEOF
4479 #define HAVE_DECL_GETC_UNLOCKED 1
4484 cat >>confdefs.h
<<_ACEOF
4485 #define HAVE_DECL_GETC_UNLOCKED 0
4490 echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5
4491 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6
4492 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4495 cat >conftest.
$ac_ext <<_ACEOF
4498 cat confdefs.h
>>conftest.
$ac_ext
4499 cat >>conftest.
$ac_ext <<_ACEOF
4500 /* end confdefs.h. */
4501 $ac_includes_default
4505 #ifndef putchar_unlocked
4506 char *p = (char *) putchar_unlocked;
4513 rm -f conftest.
$ac_objext
4514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4515 (eval $ac_compile) 2>conftest.er1
4517 grep -v '^ *+' conftest.er1
>conftest.err
4519 cat conftest.err
>&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); } &&
4522 { ac_try
='test -z "$ac_c_werror_flag"
4523 || test ! -s conftest.err'
4524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); }; } &&
4529 { ac_try
='test -s conftest.$ac_objext'
4530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534 (exit $ac_status); }; }; then
4535 ac_cv_have_decl_putchar_unlocked
=yes
4537 echo "$as_me: failed program was:" >&5
4538 sed 's/^/| /' conftest.
$ac_ext >&5
4540 ac_cv_have_decl_putchar_unlocked
=no
4542 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4544 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5
4545 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6
4546 if test $ac_cv_have_decl_putchar_unlocked = yes; then
4548 cat >>confdefs.h
<<_ACEOF
4549 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
4554 cat >>confdefs.h
<<_ACEOF
4555 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
4560 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
4561 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
4562 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
4563 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 cat >conftest.
$ac_ext <<_ACEOF
4568 cat confdefs.h
>>conftest.
$ac_ext
4569 cat >>conftest.
$ac_ext <<_ACEOF
4570 /* end confdefs.h. */
4571 $ac_includes_default
4575 #ifndef putc_unlocked
4576 char *p = (char *) putc_unlocked;
4583 rm -f conftest.
$ac_objext
4584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4585 (eval $ac_compile) 2>conftest.er1
4587 grep -v '^ *+' conftest.er1
>conftest.err
4589 cat conftest.err
>&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } &&
4592 { ac_try
='test -z "$ac_c_werror_flag"
4593 || test ! -s conftest.err'
4594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); }; } &&
4599 { ac_try
='test -s conftest.$ac_objext'
4600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); }; }; then
4605 ac_cv_have_decl_putc_unlocked
=yes
4607 echo "$as_me: failed program was:" >&5
4608 sed 's/^/| /' conftest.
$ac_ext >&5
4610 ac_cv_have_decl_putc_unlocked
=no
4612 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4614 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
4615 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
4616 if test $ac_cv_have_decl_putc_unlocked = yes; then
4618 cat >>confdefs.h
<<_ACEOF
4619 #define HAVE_DECL_PUTC_UNLOCKED 1
4624 cat >>confdefs.h
<<_ACEOF
4625 #define HAVE_DECL_PUTC_UNLOCKED 0
4633 # Checks for typedefs, structures, and compiler characteristics.
4634 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4635 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4636 if test "${ac_cv_c_const+set}" = set; then
4637 echo $ECHO_N "(cached) $ECHO_C" >&6
4639 cat >conftest.
$ac_ext <<_ACEOF
4642 cat confdefs.h
>>conftest.
$ac_ext
4643 cat >>conftest.
$ac_ext <<_ACEOF
4644 /* end confdefs.h. */
4649 /* FIXME: Include the comments suggested by Paul. */
4651 /* Ultrix mips cc rejects this. */
4652 typedef int charset[2];
4654 /* SunOS 4.1.1 cc rejects this. */
4655 char const *const *ccp;
4657 /* NEC SVR4.0.2 mips cc rejects this. */
4658 struct point {int x, y;};
4659 static struct point const zero = {0,0};
4660 /* AIX XL C 1.02.0.0 rejects this.
4661 It does not let you subtract one const X* pointer from another in
4662 an arm of an if-expression whose if-part is not a constant
4664 const char *g = "string";
4665 ccp = &g + (g ? g-g : 0);
4666 /* HPUX 7.0 cc rejects these. */
4669 ccp = (char const *const *) p;
4670 { /* SCO 3.2v4 cc rejects this. */
4672 char const *s = 0 ? (char *) 0 : (char const *) 0;
4676 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4678 const int *foo = &x[0];
4681 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4682 typedef const int *iptr;
4686 { /* AIX XL C 1.02.0.0 rejects this saying
4687 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4688 struct s { int j; const int *ap[3]; };
4689 struct s *b; b->j = 5;
4691 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4700 rm -f conftest.
$ac_objext
4701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4702 (eval $ac_compile) 2>conftest.er1
4704 grep -v '^ *+' conftest.er1
>conftest.err
4706 cat conftest.err
>&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); } &&
4709 { ac_try
='test -z "$ac_c_werror_flag"
4710 || test ! -s conftest.err'
4711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); }; } &&
4716 { ac_try
='test -s conftest.$ac_objext'
4717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }; }; then
4724 echo "$as_me: failed program was:" >&5
4725 sed 's/^/| /' conftest.
$ac_ext >&5
4729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4731 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4732 echo "${ECHO_T}$ac_cv_c_const" >&6
4733 if test $ac_cv_c_const = no
; then
4735 cat >>confdefs.h
<<\_ACEOF
4742 # Checks for library functions.
4744 if test "${ac_cv_header_sys_mman_h+set}" = set; then
4745 echo "$as_me:$LINENO: checking for sys/mman.h" >&5
4746 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6
4747 if test "${ac_cv_header_sys_mman_h+set}" = set; then
4748 echo $ECHO_N "(cached) $ECHO_C" >&6
4750 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
4751 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6
4753 # Is the header compilable?
4754 echo "$as_me:$LINENO: checking sys/mman.h usability" >&5
4755 echo $ECHO_N "checking sys/mman.h usability... $ECHO_C" >&6
4756 cat >conftest.
$ac_ext <<_ACEOF
4759 cat confdefs.h
>>conftest.
$ac_ext
4760 cat >>conftest.
$ac_ext <<_ACEOF
4761 /* end confdefs.h. */
4762 $ac_includes_default
4763 #include <sys/mman.h>
4765 rm -f conftest.
$ac_objext
4766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4767 (eval $ac_compile) 2>conftest.er1
4769 grep -v '^ *+' conftest.er1
>conftest.err
4771 cat conftest.err
>&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); } &&
4774 { ac_try
='test -z "$ac_c_werror_flag"
4775 || test ! -s conftest.err'
4776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4780 (exit $ac_status); }; } &&
4781 { ac_try
='test -s conftest.$ac_objext'
4782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); }; }; then
4787 ac_header_compiler
=yes
4789 echo "$as_me: failed program was:" >&5
4790 sed 's/^/| /' conftest.
$ac_ext >&5
4792 ac_header_compiler
=no
4794 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4796 echo "${ECHO_T}$ac_header_compiler" >&6
4798 # Is the header present?
4799 echo "$as_me:$LINENO: checking sys/mman.h presence" >&5
4800 echo $ECHO_N "checking sys/mman.h presence... $ECHO_C" >&6
4801 cat >conftest.
$ac_ext <<_ACEOF
4804 cat confdefs.h
>>conftest.
$ac_ext
4805 cat >>conftest.
$ac_ext <<_ACEOF
4806 /* end confdefs.h. */
4807 #include <sys/mman.h>
4809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4810 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4812 grep -v '^ *+' conftest.er1
>conftest.err
4814 cat conftest.err
>&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); } >/dev
/null
; then
4817 if test -s conftest.err
; then
4818 ac_cpp_err
=$ac_c_preproc_warn_flag
4819 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4826 if test -z "$ac_cpp_err"; then
4827 ac_header_preproc
=yes
4829 echo "$as_me: failed program was:" >&5
4830 sed 's/^/| /' conftest.
$ac_ext >&5
4832 ac_header_preproc
=no
4834 rm -f conftest.err conftest.
$ac_ext
4835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4836 echo "${ECHO_T}$ac_header_preproc" >&6
4838 # So? What about this header?
4839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4841 { echo "$as_me:$LINENO: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&5
4842 echo "$as_me: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4843 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the compiler's result" >&5
4844 echo "$as_me: WARNING: sys/mman.h: proceeding with the compiler's result" >&2;}
4845 ac_header_preproc
=yes
4848 { echo "$as_me:$LINENO: WARNING: sys/mman.h: present but cannot be compiled" >&5
4849 echo "$as_me: WARNING: sys/mman.h: present but cannot be compiled" >&2;}
4850 { echo "$as_me:$LINENO: WARNING: sys/mman.h: check for missing prerequisite headers?" >&5
4851 echo "$as_me: WARNING: sys/mman.h: check for missing prerequisite headers?" >&2;}
4852 { echo "$as_me:$LINENO: WARNING: sys/mman.h: see the Autoconf documentation" >&5
4853 echo "$as_me: WARNING: sys/mman.h: see the Autoconf documentation" >&2;}
4854 { echo "$as_me:$LINENO: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&5
4855 echo "$as_me: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&2;}
4856 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&5
4857 echo "$as_me: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&2;}
4858 { echo "$as_me:$LINENO: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&5
4859 echo "$as_me: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&2;}
4862 ## -------------------------------------- ##
4863 ## Report this to the fixincludes lists. ##
4864 ## -------------------------------------- ##
4867 sed "s/^/$as_me: WARNING: /" >&2
4870 echo "$as_me:$LINENO: checking for sys/mman.h" >&5
4871 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6
4872 if test "${ac_cv_header_sys_mman_h+set}" = set; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4875 ac_cv_header_sys_mman_h
=$ac_header_preproc
4877 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
4878 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6
4881 if test $ac_cv_header_sys_mman_h = yes; then
4882 gcc_header_sys_mman_h
=yes
4884 gcc_header_sys_mman_h
=no
4888 echo "$as_me:$LINENO: checking for mmap" >&5
4889 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
4890 if test "${ac_cv_func_mmap+set}" = set; then
4891 echo $ECHO_N "(cached) $ECHO_C" >&6
4893 cat >conftest.
$ac_ext <<_ACEOF
4896 cat confdefs.h
>>conftest.
$ac_ext
4897 cat >>conftest.
$ac_ext <<_ACEOF
4898 /* end confdefs.h. */
4899 /* Define mmap to an innocuous variant, in case <limits.h> declares mmap.
4900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4901 #define mmap innocuous_mmap
4903 /* System header to define __stub macros and hopefully few prototypes,
4904 which can conflict with char mmap (); below.
4905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4906 <limits.h> exists even on freestanding compilers. */
4909 # include <limits.h>
4911 # include <assert.h>
4916 /* Override any gcc2 internal prototype to avoid an error. */
4921 /* We use char because int might match the return type of a gcc2
4922 builtin and then its argument prototype would still apply. */
4924 /* The GNU C library defines this for functions which it implements
4925 to always fail with ENOSYS. Some functions are actually named
4926 something starting with __ and the normal name is an alias. */
4927 #if defined (__stub_mmap) || defined (__stub___mmap)
4930 char (*f) () = mmap;
4944 rm -f conftest.
$ac_objext conftest
$ac_exeext
4945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4946 (eval $ac_link) 2>conftest.er1
4948 grep -v '^ *+' conftest.er1
>conftest.err
4950 cat conftest.err
>&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); } &&
4953 { ac_try
='test -z "$ac_c_werror_flag"
4954 || test ! -s conftest.err'
4955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); }; } &&
4960 { ac_try
='test -s conftest$ac_exeext'
4961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); }; }; then
4968 echo "$as_me: failed program was:" >&5
4969 sed 's/^/| /' conftest.
$ac_ext >&5
4973 rm -f conftest.err conftest.
$ac_objext \
4974 conftest
$ac_exeext conftest.
$ac_ext
4976 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
4977 echo "${ECHO_T}$ac_cv_func_mmap" >&6
4978 if test $ac_cv_func_mmap = yes; then
4984 if test "$gcc_header_sys_mman_h" != yes \
4985 ||
test "$gcc_func_mmap" != yes; then
4986 gcc_cv_func_mmap_file
=no
4987 gcc_cv_func_mmap_dev_zero
=no
4988 gcc_cv_func_mmap_anon
=no
4990 echo "$as_me:$LINENO: checking whether read-only mmap of a plain file works" >&5
4991 echo $ECHO_N "checking whether read-only mmap of a plain file works... $ECHO_C" >&6
4992 if test "${gcc_cv_func_mmap_file+set}" = set; then
4993 echo $ECHO_N "(cached) $ECHO_C" >&6
4995 # Add a system to this blacklist if
4996 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
4997 # memory area containing the same data that you'd get if you applied
4998 # read() to the same fd. The only system known to have a problem here
4999 # is VMS, where text files have record structure.
5002 gcc_cv_func_mmap_file
=no
;;
5004 gcc_cv_func_mmap_file
=yes;;
5007 echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_file" >&5
5008 echo "${ECHO_T}$gcc_cv_func_mmap_file" >&6
5009 echo "$as_me:$LINENO: checking whether mmap from /dev/zero works" >&5
5010 echo $ECHO_N "checking whether mmap from /dev/zero works... $ECHO_C" >&6
5011 if test "${gcc_cv_func_mmap_dev_zero+set}" = set; then
5012 echo $ECHO_N "(cached) $ECHO_C" >&6
5014 # Add a system to this blacklist if it has mmap() but /dev/zero
5015 # does not exist, or if mmapping /dev/zero does not give anonymous
5016 # zeroed pages with both the following properties:
5017 # 1. If you map N consecutive pages in with one call, and then
5018 # unmap any subset of those pages, the pages that were not
5019 # explicitly unmapped remain accessible.
5020 # 2. If you map two adjacent blocks of memory and then unmap them
5021 # both at once, they must both go away.
5022 # Systems known to be in this category are Windows (all variants),
5025 vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
5026 gcc_cv_func_mmap_dev_zero
=no
;;
5028 gcc_cv_func_mmap_dev_zero
=yes;;
5031 echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_dev_zero" >&5
5032 echo "${ECHO_T}$gcc_cv_func_mmap_dev_zero" >&6
5034 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
5035 echo "$as_me:$LINENO: checking for MAP_ANON(YMOUS)" >&5
5036 echo $ECHO_N "checking for MAP_ANON(YMOUS)... $ECHO_C" >&6
5037 if test "${gcc_cv_decl_map_anon+set}" = set; then
5038 echo $ECHO_N "(cached) $ECHO_C" >&6
5040 cat >conftest.
$ac_ext <<_ACEOF
5043 cat confdefs.h
>>conftest.
$ac_ext
5044 cat >>conftest.
$ac_ext <<_ACEOF
5045 /* end confdefs.h. */
5046 #include <sys/types.h>
5047 #include <sys/mman.h>
5050 #ifndef MAP_ANONYMOUS
5051 #define MAP_ANONYMOUS MAP_ANON
5057 int n = MAP_ANONYMOUS;
5062 rm -f conftest.
$ac_objext
5063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5064 (eval $ac_compile) 2>conftest.er1
5066 grep -v '^ *+' conftest.er1
>conftest.err
5068 cat conftest.err
>&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); } &&
5071 { ac_try
='test -z "$ac_c_werror_flag"
5072 || test ! -s conftest.err'
5073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); }; } &&
5078 { ac_try
='test -s conftest.$ac_objext'
5079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083 (exit $ac_status); }; }; then
5084 gcc_cv_decl_map_anon
=yes
5086 echo "$as_me: failed program was:" >&5
5087 sed 's/^/| /' conftest.
$ac_ext >&5
5089 gcc_cv_decl_map_anon
=no
5091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5093 echo "$as_me:$LINENO: result: $gcc_cv_decl_map_anon" >&5
5094 echo "${ECHO_T}$gcc_cv_decl_map_anon" >&6
5096 if test $gcc_cv_decl_map_anon = no
; then
5097 gcc_cv_func_mmap_anon
=no
5099 echo "$as_me:$LINENO: checking whether mmap with MAP_ANON(YMOUS) works" >&5
5100 echo $ECHO_N "checking whether mmap with MAP_ANON(YMOUS) works... $ECHO_C" >&6
5101 if test "${gcc_cv_func_mmap_anon+set}" = set; then
5102 echo $ECHO_N "(cached) $ECHO_C" >&6
5104 # Add a system to this blacklist if it has mmap() and MAP_ANON or
5105 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
5106 # doesn't give anonymous zeroed pages with the same properties listed
5107 # above for use of /dev/zero.
5108 # Systems known to be in this category are Windows, VMS, and SCO Unix.
5110 vms
* | cygwin
* | pe | mingw
* | sco
* | udk
* )
5111 gcc_cv_func_mmap_anon
=no
;;
5113 gcc_cv_func_mmap_anon
=yes;;
5116 echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_anon" >&5
5117 echo "${ECHO_T}$gcc_cv_func_mmap_anon" >&6
5121 if test $gcc_cv_func_mmap_file = yes; then
5123 cat >>confdefs.h
<<\_ACEOF
5124 #define HAVE_MMAP_FILE 1
5128 if test $gcc_cv_func_mmap_dev_zero = yes; then
5130 cat >>confdefs.h
<<\_ACEOF
5131 #define HAVE_MMAP_DEV_ZERO 1
5135 if test $gcc_cv_func_mmap_anon = yes; then
5137 cat >>confdefs.h
<<\_ACEOF
5138 #define HAVE_MMAP_ANON 1
5144 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
5145 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
5146 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
5147 if test "${enable_maintainer_mode+set}" = set; then
5148 enableval
="$enable_maintainer_mode"
5149 USE_MAINTAINER_MODE
=$enableval
5151 USE_MAINTAINER_MODE
=no
5153 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
5154 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
5155 if test "$USE_MAINTAINER_MODE" = yes; then
5162 ac_config_headers
="$ac_config_headers config.h"
5164 ac_config_files
="$ac_config_files Makefile mkheaders.almost:mkheaders.in"
5166 cat >confcache
<<\_ACEOF
5167 # This file is a shell script that caches the results of configure
5168 # tests run on this system so they can be shared between configure
5169 # scripts and configure runs, see configure's option --config-cache.
5170 # It is not useful on other systems. If it contains results you don't
5171 # want to keep, you may remove or edit it.
5173 # config.status only pays attention to the cache file if you give it
5174 # the --recheck option to rerun configure.
5176 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5177 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5182 # The following way of writing the cache mishandles newlines in values,
5183 # but we know of no workaround that is simple, portable, and efficient.
5184 # So, don't put newlines in cache variables' values.
5185 # Ultrix sh set writes to stderr and can't be redirected directly,
5186 # and sets the high bit in the cache file unless we assign to the vars.
5189 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5191 # `set' does not quote correctly, so add quotes (double-quote
5192 # substitution turns \\\\ into \\, and sed turns \\ into \).
5195 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5198 # `set' quotes correctly as required by POSIX, so do not add quotes.
5200 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5207 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5209 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5211 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
5212 if test -w $cache_file; then
5213 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5214 cat confcache
>$cache_file
5216 echo "not updating unwritable cache $cache_file"
5221 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5222 # Let make expand exec_prefix.
5223 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5225 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5226 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5227 # trailing colons and then remove the whole line if VPATH becomes empty
5228 # (actually we leave an empty line to preserve line numbers).
5229 if test "x$srcdir" = x.
; then
5230 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
5231 s/:*\$(srcdir):*/:/;
5232 s/:*\${srcdir}:*/:/;
5234 s/^\([^=]*=[ ]*\):*/\1/;
5240 DEFS
=-DHAVE_CONFIG_H
5244 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
5245 # 1. Remove the extension, and $U if already installed.
5246 ac_i
=`echo "$ac_i" |
5247 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5249 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
5250 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
5254 LTLIBOBJS
=$ac_ltlibobjs
5258 : ${CONFIG_STATUS=./config.status}
5259 ac_clean_files_save
=$ac_clean_files
5260 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
5261 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5262 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5263 cat >$CONFIG_STATUS <<_ACEOF
5265 # Generated by $as_me.
5266 # Run this file to recreate the current configuration.
5267 # Compiler output produced by configure, useful for debugging
5268 # configure, is in config.log if it exists.
5273 SHELL=\${CONFIG_SHELL-$SHELL}
5276 cat >>$CONFIG_STATUS <<\_ACEOF
5277 ## --------------------- ##
5278 ## M4sh Initialization. ##
5279 ## --------------------- ##
5281 # Be Bourne compatible
5282 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
5285 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5286 # is contrary to our usage. Disable this feature.
5287 alias -g '${1+"$@"}'='"$@"'
5288 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
5291 DUALCASE
=1; export DUALCASE
# for MKS sh
5293 # Support unset when possible.
5294 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5301 # Work around bugs in pre-3.0 UWIN ksh.
5302 $as_unset ENV MAIL MAILPATH
5309 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5310 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5311 LC_TELEPHONE LC_TIME
5313 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5314 eval $as_var=C
; export $as_var
5320 # Required to use basename.
5321 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5327 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
5328 as_basename
=basename
5334 # Name of the executable.
5335 as_me
=`$as_basename "$0" ||
5336 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5337 X"$0" : 'X\(//\)$' \| \
5338 X"$0" : 'X\(/\)$' \| \
5339 . : '\(.\)' 2>/dev/null ||
5341 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5342 /^X\/\(\/\/\)$/{ s//\1/; q; }
5343 /^X\/\(\/\).*/{ s//\1/; q; }
5347 # PATH needs CR, and LINENO needs CR and PATH.
5348 # Avoid depending upon Character Ranges.
5349 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5350 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5351 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5352 as_cr_digits
='0123456789'
5353 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5355 # The user is always right.
5356 if test "${PATH_SEPARATOR+set}" != set; then
5357 echo "#! /bin/sh" >conf$$.sh
5358 echo "exit 0" >>conf$$.sh
5360 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
5371 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5372 test "x$as_lineno_1" != "x$as_lineno_2" &&
5373 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
5374 # Find who we are. Look in the path if we contain no path at all
5377 *[\\/]* ) as_myself
=$0 ;;
5378 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5382 test -z "$as_dir" && as_dir
=.
5383 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
5388 # We did not find ourselves, most probably we were run as `sh COMMAND'
5389 # in which case we are not to be found in the path.
5390 if test "x$as_myself" = x
; then
5393 if test ! -f "$as_myself"; then
5394 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5395 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5396 { (exit 1); exit 1; }; }
5398 case $CONFIG_SHELL in
5400 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5401 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
5404 test -z "$as_dir" && as_dir
=.
5405 for as_base
in sh bash ksh sh5
; do
5408 if ("$as_dir/$as_base" -c '
5411 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5412 test "x$as_lineno_1" != "x$as_lineno_2" &&
5413 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
5414 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
5415 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
5416 CONFIG_SHELL
=$as_dir/$as_base
5418 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5426 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5427 # uniformly replaced by the line number. The first 'sed' inserts a
5428 # line-number line before each line; the second 'sed' does the real
5429 # work. The second script uses 'N' to pair each line-number line
5430 # with the numbered line, and appends trailing '-' during
5431 # substitution so that $LINENO is not a special case at line end.
5432 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5433 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5434 sed '=' <$as_myself |
5439 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5442 s,^['$as_cr_digits']*\n,,
5444 chmod +x
$as_me.lineno ||
5445 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5446 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5447 { (exit 1); exit 1; }; }
5449 # Don't try to exec as it changes $[0], causing all sort of problems
5450 # (the dirname of $[0] is not the place where we might find the
5451 # original and so on. Autoconf is especially sensible to this).
5453 # Exit status is that of the last command.
5458 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5459 *c
*,-n*) ECHO_N
= ECHO_C
='
5461 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5462 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5465 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5471 rm -f conf$$ conf$$.exe conf$$.
file
5473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5474 # We could just check for DJGPP; but this test a) works b) is more generic
5475 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5476 if test -f conf$$.exe
; then
5477 # Don't use ln at all; we don't have any links
5482 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5487 rm -f conf$$ conf$$.exe conf$$.
file
5489 if mkdir
-p .
2>/dev
/null
; then
5492 test -d .
/-p && rmdir .
/-p
5496 as_executable_p
="test -f"
5498 # Sed expression to map a string onto a valid CPP name.
5499 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5501 # Sed expression to map a string onto a valid variable name.
5502 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5506 # We need space, tab and new line, in precisely that order.
5516 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5517 # report actual input values of CONFIG_FILES etc. instead of their
5518 # values after options handling. Logging --version etc. is OK.
5522 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5523 ## Running $as_me. ##
5528 This file was extended by fixincludes $as_me , which was
5529 generated by GNU Autoconf 2.59. Invocation command line was
5531 CONFIG_FILES = $CONFIG_FILES
5532 CONFIG_HEADERS = $CONFIG_HEADERS
5533 CONFIG_LINKS = $CONFIG_LINKS
5534 CONFIG_COMMANDS = $CONFIG_COMMANDS
5538 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5542 # Files that config.status was made for.
5543 if test -n "$ac_config_files"; then
5544 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5547 if test -n "$ac_config_headers"; then
5548 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5551 if test -n "$ac_config_links"; then
5552 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5555 if test -n "$ac_config_commands"; then
5556 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5559 cat >>$CONFIG_STATUS <<\_ACEOF
5562 \`$as_me' instantiates files from templates according to the
5563 current configuration.
5565 Usage: $0 [OPTIONS] [FILE]...
5567 -h, --help print this help, then exit
5568 -V, --version print version number, then exit
5569 -q, --quiet do not print progress messages
5570 -d, --debug don't remove temporary files
5571 --recheck update $as_me by reconfiguring in the same conditions
5572 --file=FILE[:TEMPLATE]
5573 instantiate the configuration file FILE
5574 --header=FILE[:TEMPLATE]
5575 instantiate the configuration header FILE
5577 Configuration files:
5580 Configuration headers:
5583 Report bugs to <bug-autoconf@gnu.org>."
5586 cat >>$CONFIG_STATUS <<_ACEOF
5588 fixincludes config.status
5589 configured by $0, generated by GNU Autoconf 2.59,
5590 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5592 Copyright (C) 2003 Free Software Foundation, Inc.
5593 This config.status script is free software; the Free Software Foundation
5594 gives unlimited permission to copy, distribute and modify it."
5598 cat >>$CONFIG_STATUS <<\_ACEOF
5599 # If no file are specified by the user, then we need to provide default
5600 # value. By we need to know if files were specified by the user.
5606 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5607 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5615 *) # This is not an option, so the user has probably given explicit
5618 ac_need_defaults
=false
;;
5622 # Handling of the options.
5624 cat >>$CONFIG_STATUS <<\_ACEOF
5625 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5627 --version |
--vers* |
-V )
5628 echo "$ac_cs_version"; exit 0 ;;
5630 # Conflict between --help and --header
5631 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5632 Try \`$0 --help' for more information." >&5
5633 echo "$as_me: error: ambiguous option: $1
5634 Try \`$0 --help' for more information." >&2;}
5635 { (exit 1); exit 1; }; };;
5636 --help |
--hel |
-h )
5637 echo "$ac_cs_usage"; exit 0 ;;
5638 --debug |
--d* |
-d )
5640 --file |
--fil |
--fi |
--f )
5642 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5643 ac_need_defaults
=false
;;
5644 --header |
--heade |
--head |
--hea )
5646 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5647 ac_need_defaults
=false
;;
5648 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5649 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5653 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5654 Try \`$0 --help' for more information." >&5
5655 echo "$as_me: error: unrecognized option: $1
5656 Try \`$0 --help' for more information." >&2;}
5657 { (exit 1); exit 1; }; } ;;
5659 *) ac_config_targets
="$ac_config_targets $1" ;;
5665 ac_configure_extra_args
=
5667 if $ac_cs_silent; then
5669 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5673 cat >>$CONFIG_STATUS <<_ACEOF
5674 if \$ac_cs_recheck; then
5675 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5676 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5685 cat >>$CONFIG_STATUS <<\_ACEOF
5686 for ac_config_target
in $ac_config_targets
5688 case "$ac_config_target" in
5689 # Handling of arguments.
5690 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5691 "mkheaders.almost" ) CONFIG_FILES
="$CONFIG_FILES mkheaders.almost:mkheaders.in" ;;
5692 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
5693 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5694 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5695 { (exit 1); exit 1; }; };;
5699 # If the user did not use the arguments to specify the items to instantiate,
5700 # then the envvar interface is used. Set only those that are not.
5701 # We use the long form for the default assignment because of an extremely
5702 # bizarre bug on SunOS 4.1.3.
5703 if $ac_need_defaults; then
5704 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5705 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5708 # Have a temporary directory for convenience. Make it in the build tree
5709 # simply because there is no reason to put it here, and in addition,
5710 # creating and moving files from /tmp can sometimes cause problems.
5711 # Create a temporary directory, and hook for its removal unless debugging.
5714 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5715 trap '{ (exit 1); exit 1; }' 1 2 13 15
5718 # Create a (secure) tmp directory for tmp files.
5721 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5722 test -n "$tmp" && test -d "$tmp"
5725 tmp
=.
/confstat$$
-$RANDOM
5726 (umask 077 && mkdir
$tmp)
5729 echo "$me: cannot create a temporary directory in ." >&2
5730 { (exit 1); exit 1; }
5735 cat >>$CONFIG_STATUS <<_ACEOF
5738 # CONFIG_FILES section.
5741 # No need to generate the scripts if there are no CONFIG_FILES.
5742 # This happens for instance when ./config.status config.h
5743 if test -n "\$CONFIG_FILES"; then
5744 # Protect against being on the right side of a sed subst in config.status.
5745 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5746 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5747 s,@SHELL@,$SHELL,;t t
5748 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5749 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5750 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5751 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5752 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5753 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5754 s,@exec_prefix@,$exec_prefix,;t t
5755 s,@prefix@,$prefix,;t t
5756 s,@program_transform_name@,$program_transform_name,;t t
5757 s,@bindir@,$bindir,;t t
5758 s,@sbindir@,$sbindir,;t t
5759 s,@libexecdir@,$libexecdir,;t t
5760 s,@datadir@,$datadir,;t t
5761 s,@sysconfdir@,$sysconfdir,;t t
5762 s,@sharedstatedir@,$sharedstatedir,;t t
5763 s,@localstatedir@,$localstatedir,;t t
5764 s,@libdir@,$libdir,;t t
5765 s,@includedir@,$includedir,;t t
5766 s,@oldincludedir@,$oldincludedir,;t t
5767 s,@infodir@,$infodir,;t t
5768 s,@mandir@,$mandir,;t t
5769 s,@build_alias@,$build_alias,;t t
5770 s,@host_alias@,$host_alias,;t t
5771 s,@target_alias@,$target_alias,;t t
5773 s,@ECHO_C@,$ECHO_C,;t t
5774 s,@ECHO_N@,$ECHO_N,;t t
5775 s,@ECHO_T@,$ECHO_T,;t t
5777 s,@build@,$build,;t t
5778 s,@build_cpu@,$build_cpu,;t t
5779 s,@build_vendor@,$build_vendor,;t t
5780 s,@build_os@,$build_os,;t t
5782 s,@host_cpu@,$host_cpu,;t t
5783 s,@host_vendor@,$host_vendor,;t t
5784 s,@host_os@,$host_os,;t t
5785 s,@target@,$target,;t t
5786 s,@target_cpu@,$target_cpu,;t t
5787 s,@target_vendor@,$target_vendor,;t t
5788 s,@target_os@,$target_os,;t t
5790 s,@CFLAGS@,$CFLAGS,;t t
5791 s,@LDFLAGS@,$LDFLAGS,;t t
5792 s,@CPPFLAGS@,$CPPFLAGS,;t t
5793 s,@ac_ct_CC@,$ac_ct_CC,;t t
5794 s,@EXEEXT@,$EXEEXT,;t t
5795 s,@OBJEXT@,$OBJEXT,;t t
5796 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
5797 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
5798 s,@WERROR@,$WERROR,;t t
5799 s,@target_noncanonical@,$target_noncanonical,;t t
5800 s,@TARGET@,$TARGET,;t t
5802 s,@EGREP@,$EGREP,;t t
5803 s,@MAINT@,$MAINT,;t t
5804 s,@LIBOBJS@,$LIBOBJS,;t t
5805 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5810 cat >>$CONFIG_STATUS <<\_ACEOF
5811 # Split the substitutions into bite-sized pieces for seds with
5812 # small command number limits, like on Digital OSF/1 and HP-UX.
5814 ac_sed_frag
=1 # Number of current file.
5815 ac_beg
=1 # First line for current file.
5816 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5819 while $ac_more_lines; do
5820 if test $ac_beg -gt 1; then
5821 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5823 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5825 if test ! -s $tmp/subs.frag
; then
5828 # The purpose of the label and of the branching condition is to
5829 # speed up the sed processing (if there are no `@' at all, there
5830 # is no need to browse any of the substitutions).
5831 # These are the two extra sed commands mentioned above.
5833 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5834 if test -z "$ac_sed_cmds"; then
5835 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5837 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5839 ac_sed_frag
=`expr $ac_sed_frag + 1`
5841 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5844 if test -z "$ac_sed_cmds"; then
5847 fi # test -n "$CONFIG_FILES"
5850 cat >>$CONFIG_STATUS <<\_ACEOF
5851 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5852 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5854 - |
*:- |
*:-:* ) # input from stdin
5856 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5857 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5858 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5859 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5860 * ) ac_file_in
=$ac_file.
in ;;
5863 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5864 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5865 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5866 X"$ac_file" : 'X\(//\)[^/]' \| \
5867 X"$ac_file" : 'X\(//\)$' \| \
5868 X"$ac_file" : 'X\(/\)' \| \
5869 . : '\(.\)' 2>/dev/null ||
5871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5873 /^X\(\/\/\)$/{ s//\1/; q; }
5874 /^X\(\/\).*/{ s//\1/; q; }
5876 { if $as_mkdir_p; then
5881 while test ! -d "$as_dir"; do
5882 as_dirs
="$as_dir $as_dirs"
5883 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5884 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5885 X"$as_dir" : 'X\(//\)[^/]' \| \
5886 X"$as_dir" : 'X\(//\)$' \| \
5887 X"$as_dir" : 'X\(/\)' \| \
5888 . : '\(.\)' 2>/dev/null ||
5890 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5891 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5892 /^X\(\/\/\)$/{ s//\1/; q; }
5893 /^X\(\/\).*/{ s//\1/; q; }
5896 test ! -n "$as_dirs" || mkdir
$as_dirs
5897 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5898 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5899 { (exit 1); exit 1; }; }; }
5903 if test "$ac_dir" != .
; then
5904 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5905 # A "../" for each directory in $ac_dir_suffix.
5906 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5908 ac_dir_suffix
= ac_top_builddir
=
5912 .
) # No --srcdir option. We are building in place.
5914 if test -z "$ac_top_builddir"; then
5917 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5919 [\\/]* | ?
:[\\/]* ) # Absolute path.
5920 ac_srcdir
=$srcdir$ac_dir_suffix;
5921 ac_top_srcdir
=$srcdir ;;
5923 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5924 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5927 # Do not use `cd foo && pwd` to compute absolute paths, because
5928 # the directories may not exist.
5930 .
) ac_abs_builddir
="$ac_dir";;
5933 .
) ac_abs_builddir
=`pwd`;;
5934 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5935 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5938 case $ac_abs_builddir in
5939 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5941 case ${ac_top_builddir}.
in
5942 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5943 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5944 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5947 case $ac_abs_builddir in
5948 .
) ac_abs_srcdir
=$ac_srcdir;;
5951 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5952 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5953 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5956 case $ac_abs_builddir in
5957 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5959 case $ac_top_srcdir in
5960 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5961 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5962 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5968 if test x
"$ac_file" != x-
; then
5969 { echo "$as_me:$LINENO: creating $ac_file" >&5
5970 echo "$as_me: creating $ac_file" >&6;}
5973 # Let's still pretend it is `configure' which instantiates (i.e., don't
5974 # use $as_me), people would be surprised to read:
5975 # /* config.h. Generated by config.status. */
5976 if test x
"$ac_file" = x-
; then
5979 configure_input
="$ac_file. "
5981 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5982 sed 's,.*/,,'` by configure."
5984 # First look for the input files in the build tree, otherwise in the
5986 ac_file_inputs
=`IFS=:
5987 for f in $ac_file_in; do
5989 -) echo $tmp/stdin ;;
5991 # Absolute (can't be DOS-style, as IFS=:)
5992 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5993 echo "$as_me: error: cannot find input file: $f" >&2;}
5994 { (exit 1); exit 1; }; }
5997 if test -f "$f"; then
6000 elif test -f "$srcdir/$f"; then
6005 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6006 echo "$as_me: error: cannot find input file: $f" >&2;}
6007 { (exit 1); exit 1; }; }
6010 done` ||
{ (exit 1); exit 1; }
6012 cat >>$CONFIG_STATUS <<_ACEOF
6016 cat >>$CONFIG_STATUS <<\_ACEOF
6018 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6019 s
,@configure_input@
,$configure_input,;t t
6020 s
,@srcdir@
,$ac_srcdir,;t t
6021 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6022 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6023 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6024 s
,@builddir@
,$ac_builddir,;t t
6025 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6026 s
,@top_builddir@
,$ac_top_builddir,;t t
6027 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6028 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6030 if test x"$ac_file" != x-; then
6031 mv $tmp/out $ac_file
6039 cat >>$CONFIG_STATUS <<\_ACEOF
6042 # CONFIG_HEADER section.
6045 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6046 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6048 # ac_d sets the value in "#define NAME VALUE" lines.
6049 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6050 ac_dB
='[ ].*$,\1#\2'
6053 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6054 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6055 ac_uB
='$,\1#\2define\3'
6059 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6060 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6062 - |
*:- |
*:-:* ) # input from stdin
6064 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6065 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6066 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6067 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6068 * ) ac_file_in
=$ac_file.
in ;;
6071 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
6072 echo "$as_me: creating $ac_file" >&6;}
6074 # First look for the input files in the build tree, otherwise in the
6076 ac_file_inputs
=`IFS=:
6077 for f in $ac_file_in; do
6079 -) echo $tmp/stdin ;;
6081 # Absolute (can't be DOS-style, as IFS=:)
6082 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6083 echo "$as_me: error: cannot find input file: $f" >&2;}
6084 { (exit 1); exit 1; }; }
6085 # Do quote $f, to prevent DOS paths from being IFS'd.
6088 if test -f "$f"; then
6091 elif test -f "$srcdir/$f"; then
6096 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6097 echo "$as_me: error: cannot find input file: $f" >&2;}
6098 { (exit 1); exit 1; }; }
6101 done` ||
{ (exit 1); exit 1; }
6102 # Remove the trailing spaces.
6103 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6107 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6108 # `conftest.undefs', that substitutes the proper values into
6109 # config.h.in to produce config.h. The first handles `#define'
6110 # templates, and the second `#undef' templates.
6111 # And first: Protect against being on the right side of a sed subst in
6112 # config.status. Protect against being in an unquoted here document
6114 rm -f conftest.defines conftest.undefs
6115 # Using a here document instead of a string reduces the quoting nightmare.
6116 # Putting comments in sed scripts is not portable.
6118 # `end' is used to avoid that the second main sed command (meant for
6119 # 0-ary CPP macros) applies to n-ary macro definitions.
6120 # See the Autoconf documentation for `clear'.
6121 cat >confdef2sed.
sed <<\_ACEOF
6126 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6128 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6131 # If some macros were called several times there might be several times
6132 # the same #defines, which is useless. Nevertheless, we may not want to
6133 # sort them, since we want the *last* AC-DEFINE to be honored.
6134 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6135 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6136 rm -f confdef2sed.sed
6138 # This sed command replaces #undef with comments. This is necessary, for
6139 # example, in the case of _POSIX_SOURCE, which is predefined and required
6140 # on some systems where configure will not decide to define it.
6141 cat >>conftest.undefs <<\_ACEOF
6142 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6145 # Break up conftest.defines because some shells have a limit on the size
6146 # of here documents, and old seds have small limits too (100 cmds).
6147 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6148 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6149 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6150 echo ' :' >>$CONFIG_STATUS
6152 while grep . conftest.defines >/dev/null
6154 # Write a limited-size here document to $tmp/defines.sed.
6155 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6156 # Speed up: don't consider the non `#define' lines.
6157 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6158 # Work around the forget-to-reset-the-flag bug.
6159 echo 't clr' >>$CONFIG_STATUS
6160 echo ': clr' >>$CONFIG_STATUS
6161 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
6163 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6167 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
6168 rm -f conftest.defines
6169 mv conftest.
tail conftest.defines
6171 rm -f conftest.defines
6172 echo ' fi # grep' >>$CONFIG_STATUS
6173 echo >>$CONFIG_STATUS
6175 # Break up conftest.undefs because some shells have a limit on the size
6176 # of here documents, and old seds have small limits too (100 cmds).
6177 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6179 while grep . conftest.undefs
>/dev
/null
6181 # Write a limited-size here document to $tmp/undefs.sed.
6182 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6183 # Speed up: don't consider the non
`#undef'
6184 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6185 # Work around the forget-to-reset-the-flag bug.
6186 echo 't clr' >>$CONFIG_STATUS
6187 echo ': clr' >>$CONFIG_STATUS
6188 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6190 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6194 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6195 rm -f conftest.undefs
6196 mv conftest.tail conftest.undefs
6198 rm -f conftest.undefs
6200 cat >>$CONFIG_STATUS <<\_ACEOF
6201 # Let's still pretend it is `configure
' which instantiates (i.e., don't
6202 # use $as_me), people would be surprised to read:
6203 # /* config.h. Generated by config.status. */
6204 if test x
"$ac_file" = x-
; then
6205 echo "/* Generated by configure. */" >$tmp/config.h
6207 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6209 cat $tmp/in >>$tmp/config.h
6211 if test x
"$ac_file" != x-
; then
6212 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
6213 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6214 echo "$as_me: $ac_file is unchanged" >&6;}
6216 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6217 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6218 X"$ac_file" : 'X\(//\)[^/]' \| \
6219 X"$ac_file" : 'X\(//\)$' \| \
6220 X"$ac_file" : 'X\(/\)' \| \
6221 . : '\(.\)' 2>/dev/null ||
6223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6224 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6225 /^X\(\/\/\)$/{ s//\1/; q; }
6226 /^X\(\/\).*/{ s//\1/; q; }
6228 { if $as_mkdir_p; then
6233 while test ! -d "$as_dir"; do
6234 as_dirs
="$as_dir $as_dirs"
6235 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6236 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6237 X"$as_dir" : 'X\(//\)[^/]' \| \
6238 X"$as_dir" : 'X\(//\)$' \| \
6239 X"$as_dir" : 'X\(/\)' \| \
6240 . : '\(.\)' 2>/dev/null ||
6242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6243 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6244 /^X\(\/\/\)$/{ s//\1/; q; }
6245 /^X\(\/\).*/{ s//\1/; q; }
6248 test ! -n "$as_dirs" || mkdir
$as_dirs
6249 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6250 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6251 { (exit 1); exit 1; }; }; }
6254 mv $tmp/config.h
$ac_file
6260 # Run the commands associated with the file.
6262 config.h
) echo timestamp
> stamp-h
;;
6267 cat >>$CONFIG_STATUS <<\_ACEOF
6269 { (exit 0); exit 0; }
6271 chmod +x
$CONFIG_STATUS
6272 ac_clean_files
=$ac_clean_files_save
6275 # configure is writing to config.log, and then calls config.status.
6276 # config.status does its own redirection, appending to config.log.
6277 # Unfortunately, on DOS this fails, as config.log is still kept open
6278 # by configure, so config.status won't be able to write to it; its
6279 # output is simply discarded. So we exec the FD to /dev/null,
6280 # effectively closing config.log, so it can be properly (re)opened and
6281 # appended to by config.status. When coming back to configure, we
6282 # need to make the FD available again.
6283 if test "$no_create" != yes; then
6285 ac_config_status_args
=
6286 test "$silent" = yes &&
6287 ac_config_status_args
="$ac_config_status_args --quiet"
6289 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
6291 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6292 # would make configure fail if this is the last instruction.
6293 $ac_cs_success ||
{ (exit 1); exit 1; }