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 target_noncanonical TARGET gcc_version CPP EGREP MAINT LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures fixincludes to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --build=BUILD configure
for building on BUILD
[guessed
]
836 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
837 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
841 if test -n "$ac_init_help"; then
842 case $ac_init_help in
843 short | recursive
) echo "Configuration of fixincludes :";;
848 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
849 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
850 --enable-twoprocess Use a separate process to apply the fixes
851 --enable-maintainer-mode enable make rules and dependencies not useful
852 (and sometimes confusing
) to the casual installer
855 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
856 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
857 --with-local-prefix=DIR specifies directory to put
local include
859 Some influential environment variables
:
860 CC C compiler
command
861 CFLAGS C compiler flags
862 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
863 nonstandard directory
<lib dir
>
864 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
865 headers
in a nonstandard directory
<include dir
>
868 Use these variables to override the choices made by
`configure' or to help
869 it to find libraries and programs with nonstandard names/locations.
874 if test "$ac_init_help" = "recursive"; then
875 # If there are subdirs, report their specific --help.
877 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
878 test -d $ac_dir || continue
881 if test "$ac_dir" != .; then
882 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
883 # A "../" for each directory in $ac_dir_suffix.
884 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
886 ac_dir_suffix= ac_top_builddir=
890 .) # No --srcdir option. We are building in place.
892 if test -z "$ac_top_builddir"; then
895 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
897 [\\/]* | ?:[\\/]* ) # Absolute path.
898 ac_srcdir=$srcdir$ac_dir_suffix;
899 ac_top_srcdir=$srcdir ;;
901 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
902 ac_top_srcdir=$ac_top_builddir$srcdir ;;
905 # Do not use `cd foo
&& pwd` to compute absolute paths, because
906 # the directories may not exist.
908 .) ac_abs_builddir="$ac_dir";;
911 .) ac_abs_builddir=`pwd`;;
912 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
913 *) ac_abs_builddir=`pwd`/"$ac_dir";;
916 case $ac_abs_builddir in
917 .) ac_abs_top_builddir=${ac_top_builddir}.;;
919 case ${ac_top_builddir}. in
920 .) ac_abs_top_builddir=$ac_abs_builddir;;
921 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
922 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
925 case $ac_abs_builddir in
926 .) ac_abs_srcdir=$ac_srcdir;;
929 .) ac_abs_srcdir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
931 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
934 case $ac_abs_builddir in
935 .) ac_abs_top_srcdir=$ac_top_srcdir;;
937 case $ac_top_srcdir in
938 .) ac_abs_top_srcdir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
940 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
945 # Check for guested configure; otherwise get Cygnus style configure.
946 if test -f $ac_srcdir/configure.gnu; then
948 $SHELL $ac_srcdir/configure.gnu --help=recursive
949 elif test -f $ac_srcdir/configure; then
951 $SHELL $ac_srcdir/configure --help=recursive
952 elif test -f $ac_srcdir/configure.ac ||
953 test -f $ac_srcdir/configure.in; then
957 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
963 test -n "$ac_init_help" && exit 0
964 if $ac_init_version; then
966 fixincludes configure
967 generated by GNU Autoconf 2.59
969 Copyright (C) 2003 Free Software Foundation, Inc.
970 This configure script is free software; the Free Software Foundation
971 gives unlimited permission to copy, distribute and modify it.
977 This file contains any messages produced by compilers while
978 running configure, to aid debugging if configure makes a mistake.
980 It was created by fixincludes $as_me , which was
981 generated by GNU Autoconf 2.59. Invocation command line was
992 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
993 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
994 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
995 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
996 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
998 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
999 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1001 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1002 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1003 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1004 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1005 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1006 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1007 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1015 test -z "$as_dir" && as_dir=.
1016 echo "PATH: $as_dir"
1031 # Keep a trace of the command line.
1032 # Strip out --no-create and --no-recursion so they do not pile up.
1033 # Strip out --silent because we don't want to record it for future runs.
1034 # Also quote any args containing shell meta-characters.
1035 # Make two passes to allow for proper duplicate-argument suppression.
1040 ac_must_keep_next=false
1046 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1047 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1048 | -silent | --silent | --silen | --sile | --sil)
1050 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1051 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1054 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1056 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1057 if test $ac_must_keep_next = true; then
1058 ac_must_keep_next=false # Got value, back to normal.
1061 *=* | --config-cache | -C | -disable-* | --disable-* \
1062 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1063 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1064 | -with-* | --with-* | -without-* | --without-* | --x)
1065 case "$ac_configure_args0 " in
1066 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1069 -* ) ac_must_keep_next=true ;;
1072 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1073 # Get rid of the leading space.
1079 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1080 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1082 # When interrupted or exit'd, cleanup temporary files, and complete
1083 # config.log. We remove comments because anyway the quotes in there
1084 # would cause problems or look ugly.
1085 # WARNING: Be sure not to use single quotes in there, as some shells,
1086 # such as our DU 5.0 friend, will then `close
' the trap.
1087 trap 'exit_status
=$?
1088 # Save into config.log some information that might help in debugging.
1093 ## ---------------- ##
1094 ## Cache variables. ##
1095 ## ---------------- ##
1098 # The following way of writing the cache mishandles newlines in values,
1101 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1104 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1105 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1109 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1116 ## ----------------- ##
1117 ## Output variables. ##
1118 ## ----------------- ##
1121 for ac_var
in $ac_subst_vars
1123 eval ac_val
=$
`echo $ac_var`
1124 echo "$ac_var='"'"'$ac_val'"'"'"
1128 if test -n "$ac_subst_files"; then
1135 for ac_var
in $ac_subst_files
1137 eval ac_val
=$
`echo $ac_var`
1138 echo "$ac_var='"'"'$ac_val'"'"'"
1143 if test -s confdefs.h
; then
1150 sed "/^$/d" confdefs.h |
sort
1153 test "$ac_signal" != 0 &&
1154 echo "$as_me: caught signal $ac_signal"
1155 echo "$as_me: exit $exit_status"
1157 rm -f core
*.core
&&
1158 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1161 for ac_signal in 1 2 13 15; do
1162 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1166 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1167 rm -rf conftest* confdefs.h
1168 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1171 # Predefined preprocessor variables.
1173 cat >>confdefs.h <<_ACEOF
1174 #define PACKAGE_NAME "$PACKAGE_NAME"
1178 cat >>confdefs.h <<_ACEOF
1179 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1183 cat >>confdefs.h <<_ACEOF
1184 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1188 cat >>confdefs.h <<_ACEOF
1189 #define PACKAGE_STRING "$PACKAGE_STRING"
1193 cat >>confdefs.h <<_ACEOF
1194 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1198 # Let the site file select an alternate cache file if it wants to.
1199 # Prefer explicitly selected file to automatically selected ones.
1200 if test -z "$CONFIG_SITE"; then
1201 if test "x$prefix" != xNONE; then
1202 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1204 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1207 for ac_site_file in $CONFIG_SITE; do
1208 if test -r "$ac_site_file"; then
1209 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1210 echo "$as_me: loading site script $ac_site_file" >&6;}
1211 sed 's
/^
/|
/' "$ac_site_file" >&5
1216 if test -r "$cache_file"; then
1217 # Some versions of bash will fail to source /dev/null (special
1218 # files actually), so we avoid doing that.
1219 if test -f "$cache_file"; then
1220 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1221 echo "$as_me: loading cache $cache_file" >&6;}
1223 [\\/]* | ?:[\\/]* ) . $cache_file;;
1224 *) . ./$cache_file;;
1228 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1229 echo "$as_me: creating cache $cache_file" >&6;}
1233 # Check that the precious variables saved in the cache have kept the same
1235 ac_cache_corrupted=false
1236 for ac_var in `(set) 2>&1 |
1237 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1238 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1239 eval ac_new_set=\$ac_env_${ac_var}_set
1240 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1241 eval ac_new_val="\$ac_env_${ac_var}_value"
1242 case $ac_old_set,$ac_new_set in
1244 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1245 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1246 ac_cache_corrupted=: ;;
1248 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1250 ac_cache_corrupted=: ;;
1253 if test "x$ac_old_val" != "x$ac_new_val"; then
1254 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1255 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1256 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1257 echo "$as_me: former value: $ac_old_val" >&2;}
1258 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1259 echo "$as_me: current value: $ac_new_val" >&2;}
1260 ac_cache_corrupted=:
1263 # Pass precious variables to config.status.
1264 if test "$ac_new_set" = set; then
1266 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1267 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1268 *) ac_arg=$ac_var=$ac_new_val ;;
1270 case " $ac_configure_args " in
1271 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1272 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1276 if $ac_cache_corrupted; then
1277 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1278 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1279 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1280 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1281 { (exit 1); exit 1; }; }
1285 ac_cpp='$CPP $CPPFLAGS'
1286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1287 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1318 for ac_dir in .. $srcdir/..; do
1319 if test -f $ac_dir/install-sh; then
1321 ac_install_sh="$ac_aux_dir/install-sh -c"
1323 elif test -f $ac_dir/install.sh; then
1325 ac_install_sh="$ac_aux_dir/install.sh -c"
1327 elif test -f $ac_dir/shtool; then
1329 ac_install_sh="$ac_aux_dir/shtool install -c"
1333 if test -z "$ac_aux_dir"; then
1334 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in .. $srcdir/.." >&5
1335 echo "$as_me: error: cannot find install-sh or install.sh in .. $srcdir/.." >&2;}
1336 { (exit 1); exit 1; }; }
1338 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1339 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1340 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1342 # Make sure we can run config.sub.
1343 $ac_config_sub sun4 >/dev/null 2>&1 ||
1344 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1345 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1346 { (exit 1); exit 1; }; }
1348 echo "$as_me:$LINENO: checking build system type" >&5
1349 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1350 if test "${ac_cv_build+set}" = set; then
1351 echo $ECHO_N "(cached) $ECHO_C" >&6
1353 ac_cv_build_alias=$build_alias
1354 test -z "$ac_cv_build_alias" &&
1355 ac_cv_build_alias=`$ac_config_guess`
1356 test -z "$ac_cv_build_alias" &&
1357 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1358 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1359 { (exit 1); exit 1; }; }
1360 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1361 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1362 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1363 { (exit 1); exit 1; }; }
1366 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1367 echo "${ECHO_T}$ac_cv_build" >&6
1369 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1370 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1371 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1374 echo "$as_me:$LINENO: checking host system type" >&5
1375 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1376 if test "${ac_cv_host+set}" = set; then
1377 echo $ECHO_N "(cached) $ECHO_C" >&6
1379 ac_cv_host_alias=$host_alias
1380 test -z "$ac_cv_host_alias" &&
1381 ac_cv_host_alias=$ac_cv_build_alias
1382 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1383 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1384 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1385 { (exit 1); exit 1; }; }
1388 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1389 echo "${ECHO_T}$ac_cv_host" >&6
1391 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1392 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1393 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1396 echo "$as_me:$LINENO: checking target system type" >&5
1397 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1398 if test "${ac_cv_target+set}" = set; then
1399 echo $ECHO_N "(cached) $ECHO_C" >&6
1401 ac_cv_target_alias=$target_alias
1402 test "x$ac_cv_target_alias" = "x" &&
1403 ac_cv_target_alias=$ac_cv_host_alias
1404 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1405 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1406 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1407 { (exit 1); exit 1; }; }
1410 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1411 echo "${ECHO_T}$ac_cv_target" >&6
1412 target=$ac_cv_target
1413 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1414 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1415 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1418 # The aliases save the names the user supplied, while $host etc.
1419 # will get canonicalized.
1420 test -n "$target_alias" &&
1421 test "$program_prefix$program_suffix$program_transform_name" = \
1423 program_prefix=${target_alias}-
1425 ac_cpp='$CPP $CPPFLAGS'
1426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1427 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1429 if test -n "$ac_tool_prefix"; then
1430 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1431 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1432 echo "$as_me:$LINENO: checking for $ac_word" >&5
1433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1434 if test "${ac_cv_prog_CC+set}" = set; then
1435 echo $ECHO_N "(cached) $ECHO_C" >&6
1437 if test -n "$CC"; then
1438 ac_cv_prog_CC="$CC" # Let the user override the test.
1440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1444 test -z "$as_dir" && as_dir=.
1445 for ac_exec_ext in '' $ac_executable_extensions; do
1446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1447 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1457 if test -n "$CC"; then
1458 echo "$as_me:$LINENO: result: $CC" >&5
1459 echo "${ECHO_T}$CC" >&6
1461 echo "$as_me:$LINENO: result: no" >&5
1462 echo "${ECHO_T}no" >&6
1466 if test -z "$ac_cv_prog_CC"; then
1468 # Extract the first word of "gcc", so it can be a program name with args.
1469 set dummy gcc; ac_word=$2
1470 echo "$as_me:$LINENO: checking for $ac_word" >&5
1471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1472 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1473 echo $ECHO_N "(cached) $ECHO_C" >&6
1475 if test -n "$ac_ct_CC"; then
1476 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1482 test -z "$as_dir" && as_dir=.
1483 for ac_exec_ext in '' $ac_executable_extensions; do
1484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1485 ac_cv_prog_ac_ct_CC="gcc"
1486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1494 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1495 if test -n "$ac_ct_CC"; then
1496 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1497 echo "${ECHO_T}$ac_ct_CC" >&6
1499 echo "$as_me:$LINENO: result: no" >&5
1500 echo "${ECHO_T}no" >&6
1508 if test -z "$CC"; then
1509 if test -n "$ac_tool_prefix"; then
1510 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1511 set dummy ${ac_tool_prefix}cc; ac_word=$2
1512 echo "$as_me:$LINENO: checking for $ac_word" >&5
1513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1514 if test "${ac_cv_prog_CC+set}" = set; then
1515 echo $ECHO_N "(cached) $ECHO_C" >&6
1517 if test -n "$CC"; then
1518 ac_cv_prog_CC="$CC" # Let the user override the test.
1520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1524 test -z "$as_dir" && as_dir=.
1525 for ac_exec_ext in '' $ac_executable_extensions; do
1526 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1527 ac_cv_prog_CC="${ac_tool_prefix}cc"
1528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1537 if test -n "$CC"; then
1538 echo "$as_me:$LINENO: result: $CC" >&5
1539 echo "${ECHO_T}$CC" >&6
1541 echo "$as_me:$LINENO: result: no" >&5
1542 echo "${ECHO_T}no" >&6
1546 if test -z "$ac_cv_prog_CC"; then
1548 # Extract the first word of "cc", so it can be a program name with args.
1549 set dummy cc; ac_word=$2
1550 echo "$as_me:$LINENO: checking for $ac_word" >&5
1551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1552 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1553 echo $ECHO_N "(cached) $ECHO_C" >&6
1555 if test -n "$ac_ct_CC"; then
1556 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1562 test -z "$as_dir" && as_dir=.
1563 for ac_exec_ext in '' $ac_executable_extensions; do
1564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1565 ac_cv_prog_ac_ct_CC="cc"
1566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1574 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1575 if test -n "$ac_ct_CC"; then
1576 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1577 echo "${ECHO_T}$ac_ct_CC" >&6
1579 echo "$as_me:$LINENO: result: no" >&5
1580 echo "${ECHO_T}no" >&6
1589 if test -z "$CC"; then
1590 # Extract the first word of "cc", so it can be a program name with args.
1591 set dummy cc; ac_word=$2
1592 echo "$as_me:$LINENO: checking for $ac_word" >&5
1593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1594 if test "${ac_cv_prog_CC+set}" = set; then
1595 echo $ECHO_N "(cached) $ECHO_C" >&6
1597 if test -n "$CC"; then
1598 ac_cv_prog_CC="$CC" # Let the user override the test.
1601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1605 test -z "$as_dir" && as_dir=.
1606 for ac_exec_ext in '' $ac_executable_extensions; do
1607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1608 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1609 ac_prog_rejected=yes
1613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1619 if test $ac_prog_rejected = yes; then
1620 # We found a bogon in the path, so make sure we never use it.
1621 set dummy $ac_cv_prog_CC
1623 if test $# != 0; then
1624 # We chose a different compiler from the bogus one.
1625 # However, it has the same basename, so the bogon will be chosen
1626 # first if we set CC to just the basename; use the full file name.
1628 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1634 if test -n "$CC"; then
1635 echo "$as_me:$LINENO: result: $CC" >&5
1636 echo "${ECHO_T}$CC" >&6
1638 echo "$as_me:$LINENO: result: no" >&5
1639 echo "${ECHO_T}no" >&6
1643 if test -z "$CC"; then
1644 if test -n "$ac_tool_prefix"; then
1647 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1648 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1649 echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651 if test "${ac_cv_prog_CC+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 if test -n "$CC"; then
1655 ac_cv_prog_CC="$CC" # Let the user override the test.
1657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1661 test -z "$as_dir" && as_dir=.
1662 for ac_exec_ext in '' $ac_executable_extensions; do
1663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1664 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1674 if test -n "$CC"; then
1675 echo "$as_me:$LINENO: result: $CC" >&5
1676 echo "${ECHO_T}$CC" >&6
1678 echo "$as_me:$LINENO: result: no" >&5
1679 echo "${ECHO_T}no" >&6
1682 test -n "$CC" && break
1685 if test -z "$CC"; then
1689 # Extract the first word of "$ac_prog", so it can be a program name with args.
1690 set dummy $ac_prog; ac_word=$2
1691 echo "$as_me:$LINENO: checking for $ac_word" >&5
1692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1693 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 if test -n "$ac_ct_CC"; then
1697 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1703 test -z "$as_dir" && as_dir=.
1704 for ac_exec_ext in '' $ac_executable_extensions; do
1705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1706 ac_cv_prog_ac_ct_CC="$ac_prog"
1707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1715 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1716 if test -n "$ac_ct_CC"; then
1717 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1718 echo "${ECHO_T}$ac_ct_CC" >&6
1720 echo "$as_me:$LINENO: result: no" >&5
1721 echo "${ECHO_T}no" >&6
1724 test -n "$ac_ct_CC" && break
1733 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1734 See \`config.log' for more details.
" >&5
1735 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1736 See \
`config.log' for more details." >&2;}
1737 { (exit 1); exit 1; }; }
1739 # Provide some information about the compiler.
1740 echo "$as_me:$LINENO:" \
1741 "checking for C compiler version" >&5
1742 ac_compiler=`set X
$ac_compile; echo $2`
1743 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1744 (eval $ac_compiler --version </dev/null >&5) 2>&5
1746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1747 (exit $ac_status); }
1748 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1749 (eval $ac_compiler -v </dev/null >&5) 2>&5
1751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1752 (exit $ac_status); }
1753 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1754 (eval $ac_compiler -V </dev/null >&5) 2>&5
1756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1757 (exit $ac_status); }
1759 cat >conftest.$ac_ext <<_ACEOF
1762 cat confdefs.h >>conftest.$ac_ext
1763 cat >>conftest.$ac_ext <<_ACEOF
1764 /* end confdefs.h. */
1774 ac_clean_files_save=$ac_clean_files
1775 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1776 # Try to create an executable without -o first, disregard a.out.
1777 # It will help us diagnose broken compilers, and finding out an intuition
1779 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1780 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1781 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1782 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1783 (eval $ac_link_default) 2>&5
1785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1786 (exit $ac_status); }; then
1787 # Find the output, starting from the most likely. This scheme is
1788 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1791 # Be careful to initialize this variable, since it used to be cached.
1792 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1794 # b.out is created by i960 compilers.
1795 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1797 test -f "$ac_file" || continue
1799 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1802 # This is the source file.
1805 # We found the default executable, but exeext='' is most
1809 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1810 # FIXME: I believe we export ac_cv_exeext for Libtool,
1811 # but it would be cool to find out if it's true. Does anybody
1812 # maintain Libtool? --akim.
1820 echo "$as_me: failed program was:" >&5
1821 sed 's/^/| /' conftest.$ac_ext >&5
1823 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1824 See \`config.log
' for more details." >&5
1825 echo "$as_me: error: C compiler cannot create executables
1826 See \`config.log' for more details.
" >&2;}
1827 { (exit 77); exit 77; }; }
1830 ac_exeext=$ac_cv_exeext
1831 echo "$as_me:$LINENO: result
: $ac_file" >&5
1832 echo "${ECHO_T}$ac_file" >&6
1834 # Check the compiler produces executables we can run. If not, either
1835 # the compiler is broken, or we cross compile.
1836 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1837 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1838 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1839 # If not cross compiling, check that we can run a simple program.
1840 if test "$cross_compiling" != yes; then
1841 if { ac_try='./$ac_file'
1842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1845 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1846 (exit $ac_status); }; }; then
1849 if test "$cross_compiling" = maybe; then
1852 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1853 If you meant to cross compile
, use \
`--host'.
1854 See \`config.log
' for more details." >&5
1855 echo "$as_me: error: cannot run C compiled programs.
1856 If you meant to cross compile, use \`--host'.
1857 See \
`config.log' for more details." >&2;}
1858 { (exit 1); exit 1; }; }
1862 echo "$as_me:$LINENO: result: yes" >&5
1863 echo "${ECHO_T}yes" >&6
1865 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1866 ac_clean_files=$ac_clean_files_save
1867 # Check the compiler produces executables we can run. If not, either
1868 # the compiler is broken, or we cross compile.
1869 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1870 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1871 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1872 echo "${ECHO_T}$cross_compiling" >&6
1874 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1875 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1877 (eval $ac_link) 2>&5
1879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1880 (exit $ac_status); }; then
1881 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1882 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1883 # work properly (i.e., refer to `conftest.exe'), while it won't with
1885 for ac_file
in conftest.exe conftest conftest.
*; do
1886 test -f "$ac_file" ||
continue
1888 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1889 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1896 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1897 See \`config.log' for more details." >&5
1898 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1899 See \`config.log' for more details." >&2;}
1900 { (exit 1); exit 1; }; }
1903 rm -f conftest
$ac_cv_exeext
1904 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1905 echo "${ECHO_T}$ac_cv_exeext" >&6
1907 rm -f conftest.
$ac_ext
1908 EXEEXT
=$ac_cv_exeext
1910 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1911 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1912 if test "${ac_cv_objext+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1915 cat >conftest.
$ac_ext <<_ACEOF
1918 cat confdefs.h
>>conftest.
$ac_ext
1919 cat >>conftest.
$ac_ext <<_ACEOF
1920 /* end confdefs.h. */
1930 rm -f conftest.o conftest.obj
1931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1932 (eval $ac_compile) 2>&5
1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1935 (exit $ac_status); }; then
1936 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1938 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1939 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1944 echo "$as_me: failed program was:" >&5
1945 sed 's/^/| /' conftest.
$ac_ext >&5
1947 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1948 See \`config.log' for more details." >&5
1949 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1950 See \`config.log' for more details." >&2;}
1951 { (exit 1); exit 1; }; }
1954 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1956 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1957 echo "${ECHO_T}$ac_cv_objext" >&6
1958 OBJEXT
=$ac_cv_objext
1960 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1961 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1962 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6
1965 cat >conftest.
$ac_ext <<_ACEOF
1968 cat confdefs.h
>>conftest.
$ac_ext
1969 cat >>conftest.
$ac_ext <<_ACEOF
1970 /* end confdefs.h. */
1983 rm -f conftest.
$ac_objext
1984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1985 (eval $ac_compile) 2>conftest.er1
1987 grep -v '^ *+' conftest.er1
>conftest.err
1989 cat conftest.err
>&5
1990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1991 (exit $ac_status); } &&
1992 { ac_try
='test -z "$ac_c_werror_flag"
1993 || test ! -s conftest.err'
1994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); }; } &&
1999 { ac_try
='test -s conftest.$ac_objext'
2000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2004 (exit $ac_status); }; }; then
2007 echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.
$ac_ext >&5
2012 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2013 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2016 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2017 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2018 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2019 ac_test_CFLAGS
=${CFLAGS+set}
2020 ac_save_CFLAGS
=$CFLAGS
2022 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2023 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2024 if test "${ac_cv_prog_cc_g+set}" = set; then
2025 echo $ECHO_N "(cached) $ECHO_C" >&6
2027 cat >conftest.
$ac_ext <<_ACEOF
2030 cat confdefs.h
>>conftest.
$ac_ext
2031 cat >>conftest.
$ac_ext <<_ACEOF
2032 /* end confdefs.h. */
2042 rm -f conftest.
$ac_objext
2043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2044 (eval $ac_compile) 2>conftest.er1
2046 grep -v '^ *+' conftest.er1
>conftest.err
2048 cat conftest.err
>&5
2049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2050 (exit $ac_status); } &&
2051 { ac_try
='test -z "$ac_c_werror_flag"
2052 || test ! -s conftest.err'
2053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2057 (exit $ac_status); }; } &&
2058 { ac_try
='test -s conftest.$ac_objext'
2059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2063 (exit $ac_status); }; }; then
2066 echo "$as_me: failed program was:" >&5
2067 sed 's/^/| /' conftest.
$ac_ext >&5
2071 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2073 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2074 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2075 if test "$ac_test_CFLAGS" = set; then
2076 CFLAGS
=$ac_save_CFLAGS
2077 elif test $ac_cv_prog_cc_g = yes; then
2078 if test "$GCC" = yes; then
2084 if test "$GCC" = yes; then
2090 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2091 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2092 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2095 ac_cv_prog_cc_stdc
=no
2097 cat >conftest.
$ac_ext <<_ACEOF
2100 cat confdefs.h
>>conftest.
$ac_ext
2101 cat >>conftest.
$ac_ext <<_ACEOF
2102 /* end confdefs.h. */
2105 #include <sys/types.h>
2106 #include <sys/stat.h>
2107 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2108 struct buf { int x; };
2109 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2110 static char *e (p, i)
2116 static char *f (char * (*g) (char **, int), char **p, ...)
2121 s = g (p, va_arg (v,int));
2126 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2127 function prototypes and stuff, but not '\xHH' hex character constants.
2128 These don't provoke an error unfortunately, instead are silently treated
2129 as 'x'. The following induces an error, until -std1 is added to get
2130 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2131 array size at least. It's necessary to write '\x00'==0 to get something
2132 that's true only with -std1. */
2133 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2135 int test (int i, double x);
2136 struct s1 {int (*f) (int a);};
2137 struct s2 {int (*f) (double a);};
2138 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2144 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2149 # Don't try gcc -ansi; that turns off useful extensions and
2150 # breaks some systems' header files.
2151 # AIX -qlanglvl=ansi
2152 # Ultrix and OSF/1 -std1
2153 # HP-UX 10.20 and later -Ae
2154 # HP-UX older versions -Aa -D_HPUX_SOURCE
2155 # SVR4 -Xc -D__EXTENSIONS__
2156 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2158 CC
="$ac_save_CC $ac_arg"
2159 rm -f conftest.
$ac_objext
2160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2161 (eval $ac_compile) 2>conftest.er1
2163 grep -v '^ *+' conftest.er1
>conftest.err
2165 cat conftest.err
>&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); } &&
2168 { ac_try
='test -z "$ac_c_werror_flag"
2169 || test ! -s conftest.err'
2170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); }; } &&
2175 { ac_try
='test -s conftest.$ac_objext'
2176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180 (exit $ac_status); }; }; then
2181 ac_cv_prog_cc_stdc
=$ac_arg
2184 echo "$as_me: failed program was:" >&5
2185 sed 's/^/| /' conftest.
$ac_ext >&5
2188 rm -f conftest.err conftest.
$ac_objext
2190 rm -f conftest.
$ac_ext conftest.
$ac_objext
2195 case "x$ac_cv_prog_cc_stdc" in
2197 echo "$as_me:$LINENO: result: none needed" >&5
2198 echo "${ECHO_T}none needed" >&6 ;;
2200 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2201 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2202 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2205 # Some people use a C++ compiler to compile C. Since we use `exit',
2206 # in C++ we need to declare it. In case someone uses the same compiler
2207 # for both compiling C and C++ we need to have the C++ compiler decide
2208 # the declaration of exit, since it's the most demanding environment.
2209 cat >conftest.
$ac_ext <<_ACEOF
2214 rm -f conftest.
$ac_objext
2215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2216 (eval $ac_compile) 2>conftest.er1
2218 grep -v '^ *+' conftest.er1
>conftest.err
2220 cat conftest.err
>&5
2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222 (exit $ac_status); } &&
2223 { ac_try
='test -z "$ac_c_werror_flag"
2224 || test ! -s conftest.err'
2225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); }; } &&
2230 { ac_try
='test -s conftest.$ac_objext'
2231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); }; }; then
2236 for ac_declaration
in \
2238 'extern "C" void std::exit (int) throw (); using std::exit;' \
2239 'extern "C" void std::exit (int); using std::exit;' \
2240 'extern "C" void exit (int) throw ();' \
2241 'extern "C" void exit (int);' \
2244 cat >conftest.
$ac_ext <<_ACEOF
2247 cat confdefs.h
>>conftest.
$ac_ext
2248 cat >>conftest.
$ac_ext <<_ACEOF
2249 /* end confdefs.h. */
2260 rm -f conftest.
$ac_objext
2261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2262 (eval $ac_compile) 2>conftest.er1
2264 grep -v '^ *+' conftest.er1
>conftest.err
2266 cat conftest.err
>&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); } &&
2269 { ac_try
='test -z "$ac_c_werror_flag"
2270 || test ! -s conftest.err'
2271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); }; } &&
2276 { ac_try
='test -s conftest.$ac_objext'
2277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }; }; then
2284 echo "$as_me: failed program was:" >&5
2285 sed 's/^/| /' conftest.
$ac_ext >&5
2289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2290 cat >conftest.
$ac_ext <<_ACEOF
2293 cat confdefs.h
>>conftest.
$ac_ext
2294 cat >>conftest.
$ac_ext <<_ACEOF
2295 /* end confdefs.h. */
2305 rm -f conftest.
$ac_objext
2306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2307 (eval $ac_compile) 2>conftest.er1
2309 grep -v '^ *+' conftest.er1
>conftest.err
2311 cat conftest.err
>&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); } &&
2314 { ac_try
='test -z "$ac_c_werror_flag"
2315 || test ! -s conftest.err'
2316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }; } &&
2321 { ac_try
='test -s conftest.$ac_objext'
2322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }; }; then
2329 echo "$as_me: failed program was:" >&5
2330 sed 's/^/| /' conftest.
$ac_ext >&5
2333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2336 if test -n "$ac_declaration"; then
2337 echo '#ifdef __cplusplus' >>confdefs.h
2338 echo $ac_declaration >>confdefs.h
2339 echo '#endif' >>confdefs.h
2343 echo "$as_me: failed program was:" >&5
2344 sed 's/^/| /' conftest.
$ac_ext >&5
2347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2349 ac_cpp
='$CPP $CPPFLAGS'
2350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2355 # Determine the noncanonical target name, for directory use.
2356 case ${build_alias} in
2357 "") build_noncanonical
=${build} ;;
2358 *) build_noncanonical
=${build_alias} ;;
2361 case ${host_alias} in
2362 "") host_noncanonical
=${build_noncanonical} ;;
2363 *) host_noncanonical
=${host_alias} ;;
2366 case ${target_alias} in
2367 "") target_noncanonical
=${host_noncanonical} ;;
2368 *) target_noncanonical
=${target_alias} ;;
2374 # Specify the local prefix
2377 # Check whether --with-local-prefix or --without-local-prefix was given.
2378 if test "${with_local_prefix+set}" = set; then
2379 withval
="$with_local_prefix"
2380 case "${withval}" in
2381 yes) { { echo "$as_me:$LINENO: error: bad value ${withval} given for local include directory prefix" >&5
2382 echo "$as_me: error: bad value ${withval} given for local include directory prefix" >&2;}
2383 { (exit 1); exit 1; }; } ;;
2385 *) local_prefix
=$with_local_prefix ;;
2389 # Default local prefix if it is empty
2390 if test x
$local_prefix = x
; then
2391 local_prefix
=/usr
/local
2394 # Choose one or two-process fix methodology. Systems that cannot handle
2395 # bi-directional pipes must use the two process method.
2397 # Check whether --enable-twoprocess or --disable-twoprocess was given.
2398 if test "${enable_twoprocess+set}" = set; then
2399 enableval
="$enable_twoprocess"
2400 if test "x$enable_twoprocess" = xyes
; then
2407 i?
86-*-msdosdjgpp* | \
2420 if test $TARGET = twoprocess
; then
2422 cat >>confdefs.h
<<\_ACEOF
2423 #define SEPARATE_FIX_PROC 1
2428 # Get GCC's version number.
2429 gcc_version
=`sed -n '/version_string/ { s/.*"\([^ "]*\)[^"]*".*/\1/p ; }' ${srcdir}/../gcc/version.c`
2435 cat >>confdefs.h
<<\_ACEOF
2440 cat >>confdefs.h
<<\_ACEOF
2441 #define atexit xatexit
2448 cat >>confdefs.h
<<_ACEOF
2449 #define EXE_EXT "$ac_exeext"
2453 # Checks for header files.
2456 ac_cpp
='$CPP $CPPFLAGS'
2457 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2458 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2459 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2460 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2461 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2462 # On Suns, sometimes $CPP names a directory.
2463 if test -n "$CPP" && test -d "$CPP"; then
2466 if test -z "$CPP"; then
2467 if test "${ac_cv_prog_CPP+set}" = set; then
2468 echo $ECHO_N "(cached) $ECHO_C" >&6
2470 # Double quotes because CPP needs to be expanded
2471 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2474 for ac_c_preproc_warn_flag
in '' yes
2476 # Use a header file that comes with gcc, so configuring glibc
2477 # with a fresh cross-compiler works.
2478 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2479 # <limits.h> exists even on freestanding compilers.
2480 # On the NeXT, cc -E runs the code through the compiler's parser,
2481 # not just through cpp. "Syntax error" is here to catch this case.
2482 cat >conftest.
$ac_ext <<_ACEOF
2485 cat confdefs.h
>>conftest.
$ac_ext
2486 cat >>conftest.
$ac_ext <<_ACEOF
2487 /* end confdefs.h. */
2489 # include <limits.h>
2491 # include <assert.h>
2495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2496 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2498 grep -v '^ *+' conftest.er1
>conftest.err
2500 cat conftest.err
>&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); } >/dev
/null
; then
2503 if test -s conftest.err
; then
2504 ac_cpp_err
=$ac_c_preproc_warn_flag
2505 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2512 if test -z "$ac_cpp_err"; then
2515 echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.
$ac_ext >&5
2518 # Broken: fails on valid input.
2521 rm -f conftest.err conftest.
$ac_ext
2523 # OK, works on sane cases. Now check whether non-existent headers
2524 # can be detected and how.
2525 cat >conftest.
$ac_ext <<_ACEOF
2528 cat confdefs.h
>>conftest.
$ac_ext
2529 cat >>conftest.
$ac_ext <<_ACEOF
2530 /* end confdefs.h. */
2531 #include <ac_nonexistent.h>
2533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2536 grep -v '^ *+' conftest.er1
>conftest.err
2538 cat conftest.err
>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); } >/dev
/null
; then
2541 if test -s conftest.err
; then
2542 ac_cpp_err
=$ac_c_preproc_warn_flag
2543 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2550 if test -z "$ac_cpp_err"; then
2551 # Broken: success on invalid input.
2554 echo "$as_me: failed program was:" >&5
2555 sed 's/^/| /' conftest.
$ac_ext >&5
2557 # Passes both tests.
2561 rm -f conftest.err conftest.
$ac_ext
2564 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2565 rm -f conftest.err conftest.
$ac_ext
2566 if $ac_preproc_ok; then
2578 echo "$as_me:$LINENO: result: $CPP" >&5
2579 echo "${ECHO_T}$CPP" >&6
2581 for ac_c_preproc_warn_flag
in '' yes
2583 # Use a header file that comes with gcc, so configuring glibc
2584 # with a fresh cross-compiler works.
2585 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2586 # <limits.h> exists even on freestanding compilers.
2587 # On the NeXT, cc -E runs the code through the compiler's parser,
2588 # not just through cpp. "Syntax error" is here to catch this case.
2589 cat >conftest.
$ac_ext <<_ACEOF
2592 cat confdefs.h
>>conftest.
$ac_ext
2593 cat >>conftest.
$ac_ext <<_ACEOF
2594 /* end confdefs.h. */
2596 # include <limits.h>
2598 # include <assert.h>
2602 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2603 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2605 grep -v '^ *+' conftest.er1
>conftest.err
2607 cat conftest.err
>&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); } >/dev
/null
; then
2610 if test -s conftest.err
; then
2611 ac_cpp_err
=$ac_c_preproc_warn_flag
2612 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2619 if test -z "$ac_cpp_err"; then
2622 echo "$as_me: failed program was:" >&5
2623 sed 's/^/| /' conftest.
$ac_ext >&5
2625 # Broken: fails on valid input.
2628 rm -f conftest.err conftest.
$ac_ext
2630 # OK, works on sane cases. Now check whether non-existent headers
2631 # can be detected and how.
2632 cat >conftest.
$ac_ext <<_ACEOF
2635 cat confdefs.h
>>conftest.
$ac_ext
2636 cat >>conftest.
$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2638 #include <ac_nonexistent.h>
2640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2643 grep -v '^ *+' conftest.er1
>conftest.err
2645 cat conftest.err
>&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); } >/dev
/null
; then
2648 if test -s conftest.err
; then
2649 ac_cpp_err
=$ac_c_preproc_warn_flag
2650 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2657 if test -z "$ac_cpp_err"; then
2658 # Broken: success on invalid input.
2661 echo "$as_me: failed program was:" >&5
2662 sed 's/^/| /' conftest.
$ac_ext >&5
2664 # Passes both tests.
2668 rm -f conftest.err conftest.
$ac_ext
2671 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2672 rm -f conftest.err conftest.
$ac_ext
2673 if $ac_preproc_ok; then
2676 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2677 See \`config.log' for more details." >&5
2678 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2679 See \`config.log' for more details." >&2;}
2680 { (exit 1); exit 1; }; }
2684 ac_cpp
='$CPP $CPPFLAGS'
2685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2690 echo "$as_me:$LINENO: checking for egrep" >&5
2691 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2692 if test "${ac_cv_prog_egrep+set}" = set; then
2693 echo $ECHO_N "(cached) $ECHO_C" >&6
2695 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2696 then ac_cv_prog_egrep
='grep -E'
2697 else ac_cv_prog_egrep
='egrep'
2700 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2701 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2702 EGREP
=$ac_cv_prog_egrep
2705 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2706 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2707 if test "${ac_cv_header_stdc+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 cat >conftest.
$ac_ext <<_ACEOF
2713 cat confdefs.h
>>conftest.
$ac_ext
2714 cat >>conftest.
$ac_ext <<_ACEOF
2715 /* end confdefs.h. */
2729 rm -f conftest.
$ac_objext
2730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2731 (eval $ac_compile) 2>conftest.er1
2733 grep -v '^ *+' conftest.er1
>conftest.err
2735 cat conftest.err
>&5
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); } &&
2738 { ac_try
='test -z "$ac_c_werror_flag"
2739 || test ! -s conftest.err'
2740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; } &&
2745 { ac_try
='test -s conftest.$ac_objext'
2746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); }; }; then
2751 ac_cv_header_stdc
=yes
2753 echo "$as_me: failed program was:" >&5
2754 sed 's/^/| /' conftest.
$ac_ext >&5
2756 ac_cv_header_stdc
=no
2758 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2760 if test $ac_cv_header_stdc = yes; then
2761 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2762 cat >conftest.
$ac_ext <<_ACEOF
2765 cat confdefs.h
>>conftest.
$ac_ext
2766 cat >>conftest.
$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2772 $EGREP "memchr" >/dev
/null
2>&1; then
2775 ac_cv_header_stdc
=no
2781 if test $ac_cv_header_stdc = yes; then
2782 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2783 cat >conftest.
$ac_ext <<_ACEOF
2786 cat confdefs.h
>>conftest.
$ac_ext
2787 cat >>conftest.
$ac_ext <<_ACEOF
2788 /* end confdefs.h. */
2792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2793 $EGREP "free" >/dev
/null
2>&1; then
2796 ac_cv_header_stdc
=no
2802 if test $ac_cv_header_stdc = yes; then
2803 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2804 if test "$cross_compiling" = yes; then
2807 cat >conftest.
$ac_ext <<_ACEOF
2810 cat confdefs.h
>>conftest.
$ac_ext
2811 cat >>conftest.
$ac_ext <<_ACEOF
2812 /* end confdefs.h. */
2814 #if ((' ' & 0x0FF) == 0x020)
2815 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2816 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2818 # define ISLOWER(c) \
2819 (('a' <= (c) && (c) <= 'i') \
2820 || ('j' <= (c) && (c) <= 'r') \
2821 || ('s' <= (c) && (c) <= 'z'))
2822 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2825 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2830 for (i = 0; i < 256; i++)
2831 if (XOR (islower (i), ISLOWER (i))
2832 || toupper (i) != TOUPPER (i))
2837 rm -f conftest
$ac_exeext
2838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2839 (eval $ac_link) 2>&5
2841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2847 (exit $ac_status); }; }; then
2850 echo "$as_me: program exited with status $ac_status" >&5
2851 echo "$as_me: failed program was:" >&5
2852 sed 's/^/| /' conftest.
$ac_ext >&5
2855 ac_cv_header_stdc
=no
2857 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2861 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2862 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2863 if test $ac_cv_header_stdc = yes; then
2865 cat >>confdefs.h
<<\_ACEOF
2866 #define STDC_HEADERS 1
2871 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2881 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2882 inttypes.h stdint.h unistd.h
2884 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2885 echo "$as_me:$LINENO: checking for $ac_header" >&5
2886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2888 echo $ECHO_N "(cached) $ECHO_C" >&6
2890 cat >conftest.
$ac_ext <<_ACEOF
2893 cat confdefs.h
>>conftest.
$ac_ext
2894 cat >>conftest.
$ac_ext <<_ACEOF
2895 /* end confdefs.h. */
2896 $ac_includes_default
2898 #include <$ac_header>
2900 rm -f conftest.
$ac_objext
2901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2902 (eval $ac_compile) 2>conftest.er1
2904 grep -v '^ *+' conftest.er1
>conftest.err
2906 cat conftest.err
>&5
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); } &&
2909 { ac_try
='test -z "$ac_c_werror_flag"
2910 || test ! -s conftest.err'
2911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }; } &&
2916 { ac_try
='test -s conftest.$ac_objext'
2917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; }; then
2922 eval "$as_ac_Header=yes"
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.
$ac_ext >&5
2927 eval "$as_ac_Header=no"
2929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2932 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2934 cat >>confdefs.h
<<_ACEOF
2935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2950 for ac_header
in stddef.h stdlib.h
strings.h unistd.h fcntl.h sys
/file.h \
2953 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2954 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2955 echo "$as_me:$LINENO: checking for $ac_header" >&5
2956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2958 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2963 # Is the header compilable?
2964 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2965 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2966 cat >conftest.
$ac_ext <<_ACEOF
2969 cat confdefs.h
>>conftest.
$ac_ext
2970 cat >>conftest.
$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2972 $ac_includes_default
2973 #include <$ac_header>
2975 rm -f conftest.
$ac_objext
2976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2977 (eval $ac_compile) 2>conftest.er1
2979 grep -v '^ *+' conftest.er1
>conftest.err
2981 cat conftest.err
>&5
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); } &&
2984 { ac_try
='test -z "$ac_c_werror_flag"
2985 || test ! -s conftest.err'
2986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); }; } &&
2991 { ac_try
='test -s conftest.$ac_objext'
2992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2996 (exit $ac_status); }; }; then
2997 ac_header_compiler
=yes
2999 echo "$as_me: failed program was:" >&5
3000 sed 's/^/| /' conftest.
$ac_ext >&5
3002 ac_header_compiler
=no
3004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3005 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3006 echo "${ECHO_T}$ac_header_compiler" >&6
3008 # Is the header present?
3009 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3010 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3011 cat >conftest.
$ac_ext <<_ACEOF
3014 cat confdefs.h
>>conftest.
$ac_ext
3015 cat >>conftest.
$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3017 #include <$ac_header>
3019 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3020 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3022 grep -v '^ *+' conftest.er1
>conftest.err
3024 cat conftest.err
>&5
3025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3026 (exit $ac_status); } >/dev
/null
; then
3027 if test -s conftest.err
; then
3028 ac_cpp_err
=$ac_c_preproc_warn_flag
3029 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3036 if test -z "$ac_cpp_err"; then
3037 ac_header_preproc
=yes
3039 echo "$as_me: failed program was:" >&5
3040 sed 's/^/| /' conftest.
$ac_ext >&5
3042 ac_header_preproc
=no
3044 rm -f conftest.err conftest.
$ac_ext
3045 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3046 echo "${ECHO_T}$ac_header_preproc" >&6
3048 # So? What about this header?
3049 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3051 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3052 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3053 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3054 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3055 ac_header_preproc
=yes
3058 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3059 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3060 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3061 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3062 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3063 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3064 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3065 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3066 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3067 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3068 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3069 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3072 ## -------------------------------------- ##
3073 ## Report this to the fixincludes lists. ##
3074 ## -------------------------------------- ##
3077 sed "s/^/$as_me: WARNING: /" >&2
3080 echo "$as_me:$LINENO: checking for $ac_header" >&5
3081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3083 echo $ECHO_N "(cached) $ECHO_C" >&6
3085 eval "$as_ac_Header=\$ac_header_preproc"
3087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3092 cat >>confdefs.h
<<_ACEOF
3093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3105 for ac_func
in putc_unlocked fputc_unlocked fputs_unlocked \
3106 fwrite_unlocked fprintf_unlocked
3108 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3109 echo "$as_me:$LINENO: checking for $ac_func" >&5
3110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3111 if eval "test \"\${$as_ac_var+set}\" = set"; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3114 cat >conftest.
$ac_ext <<_ACEOF
3117 cat confdefs.h
>>conftest.
$ac_ext
3118 cat >>conftest.
$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3122 #define $ac_func innocuous_$ac_func
3124 /* System header to define __stub macros and hopefully few prototypes,
3125 which can conflict with char $ac_func (); below.
3126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3127 <limits.h> exists even on freestanding compilers. */
3130 # include <limits.h>
3132 # include <assert.h>
3137 /* Override any gcc2 internal prototype to avoid an error. */
3142 /* We use char because int might match the return type of a gcc2
3143 builtin and then its argument prototype would still apply. */
3145 /* The GNU C library defines this for functions which it implements
3146 to always fail with ENOSYS. Some functions are actually named
3147 something starting with __ and the normal name is an alias. */
3148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3151 char (*f) () = $ac_func;
3160 return f != $ac_func;
3165 rm -f conftest.
$ac_objext conftest
$ac_exeext
3166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3167 (eval $ac_link) 2>conftest.er1
3169 grep -v '^ *+' conftest.er1
>conftest.err
3171 cat conftest.err
>&5
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); } &&
3174 { ac_try
='test -z "$ac_c_werror_flag"
3175 || test ! -s conftest.err'
3176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); }; } &&
3181 { ac_try
='test -s conftest$ac_exeext'
3182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); }; }; then
3187 eval "$as_ac_var=yes"
3189 echo "$as_me: failed program was:" >&5
3190 sed 's/^/| /' conftest.
$ac_ext >&5
3192 eval "$as_ac_var=no"
3194 rm -f conftest.err conftest.
$ac_objext \
3195 conftest
$ac_exeext conftest.
$ac_ext
3197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3199 if test `eval echo '${'$as_ac_var'}'` = yes; then
3200 cat >>confdefs.h
<<_ACEOF
3201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3207 echo "$as_me:$LINENO: checking whether abort is declared" >&5
3208 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6
3209 if test "${ac_cv_have_decl_abort+set}" = set; then
3210 echo $ECHO_N "(cached) $ECHO_C" >&6
3212 cat >conftest.
$ac_ext <<_ACEOF
3215 cat confdefs.h
>>conftest.
$ac_ext
3216 cat >>conftest.
$ac_ext <<_ACEOF
3217 /* end confdefs.h. */
3218 $ac_includes_default
3223 char *p = (char *) abort;
3230 rm -f conftest.
$ac_objext
3231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3232 (eval $ac_compile) 2>conftest.er1
3234 grep -v '^ *+' conftest.er1
>conftest.err
3236 cat conftest.err
>&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } &&
3239 { ac_try
='test -z "$ac_c_werror_flag"
3240 || test ! -s conftest.err'
3241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245 (exit $ac_status); }; } &&
3246 { ac_try
='test -s conftest.$ac_objext'
3247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); }; }; then
3252 ac_cv_have_decl_abort
=yes
3254 echo "$as_me: failed program was:" >&5
3255 sed 's/^/| /' conftest.
$ac_ext >&5
3257 ac_cv_have_decl_abort
=no
3259 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3261 echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
3262 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6
3263 if test $ac_cv_have_decl_abort = yes; then
3265 cat >>confdefs.h
<<_ACEOF
3266 #define HAVE_DECL_ABORT 1
3271 cat >>confdefs.h
<<_ACEOF
3272 #define HAVE_DECL_ABORT 0
3277 echo "$as_me:$LINENO: checking whether errno is declared" >&5
3278 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6
3279 if test "${ac_cv_have_decl_errno+set}" = set; then
3280 echo $ECHO_N "(cached) $ECHO_C" >&6
3282 cat >conftest.
$ac_ext <<_ACEOF
3285 cat confdefs.h
>>conftest.
$ac_ext
3286 cat >>conftest.
$ac_ext <<_ACEOF
3287 /* end confdefs.h. */
3288 $ac_includes_default
3293 char *p = (char *) errno;
3300 rm -f conftest.
$ac_objext
3301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3302 (eval $ac_compile) 2>conftest.er1
3304 grep -v '^ *+' conftest.er1
>conftest.err
3306 cat conftest.err
>&5
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); } &&
3309 { ac_try
='test -z "$ac_c_werror_flag"
3310 || test ! -s conftest.err'
3311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); }; } &&
3316 { ac_try
='test -s conftest.$ac_objext'
3317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); }; }; then
3322 ac_cv_have_decl_errno
=yes
3324 echo "$as_me: failed program was:" >&5
3325 sed 's/^/| /' conftest.
$ac_ext >&5
3327 ac_cv_have_decl_errno
=no
3329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3331 echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
3332 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6
3333 if test $ac_cv_have_decl_errno = yes; then
3335 cat >>confdefs.h
<<_ACEOF
3336 #define HAVE_DECL_ERRNO 1
3341 cat >>confdefs.h
<<_ACEOF
3342 #define HAVE_DECL_ERRNO 0
3347 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
3348 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
3349 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
3350 echo $ECHO_N "(cached) $ECHO_C" >&6
3352 cat >conftest.
$ac_ext <<_ACEOF
3355 cat confdefs.h
>>conftest.
$ac_ext
3356 cat >>conftest.
$ac_ext <<_ACEOF
3357 /* end confdefs.h. */
3358 $ac_includes_default
3362 #ifndef putc_unlocked
3363 char *p = (char *) putc_unlocked;
3370 rm -f conftest.
$ac_objext
3371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3372 (eval $ac_compile) 2>conftest.er1
3374 grep -v '^ *+' conftest.er1
>conftest.err
3376 cat conftest.err
>&5
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); } &&
3379 { ac_try
='test -z "$ac_c_werror_flag"
3380 || test ! -s conftest.err'
3381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385 (exit $ac_status); }; } &&
3386 { ac_try
='test -s conftest.$ac_objext'
3387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); }; }; then
3392 ac_cv_have_decl_putc_unlocked
=yes
3394 echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.
$ac_ext >&5
3397 ac_cv_have_decl_putc_unlocked
=no
3399 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3401 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
3402 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
3403 if test $ac_cv_have_decl_putc_unlocked = yes; then
3405 cat >>confdefs.h
<<_ACEOF
3406 #define HAVE_DECL_PUTC_UNLOCKED 1
3411 cat >>confdefs.h
<<_ACEOF
3412 #define HAVE_DECL_PUTC_UNLOCKED 0
3417 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
3418 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
3419 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
3420 echo $ECHO_N "(cached) $ECHO_C" >&6
3422 cat >conftest.
$ac_ext <<_ACEOF
3425 cat confdefs.h
>>conftest.
$ac_ext
3426 cat >>conftest.
$ac_ext <<_ACEOF
3427 /* end confdefs.h. */
3428 $ac_includes_default
3432 #ifndef fputc_unlocked
3433 char *p = (char *) fputc_unlocked;
3440 rm -f conftest.
$ac_objext
3441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3442 (eval $ac_compile) 2>conftest.er1
3444 grep -v '^ *+' conftest.er1
>conftest.err
3446 cat conftest.err
>&5
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); } &&
3449 { ac_try
='test -z "$ac_c_werror_flag"
3450 || test ! -s conftest.err'
3451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); }; } &&
3456 { ac_try
='test -s conftest.$ac_objext'
3457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); }; }; then
3462 ac_cv_have_decl_fputc_unlocked
=yes
3464 echo "$as_me: failed program was:" >&5
3465 sed 's/^/| /' conftest.
$ac_ext >&5
3467 ac_cv_have_decl_fputc_unlocked
=no
3469 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3471 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
3472 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
3473 if test $ac_cv_have_decl_fputc_unlocked = yes; then
3475 cat >>confdefs.h
<<_ACEOF
3476 #define HAVE_DECL_FPUTC_UNLOCKED 1
3481 cat >>confdefs.h
<<_ACEOF
3482 #define HAVE_DECL_FPUTC_UNLOCKED 0
3487 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
3488 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
3489 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
3490 echo $ECHO_N "(cached) $ECHO_C" >&6
3492 cat >conftest.
$ac_ext <<_ACEOF
3495 cat confdefs.h
>>conftest.
$ac_ext
3496 cat >>conftest.
$ac_ext <<_ACEOF
3497 /* end confdefs.h. */
3498 $ac_includes_default
3502 #ifndef fputs_unlocked
3503 char *p = (char *) fputs_unlocked;
3510 rm -f conftest.
$ac_objext
3511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3512 (eval $ac_compile) 2>conftest.er1
3514 grep -v '^ *+' conftest.er1
>conftest.err
3516 cat conftest.err
>&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); } &&
3519 { ac_try
='test -z "$ac_c_werror_flag"
3520 || test ! -s conftest.err'
3521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3525 (exit $ac_status); }; } &&
3526 { ac_try
='test -s conftest.$ac_objext'
3527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); }; }; then
3532 ac_cv_have_decl_fputs_unlocked
=yes
3534 echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.
$ac_ext >&5
3537 ac_cv_have_decl_fputs_unlocked
=no
3539 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3541 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
3542 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
3543 if test $ac_cv_have_decl_fputs_unlocked = yes; then
3545 cat >>confdefs.h
<<_ACEOF
3546 #define HAVE_DECL_FPUTS_UNLOCKED 1
3551 cat >>confdefs.h
<<_ACEOF
3552 #define HAVE_DECL_FPUTS_UNLOCKED 0
3557 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
3558 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
3559 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 cat >conftest.
$ac_ext <<_ACEOF
3565 cat confdefs.h
>>conftest.
$ac_ext
3566 cat >>conftest.
$ac_ext <<_ACEOF
3567 /* end confdefs.h. */
3568 $ac_includes_default
3572 #ifndef fwrite_unlocked
3573 char *p = (char *) fwrite_unlocked;
3580 rm -f conftest.
$ac_objext
3581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3582 (eval $ac_compile) 2>conftest.er1
3584 grep -v '^ *+' conftest.er1
>conftest.err
3586 cat conftest.err
>&5
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); } &&
3589 { ac_try
='test -z "$ac_c_werror_flag"
3590 || test ! -s conftest.err'
3591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); }; } &&
3596 { ac_try
='test -s conftest.$ac_objext'
3597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); }; }; then
3602 ac_cv_have_decl_fwrite_unlocked
=yes
3604 echo "$as_me: failed program was:" >&5
3605 sed 's/^/| /' conftest.
$ac_ext >&5
3607 ac_cv_have_decl_fwrite_unlocked
=no
3609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3611 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
3612 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
3613 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
3615 cat >>confdefs.h
<<_ACEOF
3616 #define HAVE_DECL_FWRITE_UNLOCKED 1
3621 cat >>confdefs.h
<<_ACEOF
3622 #define HAVE_DECL_FWRITE_UNLOCKED 0
3627 echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
3628 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6
3629 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
3630 echo $ECHO_N "(cached) $ECHO_C" >&6
3632 cat >conftest.
$ac_ext <<_ACEOF
3635 cat confdefs.h
>>conftest.
$ac_ext
3636 cat >>conftest.
$ac_ext <<_ACEOF
3637 /* end confdefs.h. */
3638 $ac_includes_default
3642 #ifndef fprintf_unlocked
3643 char *p = (char *) fprintf_unlocked;
3650 rm -f conftest.
$ac_objext
3651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3652 (eval $ac_compile) 2>conftest.er1
3654 grep -v '^ *+' conftest.er1
>conftest.err
3656 cat conftest.err
>&5
3657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3658 (exit $ac_status); } &&
3659 { ac_try
='test -z "$ac_c_werror_flag"
3660 || test ! -s conftest.err'
3661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); }; } &&
3666 { ac_try
='test -s conftest.$ac_objext'
3667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); }; }; then
3672 ac_cv_have_decl_fprintf_unlocked
=yes
3674 echo "$as_me: failed program was:" >&5
3675 sed 's/^/| /' conftest.
$ac_ext >&5
3677 ac_cv_have_decl_fprintf_unlocked
=no
3679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3681 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
3682 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6
3683 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
3685 cat >>confdefs.h
<<_ACEOF
3686 #define HAVE_DECL_FPRINTF_UNLOCKED 1
3691 cat >>confdefs.h
<<_ACEOF
3692 #define HAVE_DECL_FPRINTF_UNLOCKED 0
3700 # Checks for typedefs, structures, and compiler characteristics.
3701 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3702 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3703 if test "${ac_cv_c_const+set}" = set; then
3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3706 cat >conftest.
$ac_ext <<_ACEOF
3709 cat confdefs.h
>>conftest.
$ac_ext
3710 cat >>conftest.
$ac_ext <<_ACEOF
3711 /* end confdefs.h. */
3716 /* FIXME: Include the comments suggested by Paul. */
3718 /* Ultrix mips cc rejects this. */
3719 typedef int charset[2];
3721 /* SunOS 4.1.1 cc rejects this. */
3722 char const *const *ccp;
3724 /* NEC SVR4.0.2 mips cc rejects this. */
3725 struct point {int x, y;};
3726 static struct point const zero = {0,0};
3727 /* AIX XL C 1.02.0.0 rejects this.
3728 It does not let you subtract one const X* pointer from another in
3729 an arm of an if-expression whose if-part is not a constant
3731 const char *g = "string";
3732 ccp = &g + (g ? g-g : 0);
3733 /* HPUX 7.0 cc rejects these. */
3736 ccp = (char const *const *) p;
3737 { /* SCO 3.2v4 cc rejects this. */
3739 char const *s = 0 ? (char *) 0 : (char const *) 0;
3743 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3745 const int *foo = &x[0];
3748 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3749 typedef const int *iptr;
3753 { /* AIX XL C 1.02.0.0 rejects this saying
3754 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3755 struct s { int j; const int *ap[3]; };
3756 struct s *b; b->j = 5;
3758 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
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
3791 echo "$as_me: failed program was:" >&5
3792 sed 's/^/| /' conftest.
$ac_ext >&5
3796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3798 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3799 echo "${ECHO_T}$ac_cv_c_const" >&6
3800 if test $ac_cv_c_const = no
; then
3802 cat >>confdefs.h
<<\_ACEOF
3809 # Checks for library functions.
3811 if test "${ac_cv_header_sys_mman_h+set}" = set; then
3812 echo "$as_me:$LINENO: checking for sys/mman.h" >&5
3813 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6
3814 if test "${ac_cv_header_sys_mman_h+set}" = set; then
3815 echo $ECHO_N "(cached) $ECHO_C" >&6
3817 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
3818 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6
3820 # Is the header compilable?
3821 echo "$as_me:$LINENO: checking sys/mman.h usability" >&5
3822 echo $ECHO_N "checking sys/mman.h usability... $ECHO_C" >&6
3823 cat >conftest.
$ac_ext <<_ACEOF
3826 cat confdefs.h
>>conftest.
$ac_ext
3827 cat >>conftest.
$ac_ext <<_ACEOF
3828 /* end confdefs.h. */
3829 $ac_includes_default
3830 #include <sys/mman.h>
3832 rm -f conftest.
$ac_objext
3833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3834 (eval $ac_compile) 2>conftest.er1
3836 grep -v '^ *+' conftest.er1
>conftest.err
3838 cat conftest.err
>&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); } &&
3841 { ac_try
='test -z "$ac_c_werror_flag"
3842 || test ! -s conftest.err'
3843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3847 (exit $ac_status); }; } &&
3848 { ac_try
='test -s conftest.$ac_objext'
3849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); }; }; then
3854 ac_header_compiler
=yes
3856 echo "$as_me: failed program was:" >&5
3857 sed 's/^/| /' conftest.
$ac_ext >&5
3859 ac_header_compiler
=no
3861 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3863 echo "${ECHO_T}$ac_header_compiler" >&6
3865 # Is the header present?
3866 echo "$as_me:$LINENO: checking sys/mman.h presence" >&5
3867 echo $ECHO_N "checking sys/mman.h presence... $ECHO_C" >&6
3868 cat >conftest.
$ac_ext <<_ACEOF
3871 cat confdefs.h
>>conftest.
$ac_ext
3872 cat >>conftest.
$ac_ext <<_ACEOF
3873 /* end confdefs.h. */
3874 #include <sys/mman.h>
3876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3877 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3879 grep -v '^ *+' conftest.er1
>conftest.err
3881 cat conftest.err
>&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); } >/dev
/null
; then
3884 if test -s conftest.err
; then
3885 ac_cpp_err
=$ac_c_preproc_warn_flag
3886 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3893 if test -z "$ac_cpp_err"; then
3894 ac_header_preproc
=yes
3896 echo "$as_me: failed program was:" >&5
3897 sed 's/^/| /' conftest.
$ac_ext >&5
3899 ac_header_preproc
=no
3901 rm -f conftest.err conftest.
$ac_ext
3902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3903 echo "${ECHO_T}$ac_header_preproc" >&6
3905 # So? What about this header?
3906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3908 { echo "$as_me:$LINENO: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&5
3909 echo "$as_me: WARNING: sys/mman.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3910 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the compiler's result" >&5
3911 echo "$as_me: WARNING: sys/mman.h: proceeding with the compiler's result" >&2;}
3912 ac_header_preproc
=yes
3915 { echo "$as_me:$LINENO: WARNING: sys/mman.h: present but cannot be compiled" >&5
3916 echo "$as_me: WARNING: sys/mman.h: present but cannot be compiled" >&2;}
3917 { echo "$as_me:$LINENO: WARNING: sys/mman.h: check for missing prerequisite headers?" >&5
3918 echo "$as_me: WARNING: sys/mman.h: check for missing prerequisite headers?" >&2;}
3919 { echo "$as_me:$LINENO: WARNING: sys/mman.h: see the Autoconf documentation" >&5
3920 echo "$as_me: WARNING: sys/mman.h: see the Autoconf documentation" >&2;}
3921 { echo "$as_me:$LINENO: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&5
3922 echo "$as_me: WARNING: sys/mman.h: section \"Present But Cannot Be Compiled\"" >&2;}
3923 { echo "$as_me:$LINENO: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&5
3924 echo "$as_me: WARNING: sys/mman.h: proceeding with the preprocessor's result" >&2;}
3925 { echo "$as_me:$LINENO: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&5
3926 echo "$as_me: WARNING: sys/mman.h: in the future, the compiler will take precedence" >&2;}
3929 ## -------------------------------------- ##
3930 ## Report this to the fixincludes lists. ##
3931 ## -------------------------------------- ##
3934 sed "s/^/$as_me: WARNING: /" >&2
3937 echo "$as_me:$LINENO: checking for sys/mman.h" >&5
3938 echo $ECHO_N "checking for sys/mman.h... $ECHO_C" >&6
3939 if test "${ac_cv_header_sys_mman_h+set}" = set; then
3940 echo $ECHO_N "(cached) $ECHO_C" >&6
3942 ac_cv_header_sys_mman_h
=$ac_header_preproc
3944 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mman_h" >&5
3945 echo "${ECHO_T}$ac_cv_header_sys_mman_h" >&6
3948 if test $ac_cv_header_sys_mman_h = yes; then
3949 gcc_header_sys_mman_h
=yes
3951 gcc_header_sys_mman_h
=no
3955 echo "$as_me:$LINENO: checking for mmap" >&5
3956 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
3957 if test "${ac_cv_func_mmap+set}" = set; then
3958 echo $ECHO_N "(cached) $ECHO_C" >&6
3960 cat >conftest.
$ac_ext <<_ACEOF
3963 cat confdefs.h
>>conftest.
$ac_ext
3964 cat >>conftest.
$ac_ext <<_ACEOF
3965 /* end confdefs.h. */
3966 /* Define mmap to an innocuous variant, in case <limits.h> declares mmap.
3967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3968 #define mmap innocuous_mmap
3970 /* System header to define __stub macros and hopefully few prototypes,
3971 which can conflict with char mmap (); below.
3972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3973 <limits.h> exists even on freestanding compilers. */
3976 # include <limits.h>
3978 # include <assert.h>
3983 /* Override any gcc2 internal prototype to avoid an error. */
3988 /* We use char because int might match the return type of a gcc2
3989 builtin and then its argument prototype would still apply. */
3991 /* The GNU C library defines this for functions which it implements
3992 to always fail with ENOSYS. Some functions are actually named
3993 something starting with __ and the normal name is an alias. */
3994 #if defined (__stub_mmap) || defined (__stub___mmap)
3997 char (*f) () = mmap;
4011 rm -f conftest.
$ac_objext conftest
$ac_exeext
4012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4013 (eval $ac_link) 2>conftest.er1
4015 grep -v '^ *+' conftest.er1
>conftest.err
4017 cat conftest.err
>&5
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); } &&
4020 { ac_try
='test -z "$ac_c_werror_flag"
4021 || test ! -s conftest.err'
4022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); }; } &&
4027 { ac_try
='test -s conftest$ac_exeext'
4028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); }; }; then
4035 echo "$as_me: failed program was:" >&5
4036 sed 's/^/| /' conftest.
$ac_ext >&5
4040 rm -f conftest.err conftest.
$ac_objext \
4041 conftest
$ac_exeext conftest.
$ac_ext
4043 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
4044 echo "${ECHO_T}$ac_cv_func_mmap" >&6
4045 if test $ac_cv_func_mmap = yes; then
4051 if test "$gcc_header_sys_mman_h" != yes \
4052 ||
test "$gcc_func_mmap" != yes; then
4053 gcc_cv_func_mmap_file
=no
4054 gcc_cv_func_mmap_dev_zero
=no
4055 gcc_cv_func_mmap_anon
=no
4057 echo "$as_me:$LINENO: checking whether read-only mmap of a plain file works" >&5
4058 echo $ECHO_N "checking whether read-only mmap of a plain file works... $ECHO_C" >&6
4059 if test "${gcc_cv_func_mmap_file+set}" = set; then
4060 echo $ECHO_N "(cached) $ECHO_C" >&6
4062 # Add a system to this blacklist if
4063 # mmap(0, stat_size, PROT_READ, MAP_PRIVATE, fd, 0) doesn't return a
4064 # memory area containing the same data that you'd get if you applied
4065 # read() to the same fd. The only system known to have a problem here
4066 # is VMS, where text files have record structure.
4069 gcc_cv_func_mmap_file
=no
;;
4071 gcc_cv_func_mmap_file
=yes;;
4074 echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_file" >&5
4075 echo "${ECHO_T}$gcc_cv_func_mmap_file" >&6
4076 echo "$as_me:$LINENO: checking whether mmap from /dev/zero works" >&5
4077 echo $ECHO_N "checking whether mmap from /dev/zero works... $ECHO_C" >&6
4078 if test "${gcc_cv_func_mmap_dev_zero+set}" = set; then
4079 echo $ECHO_N "(cached) $ECHO_C" >&6
4081 # Add a system to this blacklist if it has mmap() but /dev/zero
4082 # does not exist, or if mmapping /dev/zero does not give anonymous
4083 # zeroed pages with both the following properties:
4084 # 1. If you map N consecutive pages in with one call, and then
4085 # unmap any subset of those pages, the pages that were not
4086 # explicitly unmapped remain accessible.
4087 # 2. If you map two adjacent blocks of memory and then unmap them
4088 # both at once, they must both go away.
4089 # Systems known to be in this category are Windows (all variants),
4092 vms
* | cygwin
* | pe | mingw
* | darwin
* | ultrix
* | hpux10
* | hpux11.00
)
4093 gcc_cv_func_mmap_dev_zero
=no
;;
4095 gcc_cv_func_mmap_dev_zero
=yes;;
4098 echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_dev_zero" >&5
4099 echo "${ECHO_T}$gcc_cv_func_mmap_dev_zero" >&6
4101 # Unlike /dev/zero, the MAP_ANON(YMOUS) defines can be probed for.
4102 echo "$as_me:$LINENO: checking for MAP_ANON(YMOUS)" >&5
4103 echo $ECHO_N "checking for MAP_ANON(YMOUS)... $ECHO_C" >&6
4104 if test "${gcc_cv_decl_map_anon+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4107 cat >conftest.
$ac_ext <<_ACEOF
4110 cat confdefs.h
>>conftest.
$ac_ext
4111 cat >>conftest.
$ac_ext <<_ACEOF
4112 /* end confdefs.h. */
4113 #include <sys/types.h>
4114 #include <sys/mman.h>
4117 #ifndef MAP_ANONYMOUS
4118 #define MAP_ANONYMOUS MAP_ANON
4124 int n = MAP_ANONYMOUS;
4129 rm -f conftest.
$ac_objext
4130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4131 (eval $ac_compile) 2>conftest.er1
4133 grep -v '^ *+' conftest.er1
>conftest.err
4135 cat conftest.err
>&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } &&
4138 { ac_try
='test -z "$ac_c_werror_flag"
4139 || test ! -s conftest.err'
4140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4144 (exit $ac_status); }; } &&
4145 { ac_try
='test -s conftest.$ac_objext'
4146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4150 (exit $ac_status); }; }; then
4151 gcc_cv_decl_map_anon
=yes
4153 echo "$as_me: failed program was:" >&5
4154 sed 's/^/| /' conftest.
$ac_ext >&5
4156 gcc_cv_decl_map_anon
=no
4158 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4160 echo "$as_me:$LINENO: result: $gcc_cv_decl_map_anon" >&5
4161 echo "${ECHO_T}$gcc_cv_decl_map_anon" >&6
4163 if test $gcc_cv_decl_map_anon = no
; then
4164 gcc_cv_func_mmap_anon
=no
4166 echo "$as_me:$LINENO: checking whether mmap with MAP_ANON(YMOUS) works" >&5
4167 echo $ECHO_N "checking whether mmap with MAP_ANON(YMOUS) works... $ECHO_C" >&6
4168 if test "${gcc_cv_func_mmap_anon+set}" = set; then
4169 echo $ECHO_N "(cached) $ECHO_C" >&6
4171 # Add a system to this blacklist if it has mmap() and MAP_ANON or
4172 # MAP_ANONYMOUS, but using mmap(..., MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
4173 # doesn't give anonymous zeroed pages with the same properties listed
4174 # above for use of /dev/zero.
4175 # Systems known to be in this category are Windows, VMS, and SCO Unix.
4177 vms
* | cygwin
* | pe | mingw
* | sco
* | udk
* )
4178 gcc_cv_func_mmap_anon
=no
;;
4180 gcc_cv_func_mmap_anon
=yes;;
4183 echo "$as_me:$LINENO: result: $gcc_cv_func_mmap_anon" >&5
4184 echo "${ECHO_T}$gcc_cv_func_mmap_anon" >&6
4188 if test $gcc_cv_func_mmap_file = yes; then
4190 cat >>confdefs.h
<<\_ACEOF
4191 #define HAVE_MMAP_FILE 1
4195 if test $gcc_cv_func_mmap_dev_zero = yes; then
4197 cat >>confdefs.h
<<\_ACEOF
4198 #define HAVE_MMAP_DEV_ZERO 1
4202 if test $gcc_cv_func_mmap_anon = yes; then
4204 cat >>confdefs.h
<<\_ACEOF
4205 #define HAVE_MMAP_ANON 1
4211 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4212 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4213 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4214 if test "${enable_maintainer_mode+set}" = set; then
4215 enableval
="$enable_maintainer_mode"
4216 USE_MAINTAINER_MODE
=$enableval
4218 USE_MAINTAINER_MODE
=no
4220 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4221 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4222 if test "$USE_MAINTAINER_MODE" = yes; then
4229 ac_config_headers
="$ac_config_headers config.h"
4231 ac_config_files
="$ac_config_files Makefile mkheaders"
4233 cat >confcache
<<\_ACEOF
4234 # This file is a shell script that caches the results of configure
4235 # tests run on this system so they can be shared between configure
4236 # scripts and configure runs, see configure's option --config-cache.
4237 # It is not useful on other systems. If it contains results you don't
4238 # want to keep, you may remove or edit it.
4240 # config.status only pays attention to the cache file if you give it
4241 # the --recheck option to rerun configure.
4243 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4244 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4249 # The following way of writing the cache mishandles newlines in values,
4250 # but we know of no workaround that is simple, portable, and efficient.
4251 # So, don't put newlines in cache variables' values.
4252 # Ultrix sh set writes to stderr and can't be redirected directly,
4253 # and sets the high bit in the cache file unless we assign to the vars.
4256 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4258 # `set' does not quote correctly, so add quotes (double-quote
4259 # substitution turns \\\\ into \\, and sed turns \\ into \).
4262 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4265 # `set' quotes correctly as required by POSIX, so do not add quotes.
4267 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4274 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4276 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4278 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4279 if test -w $cache_file; then
4280 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4281 cat confcache
>$cache_file
4283 echo "not updating unwritable cache $cache_file"
4288 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4289 # Let make expand exec_prefix.
4290 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4292 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4293 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4294 # trailing colons and then remove the whole line if VPATH becomes empty
4295 # (actually we leave an empty line to preserve line numbers).
4296 if test "x$srcdir" = x.
; then
4297 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4298 s/:*\$(srcdir):*/:/;
4299 s/:*\${srcdir}:*/:/;
4301 s/^\([^=]*=[ ]*\):*/\1/;
4307 DEFS
=-DHAVE_CONFIG_H
4311 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4312 # 1. Remove the extension, and $U if already installed.
4313 ac_i
=`echo "$ac_i" |
4314 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4316 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
4317 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
4321 LTLIBOBJS
=$ac_ltlibobjs
4325 : ${CONFIG_STATUS=./config.status}
4326 ac_clean_files_save
=$ac_clean_files
4327 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4328 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4329 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4330 cat >$CONFIG_STATUS <<_ACEOF
4332 # Generated by $as_me.
4333 # Run this file to recreate the current configuration.
4334 # Compiler output produced by configure, useful for debugging
4335 # configure, is in config.log if it exists.
4340 SHELL=\${CONFIG_SHELL-$SHELL}
4343 cat >>$CONFIG_STATUS <<\_ACEOF
4344 ## --------------------- ##
4345 ## M4sh Initialization. ##
4346 ## --------------------- ##
4348 # Be Bourne compatible
4349 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4352 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4353 # is contrary to our usage. Disable this feature.
4354 alias -g '${1+"$@"}'='"$@"'
4355 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
4358 DUALCASE
=1; export DUALCASE
# for MKS sh
4360 # Support unset when possible.
4361 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
4368 # Work around bugs in pre-3.0 UWIN ksh.
4369 $as_unset ENV MAIL MAILPATH
4376 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4377 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4378 LC_TELEPHONE LC_TIME
4380 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4381 eval $as_var=C
; export $as_var
4387 # Required to use basename.
4388 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4394 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
4395 as_basename
=basename
4401 # Name of the executable.
4402 as_me
=`$as_basename "$0" ||
4403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4404 X"$0" : 'X\(//\)$' \| \
4405 X"$0" : 'X\(/\)$' \| \
4406 . : '\(.\)' 2>/dev/null ||
4408 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4409 /^X\/\(\/\/\)$/{ s//\1/; q; }
4410 /^X\/\(\/\).*/{ s//\1/; q; }
4414 # PATH needs CR, and LINENO needs CR and PATH.
4415 # Avoid depending upon Character Ranges.
4416 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
4417 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4418 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
4419 as_cr_digits
='0123456789'
4420 as_cr_alnum
=$as_cr_Letters$as_cr_digits
4422 # The user is always right.
4423 if test "${PATH_SEPARATOR+set}" != set; then
4424 echo "#! /bin/sh" >conf$$.sh
4425 echo "exit 0" >>conf$$.sh
4427 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
4438 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4439 test "x$as_lineno_1" != "x$as_lineno_2" &&
4440 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
4441 # Find who we are. Look in the path if we contain no path at all
4444 *[\\/]* ) as_myself
=$0 ;;
4445 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4449 test -z "$as_dir" && as_dir
=.
4450 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
4455 # We did not find ourselves, most probably we were run as `sh COMMAND'
4456 # in which case we are not to be found in the path.
4457 if test "x$as_myself" = x
; then
4460 if test ! -f "$as_myself"; then
4461 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4462 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4463 { (exit 1); exit 1; }; }
4465 case $CONFIG_SHELL in
4467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4468 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
4471 test -z "$as_dir" && as_dir
=.
4472 for as_base
in sh bash ksh sh5
; do
4475 if ("$as_dir/$as_base" -c '
4478 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4479 test "x$as_lineno_1" != "x$as_lineno_2" &&
4480 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
4481 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
4482 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
4483 CONFIG_SHELL
=$as_dir/$as_base
4485 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4493 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4494 # uniformly replaced by the line number. The first 'sed' inserts a
4495 # line-number line before each line; the second 'sed' does the real
4496 # work. The second script uses 'N' to pair each line-number line
4497 # with the numbered line, and appends trailing '-' during
4498 # substitution so that $LINENO is not a special case at line end.
4499 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4500 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4501 sed '=' <$as_myself |
4506 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4509 s,^['$as_cr_digits']*\n,,
4511 chmod +x
$as_me.lineno ||
4512 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4513 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4514 { (exit 1); exit 1; }; }
4516 # Don't try to exec as it changes $[0], causing all sort of problems
4517 # (the dirname of $[0] is not the place where we might find the
4518 # original and so on. Autoconf is especially sensible to this).
4520 # Exit status is that of the last command.
4525 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4526 *c
*,-n*) ECHO_N
= ECHO_C
='
4528 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4529 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4532 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4538 rm -f conf$$ conf$$.exe conf$$.
file
4540 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4541 # We could just check for DJGPP; but this test a) works b) is more generic
4542 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4543 if test -f conf$$.exe
; then
4544 # Don't use ln at all; we don't have any links
4549 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4554 rm -f conf$$ conf$$.exe conf$$.
file
4556 if mkdir
-p .
2>/dev
/null
; then
4559 test -d .
/-p && rmdir .
/-p
4563 as_executable_p
="test -f"
4565 # Sed expression to map a string onto a valid CPP name.
4566 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4568 # Sed expression to map a string onto a valid variable name.
4569 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4573 # We need space, tab and new line, in precisely that order.
4583 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4584 # report actual input values of CONFIG_FILES etc. instead of their
4585 # values after options handling. Logging --version etc. is OK.
4589 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4590 ## Running $as_me. ##
4595 This file was extended by fixincludes $as_me , which was
4596 generated by GNU Autoconf 2.59. Invocation command line was
4598 CONFIG_FILES = $CONFIG_FILES
4599 CONFIG_HEADERS = $CONFIG_HEADERS
4600 CONFIG_LINKS = $CONFIG_LINKS
4601 CONFIG_COMMANDS = $CONFIG_COMMANDS
4605 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4609 # Files that config.status was made for.
4610 if test -n "$ac_config_files"; then
4611 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4614 if test -n "$ac_config_headers"; then
4615 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4618 if test -n "$ac_config_links"; then
4619 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4622 if test -n "$ac_config_commands"; then
4623 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4626 cat >>$CONFIG_STATUS <<\_ACEOF
4629 \`$as_me' instantiates files from templates according to the
4630 current configuration.
4632 Usage: $0 [OPTIONS] [FILE]...
4634 -h, --help print this help, then exit
4635 -V, --version print version number, then exit
4636 -q, --quiet do not print progress messages
4637 -d, --debug don't remove temporary files
4638 --recheck update $as_me by reconfiguring in the same conditions
4639 --file=FILE[:TEMPLATE]
4640 instantiate the configuration file FILE
4641 --header=FILE[:TEMPLATE]
4642 instantiate the configuration header FILE
4644 Configuration files:
4647 Configuration headers:
4650 Report bugs to <bug-autoconf@gnu.org>."
4653 cat >>$CONFIG_STATUS <<_ACEOF
4655 fixincludes config.status
4656 configured by $0, generated by GNU Autoconf 2.59,
4657 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4659 Copyright (C) 2003 Free Software Foundation, Inc.
4660 This config.status script is free software; the Free Software Foundation
4661 gives unlimited permission to copy, distribute and modify it."
4665 cat >>$CONFIG_STATUS <<\_ACEOF
4666 # If no file are specified by the user, then we need to provide default
4667 # value. By we need to know if files were specified by the user.
4673 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4674 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4682 *) # This is not an option, so the user has probably given explicit
4685 ac_need_defaults
=false
;;
4689 # Handling of the options.
4691 cat >>$CONFIG_STATUS <<\_ACEOF
4692 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4694 --version |
--vers* |
-V )
4695 echo "$ac_cs_version"; exit 0 ;;
4697 # Conflict between --help and --header
4698 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4699 Try \`$0 --help' for more information." >&5
4700 echo "$as_me: error: ambiguous option: $1
4701 Try \`$0 --help' for more information." >&2;}
4702 { (exit 1); exit 1; }; };;
4703 --help |
--hel |
-h )
4704 echo "$ac_cs_usage"; exit 0 ;;
4705 --debug |
--d* |
-d )
4707 --file |
--fil |
--fi |
--f )
4709 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4710 ac_need_defaults
=false
;;
4711 --header |
--heade |
--head |
--hea )
4713 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4714 ac_need_defaults
=false
;;
4715 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4716 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4720 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4721 Try \`$0 --help' for more information." >&5
4722 echo "$as_me: error: unrecognized option: $1
4723 Try \`$0 --help' for more information." >&2;}
4724 { (exit 1); exit 1; }; } ;;
4726 *) ac_config_targets
="$ac_config_targets $1" ;;
4732 ac_configure_extra_args
=
4734 if $ac_cs_silent; then
4736 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4740 cat >>$CONFIG_STATUS <<_ACEOF
4741 if \$ac_cs_recheck; then
4742 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4743 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4752 cat >>$CONFIG_STATUS <<\_ACEOF
4753 for ac_config_target
in $ac_config_targets
4755 case "$ac_config_target" in
4756 # Handling of arguments.
4757 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4758 "mkheaders" ) CONFIG_FILES
="$CONFIG_FILES mkheaders" ;;
4759 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
4760 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4761 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4762 { (exit 1); exit 1; }; };;
4766 # If the user did not use the arguments to specify the items to instantiate,
4767 # then the envvar interface is used. Set only those that are not.
4768 # We use the long form for the default assignment because of an extremely
4769 # bizarre bug on SunOS 4.1.3.
4770 if $ac_need_defaults; then
4771 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4772 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4775 # Have a temporary directory for convenience. Make it in the build tree
4776 # simply because there is no reason to put it here, and in addition,
4777 # creating and moving files from /tmp can sometimes cause problems.
4778 # Create a temporary directory, and hook for its removal unless debugging.
4781 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4782 trap '{ (exit 1); exit 1; }' 1 2 13 15
4785 # Create a (secure) tmp directory for tmp files.
4788 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
4789 test -n "$tmp" && test -d "$tmp"
4792 tmp
=.
/confstat$$
-$RANDOM
4793 (umask 077 && mkdir
$tmp)
4796 echo "$me: cannot create a temporary directory in ." >&2
4797 { (exit 1); exit 1; }
4802 cat >>$CONFIG_STATUS <<_ACEOF
4805 # CONFIG_FILES section.
4808 # No need to generate the scripts if there are no CONFIG_FILES.
4809 # This happens for instance when ./config.status config.h
4810 if test -n "\$CONFIG_FILES"; then
4811 # Protect against being on the right side of a sed subst in config.status.
4812 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4813 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4814 s,@SHELL@,$SHELL,;t t
4815 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4816 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4817 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4818 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4819 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4820 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4821 s,@exec_prefix@,$exec_prefix,;t t
4822 s,@prefix@,$prefix,;t t
4823 s,@program_transform_name@,$program_transform_name,;t t
4824 s,@bindir@,$bindir,;t t
4825 s,@sbindir@,$sbindir,;t t
4826 s,@libexecdir@,$libexecdir,;t t
4827 s,@datadir@,$datadir,;t t
4828 s,@sysconfdir@,$sysconfdir,;t t
4829 s,@sharedstatedir@,$sharedstatedir,;t t
4830 s,@localstatedir@,$localstatedir,;t t
4831 s,@libdir@,$libdir,;t t
4832 s,@includedir@,$includedir,;t t
4833 s,@oldincludedir@,$oldincludedir,;t t
4834 s,@infodir@,$infodir,;t t
4835 s,@mandir@,$mandir,;t t
4836 s,@build_alias@,$build_alias,;t t
4837 s,@host_alias@,$host_alias,;t t
4838 s,@target_alias@,$target_alias,;t t
4840 s,@ECHO_C@,$ECHO_C,;t t
4841 s,@ECHO_N@,$ECHO_N,;t t
4842 s,@ECHO_T@,$ECHO_T,;t t
4844 s,@build@,$build,;t t
4845 s,@build_cpu@,$build_cpu,;t t
4846 s,@build_vendor@,$build_vendor,;t t
4847 s,@build_os@,$build_os,;t t
4849 s,@host_cpu@,$host_cpu,;t t
4850 s,@host_vendor@,$host_vendor,;t t
4851 s,@host_os@,$host_os,;t t
4852 s,@target@,$target,;t t
4853 s,@target_cpu@,$target_cpu,;t t
4854 s,@target_vendor@,$target_vendor,;t t
4855 s,@target_os@,$target_os,;t t
4857 s,@CFLAGS@,$CFLAGS,;t t
4858 s,@LDFLAGS@,$LDFLAGS,;t t
4859 s,@CPPFLAGS@,$CPPFLAGS,;t t
4860 s,@ac_ct_CC@,$ac_ct_CC,;t t
4861 s,@EXEEXT@,$EXEEXT,;t t
4862 s,@OBJEXT@,$OBJEXT,;t t
4863 s,@target_noncanonical@,$target_noncanonical,;t t
4864 s,@TARGET@,$TARGET,;t t
4865 s,@gcc_version@,$gcc_version,;t t
4867 s,@EGREP@,$EGREP,;t t
4868 s,@MAINT@,$MAINT,;t t
4869 s,@LIBOBJS@,$LIBOBJS,;t t
4870 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4875 cat >>$CONFIG_STATUS <<\_ACEOF
4876 # Split the substitutions into bite-sized pieces for seds with
4877 # small command number limits, like on Digital OSF/1 and HP-UX.
4879 ac_sed_frag
=1 # Number of current file.
4880 ac_beg
=1 # First line for current file.
4881 ac_end
=$ac_max_sed_lines # Line after last line for current file.
4884 while $ac_more_lines; do
4885 if test $ac_beg -gt 1; then
4886 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4888 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
4890 if test ! -s $tmp/subs.frag
; then
4893 # The purpose of the label and of the branching condition is to
4894 # speed up the sed processing (if there are no `@' at all, there
4895 # is no need to browse any of the substitutions).
4896 # These are the two extra sed commands mentioned above.
4898 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
4899 if test -z "$ac_sed_cmds"; then
4900 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
4902 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4904 ac_sed_frag
=`expr $ac_sed_frag + 1`
4906 ac_end
=`expr $ac_end + $ac_max_sed_lines`
4909 if test -z "$ac_sed_cmds"; then
4912 fi # test -n "$CONFIG_FILES"
4915 cat >>$CONFIG_STATUS <<\_ACEOF
4916 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
4917 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4919 - |
*:- |
*:-:* ) # input from stdin
4921 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4922 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4923 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
4924 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
4925 * ) ac_file_in
=$ac_file.
in ;;
4928 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4929 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
4930 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4931 X"$ac_file" : 'X\(//\)[^/]' \| \
4932 X"$ac_file" : 'X\(//\)$' \| \
4933 X"$ac_file" : 'X\(/\)' \| \
4934 . : '\(.\)' 2>/dev/null ||
4936 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4937 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4938 /^X\(\/\/\)$/{ s//\1/; q; }
4939 /^X\(\/\).*/{ s//\1/; q; }
4941 { if $as_mkdir_p; then
4946 while test ! -d "$as_dir"; do
4947 as_dirs
="$as_dir $as_dirs"
4948 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
4949 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4950 X"$as_dir" : 'X\(//\)[^/]' \| \
4951 X"$as_dir" : 'X\(//\)$' \| \
4952 X"$as_dir" : 'X\(/\)' \| \
4953 . : '\(.\)' 2>/dev/null ||
4955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4956 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4957 /^X\(\/\/\)$/{ s//\1/; q; }
4958 /^X\(\/\).*/{ s//\1/; q; }
4961 test ! -n "$as_dirs" || mkdir
$as_dirs
4962 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4963 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4964 { (exit 1); exit 1; }; }; }
4968 if test "$ac_dir" != .
; then
4969 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4970 # A "../" for each directory in $ac_dir_suffix.
4971 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4973 ac_dir_suffix
= ac_top_builddir
=
4977 .
) # No --srcdir option. We are building in place.
4979 if test -z "$ac_top_builddir"; then
4982 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4984 [\\/]* | ?
:[\\/]* ) # Absolute path.
4985 ac_srcdir
=$srcdir$ac_dir_suffix;
4986 ac_top_srcdir
=$srcdir ;;
4988 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4989 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4992 # Do not use `cd foo && pwd` to compute absolute paths, because
4993 # the directories may not exist.
4995 .
) ac_abs_builddir
="$ac_dir";;
4998 .
) ac_abs_builddir
=`pwd`;;
4999 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5000 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5003 case $ac_abs_builddir in
5004 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5006 case ${ac_top_builddir}.
in
5007 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5008 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5009 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5012 case $ac_abs_builddir in
5013 .
) ac_abs_srcdir
=$ac_srcdir;;
5016 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5017 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5018 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5021 case $ac_abs_builddir in
5022 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5024 case $ac_top_srcdir in
5025 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5026 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5027 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5033 if test x
"$ac_file" != x-
; then
5034 { echo "$as_me:$LINENO: creating $ac_file" >&5
5035 echo "$as_me: creating $ac_file" >&6;}
5038 # Let's still pretend it is `configure' which instantiates (i.e., don't
5039 # use $as_me), people would be surprised to read:
5040 # /* config.h. Generated by config.status. */
5041 if test x
"$ac_file" = x-
; then
5044 configure_input
="$ac_file. "
5046 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5047 sed 's,.*/,,'` by configure."
5049 # First look for the input files in the build tree, otherwise in the
5051 ac_file_inputs
=`IFS=:
5052 for f in $ac_file_in; do
5054 -) echo $tmp/stdin ;;
5056 # Absolute (can't be DOS-style, as IFS=:)
5057 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5058 echo "$as_me: error: cannot find input file: $f" >&2;}
5059 { (exit 1); exit 1; }; }
5062 if test -f "$f"; then
5065 elif test -f "$srcdir/$f"; then
5070 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5071 echo "$as_me: error: cannot find input file: $f" >&2;}
5072 { (exit 1); exit 1; }; }
5075 done` ||
{ (exit 1); exit 1; }
5077 cat >>$CONFIG_STATUS <<_ACEOF
5081 cat >>$CONFIG_STATUS <<\_ACEOF
5083 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5084 s
,@configure_input@
,$configure_input,;t t
5085 s
,@srcdir@
,$ac_srcdir,;t t
5086 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5087 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5088 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5089 s
,@builddir@
,$ac_builddir,;t t
5090 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5091 s
,@top_builddir@
,$ac_top_builddir,;t t
5092 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5093 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5095 if test x"$ac_file" != x-; then
5096 mv $tmp/out $ac_file
5104 cat >>$CONFIG_STATUS <<\_ACEOF
5107 # CONFIG_HEADER section.
5110 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
5111 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5113 # ac_d sets the value in "#define NAME VALUE" lines.
5114 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5115 ac_dB
='[ ].*$,\1#\2'
5118 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5119 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5120 ac_uB
='$,\1#\2define\3'
5124 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5125 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5127 - |
*:- |
*:-:* ) # input from stdin
5129 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5130 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5131 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5132 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5133 * ) ac_file_in
=$ac_file.
in ;;
5136 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
5137 echo "$as_me: creating $ac_file" >&6;}
5139 # First look for the input files in the build tree, otherwise in the
5141 ac_file_inputs
=`IFS=:
5142 for f in $ac_file_in; do
5144 -) echo $tmp/stdin ;;
5146 # Absolute (can't be DOS-style, as IFS=:)
5147 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5148 echo "$as_me: error: cannot find input file: $f" >&2;}
5149 { (exit 1); exit 1; }; }
5150 # Do quote $f, to prevent DOS paths from being IFS'd.
5153 if test -f "$f"; then
5156 elif test -f "$srcdir/$f"; then
5161 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5162 echo "$as_me: error: cannot find input file: $f" >&2;}
5163 { (exit 1); exit 1; }; }
5166 done` ||
{ (exit 1); exit 1; }
5167 # Remove the trailing spaces.
5168 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5172 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5173 # `conftest.undefs', that substitutes the proper values into
5174 # config.h.in to produce config.h. The first handles `#define'
5175 # templates, and the second `#undef' templates.
5176 # And first: Protect against being on the right side of a sed subst in
5177 # config.status. Protect against being in an unquoted here document
5179 rm -f conftest.defines conftest.undefs
5180 # Using a here document instead of a string reduces the quoting nightmare.
5181 # Putting comments in sed scripts is not portable.
5183 # `end' is used to avoid that the second main sed command (meant for
5184 # 0-ary CPP macros) applies to n-ary macro definitions.
5185 # See the Autoconf documentation for `clear'.
5186 cat >confdef2sed.
sed <<\_ACEOF
5191 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5193 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5196 # If some macros were called several times there might be several times
5197 # the same #defines, which is useless. Nevertheless, we may not want to
5198 # sort them, since we want the *last* AC-DEFINE to be honored.
5199 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5200 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5201 rm -f confdef2sed.sed
5203 # This sed command replaces #undef with comments. This is necessary, for
5204 # example, in the case of _POSIX_SOURCE, which is predefined and required
5205 # on some systems where configure will not decide to define it.
5206 cat >>conftest.undefs <<\_ACEOF
5207 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5210 # Break up conftest.defines because some shells have a limit on the size
5211 # of here documents, and old seds have small limits too (100 cmds).
5212 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5213 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5214 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5215 echo ' :' >>$CONFIG_STATUS
5217 while grep . conftest.defines >/dev/null
5219 # Write a limited-size here document to $tmp/defines.sed.
5220 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5221 # Speed up: don't consider the non `#define' lines.
5222 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5223 # Work around the forget-to-reset-the-flag bug.
5224 echo 't clr' >>$CONFIG_STATUS
5225 echo ': clr' >>$CONFIG_STATUS
5226 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
5228 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5232 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
5233 rm -f conftest.defines
5234 mv conftest.
tail conftest.defines
5236 rm -f conftest.defines
5237 echo ' fi # grep' >>$CONFIG_STATUS
5238 echo >>$CONFIG_STATUS
5240 # Break up conftest.undefs because some shells have a limit on the size
5241 # of here documents, and old seds have small limits too (100 cmds).
5242 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5244 while grep . conftest.undefs
>/dev
/null
5246 # Write a limited-size here document to $tmp/undefs.sed.
5247 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5248 # Speed up: don't consider the non
`#undef'
5249 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5250 # Work around the forget-to-reset-the-flag bug.
5251 echo 't clr' >>$CONFIG_STATUS
5252 echo ': clr' >>$CONFIG_STATUS
5253 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5255 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5259 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5260 rm -f conftest.undefs
5261 mv conftest.tail conftest.undefs
5263 rm -f conftest.undefs
5265 cat >>$CONFIG_STATUS <<\_ACEOF
5266 # Let's still pretend it is `configure
' which instantiates (i.e., don't
5267 # use $as_me), people would be surprised to read:
5268 # /* config.h. Generated by config.status. */
5269 if test x
"$ac_file" = x-
; then
5270 echo "/* Generated by configure. */" >$tmp/config.h
5272 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5274 cat $tmp/in >>$tmp/config.h
5276 if test x
"$ac_file" != x-
; then
5277 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
5278 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5279 echo "$as_me: $ac_file is unchanged" >&6;}
5281 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5282 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5283 X"$ac_file" : 'X\(//\)[^/]' \| \
5284 X"$ac_file" : 'X\(//\)$' \| \
5285 X"$ac_file" : 'X\(/\)' \| \
5286 . : '\(.\)' 2>/dev/null ||
5288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5289 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5290 /^X\(\/\/\)$/{ s//\1/; q; }
5291 /^X\(\/\).*/{ s//\1/; q; }
5293 { if $as_mkdir_p; then
5298 while test ! -d "$as_dir"; do
5299 as_dirs
="$as_dir $as_dirs"
5300 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5302 X"$as_dir" : 'X\(//\)[^/]' \| \
5303 X"$as_dir" : 'X\(//\)$' \| \
5304 X"$as_dir" : 'X\(/\)' \| \
5305 . : '\(.\)' 2>/dev/null ||
5307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5308 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5309 /^X\(\/\/\)$/{ s//\1/; q; }
5310 /^X\(\/\).*/{ s//\1/; q; }
5313 test ! -n "$as_dirs" || mkdir
$as_dirs
5314 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5315 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5316 { (exit 1); exit 1; }; }; }
5319 mv $tmp/config.h
$ac_file
5325 # Run the commands associated with the file.
5327 config.h
) echo timestamp
> stamp-h
;;
5332 cat >>$CONFIG_STATUS <<\_ACEOF
5334 { (exit 0); exit 0; }
5336 chmod +x
$CONFIG_STATUS
5337 ac_clean_files
=$ac_clean_files_save
5340 # configure is writing to config.log, and then calls config.status.
5341 # config.status does its own redirection, appending to config.log.
5342 # Unfortunately, on DOS this fails, as config.log is still kept open
5343 # by configure, so config.status won't be able to write to it; its
5344 # output is simply discarded. So we exec the FD to /dev/null,
5345 # effectively closing config.log, so it can be properly (re)opened and
5346 # appended to by config.status. When coming back to configure, we
5347 # need to make the FD available again.
5348 if test "$no_create" != yes; then
5350 ac_config_status_args
=
5351 test "$silent" = yes &&
5352 ac_config_status_args
="$ac_config_status_args --quiet"
5354 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5356 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5357 # would make configure fail if this is the last instruction.
5358 $ac_cs_success ||
{ (exit 1); exit 1; }