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 SED WARN_CFLAGS WARN_PEDANTIC WERROR target_noncanonical TARGET CPP EGREP MAINT LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CPP_set
=${CPP+set}
771 ac_env_CPP_value
=$CPP
772 ac_cv_env_CPP_set
=${CPP+set}
773 ac_cv_env_CPP_value
=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures fixincludes to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --build=BUILD configure
for building on BUILD
[guessed
]
837 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
838 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
842 if test -n "$ac_init_help"; then
843 case $ac_init_help in
844 short | recursive
) echo "Configuration of fixincludes :";;
849 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
850 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
851 --enable-werror-always enable -Werror despite compiler version
852 --enable-twoprocess Use a separate process to apply the fixes
853 --enable-maintainer-mode enable make rules and dependencies not useful
854 (and sometimes confusing
) to the casual installer
857 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
858 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
859 --with-local-prefix=DIR specifies directory to put
local include
861 Some influential environment variables
:
862 CC C compiler
command
863 CFLAGS C compiler flags
864 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
865 nonstandard directory
<lib dir
>
866 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
867 headers
in a nonstandard directory
<include dir
>
870 Use these variables to override the choices made by
`configure' or to help
871 it to find libraries and programs with nonstandard names/locations.
876 if test "$ac_init_help" = "recursive"; then
877 # If there are subdirs, report their specific --help.
879 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
880 test -d $ac_dir || continue
883 if test "$ac_dir" != .; then
884 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
885 # A "../" for each directory in $ac_dir_suffix.
886 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
888 ac_dir_suffix= ac_top_builddir=
892 .) # No --srcdir option. We are building in place.
894 if test -z "$ac_top_builddir"; then
897 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
899 [\\/]* | ?:[\\/]* ) # Absolute path.
900 ac_srcdir=$srcdir$ac_dir_suffix;
901 ac_top_srcdir=$srcdir ;;
903 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
904 ac_top_srcdir=$ac_top_builddir$srcdir ;;
907 # Do not use `cd foo
&& pwd` to compute absolute paths, because
908 # the directories may not exist.
910 .) ac_abs_builddir="$ac_dir";;
913 .) ac_abs_builddir=`pwd`;;
914 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
915 *) ac_abs_builddir=`pwd`/"$ac_dir";;
918 case $ac_abs_builddir in
919 .) ac_abs_top_builddir=${ac_top_builddir}.;;
921 case ${ac_top_builddir}. in
922 .) ac_abs_top_builddir=$ac_abs_builddir;;
923 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
924 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
927 case $ac_abs_builddir in
928 .) ac_abs_srcdir=$ac_srcdir;;
931 .) ac_abs_srcdir=$ac_abs_builddir;;
932 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
933 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
936 case $ac_abs_builddir in
937 .) ac_abs_top_srcdir=$ac_top_srcdir;;
939 case $ac_top_srcdir in
940 .) ac_abs_top_srcdir=$ac_abs_builddir;;
941 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
942 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
947 # Check for guested configure; otherwise get Cygnus style configure.
948 if test -f $ac_srcdir/configure.gnu; then
950 $SHELL $ac_srcdir/configure.gnu --help=recursive
951 elif test -f $ac_srcdir/configure; then
953 $SHELL $ac_srcdir/configure --help=recursive
954 elif test -f $ac_srcdir/configure.ac ||
955 test -f $ac_srcdir/configure.in; then
959 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
965 test -n "$ac_init_help" && exit 0
966 if $ac_init_version; then
968 fixincludes configure
969 generated by GNU Autoconf 2.59
971 Copyright (C) 2003 Free Software Foundation, Inc.
972 This configure script is free software; the Free Software Foundation
973 gives unlimited permission to copy, distribute and modify it.
979 This file contains any messages produced by compilers while
980 running configure, to aid debugging if configure makes a mistake.
982 It was created by fixincludes $as_me , which was
983 generated by GNU Autoconf 2.59. Invocation command line was
994 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
995 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
996 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
997 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
998 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1000 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1001 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1003 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1004 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1005 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1006 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1007 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1008 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1009 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1017 test -z "$as_dir" && as_dir=.
1018 echo "PATH: $as_dir"
1033 # Keep a trace of the command line.
1034 # Strip out --no-create and --no-recursion so they do not pile up.
1035 # Strip out --silent because we don't want to record it for future runs.
1036 # Also quote any args containing shell meta-characters.
1037 # Make two passes to allow for proper duplicate-argument suppression.
1042 ac_must_keep_next=false
1048 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050 | -silent | --silent | --silen | --sile | --sil)
1052 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1053 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1056 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1058 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1059 if test $ac_must_keep_next = true; then
1060 ac_must_keep_next=false # Got value, back to normal.
1063 *=* | --config-cache | -C | -disable-* | --disable-* \
1064 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1065 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1066 | -with-* | --with-* | -without-* | --without-* | --x)
1067 case "$ac_configure_args0 " in
1068 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1071 -* ) ac_must_keep_next=true ;;
1074 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1075 # Get rid of the leading space.
1081 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1082 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1084 # When interrupted or exit'd, cleanup temporary files, and complete
1085 # config.log. We remove comments because anyway the quotes in there
1086 # would cause problems or look ugly.
1087 # WARNING: Be sure not to use single quotes in there, as some shells,
1088 # such as our DU 5.0 friend, will then `close
' the trap.
1089 trap 'exit_status
=$?
1090 # Save into config.log some information that might help in debugging.
1095 ## ---------------- ##
1096 ## Cache variables. ##
1097 ## ---------------- ##
1100 # The following way of writing the cache mishandles newlines in values,
1103 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1106 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1107 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1111 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1118 ## ----------------- ##
1119 ## Output variables. ##
1120 ## ----------------- ##
1123 for ac_var
in $ac_subst_vars
1125 eval ac_val
=$
`echo $ac_var`
1126 echo "$ac_var='"'"'$ac_val'"'"'"
1130 if test -n "$ac_subst_files"; then
1137 for ac_var
in $ac_subst_files
1139 eval ac_val
=$
`echo $ac_var`
1140 echo "$ac_var='"'"'$ac_val'"'"'"
1145 if test -s confdefs.h
; then
1152 sed "/^$/d" confdefs.h |
sort
1155 test "$ac_signal" != 0 &&
1156 echo "$as_me: caught signal $ac_signal"
1157 echo "$as_me: exit $exit_status"
1159 rm -f core
*.core
&&
1160 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1163 for ac_signal in 1 2 13 15; do
1164 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1168 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1169 rm -rf conftest* confdefs.h
1170 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1173 # Predefined preprocessor variables.
1175 cat >>confdefs.h <<_ACEOF
1176 #define PACKAGE_NAME "$PACKAGE_NAME"
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_STRING "$PACKAGE_STRING"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1200 # Let the site file select an alternate cache file if it wants to.
1201 # Prefer explicitly selected file to automatically selected ones.
1202 if test -z "$CONFIG_SITE"; then
1203 if test "x$prefix" != xNONE; then
1204 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1206 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1209 for ac_site_file in $CONFIG_SITE; do
1210 if test -r "$ac_site_file"; then
1211 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1212 echo "$as_me: loading site script $ac_site_file" >&6;}
1213 sed 's
/^
/|
/' "$ac_site_file" >&5
1218 if test -r "$cache_file"; then
1219 # Some versions of bash will fail to source /dev/null (special
1220 # files actually), so we avoid doing that.
1221 if test -f "$cache_file"; then
1222 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1223 echo "$as_me: loading cache $cache_file" >&6;}
1225 [\\/]* | ?:[\\/]* ) . $cache_file;;
1226 *) . ./$cache_file;;
1230 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1231 echo "$as_me: creating cache $cache_file" >&6;}
1235 # Check that the precious variables saved in the cache have kept the same
1237 ac_cache_corrupted=false
1238 for ac_var in `(set) 2>&1 |
1239 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1240 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1241 eval ac_new_set=\$ac_env_${ac_var}_set
1242 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1243 eval ac_new_val="\$ac_env_${ac_var}_value"
1244 case $ac_old_set,$ac_new_set in
1246 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1247 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1248 ac_cache_corrupted=: ;;
1250 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1252 ac_cache_corrupted=: ;;
1255 if test "x$ac_old_val" != "x$ac_new_val"; then
1256 # differences in whitespace do not lead to failure.
1257 ac_old_val_w=`echo x $ac_old_val`
1258 ac_new_val_w=`echo x $ac_new_val`
1259 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1261 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1262 ac_cache_corrupted=:
1264 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1265 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1266 eval $ac_var=\$ac_old_val
1268 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1269 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1270 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1271 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1274 # Pass precious variables to config.status.
1275 if test "$ac_new_set" = set; then
1277 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1278 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1279 *) ac_arg=$ac_var=$ac_new_val ;;
1281 case " $ac_configure_args " in
1282 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1283 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1287 if $ac_cache_corrupted; then
1288 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1289 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1290 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1291 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1292 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1293 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1294 { (exit 1); exit 1; }; }
1298 ac_cpp='$CPP $CPPFLAGS'
1299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1334 for ac_dir in .. $srcdir/..; do
1335 if test -f $ac_dir/install-sh; then
1337 ac_install_sh="$ac_aux_dir/install-sh -c"
1339 elif test -f $ac_dir/install.sh; then
1341 ac_install_sh="$ac_aux_dir/install.sh -c"
1343 elif test -f $ac_dir/shtool; then
1345 ac_install_sh="$ac_aux_dir/shtool install -c"
1349 if test -z "$ac_aux_dir"; then
1350 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1351 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1352 { (exit 1); exit 1; }; }
1354 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1355 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1356 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1358 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
1360 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1361 # 2006, 2007, 2008 Free Software Foundation, Inc.
1362 # Written by Gordon Matzigkeit, 1996
1364 # This file is free software; the Free Software Foundation gives
1365 # unlimited permission to copy and/or distribute it, with or without
1366 # modifications, as long as this notice is preserved.
1373 # LT_PREREQ(VERSION)
1374 # ------------------
1375 # Complain and exit if this libtool version is less that VERSION.
1379 # _LT_CHECK_BUILDDIR
1380 # ------------------
1381 # Complain if the absolute build directory name contains unusual characters
1385 # LT_INIT([OPTIONS])
1386 # ------------------
1394 # _LT_CC_BASENAME(CC)
1395 # -------------------
1396 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
1400 # _LT_FILEUTILS_DEFAULTS
1401 # ----------------------
1402 # It is okay to use these file commands and assume they have been set
1403 # sensibly after `m4_require
([_LT_FILEUTILS_DEFAULTS
])'.
1404 # _LT_FILEUTILS_DEFAULTS
1414 # Note that this code is called both from `configure', and
`config.status'
1415 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
1416 # `config.status
' has no value for ac_aux_dir unless we are using Automake,
1417 # so we pass a copy along to make sure it has a sensible value anyway.
1421 ## ------------------------------------- ##
1422 ## Accumulate code for creating libtool. ##
1423 ## ------------------------------------- ##
1425 # So that we can recreate a full libtool script including additional
1426 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
1427 # in macros and then make a single call at the end using the `libtool'
1431 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
1432 # ----------------------------------------
1433 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
1440 # _LT_CONFIG_LIBTOOL([COMMANDS])
1441 # ------------------------------
1442 # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
1449 # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
1450 # -----------------------------------------------------
1454 # _LT_FORMAT_COMMENT([COMMENT])
1455 # -----------------------------
1456 # Add leading comment marks to the start of each line, and a trailing
1457 # full-stop to the whole comment if one is not present already.
1462 ## ------------------------ ##
1463 ## FIXME: Eliminate VARNAME ##
1464 ## ------------------------ ##
1467 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
1468 # -------------------------------------------------------------------
1469 # CONFIGNAME is the name given to the value in the libtool script.
1470 # VARNAME is the (base) name used in the configure script.
1471 # VALUE may be 0, 1 or 2 for a computed quote escaped value based on
1472 # VARNAME. Any other value will be used directly.
1476 # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
1477 # --------------------------------------------------------
1481 # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
1482 # ------------------------------------------------
1486 # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
1487 # ---------------------------------------------------------
1491 # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
1492 # --------------------------------------------------
1496 # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
1497 # ---------------------------------------------------
1501 # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
1502 # ---------------------------------------------------
1507 # lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
1508 # ------------------------------------------------
1513 # _LT_CONFIG_STATUS_DECLARE([VARNAME])
1514 # ------------------------------------
1515 # Quote a variable value, and forward it to `config.status' so that its
1516 # declaration there will have the same value as in `configure'. VARNAME
1517 # must have a single quote delimited value for this to work.
1521 # _LT_CONFIG_STATUS_DECLARATIONS
1522 # ------------------------------
1523 # We delimit libtool config variables with single quotes, so when
1524 # we write them to config.status, we have to be sure to quote all
1525 # embedded single quotes properly. In configure, this macro expands
1526 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
1528 # <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
1534 # Output comment and list of tags supported by the script
1538 # _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
1539 # -----------------------------------
1540 # Extract the dictionary values for VARNAME (optionally with TAG) and
1541 # expand to a commented shell variable setting:
1543 # # Some comment about what VAR is for.
1544 # visible_name=$lt_internal_name
1548 # _LT_LIBTOOL_CONFIG_VARS
1549 # -----------------------
1550 # Produce commented declarations of non-tagged libtool config variables
1551 # suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
1552 # script. Tagged libtool config variables (even for the LIBTOOL CONFIG
1553 # section) are produced by _LT_LIBTOOL_TAG_VARS.
1557 # _LT_LIBTOOL_TAG_VARS(TAG)
1558 # -------------------------
1562 # _LT_TAGVAR(VARNAME, [TAGNAME])
1563 # ------------------------------
1567 # _LT_CONFIG_COMMANDS
1568 # -------------------
1569 # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
1570 # variables for single and double quote escaping we saved from calls
1571 # to _LT_DECL, we can put quote escaped variables declarations
1572 # into `config.status', and then the shell code to quote escape them in
1573 # for loops in `config.status'. Finally, any additional code accumulated
1574 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
1575 #_LT_CONFIG_COMMANDS
1584 # This macro allows early generation of the libtool script (before
1585 # AC_OUTPUT is called), incase it is used in configure for compilation
1592 # If TAG is the built-in tag, create an initial libtool script with a
1593 # default configuration from the untagged config vars. Otherwise add code
1594 # to config.status for appending the configuration named by TAG from the
1595 # matching tagged config vars.
1599 # LT_SUPPORTED_TAG(TAG)
1600 # ---------------------
1601 # Trace this macro to discover what tags are supported by the libtool
1602 # --tag option, using:
1603 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
1607 # C support is built-in for now
1614 # Enable libtool support for the given language if not already enabled.
1618 # _LT_LANG(LANGNAME)
1619 # ------------------
1623 # _LT_LANG_DEFAULT_CONFIG
1624 # -----------------------
1625 # _LT_LANG_DEFAULT_CONFIG
1639 # _LT_COMPILER_BOILERPLATE
1640 # ------------------------
1641 # Check for compiler boilerplate output or warnings with
1642 # the simple compiler test code.
1643 # _LT_COMPILER_BOILERPLATE
1646 # _LT_LINKER_BOILERPLATE
1647 # ----------------------
1648 # Check for linker boilerplate output or warnings with
1649 # the simple link test code.
1650 # _LT_LINKER_BOILERPLATE
1652 # _LT_REQUIRED_DARWIN_CHECKS
1653 # -------------------------
1657 # _LT_DARWIN_LINKER_FEATURES
1658 # --------------------------
1659 # Checks for linker and compiler features on darwin
1662 # _LT_SYS_MODULE_PATH_AIX
1663 # -----------------------
1664 # Links a minimal program and checks the executable
1665 # for the system default hardcoded library path. In most cases,
1666 # this is /usr/lib:/lib, but when the MPI compilers are used
1667 # the location of the communication and MPI libs are included too.
1668 # If we don't find anything, use the default library path according
1669 # to the aix ld manual.
1670 # _LT_SYS_MODULE_PATH_AIX
1673 # _LT_SHELL_INIT(ARG)
1674 # -------------------
1678 # _LT_PROG_ECHO_BACKSLASH
1679 # -----------------------
1680 # Add some code to the start of the generated configure script which
1681 # will find an echo command which doesn't interpret backslashes.
1682 # _LT_PROG_ECHO_BACKSLASH
1690 # _LT_CMD_OLD_ARCHIVE
1691 # -------------------
1692 # _LT_CMD_OLD_ARCHIVE
1695 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1696 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1697 # ----------------------------------------------------------------
1698 # Check whether the given compiler option works
1699 # _LT_COMPILER_OPTION
1705 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1706 # [ACTION-SUCCESS], [ACTION-FAILURE])
1707 # ----------------------------------------------------
1708 # Check whether the given linker option works
1728 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1729 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1730 # ----------------------------------------------------------------
1731 # _LT_TRY_DLOPEN_SELF
1734 # LT_SYS_DLOPEN_SELF
1735 # ------------------
1736 # LT_SYS_DLOPEN_SELF
1742 # _LT_COMPILER_C_O([TAGNAME])
1743 # ---------------------------
1744 # Check to see if options -c and -o are simultaneously supported by compiler.
1745 # This macro does not hard code the compiler like AC_PROG_CC_C_O.
1749 # _LT_COMPILER_FILE_LOCKS([TAGNAME])
1750 # ----------------------------------
1751 # Check to see if we can do hard links to lock some files if needed
1752 # _LT_COMPILER_FILE_LOCKS
1760 # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
1761 # --------------------------------------
1762 # Check hardcoding attributes.
1763 # _LT_LINKER_HARDCODE_LIBPATH
1771 # _LT_SYS_DYNAMIC_LINKER([TAG])
1772 # -----------------------------
1773 # PORTME Fill in your ld.so characteristics
1774 # _LT_SYS_DYNAMIC_LINKER
1777 # _LT_PATH_TOOL_PREFIX(TOOL)
1778 # --------------------------
1779 # find a file program which can recognize shared library
1780 # _LT_PATH_TOOL_PREFIX
1788 # find a file program which can recognize a shared library
1794 # find the pathname to the GNU or non-GNU linker
1809 # find reload flag for linker
1810 # -- PORTME Some linkers may need a different reload flag.
1814 # _LT_CHECK_MAGIC_METHOD
1815 # ----------------------
1816 # how to check for library dependencies
1817 # -- PORTME fill in with the dynamic library characteristics
1818 # _LT_CHECK_MAGIC_METHOD
1823 # find the pathname to a BSD- or MS-compatible name lister
1833 # check for math library
1840 # _LT_COMPILER_NO_RTTI([TAGNAME])
1841 # -------------------------------
1842 # _LT_COMPILER_NO_RTTI
1845 # _LT_CMD_GLOBAL_SYMBOLS
1846 # ----------------------
1847 # _LT_CMD_GLOBAL_SYMBOLS
1850 # _LT_COMPILER_PIC([TAGNAME])
1851 # ---------------------------
1855 # _LT_LINKER_SHLIBS([TAGNAME])
1856 # ----------------------------
1857 # See if the linker supports building shared libraries.
1861 # _LT_LANG_C_CONFIG([TAG])
1862 # ------------------------
1863 # Ensure that the configuration variables for a C compiler are suitably
1864 # defined. These variables are subsequently used by _LT_CONFIG to write
1865 # the compiler configuration to `libtool'.
1871 # Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
1872 # compiler, we have our own version here.
1877 # _LT_LANG_CXX_CONFIG([TAG])
1878 # --------------------------
1879 # Ensure that the configuration variables for a C++ compiler are suitably
1880 # defined. These variables are subsequently used by _LT_CONFIG to write
1881 # the compiler configuration to `libtool'.
1882 # _LT_LANG_CXX_CONFIG
1885 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
1886 # ---------------------------------
1887 # Figure out "hidden" library dependencies from verbose
1888 # compiler output when linking a shared library.
1889 # Parse the compiler output and extract the necessary
1890 # objects, libraries and library flags.
1891 # _LT_SYS_HIDDEN_LIBDEPS
1896 # Since AC_PROG_F77 is broken, in that it returns the empty string
1897 # if there is no fortran compiler, we have our own version here.
1902 # _LT_LANG_F77_CONFIG([TAG])
1903 # --------------------------
1904 # Ensure that the configuration variables for a Fortran 77 compiler are
1905 # suitably defined. These variables are subsequently used by _LT_CONFIG
1906 # to write the compiler configuration to `libtool'.
1907 # _LT_LANG_F77_CONFIG
1912 # Since AC_PROG_FC is broken, in that it returns the empty string
1913 # if there is no fortran compiler, we have our own version here.
1918 # _LT_LANG_FC_CONFIG([TAG])
1919 # -------------------------
1920 # Ensure that the configuration variables for a Fortran compiler are
1921 # suitably defined. These variables are subsequently used by _LT_CONFIG
1922 # to write the compiler configuration to `libtool'.
1923 # _LT_LANG_FC_CONFIG
1926 # _LT_LANG_GCJ_CONFIG([TAG])
1927 # --------------------------
1928 # Ensure that the configuration variables for the GNU Java Compiler compiler
1929 # are suitably defined. These variables are subsequently used by _LT_CONFIG
1930 # to write the compiler configuration to `libtool'.
1931 # _LT_LANG_GCJ_CONFIG
1934 # _LT_LANG_RC_CONFIG([TAG])
1935 # -------------------------
1936 # Ensure that the configuration variables for the Windows resource compiler
1937 # are suitably defined. These variables are subsequently used by _LT_CONFIG
1938 # to write the compiler configuration to `libtool'.
1939 # _LT_LANG_RC_CONFIG
1960 # If we don't have a new enough Autoconf to choose the best grep
1961 # available, choose the one first in the user's PATH.
1967 # If we don't have a new enough Autoconf to choose the best objdump
1968 # available, choose the one first in the user's PATH.
1974 # Check for a fully-functional sed program, that truncates
1975 # as few characters as possible. Prefer GNU sed if found.
1979 ############################################################
1980 # NOTE: This macro has been submitted for inclusion into #
1981 # GNU Autoconf as AC_PROG_SED. When it is available in #
1982 # a released version of Autoconf we should remove this #
1983 # macro and use it instead. #
1984 ############################################################
1993 # _LT_CHECK_SHELL_FEATURES
1994 # ------------------------
1995 # Find out whether the shell is Bourne or XSI compatible,
1996 # or has some other useful features.
1997 # _LT_CHECK_SHELL_FEATURES
2000 # _LT_PROG_XSI_SHELLFNS
2001 # ---------------------
2002 # Bourne and XSI compatible variants of some useful shell functions.
2005 # Make sure we can run config.sub.
2006 $ac_config_sub sun4
>/dev
/null
2>&1 ||
2007 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2008 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2009 { (exit 1); exit 1; }; }
2011 echo "$as_me:$LINENO: checking build system type" >&5
2012 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2013 if test "${ac_cv_build+set}" = set; then
2014 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 ac_cv_build_alias
=$build_alias
2017 test -z "$ac_cv_build_alias" &&
2018 ac_cv_build_alias
=`$ac_config_guess`
2019 test -z "$ac_cv_build_alias" &&
2020 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2021 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2022 { (exit 1); exit 1; }; }
2023 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2024 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2025 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2026 { (exit 1); exit 1; }; }
2029 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2030 echo "${ECHO_T}$ac_cv_build" >&6
2032 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2033 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2034 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2037 echo "$as_me:$LINENO: checking host system type" >&5
2038 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2039 if test "${ac_cv_host+set}" = set; then
2040 echo $ECHO_N "(cached) $ECHO_C" >&6
2042 ac_cv_host_alias
=$host_alias
2043 test -z "$ac_cv_host_alias" &&
2044 ac_cv_host_alias
=$ac_cv_build_alias
2045 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2046 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2047 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2048 { (exit 1); exit 1; }; }
2051 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2052 echo "${ECHO_T}$ac_cv_host" >&6
2054 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2055 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2056 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2059 echo "$as_me:$LINENO: checking target system type" >&5
2060 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2061 if test "${ac_cv_target+set}" = set; then
2062 echo $ECHO_N "(cached) $ECHO_C" >&6
2064 ac_cv_target_alias
=$target_alias
2065 test "x$ac_cv_target_alias" = "x" &&
2066 ac_cv_target_alias
=$ac_cv_host_alias
2067 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2068 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2069 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2070 { (exit 1); exit 1; }; }
2073 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2074 echo "${ECHO_T}$ac_cv_target" >&6
2075 target
=$ac_cv_target
2076 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2077 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2078 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2081 # The aliases save the names the user supplied, while $host etc.
2082 # will get canonicalized.
2083 test -n "$target_alias" &&
2084 test "$program_prefix$program_suffix$program_transform_name" = \
2086 program_prefix
=${target_alias}-
2088 ac_cpp
='$CPP $CPPFLAGS'
2089 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2090 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2091 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2092 if test -n "$ac_tool_prefix"; then
2093 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2094 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2095 echo "$as_me:$LINENO: checking for $ac_word" >&5
2096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2097 if test "${ac_cv_prog_CC+set}" = set; then
2098 echo $ECHO_N "(cached) $ECHO_C" >&6
2100 if test -n "$CC"; then
2101 ac_cv_prog_CC
="$CC" # Let the user override the test.
2103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2107 test -z "$as_dir" && as_dir
=.
2108 for ac_exec_ext
in '' $ac_executable_extensions; do
2109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2110 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2120 if test -n "$CC"; then
2121 echo "$as_me:$LINENO: result: $CC" >&5
2122 echo "${ECHO_T}$CC" >&6
2124 echo "$as_me:$LINENO: result: no" >&5
2125 echo "${ECHO_T}no" >&6
2129 if test -z "$ac_cv_prog_CC"; then
2131 # Extract the first word of "gcc", so it can be a program name with args.
2132 set dummy gcc
; ac_word
=$2
2133 echo "$as_me:$LINENO: checking for $ac_word" >&5
2134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2135 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2136 echo $ECHO_N "(cached) $ECHO_C" >&6
2138 if test -n "$ac_ct_CC"; then
2139 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2145 test -z "$as_dir" && as_dir
=.
2146 for ac_exec_ext
in '' $ac_executable_extensions; do
2147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2148 ac_cv_prog_ac_ct_CC
="gcc"
2149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2157 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2158 if test -n "$ac_ct_CC"; then
2159 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2160 echo "${ECHO_T}$ac_ct_CC" >&6
2162 echo "$as_me:$LINENO: result: no" >&5
2163 echo "${ECHO_T}no" >&6
2171 if test -z "$CC"; then
2172 if test -n "$ac_tool_prefix"; then
2173 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2174 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2175 echo "$as_me:$LINENO: checking for $ac_word" >&5
2176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2177 if test "${ac_cv_prog_CC+set}" = set; then
2178 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 if test -n "$CC"; then
2181 ac_cv_prog_CC
="$CC" # Let the user override the test.
2183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2187 test -z "$as_dir" && as_dir
=.
2188 for ac_exec_ext
in '' $ac_executable_extensions; do
2189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2190 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2200 if test -n "$CC"; then
2201 echo "$as_me:$LINENO: result: $CC" >&5
2202 echo "${ECHO_T}$CC" >&6
2204 echo "$as_me:$LINENO: result: no" >&5
2205 echo "${ECHO_T}no" >&6
2209 if test -z "$ac_cv_prog_CC"; then
2211 # Extract the first word of "cc", so it can be a program name with args.
2212 set dummy cc
; ac_word
=$2
2213 echo "$as_me:$LINENO: checking for $ac_word" >&5
2214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2215 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2216 echo $ECHO_N "(cached) $ECHO_C" >&6
2218 if test -n "$ac_ct_CC"; then
2219 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2225 test -z "$as_dir" && as_dir
=.
2226 for ac_exec_ext
in '' $ac_executable_extensions; do
2227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2228 ac_cv_prog_ac_ct_CC
="cc"
2229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2237 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2238 if test -n "$ac_ct_CC"; then
2239 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2240 echo "${ECHO_T}$ac_ct_CC" >&6
2242 echo "$as_me:$LINENO: result: no" >&5
2243 echo "${ECHO_T}no" >&6
2252 if test -z "$CC"; then
2253 # Extract the first word of "cc", so it can be a program name with args.
2254 set dummy cc
; ac_word
=$2
2255 echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2257 if test "${ac_cv_prog_CC+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 if test -n "$CC"; then
2261 ac_cv_prog_CC
="$CC" # Let the user override the test.
2264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2268 test -z "$as_dir" && as_dir
=.
2269 for ac_exec_ext
in '' $ac_executable_extensions; do
2270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2271 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2272 ac_prog_rejected
=yes
2276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 if test $ac_prog_rejected = yes; then
2283 # We found a bogon in the path, so make sure we never use it.
2284 set dummy
$ac_cv_prog_CC
2286 if test $# != 0; then
2287 # We chose a different compiler from the bogus one.
2288 # However, it has the same basename, so the bogon will be chosen
2289 # first if we set CC to just the basename; use the full file name.
2291 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2297 if test -n "$CC"; then
2298 echo "$as_me:$LINENO: result: $CC" >&5
2299 echo "${ECHO_T}$CC" >&6
2301 echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6
2306 if test -z "$CC"; then
2307 if test -n "$ac_tool_prefix"; then
2310 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2311 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2312 echo "$as_me:$LINENO: checking for $ac_word" >&5
2313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2314 if test "${ac_cv_prog_CC+set}" = set; then
2315 echo $ECHO_N "(cached) $ECHO_C" >&6
2317 if test -n "$CC"; then
2318 ac_cv_prog_CC
="$CC" # Let the user override the test.
2320 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2324 test -z "$as_dir" && as_dir
=.
2325 for ac_exec_ext
in '' $ac_executable_extensions; do
2326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2327 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 if test -n "$CC"; then
2338 echo "$as_me:$LINENO: result: $CC" >&5
2339 echo "${ECHO_T}$CC" >&6
2341 echo "$as_me:$LINENO: result: no" >&5
2342 echo "${ECHO_T}no" >&6
2345 test -n "$CC" && break
2348 if test -z "$CC"; then
2352 # Extract the first word of "$ac_prog", so it can be a program name with args.
2353 set dummy
$ac_prog; ac_word
=$2
2354 echo "$as_me:$LINENO: checking for $ac_word" >&5
2355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2356 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2357 echo $ECHO_N "(cached) $ECHO_C" >&6
2359 if test -n "$ac_ct_CC"; then
2360 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2366 test -z "$as_dir" && as_dir
=.
2367 for ac_exec_ext
in '' $ac_executable_extensions; do
2368 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2369 ac_cv_prog_ac_ct_CC
="$ac_prog"
2370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2378 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2379 if test -n "$ac_ct_CC"; then
2380 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2381 echo "${ECHO_T}$ac_ct_CC" >&6
2383 echo "$as_me:$LINENO: result: no" >&5
2384 echo "${ECHO_T}no" >&6
2387 test -n "$ac_ct_CC" && break
2396 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2397 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2398 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2399 See \`config.log' for more details." >&5
2400 echo "$as_me: error: no acceptable C compiler found in \$PATH
2401 See \`config.log' for more details." >&2;}
2402 { (exit 1); exit 1; }; }; }
2404 # Provide some information about the compiler.
2405 echo "$as_me:$LINENO:" \
2406 "checking for C compiler version" >&5
2407 ac_compiler
=`set X $ac_compile; echo $2`
2408 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2409 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }
2413 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2414 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); }
2418 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2419 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); }
2424 cat >conftest.
$ac_ext <<_ACEOF
2427 cat confdefs.h
>>conftest.
$ac_ext
2428 cat >>conftest.
$ac_ext <<_ACEOF
2429 /* end confdefs.h. */
2439 ac_clean_files_save
=$ac_clean_files
2440 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2441 # Try to create an executable without -o first, disregard a.out.
2442 # It will help us diagnose broken compilers, and finding out an intuition
2444 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2445 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2446 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2447 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2448 (eval $ac_link_default) 2>&5
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); }; then
2452 # Find the output, starting from the most likely. This scheme is
2453 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2456 # Be careful to initialize this variable, since it used to be cached.
2457 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2459 # b.out is created by i960 compilers.
2460 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2462 test -f "$ac_file" ||
continue
2464 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2467 # This is the source file.
2470 # We found the default executable, but exeext='' is most
2474 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2475 # FIXME: I believe we export ac_cv_exeext for Libtool,
2476 # but it would be cool to find out if it's true. Does anybody
2477 # maintain Libtool? --akim.
2485 echo "$as_me: failed program was:" >&5
2486 sed 's/^/| /' conftest.
$ac_ext >&5
2488 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2489 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2490 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2491 See \`config.log' for more details." >&5
2492 echo "$as_me: error: C compiler cannot create executables
2493 See \`config.log' for more details." >&2;}
2494 { (exit 77); exit 77; }; }; }
2497 ac_exeext
=$ac_cv_exeext
2498 echo "$as_me:$LINENO: result: $ac_file" >&5
2499 echo "${ECHO_T}$ac_file" >&6
2501 # Check the compiler produces executables we can run. If not, either
2502 # the compiler is broken, or we cross compile.
2503 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2504 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2505 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2506 # If not cross compiling, check that we can run a simple program.
2507 if test "$cross_compiling" != yes; then
2508 if { ac_try
='./$ac_file'
2509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 (exit $ac_status); }; }; then
2516 if test "$cross_compiling" = maybe
; then
2519 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2520 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2521 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2522 If you meant to cross compile, use \`--host'.
2523 See \`config.log' for more details." >&5
2524 echo "$as_me: error: cannot run C compiled programs.
2525 If you meant to cross compile, use \`--host'.
2526 See \`config.log' for more details." >&2;}
2527 { (exit 1); exit 1; }; }; }
2531 echo "$as_me:$LINENO: result: yes" >&5
2532 echo "${ECHO_T}yes" >&6
2534 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2535 ac_clean_files
=$ac_clean_files_save
2536 # Check the compiler produces executables we can run. If not, either
2537 # the compiler is broken, or we cross compile.
2538 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2539 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2540 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2541 echo "${ECHO_T}$cross_compiling" >&6
2543 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2544 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2546 (eval $ac_link) 2>&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; then
2550 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2551 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2552 # work properly (i.e., refer to `conftest.exe'), while it won't with
2554 for ac_file
in conftest.exe conftest conftest.
*; do
2555 test -f "$ac_file" ||
continue
2557 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2558 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2565 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2566 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2567 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2568 See \`config.log' for more details." >&5
2569 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2570 See \`config.log' for more details." >&2;}
2571 { (exit 1); exit 1; }; }; }
2574 rm -f conftest
$ac_cv_exeext
2575 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2576 echo "${ECHO_T}$ac_cv_exeext" >&6
2578 rm -f conftest.
$ac_ext
2579 EXEEXT
=$ac_cv_exeext
2581 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2582 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2583 if test "${ac_cv_objext+set}" = set; then
2584 echo $ECHO_N "(cached) $ECHO_C" >&6
2586 cat >conftest.
$ac_ext <<_ACEOF
2589 cat confdefs.h
>>conftest.
$ac_ext
2590 cat >>conftest.
$ac_ext <<_ACEOF
2591 /* end confdefs.h. */
2601 rm -f conftest.o conftest.obj
2602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2603 (eval $ac_compile) 2>&5
2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); }; then
2607 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2609 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2610 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2615 echo "$as_me: failed program was:" >&5
2616 sed 's/^/| /' conftest.
$ac_ext >&5
2618 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2619 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2620 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2621 See \`config.log' for more details." >&5
2622 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2623 See \`config.log' for more details." >&2;}
2624 { (exit 1); exit 1; }; }; }
2627 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2629 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2630 echo "${ECHO_T}$ac_cv_objext" >&6
2631 OBJEXT
=$ac_cv_objext
2633 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2634 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2635 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2636 echo $ECHO_N "(cached) $ECHO_C" >&6
2638 cat >conftest.
$ac_ext <<_ACEOF
2641 cat confdefs.h
>>conftest.
$ac_ext
2642 cat >>conftest.
$ac_ext <<_ACEOF
2643 /* end confdefs.h. */
2656 rm -f conftest.
$ac_objext
2657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2658 (eval $ac_compile) 2>conftest.er1
2660 grep -v '^ *+' conftest.er1
>conftest.err
2662 cat conftest.err
>&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); } &&
2665 { ac_try
='test -z "$ac_c_werror_flag"
2666 || test ! -s conftest.err'
2667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; } &&
2672 { ac_try
='test -s conftest.$ac_objext'
2673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); }; }; then
2680 echo "$as_me: failed program was:" >&5
2681 sed 's/^/| /' conftest.
$ac_ext >&5
2685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2686 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2689 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2690 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2691 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2692 ac_test_CFLAGS
=${CFLAGS+set}
2693 ac_save_CFLAGS
=$CFLAGS
2695 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2696 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2697 if test "${ac_cv_prog_cc_g+set}" = set; then
2698 echo $ECHO_N "(cached) $ECHO_C" >&6
2700 cat >conftest.
$ac_ext <<_ACEOF
2703 cat confdefs.h
>>conftest.
$ac_ext
2704 cat >>conftest.
$ac_ext <<_ACEOF
2705 /* end confdefs.h. */
2715 rm -f conftest.
$ac_objext
2716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2717 (eval $ac_compile) 2>conftest.er1
2719 grep -v '^ *+' conftest.er1
>conftest.err
2721 cat conftest.err
>&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); } &&
2724 { ac_try
='test -z "$ac_c_werror_flag"
2725 || test ! -s conftest.err'
2726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); }; } &&
2731 { ac_try
='test -s conftest.$ac_objext'
2732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; }; then
2739 echo "$as_me: failed program was:" >&5
2740 sed 's/^/| /' conftest.
$ac_ext >&5
2744 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2746 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2747 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2748 if test "$ac_test_CFLAGS" = set; then
2749 CFLAGS
=$ac_save_CFLAGS
2750 elif test $ac_cv_prog_cc_g = yes; then
2751 if test "$GCC" = yes; then
2757 if test "$GCC" = yes; then
2763 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2764 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2765 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2766 echo $ECHO_N "(cached) $ECHO_C" >&6
2768 ac_cv_prog_cc_stdc
=no
2770 cat >conftest.
$ac_ext <<_ACEOF
2773 cat confdefs.h
>>conftest.
$ac_ext
2774 cat >>conftest.
$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2778 #include <sys/types.h>
2779 #include <sys/stat.h>
2780 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2781 struct buf { int x; };
2782 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2783 static char *e (p, i)
2789 static char *f (char * (*g) (char **, int), char **p, ...)
2794 s = g (p, va_arg (v,int));
2799 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2800 function prototypes and stuff, but not '\xHH' hex character constants.
2801 These don't provoke an error unfortunately, instead are silently treated
2802 as 'x'. The following induces an error, until -std1 is added to get
2803 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2804 array size at least. It's necessary to write '\x00'==0 to get something
2805 that's true only with -std1. */
2806 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2808 int test (int i, double x);
2809 struct s1 {int (*f) (int a);};
2810 struct s2 {int (*f) (double a);};
2811 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2817 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2822 # Don't try gcc -ansi; that turns off useful extensions and
2823 # breaks some systems' header files.
2824 # AIX -qlanglvl=ansi
2825 # Ultrix and OSF/1 -std1
2826 # HP-UX 10.20 and later -Ae
2827 # HP-UX older versions -Aa -D_HPUX_SOURCE
2828 # SVR4 -Xc -D__EXTENSIONS__
2829 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2831 CC
="$ac_save_CC $ac_arg"
2832 rm -f conftest.
$ac_objext
2833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2834 (eval $ac_compile) 2>conftest.er1
2836 grep -v '^ *+' conftest.er1
>conftest.err
2838 cat conftest.err
>&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); } &&
2841 { ac_try
='test -z "$ac_c_werror_flag"
2842 || test ! -s conftest.err'
2843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; } &&
2848 { ac_try
='test -s conftest.$ac_objext'
2849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); }; }; then
2854 ac_cv_prog_cc_stdc
=$ac_arg
2857 echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.
$ac_ext >&5
2861 rm -f conftest.err conftest.
$ac_objext
2863 rm -f conftest.
$ac_ext conftest.
$ac_objext
2868 case "x$ac_cv_prog_cc_stdc" in
2870 echo "$as_me:$LINENO: result: none needed" >&5
2871 echo "${ECHO_T}none needed" >&6 ;;
2873 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2874 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2875 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2878 # Some people use a C++ compiler to compile C. Since we use `exit',
2879 # in C++ we need to declare it. In case someone uses the same compiler
2880 # for both compiling C and C++ we need to have the C++ compiler decide
2881 # the declaration of exit, since it's the most demanding environment.
2882 cat >conftest.
$ac_ext <<_ACEOF
2887 rm -f conftest.
$ac_objext
2888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2889 (eval $ac_compile) 2>conftest.er1
2891 grep -v '^ *+' conftest.er1
>conftest.err
2893 cat conftest.err
>&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); } &&
2896 { ac_try
='test -z "$ac_c_werror_flag"
2897 || test ! -s conftest.err'
2898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }; } &&
2903 { ac_try
='test -s conftest.$ac_objext'
2904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }; }; then
2909 for ac_declaration
in \
2911 'extern "C" void std::exit (int) throw (); using std::exit;' \
2912 'extern "C" void std::exit (int); using std::exit;' \
2913 'extern "C" void exit (int) throw ();' \
2914 'extern "C" void exit (int);' \
2917 cat >conftest.
$ac_ext <<_ACEOF
2920 cat confdefs.h
>>conftest.
$ac_ext
2921 cat >>conftest.
$ac_ext <<_ACEOF
2922 /* end confdefs.h. */
2933 rm -f conftest.
$ac_objext
2934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2935 (eval $ac_compile) 2>conftest.er1
2937 grep -v '^ *+' conftest.er1
>conftest.err
2939 cat conftest.err
>&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); } &&
2942 { ac_try
='test -z "$ac_c_werror_flag"
2943 || test ! -s conftest.err'
2944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948 (exit $ac_status); }; } &&
2949 { ac_try
='test -s conftest.$ac_objext'
2950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954 (exit $ac_status); }; }; then
2957 echo "$as_me: failed program was:" >&5
2958 sed 's/^/| /' conftest.
$ac_ext >&5
2962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2963 cat >conftest.
$ac_ext <<_ACEOF
2966 cat confdefs.h
>>conftest.
$ac_ext
2967 cat >>conftest.
$ac_ext <<_ACEOF
2968 /* end confdefs.h. */
2978 rm -f conftest.
$ac_objext
2979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2980 (eval $ac_compile) 2>conftest.er1
2982 grep -v '^ *+' conftest.er1
>conftest.err
2984 cat conftest.err
>&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); } &&
2987 { ac_try
='test -z "$ac_c_werror_flag"
2988 || test ! -s conftest.err'
2989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); }; } &&
2994 { ac_try
='test -s conftest.$ac_objext'
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: failed program was:" >&5
3003 sed 's/^/| /' conftest.
$ac_ext >&5
3006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3009 if test -n "$ac_declaration"; then
3010 echo '#ifdef __cplusplus' >>confdefs.h
3011 echo $ac_declaration >>confdefs.h
3012 echo '#endif' >>confdefs.h
3016 echo "$as_me: failed program was:" >&5
3017 sed 's/^/| /' conftest.
$ac_ext >&5
3020 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3022 ac_cpp
='$CPP $CPPFLAGS'
3023 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3027 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3028 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3029 if test "${lt_cv_path_SED+set}" = set; then
3030 echo $ECHO_N "(cached) $ECHO_C" >&6
3032 # Loop through the user's path and test for sed and gsed.
3033 # Then use that list of sed's as ones to test for truncation.
3034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir
=.
3039 for lt_ac_prog
in sed gsed
; do
3040 for ac_exec_ext
in '' $ac_executable_extensions; do
3041 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3042 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3050 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3051 # along with /bin/sed that truncates output.
3052 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3053 test ! -f $lt_ac_sed && continue
3054 cat /dev
/null
> conftest.
in
3056 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3057 # Check for GNU sed and select it if it is found.
3058 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3059 lt_cv_path_SED
=$lt_ac_sed
3063 cat conftest.
in conftest.
in >conftest.tmp
3064 mv conftest.tmp conftest.
in
3065 cp conftest.
in conftest.
nl
3067 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3068 cmp -s conftest.out conftest.
nl ||
break
3069 # 10000 chars as input seems more than enough
3070 test $lt_ac_count -gt 10 && break
3071 lt_ac_count
=`expr $lt_ac_count + 1`
3072 if test $lt_ac_count -gt $lt_ac_max; then
3073 lt_ac_max
=$lt_ac_count
3074 lt_cv_path_SED
=$lt_ac_sed
3083 echo "$as_me:$LINENO: result: $SED" >&5
3084 echo "${ECHO_T}$SED" >&6
3087 # Figure out what compiler warnings we can enable.
3088 # See config/warnings.m4 for details.
3092 save_CFLAGS
="$CFLAGS"
3093 for option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
3094 -Wmissing-prototypes -Wold-style-definition \
3095 -Wmissing-format-attribute -Wno-overlength-strings; do
3096 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
3098 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
3099 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6
3100 if eval "test \"\${$as_acx_Woption+set}\" = set"; then
3101 echo $ECHO_N "(cached) $ECHO_C" >&6
3104 cat >conftest.
$ac_ext <<_ACEOF
3107 cat confdefs.h
>>conftest.
$ac_ext
3108 cat >>conftest.
$ac_ext <<_ACEOF
3109 /* end confdefs.h. */
3119 rm -f conftest.
$ac_objext
3120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3121 (eval $ac_compile) 2>conftest.er1
3123 grep -v '^ *+' conftest.er1
>conftest.err
3125 cat conftest.err
>&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); } &&
3128 { ac_try
='test -z "$ac_c_werror_flag"
3129 || test ! -s conftest.err'
3130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; } &&
3135 { ac_try
='test -s conftest.$ac_objext'
3136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); }; }; then
3141 eval "$as_acx_Woption=yes"
3143 echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.
$ac_ext >&5
3146 eval "$as_acx_Woption=no"
3148 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3151 echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5
3152 echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6
3153 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
3154 WARN_CFLAGS
="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
3158 CFLAGS
="$save_CFLAGS"
3161 if test "$GCC" = yes; then
3162 echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
3163 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
3164 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
3165 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 save_CFLAGS
="$CFLAGS"
3168 CFLAGS
="-pedantic -Wno-long-long"
3169 cat >conftest.
$ac_ext <<_ACEOF
3172 cat confdefs.h
>>conftest.
$ac_ext
3173 cat >>conftest.
$ac_ext <<_ACEOF
3174 /* end confdefs.h. */
3184 rm -f conftest.
$ac_objext
3185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3186 (eval $ac_compile) 2>conftest.er1
3188 grep -v '^ *+' conftest.er1
>conftest.err
3190 cat conftest.err
>&5
3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); } &&
3193 { ac_try
='test -z "$ac_c_werror_flag"
3194 || test ! -s conftest.err'
3195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; } &&
3200 { ac_try
='test -s conftest.$ac_objext'
3201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205 (exit $ac_status); }; }; then
3206 acx_cv_prog_cc_pedantic__Wno_long_long
=yes
3208 echo "$as_me: failed program was:" >&5
3209 sed 's/^/| /' conftest.
$ac_ext >&5
3211 acx_cv_prog_cc_pedantic__Wno_long_long
=no
3213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3214 CFLAGS
="$save_CFLAGS"
3216 echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
3217 echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long" >&6
3218 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
3219 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
3227 # Only enable with --enable-werror-always until existing warnings are
3230 # Check whether --enable-werror-always or --disable-werror-always was given.
3231 if test "${enable_werror_always+set}" = set; then
3232 enableval
="$enable_werror_always"
3235 enable_werror_always
=no
3237 if test $enable_werror_always = yes; then
3238 WERROR
="$WERROR${WERROR:+ }-Werror"
3244 # Determine the noncanonical target name, for directory use.
3245 case ${build_alias} in
3246 "") build_noncanonical
=${build} ;;
3247 *) build_noncanonical
=${build_alias} ;;
3250 case ${host_alias} in
3251 "") host_noncanonical
=${build_noncanonical} ;;
3252 *) host_noncanonical
=${host_alias} ;;
3255 case ${target_alias} in
3256 "") target_noncanonical
=${host_noncanonical} ;;
3257 *) target_noncanonical
=${target_alias} ;;
3263 # Specify the local prefix
3266 # Check whether --with-local-prefix or --without-local-prefix was given.
3267 if test "${with_local_prefix+set}" = set; then
3268 withval
="$with_local_prefix"
3269 case "${withval}" in
3270 yes) { { echo "$as_me:$LINENO: error: bad value ${withval} given for local include directory prefix" >&5
3271 echo "$as_me: error: bad value ${withval} given for local include directory prefix" >&2;}
3272 { (exit 1); exit 1; }; } ;;
3274 *) local_prefix
=$with_local_prefix ;;
3278 # Default local prefix if it is empty
3279 if test x
$local_prefix = x
; then
3280 local_prefix
=/usr
/local
3283 # Choose one or two-process fix methodology. Systems that cannot handle
3284 # bi-directional pipes must use the two process method.
3286 # Check whether --enable-twoprocess or --disable-twoprocess was given.
3287 if test "${enable_twoprocess+set}" = set; then
3288 enableval
="$enable_twoprocess"
3289 if test "x$enable_twoprocess" = xyes
; then
3296 i?
86-*-msdosdjgpp* | \
3298 x86_64-
*-mingw32* | \
3310 if test $TARGET = twoprocess
; then
3312 cat >>confdefs.h
<<\_ACEOF
3313 #define SEPARATE_FIX_PROC 1
3321 cat >>confdefs.h
<<\_ACEOF
3326 cat >>confdefs.h
<<\_ACEOF
3327 #define atexit xatexit
3334 cat >>confdefs.h
<<_ACEOF
3335 #define EXE_EXT "$ac_exeext"
3339 # Checks for header files.
3341 ac_cpp
='$CPP $CPPFLAGS'
3342 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3343 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3344 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3345 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3346 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3347 # On Suns, sometimes $CPP names a directory.
3348 if test -n "$CPP" && test -d "$CPP"; then
3351 if test -z "$CPP"; then
3352 if test "${ac_cv_prog_CPP+set}" = set; then
3353 echo $ECHO_N "(cached) $ECHO_C" >&6
3355 # Double quotes because CPP needs to be expanded
3356 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3359 for ac_c_preproc_warn_flag
in '' yes
3361 # Use a header file that comes with gcc, so configuring glibc
3362 # with a fresh cross-compiler works.
3363 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3364 # <limits.h> exists even on freestanding compilers.
3365 # On the NeXT, cc -E runs the code through the compiler's parser,
3366 # not just through cpp. "Syntax error" is here to catch this case.
3367 cat >conftest.
$ac_ext <<_ACEOF
3370 cat confdefs.h
>>conftest.
$ac_ext
3371 cat >>conftest.
$ac_ext <<_ACEOF
3372 /* end confdefs.h. */
3374 # include <limits.h>
3376 # include <assert.h>
3380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3381 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3383 grep -v '^ *+' conftest.er1
>conftest.err
3385 cat conftest.err
>&5
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); } >/dev
/null
; then
3388 if test -s conftest.err
; then
3389 ac_cpp_err
=$ac_c_preproc_warn_flag
3390 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3397 if test -z "$ac_cpp_err"; then
3400 echo "$as_me: failed program was:" >&5
3401 sed 's/^/| /' conftest.
$ac_ext >&5
3403 # Broken: fails on valid input.
3406 rm -f conftest.err conftest.
$ac_ext
3408 # OK, works on sane cases. Now check whether non-existent headers
3409 # can be detected and how.
3410 cat >conftest.
$ac_ext <<_ACEOF
3413 cat confdefs.h
>>conftest.
$ac_ext
3414 cat >>conftest.
$ac_ext <<_ACEOF
3415 /* end confdefs.h. */
3416 #include <ac_nonexistent.h>
3418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3419 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3421 grep -v '^ *+' conftest.er1
>conftest.err
3423 cat conftest.err
>&5
3424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3425 (exit $ac_status); } >/dev
/null
; then
3426 if test -s conftest.err
; then
3427 ac_cpp_err
=$ac_c_preproc_warn_flag
3428 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3435 if test -z "$ac_cpp_err"; then
3436 # Broken: success on invalid input.
3439 echo "$as_me: failed program was:" >&5
3440 sed 's/^/| /' conftest.
$ac_ext >&5
3442 # Passes both tests.
3446 rm -f conftest.err conftest.
$ac_ext
3449 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3450 rm -f conftest.err conftest.
$ac_ext
3451 if $ac_preproc_ok; then
3463 echo "$as_me:$LINENO: result: $CPP" >&5
3464 echo "${ECHO_T}$CPP" >&6
3466 for ac_c_preproc_warn_flag
in '' yes
3468 # Use a header file that comes with gcc, so configuring glibc
3469 # with a fresh cross-compiler works.
3470 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3471 # <limits.h> exists even on freestanding compilers.
3472 # On the NeXT, cc -E runs the code through the compiler's parser,
3473 # not just through cpp. "Syntax error" is here to catch this case.
3474 cat >conftest.
$ac_ext <<_ACEOF
3477 cat confdefs.h
>>conftest.
$ac_ext
3478 cat >>conftest.
$ac_ext <<_ACEOF
3479 /* end confdefs.h. */
3481 # include <limits.h>
3483 # include <assert.h>
3487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3488 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3490 grep -v '^ *+' conftest.er1
>conftest.err
3492 cat conftest.err
>&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); } >/dev
/null
; then
3495 if test -s conftest.err
; then
3496 ac_cpp_err
=$ac_c_preproc_warn_flag
3497 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3504 if test -z "$ac_cpp_err"; then
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.
$ac_ext >&5
3510 # Broken: fails on valid input.
3513 rm -f conftest.err conftest.
$ac_ext
3515 # OK, works on sane cases. Now check whether non-existent headers
3516 # can be detected and how.
3517 cat >conftest.
$ac_ext <<_ACEOF
3520 cat confdefs.h
>>conftest.
$ac_ext
3521 cat >>conftest.
$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3523 #include <ac_nonexistent.h>
3525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3526 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3528 grep -v '^ *+' conftest.er1
>conftest.err
3530 cat conftest.err
>&5
3531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532 (exit $ac_status); } >/dev
/null
; then
3533 if test -s conftest.err
; then
3534 ac_cpp_err
=$ac_c_preproc_warn_flag
3535 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3542 if test -z "$ac_cpp_err"; then
3543 # Broken: success on invalid input.
3546 echo "$as_me: failed program was:" >&5
3547 sed 's/^/| /' conftest.
$ac_ext >&5
3549 # Passes both tests.
3553 rm -f conftest.err conftest.
$ac_ext
3556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3557 rm -f conftest.err conftest.
$ac_ext
3558 if $ac_preproc_ok; then
3561 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3562 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3563 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3564 See \`config.log' for more details." >&5
3565 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3566 See \`config.log' for more details." >&2;}
3567 { (exit 1); exit 1; }; }; }
3571 ac_cpp
='$CPP $CPPFLAGS'
3572 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3573 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3574 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3577 echo "$as_me:$LINENO: checking for egrep" >&5
3578 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3579 if test "${ac_cv_prog_egrep+set}" = set; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
3582 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3583 then ac_cv_prog_egrep
='grep -E'
3584 else ac_cv_prog_egrep
='egrep'
3587 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3588 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3589 EGREP
=$ac_cv_prog_egrep
3592 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3593 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3594 if test "${ac_cv_header_stdc+set}" = set; then
3595 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 cat >conftest.
$ac_ext <<_ACEOF
3600 cat confdefs.h
>>conftest.
$ac_ext
3601 cat >>conftest.
$ac_ext <<_ACEOF
3602 /* end confdefs.h. */
3616 rm -f conftest.
$ac_objext
3617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3618 (eval $ac_compile) 2>conftest.er1
3620 grep -v '^ *+' conftest.er1
>conftest.err
3622 cat conftest.err
>&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); } &&
3625 { ac_try
='test -z "$ac_c_werror_flag"
3626 || test ! -s conftest.err'
3627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); }; } &&
3632 { ac_try
='test -s conftest.$ac_objext'
3633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3637 (exit $ac_status); }; }; then
3638 ac_cv_header_stdc
=yes
3640 echo "$as_me: failed program was:" >&5
3641 sed 's/^/| /' conftest.
$ac_ext >&5
3643 ac_cv_header_stdc
=no
3645 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3647 if test $ac_cv_header_stdc = yes; then
3648 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3649 cat >conftest.
$ac_ext <<_ACEOF
3652 cat confdefs.h
>>conftest.
$ac_ext
3653 cat >>conftest.
$ac_ext <<_ACEOF
3654 /* end confdefs.h. */
3658 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3659 $EGREP "memchr" >/dev
/null
2>&1; then
3662 ac_cv_header_stdc
=no
3668 if test $ac_cv_header_stdc = yes; then
3669 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3670 cat >conftest.
$ac_ext <<_ACEOF
3673 cat confdefs.h
>>conftest.
$ac_ext
3674 cat >>conftest.
$ac_ext <<_ACEOF
3675 /* end confdefs.h. */
3679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3680 $EGREP "free" >/dev
/null
2>&1; then
3683 ac_cv_header_stdc
=no
3689 if test $ac_cv_header_stdc = yes; then
3690 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3691 if test "$cross_compiling" = yes; then
3694 cat >conftest.
$ac_ext <<_ACEOF
3697 cat confdefs.h
>>conftest.
$ac_ext
3698 cat >>conftest.
$ac_ext <<_ACEOF
3699 /* end confdefs.h. */
3701 #if ((' ' & 0x0FF) == 0x020)
3702 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3703 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3705 # define ISLOWER(c) \
3706 (('a' <= (c) && (c) <= 'i') \
3707 || ('j' <= (c) && (c) <= 'r') \
3708 || ('s' <= (c) && (c) <= 'z'))
3709 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3712 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3717 for (i = 0; i < 256; i++)
3718 if (XOR (islower (i), ISLOWER (i))
3719 || toupper (i) != TOUPPER (i))
3724 rm -f conftest
$ac_exeext
3725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3726 (eval $ac_link) 2>&5
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then
3737 echo "$as_me: program exited with status $ac_status" >&5
3738 echo "$as_me: failed program was:" >&5
3739 sed 's/^/| /' conftest.
$ac_ext >&5
3742 ac_cv_header_stdc
=no
3744 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3748 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3749 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3750 if test $ac_cv_header_stdc = yes; then
3752 cat >>confdefs.h
<<\_ACEOF
3753 #define STDC_HEADERS 1
3758 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3768 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3769 inttypes.h stdint.h unistd.h
3771 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3772 echo "$as_me:$LINENO: checking for $ac_header" >&5
3773 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3775 echo $ECHO_N "(cached) $ECHO_C" >&6
3777 cat >conftest.
$ac_ext <<_ACEOF
3780 cat confdefs.h
>>conftest.
$ac_ext
3781 cat >>conftest.
$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3783 $ac_includes_default
3785 #include <$ac_header>
3787 rm -f conftest.
$ac_objext
3788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3789 (eval $ac_compile) 2>conftest.er1
3791 grep -v '^ *+' conftest.er1
>conftest.err
3793 cat conftest.err
>&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); } &&
3796 { ac_try
='test -z "$ac_c_werror_flag"
3797 || test ! -s conftest.err'
3798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); }; } &&
3803 { ac_try
='test -s conftest.$ac_objext'
3804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); }; }; then
3809 eval "$as_ac_Header=yes"
3811 echo "$as_me: failed program was:" >&5
3812 sed 's/^/| /' conftest.
$ac_ext >&5
3814 eval "$as_ac_Header=no"
3816 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3821 cat >>confdefs.h
<<_ACEOF
3822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3837 for ac_header
in stddef.h stdlib.h
strings.h unistd.h fcntl.h sys
/file.h \
3840 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3842 echo "$as_me:$LINENO: checking for $ac_header" >&5
3843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3845 echo $ECHO_N "(cached) $ECHO_C" >&6
3847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3850 # Is the header compilable?
3851 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3852 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3853 cat >conftest.
$ac_ext <<_ACEOF
3856 cat confdefs.h
>>conftest.
$ac_ext
3857 cat >>conftest.
$ac_ext <<_ACEOF
3858 /* end confdefs.h. */
3859 $ac_includes_default
3860 #include <$ac_header>
3862 rm -f conftest.
$ac_objext
3863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3864 (eval $ac_compile) 2>conftest.er1
3866 grep -v '^ *+' conftest.er1
>conftest.err
3868 cat conftest.err
>&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); } &&
3871 { ac_try
='test -z "$ac_c_werror_flag"
3872 || test ! -s conftest.err'
3873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); }; } &&
3878 { ac_try
='test -s conftest.$ac_objext'
3879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); }; }; then
3884 ac_header_compiler
=yes
3886 echo "$as_me: failed program was:" >&5
3887 sed 's/^/| /' conftest.
$ac_ext >&5
3889 ac_header_compiler
=no
3891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3893 echo "${ECHO_T}$ac_header_compiler" >&6
3895 # Is the header present?
3896 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3897 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3898 cat >conftest.
$ac_ext <<_ACEOF
3901 cat confdefs.h
>>conftest.
$ac_ext
3902 cat >>conftest.
$ac_ext <<_ACEOF
3903 /* end confdefs.h. */
3904 #include <$ac_header>
3906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3907 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3909 grep -v '^ *+' conftest.er1
>conftest.err
3911 cat conftest.err
>&5
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); } >/dev
/null
; then
3914 if test -s conftest.err
; then
3915 ac_cpp_err
=$ac_c_preproc_warn_flag
3916 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3923 if test -z "$ac_cpp_err"; then
3924 ac_header_preproc
=yes
3926 echo "$as_me: failed program was:" >&5
3927 sed 's/^/| /' conftest.
$ac_ext >&5
3929 ac_header_preproc
=no
3931 rm -f conftest.err conftest.
$ac_ext
3932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3933 echo "${ECHO_T}$ac_header_preproc" >&6
3935 # So? What about this header?
3936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3938 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3939 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3940 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3941 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3942 ac_header_preproc
=yes
3945 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3946 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3947 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3948 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3949 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3950 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3951 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3952 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3955 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3956 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3959 ## -------------------------------------- ##
3960 ## Report this to the fixincludes lists. ##
3961 ## -------------------------------------- ##
3964 sed "s/^/$as_me: WARNING: /" >&2
3967 echo "$as_me:$LINENO: checking for $ac_header" >&5
3968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3970 echo $ECHO_N "(cached) $ECHO_C" >&6
3972 eval "$as_ac_Header=\$ac_header_preproc"
3974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3978 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3979 cat >>confdefs.h
<<_ACEOF
3980 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4004 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
4006 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4007 echo "$as_me:$LINENO: checking for $ac_func" >&5
4008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4009 if eval "test \"\${$as_ac_var+set}\" = set"; then
4010 echo $ECHO_N "(cached) $ECHO_C" >&6
4012 cat >conftest.
$ac_ext <<_ACEOF
4015 cat confdefs.h
>>conftest.
$ac_ext
4016 cat >>conftest.
$ac_ext <<_ACEOF
4017 /* end confdefs.h. */
4018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4020 #define $ac_func innocuous_$ac_func
4022 /* System header to define __stub macros and hopefully few prototypes,
4023 which can conflict with char $ac_func (); below.
4024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4025 <limits.h> exists even on freestanding compilers. */
4028 # include <limits.h>
4030 # include <assert.h>
4035 /* Override any gcc2 internal prototype to avoid an error. */
4040 /* We use char because int might match the return type of a gcc2
4041 builtin and then its argument prototype would still apply. */
4043 /* The GNU C library defines this for functions which it implements
4044 to always fail with ENOSYS. Some functions are actually named
4045 something starting with __ and the normal name is an alias. */
4046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4049 char (*f) () = $ac_func;
4058 return f != $ac_func;
4063 rm -f conftest.
$ac_objext conftest
$ac_exeext
4064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4065 (eval $ac_link) 2>conftest.er1
4067 grep -v '^ *+' conftest.er1
>conftest.err
4069 cat conftest.err
>&5
4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071 (exit $ac_status); } &&
4072 { ac_try
='test -z "$ac_c_werror_flag"
4073 || test ! -s conftest.err'
4074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078 (exit $ac_status); }; } &&
4079 { ac_try
='test -s conftest$ac_exeext'
4080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084 (exit $ac_status); }; }; then
4085 eval "$as_ac_var=yes"
4087 echo "$as_me: failed program was:" >&5
4088 sed 's/^/| /' conftest.
$ac_ext >&5
4090 eval "$as_ac_var=no"
4092 rm -f conftest.err conftest.
$ac_objext \
4093 conftest
$ac_exeext conftest.
$ac_ext
4095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4097 if test `eval echo '${'$as_ac_var'}'` = yes; then
4098 cat >>confdefs.h
<<_ACEOF
4099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4105 echo "$as_me:$LINENO: checking whether abort is declared" >&5
4106 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6
4107 if test "${ac_cv_have_decl_abort+set}" = set; then
4108 echo $ECHO_N "(cached) $ECHO_C" >&6
4110 cat >conftest.
$ac_ext <<_ACEOF
4113 cat confdefs.h
>>conftest.
$ac_ext
4114 cat >>conftest.
$ac_ext <<_ACEOF
4115 /* end confdefs.h. */
4116 $ac_includes_default
4121 char *p = (char *) abort;
4128 rm -f conftest.
$ac_objext
4129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4130 (eval $ac_compile) 2>conftest.er1
4132 grep -v '^ *+' conftest.er1
>conftest.err
4134 cat conftest.err
>&5
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); } &&
4137 { ac_try
='test -z "$ac_c_werror_flag"
4138 || test ! -s conftest.err'
4139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4143 (exit $ac_status); }; } &&
4144 { ac_try
='test -s conftest.$ac_objext'
4145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149 (exit $ac_status); }; }; then
4150 ac_cv_have_decl_abort
=yes
4152 echo "$as_me: failed program was:" >&5
4153 sed 's/^/| /' conftest.
$ac_ext >&5
4155 ac_cv_have_decl_abort
=no
4157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4159 echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
4160 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6
4161 if test $ac_cv_have_decl_abort = yes; then
4163 cat >>confdefs.h
<<_ACEOF
4164 #define HAVE_DECL_ABORT 1
4169 cat >>confdefs.h
<<_ACEOF
4170 #define HAVE_DECL_ABORT 0
4175 echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
4176 echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
4177 if test "${ac_cv_have_decl_asprintf+set}" = set; then
4178 echo $ECHO_N "(cached) $ECHO_C" >&6
4180 cat >conftest.
$ac_ext <<_ACEOF
4183 cat confdefs.h
>>conftest.
$ac_ext
4184 cat >>conftest.
$ac_ext <<_ACEOF
4185 /* end confdefs.h. */
4186 $ac_includes_default
4191 char *p = (char *) asprintf;
4198 rm -f conftest.
$ac_objext
4199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4200 (eval $ac_compile) 2>conftest.er1
4202 grep -v '^ *+' conftest.er1
>conftest.err
4204 cat conftest.err
>&5
4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); } &&
4207 { ac_try
='test -z "$ac_c_werror_flag"
4208 || test ! -s conftest.err'
4209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213 (exit $ac_status); }; } &&
4214 { ac_try
='test -s conftest.$ac_objext'
4215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4219 (exit $ac_status); }; }; then
4220 ac_cv_have_decl_asprintf
=yes
4222 echo "$as_me: failed program was:" >&5
4223 sed 's/^/| /' conftest.
$ac_ext >&5
4225 ac_cv_have_decl_asprintf
=no
4227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4229 echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
4230 echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
4231 if test $ac_cv_have_decl_asprintf = yes; then
4233 cat >>confdefs.h
<<_ACEOF
4234 #define HAVE_DECL_ASPRINTF 1
4239 cat >>confdefs.h
<<_ACEOF
4240 #define HAVE_DECL_ASPRINTF 0
4245 echo "$as_me:$LINENO: checking whether basename is declared" >&5
4246 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
4247 if test "${ac_cv_have_decl_basename+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4250 cat >conftest.
$ac_ext <<_ACEOF
4253 cat confdefs.h
>>conftest.
$ac_ext
4254 cat >>conftest.
$ac_ext <<_ACEOF
4255 /* end confdefs.h. */
4256 $ac_includes_default
4261 char *p = (char *) basename;
4268 rm -f conftest.
$ac_objext
4269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4270 (eval $ac_compile) 2>conftest.er1
4272 grep -v '^ *+' conftest.er1
>conftest.err
4274 cat conftest.err
>&5
4275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4276 (exit $ac_status); } &&
4277 { ac_try
='test -z "$ac_c_werror_flag"
4278 || test ! -s conftest.err'
4279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); }; } &&
4284 { ac_try
='test -s conftest.$ac_objext'
4285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289 (exit $ac_status); }; }; then
4290 ac_cv_have_decl_basename
=yes
4292 echo "$as_me: failed program was:" >&5
4293 sed 's/^/| /' conftest.
$ac_ext >&5
4295 ac_cv_have_decl_basename
=no
4297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4299 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
4300 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
4301 if test $ac_cv_have_decl_basename = yes; then
4303 cat >>confdefs.h
<<_ACEOF
4304 #define HAVE_DECL_BASENAME 1
4309 cat >>confdefs.h
<<_ACEOF
4310 #define HAVE_DECL_BASENAME 0
4315 echo "$as_me:$LINENO: checking whether errno is declared" >&5
4316 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6
4317 if test "${ac_cv_have_decl_errno+set}" = set; then
4318 echo $ECHO_N "(cached) $ECHO_C" >&6
4320 cat >conftest.
$ac_ext <<_ACEOF
4323 cat confdefs.h
>>conftest.
$ac_ext
4324 cat >>conftest.
$ac_ext <<_ACEOF
4325 /* end confdefs.h. */
4326 $ac_includes_default
4331 char *p = (char *) errno;
4338 rm -f conftest.
$ac_objext
4339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4340 (eval $ac_compile) 2>conftest.er1
4342 grep -v '^ *+' conftest.er1
>conftest.err
4344 cat conftest.err
>&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); } &&
4347 { ac_try
='test -z "$ac_c_werror_flag"
4348 || test ! -s conftest.err'
4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); }; } &&
4354 { ac_try
='test -s conftest.$ac_objext'
4355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); }; }; then
4360 ac_cv_have_decl_errno
=yes
4362 echo "$as_me: failed program was:" >&5
4363 sed 's/^/| /' conftest.
$ac_ext >&5
4365 ac_cv_have_decl_errno
=no
4367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4369 echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
4370 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6
4371 if test $ac_cv_have_decl_errno = yes; then
4373 cat >>confdefs.h
<<_ACEOF
4374 #define HAVE_DECL_ERRNO 1
4379 cat >>confdefs.h
<<_ACEOF
4380 #define HAVE_DECL_ERRNO 0
4385 echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
4386 echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
4387 if test "${ac_cv_have_decl_vasprintf+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4390 cat >conftest.
$ac_ext <<_ACEOF
4393 cat confdefs.h
>>conftest.
$ac_ext
4394 cat >>conftest.
$ac_ext <<_ACEOF
4395 /* end confdefs.h. */
4396 $ac_includes_default
4401 char *p = (char *) vasprintf;
4408 rm -f conftest.
$ac_objext
4409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4410 (eval $ac_compile) 2>conftest.er1
4412 grep -v '^ *+' conftest.er1
>conftest.err
4414 cat conftest.err
>&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); } &&
4417 { ac_try
='test -z "$ac_c_werror_flag"
4418 || test ! -s conftest.err'
4419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); }; } &&
4424 { ac_try
='test -s conftest.$ac_objext'
4425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); }; }; then
4430 ac_cv_have_decl_vasprintf
=yes
4432 echo "$as_me: failed program was:" >&5
4433 sed 's/^/| /' conftest.
$ac_ext >&5
4435 ac_cv_have_decl_vasprintf
=no
4437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4439 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
4440 echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
4441 if test $ac_cv_have_decl_vasprintf = yes; then
4443 cat >>confdefs.h
<<_ACEOF
4444 #define HAVE_DECL_VASPRINTF 1
4449 cat >>confdefs.h
<<_ACEOF
4450 #define HAVE_DECL_VASPRINTF 0
4455 echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5
4456 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6
4457 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
4458 echo $ECHO_N "(cached) $ECHO_C" >&6
4460 cat >conftest.
$ac_ext <<_ACEOF
4463 cat confdefs.h
>>conftest.
$ac_ext
4464 cat >>conftest.
$ac_ext <<_ACEOF
4465 /* end confdefs.h. */
4466 $ac_includes_default
4470 #ifndef clearerr_unlocked
4471 char *p = (char *) clearerr_unlocked;
4478 rm -f conftest.
$ac_objext
4479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4480 (eval $ac_compile) 2>conftest.er1
4482 grep -v '^ *+' conftest.er1
>conftest.err
4484 cat conftest.err
>&5
4485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486 (exit $ac_status); } &&
4487 { ac_try
='test -z "$ac_c_werror_flag"
4488 || test ! -s conftest.err'
4489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); }; } &&
4494 { ac_try
='test -s conftest.$ac_objext'
4495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4499 (exit $ac_status); }; }; then
4500 ac_cv_have_decl_clearerr_unlocked
=yes
4502 echo "$as_me: failed program was:" >&5
4503 sed 's/^/| /' conftest.
$ac_ext >&5
4505 ac_cv_have_decl_clearerr_unlocked
=no
4507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4509 echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5
4510 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6
4511 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
4513 cat >>confdefs.h
<<_ACEOF
4514 #define HAVE_DECL_CLEARERR_UNLOCKED 1
4519 cat >>confdefs.h
<<_ACEOF
4520 #define HAVE_DECL_CLEARERR_UNLOCKED 0
4525 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
4526 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
4527 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
4528 echo $ECHO_N "(cached) $ECHO_C" >&6
4530 cat >conftest.
$ac_ext <<_ACEOF
4533 cat confdefs.h
>>conftest.
$ac_ext
4534 cat >>conftest.
$ac_ext <<_ACEOF
4535 /* end confdefs.h. */
4536 $ac_includes_default
4540 #ifndef feof_unlocked
4541 char *p = (char *) feof_unlocked;
4548 rm -f conftest.
$ac_objext
4549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4550 (eval $ac_compile) 2>conftest.er1
4552 grep -v '^ *+' conftest.er1
>conftest.err
4554 cat conftest.err
>&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); } &&
4557 { ac_try
='test -z "$ac_c_werror_flag"
4558 || test ! -s conftest.err'
4559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); }; } &&
4564 { ac_try
='test -s conftest.$ac_objext'
4565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); }; }; then
4570 ac_cv_have_decl_feof_unlocked
=yes
4572 echo "$as_me: failed program was:" >&5
4573 sed 's/^/| /' conftest.
$ac_ext >&5
4575 ac_cv_have_decl_feof_unlocked
=no
4577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4579 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
4580 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
4581 if test $ac_cv_have_decl_feof_unlocked = yes; then
4583 cat >>confdefs.h
<<_ACEOF
4584 #define HAVE_DECL_FEOF_UNLOCKED 1
4589 cat >>confdefs.h
<<_ACEOF
4590 #define HAVE_DECL_FEOF_UNLOCKED 0
4595 echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5
4596 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6
4597 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
4598 echo $ECHO_N "(cached) $ECHO_C" >&6
4600 cat >conftest.
$ac_ext <<_ACEOF
4603 cat confdefs.h
>>conftest.
$ac_ext
4604 cat >>conftest.
$ac_ext <<_ACEOF
4605 /* end confdefs.h. */
4606 $ac_includes_default
4610 #ifndef ferror_unlocked
4611 char *p = (char *) ferror_unlocked;
4618 rm -f conftest.
$ac_objext
4619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4620 (eval $ac_compile) 2>conftest.er1
4622 grep -v '^ *+' conftest.er1
>conftest.err
4624 cat conftest.err
>&5
4625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626 (exit $ac_status); } &&
4627 { ac_try
='test -z "$ac_c_werror_flag"
4628 || test ! -s conftest.err'
4629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4633 (exit $ac_status); }; } &&
4634 { ac_try
='test -s conftest.$ac_objext'
4635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4639 (exit $ac_status); }; }; then
4640 ac_cv_have_decl_ferror_unlocked
=yes
4642 echo "$as_me: failed program was:" >&5
4643 sed 's/^/| /' conftest.
$ac_ext >&5
4645 ac_cv_have_decl_ferror_unlocked
=no
4647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4649 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5
4650 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6
4651 if test $ac_cv_have_decl_ferror_unlocked = yes; then
4653 cat >>confdefs.h
<<_ACEOF
4654 #define HAVE_DECL_FERROR_UNLOCKED 1
4659 cat >>confdefs.h
<<_ACEOF
4660 #define HAVE_DECL_FERROR_UNLOCKED 0
4665 echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5
4666 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6
4667 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
4668 echo $ECHO_N "(cached) $ECHO_C" >&6
4670 cat >conftest.
$ac_ext <<_ACEOF
4673 cat confdefs.h
>>conftest.
$ac_ext
4674 cat >>conftest.
$ac_ext <<_ACEOF
4675 /* end confdefs.h. */
4676 $ac_includes_default
4680 #ifndef fflush_unlocked
4681 char *p = (char *) fflush_unlocked;
4688 rm -f conftest.
$ac_objext
4689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4690 (eval $ac_compile) 2>conftest.er1
4692 grep -v '^ *+' conftest.er1
>conftest.err
4694 cat conftest.err
>&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); } &&
4697 { ac_try
='test -z "$ac_c_werror_flag"
4698 || test ! -s conftest.err'
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; } &&
4704 { ac_try
='test -s conftest.$ac_objext'
4705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); }; }; then
4710 ac_cv_have_decl_fflush_unlocked
=yes
4712 echo "$as_me: failed program was:" >&5
4713 sed 's/^/| /' conftest.
$ac_ext >&5
4715 ac_cv_have_decl_fflush_unlocked
=no
4717 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4719 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5
4720 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6
4721 if test $ac_cv_have_decl_fflush_unlocked = yes; then
4723 cat >>confdefs.h
<<_ACEOF
4724 #define HAVE_DECL_FFLUSH_UNLOCKED 1
4729 cat >>confdefs.h
<<_ACEOF
4730 #define HAVE_DECL_FFLUSH_UNLOCKED 0
4735 echo "$as_me:$LINENO: checking whether fgetc_unlocked is declared" >&5
4736 echo $ECHO_N "checking whether fgetc_unlocked is declared... $ECHO_C" >&6
4737 if test "${ac_cv_have_decl_fgetc_unlocked+set}" = set; then
4738 echo $ECHO_N "(cached) $ECHO_C" >&6
4740 cat >conftest.
$ac_ext <<_ACEOF
4743 cat confdefs.h
>>conftest.
$ac_ext
4744 cat >>conftest.
$ac_ext <<_ACEOF
4745 /* end confdefs.h. */
4746 $ac_includes_default
4750 #ifndef fgetc_unlocked
4751 char *p = (char *) fgetc_unlocked;
4758 rm -f conftest.
$ac_objext
4759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4760 (eval $ac_compile) 2>conftest.er1
4762 grep -v '^ *+' conftest.er1
>conftest.err
4764 cat conftest.err
>&5
4765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766 (exit $ac_status); } &&
4767 { ac_try
='test -z "$ac_c_werror_flag"
4768 || test ! -s conftest.err'
4769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4773 (exit $ac_status); }; } &&
4774 { ac_try
='test -s conftest.$ac_objext'
4775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); }; }; then
4780 ac_cv_have_decl_fgetc_unlocked
=yes
4782 echo "$as_me: failed program was:" >&5
4783 sed 's/^/| /' conftest.
$ac_ext >&5
4785 ac_cv_have_decl_fgetc_unlocked
=no
4787 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4789 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgetc_unlocked" >&5
4790 echo "${ECHO_T}$ac_cv_have_decl_fgetc_unlocked" >&6
4791 if test $ac_cv_have_decl_fgetc_unlocked = yes; then
4793 cat >>confdefs.h
<<_ACEOF
4794 #define HAVE_DECL_FGETC_UNLOCKED 1
4799 cat >>confdefs.h
<<_ACEOF
4800 #define HAVE_DECL_FGETC_UNLOCKED 0
4805 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
4806 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
4807 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
4808 echo $ECHO_N "(cached) $ECHO_C" >&6
4810 cat >conftest.
$ac_ext <<_ACEOF
4813 cat confdefs.h
>>conftest.
$ac_ext
4814 cat >>conftest.
$ac_ext <<_ACEOF
4815 /* end confdefs.h. */
4816 $ac_includes_default
4820 #ifndef fgets_unlocked
4821 char *p = (char *) fgets_unlocked;
4828 rm -f conftest.
$ac_objext
4829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4830 (eval $ac_compile) 2>conftest.er1
4832 grep -v '^ *+' conftest.er1
>conftest.err
4834 cat conftest.err
>&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); } &&
4837 { ac_try
='test -z "$ac_c_werror_flag"
4838 || test ! -s conftest.err'
4839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); }; } &&
4844 { ac_try
='test -s conftest.$ac_objext'
4845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); }; }; then
4850 ac_cv_have_decl_fgets_unlocked
=yes
4852 echo "$as_me: failed program was:" >&5
4853 sed 's/^/| /' conftest.
$ac_ext >&5
4855 ac_cv_have_decl_fgets_unlocked
=no
4857 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4859 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
4860 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
4861 if test $ac_cv_have_decl_fgets_unlocked = yes; then
4863 cat >>confdefs.h
<<_ACEOF
4864 #define HAVE_DECL_FGETS_UNLOCKED 1
4869 cat >>confdefs.h
<<_ACEOF
4870 #define HAVE_DECL_FGETS_UNLOCKED 0
4875 echo "$as_me:$LINENO: checking whether fileno_unlocked is declared" >&5
4876 echo $ECHO_N "checking whether fileno_unlocked is declared... $ECHO_C" >&6
4877 if test "${ac_cv_have_decl_fileno_unlocked+set}" = set; then
4878 echo $ECHO_N "(cached) $ECHO_C" >&6
4880 cat >conftest.
$ac_ext <<_ACEOF
4883 cat confdefs.h
>>conftest.
$ac_ext
4884 cat >>conftest.
$ac_ext <<_ACEOF
4885 /* end confdefs.h. */
4886 $ac_includes_default
4890 #ifndef fileno_unlocked
4891 char *p = (char *) fileno_unlocked;
4898 rm -f conftest.
$ac_objext
4899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4900 (eval $ac_compile) 2>conftest.er1
4902 grep -v '^ *+' conftest.er1
>conftest.err
4904 cat conftest.err
>&5
4905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906 (exit $ac_status); } &&
4907 { ac_try
='test -z "$ac_c_werror_flag"
4908 || test ! -s conftest.err'
4909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); }; } &&
4914 { ac_try
='test -s conftest.$ac_objext'
4915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); }; }; then
4920 ac_cv_have_decl_fileno_unlocked
=yes
4922 echo "$as_me: failed program was:" >&5
4923 sed 's/^/| /' conftest.
$ac_ext >&5
4925 ac_cv_have_decl_fileno_unlocked
=no
4927 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4929 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fileno_unlocked" >&5
4930 echo "${ECHO_T}$ac_cv_have_decl_fileno_unlocked" >&6
4931 if test $ac_cv_have_decl_fileno_unlocked = yes; then
4933 cat >>confdefs.h
<<_ACEOF
4934 #define HAVE_DECL_FILENO_UNLOCKED 1
4939 cat >>confdefs.h
<<_ACEOF
4940 #define HAVE_DECL_FILENO_UNLOCKED 0
4945 echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
4946 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6
4947 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
4948 echo $ECHO_N "(cached) $ECHO_C" >&6
4950 cat >conftest.
$ac_ext <<_ACEOF
4953 cat confdefs.h
>>conftest.
$ac_ext
4954 cat >>conftest.
$ac_ext <<_ACEOF
4955 /* end confdefs.h. */
4956 $ac_includes_default
4960 #ifndef fprintf_unlocked
4961 char *p = (char *) fprintf_unlocked;
4968 rm -f conftest.
$ac_objext
4969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4970 (eval $ac_compile) 2>conftest.er1
4972 grep -v '^ *+' conftest.er1
>conftest.err
4974 cat conftest.err
>&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); } &&
4977 { ac_try
='test -z "$ac_c_werror_flag"
4978 || test ! -s conftest.err'
4979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4983 (exit $ac_status); }; } &&
4984 { ac_try
='test -s conftest.$ac_objext'
4985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); }; }; then
4990 ac_cv_have_decl_fprintf_unlocked
=yes
4992 echo "$as_me: failed program was:" >&5
4993 sed 's/^/| /' conftest.
$ac_ext >&5
4995 ac_cv_have_decl_fprintf_unlocked
=no
4997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4999 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
5000 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6
5001 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
5003 cat >>confdefs.h
<<_ACEOF
5004 #define HAVE_DECL_FPRINTF_UNLOCKED 1
5009 cat >>confdefs.h
<<_ACEOF
5010 #define HAVE_DECL_FPRINTF_UNLOCKED 0
5015 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
5016 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
5017 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
5018 echo $ECHO_N "(cached) $ECHO_C" >&6
5020 cat >conftest.
$ac_ext <<_ACEOF
5023 cat confdefs.h
>>conftest.
$ac_ext
5024 cat >>conftest.
$ac_ext <<_ACEOF
5025 /* end confdefs.h. */
5026 $ac_includes_default
5030 #ifndef fputc_unlocked
5031 char *p = (char *) fputc_unlocked;
5038 rm -f conftest.
$ac_objext
5039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5040 (eval $ac_compile) 2>conftest.er1
5042 grep -v '^ *+' conftest.er1
>conftest.err
5044 cat conftest.err
>&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); } &&
5047 { ac_try
='test -z "$ac_c_werror_flag"
5048 || test ! -s conftest.err'
5049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5053 (exit $ac_status); }; } &&
5054 { ac_try
='test -s conftest.$ac_objext'
5055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); }; }; then
5060 ac_cv_have_decl_fputc_unlocked
=yes
5062 echo "$as_me: failed program was:" >&5
5063 sed 's/^/| /' conftest.
$ac_ext >&5
5065 ac_cv_have_decl_fputc_unlocked
=no
5067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5069 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
5070 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
5071 if test $ac_cv_have_decl_fputc_unlocked = yes; then
5073 cat >>confdefs.h
<<_ACEOF
5074 #define HAVE_DECL_FPUTC_UNLOCKED 1
5079 cat >>confdefs.h
<<_ACEOF
5080 #define HAVE_DECL_FPUTC_UNLOCKED 0
5085 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
5086 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
5087 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
5088 echo $ECHO_N "(cached) $ECHO_C" >&6
5090 cat >conftest.
$ac_ext <<_ACEOF
5093 cat confdefs.h
>>conftest.
$ac_ext
5094 cat >>conftest.
$ac_ext <<_ACEOF
5095 /* end confdefs.h. */
5096 $ac_includes_default
5100 #ifndef fputs_unlocked
5101 char *p = (char *) fputs_unlocked;
5108 rm -f conftest.
$ac_objext
5109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5110 (eval $ac_compile) 2>conftest.er1
5112 grep -v '^ *+' conftest.er1
>conftest.err
5114 cat conftest.err
>&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); } &&
5117 { ac_try
='test -z "$ac_c_werror_flag"
5118 || test ! -s conftest.err'
5119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); }; } &&
5124 { ac_try
='test -s conftest.$ac_objext'
5125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5129 (exit $ac_status); }; }; then
5130 ac_cv_have_decl_fputs_unlocked
=yes
5132 echo "$as_me: failed program was:" >&5
5133 sed 's/^/| /' conftest.
$ac_ext >&5
5135 ac_cv_have_decl_fputs_unlocked
=no
5137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5139 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
5140 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
5141 if test $ac_cv_have_decl_fputs_unlocked = yes; then
5143 cat >>confdefs.h
<<_ACEOF
5144 #define HAVE_DECL_FPUTS_UNLOCKED 1
5149 cat >>confdefs.h
<<_ACEOF
5150 #define HAVE_DECL_FPUTS_UNLOCKED 0
5155 echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5
5156 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6
5157 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
5158 echo $ECHO_N "(cached) $ECHO_C" >&6
5160 cat >conftest.
$ac_ext <<_ACEOF
5163 cat confdefs.h
>>conftest.
$ac_ext
5164 cat >>conftest.
$ac_ext <<_ACEOF
5165 /* end confdefs.h. */
5166 $ac_includes_default
5170 #ifndef fread_unlocked
5171 char *p = (char *) fread_unlocked;
5178 rm -f conftest.
$ac_objext
5179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5180 (eval $ac_compile) 2>conftest.er1
5182 grep -v '^ *+' conftest.er1
>conftest.err
5184 cat conftest.err
>&5
5185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5186 (exit $ac_status); } &&
5187 { ac_try
='test -z "$ac_c_werror_flag"
5188 || test ! -s conftest.err'
5189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193 (exit $ac_status); }; } &&
5194 { ac_try
='test -s conftest.$ac_objext'
5195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); }; }; then
5200 ac_cv_have_decl_fread_unlocked
=yes
5202 echo "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.
$ac_ext >&5
5205 ac_cv_have_decl_fread_unlocked
=no
5207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5209 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5
5210 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6
5211 if test $ac_cv_have_decl_fread_unlocked = yes; then
5213 cat >>confdefs.h
<<_ACEOF
5214 #define HAVE_DECL_FREAD_UNLOCKED 1
5219 cat >>confdefs.h
<<_ACEOF
5220 #define HAVE_DECL_FREAD_UNLOCKED 0
5225 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
5226 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
5227 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
5228 echo $ECHO_N "(cached) $ECHO_C" >&6
5230 cat >conftest.
$ac_ext <<_ACEOF
5233 cat confdefs.h
>>conftest.
$ac_ext
5234 cat >>conftest.
$ac_ext <<_ACEOF
5235 /* end confdefs.h. */
5236 $ac_includes_default
5240 #ifndef fwrite_unlocked
5241 char *p = (char *) fwrite_unlocked;
5248 rm -f conftest.
$ac_objext
5249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5250 (eval $ac_compile) 2>conftest.er1
5252 grep -v '^ *+' conftest.er1
>conftest.err
5254 cat conftest.err
>&5
5255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5256 (exit $ac_status); } &&
5257 { ac_try
='test -z "$ac_c_werror_flag"
5258 || test ! -s conftest.err'
5259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); }; } &&
5264 { ac_try
='test -s conftest.$ac_objext'
5265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5269 (exit $ac_status); }; }; then
5270 ac_cv_have_decl_fwrite_unlocked
=yes
5272 echo "$as_me: failed program was:" >&5
5273 sed 's/^/| /' conftest.
$ac_ext >&5
5275 ac_cv_have_decl_fwrite_unlocked
=no
5277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5279 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
5280 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
5281 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
5283 cat >>confdefs.h
<<_ACEOF
5284 #define HAVE_DECL_FWRITE_UNLOCKED 1
5289 cat >>confdefs.h
<<_ACEOF
5290 #define HAVE_DECL_FWRITE_UNLOCKED 0
5295 echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5
5296 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6
5297 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
5298 echo $ECHO_N "(cached) $ECHO_C" >&6
5300 cat >conftest.
$ac_ext <<_ACEOF
5303 cat confdefs.h
>>conftest.
$ac_ext
5304 cat >>conftest.
$ac_ext <<_ACEOF
5305 /* end confdefs.h. */
5306 $ac_includes_default
5310 #ifndef getchar_unlocked
5311 char *p = (char *) getchar_unlocked;
5318 rm -f conftest.
$ac_objext
5319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5320 (eval $ac_compile) 2>conftest.er1
5322 grep -v '^ *+' conftest.er1
>conftest.err
5324 cat conftest.err
>&5
5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 (exit $ac_status); } &&
5327 { ac_try
='test -z "$ac_c_werror_flag"
5328 || test ! -s conftest.err'
5329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5333 (exit $ac_status); }; } &&
5334 { ac_try
='test -s conftest.$ac_objext'
5335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5339 (exit $ac_status); }; }; then
5340 ac_cv_have_decl_getchar_unlocked
=yes
5342 echo "$as_me: failed program was:" >&5
5343 sed 's/^/| /' conftest.
$ac_ext >&5
5345 ac_cv_have_decl_getchar_unlocked
=no
5347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5349 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5
5350 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6
5351 if test $ac_cv_have_decl_getchar_unlocked = yes; then
5353 cat >>confdefs.h
<<_ACEOF
5354 #define HAVE_DECL_GETCHAR_UNLOCKED 1
5359 cat >>confdefs.h
<<_ACEOF
5360 #define HAVE_DECL_GETCHAR_UNLOCKED 0
5365 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
5366 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
5367 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
5368 echo $ECHO_N "(cached) $ECHO_C" >&6
5370 cat >conftest.
$ac_ext <<_ACEOF
5373 cat confdefs.h
>>conftest.
$ac_ext
5374 cat >>conftest.
$ac_ext <<_ACEOF
5375 /* end confdefs.h. */
5376 $ac_includes_default
5380 #ifndef getc_unlocked
5381 char *p = (char *) getc_unlocked;
5388 rm -f conftest.
$ac_objext
5389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5390 (eval $ac_compile) 2>conftest.er1
5392 grep -v '^ *+' conftest.er1
>conftest.err
5394 cat conftest.err
>&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); } &&
5397 { ac_try
='test -z "$ac_c_werror_flag"
5398 || test ! -s conftest.err'
5399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403 (exit $ac_status); }; } &&
5404 { ac_try
='test -s conftest.$ac_objext'
5405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); }; }; then
5410 ac_cv_have_decl_getc_unlocked
=yes
5412 echo "$as_me: failed program was:" >&5
5413 sed 's/^/| /' conftest.
$ac_ext >&5
5415 ac_cv_have_decl_getc_unlocked
=no
5417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5419 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
5420 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
5421 if test $ac_cv_have_decl_getc_unlocked = yes; then
5423 cat >>confdefs.h
<<_ACEOF
5424 #define HAVE_DECL_GETC_UNLOCKED 1
5429 cat >>confdefs.h
<<_ACEOF
5430 #define HAVE_DECL_GETC_UNLOCKED 0
5435 echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5
5436 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6
5437 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
5438 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 cat >conftest.
$ac_ext <<_ACEOF
5443 cat confdefs.h
>>conftest.
$ac_ext
5444 cat >>conftest.
$ac_ext <<_ACEOF
5445 /* end confdefs.h. */
5446 $ac_includes_default
5450 #ifndef putchar_unlocked
5451 char *p = (char *) putchar_unlocked;
5458 rm -f conftest.
$ac_objext
5459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5460 (eval $ac_compile) 2>conftest.er1
5462 grep -v '^ *+' conftest.er1
>conftest.err
5464 cat conftest.err
>&5
5465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466 (exit $ac_status); } &&
5467 { ac_try
='test -z "$ac_c_werror_flag"
5468 || test ! -s conftest.err'
5469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); }; } &&
5474 { ac_try
='test -s conftest.$ac_objext'
5475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); }; }; then
5480 ac_cv_have_decl_putchar_unlocked
=yes
5482 echo "$as_me: failed program was:" >&5
5483 sed 's/^/| /' conftest.
$ac_ext >&5
5485 ac_cv_have_decl_putchar_unlocked
=no
5487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5489 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5
5490 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6
5491 if test $ac_cv_have_decl_putchar_unlocked = yes; then
5493 cat >>confdefs.h
<<_ACEOF
5494 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
5499 cat >>confdefs.h
<<_ACEOF
5500 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
5505 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
5506 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
5507 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
5508 echo $ECHO_N "(cached) $ECHO_C" >&6
5510 cat >conftest.
$ac_ext <<_ACEOF
5513 cat confdefs.h
>>conftest.
$ac_ext
5514 cat >>conftest.
$ac_ext <<_ACEOF
5515 /* end confdefs.h. */
5516 $ac_includes_default
5520 #ifndef putc_unlocked
5521 char *p = (char *) putc_unlocked;
5528 rm -f conftest.
$ac_objext
5529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5530 (eval $ac_compile) 2>conftest.er1
5532 grep -v '^ *+' conftest.er1
>conftest.err
5534 cat conftest.err
>&5
5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536 (exit $ac_status); } &&
5537 { ac_try
='test -z "$ac_c_werror_flag"
5538 || test ! -s conftest.err'
5539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5543 (exit $ac_status); }; } &&
5544 { ac_try
='test -s conftest.$ac_objext'
5545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5549 (exit $ac_status); }; }; then
5550 ac_cv_have_decl_putc_unlocked
=yes
5552 echo "$as_me: failed program was:" >&5
5553 sed 's/^/| /' conftest.
$ac_ext >&5
5555 ac_cv_have_decl_putc_unlocked
=no
5557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5559 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
5560 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
5561 if test $ac_cv_have_decl_putc_unlocked = yes; then
5563 cat >>confdefs.h
<<_ACEOF
5564 #define HAVE_DECL_PUTC_UNLOCKED 1
5569 cat >>confdefs.h
<<_ACEOF
5570 #define HAVE_DECL_PUTC_UNLOCKED 0
5578 # Checks for typedefs, structures, and compiler characteristics.
5579 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5580 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5581 if test "${ac_cv_c_const+set}" = set; then
5582 echo $ECHO_N "(cached) $ECHO_C" >&6
5584 cat >conftest.
$ac_ext <<_ACEOF
5587 cat confdefs.h
>>conftest.
$ac_ext
5588 cat >>conftest.
$ac_ext <<_ACEOF
5589 /* end confdefs.h. */
5594 /* FIXME: Include the comments suggested by Paul. */
5596 /* Ultrix mips cc rejects this. */
5597 typedef int charset[2];
5599 /* SunOS 4.1.1 cc rejects this. */
5600 char const *const *ccp;
5602 /* NEC SVR4.0.2 mips cc rejects this. */
5603 struct point {int x, y;};
5604 static struct point const zero = {0,0};
5605 /* AIX XL C 1.02.0.0 rejects this.
5606 It does not let you subtract one const X* pointer from another in
5607 an arm of an if-expression whose if-part is not a constant
5609 const char *g = "string";
5610 ccp = &g + (g ? g-g : 0);
5611 /* HPUX 7.0 cc rejects these. */
5614 ccp = (char const *const *) p;
5615 { /* SCO 3.2v4 cc rejects this. */
5617 char const *s = 0 ? (char *) 0 : (char const *) 0;
5621 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5623 const int *foo = &x[0];
5626 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5627 typedef const int *iptr;
5631 { /* AIX XL C 1.02.0.0 rejects this saying
5632 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5633 struct s { int j; const int *ap[3]; };
5634 struct s *b; b->j = 5;
5636 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5645 rm -f conftest.
$ac_objext
5646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5647 (eval $ac_compile) 2>conftest.er1
5649 grep -v '^ *+' conftest.er1
>conftest.err
5651 cat conftest.err
>&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); } &&
5654 { ac_try
='test -z "$ac_c_werror_flag"
5655 || test ! -s conftest.err'
5656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); }; } &&
5661 { ac_try
='test -s conftest.$ac_objext'
5662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); }; }; then
5669 echo "$as_me: failed program was:" >&5
5670 sed 's/^/| /' conftest.
$ac_ext >&5
5674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5676 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5677 echo "${ECHO_T}$ac_cv_c_const" >&6
5678 if test $ac_cv_c_const = no
; then
5680 cat >>confdefs.h
<<\_ACEOF
5687 # Checks for library functions.
5689 if test "${ac_cv_header_sys_mman_h+set}" = set; then
5690 echo "$as_me:$LINENO: checking for sys/mman.h" >&5
5691 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6
5692 if test "${ac_cv_header_sys_mman_h+set}" = set; then
5693 echo $ECHO_N "(cached) $ECHO_C" >&6
5695 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
5696 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6
5698 # Is the header compilable?
5699 echo "$as_me:$LINENO: checking sys/mman.h usability" >&5
5700 echo $ECHO_N "checking sys/mman.h usability... $ECHO_C" >&6
5701 cat >conftest.
$ac_ext <<_ACEOF
5704 cat confdefs.h
>>conftest.
$ac_ext
5705 cat >>conftest.
$ac_ext <<_ACEOF
5706 /* end confdefs.h. */
5707 $ac_includes_default
5708 #include <sys/mman.h>
5710 rm -f conftest.
$ac_objext
5711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5712 (eval $ac_compile) 2>conftest.er1
5714 grep -v '^ *+' conftest.er1
>conftest.err
5716 cat conftest.err
>&5
5717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5718 (exit $ac_status); } &&
5719 { ac_try
='test -z "$ac_c_werror_flag"
5720 || test ! -s conftest.err'
5721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725 (exit $ac_status); }; } &&
5726 { ac_try
='test -s conftest.$ac_objext'
5727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731 (exit $ac_status); }; }; then
5732 ac_header_compiler
=yes
5734 echo "$as_me: failed program was:" >&5
5735 sed 's/^/| /' conftest.
$ac_ext >&5
5737 ac_header_compiler
=no
5739 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5740 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5741 echo "${ECHO_T}$ac_header_compiler" >&6
5743 # Is the header present?
5744 echo "$as_me:$LINENO: checking sys/mman.h presence" >&5
5745 echo $ECHO_N "checking sys/mman.h presence... $ECHO_C" >&6
5746 cat >conftest.
$ac_ext <<_ACEOF
5749 cat confdefs.h
>>conftest.
$ac_ext
5750 cat >>conftest.
$ac_ext <<_ACEOF
5751 /* end confdefs.h. */
5752 #include <sys/mman.h>
5754 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5755 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5757 grep -v '^ *+' conftest.er1
>conftest.err
5759 cat conftest.err
>&5
5760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5761 (exit $ac_status); } >/dev
/null
; then
5762 if test -s conftest.err
; then
5763 ac_cpp_err
=$ac_c_preproc_warn_flag
5764 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5771 if test -z "$ac_cpp_err"; then
5772 ac_header_preproc
=yes
5774 echo "$as_me: failed program was:" >&5
5775 sed 's/^/| /' conftest.
$ac_ext >&5
5777 ac_header_preproc
=no
5779 rm -f conftest.err conftest.
$ac_ext
5780 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5781 echo "${ECHO_T}$ac_header_preproc" >&6
5783 # So? What about this header?
5784 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5786 { echo "$as_me:$LINENO: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&5
5787 echo "$as_me: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5788 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the compiler's result" >&5
5789 echo "$as_me: WARNING: sys/mman.h: proceeding with the compiler's result" >&2;}
5790 ac_header_preproc
=yes
5793 { echo "$as_me:$LINENO: WARNING: sys/mman.h: present but cannot be compiled" >&5
5794 echo "$as_me: WARNING: sys/mman.h: present but cannot be compiled" >&2;}
5795 { echo "$as_me:$LINENO: WARNING: sys/mman.h: check for missing prerequisite headers?" >&5
5796 echo "$as_me: WARNING: sys/mman.h: check for missing prerequisite headers?" >&2;}
5797 { echo "$as_me:$LINENO: WARNING: sys/mman.h: see the Autoconf documentation" >&5
5798 echo "$as_me: WARNING: sys/mman.h: see the Autoconf documentation" >&2;}
5799 { echo "$as_me:$LINENO: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&5
5800 echo "$as_me: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&2;}
5801 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&5
5802 echo "$as_me: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&2;}
5803 { echo "$as_me:$LINENO: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&5
5804 echo "$as_me: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&2;}
5807 ## -------------------------------------- ##
5808 ## Report this to the fixincludes lists. ##
5809 ## -------------------------------------- ##
5812 sed "s/^/$as_me: WARNING: /" >&2
5815 echo "$as_me:$LINENO: checking for sys/mman.h" >&5
5816 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6
5817 if test "${ac_cv_header_sys_mman_h+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 ac_cv_header_sys_mman_h
=$ac_header_preproc
5822 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
5823 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6
5826 if test $ac_cv_header_sys_mman_h = yes; then
5827 gcc_header_sys_mman_h
=yes
5829 gcc_header_sys_mman_h
=no
5833 echo "$as_me:$LINENO: checking for mmap" >&5
5834 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
5835 if test "${ac_cv_func_mmap+set}" = set; then
5836 echo $ECHO_N "(cached) $ECHO_C" >&6
5838 cat >conftest.
$ac_ext <<_ACEOF
5841 cat confdefs.h
>>conftest.
$ac_ext
5842 cat >>conftest.
$ac_ext <<_ACEOF
5843 /* end confdefs.h. */
5844 /* Define mmap to an innocuous variant, in case <limits.h> declares mmap.
5845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5846 #define mmap innocuous_mmap
5848 /* System header to define __stub macros and hopefully few prototypes,
5849 which can conflict with char mmap (); below.
5850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5851 <limits.h> exists even on freestanding compilers. */
5854 # include <limits.h>
5856 # include <assert.h>
5861 /* Override any gcc2 internal prototype to avoid an error. */
5866 /* We use char because int might match the return type of a gcc2
5867 builtin and then its argument prototype would still apply. */
5869 /* The GNU C library defines this for functions which it implements
5870 to always fail with ENOSYS. Some functions are actually named
5871 something starting with __ and the normal name is an alias. */
5872 #if defined (__stub_mmap) || defined (__stub___mmap)
5875 char (*f) () = mmap;
5889 rm -f conftest.
$ac_objext conftest
$ac_exeext
5890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5891 (eval $ac_link) 2>conftest.er1
5893 grep -v '^ *+' conftest.er1
>conftest.err
5895 cat conftest.err
>&5
5896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5897 (exit $ac_status); } &&
5898 { ac_try
='test -z "$ac_c_werror_flag"
5899 || test ! -s conftest.err'
5900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5904 (exit $ac_status); }; } &&
5905 { ac_try
='test -s conftest$ac_exeext'
5906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); }; }; then
5913 echo "$as_me: failed program was:" >&5
5914 sed 's/^/| /' conftest.
$ac_ext >&5
5918 rm -f conftest.err conftest.
$ac_objext \
5919 conftest
$ac_exeext conftest.
$ac_ext
5921 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
5922 echo "${ECHO_T}$ac_cv_func_mmap" >&6
5923 if test $ac_cv_func_mmap = yes; then
5929 if test "$gcc_header_sys_mman_h" != yes \
5930 ||
test "$gcc_func_mmap" != yes; then
5931 gcc_cv_func_mmap_file
=no
5932 gcc_cv_func_mmap_dev_zero
=no
5933 gcc_cv_func_mmap_anon
=no
5935 echo "$as_me:$LINENO: checking whether read-only mmap of a plain file works" >&5
5936 echo $ECHO_N "checking whether read-only mmap of a plain file works... $ECHO_C" >&6
5937 if test "${gcc_cv_func_mmap_file+set}" = set; then
5938 echo $ECHO_N "(cached) $ECHO_C" >&6
5940 # Add a system to this blacklist if
5941 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
5942 # memory area containing the same data that you'd get if you applied
5943 # read() to the same fd. The only system known to have a problem here
5944 # is VMS, where text files have record structure.
5947 gcc_cv_func_mmap_file
=no
;;
5949 gcc_cv_func_mmap_file
=yes;;
5952 echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_file" >&5
5953 echo "${ECHO_T}$gcc_cv_func_mmap_file" >&6
5954 echo "$as_me:$LINENO: checking whether mmap from /dev/zero works" >&5
5955 echo $ECHO_N "checking whether mmap from /dev/zero works... $ECHO_C" >&6
5956 if test "${gcc_cv_func_mmap_dev_zero+set}" = set; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 # Add a system to this blacklist if it has mmap() but /dev/zero
5960 # does not exist, or if mmapping /dev/zero does not give anonymous
5961 # zeroed pages with both the following properties:
5962 # 1. If you map N consecutive pages in with one call, and then
5963 # unmap any subset of those pages, the pages that were not
5964 # explicitly unmapped remain accessible.
5965 # 2. If you map two adjacent blocks of memory and then unmap them
5966 # both at once, they must both go away.
5967 # Systems known to be in this category are Windows (all variants),
5970 vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
5971 gcc_cv_func_mmap_dev_zero
=no
;;
5973 gcc_cv_func_mmap_dev_zero
=yes;;
5976 echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_dev_zero" >&5
5977 echo "${ECHO_T}$gcc_cv_func_mmap_dev_zero" >&6
5979 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
5980 echo "$as_me:$LINENO: checking for MAP_ANON(YMOUS)" >&5
5981 echo $ECHO_N "checking for MAP_ANON(YMOUS)... $ECHO_C" >&6
5982 if test "${gcc_cv_decl_map_anon+set}" = set; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6
5985 cat >conftest.
$ac_ext <<_ACEOF
5988 cat confdefs.h
>>conftest.
$ac_ext
5989 cat >>conftest.
$ac_ext <<_ACEOF
5990 /* end confdefs.h. */
5991 #include <sys/types.h>
5992 #include <sys/mman.h>
5995 #ifndef MAP_ANONYMOUS
5996 #define MAP_ANONYMOUS MAP_ANON
6002 int n = MAP_ANONYMOUS;
6007 rm -f conftest.
$ac_objext
6008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6009 (eval $ac_compile) 2>conftest.er1
6011 grep -v '^ *+' conftest.er1
>conftest.err
6013 cat conftest.err
>&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); } &&
6016 { ac_try
='test -z "$ac_c_werror_flag"
6017 || test ! -s conftest.err'
6018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); }; } &&
6023 { ac_try
='test -s conftest.$ac_objext'
6024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028 (exit $ac_status); }; }; then
6029 gcc_cv_decl_map_anon
=yes
6031 echo "$as_me: failed program was:" >&5
6032 sed 's/^/| /' conftest.
$ac_ext >&5
6034 gcc_cv_decl_map_anon
=no
6036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6038 echo "$as_me:$LINENO: result: $gcc_cv_decl_map_anon" >&5
6039 echo "${ECHO_T}$gcc_cv_decl_map_anon" >&6
6041 if test $gcc_cv_decl_map_anon = no
; then
6042 gcc_cv_func_mmap_anon
=no
6044 echo "$as_me:$LINENO: checking whether mmap with MAP_ANON(YMOUS) works" >&5
6045 echo $ECHO_N "checking whether mmap with MAP_ANON(YMOUS) works... $ECHO_C" >&6
6046 if test "${gcc_cv_func_mmap_anon+set}" = set; then
6047 echo $ECHO_N "(cached) $ECHO_C" >&6
6049 # Add a system to this blacklist if it has mmap() and MAP_ANON or
6050 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
6051 # doesn't give anonymous zeroed pages with the same properties listed
6052 # above for use of /dev/zero.
6053 # Systems known to be in this category are Windows, VMS, and SCO Unix.
6055 vms
* | cygwin
* | pe | mingw
* | sco
* | udk
* )
6056 gcc_cv_func_mmap_anon
=no
;;
6058 gcc_cv_func_mmap_anon
=yes;;
6061 echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_anon" >&5
6062 echo "${ECHO_T}$gcc_cv_func_mmap_anon" >&6
6066 if test $gcc_cv_func_mmap_file = yes; then
6068 cat >>confdefs.h
<<\_ACEOF
6069 #define HAVE_MMAP_FILE 1
6073 if test $gcc_cv_func_mmap_dev_zero = yes; then
6075 cat >>confdefs.h
<<\_ACEOF
6076 #define HAVE_MMAP_DEV_ZERO 1
6080 if test $gcc_cv_func_mmap_anon = yes; then
6082 cat >>confdefs.h
<<\_ACEOF
6083 #define HAVE_MMAP_ANON 1
6089 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
6090 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
6091 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6092 if test "${enable_maintainer_mode+set}" = set; then
6093 enableval
="$enable_maintainer_mode"
6094 USE_MAINTAINER_MODE
=$enableval
6096 USE_MAINTAINER_MODE
=no
6098 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
6099 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
6100 if test "$USE_MAINTAINER_MODE" = yes; then
6107 cat >>confdefs.h
<<_ACEOF
6108 #define SED_PROGRAM "${SED}"
6112 ac_config_headers
="$ac_config_headers config.h"
6114 ac_config_files
="$ac_config_files Makefile mkheaders.almost:mkheaders.in"
6116 cat >confcache
<<\_ACEOF
6117 # This file is a shell script that caches the results of configure
6118 # tests run on this system so they can be shared between configure
6119 # scripts and configure runs, see configure's option --config-cache.
6120 # It is not useful on other systems. If it contains results you don't
6121 # want to keep, you may remove or edit it.
6123 # config.status only pays attention to the cache file if you give it
6124 # the --recheck option to rerun configure.
6126 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6127 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6132 # The following way of writing the cache mishandles newlines in values,
6133 # but we know of no workaround that is simple, portable, and efficient.
6134 # So, don't put newlines in cache variables' values.
6135 # Ultrix sh set writes to stderr and can't be redirected directly,
6136 # and sets the high bit in the cache file unless we assign to the vars.
6139 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6141 # `set' does not quote correctly, so add quotes (double-quote
6142 # substitution turns \\\\ into \\, and sed turns \\ into \).
6145 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6148 # `set' quotes correctly as required by POSIX, so do not add quotes.
6150 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6157 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6159 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6161 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6162 if test -w $cache_file; then
6163 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6164 cat confcache
>$cache_file
6166 echo "not updating unwritable cache $cache_file"
6171 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6172 # Let make expand exec_prefix.
6173 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6175 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6176 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6177 # trailing colons and then remove the whole line if VPATH becomes empty
6178 # (actually we leave an empty line to preserve line numbers).
6179 if test "x$srcdir" = x.
; then
6180 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6181 s/:*\$(srcdir):*/:/;
6182 s/:*\${srcdir}:*/:/;
6184 s/^\([^=]*=[ ]*\):*/\1/;
6190 DEFS
=-DHAVE_CONFIG_H
6194 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6195 # 1. Remove the extension, and $U if already installed.
6196 ac_i
=`echo "$ac_i" |
6197 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6199 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6200 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6204 LTLIBOBJS
=$ac_ltlibobjs
6208 : ${CONFIG_STATUS=./config.status}
6209 ac_clean_files_save
=$ac_clean_files
6210 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6211 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6212 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6213 cat >$CONFIG_STATUS <<_ACEOF
6215 # Generated by $as_me.
6216 # Run this file to recreate the current configuration.
6217 # Compiler output produced by configure, useful for debugging
6218 # configure, is in config.log if it exists.
6223 SHELL=\${CONFIG_SHELL-$SHELL}
6226 cat >>$CONFIG_STATUS <<\_ACEOF
6227 ## --------------------- ##
6228 ## M4sh Initialization. ##
6229 ## --------------------- ##
6231 # Be Bourne compatible
6232 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6235 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6236 # is contrary to our usage. Disable this feature.
6237 alias -g '${1+"$@"}'='"$@"'
6238 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6241 DUALCASE
=1; export DUALCASE
# for MKS sh
6243 # Support unset when possible.
6244 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6251 # Work around bugs in pre-3.0 UWIN ksh.
6252 $as_unset ENV MAIL MAILPATH
6259 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6260 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6261 LC_TELEPHONE LC_TIME
6263 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6264 eval $as_var=C
; export $as_var
6270 # Required to use basename.
6271 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6277 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6278 as_basename
=basename
6284 # Name of the executable.
6285 as_me
=`$as_basename "$0" ||
6286 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6287 X"$0" : 'X\(//\)$' \| \
6288 X"$0" : 'X\(/\)$' \| \
6289 . : '\(.\)' 2>/dev/null ||
6291 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6292 /^X\/\(\/\/\)$/{ s//\1/; q; }
6293 /^X\/\(\/\).*/{ s//\1/; q; }
6297 # PATH needs CR, and LINENO needs CR and PATH.
6298 # Avoid depending upon Character Ranges.
6299 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6300 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6301 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6302 as_cr_digits
='0123456789'
6303 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6305 # The user is always right.
6306 if test "${PATH_SEPARATOR+set}" != set; then
6307 echo "#! /bin/sh" >conf$$.sh
6308 echo "exit 0" >>conf$$.sh
6310 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6321 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6322 test "x$as_lineno_1" != "x$as_lineno_2" &&
6323 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6324 # Find who we are. Look in the path if we contain no path at all
6327 *[\\/]* ) as_myself
=$0 ;;
6328 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6332 test -z "$as_dir" && as_dir
=.
6333 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6338 # We did not find ourselves, most probably we were run as `sh COMMAND'
6339 # in which case we are not to be found in the path.
6340 if test "x$as_myself" = x
; then
6343 if test ! -f "$as_myself"; then
6344 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6345 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6346 { (exit 1); exit 1; }; }
6348 case $CONFIG_SHELL in
6350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6351 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6354 test -z "$as_dir" && as_dir
=.
6355 for as_base
in sh bash ksh sh5
; do
6358 if ("$as_dir/$as_base" -c '
6361 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6362 test "x$as_lineno_1" != "x$as_lineno_2" &&
6363 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6364 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6365 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6366 CONFIG_SHELL
=$as_dir/$as_base
6368 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6376 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6377 # uniformly replaced by the line number. The first 'sed' inserts a
6378 # line-number line before each line; the second 'sed' does the real
6379 # work. The second script uses 'N' to pair each line-number line
6380 # with the numbered line, and appends trailing '-' during
6381 # substitution so that $LINENO is not a special case at line end.
6382 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6383 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6384 sed '=' <$as_myself |
6389 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6392 s,^['$as_cr_digits']*\n,,
6394 chmod +x
$as_me.lineno ||
6395 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6396 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6397 { (exit 1); exit 1; }; }
6399 # Don't try to exec as it changes $[0], causing all sort of problems
6400 # (the dirname of $[0] is not the place where we might find the
6401 # original and so on. Autoconf is especially sensible to this).
6403 # Exit status is that of the last command.
6408 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6409 *c
*,-n*) ECHO_N
= ECHO_C
='
6411 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6412 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6415 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6421 rm -f conf$$ conf$$.exe conf$$.
file
6423 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6424 # We could just check for DJGPP; but this test a) works b) is more generic
6425 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6426 if test -f conf$$.exe
; then
6427 # Don't use ln at all; we don't have any links
6432 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6437 rm -f conf$$ conf$$.exe conf$$.
file
6439 if mkdir
-p .
2>/dev
/null
; then
6442 test -d .
/-p && rmdir .
/-p
6446 as_executable_p
="test -f"
6448 # Sed expression to map a string onto a valid CPP name.
6449 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6451 # Sed expression to map a string onto a valid variable name.
6452 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6456 # We need space, tab and new line, in precisely that order.
6466 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6467 # report actual input values of CONFIG_FILES etc. instead of their
6468 # values after options handling. Logging --version etc. is OK.
6472 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6473 ## Running $as_me. ##
6478 This file was extended by fixincludes $as_me , which was
6479 generated by GNU Autoconf 2.59. Invocation command line was
6481 CONFIG_FILES = $CONFIG_FILES
6482 CONFIG_HEADERS = $CONFIG_HEADERS
6483 CONFIG_LINKS = $CONFIG_LINKS
6484 CONFIG_COMMANDS = $CONFIG_COMMANDS
6488 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6492 # Files that config.status was made for.
6493 if test -n "$ac_config_files"; then
6494 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6497 if test -n "$ac_config_headers"; then
6498 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6501 if test -n "$ac_config_links"; then
6502 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6505 if test -n "$ac_config_commands"; then
6506 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6509 cat >>$CONFIG_STATUS <<\_ACEOF
6512 \`$as_me' instantiates files from templates according to the
6513 current configuration.
6515 Usage: $0 [OPTIONS] [FILE]...
6517 -h, --help print this help, then exit
6518 -V, --version print version number, then exit
6519 -q, --quiet do not print progress messages
6520 -d, --debug don't remove temporary files
6521 --recheck update $as_me by reconfiguring in the same conditions
6522 --file=FILE[:TEMPLATE]
6523 instantiate the configuration file FILE
6524 --header=FILE[:TEMPLATE]
6525 instantiate the configuration header FILE
6527 Configuration files:
6530 Configuration headers:
6533 Report bugs to <bug-autoconf@gnu.org>."
6536 cat >>$CONFIG_STATUS <<_ACEOF
6538 fixincludes config.status
6539 configured by $0, generated by GNU Autoconf 2.59,
6540 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6542 Copyright (C) 2003 Free Software Foundation, Inc.
6543 This config.status script is free software; the Free Software Foundation
6544 gives unlimited permission to copy, distribute and modify it."
6548 cat >>$CONFIG_STATUS <<\_ACEOF
6549 # If no file are specified by the user, then we need to provide default
6550 # value. By we need to know if files were specified by the user.
6556 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6557 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6565 *) # This is not an option, so the user has probably given explicit
6568 ac_need_defaults
=false
;;
6572 # Handling of the options.
6574 cat >>$CONFIG_STATUS <<\_ACEOF
6575 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6577 --version |
--vers* |
-V )
6578 echo "$ac_cs_version"; exit 0 ;;
6580 # Conflict between --help and --header
6581 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6582 Try \`$0 --help' for more information." >&5
6583 echo "$as_me: error: ambiguous option: $1
6584 Try \`$0 --help' for more information." >&2;}
6585 { (exit 1); exit 1; }; };;
6586 --help |
--hel |
-h )
6587 echo "$ac_cs_usage"; exit 0 ;;
6588 --debug |
--d* |
-d )
6590 --file |
--fil |
--fi |
--f )
6592 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6593 ac_need_defaults
=false
;;
6594 --header |
--heade |
--head |
--hea )
6596 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6597 ac_need_defaults
=false
;;
6598 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6599 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6603 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6604 Try \`$0 --help' for more information." >&5
6605 echo "$as_me: error: unrecognized option: $1
6606 Try \`$0 --help' for more information." >&2;}
6607 { (exit 1); exit 1; }; } ;;
6609 *) ac_config_targets
="$ac_config_targets $1" ;;
6615 ac_configure_extra_args
=
6617 if $ac_cs_silent; then
6619 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6623 cat >>$CONFIG_STATUS <<_ACEOF
6624 if \$ac_cs_recheck; then
6625 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6626 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6635 cat >>$CONFIG_STATUS <<\_ACEOF
6636 for ac_config_target
in $ac_config_targets
6638 case "$ac_config_target" in
6639 # Handling of arguments.
6640 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6641 "mkheaders.almost" ) CONFIG_FILES
="$CONFIG_FILES mkheaders.almost:mkheaders.in" ;;
6642 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6643 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6644 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6645 { (exit 1); exit 1; }; };;
6649 # If the user did not use the arguments to specify the items to instantiate,
6650 # then the envvar interface is used. Set only those that are not.
6651 # We use the long form for the default assignment because of an extremely
6652 # bizarre bug on SunOS 4.1.3.
6653 if $ac_need_defaults; then
6654 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6655 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6658 # Have a temporary directory for convenience. Make it in the build tree
6659 # simply because there is no reason to put it here, and in addition,
6660 # creating and moving files from /tmp can sometimes cause problems.
6661 # Create a temporary directory, and hook for its removal unless debugging.
6664 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6665 trap '{ (exit 1); exit 1; }' 1 2 13 15
6668 # Create a (secure) tmp directory for tmp files.
6671 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6672 test -n "$tmp" && test -d "$tmp"
6675 tmp
=.
/confstat$$
-$RANDOM
6676 (umask 077 && mkdir
$tmp)
6679 echo "$me: cannot create a temporary directory in ." >&2
6680 { (exit 1); exit 1; }
6685 cat >>$CONFIG_STATUS <<_ACEOF
6688 # CONFIG_FILES section.
6691 # No need to generate the scripts if there are no CONFIG_FILES.
6692 # This happens for instance when ./config.status config.h
6693 if test -n "\$CONFIG_FILES"; then
6694 # Protect against being on the right side of a sed subst in config.status.
6695 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6696 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6697 s,@SHELL@,$SHELL,;t t
6698 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6699 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6700 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6701 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6702 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6703 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6704 s,@exec_prefix@,$exec_prefix,;t t
6705 s,@prefix@,$prefix,;t t
6706 s,@program_transform_name@,$program_transform_name,;t t
6707 s,@bindir@,$bindir,;t t
6708 s,@sbindir@,$sbindir,;t t
6709 s,@libexecdir@,$libexecdir,;t t
6710 s,@datadir@,$datadir,;t t
6711 s,@sysconfdir@,$sysconfdir,;t t
6712 s,@sharedstatedir@,$sharedstatedir,;t t
6713 s,@localstatedir@,$localstatedir,;t t
6714 s,@libdir@,$libdir,;t t
6715 s,@includedir@,$includedir,;t t
6716 s,@oldincludedir@,$oldincludedir,;t t
6717 s,@infodir@,$infodir,;t t
6718 s,@mandir@,$mandir,;t t
6719 s,@build_alias@,$build_alias,;t t
6720 s,@host_alias@,$host_alias,;t t
6721 s,@target_alias@,$target_alias,;t t
6723 s,@ECHO_C@,$ECHO_C,;t t
6724 s,@ECHO_N@,$ECHO_N,;t t
6725 s,@ECHO_T@,$ECHO_T,;t t
6727 s,@build@,$build,;t t
6728 s,@build_cpu@,$build_cpu,;t t
6729 s,@build_vendor@,$build_vendor,;t t
6730 s,@build_os@,$build_os,;t t
6732 s,@host_cpu@,$host_cpu,;t t
6733 s,@host_vendor@,$host_vendor,;t t
6734 s,@host_os@,$host_os,;t t
6735 s,@target@,$target,;t t
6736 s,@target_cpu@,$target_cpu,;t t
6737 s,@target_vendor@,$target_vendor,;t t
6738 s,@target_os@,$target_os,;t t
6740 s,@CFLAGS@,$CFLAGS,;t t
6741 s,@LDFLAGS@,$LDFLAGS,;t t
6742 s,@CPPFLAGS@,$CPPFLAGS,;t t
6743 s,@ac_ct_CC@,$ac_ct_CC,;t t
6744 s,@EXEEXT@,$EXEEXT,;t t
6745 s,@OBJEXT@,$OBJEXT,;t t
6747 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6748 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
6749 s,@WERROR@,$WERROR,;t t
6750 s,@target_noncanonical@,$target_noncanonical,;t t
6751 s,@TARGET@,$TARGET,;t t
6753 s,@EGREP@,$EGREP,;t t
6754 s,@MAINT@,$MAINT,;t t
6755 s,@LIBOBJS@,$LIBOBJS,;t t
6756 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6761 cat >>$CONFIG_STATUS <<\_ACEOF
6762 # Split the substitutions into bite-sized pieces for seds with
6763 # small command number limits, like on Digital OSF/1 and HP-UX.
6765 ac_sed_frag
=1 # Number of current file.
6766 ac_beg
=1 # First line for current file.
6767 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6770 while $ac_more_lines; do
6771 if test $ac_beg -gt 1; then
6772 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6774 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6776 if test ! -s $tmp/subs.frag
; then
6779 # The purpose of the label and of the branching condition is to
6780 # speed up the sed processing (if there are no `@' at all, there
6781 # is no need to browse any of the substitutions).
6782 # These are the two extra sed commands mentioned above.
6784 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6785 if test -z "$ac_sed_cmds"; then
6786 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6788 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6790 ac_sed_frag
=`expr $ac_sed_frag + 1`
6792 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6795 if test -z "$ac_sed_cmds"; then
6798 fi # test -n "$CONFIG_FILES"
6801 cat >>$CONFIG_STATUS <<\_ACEOF
6802 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6803 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6805 - |
*:- |
*:-:* ) # input from stdin
6807 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6808 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6809 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6810 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6811 * ) ac_file_in
=$ac_file.
in ;;
6814 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6815 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6816 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6817 X"$ac_file" : 'X\(//\)[^/]' \| \
6818 X"$ac_file" : 'X\(//\)$' \| \
6819 X"$ac_file" : 'X\(/\)' \| \
6820 . : '\(.\)' 2>/dev/null ||
6822 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6823 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6824 /^X\(\/\/\)$/{ s//\1/; q; }
6825 /^X\(\/\).*/{ s//\1/; q; }
6827 { if $as_mkdir_p; then
6832 while test ! -d "$as_dir"; do
6833 as_dirs
="$as_dir $as_dirs"
6834 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6835 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6836 X"$as_dir" : 'X\(//\)[^/]' \| \
6837 X"$as_dir" : 'X\(//\)$' \| \
6838 X"$as_dir" : 'X\(/\)' \| \
6839 . : '\(.\)' 2>/dev/null ||
6841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6842 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6843 /^X\(\/\/\)$/{ s//\1/; q; }
6844 /^X\(\/\).*/{ s//\1/; q; }
6847 test ! -n "$as_dirs" || mkdir
$as_dirs
6848 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6849 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6850 { (exit 1); exit 1; }; }; }
6854 if test "$ac_dir" != .
; then
6855 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6856 # A "../" for each directory in $ac_dir_suffix.
6857 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6859 ac_dir_suffix
= ac_top_builddir
=
6863 .
) # No --srcdir option. We are building in place.
6865 if test -z "$ac_top_builddir"; then
6868 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6870 [\\/]* | ?
:[\\/]* ) # Absolute path.
6871 ac_srcdir
=$srcdir$ac_dir_suffix;
6872 ac_top_srcdir
=$srcdir ;;
6874 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6875 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6878 # Do not use `cd foo && pwd` to compute absolute paths, because
6879 # the directories may not exist.
6881 .
) ac_abs_builddir
="$ac_dir";;
6884 .
) ac_abs_builddir
=`pwd`;;
6885 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6886 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6889 case $ac_abs_builddir in
6890 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6892 case ${ac_top_builddir}.
in
6893 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6894 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6895 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6898 case $ac_abs_builddir in
6899 .
) ac_abs_srcdir
=$ac_srcdir;;
6902 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6903 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6904 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6907 case $ac_abs_builddir in
6908 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6910 case $ac_top_srcdir in
6911 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6912 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6913 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6919 if test x
"$ac_file" != x-
; then
6920 { echo "$as_me:$LINENO: creating $ac_file" >&5
6921 echo "$as_me: creating $ac_file" >&6;}
6924 # Let's still pretend it is `configure' which instantiates (i.e., don't
6925 # use $as_me), people would be surprised to read:
6926 # /* config.h. Generated by config.status. */
6927 if test x
"$ac_file" = x-
; then
6930 configure_input
="$ac_file. "
6932 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6933 sed 's,.*/,,'` by configure."
6935 # First look for the input files in the build tree, otherwise in the
6937 ac_file_inputs
=`IFS=:
6938 for f in $ac_file_in; do
6940 -) echo $tmp/stdin ;;
6942 # Absolute (can't be DOS-style, as IFS=:)
6943 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6944 echo "$as_me: error: cannot find input file: $f" >&2;}
6945 { (exit 1); exit 1; }; }
6948 if test -f "$f"; then
6951 elif test -f "$srcdir/$f"; then
6956 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6957 echo "$as_me: error: cannot find input file: $f" >&2;}
6958 { (exit 1); exit 1; }; }
6961 done` ||
{ (exit 1); exit 1; }
6963 cat >>$CONFIG_STATUS <<_ACEOF
6967 cat >>$CONFIG_STATUS <<\_ACEOF
6969 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6970 s
,@configure_input@
,$configure_input,;t t
6971 s
,@srcdir@
,$ac_srcdir,;t t
6972 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6973 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6974 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6975 s
,@builddir@
,$ac_builddir,;t t
6976 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6977 s
,@top_builddir@
,$ac_top_builddir,;t t
6978 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6979 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6981 if test x"$ac_file" != x-; then
6982 mv $tmp/out $ac_file
6990 cat >>$CONFIG_STATUS <<\_ACEOF
6993 # CONFIG_HEADER section.
6996 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6997 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6999 # ac_d sets the value in "#define NAME VALUE" lines.
7000 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7001 ac_dB
='[ ].*$,\1#\2'
7004 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7005 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7006 ac_uB
='$,\1#\2define\3'
7010 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7011 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7013 - |
*:- |
*:-:* ) # input from stdin
7015 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7016 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7017 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7018 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7019 * ) ac_file_in
=$ac_file.
in ;;
7022 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7023 echo "$as_me: creating $ac_file" >&6;}
7025 # First look for the input files in the build tree, otherwise in the
7027 ac_file_inputs
=`IFS=:
7028 for f in $ac_file_in; do
7030 -) echo $tmp/stdin ;;
7032 # Absolute (can't be DOS-style, as IFS=:)
7033 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7034 echo "$as_me: error: cannot find input file: $f" >&2;}
7035 { (exit 1); exit 1; }; }
7036 # Do quote $f, to prevent DOS paths from being IFS'd.
7039 if test -f "$f"; then
7042 elif test -f "$srcdir/$f"; then
7047 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7048 echo "$as_me: error: cannot find input file: $f" >&2;}
7049 { (exit 1); exit 1; }; }
7052 done` ||
{ (exit 1); exit 1; }
7053 # Remove the trailing spaces.
7054 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7058 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7059 # `conftest.undefs', that substitutes the proper values into
7060 # config.h.in to produce config.h. The first handles `#define'
7061 # templates, and the second `#undef' templates.
7062 # And first: Protect against being on the right side of a sed subst in
7063 # config.status. Protect against being in an unquoted here document
7065 rm -f conftest.defines conftest.undefs
7066 # Using a here document instead of a string reduces the quoting nightmare.
7067 # Putting comments in sed scripts is not portable.
7069 # `end' is used to avoid that the second main sed command (meant for
7070 # 0-ary CPP macros) applies to n-ary macro definitions.
7071 # See the Autoconf documentation for `clear'.
7072 cat >confdef2sed.
sed <<\_ACEOF
7077 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7079 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7082 # If some macros were called several times there might be several times
7083 # the same #defines, which is useless. Nevertheless, we may not want to
7084 # sort them, since we want the *last* AC-DEFINE to be honored.
7085 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7086 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7087 rm -f confdef2sed.sed
7089 # This sed command replaces #undef with comments. This is necessary, for
7090 # example, in the case of _POSIX_SOURCE, which is predefined and required
7091 # on some systems where configure will not decide to define it.
7092 cat >>conftest.undefs <<\_ACEOF
7093 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7096 # Break up conftest.defines because some shells have a limit on the size
7097 # of here documents, and old seds have small limits too (100 cmds).
7098 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7099 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7100 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7101 echo ' :' >>$CONFIG_STATUS
7103 while grep . conftest.defines >/dev/null
7105 # Write a limited-size here document to $tmp/defines.sed.
7106 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7107 # Speed up: don't consider the non `#define' lines.
7108 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7109 # Work around the forget-to-reset-the-flag bug.
7110 echo 't clr' >>$CONFIG_STATUS
7111 echo ': clr' >>$CONFIG_STATUS
7112 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7114 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7118 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7119 rm -f conftest.defines
7120 mv conftest.
tail conftest.defines
7122 rm -f conftest.defines
7123 echo ' fi # grep' >>$CONFIG_STATUS
7124 echo >>$CONFIG_STATUS
7126 # Break up conftest.undefs because some shells have a limit on the size
7127 # of here documents, and old seds have small limits too (100 cmds).
7128 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7130 while grep . conftest.undefs
>/dev
/null
7132 # Write a limited-size here document to $tmp/undefs.sed.
7133 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7134 # Speed up: don't consider the non
`#undef'
7135 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7136 # Work around the forget-to-reset-the-flag bug.
7137 echo 't clr' >>$CONFIG_STATUS
7138 echo ': clr' >>$CONFIG_STATUS
7139 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7141 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7145 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7146 rm -f conftest.undefs
7147 mv conftest.tail conftest.undefs
7149 rm -f conftest.undefs
7151 cat >>$CONFIG_STATUS <<\_ACEOF
7152 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7153 # use $as_me), people would be surprised to read:
7154 # /* config.h. Generated by config.status. */
7155 if test x
"$ac_file" = x-
; then
7156 echo "/* Generated by configure. */" >$tmp/config.h
7158 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7160 cat $tmp/in >>$tmp/config.h
7162 if test x
"$ac_file" != x-
; then
7163 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7164 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7165 echo "$as_me: $ac_file is unchanged" >&6;}
7167 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7168 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7169 X"$ac_file" : 'X\(//\)[^/]' \| \
7170 X"$ac_file" : 'X\(//\)$' \| \
7171 X"$ac_file" : 'X\(/\)' \| \
7172 . : '\(.\)' 2>/dev/null ||
7174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7175 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7176 /^X\(\/\/\)$/{ s//\1/; q; }
7177 /^X\(\/\).*/{ s//\1/; q; }
7179 { if $as_mkdir_p; then
7184 while test ! -d "$as_dir"; do
7185 as_dirs
="$as_dir $as_dirs"
7186 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7187 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7188 X"$as_dir" : 'X\(//\)[^/]' \| \
7189 X"$as_dir" : 'X\(//\)$' \| \
7190 X"$as_dir" : 'X\(/\)' \| \
7191 . : '\(.\)' 2>/dev/null ||
7193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7194 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7195 /^X\(\/\/\)$/{ s//\1/; q; }
7196 /^X\(\/\).*/{ s//\1/; q; }
7199 test ! -n "$as_dirs" || mkdir
$as_dirs
7200 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7201 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7202 { (exit 1); exit 1; }; }; }
7205 mv $tmp/config.h
$ac_file
7211 # Run the commands associated with the file.
7213 config.h
) echo timestamp
> stamp-h
;;
7218 cat >>$CONFIG_STATUS <<\_ACEOF
7220 { (exit 0); exit 0; }
7222 chmod +x
$CONFIG_STATUS
7223 ac_clean_files
=$ac_clean_files_save
7226 # configure is writing to config.log, and then calls config.status.
7227 # config.status does its own redirection, appending to config.log.
7228 # Unfortunately, on DOS this fails, as config.log is still kept open
7229 # by configure, so config.status won't be able to write to it; its
7230 # output is simply discarded. So we exec the FD to /dev/null,
7231 # effectively closing config.log, so it can be properly (re)opened and
7232 # appended to by config.status. When coming back to configure, we
7233 # need to make the FD available again.
7234 if test "$no_create" != yes; then
7236 ac_config_status_args
=
7237 test "$silent" = yes &&
7238 ac_config_status_args
="$ac_config_status_args --quiet"
7240 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7242 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7243 # would make configure fail if this is the last instruction.
7244 $ac_cs_success ||
{ (exit 1); exit 1; }