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 Free Software Foundation, Inc.
1363 # This file is part of GNU Libtool:
1364 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
1366 # This file is free software; the Free Software Foundation gives
1367 # unlimited permission to copy and/or distribute it, with or without
1368 # modifications, as long as this notice is preserved.
1375 # LT_PREREQ(VERSION)
1376 # ------------------
1377 # Complain and exit if this libtool version is less that VERSION.
1381 # LT_INIT([OPTIONS])
1382 # ------------------
1390 # _LT_CC_BASENAME(CC)
1391 # -------------------
1392 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
1396 # _LT_FILEUTILS_DEFAULTS
1397 # ----------------------
1398 # It is okay to use these file commands and assume they have been set
1399 # sensibly after `m4_require
([_LT_FILEUTILS_DEFAULTS
])'.
1400 # _LT_FILEUTILS_DEFAULTS
1410 # Note that this code is called both from `configure', and
`config.status'
1411 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
1412 # `config.status
' has no value for ac_aux_dir unless we are using Automake,
1413 # so we pass a copy along to make sure it has a sensible value anyway.
1417 ## ------------------------------------- ##
1418 ## Accumulate code for creating libtool. ##
1419 ## ------------------------------------- ##
1421 # So that we can recreate a full libtool script including additional
1422 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
1423 # in macros and then make a single call at the end using the `libtool'
1427 # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
1428 # ----------------------------------------
1429 # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
1436 # _LT_CONFIG_LIBTOOL([COMMANDS])
1437 # ------------------------------
1438 # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
1445 # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
1446 # -----------------------------------------------------
1450 # _LT_FORMAT_COMMENT([COMMENT])
1451 # -----------------------------
1452 # Add leading comment marks to the start of each line, and a trailing
1453 # full-stop to the whole comment if one is not present already.
1458 ## ------------------------ ##
1459 ## FIXME: Eliminate VARNAME ##
1460 ## ------------------------ ##
1463 # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
1464 # -------------------------------------------------------------------
1465 # CONFIGNAME is the name given to the value in the libtool script.
1466 # VARNAME is the (base) name used in the configure script.
1467 # VALUE may be 0, 1 or 2 for a computed quote escaped value based on
1468 # VARNAME. Any other value will be used directly.
1472 # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
1473 # --------------------------------------------------------
1477 # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
1478 # ------------------------------------------------
1482 # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
1483 # ---------------------------------------------------------
1487 # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
1488 # --------------------------------------------------
1492 # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
1493 # ---------------------------------------------------
1497 # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
1498 # ---------------------------------------------------
1503 # lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
1504 # ------------------------------------------------
1509 # _LT_CONFIG_STATUS_DECLARE([VARNAME])
1510 # ------------------------------------
1511 # Quote a variable value, and forward it to `config.status' so that its
1512 # declaration there will have the same value as in `configure'. VARNAME
1513 # must have a single quote delimited value for this to work.
1517 # _LT_CONFIG_STATUS_DECLARATIONS
1518 # ------------------------------
1519 # We delimit libtool config variables with single quotes, so when
1520 # we write them to config.status, we have to be sure to quote all
1521 # embedded single quotes properly. In configure, this macro expands
1522 # each variable declared with _LT_DECL (and _LT_TAGDECL) into:
1524 # <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
1530 # Output comment and list of tags supported by the script
1534 # _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
1535 # -----------------------------------
1536 # Extract the dictionary values for VARNAME (optionally with TAG) and
1537 # expand to a commented shell variable setting:
1539 # # Some comment about what VAR is for.
1540 # visible_name=$lt_internal_name
1544 # _LT_LIBTOOL_CONFIG_VARS
1545 # -----------------------
1546 # Produce commented declarations of non-tagged libtool config variables
1547 # suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
1548 # script. Tagged libtool config variables (even for the LIBTOOL CONFIG
1549 # section) are produced by _LT_LIBTOOL_TAG_VARS.
1553 # _LT_LIBTOOL_TAG_VARS(TAG)
1554 # -------------------------
1558 # _LT_TAGVAR(VARNAME, [TAGNAME])
1559 # ------------------------------
1563 # _LT_CONFIG_COMMANDS
1564 # -------------------
1565 # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
1566 # variables for single and double quote escaping we saved from calls
1567 # to _LT_DECL, we can put quote escaped variables declarations
1568 # into `config.status', and then the shell code to quote escape them in
1569 # for loops in `config.status'. Finally, any additional code accumulated
1570 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
1571 #_LT_CONFIG_COMMANDS
1580 # This macro allows early generation of the libtool script (before
1581 # AC_OUTPUT is called), incase it is used in configure for compilation
1588 # If TAG is the built-in tag, create an initial libtool script with a
1589 # default configuration from the untagged config vars. Otherwise add code
1590 # to config.status for appending the configuration named by TAG from the
1591 # matching tagged config vars.
1595 # LT_SUPPORTED_TAG(TAG)
1596 # ---------------------
1597 # Trace this macro to discover what tags are supported by the libtool
1598 # --tag option, using:
1599 # autoconf --trace 'LT_SUPPORTED_TAG:$1'
1603 # C support is built-in for now
1610 # Enable libtool support for the given language if not already enabled.
1614 # _LT_LANG(LANGNAME)
1615 # ------------------
1619 # _LT_LANG_DEFAULT_CONFIG
1620 # -----------------------
1621 # _LT_LANG_DEFAULT_CONFIG
1635 # _LT_COMPILER_BOILERPLATE
1636 # ------------------------
1637 # Check for compiler boilerplate output or warnings with
1638 # the simple compiler test code.
1639 # _LT_COMPILER_BOILERPLATE
1642 # _LT_LINKER_BOILERPLATE
1643 # ----------------------
1644 # Check for linker boilerplate output or warnings with
1645 # the simple link test code.
1646 # _LT_LINKER_BOILERPLATE
1649 # _LT_SYS_MODULE_PATH_AIX
1650 # -----------------------
1651 # Links a minimal program and checks the executable
1652 # for the system default hardcoded library path. In most cases,
1653 # this is /usr/lib:/lib, but when the MPI compilers are used
1654 # the location of the communication and MPI libs are included too.
1655 # If we don't find anything, use the default library path according
1656 # to the aix ld manual.
1657 # _LT_SYS_MODULE_PATH_AIX
1660 # _LT_SHELL_INIT(ARG)
1661 # -------------------
1665 # _LT_PROG_ECHO_BACKSLASH
1666 # -----------------------
1667 # Add some code to the start of the generated configure script which
1668 # will find an echo command which doesn't interpret backslashes.
1669 # _LT_PROG_ECHO_BACKSLASH
1677 # _LT_CMD_OLD_ARCHIVE
1678 # -------------------
1679 # _LT_CMD_OLD_ARCHIVE
1682 # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1683 # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1684 # ----------------------------------------------------------------
1685 # Check whether the given compiler option works
1686 # _LT_COMPILER_OPTION
1692 # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1693 # [ACTION-SUCCESS], [ACTION-FAILURE])
1694 # ----------------------------------------------------
1695 # Check whether the given linker option works
1715 # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
1716 # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
1717 # ----------------------------------------------------------------
1718 # _LT_TRY_DLOPEN_SELF
1721 # LT_SYS_DLOPEN_SELF
1722 # ------------------
1723 # LT_SYS_DLOPEN_SELF
1729 # _LT_COMPILER_C_O([TAGNAME])
1730 # ---------------------------
1731 # Check to see if options -c and -o are simultaneously supported by compiler.
1732 # This macro does not hard code the compiler like AC_PROG_CC_C_O.
1736 # _LT_COMPILER_FILE_LOCKS([TAGNAME])
1737 # ----------------------------------
1738 # Check to see if we can do hard links to lock some files if needed
1739 # _LT_COMPILER_FILE_LOCKS
1747 # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
1748 # --------------------------------------
1749 # Check hardcoding attributes.
1750 # _LT_LINKER_HARDCODE_LIBPATH
1758 # _LT_SYS_DYNAMIC_LINKER([TAG])
1759 # -----------------------------
1760 # PORTME Fill in your ld.so characteristics
1761 # _LT_SYS_DYNAMIC_LINKER
1764 # _LT_PATH_TOOL_PREFIX(TOOL)
1765 # --------------------------
1766 # find a file program which can recognize shared library
1767 # _LT_PATH_TOOL_PREFIX
1775 # find a file program which can recognize a shared library
1781 # find the pathname to the GNU or non-GNU linker
1796 # find reload flag for linker
1797 # -- PORTME Some linkers may need a different reload flag.
1801 # _LT_CHECK_MAGIC_METHOD
1802 # ----------------------
1803 # how to check for library dependencies
1804 # -- PORTME fill in with the dynamic library characteristics
1805 # _LT_CHECK_MAGIC_METHOD
1810 # find the pathname to a BSD- or MS-compatible name lister
1820 # check for math library
1827 # _LT_COMPILER_NO_RTTI([TAGNAME])
1828 # -------------------------------
1829 # _LT_COMPILER_NO_RTTI
1832 # _LT_CMD_GLOBAL_SYMBOLS
1833 # ----------------------
1834 # _LT_CMD_GLOBAL_SYMBOLS
1837 # _LT_COMPILER_PIC([TAGNAME])
1838 # ---------------------------
1842 # _LT_LINKER_SHLIBS([TAGNAME])
1843 # ----------------------------
1844 # See if the linker supports building shared libraries.
1848 # _LT_LANG_C_CONFIG([TAG])
1849 # ------------------------
1850 # Ensure that the configuration variables for a C compiler are suitably
1851 # defined. These variables are subsequently used by _LT_CONFIG to write
1852 # the compiler configuration to `libtool'.
1858 # Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
1859 # compiler, we have our own version here.
1864 # _LT_LANG_CXX_CONFIG([TAG])
1865 # --------------------------
1866 # Ensure that the configuration variables for a C++ compiler are suitably
1867 # defined. These variables are subsequently used by _LT_CONFIG to write
1868 # the compiler configuration to `libtool'.
1869 # _LT_LANG_CXX_CONFIG
1872 # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
1873 # ---------------------------------
1874 # Figure out "hidden" library dependencies from verbose
1875 # compiler output when linking a shared library.
1876 # Parse the compiler output and extract the necessary
1877 # objects, libraries and library flags.
1878 # _LT_SYS_HIDDEN_LIBDEPS
1883 # Since AC_PROG_F77 is broken, in that it returns the empty string
1884 # if there is no fortran compiler, we have our own version here.
1889 # _LT_LANG_F77_CONFIG([TAG])
1890 # --------------------------
1891 # Ensure that the configuration variables for a Fortran 77 compiler are
1892 # suitably defined. These variables are subsequently used by _LT_CONFIG
1893 # to write the compiler configuration to `libtool'.
1894 # _LT_LANG_F77_CONFIG
1899 # Since AC_PROG_FC is broken, in that it returns the empty string
1900 # if there is no fortran compiler, we have our own version here.
1905 # _LT_LANG_FC_CONFIG([TAG])
1906 # -------------------------
1907 # Ensure that the configuration variables for a Fortran compiler are
1908 # suitably defined. These variables are subsequently used by _LT_CONFIG
1909 # to write the compiler configuration to `libtool'.
1910 # _LT_LANG_FC_CONFIG
1913 # _LT_LANG_GCJ_CONFIG([TAG])
1914 # --------------------------
1915 # Ensure that the configuration variables for the GNU Java Compiler compiler
1916 # are suitably defined. These variables are subsequently used by _LT_CONFIG
1917 # to write the compiler configuration to `libtool'.
1918 # _LT_LANG_GCJ_CONFIG
1921 # _LT_LANG_RC_CONFIG([TAG])
1922 # -------------------------
1923 # Ensure that the configuration variables for the Windows resource compiler
1924 # are suitably defined. These variables are subsequently used by _LT_CONFIG
1925 # to write the compiler configuration to `libtool'.
1926 # _LT_LANG_RC_CONFIG
1947 # If we don't have a new enough Autoconf to choose the best grep
1948 # available, choose the one first in the user's PATH.
1954 # Check for a fully-functional sed program, that truncates
1955 # as few characters as possible. Prefer GNU sed if found.
1959 ############################################################
1960 # NOTE: This macro has been submitted for inclusion into #
1961 # GNU Autoconf as AC_PROG_SED. When it is available in #
1962 # a released version of Autoconf we should remove this #
1963 # macro and use it instead. #
1964 ############################################################
1973 # _LT_CHECK_SHELL_FEATURES
1974 # ------------------------
1975 # Find out whether the shell is Bourne or XSI compatible,
1976 # or has some other useful features.
1977 # _LT_CHECK_SHELL_FEATURES
1980 # _LT_PROG_XSI_SHELLFNS
1981 # ---------------------
1982 # Bourne and XSI compatible variants of some useful shell functions.
1985 # Make sure we can run config.sub.
1986 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1987 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1988 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1989 { (exit 1); exit 1; }; }
1991 echo "$as_me:$LINENO: checking build system type" >&5
1992 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1993 if test "${ac_cv_build+set}" = set; then
1994 echo $ECHO_N "(cached) $ECHO_C" >&6
1996 ac_cv_build_alias
=$build_alias
1997 test -z "$ac_cv_build_alias" &&
1998 ac_cv_build_alias
=`$ac_config_guess`
1999 test -z "$ac_cv_build_alias" &&
2000 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2001 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2002 { (exit 1); exit 1; }; }
2003 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
2004 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2005 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2006 { (exit 1); exit 1; }; }
2009 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2010 echo "${ECHO_T}$ac_cv_build" >&6
2012 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2013 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2014 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2017 echo "$as_me:$LINENO: checking host system type" >&5
2018 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2019 if test "${ac_cv_host+set}" = set; then
2020 echo $ECHO_N "(cached) $ECHO_C" >&6
2022 ac_cv_host_alias
=$host_alias
2023 test -z "$ac_cv_host_alias" &&
2024 ac_cv_host_alias
=$ac_cv_build_alias
2025 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
2026 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2027 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2028 { (exit 1); exit 1; }; }
2031 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2032 echo "${ECHO_T}$ac_cv_host" >&6
2034 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2035 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2036 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2039 echo "$as_me:$LINENO: checking target system type" >&5
2040 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2041 if test "${ac_cv_target+set}" = set; then
2042 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 ac_cv_target_alias
=$target_alias
2045 test "x$ac_cv_target_alias" = "x" &&
2046 ac_cv_target_alias
=$ac_cv_host_alias
2047 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
2048 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2049 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2050 { (exit 1); exit 1; }; }
2053 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2054 echo "${ECHO_T}$ac_cv_target" >&6
2055 target
=$ac_cv_target
2056 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2057 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2058 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2061 # The aliases save the names the user supplied, while $host etc.
2062 # will get canonicalized.
2063 test -n "$target_alias" &&
2064 test "$program_prefix$program_suffix$program_transform_name" = \
2066 program_prefix
=${target_alias}-
2068 ac_cpp
='$CPP $CPPFLAGS'
2069 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2070 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2071 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2072 if test -n "$ac_tool_prefix"; then
2073 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2074 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2075 echo "$as_me:$LINENO: checking for $ac_word" >&5
2076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077 if test "${ac_cv_prog_CC+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 if test -n "$CC"; then
2081 ac_cv_prog_CC
="$CC" # Let the user override the test.
2083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir
=.
2088 for ac_exec_ext
in '' $ac_executable_extensions; do
2089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 if test -n "$CC"; then
2101 echo "$as_me:$LINENO: result: $CC" >&5
2102 echo "${ECHO_T}$CC" >&6
2104 echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6
2109 if test -z "$ac_cv_prog_CC"; then
2111 # Extract the first word of "gcc", so it can be a program name with args.
2112 set dummy gcc
; ac_word
=$2
2113 echo "$as_me:$LINENO: checking for $ac_word" >&5
2114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2115 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2116 echo $ECHO_N "(cached) $ECHO_C" >&6
2118 if test -n "$ac_ct_CC"; then
2119 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2125 test -z "$as_dir" && as_dir
=.
2126 for ac_exec_ext
in '' $ac_executable_extensions; do
2127 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2128 ac_cv_prog_ac_ct_CC
="gcc"
2129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2138 if test -n "$ac_ct_CC"; then
2139 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2140 echo "${ECHO_T}$ac_ct_CC" >&6
2142 echo "$as_me:$LINENO: result: no" >&5
2143 echo "${ECHO_T}no" >&6
2151 if test -z "$CC"; then
2152 if test -n "$ac_tool_prefix"; then
2153 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2154 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_CC+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 if test -n "$CC"; then
2161 ac_cv_prog_CC
="$CC" # Let the user override the test.
2163 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir
=.
2168 for ac_exec_ext
in '' $ac_executable_extensions; do
2169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 if test -n "$CC"; then
2181 echo "$as_me:$LINENO: result: $CC" >&5
2182 echo "${ECHO_T}$CC" >&6
2184 echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6
2189 if test -z "$ac_cv_prog_CC"; then
2191 # Extract the first word of "cc", so it can be a program name with args.
2192 set dummy cc
; ac_word
=$2
2193 echo "$as_me:$LINENO: checking for $ac_word" >&5
2194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2195 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2196 echo $ECHO_N "(cached) $ECHO_C" >&6
2198 if test -n "$ac_ct_CC"; then
2199 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2205 test -z "$as_dir" && as_dir
=.
2206 for ac_exec_ext
in '' $ac_executable_extensions; do
2207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2208 ac_cv_prog_ac_ct_CC
="cc"
2209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2217 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2218 if test -n "$ac_ct_CC"; then
2219 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2220 echo "${ECHO_T}$ac_ct_CC" >&6
2222 echo "$as_me:$LINENO: result: no" >&5
2223 echo "${ECHO_T}no" >&6
2232 if test -z "$CC"; then
2233 # Extract the first word of "cc", so it can be a program name with args.
2234 set dummy cc
; ac_word
=$2
2235 echo "$as_me:$LINENO: checking for $ac_word" >&5
2236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2237 if test "${ac_cv_prog_CC+set}" = set; then
2238 echo $ECHO_N "(cached) $ECHO_C" >&6
2240 if test -n "$CC"; then
2241 ac_cv_prog_CC
="$CC" # Let the user override the test.
2244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2248 test -z "$as_dir" && as_dir
=.
2249 for ac_exec_ext
in '' $ac_executable_extensions; do
2250 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2251 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2252 ac_prog_rejected
=yes
2256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 if test $ac_prog_rejected = yes; then
2263 # We found a bogon in the path, so make sure we never use it.
2264 set dummy
$ac_cv_prog_CC
2266 if test $# != 0; then
2267 # We chose a different compiler from the bogus one.
2268 # However, it has the same basename, so the bogon will be chosen
2269 # first if we set CC to just the basename; use the full file name.
2271 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2277 if test -n "$CC"; then
2278 echo "$as_me:$LINENO: result: $CC" >&5
2279 echo "${ECHO_T}$CC" >&6
2281 echo "$as_me:$LINENO: result: no" >&5
2282 echo "${ECHO_T}no" >&6
2286 if test -z "$CC"; then
2287 if test -n "$ac_tool_prefix"; then
2290 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2291 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2292 echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2294 if test "${ac_cv_prog_CC+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC
="$CC" # Let the user override the test.
2300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir
=.
2305 for ac_exec_ext
in '' $ac_executable_extensions; do
2306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2307 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2317 if test -n "$CC"; then
2318 echo "$as_me:$LINENO: result: $CC" >&5
2319 echo "${ECHO_T}$CC" >&6
2321 echo "$as_me:$LINENO: result: no" >&5
2322 echo "${ECHO_T}no" >&6
2325 test -n "$CC" && break
2328 if test -z "$CC"; then
2332 # Extract the first word of "$ac_prog", so it can be a program name with args.
2333 set dummy
$ac_prog; ac_word
=$2
2334 echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 if test -n "$ac_ct_CC"; then
2340 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir
=.
2347 for ac_exec_ext
in '' $ac_executable_extensions; do
2348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2349 ac_cv_prog_ac_ct_CC
="$ac_prog"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2358 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2359 if test -n "$ac_ct_CC"; then
2360 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2361 echo "${ECHO_T}$ac_ct_CC" >&6
2363 echo "$as_me:$LINENO: result: no" >&5
2364 echo "${ECHO_T}no" >&6
2367 test -n "$ac_ct_CC" && break
2376 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2377 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2378 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2379 See \`config.log' for more details." >&5
2380 echo "$as_me: error: no acceptable C compiler found in \$PATH
2381 See \`config.log' for more details." >&2;}
2382 { (exit 1); exit 1; }; }; }
2384 # Provide some information about the compiler.
2385 echo "$as_me:$LINENO:" \
2386 "checking for C compiler version" >&5
2387 ac_compiler
=`set X $ac_compile; echo $2`
2388 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2389 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392 (exit $ac_status); }
2393 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2394 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); }
2398 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2399 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); }
2404 cat >conftest.
$ac_ext <<_ACEOF
2407 cat confdefs.h
>>conftest.
$ac_ext
2408 cat >>conftest.
$ac_ext <<_ACEOF
2409 /* end confdefs.h. */
2419 ac_clean_files_save
=$ac_clean_files
2420 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2421 # Try to create an executable without -o first, disregard a.out.
2422 # It will help us diagnose broken compilers, and finding out an intuition
2424 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2425 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2426 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2427 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2428 (eval $ac_link_default) 2>&5
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); }; then
2432 # Find the output, starting from the most likely. This scheme is
2433 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2436 # Be careful to initialize this variable, since it used to be cached.
2437 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2439 # b.out is created by i960 compilers.
2440 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2442 test -f "$ac_file" ||
continue
2444 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2447 # This is the source file.
2450 # We found the default executable, but exeext='' is most
2454 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2455 # FIXME: I believe we export ac_cv_exeext for Libtool,
2456 # but it would be cool to find out if it's true. Does anybody
2457 # maintain Libtool? --akim.
2465 echo "$as_me: failed program was:" >&5
2466 sed 's/^/| /' conftest.
$ac_ext >&5
2468 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2469 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2471 See \`config.log' for more details." >&5
2472 echo "$as_me: error: C compiler cannot create executables
2473 See \`config.log' for more details." >&2;}
2474 { (exit 77); exit 77; }; }; }
2477 ac_exeext
=$ac_cv_exeext
2478 echo "$as_me:$LINENO: result: $ac_file" >&5
2479 echo "${ECHO_T}$ac_file" >&6
2481 # Check the compiler produces executables we can run. If not, either
2482 # the compiler is broken, or we cross compile.
2483 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2484 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2485 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2486 # If not cross compiling, check that we can run a simple program.
2487 if test "$cross_compiling" != yes; then
2488 if { ac_try
='./$ac_file'
2489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493 (exit $ac_status); }; }; then
2496 if test "$cross_compiling" = maybe
; then
2499 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2500 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2501 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2502 If you meant to cross compile, use \`--host'.
2503 See \`config.log' for more details." >&5
2504 echo "$as_me: error: cannot run C compiled programs.
2505 If you meant to cross compile, use \`--host'.
2506 See \`config.log' for more details." >&2;}
2507 { (exit 1); exit 1; }; }; }
2511 echo "$as_me:$LINENO: result: yes" >&5
2512 echo "${ECHO_T}yes" >&6
2514 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2515 ac_clean_files
=$ac_clean_files_save
2516 # Check the compiler produces executables we can run. If not, either
2517 # the compiler is broken, or we cross compile.
2518 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2519 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2520 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2521 echo "${ECHO_T}$cross_compiling" >&6
2523 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2524 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2526 (eval $ac_link) 2>&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }; then
2530 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2531 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2532 # work properly (i.e., refer to `conftest.exe'), while it won't with
2534 for ac_file
in conftest.exe conftest conftest.
*; do
2535 test -f "$ac_file" ||
continue
2537 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2538 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2545 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2546 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2547 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2548 See \`config.log' for more details." >&5
2549 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2550 See \`config.log' for more details." >&2;}
2551 { (exit 1); exit 1; }; }; }
2554 rm -f conftest
$ac_cv_exeext
2555 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2556 echo "${ECHO_T}$ac_cv_exeext" >&6
2558 rm -f conftest.
$ac_ext
2559 EXEEXT
=$ac_cv_exeext
2561 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2562 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2563 if test "${ac_cv_objext+set}" = set; then
2564 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 cat >conftest.
$ac_ext <<_ACEOF
2569 cat confdefs.h
>>conftest.
$ac_ext
2570 cat >>conftest.
$ac_ext <<_ACEOF
2571 /* end confdefs.h. */
2581 rm -f conftest.o conftest.obj
2582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2583 (eval $ac_compile) 2>&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; then
2587 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2589 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2590 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2595 echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.
$ac_ext >&5
2598 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2599 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2600 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2601 See \`config.log' for more details." >&5
2602 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2603 See \`config.log' for more details." >&2;}
2604 { (exit 1); exit 1; }; }; }
2607 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2609 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2610 echo "${ECHO_T}$ac_cv_objext" >&6
2611 OBJEXT
=$ac_cv_objext
2613 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2614 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2615 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 cat >conftest.
$ac_ext <<_ACEOF
2621 cat confdefs.h
>>conftest.
$ac_ext
2622 cat >>conftest.
$ac_ext <<_ACEOF
2623 /* end confdefs.h. */
2636 rm -f conftest.
$ac_objext
2637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2638 (eval $ac_compile) 2>conftest.er1
2640 grep -v '^ *+' conftest.er1
>conftest.err
2642 cat conftest.err
>&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); } &&
2645 { ac_try
='test -z "$ac_c_werror_flag"
2646 || test ! -s conftest.err'
2647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); }; } &&
2652 { ac_try
='test -s conftest.$ac_objext'
2653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); }; }; then
2660 echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.
$ac_ext >&5
2665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2666 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2669 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2670 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2671 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2672 ac_test_CFLAGS
=${CFLAGS+set}
2673 ac_save_CFLAGS
=$CFLAGS
2675 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2676 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2677 if test "${ac_cv_prog_cc_g+set}" = set; then
2678 echo $ECHO_N "(cached) $ECHO_C" >&6
2680 cat >conftest.
$ac_ext <<_ACEOF
2683 cat confdefs.h
>>conftest.
$ac_ext
2684 cat >>conftest.
$ac_ext <<_ACEOF
2685 /* end confdefs.h. */
2695 rm -f conftest.
$ac_objext
2696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2697 (eval $ac_compile) 2>conftest.er1
2699 grep -v '^ *+' conftest.er1
>conftest.err
2701 cat conftest.err
>&5
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); } &&
2704 { ac_try
='test -z "$ac_c_werror_flag"
2705 || test ! -s conftest.err'
2706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2710 (exit $ac_status); }; } &&
2711 { ac_try
='test -s conftest.$ac_objext'
2712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716 (exit $ac_status); }; }; then
2719 echo "$as_me: failed program was:" >&5
2720 sed 's/^/| /' conftest.
$ac_ext >&5
2724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2726 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2727 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2728 if test "$ac_test_CFLAGS" = set; then
2729 CFLAGS
=$ac_save_CFLAGS
2730 elif test $ac_cv_prog_cc_g = yes; then
2731 if test "$GCC" = yes; then
2737 if test "$GCC" = yes; then
2743 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2744 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2745 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2746 echo $ECHO_N "(cached) $ECHO_C" >&6
2748 ac_cv_prog_cc_stdc
=no
2750 cat >conftest.
$ac_ext <<_ACEOF
2753 cat confdefs.h
>>conftest.
$ac_ext
2754 cat >>conftest.
$ac_ext <<_ACEOF
2755 /* end confdefs.h. */
2758 #include <sys/types.h>
2759 #include <sys/stat.h>
2760 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2761 struct buf { int x; };
2762 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2763 static char *e (p, i)
2769 static char *f (char * (*g) (char **, int), char **p, ...)
2774 s = g (p, va_arg (v,int));
2779 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2780 function prototypes and stuff, but not '\xHH' hex character constants.
2781 These don't provoke an error unfortunately, instead are silently treated
2782 as 'x'. The following induces an error, until -std1 is added to get
2783 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2784 array size at least. It's necessary to write '\x00'==0 to get something
2785 that's true only with -std1. */
2786 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2788 int test (int i, double x);
2789 struct s1 {int (*f) (int a);};
2790 struct s2 {int (*f) (double a);};
2791 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2797 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2802 # Don't try gcc -ansi; that turns off useful extensions and
2803 # breaks some systems' header files.
2804 # AIX -qlanglvl=ansi
2805 # Ultrix and OSF/1 -std1
2806 # HP-UX 10.20 and later -Ae
2807 # HP-UX older versions -Aa -D_HPUX_SOURCE
2808 # SVR4 -Xc -D__EXTENSIONS__
2809 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2811 CC
="$ac_save_CC $ac_arg"
2812 rm -f conftest.
$ac_objext
2813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2814 (eval $ac_compile) 2>conftest.er1
2816 grep -v '^ *+' conftest.er1
>conftest.err
2818 cat conftest.err
>&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); } &&
2821 { ac_try
='test -z "$ac_c_werror_flag"
2822 || test ! -s conftest.err'
2823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827 (exit $ac_status); }; } &&
2828 { ac_try
='test -s conftest.$ac_objext'
2829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }; }; then
2834 ac_cv_prog_cc_stdc
=$ac_arg
2837 echo "$as_me: failed program was:" >&5
2838 sed 's/^/| /' conftest.
$ac_ext >&5
2841 rm -f conftest.err conftest.
$ac_objext
2843 rm -f conftest.
$ac_ext conftest.
$ac_objext
2848 case "x$ac_cv_prog_cc_stdc" in
2850 echo "$as_me:$LINENO: result: none needed" >&5
2851 echo "${ECHO_T}none needed" >&6 ;;
2853 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2854 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2855 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2858 # Some people use a C++ compiler to compile C. Since we use `exit',
2859 # in C++ we need to declare it. In case someone uses the same compiler
2860 # for both compiling C and C++ we need to have the C++ compiler decide
2861 # the declaration of exit, since it's the most demanding environment.
2862 cat >conftest.
$ac_ext <<_ACEOF
2867 rm -f conftest.
$ac_objext
2868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2869 (eval $ac_compile) 2>conftest.er1
2871 grep -v '^ *+' conftest.er1
>conftest.err
2873 cat conftest.err
>&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); } &&
2876 { ac_try
='test -z "$ac_c_werror_flag"
2877 || test ! -s conftest.err'
2878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; } &&
2883 { ac_try
='test -s conftest.$ac_objext'
2884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }; }; then
2889 for ac_declaration
in \
2891 'extern "C" void std::exit (int) throw (); using std::exit;' \
2892 'extern "C" void std::exit (int); using std::exit;' \
2893 'extern "C" void exit (int) throw ();' \
2894 'extern "C" void exit (int);' \
2897 cat >conftest.
$ac_ext <<_ACEOF
2900 cat confdefs.h
>>conftest.
$ac_ext
2901 cat >>conftest.
$ac_ext <<_ACEOF
2902 /* end confdefs.h. */
2913 rm -f conftest.
$ac_objext
2914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2915 (eval $ac_compile) 2>conftest.er1
2917 grep -v '^ *+' conftest.er1
>conftest.err
2919 cat conftest.err
>&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); } &&
2922 { ac_try
='test -z "$ac_c_werror_flag"
2923 || test ! -s conftest.err'
2924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }; } &&
2929 { ac_try
='test -s conftest.$ac_objext'
2930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); }; }; then
2937 echo "$as_me: failed program was:" >&5
2938 sed 's/^/| /' conftest.
$ac_ext >&5
2942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2943 cat >conftest.
$ac_ext <<_ACEOF
2946 cat confdefs.h
>>conftest.
$ac_ext
2947 cat >>conftest.
$ac_ext <<_ACEOF
2948 /* end confdefs.h. */
2958 rm -f conftest.
$ac_objext
2959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2960 (eval $ac_compile) 2>conftest.er1
2962 grep -v '^ *+' conftest.er1
>conftest.err
2964 cat conftest.err
>&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); } &&
2967 { ac_try
='test -z "$ac_c_werror_flag"
2968 || test ! -s conftest.err'
2969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); }; } &&
2974 { ac_try
='test -s conftest.$ac_objext'
2975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); }; }; then
2982 echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.
$ac_ext >&5
2986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2989 if test -n "$ac_declaration"; then
2990 echo '#ifdef __cplusplus' >>confdefs.h
2991 echo $ac_declaration >>confdefs.h
2992 echo '#endif' >>confdefs.h
2996 echo "$as_me: failed program was:" >&5
2997 sed 's/^/| /' conftest.
$ac_ext >&5
3000 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3002 ac_cpp
='$CPP $CPPFLAGS'
3003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3007 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3008 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3009 if test "${lt_cv_path_SED+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3012 # Loop through the user's path and test for sed and gsed.
3013 # Then use that list of sed's as ones to test for truncation.
3014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3018 test -z "$as_dir" && as_dir
=.
3019 for lt_ac_prog
in sed gsed
; do
3020 for ac_exec_ext
in '' $ac_executable_extensions; do
3021 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3022 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3030 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3031 # along with /bin/sed that truncates output.
3032 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3033 test ! -f $lt_ac_sed && continue
3034 cat /dev
/null
> conftest.
in
3036 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3037 # Check for GNU sed and select it if it is found.
3038 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3039 lt_cv_path_SED
=$lt_ac_sed
3043 cat conftest.
in conftest.
in >conftest.tmp
3044 mv conftest.tmp conftest.
in
3045 cp conftest.
in conftest.
nl
3047 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3048 cmp -s conftest.out conftest.
nl ||
break
3049 # 10000 chars as input seems more than enough
3050 test $lt_ac_count -gt 10 && break
3051 lt_ac_count
=`expr $lt_ac_count + 1`
3052 if test $lt_ac_count -gt $lt_ac_max; then
3053 lt_ac_max
=$lt_ac_count
3054 lt_cv_path_SED
=$lt_ac_sed
3063 echo "$as_me:$LINENO: result: $SED" >&5
3064 echo "${ECHO_T}$SED" >&6
3067 # Figure out what compiler warnings we can enable.
3068 # See config/warnings.m4 for details.
3072 save_CFLAGS
="$CFLAGS"
3073 for option
in -W -Wall -Wwrite-strings -Wstrict-prototypes \
3074 -Wmissing-prototypes -Wold-style-definition \
3075 -Wmissing-format-attribute -Wno-overlength-strings; do
3076 as_acx_Woption
=`echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
3078 echo "$as_me:$LINENO: checking whether $CC supports $option" >&5
3079 echo $ECHO_N "checking whether $CC supports $option... $ECHO_C" >&6
3080 if eval "test \"\${$as_acx_Woption+set}\" = set"; then
3081 echo $ECHO_N "(cached) $ECHO_C" >&6
3084 cat >conftest.
$ac_ext <<_ACEOF
3087 cat confdefs.h
>>conftest.
$ac_ext
3088 cat >>conftest.
$ac_ext <<_ACEOF
3089 /* end confdefs.h. */
3099 rm -f conftest.
$ac_objext
3100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3101 (eval $ac_compile) 2>conftest.er1
3103 grep -v '^ *+' conftest.er1
>conftest.err
3105 cat conftest.err
>&5
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); } &&
3108 { ac_try
='test -z "$ac_c_werror_flag"
3109 || test ! -s conftest.err'
3110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); }; } &&
3115 { ac_try
='test -s conftest.$ac_objext'
3116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3120 (exit $ac_status); }; }; then
3121 eval "$as_acx_Woption=yes"
3123 echo "$as_me: failed program was:" >&5
3124 sed 's/^/| /' conftest.
$ac_ext >&5
3126 eval "$as_acx_Woption=no"
3128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3131 echo "$as_me:$LINENO: result: `eval echo '${'$as_acx_Woption'}'`" >&5
3132 echo "${ECHO_T}`eval echo '${'$as_acx_Woption'}'`" >&6
3133 if test `eval echo '${'$as_acx_Woption'}'` = yes; then
3134 WARN_CFLAGS
="$WARN_CFLAGS${WARN_CFLAGS:+ }$option"
3138 CFLAGS
="$save_CFLAGS"
3141 if test "$GCC" = yes; then
3142 echo "$as_me:$LINENO: checking whether $CC supports -pedantic -Wno-long-long" >&5
3143 echo $ECHO_N "checking whether $CC supports -pedantic -Wno-long-long... $ECHO_C" >&6
3144 if test "${acx_cv_prog_cc_pedantic__Wno_long_long+set}" = set; then
3145 echo $ECHO_N "(cached) $ECHO_C" >&6
3147 save_CFLAGS
="$CFLAGS"
3148 CFLAGS
="-pedantic -Wno-long-long"
3149 cat >conftest.
$ac_ext <<_ACEOF
3152 cat confdefs.h
>>conftest.
$ac_ext
3153 cat >>conftest.
$ac_ext <<_ACEOF
3154 /* end confdefs.h. */
3164 rm -f conftest.
$ac_objext
3165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3166 (eval $ac_compile) 2>conftest.er1
3168 grep -v '^ *+' conftest.er1
>conftest.err
3170 cat conftest.err
>&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); } &&
3173 { ac_try
='test -z "$ac_c_werror_flag"
3174 || test ! -s conftest.err'
3175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3179 (exit $ac_status); }; } &&
3180 { ac_try
='test -s conftest.$ac_objext'
3181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3185 (exit $ac_status); }; }; then
3186 acx_cv_prog_cc_pedantic__Wno_long_long
=yes
3188 echo "$as_me: failed program was:" >&5
3189 sed 's/^/| /' conftest.
$ac_ext >&5
3191 acx_cv_prog_cc_pedantic__Wno_long_long
=no
3193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3194 CFLAGS
="$save_CFLAGS"
3196 echo "$as_me:$LINENO: result: $acx_cv_prog_cc_pedantic__Wno_long_long" >&5
3197 echo "${ECHO_T}$acx_cv_prog_cc_pedantic__Wno_long_long" >&6
3198 if test $acx_cv_prog_cc_pedantic__Wno_long_long = yes; then
3199 WARN_PEDANTIC
="$WARN_PEDANTIC${WARN_PEDANTIC:+ }-pedantic -Wno-long-long"
3207 # Only enable with --enable-werror-always until existing warnings are
3210 # Check whether --enable-werror-always or --disable-werror-always was given.
3211 if test "${enable_werror_always+set}" = set; then
3212 enableval
="$enable_werror_always"
3215 enable_werror_always
=no
3217 if test $enable_werror_always = yes; then
3218 WERROR
="$WERROR${WERROR:+ }-Werror"
3224 # Determine the noncanonical target name, for directory use.
3225 case ${build_alias} in
3226 "") build_noncanonical
=${build} ;;
3227 *) build_noncanonical
=${build_alias} ;;
3230 case ${host_alias} in
3231 "") host_noncanonical
=${build_noncanonical} ;;
3232 *) host_noncanonical
=${host_alias} ;;
3235 case ${target_alias} in
3236 "") target_noncanonical
=${host_noncanonical} ;;
3237 *) target_noncanonical
=${target_alias} ;;
3243 # Specify the local prefix
3246 # Check whether --with-local-prefix or --without-local-prefix was given.
3247 if test "${with_local_prefix+set}" = set; then
3248 withval
="$with_local_prefix"
3249 case "${withval}" in
3250 yes) { { echo "$as_me:$LINENO: error: bad value ${withval} given for local include directory prefix" >&5
3251 echo "$as_me: error: bad value ${withval} given for local include directory prefix" >&2;}
3252 { (exit 1); exit 1; }; } ;;
3254 *) local_prefix
=$with_local_prefix ;;
3258 # Default local prefix if it is empty
3259 if test x
$local_prefix = x
; then
3260 local_prefix
=/usr
/local
3263 # Choose one or two-process fix methodology. Systems that cannot handle
3264 # bi-directional pipes must use the two process method.
3266 # Check whether --enable-twoprocess or --disable-twoprocess was given.
3267 if test "${enable_twoprocess+set}" = set; then
3268 enableval
="$enable_twoprocess"
3269 if test "x$enable_twoprocess" = xyes
; then
3276 i?
86-*-msdosdjgpp* | \
3278 x86_64-
*-mingw32* | \
3290 if test $TARGET = twoprocess
; then
3292 cat >>confdefs.h
<<\_ACEOF
3293 #define SEPARATE_FIX_PROC 1
3301 cat >>confdefs.h
<<\_ACEOF
3306 cat >>confdefs.h
<<\_ACEOF
3307 #define atexit xatexit
3314 cat >>confdefs.h
<<_ACEOF
3315 #define EXE_EXT "$ac_exeext"
3319 # Checks for header files.
3321 ac_cpp
='$CPP $CPPFLAGS'
3322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3325 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3326 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3327 # On Suns, sometimes $CPP names a directory.
3328 if test -n "$CPP" && test -d "$CPP"; then
3331 if test -z "$CPP"; then
3332 if test "${ac_cv_prog_CPP+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 # Double quotes because CPP needs to be expanded
3336 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3339 for ac_c_preproc_warn_flag
in '' yes
3341 # Use a header file that comes with gcc, so configuring glibc
3342 # with a fresh cross-compiler works.
3343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3344 # <limits.h> exists even on freestanding compilers.
3345 # On the NeXT, cc -E runs the code through the compiler's parser,
3346 # not just through cpp. "Syntax error" is here to catch this case.
3347 cat >conftest.
$ac_ext <<_ACEOF
3350 cat confdefs.h
>>conftest.
$ac_ext
3351 cat >>conftest.
$ac_ext <<_ACEOF
3352 /* end confdefs.h. */
3354 # include <limits.h>
3356 # include <assert.h>
3360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3361 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3363 grep -v '^ *+' conftest.er1
>conftest.err
3365 cat conftest.err
>&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); } >/dev
/null
; then
3368 if test -s conftest.err
; then
3369 ac_cpp_err
=$ac_c_preproc_warn_flag
3370 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3377 if test -z "$ac_cpp_err"; then
3380 echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.
$ac_ext >&5
3383 # Broken: fails on valid input.
3386 rm -f conftest.err conftest.
$ac_ext
3388 # OK, works on sane cases. Now check whether non-existent headers
3389 # can be detected and how.
3390 cat >conftest.
$ac_ext <<_ACEOF
3393 cat confdefs.h
>>conftest.
$ac_ext
3394 cat >>conftest.
$ac_ext <<_ACEOF
3395 /* end confdefs.h. */
3396 #include <ac_nonexistent.h>
3398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3399 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3401 grep -v '^ *+' conftest.er1
>conftest.err
3403 cat conftest.err
>&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); } >/dev
/null
; then
3406 if test -s conftest.err
; then
3407 ac_cpp_err
=$ac_c_preproc_warn_flag
3408 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3415 if test -z "$ac_cpp_err"; then
3416 # Broken: success on invalid input.
3419 echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.
$ac_ext >&5
3422 # Passes both tests.
3426 rm -f conftest.err conftest.
$ac_ext
3429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3430 rm -f conftest.err conftest.
$ac_ext
3431 if $ac_preproc_ok; then
3443 echo "$as_me:$LINENO: result: $CPP" >&5
3444 echo "${ECHO_T}$CPP" >&6
3446 for ac_c_preproc_warn_flag
in '' yes
3448 # Use a header file that comes with gcc, so configuring glibc
3449 # with a fresh cross-compiler works.
3450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3451 # <limits.h> exists even on freestanding compilers.
3452 # On the NeXT, cc -E runs the code through the compiler's parser,
3453 # not just through cpp. "Syntax error" is here to catch this case.
3454 cat >conftest.
$ac_ext <<_ACEOF
3457 cat confdefs.h
>>conftest.
$ac_ext
3458 cat >>conftest.
$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3461 # include <limits.h>
3463 # include <assert.h>
3467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3468 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3470 grep -v '^ *+' conftest.er1
>conftest.err
3472 cat conftest.err
>&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); } >/dev
/null
; then
3475 if test -s conftest.err
; then
3476 ac_cpp_err
=$ac_c_preproc_warn_flag
3477 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3484 if test -z "$ac_cpp_err"; then
3487 echo "$as_me: failed program was:" >&5
3488 sed 's/^/| /' conftest.
$ac_ext >&5
3490 # Broken: fails on valid input.
3493 rm -f conftest.err conftest.
$ac_ext
3495 # OK, works on sane cases. Now check whether non-existent headers
3496 # can be detected and how.
3497 cat >conftest.
$ac_ext <<_ACEOF
3500 cat confdefs.h
>>conftest.
$ac_ext
3501 cat >>conftest.
$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3503 #include <ac_nonexistent.h>
3505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3506 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3508 grep -v '^ *+' conftest.er1
>conftest.err
3510 cat conftest.err
>&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); } >/dev
/null
; then
3513 if test -s conftest.err
; then
3514 ac_cpp_err
=$ac_c_preproc_warn_flag
3515 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3522 if test -z "$ac_cpp_err"; then
3523 # Broken: success on invalid input.
3526 echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.
$ac_ext >&5
3529 # Passes both tests.
3533 rm -f conftest.err conftest.
$ac_ext
3536 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3537 rm -f conftest.err conftest.
$ac_ext
3538 if $ac_preproc_ok; then
3541 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3542 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3543 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3544 See \`config.log' for more details." >&5
3545 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3546 See \`config.log' for more details." >&2;}
3547 { (exit 1); exit 1; }; }; }
3551 ac_cpp
='$CPP $CPPFLAGS'
3552 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3553 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3554 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3557 echo "$as_me:$LINENO: checking for egrep" >&5
3558 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3559 if test "${ac_cv_prog_egrep+set}" = set; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3563 then ac_cv_prog_egrep
='grep -E'
3564 else ac_cv_prog_egrep
='egrep'
3567 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3568 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3569 EGREP
=$ac_cv_prog_egrep
3572 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3573 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3574 if test "${ac_cv_header_stdc+set}" = set; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3577 cat >conftest.
$ac_ext <<_ACEOF
3580 cat confdefs.h
>>conftest.
$ac_ext
3581 cat >>conftest.
$ac_ext <<_ACEOF
3582 /* end confdefs.h. */
3596 rm -f conftest.
$ac_objext
3597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3598 (eval $ac_compile) 2>conftest.er1
3600 grep -v '^ *+' conftest.er1
>conftest.err
3602 cat conftest.err
>&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); } &&
3605 { ac_try
='test -z "$ac_c_werror_flag"
3606 || test ! -s conftest.err'
3607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); }; } &&
3612 { ac_try
='test -s conftest.$ac_objext'
3613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617 (exit $ac_status); }; }; then
3618 ac_cv_header_stdc
=yes
3620 echo "$as_me: failed program was:" >&5
3621 sed 's/^/| /' conftest.
$ac_ext >&5
3623 ac_cv_header_stdc
=no
3625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3627 if test $ac_cv_header_stdc = yes; then
3628 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3629 cat >conftest.
$ac_ext <<_ACEOF
3632 cat confdefs.h
>>conftest.
$ac_ext
3633 cat >>conftest.
$ac_ext <<_ACEOF
3634 /* end confdefs.h. */
3638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3639 $EGREP "memchr" >/dev
/null
2>&1; then
3642 ac_cv_header_stdc
=no
3648 if test $ac_cv_header_stdc = yes; then
3649 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3650 cat >conftest.
$ac_ext <<_ACEOF
3653 cat confdefs.h
>>conftest.
$ac_ext
3654 cat >>conftest.
$ac_ext <<_ACEOF
3655 /* end confdefs.h. */
3659 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3660 $EGREP "free" >/dev
/null
2>&1; then
3663 ac_cv_header_stdc
=no
3669 if test $ac_cv_header_stdc = yes; then
3670 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3671 if test "$cross_compiling" = yes; then
3674 cat >conftest.
$ac_ext <<_ACEOF
3677 cat confdefs.h
>>conftest.
$ac_ext
3678 cat >>conftest.
$ac_ext <<_ACEOF
3679 /* end confdefs.h. */
3681 #if ((' ' & 0x0FF) == 0x020)
3682 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3683 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3685 # define ISLOWER(c) \
3686 (('a' <= (c) && (c) <= 'i') \
3687 || ('j' <= (c) && (c) <= 'r') \
3688 || ('s' <= (c) && (c) <= 'z'))
3689 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3692 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3697 for (i = 0; i < 256; i++)
3698 if (XOR (islower (i), ISLOWER (i))
3699 || toupper (i) != TOUPPER (i))
3704 rm -f conftest
$ac_exeext
3705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3706 (eval $ac_link) 2>&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); }; }; then
3717 echo "$as_me: program exited with status $ac_status" >&5
3718 echo "$as_me: failed program was:" >&5
3719 sed 's/^/| /' conftest.
$ac_ext >&5
3722 ac_cv_header_stdc
=no
3724 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3728 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3729 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3730 if test $ac_cv_header_stdc = yes; then
3732 cat >>confdefs.h
<<\_ACEOF
3733 #define STDC_HEADERS 1
3738 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3748 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3749 inttypes.h stdint.h unistd.h
3751 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3752 echo "$as_me:$LINENO: checking for $ac_header" >&5
3753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3755 echo $ECHO_N "(cached) $ECHO_C" >&6
3757 cat >conftest.
$ac_ext <<_ACEOF
3760 cat confdefs.h
>>conftest.
$ac_ext
3761 cat >>conftest.
$ac_ext <<_ACEOF
3762 /* end confdefs.h. */
3763 $ac_includes_default
3765 #include <$ac_header>
3767 rm -f conftest.
$ac_objext
3768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3769 (eval $ac_compile) 2>conftest.er1
3771 grep -v '^ *+' conftest.er1
>conftest.err
3773 cat conftest.err
>&5
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); } &&
3776 { ac_try
='test -z "$ac_c_werror_flag"
3777 || test ! -s conftest.err'
3778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); }; } &&
3783 { ac_try
='test -s conftest.$ac_objext'
3784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 (exit $ac_status); }; }; then
3789 eval "$as_ac_Header=yes"
3791 echo "$as_me: failed program was:" >&5
3792 sed 's/^/| /' conftest.
$ac_ext >&5
3794 eval "$as_ac_Header=no"
3796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3801 cat >>confdefs.h
<<_ACEOF
3802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3817 for ac_header
in stddef.h stdlib.h
strings.h unistd.h fcntl.h sys
/file.h \
3820 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3822 echo "$as_me:$LINENO: checking for $ac_header" >&5
3823 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3825 echo $ECHO_N "(cached) $ECHO_C" >&6
3827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3828 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3830 # Is the header compilable?
3831 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3832 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3833 cat >conftest.
$ac_ext <<_ACEOF
3836 cat confdefs.h
>>conftest.
$ac_ext
3837 cat >>conftest.
$ac_ext <<_ACEOF
3838 /* end confdefs.h. */
3839 $ac_includes_default
3840 #include <$ac_header>
3842 rm -f conftest.
$ac_objext
3843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3844 (eval $ac_compile) 2>conftest.er1
3846 grep -v '^ *+' conftest.er1
>conftest.err
3848 cat conftest.err
>&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); } &&
3851 { ac_try
='test -z "$ac_c_werror_flag"
3852 || test ! -s conftest.err'
3853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); }; } &&
3858 { ac_try
='test -s conftest.$ac_objext'
3859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); }; }; then
3864 ac_header_compiler
=yes
3866 echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.
$ac_ext >&5
3869 ac_header_compiler
=no
3871 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3872 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3873 echo "${ECHO_T}$ac_header_compiler" >&6
3875 # Is the header present?
3876 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3877 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3878 cat >conftest.
$ac_ext <<_ACEOF
3881 cat confdefs.h
>>conftest.
$ac_ext
3882 cat >>conftest.
$ac_ext <<_ACEOF
3883 /* end confdefs.h. */
3884 #include <$ac_header>
3886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3887 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3889 grep -v '^ *+' conftest.er1
>conftest.err
3891 cat conftest.err
>&5
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); } >/dev
/null
; then
3894 if test -s conftest.err
; then
3895 ac_cpp_err
=$ac_c_preproc_warn_flag
3896 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3903 if test -z "$ac_cpp_err"; then
3904 ac_header_preproc
=yes
3906 echo "$as_me: failed program was:" >&5
3907 sed 's/^/| /' conftest.
$ac_ext >&5
3909 ac_header_preproc
=no
3911 rm -f conftest.err conftest.
$ac_ext
3912 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3913 echo "${ECHO_T}$ac_header_preproc" >&6
3915 # So? What about this header?
3916 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3918 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3919 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3920 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3921 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3922 ac_header_preproc
=yes
3925 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3926 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3927 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3928 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3929 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3930 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3931 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3932 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3934 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3935 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3936 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3939 ## -------------------------------------- ##
3940 ## Report this to the fixincludes lists. ##
3941 ## -------------------------------------- ##
3944 sed "s/^/$as_me: WARNING: /" >&2
3947 echo "$as_me:$LINENO: checking for $ac_header" >&5
3948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3952 eval "$as_ac_Header=\$ac_header_preproc"
3954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3958 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3959 cat >>confdefs.h
<<_ACEOF
3960 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3984 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
3986 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3987 echo "$as_me:$LINENO: checking for $ac_func" >&5
3988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3989 if eval "test \"\${$as_ac_var+set}\" = set"; then
3990 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 cat >conftest.
$ac_ext <<_ACEOF
3995 cat confdefs.h
>>conftest.
$ac_ext
3996 cat >>conftest.
$ac_ext <<_ACEOF
3997 /* end confdefs.h. */
3998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4000 #define $ac_func innocuous_$ac_func
4002 /* System header to define __stub macros and hopefully few prototypes,
4003 which can conflict with char $ac_func (); below.
4004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4005 <limits.h> exists even on freestanding compilers. */
4008 # include <limits.h>
4010 # include <assert.h>
4015 /* Override any gcc2 internal prototype to avoid an error. */
4020 /* We use char because int might match the return type of a gcc2
4021 builtin and then its argument prototype would still apply. */
4023 /* The GNU C library defines this for functions which it implements
4024 to always fail with ENOSYS. Some functions are actually named
4025 something starting with __ and the normal name is an alias. */
4026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4029 char (*f) () = $ac_func;
4038 return f != $ac_func;
4043 rm -f conftest.
$ac_objext conftest
$ac_exeext
4044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4045 (eval $ac_link) 2>conftest.er1
4047 grep -v '^ *+' conftest.er1
>conftest.err
4049 cat conftest.err
>&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); } &&
4052 { ac_try
='test -z "$ac_c_werror_flag"
4053 || test ! -s conftest.err'
4054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); }; } &&
4059 { ac_try
='test -s conftest$ac_exeext'
4060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); }; }; then
4065 eval "$as_ac_var=yes"
4067 echo "$as_me: failed program was:" >&5
4068 sed 's/^/| /' conftest.
$ac_ext >&5
4070 eval "$as_ac_var=no"
4072 rm -f conftest.err conftest.
$ac_objext \
4073 conftest
$ac_exeext conftest.
$ac_ext
4075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4077 if test `eval echo '${'$as_ac_var'}'` = yes; then
4078 cat >>confdefs.h
<<_ACEOF
4079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4085 echo "$as_me:$LINENO: checking whether abort is declared" >&5
4086 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6
4087 if test "${ac_cv_have_decl_abort+set}" = set; then
4088 echo $ECHO_N "(cached) $ECHO_C" >&6
4090 cat >conftest.
$ac_ext <<_ACEOF
4093 cat confdefs.h
>>conftest.
$ac_ext
4094 cat >>conftest.
$ac_ext <<_ACEOF
4095 /* end confdefs.h. */
4096 $ac_includes_default
4101 char *p = (char *) abort;
4108 rm -f conftest.
$ac_objext
4109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4110 (eval $ac_compile) 2>conftest.er1
4112 grep -v '^ *+' conftest.er1
>conftest.err
4114 cat conftest.err
>&5
4115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4116 (exit $ac_status); } &&
4117 { ac_try
='test -z "$ac_c_werror_flag"
4118 || test ! -s conftest.err'
4119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4123 (exit $ac_status); }; } &&
4124 { ac_try
='test -s conftest.$ac_objext'
4125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4129 (exit $ac_status); }; }; then
4130 ac_cv_have_decl_abort
=yes
4132 echo "$as_me: failed program was:" >&5
4133 sed 's/^/| /' conftest.
$ac_ext >&5
4135 ac_cv_have_decl_abort
=no
4137 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4139 echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
4140 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6
4141 if test $ac_cv_have_decl_abort = yes; then
4143 cat >>confdefs.h
<<_ACEOF
4144 #define HAVE_DECL_ABORT 1
4149 cat >>confdefs.h
<<_ACEOF
4150 #define HAVE_DECL_ABORT 0
4155 echo "$as_me:$LINENO: checking whether asprintf is declared" >&5
4156 echo $ECHO_N "checking whether asprintf is declared... $ECHO_C" >&6
4157 if test "${ac_cv_have_decl_asprintf+set}" = set; then
4158 echo $ECHO_N "(cached) $ECHO_C" >&6
4160 cat >conftest.
$ac_ext <<_ACEOF
4163 cat confdefs.h
>>conftest.
$ac_ext
4164 cat >>conftest.
$ac_ext <<_ACEOF
4165 /* end confdefs.h. */
4166 $ac_includes_default
4171 char *p = (char *) asprintf;
4178 rm -f conftest.
$ac_objext
4179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4180 (eval $ac_compile) 2>conftest.er1
4182 grep -v '^ *+' conftest.er1
>conftest.err
4184 cat conftest.err
>&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); } &&
4187 { ac_try
='test -z "$ac_c_werror_flag"
4188 || test ! -s conftest.err'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; } &&
4194 { ac_try
='test -s conftest.$ac_objext'
4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; }; then
4200 ac_cv_have_decl_asprintf
=yes
4202 echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.
$ac_ext >&5
4205 ac_cv_have_decl_asprintf
=no
4207 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4209 echo "$as_me:$LINENO: result: $ac_cv_have_decl_asprintf" >&5
4210 echo "${ECHO_T}$ac_cv_have_decl_asprintf" >&6
4211 if test $ac_cv_have_decl_asprintf = yes; then
4213 cat >>confdefs.h
<<_ACEOF
4214 #define HAVE_DECL_ASPRINTF 1
4219 cat >>confdefs.h
<<_ACEOF
4220 #define HAVE_DECL_ASPRINTF 0
4225 echo "$as_me:$LINENO: checking whether basename is declared" >&5
4226 echo $ECHO_N "checking whether basename is declared... $ECHO_C" >&6
4227 if test "${ac_cv_have_decl_basename+set}" = set; then
4228 echo $ECHO_N "(cached) $ECHO_C" >&6
4230 cat >conftest.
$ac_ext <<_ACEOF
4233 cat confdefs.h
>>conftest.
$ac_ext
4234 cat >>conftest.
$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4236 $ac_includes_default
4241 char *p = (char *) basename;
4248 rm -f conftest.
$ac_objext
4249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4250 (eval $ac_compile) 2>conftest.er1
4252 grep -v '^ *+' conftest.er1
>conftest.err
4254 cat conftest.err
>&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); } &&
4257 { ac_try
='test -z "$ac_c_werror_flag"
4258 || test ! -s conftest.err'
4259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); }; } &&
4264 { ac_try
='test -s conftest.$ac_objext'
4265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269 (exit $ac_status); }; }; then
4270 ac_cv_have_decl_basename
=yes
4272 echo "$as_me: failed program was:" >&5
4273 sed 's/^/| /' conftest.
$ac_ext >&5
4275 ac_cv_have_decl_basename
=no
4277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4279 echo "$as_me:$LINENO: result: $ac_cv_have_decl_basename" >&5
4280 echo "${ECHO_T}$ac_cv_have_decl_basename" >&6
4281 if test $ac_cv_have_decl_basename = yes; then
4283 cat >>confdefs.h
<<_ACEOF
4284 #define HAVE_DECL_BASENAME 1
4289 cat >>confdefs.h
<<_ACEOF
4290 #define HAVE_DECL_BASENAME 0
4295 echo "$as_me:$LINENO: checking whether errno is declared" >&5
4296 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6
4297 if test "${ac_cv_have_decl_errno+set}" = set; then
4298 echo $ECHO_N "(cached) $ECHO_C" >&6
4300 cat >conftest.
$ac_ext <<_ACEOF
4303 cat confdefs.h
>>conftest.
$ac_ext
4304 cat >>conftest.
$ac_ext <<_ACEOF
4305 /* end confdefs.h. */
4306 $ac_includes_default
4311 char *p = (char *) errno;
4318 rm -f conftest.
$ac_objext
4319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4320 (eval $ac_compile) 2>conftest.er1
4322 grep -v '^ *+' conftest.er1
>conftest.err
4324 cat conftest.err
>&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); } &&
4327 { ac_try
='test -z "$ac_c_werror_flag"
4328 || test ! -s conftest.err'
4329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4333 (exit $ac_status); }; } &&
4334 { ac_try
='test -s conftest.$ac_objext'
4335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4339 (exit $ac_status); }; }; then
4340 ac_cv_have_decl_errno
=yes
4342 echo "$as_me: failed program was:" >&5
4343 sed 's/^/| /' conftest.
$ac_ext >&5
4345 ac_cv_have_decl_errno
=no
4347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4349 echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
4350 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6
4351 if test $ac_cv_have_decl_errno = yes; then
4353 cat >>confdefs.h
<<_ACEOF
4354 #define HAVE_DECL_ERRNO 1
4359 cat >>confdefs.h
<<_ACEOF
4360 #define HAVE_DECL_ERRNO 0
4365 echo "$as_me:$LINENO: checking whether vasprintf is declared" >&5
4366 echo $ECHO_N "checking whether vasprintf is declared... $ECHO_C" >&6
4367 if test "${ac_cv_have_decl_vasprintf+set}" = set; then
4368 echo $ECHO_N "(cached) $ECHO_C" >&6
4370 cat >conftest.
$ac_ext <<_ACEOF
4373 cat confdefs.h
>>conftest.
$ac_ext
4374 cat >>conftest.
$ac_ext <<_ACEOF
4375 /* end confdefs.h. */
4376 $ac_includes_default
4381 char *p = (char *) vasprintf;
4388 rm -f conftest.
$ac_objext
4389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4390 (eval $ac_compile) 2>conftest.er1
4392 grep -v '^ *+' conftest.er1
>conftest.err
4394 cat conftest.err
>&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); } &&
4397 { ac_try
='test -z "$ac_c_werror_flag"
4398 || test ! -s conftest.err'
4399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); }; } &&
4404 { ac_try
='test -s conftest.$ac_objext'
4405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4409 (exit $ac_status); }; }; then
4410 ac_cv_have_decl_vasprintf
=yes
4412 echo "$as_me: failed program was:" >&5
4413 sed 's/^/| /' conftest.
$ac_ext >&5
4415 ac_cv_have_decl_vasprintf
=no
4417 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4419 echo "$as_me:$LINENO: result: $ac_cv_have_decl_vasprintf" >&5
4420 echo "${ECHO_T}$ac_cv_have_decl_vasprintf" >&6
4421 if test $ac_cv_have_decl_vasprintf = yes; then
4423 cat >>confdefs.h
<<_ACEOF
4424 #define HAVE_DECL_VASPRINTF 1
4429 cat >>confdefs.h
<<_ACEOF
4430 #define HAVE_DECL_VASPRINTF 0
4435 echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5
4436 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6
4437 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
4438 echo $ECHO_N "(cached) $ECHO_C" >&6
4440 cat >conftest.
$ac_ext <<_ACEOF
4443 cat confdefs.h
>>conftest.
$ac_ext
4444 cat >>conftest.
$ac_ext <<_ACEOF
4445 /* end confdefs.h. */
4446 $ac_includes_default
4450 #ifndef clearerr_unlocked
4451 char *p = (char *) clearerr_unlocked;
4458 rm -f conftest.
$ac_objext
4459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4460 (eval $ac_compile) 2>conftest.er1
4462 grep -v '^ *+' conftest.er1
>conftest.err
4464 cat conftest.err
>&5
4465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4466 (exit $ac_status); } &&
4467 { ac_try
='test -z "$ac_c_werror_flag"
4468 || test ! -s conftest.err'
4469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }; } &&
4474 { ac_try
='test -s conftest.$ac_objext'
4475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); }; }; then
4480 ac_cv_have_decl_clearerr_unlocked
=yes
4482 echo "$as_me: failed program was:" >&5
4483 sed 's/^/| /' conftest.
$ac_ext >&5
4485 ac_cv_have_decl_clearerr_unlocked
=no
4487 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4489 echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5
4490 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6
4491 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
4493 cat >>confdefs.h
<<_ACEOF
4494 #define HAVE_DECL_CLEARERR_UNLOCKED 1
4499 cat >>confdefs.h
<<_ACEOF
4500 #define HAVE_DECL_CLEARERR_UNLOCKED 0
4505 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
4506 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
4507 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
4508 echo $ECHO_N "(cached) $ECHO_C" >&6
4510 cat >conftest.
$ac_ext <<_ACEOF
4513 cat confdefs.h
>>conftest.
$ac_ext
4514 cat >>conftest.
$ac_ext <<_ACEOF
4515 /* end confdefs.h. */
4516 $ac_includes_default
4520 #ifndef feof_unlocked
4521 char *p = (char *) feof_unlocked;
4528 rm -f conftest.
$ac_objext
4529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4530 (eval $ac_compile) 2>conftest.er1
4532 grep -v '^ *+' conftest.er1
>conftest.err
4534 cat conftest.err
>&5
4535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4536 (exit $ac_status); } &&
4537 { ac_try
='test -z "$ac_c_werror_flag"
4538 || test ! -s conftest.err'
4539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4543 (exit $ac_status); }; } &&
4544 { ac_try
='test -s conftest.$ac_objext'
4545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }; }; then
4550 ac_cv_have_decl_feof_unlocked
=yes
4552 echo "$as_me: failed program was:" >&5
4553 sed 's/^/| /' conftest.
$ac_ext >&5
4555 ac_cv_have_decl_feof_unlocked
=no
4557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4559 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
4560 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
4561 if test $ac_cv_have_decl_feof_unlocked = yes; then
4563 cat >>confdefs.h
<<_ACEOF
4564 #define HAVE_DECL_FEOF_UNLOCKED 1
4569 cat >>confdefs.h
<<_ACEOF
4570 #define HAVE_DECL_FEOF_UNLOCKED 0
4575 echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5
4576 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6
4577 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
4578 echo $ECHO_N "(cached) $ECHO_C" >&6
4580 cat >conftest.
$ac_ext <<_ACEOF
4583 cat confdefs.h
>>conftest.
$ac_ext
4584 cat >>conftest.
$ac_ext <<_ACEOF
4585 /* end confdefs.h. */
4586 $ac_includes_default
4590 #ifndef ferror_unlocked
4591 char *p = (char *) ferror_unlocked;
4598 rm -f conftest.
$ac_objext
4599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4600 (eval $ac_compile) 2>conftest.er1
4602 grep -v '^ *+' conftest.er1
>conftest.err
4604 cat conftest.err
>&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); } &&
4607 { ac_try
='test -z "$ac_c_werror_flag"
4608 || test ! -s conftest.err'
4609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); }; } &&
4614 { ac_try
='test -s conftest.$ac_objext'
4615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 (exit $ac_status); }; }; then
4620 ac_cv_have_decl_ferror_unlocked
=yes
4622 echo "$as_me: failed program was:" >&5
4623 sed 's/^/| /' conftest.
$ac_ext >&5
4625 ac_cv_have_decl_ferror_unlocked
=no
4627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4629 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5
4630 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6
4631 if test $ac_cv_have_decl_ferror_unlocked = yes; then
4633 cat >>confdefs.h
<<_ACEOF
4634 #define HAVE_DECL_FERROR_UNLOCKED 1
4639 cat >>confdefs.h
<<_ACEOF
4640 #define HAVE_DECL_FERROR_UNLOCKED 0
4645 echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5
4646 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6
4647 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
4648 echo $ECHO_N "(cached) $ECHO_C" >&6
4650 cat >conftest.
$ac_ext <<_ACEOF
4653 cat confdefs.h
>>conftest.
$ac_ext
4654 cat >>conftest.
$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4656 $ac_includes_default
4660 #ifndef fflush_unlocked
4661 char *p = (char *) fflush_unlocked;
4668 rm -f conftest.
$ac_objext
4669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4670 (eval $ac_compile) 2>conftest.er1
4672 grep -v '^ *+' conftest.er1
>conftest.err
4674 cat conftest.err
>&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } &&
4677 { ac_try
='test -z "$ac_c_werror_flag"
4678 || test ! -s conftest.err'
4679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); }; } &&
4684 { ac_try
='test -s conftest.$ac_objext'
4685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4689 (exit $ac_status); }; }; then
4690 ac_cv_have_decl_fflush_unlocked
=yes
4692 echo "$as_me: failed program was:" >&5
4693 sed 's/^/| /' conftest.
$ac_ext >&5
4695 ac_cv_have_decl_fflush_unlocked
=no
4697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4699 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5
4700 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6
4701 if test $ac_cv_have_decl_fflush_unlocked = yes; then
4703 cat >>confdefs.h
<<_ACEOF
4704 #define HAVE_DECL_FFLUSH_UNLOCKED 1
4709 cat >>confdefs.h
<<_ACEOF
4710 #define HAVE_DECL_FFLUSH_UNLOCKED 0
4715 echo "$as_me:$LINENO: checking whether fgetc_unlocked is declared" >&5
4716 echo $ECHO_N "checking whether fgetc_unlocked is declared... $ECHO_C" >&6
4717 if test "${ac_cv_have_decl_fgetc_unlocked+set}" = set; then
4718 echo $ECHO_N "(cached) $ECHO_C" >&6
4720 cat >conftest.
$ac_ext <<_ACEOF
4723 cat confdefs.h
>>conftest.
$ac_ext
4724 cat >>conftest.
$ac_ext <<_ACEOF
4725 /* end confdefs.h. */
4726 $ac_includes_default
4730 #ifndef fgetc_unlocked
4731 char *p = (char *) fgetc_unlocked;
4738 rm -f conftest.
$ac_objext
4739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4740 (eval $ac_compile) 2>conftest.er1
4742 grep -v '^ *+' conftest.er1
>conftest.err
4744 cat conftest.err
>&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); } &&
4747 { ac_try
='test -z "$ac_c_werror_flag"
4748 || test ! -s conftest.err'
4749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); }; } &&
4754 { ac_try
='test -s conftest.$ac_objext'
4755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); }; }; then
4760 ac_cv_have_decl_fgetc_unlocked
=yes
4762 echo "$as_me: failed program was:" >&5
4763 sed 's/^/| /' conftest.
$ac_ext >&5
4765 ac_cv_have_decl_fgetc_unlocked
=no
4767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4769 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgetc_unlocked" >&5
4770 echo "${ECHO_T}$ac_cv_have_decl_fgetc_unlocked" >&6
4771 if test $ac_cv_have_decl_fgetc_unlocked = yes; then
4773 cat >>confdefs.h
<<_ACEOF
4774 #define HAVE_DECL_FGETC_UNLOCKED 1
4779 cat >>confdefs.h
<<_ACEOF
4780 #define HAVE_DECL_FGETC_UNLOCKED 0
4785 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
4786 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
4787 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
4788 echo $ECHO_N "(cached) $ECHO_C" >&6
4790 cat >conftest.
$ac_ext <<_ACEOF
4793 cat confdefs.h
>>conftest.
$ac_ext
4794 cat >>conftest.
$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4796 $ac_includes_default
4800 #ifndef fgets_unlocked
4801 char *p = (char *) fgets_unlocked;
4808 rm -f conftest.
$ac_objext
4809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4810 (eval $ac_compile) 2>conftest.er1
4812 grep -v '^ *+' conftest.er1
>conftest.err
4814 cat conftest.err
>&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); } &&
4817 { ac_try
='test -z "$ac_c_werror_flag"
4818 || test ! -s conftest.err'
4819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }; } &&
4824 { ac_try
='test -s conftest.$ac_objext'
4825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); }; }; then
4830 ac_cv_have_decl_fgets_unlocked
=yes
4832 echo "$as_me: failed program was:" >&5
4833 sed 's/^/| /' conftest.
$ac_ext >&5
4835 ac_cv_have_decl_fgets_unlocked
=no
4837 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4839 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
4840 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
4841 if test $ac_cv_have_decl_fgets_unlocked = yes; then
4843 cat >>confdefs.h
<<_ACEOF
4844 #define HAVE_DECL_FGETS_UNLOCKED 1
4849 cat >>confdefs.h
<<_ACEOF
4850 #define HAVE_DECL_FGETS_UNLOCKED 0
4855 echo "$as_me:$LINENO: checking whether fileno_unlocked is declared" >&5
4856 echo $ECHO_N "checking whether fileno_unlocked is declared... $ECHO_C" >&6
4857 if test "${ac_cv_have_decl_fileno_unlocked+set}" = set; then
4858 echo $ECHO_N "(cached) $ECHO_C" >&6
4860 cat >conftest.
$ac_ext <<_ACEOF
4863 cat confdefs.h
>>conftest.
$ac_ext
4864 cat >>conftest.
$ac_ext <<_ACEOF
4865 /* end confdefs.h. */
4866 $ac_includes_default
4870 #ifndef fileno_unlocked
4871 char *p = (char *) fileno_unlocked;
4878 rm -f conftest.
$ac_objext
4879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4880 (eval $ac_compile) 2>conftest.er1
4882 grep -v '^ *+' conftest.er1
>conftest.err
4884 cat conftest.err
>&5
4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); } &&
4887 { ac_try
='test -z "$ac_c_werror_flag"
4888 || test ! -s conftest.err'
4889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); }; } &&
4894 { ac_try
='test -s conftest.$ac_objext'
4895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899 (exit $ac_status); }; }; then
4900 ac_cv_have_decl_fileno_unlocked
=yes
4902 echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.
$ac_ext >&5
4905 ac_cv_have_decl_fileno_unlocked
=no
4907 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4909 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fileno_unlocked" >&5
4910 echo "${ECHO_T}$ac_cv_have_decl_fileno_unlocked" >&6
4911 if test $ac_cv_have_decl_fileno_unlocked = yes; then
4913 cat >>confdefs.h
<<_ACEOF
4914 #define HAVE_DECL_FILENO_UNLOCKED 1
4919 cat >>confdefs.h
<<_ACEOF
4920 #define HAVE_DECL_FILENO_UNLOCKED 0
4925 echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
4926 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6
4927 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 cat >conftest.
$ac_ext <<_ACEOF
4933 cat confdefs.h
>>conftest.
$ac_ext
4934 cat >>conftest.
$ac_ext <<_ACEOF
4935 /* end confdefs.h. */
4936 $ac_includes_default
4940 #ifndef fprintf_unlocked
4941 char *p = (char *) fprintf_unlocked;
4948 rm -f conftest.
$ac_objext
4949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4950 (eval $ac_compile) 2>conftest.er1
4952 grep -v '^ *+' conftest.er1
>conftest.err
4954 cat conftest.err
>&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); } &&
4957 { ac_try
='test -z "$ac_c_werror_flag"
4958 || test ! -s conftest.err'
4959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); }; } &&
4964 { ac_try
='test -s conftest.$ac_objext'
4965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); }; }; then
4970 ac_cv_have_decl_fprintf_unlocked
=yes
4972 echo "$as_me: failed program was:" >&5
4973 sed 's/^/| /' conftest.
$ac_ext >&5
4975 ac_cv_have_decl_fprintf_unlocked
=no
4977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4979 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
4980 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6
4981 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
4983 cat >>confdefs.h
<<_ACEOF
4984 #define HAVE_DECL_FPRINTF_UNLOCKED 1
4989 cat >>confdefs.h
<<_ACEOF
4990 #define HAVE_DECL_FPRINTF_UNLOCKED 0
4995 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
4996 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
4997 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
4998 echo $ECHO_N "(cached) $ECHO_C" >&6
5000 cat >conftest.
$ac_ext <<_ACEOF
5003 cat confdefs.h
>>conftest.
$ac_ext
5004 cat >>conftest.
$ac_ext <<_ACEOF
5005 /* end confdefs.h. */
5006 $ac_includes_default
5010 #ifndef fputc_unlocked
5011 char *p = (char *) fputc_unlocked;
5018 rm -f conftest.
$ac_objext
5019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5020 (eval $ac_compile) 2>conftest.er1
5022 grep -v '^ *+' conftest.er1
>conftest.err
5024 cat conftest.err
>&5
5025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5026 (exit $ac_status); } &&
5027 { ac_try
='test -z "$ac_c_werror_flag"
5028 || test ! -s conftest.err'
5029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5033 (exit $ac_status); }; } &&
5034 { ac_try
='test -s conftest.$ac_objext'
5035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039 (exit $ac_status); }; }; then
5040 ac_cv_have_decl_fputc_unlocked
=yes
5042 echo "$as_me: failed program was:" >&5
5043 sed 's/^/| /' conftest.
$ac_ext >&5
5045 ac_cv_have_decl_fputc_unlocked
=no
5047 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5049 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
5050 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
5051 if test $ac_cv_have_decl_fputc_unlocked = yes; then
5053 cat >>confdefs.h
<<_ACEOF
5054 #define HAVE_DECL_FPUTC_UNLOCKED 1
5059 cat >>confdefs.h
<<_ACEOF
5060 #define HAVE_DECL_FPUTC_UNLOCKED 0
5065 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
5066 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
5067 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
5068 echo $ECHO_N "(cached) $ECHO_C" >&6
5070 cat >conftest.
$ac_ext <<_ACEOF
5073 cat confdefs.h
>>conftest.
$ac_ext
5074 cat >>conftest.
$ac_ext <<_ACEOF
5075 /* end confdefs.h. */
5076 $ac_includes_default
5080 #ifndef fputs_unlocked
5081 char *p = (char *) fputs_unlocked;
5088 rm -f conftest.
$ac_objext
5089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5090 (eval $ac_compile) 2>conftest.er1
5092 grep -v '^ *+' conftest.er1
>conftest.err
5094 cat conftest.err
>&5
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); } &&
5097 { ac_try
='test -z "$ac_c_werror_flag"
5098 || test ! -s conftest.err'
5099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); }; } &&
5104 { ac_try
='test -s conftest.$ac_objext'
5105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; }; then
5110 ac_cv_have_decl_fputs_unlocked
=yes
5112 echo "$as_me: failed program was:" >&5
5113 sed 's/^/| /' conftest.
$ac_ext >&5
5115 ac_cv_have_decl_fputs_unlocked
=no
5117 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5119 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
5120 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
5121 if test $ac_cv_have_decl_fputs_unlocked = yes; then
5123 cat >>confdefs.h
<<_ACEOF
5124 #define HAVE_DECL_FPUTS_UNLOCKED 1
5129 cat >>confdefs.h
<<_ACEOF
5130 #define HAVE_DECL_FPUTS_UNLOCKED 0
5135 echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5
5136 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6
5137 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
5138 echo $ECHO_N "(cached) $ECHO_C" >&6
5140 cat >conftest.
$ac_ext <<_ACEOF
5143 cat confdefs.h
>>conftest.
$ac_ext
5144 cat >>conftest.
$ac_ext <<_ACEOF
5145 /* end confdefs.h. */
5146 $ac_includes_default
5150 #ifndef fread_unlocked
5151 char *p = (char *) fread_unlocked;
5158 rm -f conftest.
$ac_objext
5159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5160 (eval $ac_compile) 2>conftest.er1
5162 grep -v '^ *+' conftest.er1
>conftest.err
5164 cat conftest.err
>&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); } &&
5167 { ac_try
='test -z "$ac_c_werror_flag"
5168 || test ! -s conftest.err'
5169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173 (exit $ac_status); }; } &&
5174 { ac_try
='test -s conftest.$ac_objext'
5175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5179 (exit $ac_status); }; }; then
5180 ac_cv_have_decl_fread_unlocked
=yes
5182 echo "$as_me: failed program was:" >&5
5183 sed 's/^/| /' conftest.
$ac_ext >&5
5185 ac_cv_have_decl_fread_unlocked
=no
5187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5189 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5
5190 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6
5191 if test $ac_cv_have_decl_fread_unlocked = yes; then
5193 cat >>confdefs.h
<<_ACEOF
5194 #define HAVE_DECL_FREAD_UNLOCKED 1
5199 cat >>confdefs.h
<<_ACEOF
5200 #define HAVE_DECL_FREAD_UNLOCKED 0
5205 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
5206 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
5207 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
5208 echo $ECHO_N "(cached) $ECHO_C" >&6
5210 cat >conftest.
$ac_ext <<_ACEOF
5213 cat confdefs.h
>>conftest.
$ac_ext
5214 cat >>conftest.
$ac_ext <<_ACEOF
5215 /* end confdefs.h. */
5216 $ac_includes_default
5220 #ifndef fwrite_unlocked
5221 char *p = (char *) fwrite_unlocked;
5228 rm -f conftest.
$ac_objext
5229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5230 (eval $ac_compile) 2>conftest.er1
5232 grep -v '^ *+' conftest.er1
>conftest.err
5234 cat conftest.err
>&5
5235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236 (exit $ac_status); } &&
5237 { ac_try
='test -z "$ac_c_werror_flag"
5238 || test ! -s conftest.err'
5239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243 (exit $ac_status); }; } &&
5244 { ac_try
='test -s conftest.$ac_objext'
5245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 (exit $ac_status); }; }; then
5250 ac_cv_have_decl_fwrite_unlocked
=yes
5252 echo "$as_me: failed program was:" >&5
5253 sed 's/^/| /' conftest.
$ac_ext >&5
5255 ac_cv_have_decl_fwrite_unlocked
=no
5257 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5259 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
5260 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
5261 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
5263 cat >>confdefs.h
<<_ACEOF
5264 #define HAVE_DECL_FWRITE_UNLOCKED 1
5269 cat >>confdefs.h
<<_ACEOF
5270 #define HAVE_DECL_FWRITE_UNLOCKED 0
5275 echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5
5276 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6
5277 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
5278 echo $ECHO_N "(cached) $ECHO_C" >&6
5280 cat >conftest.
$ac_ext <<_ACEOF
5283 cat confdefs.h
>>conftest.
$ac_ext
5284 cat >>conftest.
$ac_ext <<_ACEOF
5285 /* end confdefs.h. */
5286 $ac_includes_default
5290 #ifndef getchar_unlocked
5291 char *p = (char *) getchar_unlocked;
5298 rm -f conftest.
$ac_objext
5299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5300 (eval $ac_compile) 2>conftest.er1
5302 grep -v '^ *+' conftest.er1
>conftest.err
5304 cat conftest.err
>&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); } &&
5307 { ac_try
='test -z "$ac_c_werror_flag"
5308 || test ! -s conftest.err'
5309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5313 (exit $ac_status); }; } &&
5314 { ac_try
='test -s conftest.$ac_objext'
5315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5319 (exit $ac_status); }; }; then
5320 ac_cv_have_decl_getchar_unlocked
=yes
5322 echo "$as_me: failed program was:" >&5
5323 sed 's/^/| /' conftest.
$ac_ext >&5
5325 ac_cv_have_decl_getchar_unlocked
=no
5327 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5329 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5
5330 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6
5331 if test $ac_cv_have_decl_getchar_unlocked = yes; then
5333 cat >>confdefs.h
<<_ACEOF
5334 #define HAVE_DECL_GETCHAR_UNLOCKED 1
5339 cat >>confdefs.h
<<_ACEOF
5340 #define HAVE_DECL_GETCHAR_UNLOCKED 0
5345 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
5346 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
5347 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5350 cat >conftest.
$ac_ext <<_ACEOF
5353 cat confdefs.h
>>conftest.
$ac_ext
5354 cat >>conftest.
$ac_ext <<_ACEOF
5355 /* end confdefs.h. */
5356 $ac_includes_default
5360 #ifndef getc_unlocked
5361 char *p = (char *) getc_unlocked;
5368 rm -f conftest.
$ac_objext
5369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5370 (eval $ac_compile) 2>conftest.er1
5372 grep -v '^ *+' conftest.er1
>conftest.err
5374 cat conftest.err
>&5
5375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376 (exit $ac_status); } &&
5377 { ac_try
='test -z "$ac_c_werror_flag"
5378 || test ! -s conftest.err'
5379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); }; } &&
5384 { ac_try
='test -s conftest.$ac_objext'
5385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); }; }; then
5390 ac_cv_have_decl_getc_unlocked
=yes
5392 echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.
$ac_ext >&5
5395 ac_cv_have_decl_getc_unlocked
=no
5397 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5399 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
5400 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
5401 if test $ac_cv_have_decl_getc_unlocked = yes; then
5403 cat >>confdefs.h
<<_ACEOF
5404 #define HAVE_DECL_GETC_UNLOCKED 1
5409 cat >>confdefs.h
<<_ACEOF
5410 #define HAVE_DECL_GETC_UNLOCKED 0
5415 echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5
5416 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6
5417 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5420 cat >conftest.
$ac_ext <<_ACEOF
5423 cat confdefs.h
>>conftest.
$ac_ext
5424 cat >>conftest.
$ac_ext <<_ACEOF
5425 /* end confdefs.h. */
5426 $ac_includes_default
5430 #ifndef putchar_unlocked
5431 char *p = (char *) putchar_unlocked;
5438 rm -f conftest.
$ac_objext
5439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5440 (eval $ac_compile) 2>conftest.er1
5442 grep -v '^ *+' conftest.er1
>conftest.err
5444 cat conftest.err
>&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); } &&
5447 { ac_try
='test -z "$ac_c_werror_flag"
5448 || test ! -s conftest.err'
5449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453 (exit $ac_status); }; } &&
5454 { ac_try
='test -s conftest.$ac_objext'
5455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); }; }; then
5460 ac_cv_have_decl_putchar_unlocked
=yes
5462 echo "$as_me: failed program was:" >&5
5463 sed 's/^/| /' conftest.
$ac_ext >&5
5465 ac_cv_have_decl_putchar_unlocked
=no
5467 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5469 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5
5470 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6
5471 if test $ac_cv_have_decl_putchar_unlocked = yes; then
5473 cat >>confdefs.h
<<_ACEOF
5474 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
5479 cat >>confdefs.h
<<_ACEOF
5480 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
5485 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
5486 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
5487 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5490 cat >conftest.
$ac_ext <<_ACEOF
5493 cat confdefs.h
>>conftest.
$ac_ext
5494 cat >>conftest.
$ac_ext <<_ACEOF
5495 /* end confdefs.h. */
5496 $ac_includes_default
5500 #ifndef putc_unlocked
5501 char *p = (char *) putc_unlocked;
5508 rm -f conftest.
$ac_objext
5509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5510 (eval $ac_compile) 2>conftest.er1
5512 grep -v '^ *+' conftest.er1
>conftest.err
5514 cat conftest.err
>&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); } &&
5517 { ac_try
='test -z "$ac_c_werror_flag"
5518 || test ! -s conftest.err'
5519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523 (exit $ac_status); }; } &&
5524 { ac_try
='test -s conftest.$ac_objext'
5525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); }; }; then
5530 ac_cv_have_decl_putc_unlocked
=yes
5532 echo "$as_me: failed program was:" >&5
5533 sed 's/^/| /' conftest.
$ac_ext >&5
5535 ac_cv_have_decl_putc_unlocked
=no
5537 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5539 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
5540 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
5541 if test $ac_cv_have_decl_putc_unlocked = yes; then
5543 cat >>confdefs.h
<<_ACEOF
5544 #define HAVE_DECL_PUTC_UNLOCKED 1
5549 cat >>confdefs.h
<<_ACEOF
5550 #define HAVE_DECL_PUTC_UNLOCKED 0
5558 # Checks for typedefs, structures, and compiler characteristics.
5559 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
5560 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
5561 if test "${ac_cv_c_const+set}" = set; then
5562 echo $ECHO_N "(cached) $ECHO_C" >&6
5564 cat >conftest.
$ac_ext <<_ACEOF
5567 cat confdefs.h
>>conftest.
$ac_ext
5568 cat >>conftest.
$ac_ext <<_ACEOF
5569 /* end confdefs.h. */
5574 /* FIXME: Include the comments suggested by Paul. */
5576 /* Ultrix mips cc rejects this. */
5577 typedef int charset[2];
5579 /* SunOS 4.1.1 cc rejects this. */
5580 char const *const *ccp;
5582 /* NEC SVR4.0.2 mips cc rejects this. */
5583 struct point {int x, y;};
5584 static struct point const zero = {0,0};
5585 /* AIX XL C 1.02.0.0 rejects this.
5586 It does not let you subtract one const X* pointer from another in
5587 an arm of an if-expression whose if-part is not a constant
5589 const char *g = "string";
5590 ccp = &g + (g ? g-g : 0);
5591 /* HPUX 7.0 cc rejects these. */
5594 ccp = (char const *const *) p;
5595 { /* SCO 3.2v4 cc rejects this. */
5597 char const *s = 0 ? (char *) 0 : (char const *) 0;
5601 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
5603 const int *foo = &x[0];
5606 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
5607 typedef const int *iptr;
5611 { /* AIX XL C 1.02.0.0 rejects this saying
5612 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
5613 struct s { int j; const int *ap[3]; };
5614 struct s *b; b->j = 5;
5616 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
5625 rm -f conftest.
$ac_objext
5626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5627 (eval $ac_compile) 2>conftest.er1
5629 grep -v '^ *+' conftest.er1
>conftest.err
5631 cat conftest.err
>&5
5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5633 (exit $ac_status); } &&
5634 { ac_try
='test -z "$ac_c_werror_flag"
5635 || test ! -s conftest.err'
5636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); }; } &&
5641 { ac_try
='test -s conftest.$ac_objext'
5642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); }; }; then
5649 echo "$as_me: failed program was:" >&5
5650 sed 's/^/| /' conftest.
$ac_ext >&5
5654 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5656 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
5657 echo "${ECHO_T}$ac_cv_c_const" >&6
5658 if test $ac_cv_c_const = no
; then
5660 cat >>confdefs.h
<<\_ACEOF
5667 # Checks for library functions.
5669 if test "${ac_cv_header_sys_mman_h+set}" = set; then
5670 echo "$as_me:$LINENO: checking for sys/mman.h" >&5
5671 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6
5672 if test "${ac_cv_header_sys_mman_h+set}" = set; then
5673 echo $ECHO_N "(cached) $ECHO_C" >&6
5675 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
5676 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6
5678 # Is the header compilable?
5679 echo "$as_me:$LINENO: checking sys/mman.h usability" >&5
5680 echo $ECHO_N "checking sys/mman.h usability... $ECHO_C" >&6
5681 cat >conftest.
$ac_ext <<_ACEOF
5684 cat confdefs.h
>>conftest.
$ac_ext
5685 cat >>conftest.
$ac_ext <<_ACEOF
5686 /* end confdefs.h. */
5687 $ac_includes_default
5688 #include <sys/mman.h>
5690 rm -f conftest.
$ac_objext
5691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5692 (eval $ac_compile) 2>conftest.er1
5694 grep -v '^ *+' conftest.er1
>conftest.err
5696 cat conftest.err
>&5
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); } &&
5699 { ac_try
='test -z "$ac_c_werror_flag"
5700 || test ! -s conftest.err'
5701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5705 (exit $ac_status); }; } &&
5706 { ac_try
='test -s conftest.$ac_objext'
5707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5711 (exit $ac_status); }; }; then
5712 ac_header_compiler
=yes
5714 echo "$as_me: failed program was:" >&5
5715 sed 's/^/| /' conftest.
$ac_ext >&5
5717 ac_header_compiler
=no
5719 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5720 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5721 echo "${ECHO_T}$ac_header_compiler" >&6
5723 # Is the header present?
5724 echo "$as_me:$LINENO: checking sys/mman.h presence" >&5
5725 echo $ECHO_N "checking sys/mman.h presence... $ECHO_C" >&6
5726 cat >conftest.
$ac_ext <<_ACEOF
5729 cat confdefs.h
>>conftest.
$ac_ext
5730 cat >>conftest.
$ac_ext <<_ACEOF
5731 /* end confdefs.h. */
5732 #include <sys/mman.h>
5734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5735 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5737 grep -v '^ *+' conftest.er1
>conftest.err
5739 cat conftest.err
>&5
5740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5741 (exit $ac_status); } >/dev
/null
; then
5742 if test -s conftest.err
; then
5743 ac_cpp_err
=$ac_c_preproc_warn_flag
5744 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5751 if test -z "$ac_cpp_err"; then
5752 ac_header_preproc
=yes
5754 echo "$as_me: failed program was:" >&5
5755 sed 's/^/| /' conftest.
$ac_ext >&5
5757 ac_header_preproc
=no
5759 rm -f conftest.err conftest.
$ac_ext
5760 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5761 echo "${ECHO_T}$ac_header_preproc" >&6
5763 # So? What about this header?
5764 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5766 { echo "$as_me:$LINENO: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&5
5767 echo "$as_me: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5768 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the compiler's result" >&5
5769 echo "$as_me: WARNING: sys/mman.h: proceeding with the compiler's result" >&2;}
5770 ac_header_preproc
=yes
5773 { echo "$as_me:$LINENO: WARNING: sys/mman.h: present but cannot be compiled" >&5
5774 echo "$as_me: WARNING: sys/mman.h: present but cannot be compiled" >&2;}
5775 { echo "$as_me:$LINENO: WARNING: sys/mman.h: check for missing prerequisite headers?" >&5
5776 echo "$as_me: WARNING: sys/mman.h: check for missing prerequisite headers?" >&2;}
5777 { echo "$as_me:$LINENO: WARNING: sys/mman.h: see the Autoconf documentation" >&5
5778 echo "$as_me: WARNING: sys/mman.h: see the Autoconf documentation" >&2;}
5779 { echo "$as_me:$LINENO: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&5
5780 echo "$as_me: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&2;}
5781 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&5
5782 echo "$as_me: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&2;}
5783 { echo "$as_me:$LINENO: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&5
5784 echo "$as_me: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&2;}
5787 ## -------------------------------------- ##
5788 ## Report this to the fixincludes lists. ##
5789 ## -------------------------------------- ##
5792 sed "s/^/$as_me: WARNING: /" >&2
5795 echo "$as_me:$LINENO: checking for sys/mman.h" >&5
5796 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6
5797 if test "${ac_cv_header_sys_mman_h+set}" = set; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5800 ac_cv_header_sys_mman_h
=$ac_header_preproc
5802 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
5803 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6
5806 if test $ac_cv_header_sys_mman_h = yes; then
5807 gcc_header_sys_mman_h
=yes
5809 gcc_header_sys_mman_h
=no
5813 echo "$as_me:$LINENO: checking for mmap" >&5
5814 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
5815 if test "${ac_cv_func_mmap+set}" = set; then
5816 echo $ECHO_N "(cached) $ECHO_C" >&6
5818 cat >conftest.
$ac_ext <<_ACEOF
5821 cat confdefs.h
>>conftest.
$ac_ext
5822 cat >>conftest.
$ac_ext <<_ACEOF
5823 /* end confdefs.h. */
5824 /* Define mmap to an innocuous variant, in case <limits.h> declares mmap.
5825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5826 #define mmap innocuous_mmap
5828 /* System header to define __stub macros and hopefully few prototypes,
5829 which can conflict with char mmap (); below.
5830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5831 <limits.h> exists even on freestanding compilers. */
5834 # include <limits.h>
5836 # include <assert.h>
5841 /* Override any gcc2 internal prototype to avoid an error. */
5846 /* We use char because int might match the return type of a gcc2
5847 builtin and then its argument prototype would still apply. */
5849 /* The GNU C library defines this for functions which it implements
5850 to always fail with ENOSYS. Some functions are actually named
5851 something starting with __ and the normal name is an alias. */
5852 #if defined (__stub_mmap) || defined (__stub___mmap)
5855 char (*f) () = mmap;
5869 rm -f conftest.
$ac_objext conftest
$ac_exeext
5870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5871 (eval $ac_link) 2>conftest.er1
5873 grep -v '^ *+' conftest.er1
>conftest.err
5875 cat conftest.err
>&5
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); } &&
5878 { ac_try
='test -z "$ac_c_werror_flag"
5879 || test ! -s conftest.err'
5880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5884 (exit $ac_status); }; } &&
5885 { ac_try
='test -s conftest$ac_exeext'
5886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); }; }; then
5893 echo "$as_me: failed program was:" >&5
5894 sed 's/^/| /' conftest.
$ac_ext >&5
5898 rm -f conftest.err conftest.
$ac_objext \
5899 conftest
$ac_exeext conftest.
$ac_ext
5901 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
5902 echo "${ECHO_T}$ac_cv_func_mmap" >&6
5903 if test $ac_cv_func_mmap = yes; then
5909 if test "$gcc_header_sys_mman_h" != yes \
5910 ||
test "$gcc_func_mmap" != yes; then
5911 gcc_cv_func_mmap_file
=no
5912 gcc_cv_func_mmap_dev_zero
=no
5913 gcc_cv_func_mmap_anon
=no
5915 echo "$as_me:$LINENO: checking whether read-only mmap of a plain file works" >&5
5916 echo $ECHO_N "checking whether read-only mmap of a plain file works... $ECHO_C" >&6
5917 if test "${gcc_cv_func_mmap_file+set}" = set; then
5918 echo $ECHO_N "(cached) $ECHO_C" >&6
5920 # Add a system to this blacklist if
5921 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
5922 # memory area containing the same data that you'd get if you applied
5923 # read() to the same fd. The only system known to have a problem here
5924 # is VMS, where text files have record structure.
5927 gcc_cv_func_mmap_file
=no
;;
5929 gcc_cv_func_mmap_file
=yes;;
5932 echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_file" >&5
5933 echo "${ECHO_T}$gcc_cv_func_mmap_file" >&6
5934 echo "$as_me:$LINENO: checking whether mmap from /dev/zero works" >&5
5935 echo $ECHO_N "checking whether mmap from /dev/zero works... $ECHO_C" >&6
5936 if test "${gcc_cv_func_mmap_dev_zero+set}" = set; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5939 # Add a system to this blacklist if it has mmap() but /dev/zero
5940 # does not exist, or if mmapping /dev/zero does not give anonymous
5941 # zeroed pages with both the following properties:
5942 # 1. If you map N consecutive pages in with one call, and then
5943 # unmap any subset of those pages, the pages that were not
5944 # explicitly unmapped remain accessible.
5945 # 2. If you map two adjacent blocks of memory and then unmap them
5946 # both at once, they must both go away.
5947 # Systems known to be in this category are Windows (all variants),
5950 vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
5951 gcc_cv_func_mmap_dev_zero
=no
;;
5953 gcc_cv_func_mmap_dev_zero
=yes;;
5956 echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_dev_zero" >&5
5957 echo "${ECHO_T}$gcc_cv_func_mmap_dev_zero" >&6
5959 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
5960 echo "$as_me:$LINENO: checking for MAP_ANON(YMOUS)" >&5
5961 echo $ECHO_N "checking for MAP_ANON(YMOUS)... $ECHO_C" >&6
5962 if test "${gcc_cv_decl_map_anon+set}" = set; then
5963 echo $ECHO_N "(cached) $ECHO_C" >&6
5965 cat >conftest.
$ac_ext <<_ACEOF
5968 cat confdefs.h
>>conftest.
$ac_ext
5969 cat >>conftest.
$ac_ext <<_ACEOF
5970 /* end confdefs.h. */
5971 #include <sys/types.h>
5972 #include <sys/mman.h>
5975 #ifndef MAP_ANONYMOUS
5976 #define MAP_ANONYMOUS MAP_ANON
5982 int n = MAP_ANONYMOUS;
5987 rm -f conftest.
$ac_objext
5988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5989 (eval $ac_compile) 2>conftest.er1
5991 grep -v '^ *+' conftest.er1
>conftest.err
5993 cat conftest.err
>&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); } &&
5996 { ac_try
='test -z "$ac_c_werror_flag"
5997 || test ! -s conftest.err'
5998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6002 (exit $ac_status); }; } &&
6003 { ac_try
='test -s conftest.$ac_objext'
6004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008 (exit $ac_status); }; }; then
6009 gcc_cv_decl_map_anon
=yes
6011 echo "$as_me: failed program was:" >&5
6012 sed 's/^/| /' conftest.
$ac_ext >&5
6014 gcc_cv_decl_map_anon
=no
6016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6018 echo "$as_me:$LINENO: result: $gcc_cv_decl_map_anon" >&5
6019 echo "${ECHO_T}$gcc_cv_decl_map_anon" >&6
6021 if test $gcc_cv_decl_map_anon = no
; then
6022 gcc_cv_func_mmap_anon
=no
6024 echo "$as_me:$LINENO: checking whether mmap with MAP_ANON(YMOUS) works" >&5
6025 echo $ECHO_N "checking whether mmap with MAP_ANON(YMOUS) works... $ECHO_C" >&6
6026 if test "${gcc_cv_func_mmap_anon+set}" = set; then
6027 echo $ECHO_N "(cached) $ECHO_C" >&6
6029 # Add a system to this blacklist if it has mmap() and MAP_ANON or
6030 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
6031 # doesn't give anonymous zeroed pages with the same properties listed
6032 # above for use of /dev/zero.
6033 # Systems known to be in this category are Windows, VMS, and SCO Unix.
6035 vms
* | cygwin
* | pe | mingw
* | sco
* | udk
* )
6036 gcc_cv_func_mmap_anon
=no
;;
6038 gcc_cv_func_mmap_anon
=yes;;
6041 echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_anon" >&5
6042 echo "${ECHO_T}$gcc_cv_func_mmap_anon" >&6
6046 if test $gcc_cv_func_mmap_file = yes; then
6048 cat >>confdefs.h
<<\_ACEOF
6049 #define HAVE_MMAP_FILE 1
6053 if test $gcc_cv_func_mmap_dev_zero = yes; then
6055 cat >>confdefs.h
<<\_ACEOF
6056 #define HAVE_MMAP_DEV_ZERO 1
6060 if test $gcc_cv_func_mmap_anon = yes; then
6062 cat >>confdefs.h
<<\_ACEOF
6063 #define HAVE_MMAP_ANON 1
6069 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
6070 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
6071 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6072 if test "${enable_maintainer_mode+set}" = set; then
6073 enableval
="$enable_maintainer_mode"
6074 USE_MAINTAINER_MODE
=$enableval
6076 USE_MAINTAINER_MODE
=no
6078 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
6079 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
6080 if test "$USE_MAINTAINER_MODE" = yes; then
6087 cat >>confdefs.h
<<_ACEOF
6088 #define SED_PROGRAM "${SED}"
6092 ac_config_headers
="$ac_config_headers config.h"
6094 ac_config_files
="$ac_config_files Makefile mkheaders.almost:mkheaders.in"
6096 cat >confcache
<<\_ACEOF
6097 # This file is a shell script that caches the results of configure
6098 # tests run on this system so they can be shared between configure
6099 # scripts and configure runs, see configure's option --config-cache.
6100 # It is not useful on other systems. If it contains results you don't
6101 # want to keep, you may remove or edit it.
6103 # config.status only pays attention to the cache file if you give it
6104 # the --recheck option to rerun configure.
6106 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6107 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6112 # The following way of writing the cache mishandles newlines in values,
6113 # but we know of no workaround that is simple, portable, and efficient.
6114 # So, don't put newlines in cache variables' values.
6115 # Ultrix sh set writes to stderr and can't be redirected directly,
6116 # and sets the high bit in the cache file unless we assign to the vars.
6119 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6121 # `set' does not quote correctly, so add quotes (double-quote
6122 # substitution turns \\\\ into \\, and sed turns \\ into \).
6125 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6128 # `set' quotes correctly as required by POSIX, so do not add quotes.
6130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6137 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6139 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6141 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6142 if test -w $cache_file; then
6143 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6144 cat confcache
>$cache_file
6146 echo "not updating unwritable cache $cache_file"
6151 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6152 # Let make expand exec_prefix.
6153 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6155 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6156 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6157 # trailing colons and then remove the whole line if VPATH becomes empty
6158 # (actually we leave an empty line to preserve line numbers).
6159 if test "x$srcdir" = x.
; then
6160 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6161 s/:*\$(srcdir):*/:/;
6162 s/:*\${srcdir}:*/:/;
6164 s/^\([^=]*=[ ]*\):*/\1/;
6170 DEFS
=-DHAVE_CONFIG_H
6174 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
6175 # 1. Remove the extension, and $U if already installed.
6176 ac_i
=`echo "$ac_i" |
6177 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6179 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
6180 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
6184 LTLIBOBJS
=$ac_ltlibobjs
6188 : ${CONFIG_STATUS=./config.status}
6189 ac_clean_files_save
=$ac_clean_files
6190 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
6191 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6192 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6193 cat >$CONFIG_STATUS <<_ACEOF
6195 # Generated by $as_me.
6196 # Run this file to recreate the current configuration.
6197 # Compiler output produced by configure, useful for debugging
6198 # configure, is in config.log if it exists.
6203 SHELL=\${CONFIG_SHELL-$SHELL}
6206 cat >>$CONFIG_STATUS <<\_ACEOF
6207 ## --------------------- ##
6208 ## M4sh Initialization. ##
6209 ## --------------------- ##
6211 # Be Bourne compatible
6212 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
6215 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6216 # is contrary to our usage. Disable this feature.
6217 alias -g '${1+"$@"}'='"$@"'
6218 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
6221 DUALCASE
=1; export DUALCASE
# for MKS sh
6223 # Support unset when possible.
6224 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
6231 # Work around bugs in pre-3.0 UWIN ksh.
6232 $as_unset ENV MAIL MAILPATH
6239 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6240 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6241 LC_TELEPHONE LC_TIME
6243 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6244 eval $as_var=C
; export $as_var
6250 # Required to use basename.
6251 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6257 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
6258 as_basename
=basename
6264 # Name of the executable.
6265 as_me
=`$as_basename "$0" ||
6266 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6267 X"$0" : 'X\(//\)$' \| \
6268 X"$0" : 'X\(/\)$' \| \
6269 . : '\(.\)' 2>/dev/null ||
6271 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6272 /^X\/\(\/\/\)$/{ s//\1/; q; }
6273 /^X\/\(\/\).*/{ s//\1/; q; }
6277 # PATH needs CR, and LINENO needs CR and PATH.
6278 # Avoid depending upon Character Ranges.
6279 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
6280 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6281 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
6282 as_cr_digits
='0123456789'
6283 as_cr_alnum
=$as_cr_Letters$as_cr_digits
6285 # The user is always right.
6286 if test "${PATH_SEPARATOR+set}" != set; then
6287 echo "#! /bin/sh" >conf$$.sh
6288 echo "exit 0" >>conf$$.sh
6290 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6301 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
6302 test "x$as_lineno_1" != "x$as_lineno_2" &&
6303 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
6304 # Find who we are. Look in the path if we contain no path at all
6307 *[\\/]* ) as_myself
=$0 ;;
6308 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6312 test -z "$as_dir" && as_dir
=.
6313 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
6318 # We did not find ourselves, most probably we were run as `sh COMMAND'
6319 # in which case we are not to be found in the path.
6320 if test "x$as_myself" = x
; then
6323 if test ! -f "$as_myself"; then
6324 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6325 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6326 { (exit 1); exit 1; }; }
6328 case $CONFIG_SHELL in
6330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6331 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
6334 test -z "$as_dir" && as_dir
=.
6335 for as_base
in sh bash ksh sh5
; do
6338 if ("$as_dir/$as_base" -c '
6341 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6342 test "x$as_lineno_1" != "x$as_lineno_2" &&
6343 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
6344 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
6345 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
6346 CONFIG_SHELL
=$as_dir/$as_base
6348 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6356 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6357 # uniformly replaced by the line number. The first 'sed' inserts a
6358 # line-number line before each line; the second 'sed' does the real
6359 # work. The second script uses 'N' to pair each line-number line
6360 # with the numbered line, and appends trailing '-' during
6361 # substitution so that $LINENO is not a special case at line end.
6362 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6363 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6364 sed '=' <$as_myself |
6369 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6372 s,^['$as_cr_digits']*\n,,
6374 chmod +x
$as_me.lineno ||
6375 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6376 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6377 { (exit 1); exit 1; }; }
6379 # Don't try to exec as it changes $[0], causing all sort of problems
6380 # (the dirname of $[0] is not the place where we might find the
6381 # original and so on. Autoconf is especially sensible to this).
6383 # Exit status is that of the last command.
6388 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6389 *c
*,-n*) ECHO_N
= ECHO_C
='
6391 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
6392 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
6395 if expr a
: '\(a\)' >/dev
/null
2>&1; then
6401 rm -f conf$$ conf$$.exe conf$$.
file
6403 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
6404 # We could just check for DJGPP; but this test a) works b) is more generic
6405 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6406 if test -f conf$$.exe
; then
6407 # Don't use ln at all; we don't have any links
6412 elif ln conf$$.
file conf$$
2>/dev
/null
; then
6417 rm -f conf$$ conf$$.exe conf$$.
file
6419 if mkdir
-p .
2>/dev
/null
; then
6422 test -d .
/-p && rmdir .
/-p
6426 as_executable_p
="test -f"
6428 # Sed expression to map a string onto a valid CPP name.
6429 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6431 # Sed expression to map a string onto a valid variable name.
6432 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6436 # We need space, tab and new line, in precisely that order.
6446 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6447 # report actual input values of CONFIG_FILES etc. instead of their
6448 # values after options handling. Logging --version etc. is OK.
6452 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6453 ## Running $as_me. ##
6458 This file was extended by fixincludes $as_me , which was
6459 generated by GNU Autoconf 2.59. Invocation command line was
6461 CONFIG_FILES = $CONFIG_FILES
6462 CONFIG_HEADERS = $CONFIG_HEADERS
6463 CONFIG_LINKS = $CONFIG_LINKS
6464 CONFIG_COMMANDS = $CONFIG_COMMANDS
6468 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6472 # Files that config.status was made for.
6473 if test -n "$ac_config_files"; then
6474 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6477 if test -n "$ac_config_headers"; then
6478 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6481 if test -n "$ac_config_links"; then
6482 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6485 if test -n "$ac_config_commands"; then
6486 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6489 cat >>$CONFIG_STATUS <<\_ACEOF
6492 \`$as_me' instantiates files from templates according to the
6493 current configuration.
6495 Usage: $0 [OPTIONS] [FILE]...
6497 -h, --help print this help, then exit
6498 -V, --version print version number, then exit
6499 -q, --quiet do not print progress messages
6500 -d, --debug don't remove temporary files
6501 --recheck update $as_me by reconfiguring in the same conditions
6502 --file=FILE[:TEMPLATE]
6503 instantiate the configuration file FILE
6504 --header=FILE[:TEMPLATE]
6505 instantiate the configuration header FILE
6507 Configuration files:
6510 Configuration headers:
6513 Report bugs to <bug-autoconf@gnu.org>."
6516 cat >>$CONFIG_STATUS <<_ACEOF
6518 fixincludes config.status
6519 configured by $0, generated by GNU Autoconf 2.59,
6520 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6522 Copyright (C) 2003 Free Software Foundation, Inc.
6523 This config.status script is free software; the Free Software Foundation
6524 gives unlimited permission to copy, distribute and modify it."
6528 cat >>$CONFIG_STATUS <<\_ACEOF
6529 # If no file are specified by the user, then we need to provide default
6530 # value. By we need to know if files were specified by the user.
6536 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
6537 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
6545 *) # This is not an option, so the user has probably given explicit
6548 ac_need_defaults
=false
;;
6552 # Handling of the options.
6554 cat >>$CONFIG_STATUS <<\_ACEOF
6555 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
6557 --version |
--vers* |
-V )
6558 echo "$ac_cs_version"; exit 0 ;;
6560 # Conflict between --help and --header
6561 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6562 Try \`$0 --help' for more information." >&5
6563 echo "$as_me: error: ambiguous option: $1
6564 Try \`$0 --help' for more information." >&2;}
6565 { (exit 1); exit 1; }; };;
6566 --help |
--hel |
-h )
6567 echo "$ac_cs_usage"; exit 0 ;;
6568 --debug |
--d* |
-d )
6570 --file |
--fil |
--fi |
--f )
6572 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
6573 ac_need_defaults
=false
;;
6574 --header |
--heade |
--head |
--hea )
6576 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
6577 ac_need_defaults
=false
;;
6578 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
6579 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
6583 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6584 Try \`$0 --help' for more information." >&5
6585 echo "$as_me: error: unrecognized option: $1
6586 Try \`$0 --help' for more information." >&2;}
6587 { (exit 1); exit 1; }; } ;;
6589 *) ac_config_targets
="$ac_config_targets $1" ;;
6595 ac_configure_extra_args
=
6597 if $ac_cs_silent; then
6599 ac_configure_extra_args
="$ac_configure_extra_args --silent"
6603 cat >>$CONFIG_STATUS <<_ACEOF
6604 if \$ac_cs_recheck; then
6605 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6606 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6615 cat >>$CONFIG_STATUS <<\_ACEOF
6616 for ac_config_target
in $ac_config_targets
6618 case "$ac_config_target" in
6619 # Handling of arguments.
6620 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
6621 "mkheaders.almost" ) CONFIG_FILES
="$CONFIG_FILES mkheaders.almost:mkheaders.in" ;;
6622 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
6623 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6624 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6625 { (exit 1); exit 1; }; };;
6629 # If the user did not use the arguments to specify the items to instantiate,
6630 # then the envvar interface is used. Set only those that are not.
6631 # We use the long form for the default assignment because of an extremely
6632 # bizarre bug on SunOS 4.1.3.
6633 if $ac_need_defaults; then
6634 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
6635 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
6638 # Have a temporary directory for convenience. Make it in the build tree
6639 # simply because there is no reason to put it here, and in addition,
6640 # creating and moving files from /tmp can sometimes cause problems.
6641 # Create a temporary directory, and hook for its removal unless debugging.
6644 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6645 trap '{ (exit 1); exit 1; }' 1 2 13 15
6648 # Create a (secure) tmp directory for tmp files.
6651 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6652 test -n "$tmp" && test -d "$tmp"
6655 tmp
=.
/confstat$$
-$RANDOM
6656 (umask 077 && mkdir
$tmp)
6659 echo "$me: cannot create a temporary directory in ." >&2
6660 { (exit 1); exit 1; }
6665 cat >>$CONFIG_STATUS <<_ACEOF
6668 # CONFIG_FILES section.
6671 # No need to generate the scripts if there are no CONFIG_FILES.
6672 # This happens for instance when ./config.status config.h
6673 if test -n "\$CONFIG_FILES"; then
6674 # Protect against being on the right side of a sed subst in config.status.
6675 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6676 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6677 s,@SHELL@,$SHELL,;t t
6678 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6679 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6680 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6681 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6682 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6683 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6684 s,@exec_prefix@,$exec_prefix,;t t
6685 s,@prefix@,$prefix,;t t
6686 s,@program_transform_name@,$program_transform_name,;t t
6687 s,@bindir@,$bindir,;t t
6688 s,@sbindir@,$sbindir,;t t
6689 s,@libexecdir@,$libexecdir,;t t
6690 s,@datadir@,$datadir,;t t
6691 s,@sysconfdir@,$sysconfdir,;t t
6692 s,@sharedstatedir@,$sharedstatedir,;t t
6693 s,@localstatedir@,$localstatedir,;t t
6694 s,@libdir@,$libdir,;t t
6695 s,@includedir@,$includedir,;t t
6696 s,@oldincludedir@,$oldincludedir,;t t
6697 s,@infodir@,$infodir,;t t
6698 s,@mandir@,$mandir,;t t
6699 s,@build_alias@,$build_alias,;t t
6700 s,@host_alias@,$host_alias,;t t
6701 s,@target_alias@,$target_alias,;t t
6703 s,@ECHO_C@,$ECHO_C,;t t
6704 s,@ECHO_N@,$ECHO_N,;t t
6705 s,@ECHO_T@,$ECHO_T,;t t
6707 s,@build@,$build,;t t
6708 s,@build_cpu@,$build_cpu,;t t
6709 s,@build_vendor@,$build_vendor,;t t
6710 s,@build_os@,$build_os,;t t
6712 s,@host_cpu@,$host_cpu,;t t
6713 s,@host_vendor@,$host_vendor,;t t
6714 s,@host_os@,$host_os,;t t
6715 s,@target@,$target,;t t
6716 s,@target_cpu@,$target_cpu,;t t
6717 s,@target_vendor@,$target_vendor,;t t
6718 s,@target_os@,$target_os,;t t
6720 s,@CFLAGS@,$CFLAGS,;t t
6721 s,@LDFLAGS@,$LDFLAGS,;t t
6722 s,@CPPFLAGS@,$CPPFLAGS,;t t
6723 s,@ac_ct_CC@,$ac_ct_CC,;t t
6724 s,@EXEEXT@,$EXEEXT,;t t
6725 s,@OBJEXT@,$OBJEXT,;t t
6727 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
6728 s,@WARN_PEDANTIC@,$WARN_PEDANTIC,;t t
6729 s,@WERROR@,$WERROR,;t t
6730 s,@target_noncanonical@,$target_noncanonical,;t t
6731 s,@TARGET@,$TARGET,;t t
6733 s,@EGREP@,$EGREP,;t t
6734 s,@MAINT@,$MAINT,;t t
6735 s,@LIBOBJS@,$LIBOBJS,;t t
6736 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6741 cat >>$CONFIG_STATUS <<\_ACEOF
6742 # Split the substitutions into bite-sized pieces for seds with
6743 # small command number limits, like on Digital OSF/1 and HP-UX.
6745 ac_sed_frag
=1 # Number of current file.
6746 ac_beg
=1 # First line for current file.
6747 ac_end
=$ac_max_sed_lines # Line after last line for current file.
6750 while $ac_more_lines; do
6751 if test $ac_beg -gt 1; then
6752 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6754 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
6756 if test ! -s $tmp/subs.frag
; then
6759 # The purpose of the label and of the branching condition is to
6760 # speed up the sed processing (if there are no `@' at all, there
6761 # is no need to browse any of the substitutions).
6762 # These are the two extra sed commands mentioned above.
6764 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
6765 if test -z "$ac_sed_cmds"; then
6766 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
6768 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6770 ac_sed_frag
=`expr $ac_sed_frag + 1`
6772 ac_end
=`expr $ac_end + $ac_max_sed_lines`
6775 if test -z "$ac_sed_cmds"; then
6778 fi # test -n "$CONFIG_FILES"
6781 cat >>$CONFIG_STATUS <<\_ACEOF
6782 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
6783 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6785 - |
*:- |
*:-:* ) # input from stdin
6787 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6788 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6789 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6790 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6791 * ) ac_file_in
=$ac_file.
in ;;
6794 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6795 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
6796 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6797 X"$ac_file" : 'X\(//\)[^/]' \| \
6798 X"$ac_file" : 'X\(//\)$' \| \
6799 X"$ac_file" : 'X\(/\)' \| \
6800 . : '\(.\)' 2>/dev/null ||
6802 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6803 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6804 /^X\(\/\/\)$/{ s//\1/; q; }
6805 /^X\(\/\).*/{ s//\1/; q; }
6807 { if $as_mkdir_p; then
6812 while test ! -d "$as_dir"; do
6813 as_dirs
="$as_dir $as_dirs"
6814 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
6815 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6816 X"$as_dir" : 'X\(//\)[^/]' \| \
6817 X"$as_dir" : 'X\(//\)$' \| \
6818 X"$as_dir" : 'X\(/\)' \| \
6819 . : '\(.\)' 2>/dev/null ||
6821 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6822 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6823 /^X\(\/\/\)$/{ s//\1/; q; }
6824 /^X\(\/\).*/{ s//\1/; q; }
6827 test ! -n "$as_dirs" || mkdir
$as_dirs
6828 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6829 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6830 { (exit 1); exit 1; }; }; }
6834 if test "$ac_dir" != .
; then
6835 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6836 # A "../" for each directory in $ac_dir_suffix.
6837 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6839 ac_dir_suffix
= ac_top_builddir
=
6843 .
) # No --srcdir option. We are building in place.
6845 if test -z "$ac_top_builddir"; then
6848 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6850 [\\/]* | ?
:[\\/]* ) # Absolute path.
6851 ac_srcdir
=$srcdir$ac_dir_suffix;
6852 ac_top_srcdir
=$srcdir ;;
6854 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6855 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6858 # Do not use `cd foo && pwd` to compute absolute paths, because
6859 # the directories may not exist.
6861 .
) ac_abs_builddir
="$ac_dir";;
6864 .
) ac_abs_builddir
=`pwd`;;
6865 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
6866 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
6869 case $ac_abs_builddir in
6870 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6872 case ${ac_top_builddir}.
in
6873 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
6874 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
6875 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
6878 case $ac_abs_builddir in
6879 .
) ac_abs_srcdir
=$ac_srcdir;;
6882 .
) ac_abs_srcdir
=$ac_abs_builddir;;
6883 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
6884 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
6887 case $ac_abs_builddir in
6888 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
6890 case $ac_top_srcdir in
6891 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
6892 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
6893 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
6899 if test x
"$ac_file" != x-
; then
6900 { echo "$as_me:$LINENO: creating $ac_file" >&5
6901 echo "$as_me: creating $ac_file" >&6;}
6904 # Let's still pretend it is `configure' which instantiates (i.e., don't
6905 # use $as_me), people would be surprised to read:
6906 # /* config.h. Generated by config.status. */
6907 if test x
"$ac_file" = x-
; then
6910 configure_input
="$ac_file. "
6912 configure_input
=$configure_input"Generated from `echo $ac_file_in |
6913 sed 's,.*/,,'` by configure."
6915 # First look for the input files in the build tree, otherwise in the
6917 ac_file_inputs
=`IFS=:
6918 for f in $ac_file_in; do
6920 -) echo $tmp/stdin ;;
6922 # Absolute (can't be DOS-style, as IFS=:)
6923 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6924 echo "$as_me: error: cannot find input file: $f" >&2;}
6925 { (exit 1); exit 1; }; }
6928 if test -f "$f"; then
6931 elif test -f "$srcdir/$f"; then
6936 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6937 echo "$as_me: error: cannot find input file: $f" >&2;}
6938 { (exit 1); exit 1; }; }
6941 done` ||
{ (exit 1); exit 1; }
6943 cat >>$CONFIG_STATUS <<_ACEOF
6947 cat >>$CONFIG_STATUS <<\_ACEOF
6949 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
6950 s
,@configure_input@
,$configure_input,;t t
6951 s
,@srcdir@
,$ac_srcdir,;t t
6952 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
6953 s
,@top_srcdir@
,$ac_top_srcdir,;t t
6954 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
6955 s
,@builddir@
,$ac_builddir,;t t
6956 s
,@abs_builddir@
,$ac_abs_builddir,;t t
6957 s
,@top_builddir@
,$ac_top_builddir,;t t
6958 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
6959 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6961 if test x"$ac_file" != x-; then
6962 mv $tmp/out $ac_file
6970 cat >>$CONFIG_STATUS <<\_ACEOF
6973 # CONFIG_HEADER section.
6976 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
6977 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6979 # ac_d sets the value in "#define NAME VALUE" lines.
6980 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6981 ac_dB
='[ ].*$,\1#\2'
6984 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6985 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6986 ac_uB
='$,\1#\2define\3'
6990 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
6991 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6993 - |
*:- |
*:-:* ) # input from stdin
6995 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6996 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6997 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
6998 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
6999 * ) ac_file_in
=$ac_file.
in ;;
7002 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7003 echo "$as_me: creating $ac_file" >&6;}
7005 # First look for the input files in the build tree, otherwise in the
7007 ac_file_inputs
=`IFS=:
7008 for f in $ac_file_in; do
7010 -) echo $tmp/stdin ;;
7012 # Absolute (can't be DOS-style, as IFS=:)
7013 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7014 echo "$as_me: error: cannot find input file: $f" >&2;}
7015 { (exit 1); exit 1; }; }
7016 # Do quote $f, to prevent DOS paths from being IFS'd.
7019 if test -f "$f"; then
7022 elif test -f "$srcdir/$f"; then
7027 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7028 echo "$as_me: error: cannot find input file: $f" >&2;}
7029 { (exit 1); exit 1; }; }
7032 done` ||
{ (exit 1); exit 1; }
7033 # Remove the trailing spaces.
7034 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7038 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7039 # `conftest.undefs', that substitutes the proper values into
7040 # config.h.in to produce config.h. The first handles `#define'
7041 # templates, and the second `#undef' templates.
7042 # And first: Protect against being on the right side of a sed subst in
7043 # config.status. Protect against being in an unquoted here document
7045 rm -f conftest.defines conftest.undefs
7046 # Using a here document instead of a string reduces the quoting nightmare.
7047 # Putting comments in sed scripts is not portable.
7049 # `end' is used to avoid that the second main sed command (meant for
7050 # 0-ary CPP macros) applies to n-ary macro definitions.
7051 # See the Autoconf documentation for `clear'.
7052 cat >confdef2sed.
sed <<\_ACEOF
7057 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7059 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7062 # If some macros were called several times there might be several times
7063 # the same #defines, which is useless. Nevertheless, we may not want to
7064 # sort them, since we want the *last* AC-DEFINE to be honored.
7065 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7066 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7067 rm -f confdef2sed.sed
7069 # This sed command replaces #undef with comments. This is necessary, for
7070 # example, in the case of _POSIX_SOURCE, which is predefined and required
7071 # on some systems where configure will not decide to define it.
7072 cat >>conftest.undefs <<\_ACEOF
7073 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7076 # Break up conftest.defines because some shells have a limit on the size
7077 # of here documents, and old seds have small limits too (100 cmds).
7078 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7079 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7080 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7081 echo ' :' >>$CONFIG_STATUS
7083 while grep . conftest.defines >/dev/null
7085 # Write a limited-size here document to $tmp/defines.sed.
7086 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7087 # Speed up: don't consider the non `#define' lines.
7088 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7089 # Work around the forget-to-reset-the-flag bug.
7090 echo 't clr' >>$CONFIG_STATUS
7091 echo ': clr' >>$CONFIG_STATUS
7092 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7094 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7098 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7099 rm -f conftest.defines
7100 mv conftest.
tail conftest.defines
7102 rm -f conftest.defines
7103 echo ' fi # grep' >>$CONFIG_STATUS
7104 echo >>$CONFIG_STATUS
7106 # Break up conftest.undefs because some shells have a limit on the size
7107 # of here documents, and old seds have small limits too (100 cmds).
7108 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7110 while grep . conftest.undefs
>/dev
/null
7112 # Write a limited-size here document to $tmp/undefs.sed.
7113 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7114 # Speed up: don't consider the non
`#undef'
7115 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7116 # Work around the forget-to-reset-the-flag bug.
7117 echo 't clr' >>$CONFIG_STATUS
7118 echo ': clr' >>$CONFIG_STATUS
7119 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7121 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7125 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7126 rm -f conftest.undefs
7127 mv conftest.tail conftest.undefs
7129 rm -f conftest.undefs
7131 cat >>$CONFIG_STATUS <<\_ACEOF
7132 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7133 # use $as_me), people would be surprised to read:
7134 # /* config.h. Generated by config.status. */
7135 if test x
"$ac_file" = x-
; then
7136 echo "/* Generated by configure. */" >$tmp/config.h
7138 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7140 cat $tmp/in >>$tmp/config.h
7142 if test x
"$ac_file" != x-
; then
7143 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7144 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7145 echo "$as_me: $ac_file is unchanged" >&6;}
7147 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7148 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7149 X"$ac_file" : 'X\(//\)[^/]' \| \
7150 X"$ac_file" : 'X\(//\)$' \| \
7151 X"$ac_file" : 'X\(/\)' \| \
7152 . : '\(.\)' 2>/dev/null ||
7154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7155 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7156 /^X\(\/\/\)$/{ s//\1/; q; }
7157 /^X\(\/\).*/{ s//\1/; q; }
7159 { if $as_mkdir_p; then
7164 while test ! -d "$as_dir"; do
7165 as_dirs
="$as_dir $as_dirs"
7166 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7167 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7168 X"$as_dir" : 'X\(//\)[^/]' \| \
7169 X"$as_dir" : 'X\(//\)$' \| \
7170 X"$as_dir" : 'X\(/\)' \| \
7171 . : '\(.\)' 2>/dev/null ||
7173 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7174 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7175 /^X\(\/\/\)$/{ s//\1/; q; }
7176 /^X\(\/\).*/{ s//\1/; q; }
7179 test ! -n "$as_dirs" || mkdir
$as_dirs
7180 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7181 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7182 { (exit 1); exit 1; }; }; }
7185 mv $tmp/config.h
$ac_file
7191 # Run the commands associated with the file.
7193 config.h
) echo timestamp
> stamp-h
;;
7198 cat >>$CONFIG_STATUS <<\_ACEOF
7200 { (exit 0); exit 0; }
7202 chmod +x
$CONFIG_STATUS
7203 ac_clean_files
=$ac_clean_files_save
7206 # configure is writing to config.log, and then calls config.status.
7207 # config.status does its own redirection, appending to config.log.
7208 # Unfortunately, on DOS this fails, as config.log is still kept open
7209 # by configure, so config.status won't be able to write to it; its
7210 # output is simply discarded. So we exec the FD to /dev/null,
7211 # effectively closing config.log, so it can be properly (re)opened and
7212 # appended to by config.status. When coming back to configure, we
7213 # need to make the FD available again.
7214 if test "$no_create" != yes; then
7216 ac_config_status_args
=
7217 test "$silent" = yes &&
7218 ac_config_status_args
="$ac_config_status_args --quiet"
7220 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
7222 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7223 # would make configure fail if this is the last instruction.
7224 $ac_cs_success ||
{ (exit 1); exit 1; }