2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for cpplib .
5 # Report bugs to <gcc-bugs@gcc.gnu.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='cpplib'
271 PACKAGE_TARNAME
='cpplib'
273 PACKAGE_STRING
='cpplib '
274 PACKAGE_BUGREPORT
='gcc-bugs@gcc.gnu.org'
276 ac_unique_file
="ucnid.h"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB CPP EGREP LIBOBJS ALLOCA USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS LIBICONV LTLIBICONV ENABLE_NLS_TRUE ENABLE_NLS_FALSE LTLIBOBJS'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CPP_set
=${CPP+set}
772 ac_env_CPP_value
=$CPP
773 ac_cv_env_CPP_set
=${CPP+set}
774 ac_cv_env_CPP_value
=$CPP
777 # Report the --help message.
779 if test "$ac_init_help" = "long"; then
780 # Omit some internal or obsolete options to make the list less imposing.
781 # This message is too long to be a string in the A/UX 3.1 sh.
783 \`configure' configures cpplib to adapt to many kinds of systems.
785 Usage: $0 [OPTION]... [VAR=VALUE]...
787 To assign environment variables (e.g., CC, CFLAGS...), specify them as
788 VAR=VALUE. See below for descriptions of some of the useful variables.
790 Defaults for the options are specified in brackets.
793 -h, --help display this help and exit
794 --help=short display options specific to this package
795 --help=recursive display the short help of all the included packages
796 -V, --version display version information and exit
797 -q, --quiet, --silent do not print \`checking...' messages
798 --cache-file=FILE cache test results in FILE [disabled]
799 -C, --config-cache alias for \`--cache-file=config.cache'
800 -n, --no-create do not create output files
801 --srcdir=DIR find the sources in DIR [configure dir or \`..']
806 Installation directories:
807 --prefix=PREFIX install architecture-independent files in PREFIX
809 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
812 By default, \`make install' will install all the files in
813 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
814 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
815 for instance \`--prefix=\$HOME'.
817 For better control, use the options below.
819 Fine tuning of the installation directories:
820 --bindir=DIR user executables [EPREFIX/bin]
821 --sbindir=DIR system admin executables [EPREFIX/sbin]
822 --libexecdir=DIR program executables [EPREFIX/libexec]
823 --datadir=DIR read-only architecture-independent data [PREFIX/share]
824 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
825 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
826 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
827 --libdir=DIR object code libraries [EPREFIX/lib]
828 --includedir=DIR C header files [PREFIX/include]
829 --oldincludedir=DIR C header files for non-gcc [/usr/include]
830 --infodir=DIR info documentation [PREFIX/info]
831 --mandir=DIR man documentation [PREFIX/man]
837 --program-prefix=PREFIX prepend PREFIX to installed program names
838 --program-suffix=SUFFIX append SUFFIX to installed program names
839 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
842 --build=BUILD configure
for building on BUILD
[guessed
]
843 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
844 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
848 if test -n "$ac_init_help"; then
849 case $ac_init_help in
850 short | recursive
) echo "Configuration of cpplib :";;
855 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
856 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
857 --enable-maintainer-mode enable make rules and dependencies not useful
858 (and sometimes confusing
) to the casual installer
859 --disable-dependency-tracking speeds up one-time build
860 --enable-dependency-tracking do not reject slow dependency extractors
861 --disable-rpath do not hardcode runtime library paths
862 --enable-checking enable expensive run-time checks
865 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
866 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
867 --with-gnu-ld assume the C compiler uses GNU ld default
=no
868 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
869 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
871 Some influential environment variables:
872 CC C compiler command
873 CFLAGS C compiler flags
874 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
875 nonstandard directory <lib dir>
876 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
877 headers in a nonstandard directory <include dir>
880 Use these variables to override the choices made by `configure' or to
help
881 it to
find libraries and programs with nonstandard names
/locations.
883 Report bugs to
<gcc-bugs@gcc.gnu.org
>.
887 if test "$ac_init_help" = "recursive"; then
888 # If there are subdirs, report their specific --help.
890 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
891 test -d $ac_dir ||
continue
894 if test "$ac_dir" != .
; then
895 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
896 # A "../" for each directory in $ac_dir_suffix.
897 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
899 ac_dir_suffix
= ac_top_builddir
=
903 .
) # No --srcdir option. We are building in place.
905 if test -z "$ac_top_builddir"; then
908 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
910 [\\/]* | ?
:[\\/]* ) # Absolute path.
911 ac_srcdir
=$srcdir$ac_dir_suffix;
912 ac_top_srcdir
=$srcdir ;;
914 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
915 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
918 # Do not use `cd foo && pwd` to compute absolute paths, because
919 # the directories may not exist.
921 .
) ac_abs_builddir
="$ac_dir";;
924 .
) ac_abs_builddir
=`pwd`;;
925 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
926 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
929 case $ac_abs_builddir in
930 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
932 case ${ac_top_builddir}.
in
933 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
934 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
935 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
938 case $ac_abs_builddir in
939 .
) ac_abs_srcdir
=$ac_srcdir;;
942 .
) ac_abs_srcdir
=$ac_abs_builddir;;
943 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
944 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
947 case $ac_abs_builddir in
948 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
950 case $ac_top_srcdir in
951 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
952 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
953 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
958 # Check for guested configure; otherwise get Cygnus style configure.
959 if test -f $ac_srcdir/configure.gnu
; then
961 $SHELL $ac_srcdir/configure.gnu
--help=recursive
962 elif test -f $ac_srcdir/configure
; then
964 $SHELL $ac_srcdir/configure
--help=recursive
965 elif test -f $ac_srcdir/configure.ac ||
966 test -f $ac_srcdir/configure.
in; then
970 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
976 test -n "$ac_init_help" && exit 0
977 if $ac_init_version; then
980 generated by GNU Autoconf
2.59
982 Copyright
(C
) 2003 Free Software Foundation
, Inc.
983 This configure
script is free software
; the Free Software Foundation
984 gives unlimited permission to copy
, distribute and modify it.
990 This file contains any messages produced by compilers while
991 running configure, to aid debugging if configure makes a mistake.
993 It was created by cpplib $as_me , which was
994 generated by GNU Autoconf 2.59. Invocation command line was
1005 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1006 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1007 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1008 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1009 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1011 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1012 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1014 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1015 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1016 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1017 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1018 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1019 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1020 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1028 test -z "$as_dir" && as_dir
=.
1029 echo "PATH: $as_dir"
1044 # Keep a trace of the command line.
1045 # Strip out --no-create and --no-recursion so they do not pile up.
1046 # Strip out --silent because we don't want to record it for future runs.
1047 # Also quote any args containing shell meta-characters.
1048 # Make two passes to allow for proper duplicate-argument suppression.
1053 ac_must_keep_next
=false
1059 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1060 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1061 |
-silent |
--silent |
--silen |
--sile |
--sil)
1063 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1064 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1067 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1069 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1070 if test $ac_must_keep_next = true
; then
1071 ac_must_keep_next
=false
# Got value, back to normal.
1074 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1075 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1076 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1077 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1078 case "$ac_configure_args0 " in
1079 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1082 -* ) ac_must_keep_next
=true
;;
1085 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1086 # Get rid of the leading space.
1092 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1093 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1095 # When interrupted or exit'd, cleanup temporary files, and complete
1096 # config.log. We remove comments because anyway the quotes in there
1097 # would cause problems or look ugly.
1098 # WARNING: Be sure not to use single quotes in there, as some shells,
1099 # such as our DU 5.0 friend, will then `close' the trap.
1100 trap 'exit_status=$?
1101 # Save into config.log some information that might help in debugging.
1106 ## ---------------- ##
1107 ## Cache variables. ##
1108 ## ---------------- ##
1111 # The following way of writing the cache mishandles newlines in values,
1114 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1117 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1118 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1122 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1129 ## ----------------- ##
1130 ## Output variables. ##
1131 ## ----------------- ##
1134 for ac_var in $ac_subst_vars
1136 eval ac_val=$`echo $ac_var`
1137 echo "$ac_var='"'"'$ac_val'"'"'"
1141 if test -n "$ac_subst_files"; then
1148 for ac_var in $ac_subst_files
1150 eval ac_val=$`echo $ac_var`
1151 echo "$ac_var='"'"'$ac_val'"'"'"
1156 if test -s confdefs.h; then
1163 sed "/^$/d" confdefs.h | sort
1166 test "$ac_signal" != 0 &&
1167 echo "$as_me: caught signal $ac_signal"
1168 echo "$as_me: exit $exit_status"
1170 rm -f core *.core &&
1171 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1174 for ac_signal
in 1 2 13 15; do
1175 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1179 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1180 rm -rf conftest
* confdefs.h
1181 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1184 # Predefined preprocessor variables.
1186 cat >>confdefs.h
<<_ACEOF
1187 #define PACKAGE_NAME "$PACKAGE_NAME"
1191 cat >>confdefs.h
<<_ACEOF
1192 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1196 cat >>confdefs.h
<<_ACEOF
1197 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1201 cat >>confdefs.h
<<_ACEOF
1202 #define PACKAGE_STRING "$PACKAGE_STRING"
1206 cat >>confdefs.h
<<_ACEOF
1207 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1211 # Let the site file select an alternate cache file if it wants to.
1212 # Prefer explicitly selected file to automatically selected ones.
1213 if test -z "$CONFIG_SITE"; then
1214 if test "x$prefix" != xNONE
; then
1215 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1217 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1220 for ac_site_file
in $CONFIG_SITE; do
1221 if test -r "$ac_site_file"; then
1222 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1223 echo "$as_me: loading site script $ac_site_file" >&6;}
1224 sed 's/^/| /' "$ac_site_file" >&5
1229 if test -r "$cache_file"; then
1230 # Some versions of bash will fail to source /dev/null (special
1231 # files actually), so we avoid doing that.
1232 if test -f "$cache_file"; then
1233 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1234 echo "$as_me: loading cache $cache_file" >&6;}
1236 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1237 *) . .
/$cache_file;;
1241 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1242 echo "$as_me: creating cache $cache_file" >&6;}
1246 # Check that the precious variables saved in the cache have kept the same
1248 ac_cache_corrupted
=false
1249 for ac_var
in `(set) 2>&1 |
1250 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1251 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1252 eval ac_new_set
=\
$ac_env_${ac_var}_set
1253 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1254 eval ac_new_val
="\$ac_env_${ac_var}_value"
1255 case $ac_old_set,$ac_new_set in
1257 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1259 ac_cache_corrupted
=: ;;
1261 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1262 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1263 ac_cache_corrupted
=: ;;
1266 if test "x$ac_old_val" != "x$ac_new_val"; then
1267 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1268 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1269 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1270 echo "$as_me: former value: $ac_old_val" >&2;}
1271 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1272 echo "$as_me: current value: $ac_new_val" >&2;}
1273 ac_cache_corrupted
=:
1276 # Pass precious variables to config.status.
1277 if test "$ac_new_set" = set; then
1279 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1281 *) ac_arg
=$ac_var=$ac_new_val ;;
1283 case " $ac_configure_args " in
1284 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1285 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1289 if $ac_cache_corrupted; then
1290 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1291 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1292 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1293 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1294 { (exit 1); exit 1; }; }
1298 ac_cpp
='$CPP $CPPFLAGS'
1299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1331 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1332 if test -f $ac_dir/install-sh
; then
1334 ac_install_sh
="$ac_aux_dir/install-sh -c"
1336 elif test -f $ac_dir/install.sh
; then
1338 ac_install_sh
="$ac_aux_dir/install.sh -c"
1340 elif test -f $ac_dir/shtool
; then
1342 ac_install_sh
="$ac_aux_dir/shtool install -c"
1346 if test -z "$ac_aux_dir"; then
1347 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1348 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1349 { (exit 1); exit 1; }; }
1351 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1352 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1353 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1355 # Make sure we can run config.sub.
1356 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1357 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1358 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1359 { (exit 1); exit 1; }; }
1361 echo "$as_me:$LINENO: checking build system type" >&5
1362 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1363 if test "${ac_cv_build+set}" = set; then
1364 echo $ECHO_N "(cached) $ECHO_C" >&6
1366 ac_cv_build_alias
=$build_alias
1367 test -z "$ac_cv_build_alias" &&
1368 ac_cv_build_alias
=`$ac_config_guess`
1369 test -z "$ac_cv_build_alias" &&
1370 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1371 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1372 { (exit 1); exit 1; }; }
1373 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1374 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1375 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1376 { (exit 1); exit 1; }; }
1379 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1380 echo "${ECHO_T}$ac_cv_build" >&6
1382 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1383 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1384 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1387 echo "$as_me:$LINENO: checking host system type" >&5
1388 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1389 if test "${ac_cv_host+set}" = set; then
1390 echo $ECHO_N "(cached) $ECHO_C" >&6
1392 ac_cv_host_alias
=$host_alias
1393 test -z "$ac_cv_host_alias" &&
1394 ac_cv_host_alias
=$ac_cv_build_alias
1395 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1396 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1397 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1398 { (exit 1); exit 1; }; }
1401 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1402 echo "${ECHO_T}$ac_cv_host" >&6
1404 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1405 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1406 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1409 echo "$as_me:$LINENO: checking target system type" >&5
1410 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1411 if test "${ac_cv_target+set}" = set; then
1412 echo $ECHO_N "(cached) $ECHO_C" >&6
1414 ac_cv_target_alias
=$target_alias
1415 test "x$ac_cv_target_alias" = "x" &&
1416 ac_cv_target_alias
=$ac_cv_host_alias
1417 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1418 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1419 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1420 { (exit 1); exit 1; }; }
1423 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1424 echo "${ECHO_T}$ac_cv_target" >&6
1425 target
=$ac_cv_target
1426 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1427 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1428 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1431 # The aliases save the names the user supplied, while $host etc.
1432 # will get canonicalized.
1433 test -n "$target_alias" &&
1434 test "$program_prefix$program_suffix$program_transform_name" = \
1436 program_prefix
=${target_alias}-
1437 am__api_version
="1.8"
1438 # Find a good install program. We prefer a C program (faster),
1439 # so one script is as good as another. But avoid the broken or
1440 # incompatible versions:
1441 # SysV /etc/install, /usr/sbin/install
1442 # SunOS /usr/etc/install
1443 # IRIX /sbin/install
1445 # AmigaOS /C/install, which installs bootblocks on floppy discs
1446 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1447 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1448 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1449 # OS/2's system install, which has a completely different semantic
1450 # ./install, which can be erroneously created by make from ./install.sh.
1451 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1452 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1453 if test -z "$INSTALL"; then
1454 if test "${ac_cv_path_install+set}" = set; then
1455 echo $ECHO_N "(cached) $ECHO_C" >&6
1457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1461 test -z "$as_dir" && as_dir
=.
1462 # Account for people who put trailing slashes in PATH elements.
1464 .
/ | .
// |
/cC
/* | \
1465 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1466 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1469 # OSF1 and SCO ODT 3.0 have their own names for install.
1470 # Don't use installbsd from OSF since it installs stuff as root
1472 for ac_prog
in ginstall scoinst
install; do
1473 for ac_exec_ext
in '' $ac_executable_extensions; do
1474 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1475 if test $ac_prog = install &&
1476 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1477 # AIX install. It has an incompatible calling convention.
1479 elif test $ac_prog = install &&
1480 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1481 # program-specific install script used by HP pwplus--don't use.
1484 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1496 if test "${ac_cv_path_install+set}" = set; then
1497 INSTALL
=$ac_cv_path_install
1499 # As a last resort, use the slow shell script. We don't cache a
1500 # path for INSTALL within a source directory, because that will
1501 # break other packages using the cache if that directory is
1502 # removed, or if the path is relative.
1503 INSTALL
=$ac_install_sh
1506 echo "$as_me:$LINENO: result: $INSTALL" >&5
1507 echo "${ECHO_T}$INSTALL" >&6
1509 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1510 # It thinks the first close brace ends the variable substitution.
1511 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1513 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1515 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1517 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1518 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1521 echo timestamp
> conftest.
file
1522 # Do `set' in a subshell so we don't clobber the current shell's
1523 # arguments. Must try -L first in case configure is actually a
1524 # symlink; some systems play weird games with the mod time of symlinks
1525 # (eg FreeBSD returns the mod time of the symlink's containing
1528 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1529 if test "$*" = "X"; then
1531 set X
`ls -t $srcdir/configure conftest.file`
1534 if test "$*" != "X $srcdir/configure conftest.file" \
1535 && test "$*" != "X conftest.file $srcdir/configure"; then
1537 # If neither matched, then we have a broken ls. This can happen
1538 # if, for instance, CONFIG_SHELL is bash and it inherits a
1539 # broken ls alias from the environment. This has actually
1540 # happened. Such a system could not be considered "sane".
1541 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1542 alias in your environment" >&5
1543 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1544 alias in your environment" >&2;}
1545 { (exit 1); exit 1; }; }
1548 test "$2" = conftest.
file
1554 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1555 Check your system clock" >&5
1556 echo "$as_me: error: newly created file is older than distributed files!
1557 Check your system clock" >&2;}
1558 { (exit 1); exit 1; }; }
1560 echo "$as_me:$LINENO: result: yes" >&5
1561 echo "${ECHO_T}yes" >&6
1562 test "$program_prefix" != NONE
&&
1563 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1564 # Use a double $ so make ignores it.
1565 test "$program_suffix" != NONE
&&
1566 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1567 # Double any \ or $. echo might interpret backslashes.
1568 # By default was `s,x,x', remove it if useless.
1569 cat <<\_ACEOF
>conftest.
sed
1570 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1572 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1575 # expand $ac_aux_dir to an absolute path
1576 am_aux_dir
=`cd $ac_aux_dir && pwd`
1578 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1579 # Use eval to expand $SHELL
1580 if eval "$MISSING --run true"; then
1581 am_missing_run
="$MISSING --run "
1584 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1585 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1588 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1589 # Keeping the `.' argument allows $(mkdir_p) to be used without
1590 # argument. Indeed, we sometimes output rules like
1591 # $(mkdir_p) $(somedir)
1592 # where $(somedir) is conditionally defined.
1593 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1594 # expensive solution, as it forces Make to start a sub-shell.)
1595 mkdir_p
='mkdir -p -- .'
1597 # On NextStep and OpenStep, the `mkdir' command does not
1598 # recognize any option. It will interpret all options as
1599 # directories to create, and then abort because `.' already
1601 for d
in .
/-p .
/--version;
1603 test -d $d && rmdir $d
1605 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1606 if test -f "$ac_aux_dir/mkinstalldirs"; then
1607 mkdir_p
='$(mkinstalldirs)'
1609 mkdir_p
='$(install_sh) -d'
1613 for ac_prog
in gawk mawk nawk
awk
1615 # Extract the first word of "$ac_prog", so it can be a program name with args.
1616 set dummy
$ac_prog; ac_word
=$2
1617 echo "$as_me:$LINENO: checking for $ac_word" >&5
1618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1619 if test "${ac_cv_prog_AWK+set}" = set; then
1620 echo $ECHO_N "(cached) $ECHO_C" >&6
1622 if test -n "$AWK"; then
1623 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1629 test -z "$as_dir" && as_dir
=.
1630 for ac_exec_ext
in '' $ac_executable_extensions; do
1631 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1632 ac_cv_prog_AWK
="$ac_prog"
1633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1642 if test -n "$AWK"; then
1643 echo "$as_me:$LINENO: result: $AWK" >&5
1644 echo "${ECHO_T}$AWK" >&6
1646 echo "$as_me:$LINENO: result: no" >&5
1647 echo "${ECHO_T}no" >&6
1650 test -n "$AWK" && break
1653 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1654 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1655 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1656 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 cat >conftest.
make <<\_ACEOF
1661 @
echo 'ac_maketemp="$(MAKE)"'
1663 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1664 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1665 if test -n "$ac_maketemp"; then
1666 eval ac_cv_prog_make_
${ac_make}_set
=yes
1668 eval ac_cv_prog_make_
${ac_make}_set
=no
1672 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1673 echo "$as_me:$LINENO: result: yes" >&5
1674 echo "${ECHO_T}yes" >&6
1677 echo "$as_me:$LINENO: result: no" >&5
1678 echo "${ECHO_T}no" >&6
1679 SET_MAKE
="MAKE=${MAKE-make}"
1682 rm -rf .tst
2>/dev
/null
1683 mkdir .tst
2>/dev
/null
1684 if test -d .tst
; then
1689 rmdir .tst
2>/dev
/null
1691 # test to see if srcdir already configured
1692 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1693 test -f $srcdir/config.status
; then
1694 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1695 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1696 { (exit 1); exit 1; }; }
1699 # test whether we have cygpath
1700 if test -z "$CYGPATH_W"; then
1701 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1702 CYGPATH_W
='cygpath -w'
1709 # Define the identity of the package.
1714 cat >>confdefs.h
<<_ACEOF
1715 #define PACKAGE "$PACKAGE"
1719 cat >>confdefs.h
<<_ACEOF
1720 #define VERSION "$VERSION"
1723 # Some tools Automake needs.
1725 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1728 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1731 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1734 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1737 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1740 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1742 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1744 # Installed binaries are usually stripped using `strip' when the user
1745 # run `make install-strip'. However `strip' might not be the right
1746 # tool to use in cross-compilation environments, therefore Automake
1747 # will honor the `STRIP' environment variable to overrule this program.
1748 if test "$cross_compiling" != no
; then
1749 if test -n "$ac_tool_prefix"; then
1750 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1751 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1752 echo "$as_me:$LINENO: checking for $ac_word" >&5
1753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1754 if test "${ac_cv_prog_STRIP+set}" = set; then
1755 echo $ECHO_N "(cached) $ECHO_C" >&6
1757 if test -n "$STRIP"; then
1758 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1764 test -z "$as_dir" && as_dir
=.
1765 for ac_exec_ext
in '' $ac_executable_extensions; do
1766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1767 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1776 STRIP
=$ac_cv_prog_STRIP
1777 if test -n "$STRIP"; then
1778 echo "$as_me:$LINENO: result: $STRIP" >&5
1779 echo "${ECHO_T}$STRIP" >&6
1781 echo "$as_me:$LINENO: result: no" >&5
1782 echo "${ECHO_T}no" >&6
1786 if test -z "$ac_cv_prog_STRIP"; then
1788 # Extract the first word of "strip", so it can be a program name with args.
1789 set dummy strip
; ac_word
=$2
1790 echo "$as_me:$LINENO: checking for $ac_word" >&5
1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1792 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 if test -n "$ac_ct_STRIP"; then
1796 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1802 test -z "$as_dir" && as_dir
=.
1803 for ac_exec_ext
in '' $ac_executable_extensions; do
1804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1805 ac_cv_prog_ac_ct_STRIP
="strip"
1806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1812 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1815 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1816 if test -n "$ac_ct_STRIP"; then
1817 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1818 echo "${ECHO_T}$ac_ct_STRIP" >&6
1820 echo "$as_me:$LINENO: result: no" >&5
1821 echo "${ECHO_T}no" >&6
1826 STRIP
="$ac_cv_prog_STRIP"
1830 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1832 # We need awk for the "check" target. The system "awk" is bad on
1837 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1838 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1839 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1840 if test "${enable_maintainer_mode+set}" = set; then
1841 enableval
="$enable_maintainer_mode"
1842 USE_MAINTAINER_MODE
=$enableval
1844 USE_MAINTAINER_MODE
=no
1846 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1847 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1850 if test $USE_MAINTAINER_MODE = yes; then
1851 MAINTAINER_MODE_TRUE
=
1852 MAINTAINER_MODE_FALSE
='#'
1854 MAINTAINER_MODE_TRUE
='#'
1855 MAINTAINER_MODE_FALSE
=
1858 MAINT
=$MAINTAINER_MODE_TRUE
1862 # Checks for programs.
1864 ac_cpp
='$CPP $CPPFLAGS'
1865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1868 if test -n "$ac_tool_prefix"; then
1869 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1870 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1871 echo "$as_me:$LINENO: checking for $ac_word" >&5
1872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1873 if test "${ac_cv_prog_CC+set}" = set; then
1874 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 if test -n "$CC"; then
1877 ac_cv_prog_CC
="$CC" # Let the user override the test.
1879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1883 test -z "$as_dir" && as_dir
=.
1884 for ac_exec_ext
in '' $ac_executable_extensions; do
1885 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1886 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1896 if test -n "$CC"; then
1897 echo "$as_me:$LINENO: result: $CC" >&5
1898 echo "${ECHO_T}$CC" >&6
1900 echo "$as_me:$LINENO: result: no" >&5
1901 echo "${ECHO_T}no" >&6
1905 if test -z "$ac_cv_prog_CC"; then
1907 # Extract the first word of "gcc", so it can be a program name with args.
1908 set dummy gcc
; ac_word
=$2
1909 echo "$as_me:$LINENO: checking for $ac_word" >&5
1910 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1911 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1912 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 if test -n "$ac_ct_CC"; then
1915 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1921 test -z "$as_dir" && as_dir
=.
1922 for ac_exec_ext
in '' $ac_executable_extensions; do
1923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1924 ac_cv_prog_ac_ct_CC
="gcc"
1925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1933 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1934 if test -n "$ac_ct_CC"; then
1935 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1936 echo "${ECHO_T}$ac_ct_CC" >&6
1938 echo "$as_me:$LINENO: result: no" >&5
1939 echo "${ECHO_T}no" >&6
1947 if test -z "$CC"; then
1948 if test -n "$ac_tool_prefix"; then
1949 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1950 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1951 echo "$as_me:$LINENO: checking for $ac_word" >&5
1952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1953 if test "${ac_cv_prog_CC+set}" = set; then
1954 echo $ECHO_N "(cached) $ECHO_C" >&6
1956 if test -n "$CC"; then
1957 ac_cv_prog_CC
="$CC" # Let the user override the test.
1959 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1963 test -z "$as_dir" && as_dir
=.
1964 for ac_exec_ext
in '' $ac_executable_extensions; do
1965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1966 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1976 if test -n "$CC"; then
1977 echo "$as_me:$LINENO: result: $CC" >&5
1978 echo "${ECHO_T}$CC" >&6
1980 echo "$as_me:$LINENO: result: no" >&5
1981 echo "${ECHO_T}no" >&6
1985 if test -z "$ac_cv_prog_CC"; then
1987 # Extract the first word of "cc", so it can be a program name with args.
1988 set dummy cc
; ac_word
=$2
1989 echo "$as_me:$LINENO: checking for $ac_word" >&5
1990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1991 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1992 echo $ECHO_N "(cached) $ECHO_C" >&6
1994 if test -n "$ac_ct_CC"; then
1995 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2001 test -z "$as_dir" && as_dir
=.
2002 for ac_exec_ext
in '' $ac_executable_extensions; do
2003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2004 ac_cv_prog_ac_ct_CC
="cc"
2005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2013 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2014 if test -n "$ac_ct_CC"; then
2015 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2016 echo "${ECHO_T}$ac_ct_CC" >&6
2018 echo "$as_me:$LINENO: result: no" >&5
2019 echo "${ECHO_T}no" >&6
2028 if test -z "$CC"; then
2029 # Extract the first word of "cc", so it can be a program name with args.
2030 set dummy cc
; ac_word
=$2
2031 echo "$as_me:$LINENO: checking for $ac_word" >&5
2032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2033 if test "${ac_cv_prog_CC+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC
="$CC" # Let the user override the test.
2040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2044 test -z "$as_dir" && as_dir
=.
2045 for ac_exec_ext
in '' $ac_executable_extensions; do
2046 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2047 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2048 ac_prog_rejected
=yes
2052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2058 if test $ac_prog_rejected = yes; then
2059 # We found a bogon in the path, so make sure we never use it.
2060 set dummy
$ac_cv_prog_CC
2062 if test $# != 0; then
2063 # We chose a different compiler from the bogus one.
2064 # However, it has the same basename, so the bogon will be chosen
2065 # first if we set CC to just the basename; use the full file name.
2067 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2073 if test -n "$CC"; then
2074 echo "$as_me:$LINENO: result: $CC" >&5
2075 echo "${ECHO_T}$CC" >&6
2077 echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6
2082 if test -z "$CC"; then
2083 if test -n "$ac_tool_prefix"; then
2086 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2087 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2088 echo "$as_me:$LINENO: checking for $ac_word" >&5
2089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2090 if test "${ac_cv_prog_CC+set}" = set; then
2091 echo $ECHO_N "(cached) $ECHO_C" >&6
2093 if test -n "$CC"; then
2094 ac_cv_prog_CC
="$CC" # Let the user override the test.
2096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2100 test -z "$as_dir" && as_dir
=.
2101 for ac_exec_ext
in '' $ac_executable_extensions; do
2102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2103 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2113 if test -n "$CC"; then
2114 echo "$as_me:$LINENO: result: $CC" >&5
2115 echo "${ECHO_T}$CC" >&6
2117 echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6
2121 test -n "$CC" && break
2124 if test -z "$CC"; then
2128 # Extract the first word of "$ac_prog", so it can be a program name with args.
2129 set dummy
$ac_prog; ac_word
=$2
2130 echo "$as_me:$LINENO: checking for $ac_word" >&5
2131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2132 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2135 if test -n "$ac_ct_CC"; then
2136 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2142 test -z "$as_dir" && as_dir
=.
2143 for ac_exec_ext
in '' $ac_executable_extensions; do
2144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2145 ac_cv_prog_ac_ct_CC
="$ac_prog"
2146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2155 if test -n "$ac_ct_CC"; then
2156 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2157 echo "${ECHO_T}$ac_ct_CC" >&6
2159 echo "$as_me:$LINENO: result: no" >&5
2160 echo "${ECHO_T}no" >&6
2163 test -n "$ac_ct_CC" && break
2172 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2173 See \`config.log' for more details." >&5
2174 echo "$as_me: error: no acceptable C compiler found in \$PATH
2175 See \`config.log' for more details." >&2;}
2176 { (exit 1); exit 1; }; }
2178 # Provide some information about the compiler.
2179 echo "$as_me:$LINENO:" \
2180 "checking for C compiler version" >&5
2181 ac_compiler
=`set X $ac_compile; echo $2`
2182 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2183 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186 (exit $ac_status); }
2187 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2188 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); }
2192 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2193 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196 (exit $ac_status); }
2198 cat >conftest.
$ac_ext <<_ACEOF
2201 cat confdefs.h
>>conftest.
$ac_ext
2202 cat >>conftest.
$ac_ext <<_ACEOF
2203 /* end confdefs.h. */
2213 ac_clean_files_save
=$ac_clean_files
2214 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2215 # Try to create an executable without -o first, disregard a.out.
2216 # It will help us diagnose broken compilers, and finding out an intuition
2218 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2219 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2220 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2221 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2222 (eval $ac_link_default) 2>&5
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); }; then
2226 # Find the output, starting from the most likely. This scheme is
2227 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2230 # Be careful to initialize this variable, since it used to be cached.
2231 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2233 # b.out is created by i960 compilers.
2234 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2236 test -f "$ac_file" ||
continue
2238 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2241 # This is the source file.
2244 # We found the default executable, but exeext='' is most
2248 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2249 # FIXME: I believe we export ac_cv_exeext for Libtool,
2250 # but it would be cool to find out if it's true. Does anybody
2251 # maintain Libtool? --akim.
2259 echo "$as_me: failed program was:" >&5
2260 sed 's/^/| /' conftest.
$ac_ext >&5
2262 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2263 See \`config.log' for more details." >&5
2264 echo "$as_me: error: C compiler cannot create executables
2265 See \`config.log' for more details." >&2;}
2266 { (exit 77); exit 77; }; }
2269 ac_exeext
=$ac_cv_exeext
2270 echo "$as_me:$LINENO: result: $ac_file" >&5
2271 echo "${ECHO_T}$ac_file" >&6
2273 # Check the compiler produces executables we can run. If not, either
2274 # the compiler is broken, or we cross compile.
2275 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2276 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2277 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2278 # If not cross compiling, check that we can run a simple program.
2279 if test "$cross_compiling" != yes; then
2280 if { ac_try
='./$ac_file'
2281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); }; }; then
2288 if test "$cross_compiling" = maybe
; then
2291 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2292 If you meant to cross compile, use \`--host'.
2293 See \`config.log' for more details." >&5
2294 echo "$as_me: error: cannot run C compiled programs.
2295 If you meant to cross compile, use \`--host'.
2296 See \`config.log' for more details." >&2;}
2297 { (exit 1); exit 1; }; }
2301 echo "$as_me:$LINENO: result: yes" >&5
2302 echo "${ECHO_T}yes" >&6
2304 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2305 ac_clean_files
=$ac_clean_files_save
2306 # Check the compiler produces executables we can run. If not, either
2307 # the compiler is broken, or we cross compile.
2308 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2309 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2310 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2311 echo "${ECHO_T}$cross_compiling" >&6
2313 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2314 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2316 (eval $ac_link) 2>&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); }; then
2320 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2321 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2322 # work properly (i.e., refer to `conftest.exe'), while it won't with
2324 for ac_file
in conftest.exe conftest conftest.
*; do
2325 test -f "$ac_file" ||
continue
2327 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2328 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2335 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2336 See \`config.log' for more details." >&5
2337 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2338 See \`config.log' for more details." >&2;}
2339 { (exit 1); exit 1; }; }
2342 rm -f conftest
$ac_cv_exeext
2343 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2344 echo "${ECHO_T}$ac_cv_exeext" >&6
2346 rm -f conftest.
$ac_ext
2347 EXEEXT
=$ac_cv_exeext
2349 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2350 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2351 if test "${ac_cv_objext+set}" = set; then
2352 echo $ECHO_N "(cached) $ECHO_C" >&6
2354 cat >conftest.
$ac_ext <<_ACEOF
2357 cat confdefs.h
>>conftest.
$ac_ext
2358 cat >>conftest.
$ac_ext <<_ACEOF
2359 /* end confdefs.h. */
2369 rm -f conftest.o conftest.obj
2370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2371 (eval $ac_compile) 2>&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }; then
2375 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2377 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2378 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2383 echo "$as_me: failed program was:" >&5
2384 sed 's/^/| /' conftest.
$ac_ext >&5
2386 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2387 See \`config.log' for more details." >&5
2388 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2389 See \`config.log' for more details." >&2;}
2390 { (exit 1); exit 1; }; }
2393 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2395 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2396 echo "${ECHO_T}$ac_cv_objext" >&6
2397 OBJEXT
=$ac_cv_objext
2399 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2400 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2401 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2402 echo $ECHO_N "(cached) $ECHO_C" >&6
2404 cat >conftest.
$ac_ext <<_ACEOF
2407 cat confdefs.h
>>conftest.
$ac_ext
2408 cat >>conftest.
$ac_ext <<_ACEOF
2409 /* end confdefs.h. */
2422 rm -f conftest.
$ac_objext
2423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2424 (eval $ac_compile) 2>conftest.er1
2426 grep -v '^ *+' conftest.er1
>conftest.err
2428 cat conftest.err
>&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); } &&
2431 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; } &&
2437 { ac_try
='test -s conftest.$ac_objext'
2438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; }; then
2445 echo "$as_me: failed program was:" >&5
2446 sed 's/^/| /' conftest.
$ac_ext >&5
2450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2451 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2454 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2455 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2456 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2457 ac_test_CFLAGS
=${CFLAGS+set}
2458 ac_save_CFLAGS
=$CFLAGS
2460 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2461 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2462 if test "${ac_cv_prog_cc_g+set}" = set; then
2463 echo $ECHO_N "(cached) $ECHO_C" >&6
2465 cat >conftest.
$ac_ext <<_ACEOF
2468 cat confdefs.h
>>conftest.
$ac_ext
2469 cat >>conftest.
$ac_ext <<_ACEOF
2470 /* end confdefs.h. */
2480 rm -f conftest.
$ac_objext
2481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2482 (eval $ac_compile) 2>conftest.er1
2484 grep -v '^ *+' conftest.er1
>conftest.err
2486 cat conftest.err
>&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); } &&
2489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494 (exit $ac_status); }; } &&
2495 { ac_try
='test -s conftest.$ac_objext'
2496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); }; }; then
2503 echo "$as_me: failed program was:" >&5
2504 sed 's/^/| /' conftest.
$ac_ext >&5
2508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2510 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2511 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2512 if test "$ac_test_CFLAGS" = set; then
2513 CFLAGS
=$ac_save_CFLAGS
2514 elif test $ac_cv_prog_cc_g = yes; then
2515 if test "$GCC" = yes; then
2521 if test "$GCC" = yes; then
2527 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2528 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2529 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2530 echo $ECHO_N "(cached) $ECHO_C" >&6
2532 ac_cv_prog_cc_stdc
=no
2534 cat >conftest.
$ac_ext <<_ACEOF
2537 cat confdefs.h
>>conftest.
$ac_ext
2538 cat >>conftest.
$ac_ext <<_ACEOF
2539 /* end confdefs.h. */
2542 #include <sys/types.h>
2543 #include <sys/stat.h>
2544 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2545 struct buf { int x; };
2546 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2547 static char *e (p, i)
2553 static char *f (char * (*g) (char **, int), char **p, ...)
2558 s = g (p, va_arg (v,int));
2563 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2564 function prototypes and stuff, but not '\xHH' hex character constants.
2565 These don't provoke an error unfortunately, instead are silently treated
2566 as 'x'. The following induces an error, until -std1 is added to get
2567 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2568 array size at least. It's necessary to write '\x00'==0 to get something
2569 that's true only with -std1. */
2570 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2572 int test (int i, double x);
2573 struct s1 {int (*f) (int a);};
2574 struct s2 {int (*f) (double a);};
2575 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2581 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2586 # Don't try gcc -ansi; that turns off useful extensions and
2587 # breaks some systems' header files.
2588 # AIX -qlanglvl=ansi
2589 # Ultrix and OSF/1 -std1
2590 # HP-UX 10.20 and later -Ae
2591 # HP-UX older versions -Aa -D_HPUX_SOURCE
2592 # SVR4 -Xc -D__EXTENSIONS__
2593 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2595 CC
="$ac_save_CC $ac_arg"
2596 rm -f conftest.
$ac_objext
2597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2598 (eval $ac_compile) 2>conftest.er1
2600 grep -v '^ *+' conftest.er1
>conftest.err
2602 cat conftest.err
>&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); } &&
2605 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2610 (exit $ac_status); }; } &&
2611 { ac_try
='test -s conftest.$ac_objext'
2612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }; }; then
2617 ac_cv_prog_cc_stdc
=$ac_arg
2620 echo "$as_me: failed program was:" >&5
2621 sed 's/^/| /' conftest.
$ac_ext >&5
2624 rm -f conftest.err conftest.
$ac_objext
2626 rm -f conftest.
$ac_ext conftest.
$ac_objext
2631 case "x$ac_cv_prog_cc_stdc" in
2633 echo "$as_me:$LINENO: result: none needed" >&5
2634 echo "${ECHO_T}none needed" >&6 ;;
2636 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2637 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2638 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2641 # Some people use a C++ compiler to compile C. Since we use `exit',
2642 # in C++ we need to declare it. In case someone uses the same compiler
2643 # for both compiling C and C++ we need to have the C++ compiler decide
2644 # the declaration of exit, since it's the most demanding environment.
2645 cat >conftest.
$ac_ext <<_ACEOF
2650 rm -f conftest.
$ac_objext
2651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2652 (eval $ac_compile) 2>conftest.er1
2654 grep -v '^ *+' conftest.er1
>conftest.err
2656 cat conftest.err
>&5
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); } &&
2659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; } &&
2665 { ac_try
='test -s conftest.$ac_objext'
2666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); }; }; then
2671 for ac_declaration
in \
2673 'extern "C" void std::exit (int) throw (); using std::exit;' \
2674 'extern "C" void std::exit (int); using std::exit;' \
2675 'extern "C" void exit (int) throw ();' \
2676 'extern "C" void exit (int);' \
2679 cat >conftest.
$ac_ext <<_ACEOF
2682 cat confdefs.h
>>conftest.
$ac_ext
2683 cat >>conftest.
$ac_ext <<_ACEOF
2684 /* end confdefs.h. */
2695 rm -f conftest.
$ac_objext
2696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2697 (eval $ac_compile) 2>conftest.er1
2699 grep -v '^ *+' conftest.er1
>conftest.err
2701 cat conftest.err
>&5
2702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2703 (exit $ac_status); } &&
2704 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); }; } &&
2710 { ac_try
='test -s conftest.$ac_objext'
2711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); }; }; then
2718 echo "$as_me: failed program was:" >&5
2719 sed 's/^/| /' conftest.
$ac_ext >&5
2723 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2724 cat >conftest.
$ac_ext <<_ACEOF
2727 cat confdefs.h
>>conftest.
$ac_ext
2728 cat >>conftest.
$ac_ext <<_ACEOF
2729 /* end confdefs.h. */
2739 rm -f conftest.
$ac_objext
2740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2741 (eval $ac_compile) 2>conftest.er1
2743 grep -v '^ *+' conftest.er1
>conftest.err
2745 cat conftest.err
>&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); } &&
2748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; } &&
2754 { ac_try
='test -s conftest.$ac_objext'
2755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); }; }; then
2762 echo "$as_me: failed program was:" >&5
2763 sed 's/^/| /' conftest.
$ac_ext >&5
2766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2769 if test -n "$ac_declaration"; then
2770 echo '#ifdef __cplusplus' >>confdefs.h
2771 echo $ac_declaration >>confdefs.h
2772 echo '#endif' >>confdefs.h
2776 echo "$as_me: failed program was:" >&5
2777 sed 's/^/| /' conftest.
$ac_ext >&5
2780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2782 ac_cpp
='$CPP $CPPFLAGS'
2783 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2784 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2785 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2786 DEPDIR
="${am__leading_dot}deps"
2788 ac_config_commands
="$ac_config_commands depfiles"
2791 am_make
=${MAKE-make}
2792 cat > confinc
<< 'END'
2797 # If we don't find an include directive, just comment out the code.
2798 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2799 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2803 # First try GNU make style include.
2804 echo "include confinc" > confmf
2805 # We grep out `Entering directory' and `Leaving directory'
2806 # messages which can occur if `w' ends up in MAKEFLAGS.
2807 # In particular we don't look at `^make:' because GNU make might
2808 # be invoked under some other name (usually "gmake"), in which
2809 # case it prints its new name instead of `make'.
2810 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2815 # Now try BSD make style include.
2816 if test "$am__include" = "#"; then
2817 echo '.include "confinc"' > confmf
2818 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2819 am__include
=.include
2826 echo "$as_me:$LINENO: result: $_am_result" >&5
2827 echo "${ECHO_T}$_am_result" >&6
2828 rm -f confinc confmf
2830 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2831 if test "${enable_dependency_tracking+set}" = set; then
2832 enableval
="$enable_dependency_tracking"
2835 if test "x$enable_dependency_tracking" != xno
; then
2836 am_depcomp
="$ac_aux_dir/depcomp"
2841 if test "x$enable_dependency_tracking" != xno; then
2852 depcc
="$CC" am_compiler_list
=
2854 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2855 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2856 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2857 echo $ECHO_N "(cached) $ECHO_C" >&6
2859 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2860 # We make a subdir and do the tests there. Otherwise we can end up
2861 # making bogus files that we don't know about and never remove. For
2862 # instance it was reported that on HP-UX the gcc test will end up
2863 # making a dummy file named `D' -- because `-MD' means `put the output
2866 # Copy depcomp to subdir because otherwise we won't find it if we're
2867 # using a relative directory.
2868 cp "$am_depcomp" conftest.dir
2870 # We will build objects and dependencies in a subdirectory because
2871 # it helps to detect inapplicable dependency modes. For instance
2872 # both Tru64's cc and ICC support -MD to output dependencies as a
2873 # side effect of compilation, but ICC will put the dependencies in
2874 # the current directory while Tru64 will put them in the object
2878 am_cv_CC_dependencies_compiler_type
=none
2879 if test "$am_compiler_list" = ""; then
2880 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2882 for depmode
in $am_compiler_list; do
2883 # Setup a source with many dependencies, because some compilers
2884 # like to wrap large dependency lists on column 80 (with \), and
2885 # we should not choose a depcomp mode which is confused by this.
2887 # We need to recreate these files for each test, as the compiler may
2888 # overwrite some of them when testing with obscure command lines.
2889 # This happens at least with the AIX C compiler.
2891 for i
in 1 2 3 4 5 6; do
2892 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
2893 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2894 # Solaris 8's {/usr,}/bin/sh.
2895 touch sub
/conftst
$i.h
2897 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2901 # after this tag, mechanisms are not by side-effect, so they'll
2902 # only be used when explicitly requested
2903 if test "x$enable_dependency_tracking" = xyes
; then
2911 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2912 # mode. It turns out that the SunPro C++ compiler does not properly
2913 # handle `-M -o', and we need to detect this.
2914 if depmode
=$depmode \
2915 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
2916 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
2917 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
2918 >/dev
/null
2>conftest.err
&&
2919 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
2920 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
2921 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2922 # icc doesn't choke on unknown options, it will just issue warnings
2923 # or remarks (even with -Werror). So we grep stderr for any message
2924 # that says an option was ignored or not supported.
2925 # When given -MP, icc 7.0 and 7.1 complain thusly:
2926 # icc: Command line warning: ignoring option '-M'; no argument required
2927 # The diagnosis changed in icc 8.0:
2928 # icc: Command line remark: option '-MP' not supported
2929 if (grep 'ignoring option' conftest.err ||
2930 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
2931 am_cv_CC_dependencies_compiler_type
=$depmode
2940 am_cv_CC_dependencies_compiler_type
=none
2944 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2945 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2946 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2951 test "x$enable_dependency_tracking" != xno \
2952 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
2954 am__fastdepCC_FALSE
='#'
2956 am__fastdepCC_TRUE
='#'
2957 am__fastdepCC_FALSE
=
2961 if test -n "$ac_tool_prefix"; then
2962 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2963 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2964 echo "$as_me:$LINENO: checking for $ac_word" >&5
2965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2966 if test "${ac_cv_prog_RANLIB+set}" = set; then
2967 echo $ECHO_N "(cached) $ECHO_C" >&6
2969 if test -n "$RANLIB"; then
2970 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2976 test -z "$as_dir" && as_dir
=.
2977 for ac_exec_ext
in '' $ac_executable_extensions; do
2978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2979 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 RANLIB
=$ac_cv_prog_RANLIB
2989 if test -n "$RANLIB"; then
2990 echo "$as_me:$LINENO: result: $RANLIB" >&5
2991 echo "${ECHO_T}$RANLIB" >&6
2993 echo "$as_me:$LINENO: result: no" >&5
2994 echo "${ECHO_T}no" >&6
2998 if test -z "$ac_cv_prog_RANLIB"; then
2999 ac_ct_RANLIB
=$RANLIB
3000 # Extract the first word of "ranlib", so it can be a program name with args.
3001 set dummy ranlib
; ac_word
=$2
3002 echo "$as_me:$LINENO: checking for $ac_word" >&5
3003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3004 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3005 echo $ECHO_N "(cached) $ECHO_C" >&6
3007 if test -n "$ac_ct_RANLIB"; then
3008 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3014 test -z "$as_dir" && as_dir
=.
3015 for ac_exec_ext
in '' $ac_executable_extensions; do
3016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3017 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3024 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3027 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3028 if test -n "$ac_ct_RANLIB"; then
3029 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3030 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3032 echo "$as_me:$LINENO: result: no" >&5
3033 echo "${ECHO_T}no" >&6
3036 RANLIB
=$ac_ct_RANLIB
3038 RANLIB
="$ac_cv_prog_RANLIB"
3042 # Checks for header files.
3044 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
3045 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3046 if test "${ac_cv_header_time+set}" = set; then
3047 echo $ECHO_N "(cached) $ECHO_C" >&6
3049 cat >conftest.
$ac_ext <<_ACEOF
3052 cat confdefs.h
>>conftest.
$ac_ext
3053 cat >>conftest.
$ac_ext <<_ACEOF
3054 /* end confdefs.h. */
3055 #include <sys/types.h>
3056 #include <sys/time.h>
3062 if ((struct tm *) 0)
3068 rm -f conftest.
$ac_objext
3069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3070 (eval $ac_compile) 2>conftest.er1
3072 grep -v '^ *+' conftest.er1
>conftest.err
3074 cat conftest.err
>&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); } &&
3077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); }; } &&
3083 { ac_try
='test -s conftest.$ac_objext'
3084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }; }; then
3089 ac_cv_header_time
=yes
3091 echo "$as_me: failed program was:" >&5
3092 sed 's/^/| /' conftest.
$ac_ext >&5
3094 ac_cv_header_time
=no
3096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3098 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3099 echo "${ECHO_T}$ac_cv_header_time" >&6
3100 if test $ac_cv_header_time = yes; then
3102 cat >>confdefs.h
<<\_ACEOF
3103 #define TIME_WITH_SYS_TIME 1
3108 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
3109 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
3110 if test "${gcc_cv_header_string+set}" = set; then
3111 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 cat >conftest.
$ac_ext <<_ACEOF
3116 cat confdefs.h
>>conftest.
$ac_ext
3117 cat >>conftest.
$ac_ext <<_ACEOF
3118 /* end confdefs.h. */
3120 #include <strings.h>
3129 rm -f conftest.
$ac_objext
3130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3131 (eval $ac_compile) 2>conftest.er1
3133 grep -v '^ *+' conftest.er1
>conftest.err
3135 cat conftest.err
>&5
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); } &&
3138 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); }; } &&
3144 { ac_try
='test -s conftest.$ac_objext'
3145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); }; }; then
3150 gcc_cv_header_string
=yes
3152 echo "$as_me: failed program was:" >&5
3153 sed 's/^/| /' conftest.
$ac_ext >&5
3155 gcc_cv_header_string
=no
3157 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3159 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
3160 echo "${ECHO_T}$gcc_cv_header_string" >&6
3161 if test $gcc_cv_header_string = yes; then
3163 cat >>confdefs.h
<<\_ACEOF
3164 #define STRING_WITH_STRINGS 1
3169 echo "$as_me:$LINENO: checking for working stdbool.h" >&5
3170 echo $ECHO_N "checking for working stdbool.h... $ECHO_C" >&6
3171 if test "${ac_cv_header_stdbool_h+set}" = set; then
3172 echo $ECHO_N "(cached) $ECHO_C" >&6
3174 cat >conftest.
$ac_ext <<_ACEOF
3177 cat confdefs.h
>>conftest.
$ac_ext
3178 cat >>conftest.
$ac_ext <<_ACEOF
3179 /* end confdefs.h. */
3180 #include <stdbool.h>
3189 rm -f conftest.
$ac_objext
3190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3191 (eval $ac_compile) 2>conftest.er1
3193 grep -v '^ *+' conftest.er1
>conftest.err
3195 cat conftest.err
>&5
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); } &&
3198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); }; } &&
3204 { ac_try
='test -s conftest.$ac_objext'
3205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); }; }; then
3210 ac_cv_header_stdbool_h
=yes
3212 echo "$as_me: failed program was:" >&5
3213 sed 's/^/| /' conftest.
$ac_ext >&5
3215 ac_cv_header_stdbool_h
=no
3217 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3219 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
3220 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
3221 if test $ac_cv_header_stdbool_h = yes; then
3223 cat >>confdefs.h
<<\_ACEOF
3224 #define HAVE_STDBOOL_H 1
3228 echo "$as_me:$LINENO: checking for built-in _Bool" >&5
3229 echo $ECHO_N "checking for built-in _Bool... $ECHO_C" >&6
3230 if test "${gcc_cv_c__bool+set}" = set; then
3231 echo $ECHO_N "(cached) $ECHO_C" >&6
3233 cat >conftest.
$ac_ext <<_ACEOF
3236 cat confdefs.h
>>conftest.
$ac_ext
3237 cat >>conftest.
$ac_ext <<_ACEOF
3238 /* end confdefs.h. */
3248 rm -f conftest.
$ac_objext
3249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3250 (eval $ac_compile) 2>conftest.er1
3252 grep -v '^ *+' conftest.er1
>conftest.err
3254 cat conftest.err
>&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); } &&
3257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); }; } &&
3263 { ac_try
='test -s conftest.$ac_objext'
3264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); }; }; then
3271 echo "$as_me: failed program was:" >&5
3272 sed 's/^/| /' conftest.
$ac_ext >&5
3276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3279 echo "$as_me:$LINENO: result: $gcc_cv_c__bool" >&5
3280 echo "${ECHO_T}$gcc_cv_c__bool" >&6
3281 if test $gcc_cv_c__bool = yes; then
3283 cat >>confdefs.h
<<\_ACEOF
3284 #define HAVE__BOOL 1
3290 ac_cpp
='$CPP $CPPFLAGS'
3291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3294 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3295 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3296 # On Suns, sometimes $CPP names a directory.
3297 if test -n "$CPP" && test -d "$CPP"; then
3300 if test -z "$CPP"; then
3301 if test "${ac_cv_prog_CPP+set}" = set; then
3302 echo $ECHO_N "(cached) $ECHO_C" >&6
3304 # Double quotes because CPP needs to be expanded
3305 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3308 for ac_c_preproc_warn_flag
in '' yes
3310 # Use a header file that comes with gcc, so configuring glibc
3311 # with a fresh cross-compiler works.
3312 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3313 # <limits.h> exists even on freestanding compilers.
3314 # On the NeXT, cc -E runs the code through the compiler's parser,
3315 # not just through cpp. "Syntax error" is here to catch this case.
3316 cat >conftest.
$ac_ext <<_ACEOF
3319 cat confdefs.h
>>conftest.
$ac_ext
3320 cat >>conftest.
$ac_ext <<_ACEOF
3321 /* end confdefs.h. */
3323 # include <limits.h>
3325 # include <assert.h>
3329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3330 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3332 grep -v '^ *+' conftest.er1
>conftest.err
3334 cat conftest.err
>&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); } >/dev
/null
; then
3337 if test -s conftest.err
; then
3338 ac_cpp_err
=$ac_c_preproc_warn_flag
3339 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3346 if test -z "$ac_cpp_err"; then
3349 echo "$as_me: failed program was:" >&5
3350 sed 's/^/| /' conftest.
$ac_ext >&5
3352 # Broken: fails on valid input.
3355 rm -f conftest.err conftest.
$ac_ext
3357 # OK, works on sane cases. Now check whether non-existent headers
3358 # can be detected and how.
3359 cat >conftest.
$ac_ext <<_ACEOF
3362 cat confdefs.h
>>conftest.
$ac_ext
3363 cat >>conftest.
$ac_ext <<_ACEOF
3364 /* end confdefs.h. */
3365 #include <ac_nonexistent.h>
3367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3368 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3370 grep -v '^ *+' conftest.er1
>conftest.err
3372 cat conftest.err
>&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); } >/dev
/null
; then
3375 if test -s conftest.err
; then
3376 ac_cpp_err
=$ac_c_preproc_warn_flag
3377 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3384 if test -z "$ac_cpp_err"; then
3385 # Broken: success on invalid input.
3388 echo "$as_me: failed program was:" >&5
3389 sed 's/^/| /' conftest.
$ac_ext >&5
3391 # Passes both tests.
3395 rm -f conftest.err conftest.
$ac_ext
3398 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3399 rm -f conftest.err conftest.
$ac_ext
3400 if $ac_preproc_ok; then
3412 echo "$as_me:$LINENO: result: $CPP" >&5
3413 echo "${ECHO_T}$CPP" >&6
3415 for ac_c_preproc_warn_flag
in '' yes
3417 # Use a header file that comes with gcc, so configuring glibc
3418 # with a fresh cross-compiler works.
3419 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3420 # <limits.h> exists even on freestanding compilers.
3421 # On the NeXT, cc -E runs the code through the compiler's parser,
3422 # not just through cpp. "Syntax error" is here to catch this case.
3423 cat >conftest.
$ac_ext <<_ACEOF
3426 cat confdefs.h
>>conftest.
$ac_ext
3427 cat >>conftest.
$ac_ext <<_ACEOF
3428 /* end confdefs.h. */
3430 # include <limits.h>
3432 # include <assert.h>
3436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3437 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3439 grep -v '^ *+' conftest.er1
>conftest.err
3441 cat conftest.err
>&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); } >/dev
/null
; then
3444 if test -s conftest.err
; then
3445 ac_cpp_err
=$ac_c_preproc_warn_flag
3446 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3453 if test -z "$ac_cpp_err"; then
3456 echo "$as_me: failed program was:" >&5
3457 sed 's/^/| /' conftest.
$ac_ext >&5
3459 # Broken: fails on valid input.
3462 rm -f conftest.err conftest.
$ac_ext
3464 # OK, works on sane cases. Now check whether non-existent headers
3465 # can be detected and how.
3466 cat >conftest.
$ac_ext <<_ACEOF
3469 cat confdefs.h
>>conftest.
$ac_ext
3470 cat >>conftest.
$ac_ext <<_ACEOF
3471 /* end confdefs.h. */
3472 #include <ac_nonexistent.h>
3474 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3475 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3477 grep -v '^ *+' conftest.er1
>conftest.err
3479 cat conftest.err
>&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); } >/dev
/null
; then
3482 if test -s conftest.err
; then
3483 ac_cpp_err
=$ac_c_preproc_warn_flag
3484 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3491 if test -z "$ac_cpp_err"; then
3492 # Broken: success on invalid input.
3495 echo "$as_me: failed program was:" >&5
3496 sed 's/^/| /' conftest.
$ac_ext >&5
3498 # Passes both tests.
3502 rm -f conftest.err conftest.
$ac_ext
3505 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3506 rm -f conftest.err conftest.
$ac_ext
3507 if $ac_preproc_ok; then
3510 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3511 See \`config.log' for more details." >&5
3512 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3513 See \`config.log' for more details." >&2;}
3514 { (exit 1); exit 1; }; }
3518 ac_cpp
='$CPP $CPPFLAGS'
3519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3524 echo "$as_me:$LINENO: checking for egrep" >&5
3525 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3526 if test "${ac_cv_prog_egrep+set}" = set; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3529 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3530 then ac_cv_prog_egrep
='grep -E'
3531 else ac_cv_prog_egrep
='egrep'
3534 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3535 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3536 EGREP
=$ac_cv_prog_egrep
3539 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3540 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3541 if test "${ac_cv_header_stdc+set}" = set; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3544 cat >conftest.
$ac_ext <<_ACEOF
3547 cat confdefs.h
>>conftest.
$ac_ext
3548 cat >>conftest.
$ac_ext <<_ACEOF
3549 /* end confdefs.h. */
3563 rm -f conftest.
$ac_objext
3564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3565 (eval $ac_compile) 2>conftest.er1
3567 grep -v '^ *+' conftest.er1
>conftest.err
3569 cat conftest.err
>&5
3570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571 (exit $ac_status); } &&
3572 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); }; } &&
3578 { ac_try
='test -s conftest.$ac_objext'
3579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); }; }; then
3584 ac_cv_header_stdc
=yes
3586 echo "$as_me: failed program was:" >&5
3587 sed 's/^/| /' conftest.
$ac_ext >&5
3589 ac_cv_header_stdc
=no
3591 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3593 if test $ac_cv_header_stdc = yes; then
3594 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3595 cat >conftest.
$ac_ext <<_ACEOF
3598 cat confdefs.h
>>conftest.
$ac_ext
3599 cat >>conftest.
$ac_ext <<_ACEOF
3600 /* end confdefs.h. */
3604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3605 $EGREP "memchr" >/dev
/null
2>&1; then
3608 ac_cv_header_stdc
=no
3614 if test $ac_cv_header_stdc = yes; then
3615 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3616 cat >conftest.
$ac_ext <<_ACEOF
3619 cat confdefs.h
>>conftest.
$ac_ext
3620 cat >>conftest.
$ac_ext <<_ACEOF
3621 /* end confdefs.h. */
3625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3626 $EGREP "free" >/dev
/null
2>&1; then
3629 ac_cv_header_stdc
=no
3635 if test $ac_cv_header_stdc = yes; then
3636 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3637 if test "$cross_compiling" = yes; then
3640 cat >conftest.
$ac_ext <<_ACEOF
3643 cat confdefs.h
>>conftest.
$ac_ext
3644 cat >>conftest.
$ac_ext <<_ACEOF
3645 /* end confdefs.h. */
3647 #if ((' ' & 0x0FF) == 0x020)
3648 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3649 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3651 # define ISLOWER(c) \
3652 (('a' <= (c) && (c) <= 'i') \
3653 || ('j' <= (c) && (c) <= 'r') \
3654 || ('s' <= (c) && (c) <= 'z'))
3655 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3658 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3663 for (i = 0; i < 256; i++)
3664 if (XOR (islower (i), ISLOWER (i))
3665 || toupper (i) != TOUPPER (i))
3670 rm -f conftest
$ac_exeext
3671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3672 (eval $ac_link) 2>&5
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); }; }; then
3683 echo "$as_me: program exited with status $ac_status" >&5
3684 echo "$as_me: failed program was:" >&5
3685 sed 's/^/| /' conftest.
$ac_ext >&5
3688 ac_cv_header_stdc
=no
3690 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3694 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3695 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3696 if test $ac_cv_header_stdc = yes; then
3698 cat >>confdefs.h
<<\_ACEOF
3699 #define STDC_HEADERS 1
3704 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3714 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3715 inttypes.h stdint.h unistd.h
3717 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3718 echo "$as_me:$LINENO: checking for $ac_header" >&5
3719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3720 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 cat >conftest.
$ac_ext <<_ACEOF
3726 cat confdefs.h
>>conftest.
$ac_ext
3727 cat >>conftest.
$ac_ext <<_ACEOF
3728 /* end confdefs.h. */
3729 $ac_includes_default
3731 #include <$ac_header>
3733 rm -f conftest.
$ac_objext
3734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3735 (eval $ac_compile) 2>conftest.er1
3737 grep -v '^ *+' conftest.er1
>conftest.err
3739 cat conftest.err
>&5
3740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741 (exit $ac_status); } &&
3742 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3747 (exit $ac_status); }; } &&
3748 { ac_try
='test -s conftest.$ac_objext'
3749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); }; }; then
3754 eval "$as_ac_Header=yes"
3756 echo "$as_me: failed program was:" >&5
3757 sed 's/^/| /' conftest.
$ac_ext >&5
3759 eval "$as_ac_Header=no"
3761 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3766 cat >>confdefs.h
<<_ACEOF
3767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3785 for ac_header
in iconv.h locale.h fcntl.h limits.h stddef.h \
3786 stdlib.h
strings.h string.h sys
/file.h unistd.h
3788 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3790 echo "$as_me:$LINENO: checking for $ac_header" >&5
3791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3798 # Is the header compilable?
3799 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3800 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3801 cat >conftest.
$ac_ext <<_ACEOF
3804 cat confdefs.h
>>conftest.
$ac_ext
3805 cat >>conftest.
$ac_ext <<_ACEOF
3806 /* end confdefs.h. */
3807 $ac_includes_default
3808 #include <$ac_header>
3810 rm -f conftest.
$ac_objext
3811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3812 (eval $ac_compile) 2>conftest.er1
3814 grep -v '^ *+' conftest.er1
>conftest.err
3816 cat conftest.err
>&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); } &&
3819 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); }; } &&
3825 { ac_try
='test -s conftest.$ac_objext'
3826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3830 (exit $ac_status); }; }; then
3831 ac_header_compiler
=yes
3833 echo "$as_me: failed program was:" >&5
3834 sed 's/^/| /' conftest.
$ac_ext >&5
3836 ac_header_compiler
=no
3838 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3839 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3840 echo "${ECHO_T}$ac_header_compiler" >&6
3842 # Is the header present?
3843 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3844 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3845 cat >conftest.
$ac_ext <<_ACEOF
3848 cat confdefs.h
>>conftest.
$ac_ext
3849 cat >>conftest.
$ac_ext <<_ACEOF
3850 /* end confdefs.h. */
3851 #include <$ac_header>
3853 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3854 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3856 grep -v '^ *+' conftest.er1
>conftest.err
3858 cat conftest.err
>&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); } >/dev
/null
; then
3861 if test -s conftest.err
; then
3862 ac_cpp_err
=$ac_c_preproc_warn_flag
3863 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3870 if test -z "$ac_cpp_err"; then
3871 ac_header_preproc
=yes
3873 echo "$as_me: failed program was:" >&5
3874 sed 's/^/| /' conftest.
$ac_ext >&5
3876 ac_header_preproc
=no
3878 rm -f conftest.err conftest.
$ac_ext
3879 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3880 echo "${ECHO_T}$ac_header_preproc" >&6
3882 # So? What about this header?
3883 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3885 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3886 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3888 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3889 ac_header_preproc
=yes
3892 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3893 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3894 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3895 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3896 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3897 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3898 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3899 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3901 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3902 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3903 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3906 ## ----------------------------------- ##
3907 ## Report this to gcc-bugs@gcc.gnu.org ##
3908 ## ----------------------------------- ##
3911 sed "s/^/$as_me: WARNING: /" >&2
3914 echo "$as_me:$LINENO: checking for $ac_header" >&5
3915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3917 echo $ECHO_N "(cached) $ECHO_C" >&6
3919 eval "$as_ac_Header=\$ac_header_preproc"
3921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3925 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3926 cat >>confdefs.h
<<_ACEOF
3927 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3935 # Checks for typedefs, structures, and compiler characteristics.
3936 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3937 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3938 if test "${ac_cv_c_const+set}" = set; then
3939 echo $ECHO_N "(cached) $ECHO_C" >&6
3941 cat >conftest.
$ac_ext <<_ACEOF
3944 cat confdefs.h
>>conftest.
$ac_ext
3945 cat >>conftest.
$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3951 /* FIXME: Include the comments suggested by Paul. */
3953 /* Ultrix mips cc rejects this. */
3954 typedef int charset[2];
3956 /* SunOS 4.1.1 cc rejects this. */
3957 char const *const *ccp;
3959 /* NEC SVR4.0.2 mips cc rejects this. */
3960 struct point {int x, y;};
3961 static struct point const zero = {0,0};
3962 /* AIX XL C 1.02.0.0 rejects this.
3963 It does not let you subtract one const X* pointer from another in
3964 an arm of an if-expression whose if-part is not a constant
3966 const char *g = "string";
3967 ccp = &g + (g ? g-g : 0);
3968 /* HPUX 7.0 cc rejects these. */
3971 ccp = (char const *const *) p;
3972 { /* SCO 3.2v4 cc rejects this. */
3974 char const *s = 0 ? (char *) 0 : (char const *) 0;
3978 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3980 const int *foo = &x[0];
3983 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3984 typedef const int *iptr;
3988 { /* AIX XL C 1.02.0.0 rejects this saying
3989 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3990 struct s { int j; const int *ap[3]; };
3991 struct s *b; b->j = 5;
3993 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4002 rm -f conftest.
$ac_objext
4003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4004 (eval $ac_compile) 2>conftest.er1
4006 grep -v '^ *+' conftest.er1
>conftest.err
4008 cat conftest.err
>&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); } &&
4011 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); }; } &&
4017 { ac_try
='test -s conftest.$ac_objext'
4018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022 (exit $ac_status); }; }; then
4025 echo "$as_me: failed program was:" >&5
4026 sed 's/^/| /' conftest.
$ac_ext >&5
4030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4032 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4033 echo "${ECHO_T}$ac_cv_c_const" >&6
4034 if test $ac_cv_c_const = no
; then
4036 cat >>confdefs.h
<<\_ACEOF
4042 echo "$as_me:$LINENO: checking for inline" >&5
4043 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4044 if test "${ac_cv_c_inline+set}" = set; then
4045 echo $ECHO_N "(cached) $ECHO_C" >&6
4048 for ac_kw
in inline __inline__ __inline
; do
4049 cat >conftest.
$ac_ext <<_ACEOF
4052 cat confdefs.h
>>conftest.
$ac_ext
4053 cat >>conftest.
$ac_ext <<_ACEOF
4054 /* end confdefs.h. */
4057 static $ac_kw foo_t static_foo () {return 0; }
4058 $ac_kw foo_t foo () {return 0; }
4062 rm -f conftest.
$ac_objext
4063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4064 (eval $ac_compile) 2>conftest.er1
4066 grep -v '^ *+' conftest.er1
>conftest.err
4068 cat conftest.err
>&5
4069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4070 (exit $ac_status); } &&
4071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); }; } &&
4077 { ac_try
='test -s conftest.$ac_objext'
4078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); }; }; then
4083 ac_cv_c_inline
=$ac_kw; break
4085 echo "$as_me: failed program was:" >&5
4086 sed 's/^/| /' conftest.
$ac_ext >&5
4089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4093 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4094 echo "${ECHO_T}$ac_cv_c_inline" >&6
4097 case $ac_cv_c_inline in
4100 case $ac_cv_c_inline in
4102 *) ac_val
=$ac_cv_c_inline;;
4104 cat >>confdefs.h
<<_ACEOF
4106 #define inline $ac_val
4112 echo "$as_me:$LINENO: checking for obstacks" >&5
4113 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
4114 if test "${ac_cv_func_obstack+set}" = set; then
4115 echo $ECHO_N "(cached) $ECHO_C" >&6
4117 cat >conftest.
$ac_ext <<_ACEOF
4120 cat confdefs.h
>>conftest.
$ac_ext
4121 cat >>conftest.
$ac_ext <<_ACEOF
4122 /* end confdefs.h. */
4123 #include "obstack.h"
4127 struct obstack *mem; obstack_free(mem,(char *) 0)
4132 rm -f conftest.
$ac_objext conftest
$ac_exeext
4133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4134 (eval $ac_link) 2>conftest.er1
4136 grep -v '^ *+' conftest.er1
>conftest.err
4138 cat conftest.err
>&5
4139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4140 (exit $ac_status); } &&
4141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4146 (exit $ac_status); }; } &&
4147 { ac_try
='test -s conftest$ac_exeext'
4148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4152 (exit $ac_status); }; }; then
4153 ac_cv_func_obstack
=yes
4155 echo "$as_me: failed program was:" >&5
4156 sed 's/^/| /' conftest.
$ac_ext >&5
4158 ac_cv_func_obstack
=no
4160 rm -f conftest.err conftest.
$ac_objext \
4161 conftest
$ac_exeext conftest.
$ac_ext
4163 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
4164 echo "${ECHO_T}$ac_cv_func_obstack" >&6
4165 if test $ac_cv_func_obstack = yes; then
4167 cat >>confdefs.h
<<\_ACEOF
4168 #define HAVE_OBSTACK 1
4173 "obstack.$ac_objext" | \
4174 *" obstack.$ac_objext" | \
4175 "obstack.$ac_objext "* | \
4176 *" obstack.$ac_objext "* ) ;;
4177 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext" ;;
4182 echo "$as_me:$LINENO: checking for off_t" >&5
4183 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4184 if test "${ac_cv_type_off_t+set}" = set; then
4185 echo $ECHO_N "(cached) $ECHO_C" >&6
4187 cat >conftest.
$ac_ext <<_ACEOF
4190 cat confdefs.h
>>conftest.
$ac_ext
4191 cat >>conftest.
$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4193 $ac_includes_default
4205 rm -f conftest.
$ac_objext
4206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4207 (eval $ac_compile) 2>conftest.er1
4209 grep -v '^ *+' conftest.er1
>conftest.err
4211 cat conftest.err
>&5
4212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4213 (exit $ac_status); } &&
4214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4219 (exit $ac_status); }; } &&
4220 { ac_try
='test -s conftest.$ac_objext'
4221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); }; }; then
4226 ac_cv_type_off_t
=yes
4228 echo "$as_me: failed program was:" >&5
4229 sed 's/^/| /' conftest.
$ac_ext >&5
4233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4235 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4236 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4237 if test $ac_cv_type_off_t = yes; then
4241 cat >>confdefs.h
<<_ACEOF
4247 echo "$as_me:$LINENO: checking for size_t" >&5
4248 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4249 if test "${ac_cv_type_size_t+set}" = set; then
4250 echo $ECHO_N "(cached) $ECHO_C" >&6
4252 cat >conftest.
$ac_ext <<_ACEOF
4255 cat confdefs.h
>>conftest.
$ac_ext
4256 cat >>conftest.
$ac_ext <<_ACEOF
4257 /* end confdefs.h. */
4258 $ac_includes_default
4264 if (sizeof (size_t))
4270 rm -f conftest.
$ac_objext
4271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4272 (eval $ac_compile) 2>conftest.er1
4274 grep -v '^ *+' conftest.er1
>conftest.err
4276 cat conftest.err
>&5
4277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278 (exit $ac_status); } &&
4279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4284 (exit $ac_status); }; } &&
4285 { ac_try
='test -s conftest.$ac_objext'
4286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4290 (exit $ac_status); }; }; then
4291 ac_cv_type_size_t
=yes
4293 echo "$as_me: failed program was:" >&5
4294 sed 's/^/| /' conftest.
$ac_ext >&5
4296 ac_cv_type_size_t
=no
4298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4300 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4301 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4302 if test $ac_cv_type_size_t = yes; then
4306 cat >>confdefs.h
<<_ACEOF
4307 #define size_t unsigned
4312 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4313 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4314 if test "${ac_cv_struct_tm+set}" = set; then
4315 echo $ECHO_N "(cached) $ECHO_C" >&6
4317 cat >conftest.
$ac_ext <<_ACEOF
4320 cat confdefs.h
>>conftest.
$ac_ext
4321 cat >>conftest.
$ac_ext <<_ACEOF
4322 /* end confdefs.h. */
4323 #include <sys/types.h>
4329 struct tm *tp; tp->tm_sec;
4334 rm -f conftest.
$ac_objext
4335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4336 (eval $ac_compile) 2>conftest.er1
4338 grep -v '^ *+' conftest.er1
>conftest.err
4340 cat conftest.err
>&5
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); } &&
4343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); }; } &&
4349 { ac_try
='test -s conftest.$ac_objext'
4350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); }; }; then
4355 ac_cv_struct_tm
=time.h
4357 echo "$as_me: failed program was:" >&5
4358 sed 's/^/| /' conftest.
$ac_ext >&5
4360 ac_cv_struct_tm
=sys
/time.h
4362 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4364 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4365 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4366 if test $ac_cv_struct_tm = sys
/time.h
; then
4368 cat >>confdefs.h
<<\_ACEOF
4369 #define TM_IN_SYS_TIME 1
4374 echo "$as_me:$LINENO: checking for int" >&5
4375 echo $ECHO_N "checking for int... $ECHO_C" >&6
4376 if test "${ac_cv_type_int+set}" = set; then
4377 echo $ECHO_N "(cached) $ECHO_C" >&6
4379 cat >conftest.
$ac_ext <<_ACEOF
4382 cat confdefs.h
>>conftest.
$ac_ext
4383 cat >>conftest.
$ac_ext <<_ACEOF
4384 /* end confdefs.h. */
4385 $ac_includes_default
4397 rm -f conftest.
$ac_objext
4398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4399 (eval $ac_compile) 2>conftest.er1
4401 grep -v '^ *+' conftest.er1
>conftest.err
4403 cat conftest.err
>&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); } &&
4406 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); }; } &&
4412 { ac_try
='test -s conftest.$ac_objext'
4413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; }; then
4420 echo "$as_me: failed program was:" >&5
4421 sed 's/^/| /' conftest.
$ac_ext >&5
4425 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4427 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4428 echo "${ECHO_T}$ac_cv_type_int" >&6
4430 echo "$as_me:$LINENO: checking size of int" >&5
4431 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4432 if test "${ac_cv_sizeof_int+set}" = set; then
4433 echo $ECHO_N "(cached) $ECHO_C" >&6
4435 if test "$ac_cv_type_int" = yes; then
4436 # The cast to unsigned long works around a bug in the HP C Compiler
4437 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4438 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4439 # This bug is HP SR number 8606223364.
4440 if test "$cross_compiling" = yes; then
4441 # Depending upon the size, compute the lo and hi bounds.
4442 cat >conftest.
$ac_ext <<_ACEOF
4445 cat confdefs.h
>>conftest.
$ac_ext
4446 cat >>conftest.
$ac_ext <<_ACEOF
4447 /* end confdefs.h. */
4448 $ac_includes_default
4452 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4459 rm -f conftest.
$ac_objext
4460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4461 (eval $ac_compile) 2>conftest.er1
4463 grep -v '^ *+' conftest.er1
>conftest.err
4465 cat conftest.err
>&5
4466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467 (exit $ac_status); } &&
4468 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }; } &&
4474 { ac_try
='test -s conftest.$ac_objext'
4475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); }; }; then
4482 cat >conftest.
$ac_ext <<_ACEOF
4485 cat confdefs.h
>>conftest.
$ac_ext
4486 cat >>conftest.
$ac_ext <<_ACEOF
4487 /* end confdefs.h. */
4488 $ac_includes_default
4492 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4499 rm -f conftest.
$ac_objext
4500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4501 (eval $ac_compile) 2>conftest.er1
4503 grep -v '^ *+' conftest.er1
>conftest.err
4505 cat conftest.err
>&5
4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507 (exit $ac_status); } &&
4508 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4513 (exit $ac_status); }; } &&
4514 { ac_try
='test -s conftest.$ac_objext'
4515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); }; }; then
4520 ac_hi
=$ac_mid; break
4522 echo "$as_me: failed program was:" >&5
4523 sed 's/^/| /' conftest.
$ac_ext >&5
4525 ac_lo
=`expr $ac_mid + 1`
4526 if test $ac_lo -le $ac_mid; then
4530 ac_mid
=`expr 2 '*' $ac_mid + 1`
4532 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.
$ac_ext >&5
4538 cat >conftest.
$ac_ext <<_ACEOF
4541 cat confdefs.h
>>conftest.
$ac_ext
4542 cat >>conftest.
$ac_ext <<_ACEOF
4543 /* end confdefs.h. */
4544 $ac_includes_default
4548 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4555 rm -f conftest.
$ac_objext
4556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4557 (eval $ac_compile) 2>conftest.er1
4559 grep -v '^ *+' conftest.er1
>conftest.err
4561 cat conftest.err
>&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); } &&
4564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); }; } &&
4570 { ac_try
='test -s conftest.$ac_objext'
4571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; }; then
4578 cat >conftest.
$ac_ext <<_ACEOF
4581 cat confdefs.h
>>conftest.
$ac_ext
4582 cat >>conftest.
$ac_ext <<_ACEOF
4583 /* end confdefs.h. */
4584 $ac_includes_default
4588 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4595 rm -f conftest.
$ac_objext
4596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4597 (eval $ac_compile) 2>conftest.er1
4599 grep -v '^ *+' conftest.er1
>conftest.err
4601 cat conftest.err
>&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); } &&
4604 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); }; } &&
4610 { ac_try
='test -s conftest.$ac_objext'
4611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); }; }; then
4616 ac_lo
=$ac_mid; break
4618 echo "$as_me: failed program was:" >&5
4619 sed 's/^/| /' conftest.
$ac_ext >&5
4621 ac_hi
=`expr '(' $ac_mid ')' - 1`
4622 if test $ac_mid -le $ac_hi; then
4626 ac_mid
=`expr 2 '*' $ac_mid`
4628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4631 echo "$as_me: failed program was:" >&5
4632 sed 's/^/| /' conftest.
$ac_ext >&5
4636 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4638 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4639 # Binary search between lo and hi bounds.
4640 while test "x$ac_lo" != "x$ac_hi"; do
4641 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4642 cat >conftest.
$ac_ext <<_ACEOF
4645 cat confdefs.h
>>conftest.
$ac_ext
4646 cat >>conftest.
$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4648 $ac_includes_default
4652 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4659 rm -f conftest.
$ac_objext
4660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4661 (eval $ac_compile) 2>conftest.er1
4663 grep -v '^ *+' conftest.er1
>conftest.err
4665 cat conftest.err
>&5
4666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4667 (exit $ac_status); } &&
4668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); }; } &&
4674 { ac_try
='test -s conftest.$ac_objext'
4675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); }; }; then
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.
$ac_ext >&5
4685 ac_lo
=`expr '(' $ac_mid ')' + 1`
4687 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4690 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4691 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4692 See \`config.log' for more details." >&5
4693 echo "$as_me: error: cannot compute sizeof (int), 77
4694 See \`config.log' for more details." >&2;}
4695 { (exit 1); exit 1; }; } ;;
4698 if test "$cross_compiling" = yes; then
4699 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4700 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4701 { (exit 1); exit 1; }; }
4703 cat >conftest.
$ac_ext <<_ACEOF
4706 cat confdefs.h
>>conftest.
$ac_ext
4707 cat >>conftest.
$ac_ext <<_ACEOF
4708 /* end confdefs.h. */
4709 $ac_includes_default
4710 long longval () { return (long) (sizeof (int)); }
4711 unsigned long ulongval () { return (long) (sizeof (int)); }
4718 FILE *f = fopen ("conftest.val", "w");
4721 if (((long) (sizeof (int))) < 0)
4723 long i = longval ();
4724 if (i != ((long) (sizeof (int))))
4726 fprintf (f, "%ld\n", i);
4730 unsigned long i = ulongval ();
4731 if (i != ((long) (sizeof (int))))
4733 fprintf (f, "%lu\n", i);
4735 exit (ferror (f) || fclose (f) != 0);
4741 rm -f conftest
$ac_exeext
4742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4743 (eval $ac_link) 2>&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; }; then
4752 ac_cv_sizeof_int
=`cat conftest.val`
4754 echo "$as_me: program exited with status $ac_status" >&5
4755 echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.
$ac_ext >&5
4759 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4760 See \`config.log' for more details." >&5
4761 echo "$as_me: error: cannot compute sizeof (int), 77
4762 See \`config.log' for more details." >&2;}
4763 { (exit 1); exit 1; }; }
4765 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4773 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4774 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4775 cat >>confdefs.h
<<_ACEOF
4776 #define SIZEOF_INT $ac_cv_sizeof_int
4780 echo "$as_me:$LINENO: checking for long" >&5
4781 echo $ECHO_N "checking for long... $ECHO_C" >&6
4782 if test "${ac_cv_type_long+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 cat >conftest.
$ac_ext <<_ACEOF
4788 cat confdefs.h
>>conftest.
$ac_ext
4789 cat >>conftest.
$ac_ext <<_ACEOF
4790 /* end confdefs.h. */
4791 $ac_includes_default
4803 rm -f conftest.
$ac_objext
4804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4805 (eval $ac_compile) 2>conftest.er1
4807 grep -v '^ *+' conftest.er1
>conftest.err
4809 cat conftest.err
>&5
4810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811 (exit $ac_status); } &&
4812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); }; } &&
4818 { ac_try
='test -s conftest.$ac_objext'
4819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }; }; then
4826 echo "$as_me: failed program was:" >&5
4827 sed 's/^/| /' conftest.
$ac_ext >&5
4831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4833 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4834 echo "${ECHO_T}$ac_cv_type_long" >&6
4836 echo "$as_me:$LINENO: checking size of long" >&5
4837 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4838 if test "${ac_cv_sizeof_long+set}" = set; then
4839 echo $ECHO_N "(cached) $ECHO_C" >&6
4841 if test "$ac_cv_type_long" = yes; then
4842 # The cast to unsigned long works around a bug in the HP C Compiler
4843 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4844 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4845 # This bug is HP SR number 8606223364.
4846 if test "$cross_compiling" = yes; then
4847 # Depending upon the size, compute the lo and hi bounds.
4848 cat >conftest.
$ac_ext <<_ACEOF
4851 cat confdefs.h
>>conftest.
$ac_ext
4852 cat >>conftest.
$ac_ext <<_ACEOF
4853 /* end confdefs.h. */
4854 $ac_includes_default
4858 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4865 rm -f conftest.
$ac_objext
4866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4867 (eval $ac_compile) 2>conftest.er1
4869 grep -v '^ *+' conftest.er1
>conftest.err
4871 cat conftest.err
>&5
4872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4873 (exit $ac_status); } &&
4874 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4879 (exit $ac_status); }; } &&
4880 { ac_try
='test -s conftest.$ac_objext'
4881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4885 (exit $ac_status); }; }; then
4888 cat >conftest.
$ac_ext <<_ACEOF
4891 cat confdefs.h
>>conftest.
$ac_ext
4892 cat >>conftest.
$ac_ext <<_ACEOF
4893 /* end confdefs.h. */
4894 $ac_includes_default
4898 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4905 rm -f conftest.
$ac_objext
4906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4907 (eval $ac_compile) 2>conftest.er1
4909 grep -v '^ *+' conftest.er1
>conftest.err
4911 cat conftest.err
>&5
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); } &&
4914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); }; } &&
4920 { ac_try
='test -s conftest.$ac_objext'
4921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }; }; then
4926 ac_hi
=$ac_mid; break
4928 echo "$as_me: failed program was:" >&5
4929 sed 's/^/| /' conftest.
$ac_ext >&5
4931 ac_lo
=`expr $ac_mid + 1`
4932 if test $ac_lo -le $ac_mid; then
4936 ac_mid
=`expr 2 '*' $ac_mid + 1`
4938 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4941 echo "$as_me: failed program was:" >&5
4942 sed 's/^/| /' conftest.
$ac_ext >&5
4944 cat >conftest.
$ac_ext <<_ACEOF
4947 cat confdefs.h
>>conftest.
$ac_ext
4948 cat >>conftest.
$ac_ext <<_ACEOF
4949 /* end confdefs.h. */
4950 $ac_includes_default
4954 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4961 rm -f conftest.
$ac_objext
4962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4963 (eval $ac_compile) 2>conftest.er1
4965 grep -v '^ *+' conftest.er1
>conftest.err
4967 cat conftest.err
>&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } &&
4970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }; } &&
4976 { ac_try
='test -s conftest.$ac_objext'
4977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); }; }; then
4984 cat >conftest.
$ac_ext <<_ACEOF
4987 cat confdefs.h
>>conftest.
$ac_ext
4988 cat >>conftest.
$ac_ext <<_ACEOF
4989 /* end confdefs.h. */
4990 $ac_includes_default
4994 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
5001 rm -f conftest.
$ac_objext
5002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5003 (eval $ac_compile) 2>conftest.er1
5005 grep -v '^ *+' conftest.er1
>conftest.err
5007 cat conftest.err
>&5
5008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5009 (exit $ac_status); } &&
5010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); }; } &&
5016 { ac_try
='test -s conftest.$ac_objext'
5017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); }; }; then
5022 ac_lo
=$ac_mid; break
5024 echo "$as_me: failed program was:" >&5
5025 sed 's/^/| /' conftest.
$ac_ext >&5
5027 ac_hi
=`expr '(' $ac_mid ')' - 1`
5028 if test $ac_mid -le $ac_hi; then
5032 ac_mid
=`expr 2 '*' $ac_mid`
5034 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5037 echo "$as_me: failed program was:" >&5
5038 sed 's/^/| /' conftest.
$ac_ext >&5
5042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5045 # Binary search between lo and hi bounds.
5046 while test "x$ac_lo" != "x$ac_hi"; do
5047 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
5048 cat >conftest.
$ac_ext <<_ACEOF
5051 cat confdefs.h
>>conftest.
$ac_ext
5052 cat >>conftest.
$ac_ext <<_ACEOF
5053 /* end confdefs.h. */
5054 $ac_includes_default
5058 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
5065 rm -f conftest.
$ac_objext
5066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5067 (eval $ac_compile) 2>conftest.er1
5069 grep -v '^ *+' conftest.er1
>conftest.err
5071 cat conftest.err
>&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } &&
5074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); }; } &&
5080 { ac_try
='test -s conftest.$ac_objext'
5081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085 (exit $ac_status); }; }; then
5088 echo "$as_me: failed program was:" >&5
5089 sed 's/^/| /' conftest.
$ac_ext >&5
5091 ac_lo
=`expr '(' $ac_mid ')' + 1`
5093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5096 ?
*) ac_cv_sizeof_long
=$ac_lo;;
5097 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5098 See \`config.log' for more details." >&5
5099 echo "$as_me: error: cannot compute sizeof (long), 77
5100 See \`config.log' for more details." >&2;}
5101 { (exit 1); exit 1; }; } ;;
5104 if test "$cross_compiling" = yes; then
5105 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
5106 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
5107 { (exit 1); exit 1; }; }
5109 cat >conftest.
$ac_ext <<_ACEOF
5112 cat confdefs.h
>>conftest.
$ac_ext
5113 cat >>conftest.
$ac_ext <<_ACEOF
5114 /* end confdefs.h. */
5115 $ac_includes_default
5116 long longval () { return (long) (sizeof (long)); }
5117 unsigned long ulongval () { return (long) (sizeof (long)); }
5124 FILE *f = fopen ("conftest.val", "w");
5127 if (((long) (sizeof (long))) < 0)
5129 long i = longval ();
5130 if (i != ((long) (sizeof (long))))
5132 fprintf (f, "%ld\n", i);
5136 unsigned long i = ulongval ();
5137 if (i != ((long) (sizeof (long))))
5139 fprintf (f, "%lu\n", i);
5141 exit (ferror (f) || fclose (f) != 0);
5147 rm -f conftest
$ac_exeext
5148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5149 (eval $ac_link) 2>&5
5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157 (exit $ac_status); }; }; then
5158 ac_cv_sizeof_long
=`cat conftest.val`
5160 echo "$as_me: program exited with status $ac_status" >&5
5161 echo "$as_me: failed program was:" >&5
5162 sed 's/^/| /' conftest.
$ac_ext >&5
5165 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5166 See \`config.log' for more details." >&5
5167 echo "$as_me: error: cannot compute sizeof (long), 77
5168 See \`config.log' for more details." >&2;}
5169 { (exit 1); exit 1; }; }
5171 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5179 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5180 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
5181 cat >>confdefs.h
<<_ACEOF
5182 #define SIZEOF_LONG $ac_cv_sizeof_long
5191 for ac_func
in putc_unlocked fputc_unlocked fputs_unlocked \
5192 fwrite_unlocked fprintf_unlocked
5194 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5195 echo "$as_me:$LINENO: checking for $ac_func" >&5
5196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5197 if eval "test \"\${$as_ac_var+set}\" = set"; then
5198 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 cat >conftest.
$ac_ext <<_ACEOF
5203 cat confdefs.h
>>conftest.
$ac_ext
5204 cat >>conftest.
$ac_ext <<_ACEOF
5205 /* end confdefs.h. */
5206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5208 #define $ac_func innocuous_$ac_func
5210 /* System header to define __stub macros and hopefully few prototypes,
5211 which can conflict with char $ac_func (); below.
5212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5213 <limits.h> exists even on freestanding compilers. */
5216 # include <limits.h>
5218 # include <assert.h>
5223 /* Override any gcc2 internal prototype to avoid an error. */
5228 /* We use char because int might match the return type of a gcc2
5229 builtin and then its argument prototype would still apply. */
5231 /* The GNU C library defines this for functions which it implements
5232 to always fail with ENOSYS. Some functions are actually named
5233 something starting with __ and the normal name is an alias. */
5234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5237 char (*f) () = $ac_func;
5246 return f != $ac_func;
5251 rm -f conftest.
$ac_objext conftest
$ac_exeext
5252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5253 (eval $ac_link) 2>conftest.er1
5255 grep -v '^ *+' conftest.er1
>conftest.err
5257 cat conftest.err
>&5
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259 (exit $ac_status); } &&
5260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); }; } &&
5266 { ac_try
='test -s conftest$ac_exeext'
5267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); }; }; then
5272 eval "$as_ac_var=yes"
5274 echo "$as_me: failed program was:" >&5
5275 sed 's/^/| /' conftest.
$ac_ext >&5
5277 eval "$as_ac_var=no"
5279 rm -f conftest.err conftest.
$ac_objext \
5280 conftest
$ac_exeext conftest.
$ac_ext
5282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5284 if test `eval echo '${'$as_ac_var'}'` = yes; then
5285 cat >>confdefs.h
<<_ACEOF
5286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5292 echo "$as_me:$LINENO: checking whether abort is declared" >&5
5293 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6
5294 if test "${ac_cv_have_decl_abort+set}" = set; then
5295 echo $ECHO_N "(cached) $ECHO_C" >&6
5297 cat >conftest.
$ac_ext <<_ACEOF
5300 cat confdefs.h
>>conftest.
$ac_ext
5301 cat >>conftest.
$ac_ext <<_ACEOF
5302 /* end confdefs.h. */
5303 $ac_includes_default
5308 char *p = (char *) abort;
5315 rm -f conftest.
$ac_objext
5316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5317 (eval $ac_compile) 2>conftest.er1
5319 grep -v '^ *+' conftest.er1
>conftest.err
5321 cat conftest.err
>&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); } &&
5324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329 (exit $ac_status); }; } &&
5330 { ac_try
='test -s conftest.$ac_objext'
5331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5335 (exit $ac_status); }; }; then
5336 ac_cv_have_decl_abort
=yes
5338 echo "$as_me: failed program was:" >&5
5339 sed 's/^/| /' conftest.
$ac_ext >&5
5341 ac_cv_have_decl_abort
=no
5343 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5345 echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
5346 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6
5347 if test $ac_cv_have_decl_abort = yes; then
5349 cat >>confdefs.h
<<_ACEOF
5350 #define HAVE_DECL_ABORT 1
5355 cat >>confdefs.h
<<_ACEOF
5356 #define HAVE_DECL_ABORT 0
5361 echo "$as_me:$LINENO: checking whether errno is declared" >&5
5362 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6
5363 if test "${ac_cv_have_decl_errno+set}" = set; then
5364 echo $ECHO_N "(cached) $ECHO_C" >&6
5366 cat >conftest.
$ac_ext <<_ACEOF
5369 cat confdefs.h
>>conftest.
$ac_ext
5370 cat >>conftest.
$ac_ext <<_ACEOF
5371 /* end confdefs.h. */
5372 $ac_includes_default
5377 char *p = (char *) errno;
5384 rm -f conftest.
$ac_objext
5385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5386 (eval $ac_compile) 2>conftest.er1
5388 grep -v '^ *+' conftest.er1
>conftest.err
5390 cat conftest.err
>&5
5391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5392 (exit $ac_status); } &&
5393 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398 (exit $ac_status); }; } &&
5399 { ac_try
='test -s conftest.$ac_objext'
5400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); }; }; then
5405 ac_cv_have_decl_errno
=yes
5407 echo "$as_me: failed program was:" >&5
5408 sed 's/^/| /' conftest.
$ac_ext >&5
5410 ac_cv_have_decl_errno
=no
5412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5414 echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
5415 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6
5416 if test $ac_cv_have_decl_errno = yes; then
5418 cat >>confdefs.h
<<_ACEOF
5419 #define HAVE_DECL_ERRNO 1
5424 cat >>confdefs.h
<<_ACEOF
5425 #define HAVE_DECL_ERRNO 0
5430 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
5431 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
5432 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
5433 echo $ECHO_N "(cached) $ECHO_C" >&6
5435 cat >conftest.
$ac_ext <<_ACEOF
5438 cat confdefs.h
>>conftest.
$ac_ext
5439 cat >>conftest.
$ac_ext <<_ACEOF
5440 /* end confdefs.h. */
5441 $ac_includes_default
5445 #ifndef putc_unlocked
5446 char *p = (char *) putc_unlocked;
5453 rm -f conftest.
$ac_objext
5454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5455 (eval $ac_compile) 2>conftest.er1
5457 grep -v '^ *+' conftest.er1
>conftest.err
5459 cat conftest.err
>&5
5460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461 (exit $ac_status); } &&
5462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); }; } &&
5468 { ac_try
='test -s conftest.$ac_objext'
5469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5473 (exit $ac_status); }; }; then
5474 ac_cv_have_decl_putc_unlocked
=yes
5476 echo "$as_me: failed program was:" >&5
5477 sed 's/^/| /' conftest.
$ac_ext >&5
5479 ac_cv_have_decl_putc_unlocked
=no
5481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5483 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
5484 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
5485 if test $ac_cv_have_decl_putc_unlocked = yes; then
5487 cat >>confdefs.h
<<_ACEOF
5488 #define HAVE_DECL_PUTC_UNLOCKED 1
5493 cat >>confdefs.h
<<_ACEOF
5494 #define HAVE_DECL_PUTC_UNLOCKED 0
5499 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
5500 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
5501 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
5502 echo $ECHO_N "(cached) $ECHO_C" >&6
5504 cat >conftest.
$ac_ext <<_ACEOF
5507 cat confdefs.h
>>conftest.
$ac_ext
5508 cat >>conftest.
$ac_ext <<_ACEOF
5509 /* end confdefs.h. */
5510 $ac_includes_default
5514 #ifndef fputc_unlocked
5515 char *p = (char *) fputc_unlocked;
5522 rm -f conftest.
$ac_objext
5523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5524 (eval $ac_compile) 2>conftest.er1
5526 grep -v '^ *+' conftest.er1
>conftest.err
5528 cat conftest.err
>&5
5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); } &&
5531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5536 (exit $ac_status); }; } &&
5537 { ac_try
='test -s conftest.$ac_objext'
5538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); }; }; then
5543 ac_cv_have_decl_fputc_unlocked
=yes
5545 echo "$as_me: failed program was:" >&5
5546 sed 's/^/| /' conftest.
$ac_ext >&5
5548 ac_cv_have_decl_fputc_unlocked
=no
5550 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5552 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
5553 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
5554 if test $ac_cv_have_decl_fputc_unlocked = yes; then
5556 cat >>confdefs.h
<<_ACEOF
5557 #define HAVE_DECL_FPUTC_UNLOCKED 1
5562 cat >>confdefs.h
<<_ACEOF
5563 #define HAVE_DECL_FPUTC_UNLOCKED 0
5568 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
5569 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
5570 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
5571 echo $ECHO_N "(cached) $ECHO_C" >&6
5573 cat >conftest.
$ac_ext <<_ACEOF
5576 cat confdefs.h
>>conftest.
$ac_ext
5577 cat >>conftest.
$ac_ext <<_ACEOF
5578 /* end confdefs.h. */
5579 $ac_includes_default
5583 #ifndef fputs_unlocked
5584 char *p = (char *) fputs_unlocked;
5591 rm -f conftest.
$ac_objext
5592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5593 (eval $ac_compile) 2>conftest.er1
5595 grep -v '^ *+' conftest.er1
>conftest.err
5597 cat conftest.err
>&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); } &&
5600 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; } &&
5606 { ac_try
='test -s conftest.$ac_objext'
5607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5611 (exit $ac_status); }; }; then
5612 ac_cv_have_decl_fputs_unlocked
=yes
5614 echo "$as_me: failed program was:" >&5
5615 sed 's/^/| /' conftest.
$ac_ext >&5
5617 ac_cv_have_decl_fputs_unlocked
=no
5619 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5621 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
5622 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
5623 if test $ac_cv_have_decl_fputs_unlocked = yes; then
5625 cat >>confdefs.h
<<_ACEOF
5626 #define HAVE_DECL_FPUTS_UNLOCKED 1
5631 cat >>confdefs.h
<<_ACEOF
5632 #define HAVE_DECL_FPUTS_UNLOCKED 0
5637 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
5638 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
5639 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
5640 echo $ECHO_N "(cached) $ECHO_C" >&6
5642 cat >conftest.
$ac_ext <<_ACEOF
5645 cat confdefs.h
>>conftest.
$ac_ext
5646 cat >>conftest.
$ac_ext <<_ACEOF
5647 /* end confdefs.h. */
5648 $ac_includes_default
5652 #ifndef fwrite_unlocked
5653 char *p = (char *) fwrite_unlocked;
5660 rm -f conftest.
$ac_objext
5661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5662 (eval $ac_compile) 2>conftest.er1
5664 grep -v '^ *+' conftest.er1
>conftest.err
5666 cat conftest.err
>&5
5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668 (exit $ac_status); } &&
5669 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674 (exit $ac_status); }; } &&
5675 { ac_try
='test -s conftest.$ac_objext'
5676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); }; }; then
5681 ac_cv_have_decl_fwrite_unlocked
=yes
5683 echo "$as_me: failed program was:" >&5
5684 sed 's/^/| /' conftest.
$ac_ext >&5
5686 ac_cv_have_decl_fwrite_unlocked
=no
5688 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5690 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
5691 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
5692 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
5694 cat >>confdefs.h
<<_ACEOF
5695 #define HAVE_DECL_FWRITE_UNLOCKED 1
5700 cat >>confdefs.h
<<_ACEOF
5701 #define HAVE_DECL_FWRITE_UNLOCKED 0
5706 echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
5707 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6
5708 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5711 cat >conftest.
$ac_ext <<_ACEOF
5714 cat confdefs.h
>>conftest.
$ac_ext
5715 cat >>conftest.
$ac_ext <<_ACEOF
5716 /* end confdefs.h. */
5717 $ac_includes_default
5721 #ifndef fprintf_unlocked
5722 char *p = (char *) fprintf_unlocked;
5729 rm -f conftest.
$ac_objext
5730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5731 (eval $ac_compile) 2>conftest.er1
5733 grep -v '^ *+' conftest.er1
>conftest.err
5735 cat conftest.err
>&5
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); } &&
5738 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5743 (exit $ac_status); }; } &&
5744 { ac_try
='test -s conftest.$ac_objext'
5745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); }; }; then
5750 ac_cv_have_decl_fprintf_unlocked
=yes
5752 echo "$as_me: failed program was:" >&5
5753 sed 's/^/| /' conftest.
$ac_ext >&5
5755 ac_cv_have_decl_fprintf_unlocked
=no
5757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5759 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
5760 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6
5761 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
5763 cat >>confdefs.h
<<_ACEOF
5764 #define HAVE_DECL_FPRINTF_UNLOCKED 1
5769 cat >>confdefs.h
<<_ACEOF
5770 #define HAVE_DECL_FPRINTF_UNLOCKED 0
5778 # Checks for library functions.
5779 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5780 # for constant arguments. Useless!
5781 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5782 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5783 if test "${ac_cv_working_alloca_h+set}" = set; then
5784 echo $ECHO_N "(cached) $ECHO_C" >&6
5786 cat >conftest.
$ac_ext <<_ACEOF
5789 cat confdefs.h
>>conftest.
$ac_ext
5790 cat >>conftest.
$ac_ext <<_ACEOF
5791 /* end confdefs.h. */
5796 char *p = (char *) alloca (2 * sizeof (int));
5801 rm -f conftest.
$ac_objext conftest
$ac_exeext
5802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5803 (eval $ac_link) 2>conftest.er1
5805 grep -v '^ *+' conftest.er1
>conftest.err
5807 cat conftest.err
>&5
5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); } &&
5810 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5815 (exit $ac_status); }; } &&
5816 { ac_try
='test -s conftest$ac_exeext'
5817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821 (exit $ac_status); }; }; then
5822 ac_cv_working_alloca_h
=yes
5824 echo "$as_me: failed program was:" >&5
5825 sed 's/^/| /' conftest.
$ac_ext >&5
5827 ac_cv_working_alloca_h
=no
5829 rm -f conftest.err conftest.
$ac_objext \
5830 conftest
$ac_exeext conftest.
$ac_ext
5832 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5833 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5834 if test $ac_cv_working_alloca_h = yes; then
5836 cat >>confdefs.h
<<\_ACEOF
5837 #define HAVE_ALLOCA_H 1
5842 echo "$as_me:$LINENO: checking for alloca" >&5
5843 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5844 if test "${ac_cv_func_alloca_works+set}" = set; then
5845 echo $ECHO_N "(cached) $ECHO_C" >&6
5847 cat >conftest.
$ac_ext <<_ACEOF
5850 cat confdefs.h
>>conftest.
$ac_ext
5851 cat >>conftest.
$ac_ext <<_ACEOF
5852 /* end confdefs.h. */
5854 # define alloca __builtin_alloca
5857 # include <malloc.h>
5858 # define alloca _alloca
5861 # include <alloca.h>
5866 # ifndef alloca /* predefined by HP cc +Olibcalls */
5877 char *p = (char *) alloca (1);
5882 rm -f conftest.
$ac_objext conftest
$ac_exeext
5883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5884 (eval $ac_link) 2>conftest.er1
5886 grep -v '^ *+' conftest.er1
>conftest.err
5888 cat conftest.err
>&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); } &&
5891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5896 (exit $ac_status); }; } &&
5897 { ac_try
='test -s conftest$ac_exeext'
5898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5902 (exit $ac_status); }; }; then
5903 ac_cv_func_alloca_works
=yes
5905 echo "$as_me: failed program was:" >&5
5906 sed 's/^/| /' conftest.
$ac_ext >&5
5908 ac_cv_func_alloca_works
=no
5910 rm -f conftest.err conftest.
$ac_objext \
5911 conftest
$ac_exeext conftest.
$ac_ext
5913 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5914 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5916 if test $ac_cv_func_alloca_works = yes; then
5918 cat >>confdefs.h
<<\_ACEOF
5919 #define HAVE_ALLOCA 1
5923 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5924 # that cause trouble. Some versions do not even contain alloca or
5925 # contain a buggy version. If you still want to use their alloca,
5926 # use ar to extract alloca.o from them instead of compiling alloca.c.
5928 ALLOCA
=alloca.
$ac_objext
5930 cat >>confdefs.h
<<\_ACEOF
5935 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5936 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5937 if test "${ac_cv_os_cray+set}" = set; then
5938 echo $ECHO_N "(cached) $ECHO_C" >&6
5940 cat >conftest.
$ac_ext <<_ACEOF
5943 cat confdefs.h
>>conftest.
$ac_ext
5944 cat >>conftest.
$ac_ext <<_ACEOF
5945 /* end confdefs.h. */
5946 #if defined(CRAY) && ! defined(CRAY2)
5953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5954 $EGREP "webecray" >/dev
/null
2>&1; then
5962 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5963 echo "${ECHO_T}$ac_cv_os_cray" >&6
5964 if test $ac_cv_os_cray = yes; then
5965 for ac_func
in _getb67 GETB67 getb67
; do
5966 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5967 echo "$as_me:$LINENO: checking for $ac_func" >&5
5968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5969 if eval "test \"\${$as_ac_var+set}\" = set"; then
5970 echo $ECHO_N "(cached) $ECHO_C" >&6
5972 cat >conftest.
$ac_ext <<_ACEOF
5975 cat confdefs.h
>>conftest.
$ac_ext
5976 cat >>conftest.
$ac_ext <<_ACEOF
5977 /* end confdefs.h. */
5978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5980 #define $ac_func innocuous_$ac_func
5982 /* System header to define __stub macros and hopefully few prototypes,
5983 which can conflict with char $ac_func (); below.
5984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5985 <limits.h> exists even on freestanding compilers. */
5988 # include <limits.h>
5990 # include <assert.h>
5995 /* Override any gcc2 internal prototype to avoid an error. */
6000 /* We use char because int might match the return type of a gcc2
6001 builtin and then its argument prototype would still apply. */
6003 /* The GNU C library defines this for functions which it implements
6004 to always fail with ENOSYS. Some functions are actually named
6005 something starting with __ and the normal name is an alias. */
6006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6009 char (*f) () = $ac_func;
6018 return f != $ac_func;
6023 rm -f conftest.
$ac_objext conftest
$ac_exeext
6024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6025 (eval $ac_link) 2>conftest.er1
6027 grep -v '^ *+' conftest.er1
>conftest.err
6029 cat conftest.err
>&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); } &&
6032 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6037 (exit $ac_status); }; } &&
6038 { ac_try
='test -s conftest$ac_exeext'
6039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043 (exit $ac_status); }; }; then
6044 eval "$as_ac_var=yes"
6046 echo "$as_me: failed program was:" >&5
6047 sed 's/^/| /' conftest.
$ac_ext >&5
6049 eval "$as_ac_var=no"
6051 rm -f conftest.err conftest.
$ac_objext \
6052 conftest
$ac_exeext conftest.
$ac_ext
6054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6056 if test `eval echo '${'$as_ac_var'}'` = yes; then
6058 cat >>confdefs.h
<<_ACEOF
6059 #define CRAY_STACKSEG_END $ac_func
6068 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
6069 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
6070 if test "${ac_cv_c_stack_direction+set}" = set; then
6071 echo $ECHO_N "(cached) $ECHO_C" >&6
6073 if test "$cross_compiling" = yes; then
6074 ac_cv_c_stack_direction
=0
6076 cat >conftest.
$ac_ext <<_ACEOF
6079 cat confdefs.h
>>conftest.
$ac_ext
6080 cat >>conftest.
$ac_ext <<_ACEOF
6081 /* end confdefs.h. */
6083 find_stack_direction ()
6085 static char *addr = 0;
6090 return find_stack_direction ();
6093 return (&dummy > addr) ? 1 : -1;
6099 exit (find_stack_direction () < 0);
6102 rm -f conftest
$ac_exeext
6103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6104 (eval $ac_link) 2>&5
6106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); }; }; then
6113 ac_cv_c_stack_direction
=1
6115 echo "$as_me: program exited with status $ac_status" >&5
6116 echo "$as_me: failed program was:" >&5
6117 sed 's/^/| /' conftest.
$ac_ext >&5
6120 ac_cv_c_stack_direction
=-1
6122 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6125 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6126 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6128 cat >>confdefs.h
<<_ACEOF
6129 #define STACK_DIRECTION $ac_cv_c_stack_direction
6135 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6136 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6137 if test "${ac_cv_header_stdc+set}" = set; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6140 cat >conftest.
$ac_ext <<_ACEOF
6143 cat confdefs.h
>>conftest.
$ac_ext
6144 cat >>conftest.
$ac_ext <<_ACEOF
6145 /* end confdefs.h. */
6159 rm -f conftest.
$ac_objext
6160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6161 (eval $ac_compile) 2>conftest.er1
6163 grep -v '^ *+' conftest.er1
>conftest.err
6165 cat conftest.err
>&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); } &&
6168 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; } &&
6174 { ac_try
='test -s conftest.$ac_objext'
6175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; }; then
6180 ac_cv_header_stdc
=yes
6182 echo "$as_me: failed program was:" >&5
6183 sed 's/^/| /' conftest.
$ac_ext >&5
6185 ac_cv_header_stdc
=no
6187 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6189 if test $ac_cv_header_stdc = yes; then
6190 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6191 cat >conftest.
$ac_ext <<_ACEOF
6194 cat confdefs.h
>>conftest.
$ac_ext
6195 cat >>conftest.
$ac_ext <<_ACEOF
6196 /* end confdefs.h. */
6200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6201 $EGREP "memchr" >/dev
/null
2>&1; then
6204 ac_cv_header_stdc
=no
6210 if test $ac_cv_header_stdc = yes; then
6211 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6212 cat >conftest.
$ac_ext <<_ACEOF
6215 cat confdefs.h
>>conftest.
$ac_ext
6216 cat >>conftest.
$ac_ext <<_ACEOF
6217 /* end confdefs.h. */
6221 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6222 $EGREP "free" >/dev
/null
2>&1; then
6225 ac_cv_header_stdc
=no
6231 if test $ac_cv_header_stdc = yes; then
6232 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6233 if test "$cross_compiling" = yes; then
6236 cat >conftest.
$ac_ext <<_ACEOF
6239 cat confdefs.h
>>conftest.
$ac_ext
6240 cat >>conftest.
$ac_ext <<_ACEOF
6241 /* end confdefs.h. */
6243 #if ((' ' & 0x0FF) == 0x020)
6244 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6245 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6247 # define ISLOWER(c) \
6248 (('a' <= (c) && (c) <= 'i') \
6249 || ('j' <= (c) && (c) <= 'r') \
6250 || ('s' <= (c) && (c) <= 'z'))
6251 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6254 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6259 for (i = 0; i < 256; i++)
6260 if (XOR (islower (i), ISLOWER (i))
6261 || toupper (i) != TOUPPER (i))
6266 rm -f conftest
$ac_exeext
6267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6268 (eval $ac_link) 2>&5
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6276 (exit $ac_status); }; }; then
6279 echo "$as_me: program exited with status $ac_status" >&5
6280 echo "$as_me: failed program was:" >&5
6281 sed 's/^/| /' conftest.
$ac_ext >&5
6284 ac_cv_header_stdc
=no
6286 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6290 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6291 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6292 if test $ac_cv_header_stdc = yes; then
6294 cat >>confdefs.h
<<\_ACEOF
6295 #define STDC_HEADERS 1
6301 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
6302 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
6303 if test "${am_cv_langinfo_codeset+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6306 cat >conftest.
$ac_ext <<_ACEOF
6309 cat confdefs.h
>>conftest.
$ac_ext
6310 cat >>conftest.
$ac_ext <<_ACEOF
6311 /* end confdefs.h. */
6312 #include <langinfo.h>
6316 char* cs = nl_langinfo(CODESET);
6321 rm -f conftest.
$ac_objext conftest
$ac_exeext
6322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6323 (eval $ac_link) 2>conftest.er1
6325 grep -v '^ *+' conftest.er1
>conftest.err
6327 cat conftest.err
>&5
6328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329 (exit $ac_status); } &&
6330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6335 (exit $ac_status); }; } &&
6336 { ac_try
='test -s conftest$ac_exeext'
6337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6341 (exit $ac_status); }; }; then
6342 am_cv_langinfo_codeset
=yes
6344 echo "$as_me: failed program was:" >&5
6345 sed 's/^/| /' conftest.
$ac_ext >&5
6347 am_cv_langinfo_codeset
=no
6349 rm -f conftest.err conftest.
$ac_objext \
6350 conftest
$ac_exeext conftest.
$ac_ext
6353 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
6354 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
6355 if test $am_cv_langinfo_codeset = yes; then
6357 cat >>confdefs.h
<<\_ACEOF
6358 #define HAVE_LANGINFO_CODESET 1
6363 # If we haven't got the data from the intl directory,
6364 # assume NLS is disabled.
6372 if test -f ..
/intl
/config.intl
; then
6373 . ..
/intl
/config.intl
6375 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6376 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6377 if test x
"$USE_NLS" != xyes
; then
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6381 echo "$as_me:$LINENO: result: yes" >&5
6382 echo "${ECHO_T}yes" >&6
6384 cat >>confdefs.h
<<\_ACEOF
6385 #define ENABLE_NLS 1
6389 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
6390 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
6391 # Look for .po and .gmo files in the source directory.
6394 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
6395 # If there aren't any .gmo files the shell will give us the
6396 # literal string "../path/to/srcdir/po/*.gmo" which has to be
6398 case "$cat" in *\
**)
6401 # The quadruple backslash is collapsed to a double backslash
6402 # by the backticks, then collapsed again by the double quotes,
6403 # leaving us with one backslash in the sed expression (right
6404 # before the dot that mustn't act as a wildcard).
6405 cat=`echo $cat | sed -e "s!$srcdir/!!" -e "s!\\\\.po!.gmo!"`
6406 lang
=`echo $cat | sed -e 's!po/!!' -e "s!\\\\.gmo!!"`
6407 # The user is allowed to set LINGUAS to a list of languages to
6408 # install catalogs for. If it's empty that means "all of them."
6409 if test "x$LINGUAS" = x
; then
6410 CATALOGS
="$CATALOGS $cat"
6411 XLINGUAS
="$XLINGUAS $lang"
6413 case "$LINGUAS" in *$lang*)
6414 CATALOGS
="$CATALOGS $cat"
6415 XLINGUAS
="$XLINGUAS $lang"
6421 echo "$as_me:$LINENO: result: $LINGUAS" >&5
6422 echo "${ECHO_T}$LINGUAS" >&6
6425 echo "$as_me:$LINENO: checking for uchar" >&5
6426 echo $ECHO_N "checking for uchar... $ECHO_C" >&6
6427 if test "${gcc_cv_type_uchar+set}" = set; then
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
6430 cat >conftest.
$ac_ext <<_ACEOF
6433 cat confdefs.h
>>conftest.
$ac_ext
6434 cat >>conftest.
$ac_ext <<_ACEOF
6435 /* end confdefs.h. */
6437 #include "ansidecl.h"
6443 if ((uchar *)0) return 0;
6444 if (sizeof(uchar)) return 0;
6449 rm -f conftest.
$ac_objext
6450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6451 (eval $ac_compile) 2>conftest.er1
6453 grep -v '^ *+' conftest.er1
>conftest.err
6455 cat conftest.err
>&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } &&
6458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); }; } &&
6464 { ac_try
='test -s conftest.$ac_objext'
6465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469 (exit $ac_status); }; }; then
6470 ac_cv_type_uchar
=yes
6472 echo "$as_me: failed program was:" >&5
6473 sed 's/^/| /' conftest.
$ac_ext >&5
6477 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6479 echo "$as_me:$LINENO: result: $gcc_cv_type_uchar" >&5
6480 echo "${ECHO_T}$gcc_cv_type_uchar" >&6
6481 if test $ac_cv_type_uchar = yes; then
6483 cat >>confdefs.h
<<\_ACEOF
6484 #define HAVE_UCHAR 1
6490 if test "X$prefix" = "XNONE"; then
6491 acl_final_prefix
="$ac_default_prefix"
6493 acl_final_prefix
="$prefix"
6495 if test "X$exec_prefix" = "XNONE"; then
6496 acl_final_exec_prefix
='${prefix}'
6498 acl_final_exec_prefix
="$exec_prefix"
6500 acl_save_prefix
="$prefix"
6501 prefix
="$acl_final_prefix"
6502 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6503 prefix
="$acl_save_prefix"
6506 # Check whether --with-gnu-ld or --without-gnu-ld was given.
6507 if test "${with_gnu_ld+set}" = set; then
6508 withval
="$with_gnu_ld"
6509 test "$withval" = no || with_gnu_ld
=yes
6513 # Prepare PATH_SEPARATOR.
6514 # The user is always right.
6515 if test "${PATH_SEPARATOR+set}" != set; then
6516 echo "#! /bin/sh" >conf$$.sh
6517 echo "exit 0" >>conf$$.sh
6519 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6527 if test "$GCC" = yes; then
6528 # Check if gcc -print-prog-name=ld gives a path.
6529 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
6530 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
6533 # gcc leaves a trailing carriage return which upsets mingw
6534 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6536 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6539 # Accept absolute paths.
6540 [\\/]* |
[A-Za-z
]:[\\/]*)
6541 re_direlt
='/[^/][^/]*/\.\./'
6542 # Canonicalize the path of ld
6543 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
6544 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6545 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
6547 test -z "$LD" && LD
="$ac_prog"
6550 # If it fails, then pretend we aren't using GCC.
6554 # If it is relative, then search for the first ld in PATH.
6558 elif test "$with_gnu_ld" = yes; then
6559 echo "$as_me:$LINENO: checking for GNU ld" >&5
6560 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
6562 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6563 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
6565 if test "${acl_cv_path_LD+set}" = set; then
6566 echo $ECHO_N "(cached) $ECHO_C" >&6
6568 if test -z "$LD"; then
6569 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6570 for ac_dir
in $PATH; do
6571 test -z "$ac_dir" && ac_dir
=.
6572 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6573 acl_cv_path_LD
="$ac_dir/$ac_prog"
6574 # Check to see if the program is GNU ld. I'd rather use --version,
6575 # but apparently some GNU ld's only accept -v.
6576 # Break only if it was the GNU/non-GNU ld that we prefer.
6577 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
6578 *GNU
* |
*'with BFD'*)
6579 test "$with_gnu_ld" != no
&& break ;;
6581 test "$with_gnu_ld" != yes && break ;;
6587 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
6591 LD
="$acl_cv_path_LD"
6592 if test -n "$LD"; then
6593 echo "$as_me:$LINENO: result: $LD" >&5
6594 echo "${ECHO_T}$LD" >&6
6596 echo "$as_me:$LINENO: result: no" >&5
6597 echo "${ECHO_T}no" >&6
6599 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6600 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6601 { (exit 1); exit 1; }; }
6602 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6603 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
6604 if test "${acl_cv_prog_gnu_ld+set}" = set; then
6605 echo $ECHO_N "(cached) $ECHO_C" >&6
6607 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
6608 case `$LD -v 2>&1 </dev/null` in
6609 *GNU
* |
*'with BFD'*)
6610 acl_cv_prog_gnu_ld
=yes ;;
6612 acl_cv_prog_gnu_ld
=no
;;
6615 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
6616 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
6617 with_gnu_ld
=$acl_cv_prog_gnu_ld
6621 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
6622 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
6623 if test "${acl_cv_rpath+set}" = set; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6627 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
6628 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6634 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
6635 echo "${ECHO_T}$acl_cv_rpath" >&6
6637 libext
="$acl_cv_libext"
6638 shlibext
="$acl_cv_shlibext"
6639 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
6640 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
6641 hardcode_direct
="$acl_cv_hardcode_direct"
6642 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
6643 # Check whether --enable-rpath or --disable-rpath was given.
6644 if test "${enable_rpath+set}" = set; then
6645 enableval
="$enable_rpath"
6659 acl_save_prefix
="$prefix"
6660 prefix
="$acl_final_prefix"
6661 acl_save_exec_prefix
="$exec_prefix"
6662 exec_prefix
="$acl_final_exec_prefix"
6664 eval additional_includedir
=\"$includedir\"
6665 eval additional_libdir
=\"$libdir\"
6667 exec_prefix
="$acl_save_exec_prefix"
6668 prefix
="$acl_save_prefix"
6671 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
6672 if test "${with_libiconv_prefix+set}" = set; then
6673 withval
="$with_libiconv_prefix"
6675 if test "X$withval" = "Xno"; then
6678 if test "X$withval" = "X"; then
6680 acl_save_prefix
="$prefix"
6681 prefix
="$acl_final_prefix"
6682 acl_save_exec_prefix
="$exec_prefix"
6683 exec_prefix
="$acl_final_exec_prefix"
6685 eval additional_includedir
=\"$includedir\"
6686 eval additional_libdir
=\"$libdir\"
6688 exec_prefix
="$acl_save_exec_prefix"
6689 prefix
="$acl_save_prefix"
6692 additional_includedir
="$withval/include"
6693 additional_libdir
="$withval/lib"
6703 names_already_handled
=
6704 names_next_round
='iconv '
6705 while test -n "$names_next_round"; do
6706 names_this_round
="$names_next_round"
6708 for name
in $names_this_round; do
6710 for n
in $names_already_handled; do
6711 if test "$n" = "$name"; then
6716 if test -z "$already_handled"; then
6717 names_already_handled
="$names_already_handled $name"
6718 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6719 eval value
=\"\
$HAVE_LIB$uppername\"
6720 if test -n "$value"; then
6721 if test "$value" = yes; then
6722 eval value
=\"\
$LIB$uppername\"
6723 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
6724 eval value
=\"\
$LTLIB$uppername\"
6725 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
6734 if test $use_additional = yes; then
6735 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6736 found_dir
="$additional_libdir"
6737 found_so
="$additional_libdir/lib$name.$shlibext"
6738 if test -f "$additional_libdir/lib$name.la"; then
6739 found_la
="$additional_libdir/lib$name.la"
6742 if test -f "$additional_libdir/lib$name.$libext"; then
6743 found_dir
="$additional_libdir"
6744 found_a
="$additional_libdir/lib$name.$libext"
6745 if test -f "$additional_libdir/lib$name.la"; then
6746 found_la
="$additional_libdir/lib$name.la"
6751 if test "X$found_dir" = "X"; then
6752 for x
in $LDFLAGS $LTLIBICONV; do
6754 acl_save_prefix
="$prefix"
6755 prefix
="$acl_final_prefix"
6756 acl_save_exec_prefix
="$exec_prefix"
6757 exec_prefix
="$acl_final_exec_prefix"
6759 exec_prefix
="$acl_save_exec_prefix"
6760 prefix
="$acl_save_prefix"
6764 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6765 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6767 found_so
="$dir/lib$name.$shlibext"
6768 if test -f "$dir/lib$name.la"; then
6769 found_la
="$dir/lib$name.la"
6772 if test -f "$dir/lib$name.$libext"; then
6774 found_a
="$dir/lib$name.$libext"
6775 if test -f "$dir/lib$name.la"; then
6776 found_la
="$dir/lib$name.la"
6782 if test "X$found_dir" != "X"; then
6787 if test "X$found_dir" != "X"; then
6788 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6789 if test "X$found_so" != "X"; then
6790 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6791 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6794 for x
in $ltrpathdirs; do
6795 if test "X$x" = "X$found_dir"; then
6800 if test -z "$haveit"; then
6801 ltrpathdirs
="$ltrpathdirs $found_dir"
6803 if test "$hardcode_direct" = yes; then
6804 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6806 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6807 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6809 for x
in $rpathdirs; do
6810 if test "X$x" = "X$found_dir"; then
6815 if test -z "$haveit"; then
6816 rpathdirs
="$rpathdirs $found_dir"
6820 for x
in $LDFLAGS $LIBICONV; do
6822 acl_save_prefix
="$prefix"
6823 prefix
="$acl_final_prefix"
6824 acl_save_exec_prefix
="$exec_prefix"
6825 exec_prefix
="$acl_final_exec_prefix"
6827 exec_prefix
="$acl_save_exec_prefix"
6828 prefix
="$acl_save_prefix"
6830 if test "X$x" = "X-L$found_dir"; then
6835 if test -z "$haveit"; then
6836 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6838 if test "$hardcode_minus_L" != no
; then
6839 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6841 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6847 if test "X$found_a" != "X"; then
6848 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
6850 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6853 additional_includedir
=
6854 case "$found_dir" in
6856 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6857 additional_includedir
="$basedir/include"
6860 if test "X$additional_includedir" != "X"; then
6861 if test "X$additional_includedir" != "X/usr/include"; then
6863 if test "X$additional_includedir" = "X/usr/local/include"; then
6864 if test -n "$GCC"; then
6866 linux
*) haveit
=yes;;
6870 if test -z "$haveit"; then
6871 for x
in $CPPFLAGS $INCICONV; do
6873 acl_save_prefix
="$prefix"
6874 prefix
="$acl_final_prefix"
6875 acl_save_exec_prefix
="$exec_prefix"
6876 exec_prefix
="$acl_final_exec_prefix"
6878 exec_prefix
="$acl_save_exec_prefix"
6879 prefix
="$acl_save_prefix"
6881 if test "X$x" = "X-I$additional_includedir"; then
6886 if test -z "$haveit"; then
6887 if test -d "$additional_includedir"; then
6888 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6894 if test -n "$found_la"; then
6895 save_libdir
="$libdir"
6897 */* |
*\\*) .
"$found_la" ;;
6898 *) .
"./$found_la" ;;
6900 libdir
="$save_libdir"
6901 for dep
in $dependency_libs; do
6904 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6905 if test "X$additional_libdir" != "X/usr/lib"; then
6907 if test "X$additional_libdir" = "X/usr/local/lib"; then
6908 if test -n "$GCC"; then
6910 linux
*) haveit
=yes;;
6914 if test -z "$haveit"; then
6916 for x
in $LDFLAGS $LIBICONV; do
6918 acl_save_prefix
="$prefix"
6919 prefix
="$acl_final_prefix"
6920 acl_save_exec_prefix
="$exec_prefix"
6921 exec_prefix
="$acl_final_exec_prefix"
6923 exec_prefix
="$acl_save_exec_prefix"
6924 prefix
="$acl_save_prefix"
6926 if test "X$x" = "X-L$additional_libdir"; then
6931 if test -z "$haveit"; then
6932 if test -d "$additional_libdir"; then
6933 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6937 for x
in $LDFLAGS $LTLIBICONV; do
6939 acl_save_prefix
="$prefix"
6940 prefix
="$acl_final_prefix"
6941 acl_save_exec_prefix
="$exec_prefix"
6942 exec_prefix
="$acl_final_exec_prefix"
6944 exec_prefix
="$acl_save_exec_prefix"
6945 prefix
="$acl_save_prefix"
6947 if test "X$x" = "X-L$additional_libdir"; then
6952 if test -z "$haveit"; then
6953 if test -d "$additional_libdir"; then
6954 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6961 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6962 if test "$enable_rpath" != no
; then
6964 for x
in $rpathdirs; do
6965 if test "X$x" = "X$dir"; then
6970 if test -z "$haveit"; then
6971 rpathdirs
="$rpathdirs $dir"
6974 for x
in $ltrpathdirs; do
6975 if test "X$x" = "X$dir"; then
6980 if test -z "$haveit"; then
6981 ltrpathdirs
="$ltrpathdirs $dir"
6986 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6989 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6992 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
6993 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6999 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7000 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7006 if test "X$rpathdirs" != "X"; then
7007 if test -n "$hardcode_libdir_separator"; then
7009 for found_dir
in $rpathdirs; do
7010 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
7012 acl_save_libdir
="$libdir"
7014 eval flag
=\"$hardcode_libdir_flag_spec\"
7015 libdir
="$acl_save_libdir"
7016 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7018 for found_dir
in $rpathdirs; do
7019 acl_save_libdir
="$libdir"
7021 eval flag
=\"$hardcode_libdir_flag_spec\"
7022 libdir
="$acl_save_libdir"
7023 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
7027 if test "X$ltrpathdirs" != "X"; then
7028 for found_dir
in $ltrpathdirs; do
7029 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
7039 am_save_CPPFLAGS
="$CPPFLAGS"
7041 for element
in $INCICONV; do
7043 for x
in $CPPFLAGS; do
7045 acl_save_prefix
="$prefix"
7046 prefix
="$acl_final_prefix"
7047 acl_save_exec_prefix
="$exec_prefix"
7048 exec_prefix
="$acl_final_exec_prefix"
7050 exec_prefix
="$acl_save_exec_prefix"
7051 prefix
="$acl_save_prefix"
7053 if test "X$x" = "X$element"; then
7058 if test -z "$haveit"; then
7059 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
7064 echo "$as_me:$LINENO: checking for iconv" >&5
7065 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
7066 if test "${am_cv_func_iconv+set}" = set; then
7067 echo $ECHO_N "(cached) $ECHO_C" >&6
7070 am_cv_func_iconv
="no, consider installing GNU libiconv"
7072 cat >conftest.
$ac_ext <<_ACEOF
7075 cat confdefs.h
>>conftest.
$ac_ext
7076 cat >>conftest.
$ac_ext <<_ACEOF
7077 /* end confdefs.h. */
7083 iconv_t cd = iconv_open("","");
7084 iconv(cd,NULL,NULL,NULL,NULL);
7090 rm -f conftest.
$ac_objext conftest
$ac_exeext
7091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7092 (eval $ac_link) 2>conftest.er1
7094 grep -v '^ *+' conftest.er1
>conftest.err
7096 cat conftest.err
>&5
7097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7098 (exit $ac_status); } &&
7099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7104 (exit $ac_status); }; } &&
7105 { ac_try
='test -s conftest$ac_exeext'
7106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7110 (exit $ac_status); }; }; then
7111 am_cv_func_iconv
=yes
7113 echo "$as_me: failed program was:" >&5
7114 sed 's/^/| /' conftest.
$ac_ext >&5
7117 rm -f conftest.err conftest.
$ac_objext \
7118 conftest
$ac_exeext conftest.
$ac_ext
7119 if test "$am_cv_func_iconv" != yes; then
7120 am_save_LIBS
="$LIBS"
7121 LIBS
="$LIBS $LIBICONV"
7122 cat >conftest.
$ac_ext <<_ACEOF
7125 cat confdefs.h
>>conftest.
$ac_ext
7126 cat >>conftest.
$ac_ext <<_ACEOF
7127 /* end confdefs.h. */
7133 iconv_t cd = iconv_open("","");
7134 iconv(cd,NULL,NULL,NULL,NULL);
7140 rm -f conftest.
$ac_objext conftest
$ac_exeext
7141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7142 (eval $ac_link) 2>conftest.er1
7144 grep -v '^ *+' conftest.er1
>conftest.err
7146 cat conftest.err
>&5
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); } &&
7149 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; } &&
7155 { ac_try
='test -s conftest$ac_exeext'
7156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7160 (exit $ac_status); }; }; then
7162 am_cv_func_iconv
=yes
7164 echo "$as_me: failed program was:" >&5
7165 sed 's/^/| /' conftest.
$ac_ext >&5
7168 rm -f conftest.err conftest.
$ac_objext \
7169 conftest
$ac_exeext conftest.
$ac_ext
7170 LIBS
="$am_save_LIBS"
7174 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
7175 echo "${ECHO_T}$am_cv_func_iconv" >&6
7176 if test "$am_cv_func_iconv" = yes; then
7178 cat >>confdefs.h
<<\_ACEOF
7179 #define HAVE_ICONV 1
7183 if test "$am_cv_lib_iconv" = yes; then
7184 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
7185 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
7186 echo "$as_me:$LINENO: result: $LIBICONV" >&5
7187 echo "${ECHO_T}$LIBICONV" >&6
7189 CPPFLAGS
="$am_save_CPPFLAGS"
7196 if test "$am_cv_func_iconv" = yes; then
7197 echo "$as_me:$LINENO: checking for iconv declaration" >&5
7198 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
7199 if test "${am_cv_proto_iconv+set}" = set; then
7200 echo $ECHO_N "(cached) $ECHO_C" >&6
7203 cat >conftest.
$ac_ext <<_ACEOF
7206 cat confdefs.h
>>conftest.
$ac_ext
7207 cat >>conftest.
$ac_ext <<_ACEOF
7208 /* end confdefs.h. */
7216 #if defined(__STDC__) || defined(__cplusplus)
7217 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
7230 rm -f conftest.
$ac_objext
7231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7232 (eval $ac_compile) 2>conftest.er1
7234 grep -v '^ *+' conftest.er1
>conftest.err
7236 cat conftest.err
>&5
7237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7238 (exit $ac_status); } &&
7239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); }; } &&
7245 { ac_try
='test -s conftest.$ac_objext'
7246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); }; }; then
7251 am_cv_proto_iconv_arg1
=""
7253 echo "$as_me: failed program was:" >&5
7254 sed 's/^/| /' conftest.
$ac_ext >&5
7256 am_cv_proto_iconv_arg1
="const"
7258 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7259 am_cv_proto_iconv
="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
7262 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
7263 echo "$as_me:$LINENO: result: ${ac_t:-
7264 }$am_cv_proto_iconv" >&5
7265 echo "${ECHO_T}${ac_t:-
7266 }$am_cv_proto_iconv" >&6
7268 cat >>confdefs.h
<<_ACEOF
7269 #define ICONV_CONST $am_cv_proto_iconv_arg1
7276 if test "x$enable_nls" != xno
; then
7278 ENABLE_NLS_FALSE
='#'
7284 # Check whether --enable-checking or --disable-checking was given.
7285 if test "${enable_checking+set}" = set; then
7286 enableval
="$enable_checking"
7292 if test $enable_checking != no
; then
7294 cat >>confdefs.h
<<\_ACEOF
7295 #define ENABLE_CHECKING 1
7305 hppa
*64*-*-* | parisc
*64*-*-* | \
7311 sparc64
*-*-* | ultrasparc-
*-freebsd* | \
7312 sparcv9-
*-solaris2* | \
7313 sparc-
*-solaris2.
[789] | sparc-
*-solaris2.1
[0-9] | \
7314 sh
[123456789l]*-*-*)
7315 need_64bit_hwint
=yes ;;
7317 need_64bit_hwint
=no
;;
7320 case $need_64bit_hwint:$ac_cv_sizeof_long in
7321 *:8 | no
:*) host_wide_int
=long
;;
7322 *) host_wide_int
='long long' ;;
7327 cat >>confdefs.h
<<_ACEOF
7328 #define HOST_WIDE_INT $host_wide_int
7332 ac_config_headers
="$ac_config_headers config.h:config.in"
7334 ac_config_files
="$ac_config_files Makefile"
7336 cat >confcache
<<\_ACEOF
7337 # This file is a shell script that caches the results of configure
7338 # tests run on this system so they can be shared between configure
7339 # scripts and configure runs, see configure's option --config-cache.
7340 # It is not useful on other systems. If it contains results you don't
7341 # want to keep, you may remove or edit it.
7343 # config.status only pays attention to the cache file if you give it
7344 # the --recheck option to rerun configure.
7346 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7347 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7352 # The following way of writing the cache mishandles newlines in values,
7353 # but we know of no workaround that is simple, portable, and efficient.
7354 # So, don't put newlines in cache variables' values.
7355 # Ultrix sh set writes to stderr and can't be redirected directly,
7356 # and sets the high bit in the cache file unless we assign to the vars.
7359 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7361 # `set' does not quote correctly, so add quotes (double-quote
7362 # substitution turns \\\\ into \\, and sed turns \\ into \).
7365 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7368 # `set' quotes correctly as required by POSIX, so do not add quotes.
7370 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7377 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7379 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7381 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7382 if test -w $cache_file; then
7383 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7384 cat confcache
>$cache_file
7386 echo "not updating unwritable cache $cache_file"
7391 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7392 # Let make expand exec_prefix.
7393 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7395 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7396 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7397 # trailing colons and then remove the whole line if VPATH becomes empty
7398 # (actually we leave an empty line to preserve line numbers).
7399 if test "x$srcdir" = x.
; then
7400 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7401 s/:*\$(srcdir):*/:/;
7402 s/:*\${srcdir}:*/:/;
7404 s/^\([^=]*=[ ]*\):*/\1/;
7410 DEFS
=-DHAVE_CONFIG_H
7414 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7415 # 1. Remove the extension, and $U if already installed.
7416 ac_i
=`echo "$ac_i" |
7417 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7419 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7420 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7424 LTLIBOBJS
=$ac_ltlibobjs
7427 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7428 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7429 Usually this means the macro was only invoked conditionally." >&5
7430 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7431 Usually this means the macro was only invoked conditionally." >&2;}
7432 { (exit 1); exit 1; }; }
7434 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7435 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7436 Usually this means the macro was only invoked conditionally." >&5
7437 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7438 Usually this means the macro was only invoked conditionally." >&2;}
7439 { (exit 1); exit 1; }; }
7441 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7442 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7443 Usually this means the macro was only invoked conditionally." >&5
7444 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7445 Usually this means the macro was only invoked conditionally." >&2;}
7446 { (exit 1); exit 1; }; }
7448 if test -z "${ENABLE_NLS_TRUE}" && test -z "${ENABLE_NLS_FALSE}"; then
7449 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_NLS\" was never defined.
7450 Usually this means the macro was only invoked conditionally." >&5
7451 echo "$as_me: error: conditional \"ENABLE_NLS\" was never defined.
7452 Usually this means the macro was only invoked conditionally." >&2;}
7453 { (exit 1); exit 1; }; }
7456 : ${CONFIG_STATUS=./config.status}
7457 ac_clean_files_save
=$ac_clean_files
7458 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7459 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7460 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7461 cat >$CONFIG_STATUS <<_ACEOF
7463 # Generated by $as_me.
7464 # Run this file to recreate the current configuration.
7465 # Compiler output produced by configure, useful for debugging
7466 # configure, is in config.log if it exists.
7471 SHELL=\${CONFIG_SHELL-$SHELL}
7474 cat >>$CONFIG_STATUS <<\_ACEOF
7475 ## --------------------- ##
7476 ## M4sh Initialization. ##
7477 ## --------------------- ##
7479 # Be Bourne compatible
7480 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7483 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7484 # is contrary to our usage. Disable this feature.
7485 alias -g '${1+"$@"}'='"$@"'
7486 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7489 DUALCASE
=1; export DUALCASE
# for MKS sh
7491 # Support unset when possible.
7492 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7499 # Work around bugs in pre-3.0 UWIN ksh.
7500 $as_unset ENV MAIL MAILPATH
7507 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7508 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7509 LC_TELEPHONE LC_TIME
7511 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7512 eval $as_var=C
; export $as_var
7518 # Required to use basename.
7519 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7525 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7526 as_basename
=basename
7532 # Name of the executable.
7533 as_me
=`$as_basename "$0" ||
7534 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7535 X"$0" : 'X\(//\)$' \| \
7536 X"$0" : 'X\(/\)$' \| \
7537 . : '\(.\)' 2>/dev/null ||
7539 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7540 /^X\/\(\/\/\)$/{ s//\1/; q; }
7541 /^X\/\(\/\).*/{ s//\1/; q; }
7545 # PATH needs CR, and LINENO needs CR and PATH.
7546 # Avoid depending upon Character Ranges.
7547 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7548 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7549 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7550 as_cr_digits
='0123456789'
7551 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7553 # The user is always right.
7554 if test "${PATH_SEPARATOR+set}" != set; then
7555 echo "#! /bin/sh" >conf$$.sh
7556 echo "exit 0" >>conf$$.sh
7558 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7569 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7570 test "x$as_lineno_1" != "x$as_lineno_2" &&
7571 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7572 # Find who we are. Look in the path if we contain no path at all
7575 *[\\/]* ) as_myself
=$0 ;;
7576 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7580 test -z "$as_dir" && as_dir
=.
7581 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7586 # We did not find ourselves, most probably we were run as `sh COMMAND'
7587 # in which case we are not to be found in the path.
7588 if test "x$as_myself" = x
; then
7591 if test ! -f "$as_myself"; then
7592 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7593 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7594 { (exit 1); exit 1; }; }
7596 case $CONFIG_SHELL in
7598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7599 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7602 test -z "$as_dir" && as_dir
=.
7603 for as_base
in sh bash ksh sh5
; do
7606 if ("$as_dir/$as_base" -c '
7609 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7610 test "x$as_lineno_1" != "x$as_lineno_2" &&
7611 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7612 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7613 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7614 CONFIG_SHELL
=$as_dir/$as_base
7616 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7624 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7625 # uniformly replaced by the line number. The first 'sed' inserts a
7626 # line-number line before each line; the second 'sed' does the real
7627 # work. The second script uses 'N' to pair each line-number line
7628 # with the numbered line, and appends trailing '-' during
7629 # substitution so that $LINENO is not a special case at line end.
7630 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7631 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7632 sed '=' <$as_myself |
7637 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7640 s,^['$as_cr_digits']*\n,,
7642 chmod +x
$as_me.lineno ||
7643 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7644 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7645 { (exit 1); exit 1; }; }
7647 # Don't try to exec as it changes $[0], causing all sort of problems
7648 # (the dirname of $[0] is not the place where we might find the
7649 # original and so on. Autoconf is especially sensible to this).
7651 # Exit status is that of the last command.
7656 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7657 *c
*,-n*) ECHO_N
= ECHO_C
='
7659 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7660 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7663 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7669 rm -f conf$$ conf$$.exe conf$$.
file
7671 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7672 # We could just check for DJGPP; but this test a) works b) is more generic
7673 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7674 if test -f conf$$.exe
; then
7675 # Don't use ln at all; we don't have any links
7680 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7685 rm -f conf$$ conf$$.exe conf$$.
file
7687 if mkdir
-p .
2>/dev
/null
; then
7690 test -d .
/-p && rmdir .
/-p
7694 as_executable_p
="test -f"
7696 # Sed expression to map a string onto a valid CPP name.
7697 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7699 # Sed expression to map a string onto a valid variable name.
7700 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7704 # We need space, tab and new line, in precisely that order.
7714 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7715 # report actual input values of CONFIG_FILES etc. instead of their
7716 # values after options handling. Logging --version etc. is OK.
7720 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7721 ## Running $as_me. ##
7726 This file was extended by cpplib $as_me , which was
7727 generated by GNU Autoconf 2.59. Invocation command line was
7729 CONFIG_FILES = $CONFIG_FILES
7730 CONFIG_HEADERS = $CONFIG_HEADERS
7731 CONFIG_LINKS = $CONFIG_LINKS
7732 CONFIG_COMMANDS = $CONFIG_COMMANDS
7736 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7740 # Files that config.status was made for.
7741 if test -n "$ac_config_files"; then
7742 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7745 if test -n "$ac_config_headers"; then
7746 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7749 if test -n "$ac_config_links"; then
7750 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7753 if test -n "$ac_config_commands"; then
7754 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7757 cat >>$CONFIG_STATUS <<\_ACEOF
7760 \`$as_me' instantiates files from templates according to the
7761 current configuration.
7763 Usage: $0 [OPTIONS] [FILE]...
7765 -h, --help print this help, then exit
7766 -V, --version print version number, then exit
7767 -q, --quiet do not print progress messages
7768 -d, --debug don't remove temporary files
7769 --recheck update $as_me by reconfiguring in the same conditions
7770 --file=FILE[:TEMPLATE]
7771 instantiate the configuration file FILE
7772 --header=FILE[:TEMPLATE]
7773 instantiate the configuration header FILE
7775 Configuration files:
7778 Configuration headers:
7781 Configuration commands:
7784 Report bugs to <bug-autoconf@gnu.org>."
7787 cat >>$CONFIG_STATUS <<_ACEOF
7789 cpplib config.status
7790 configured by $0, generated by GNU Autoconf 2.59,
7791 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7793 Copyright (C) 2003 Free Software Foundation, Inc.
7794 This config.status script is free software; the Free Software Foundation
7795 gives unlimited permission to copy, distribute and modify it."
7800 cat >>$CONFIG_STATUS <<\_ACEOF
7801 # If no file are specified by the user, then we need to provide default
7802 # value. By we need to know if files were specified by the user.
7808 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7809 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7817 *) # This is not an option, so the user has probably given explicit
7820 ac_need_defaults
=false
;;
7824 # Handling of the options.
7826 cat >>$CONFIG_STATUS <<\_ACEOF
7827 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7829 --version |
--vers* |
-V )
7830 echo "$ac_cs_version"; exit 0 ;;
7832 # Conflict between --help and --header
7833 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7834 Try \`$0 --help' for more information." >&5
7835 echo "$as_me: error: ambiguous option: $1
7836 Try \`$0 --help' for more information." >&2;}
7837 { (exit 1); exit 1; }; };;
7838 --help |
--hel |
-h )
7839 echo "$ac_cs_usage"; exit 0 ;;
7840 --debug |
--d* |
-d )
7842 --file |
--fil |
--fi |
--f )
7844 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7845 ac_need_defaults
=false
;;
7846 --header |
--heade |
--head |
--hea )
7848 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7849 ac_need_defaults
=false
;;
7850 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7851 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7855 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7856 Try \`$0 --help' for more information." >&5
7857 echo "$as_me: error: unrecognized option: $1
7858 Try \`$0 --help' for more information." >&2;}
7859 { (exit 1); exit 1; }; } ;;
7861 *) ac_config_targets
="$ac_config_targets $1" ;;
7867 ac_configure_extra_args
=
7869 if $ac_cs_silent; then
7871 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7875 cat >>$CONFIG_STATUS <<_ACEOF
7876 if \$ac_cs_recheck; then
7877 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7878 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7883 cat >>$CONFIG_STATUS <<_ACEOF
7885 # INIT-COMMANDS section.
7888 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7894 cat >>$CONFIG_STATUS <<\_ACEOF
7895 for ac_config_target
in $ac_config_targets
7897 case "$ac_config_target" in
7898 # Handling of arguments.
7899 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7900 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7901 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7902 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7903 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7904 { (exit 1); exit 1; }; };;
7908 # If the user did not use the arguments to specify the items to instantiate,
7909 # then the envvar interface is used. Set only those that are not.
7910 # We use the long form for the default assignment because of an extremely
7911 # bizarre bug on SunOS 4.1.3.
7912 if $ac_need_defaults; then
7913 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7914 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7915 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7918 # Have a temporary directory for convenience. Make it in the build tree
7919 # simply because there is no reason to put it here, and in addition,
7920 # creating and moving files from /tmp can sometimes cause problems.
7921 # Create a temporary directory, and hook for its removal unless debugging.
7924 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7925 trap '{ (exit 1); exit 1; }' 1 2 13 15
7928 # Create a (secure) tmp directory for tmp files.
7931 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7932 test -n "$tmp" && test -d "$tmp"
7935 tmp
=.
/confstat$$
-$RANDOM
7936 (umask 077 && mkdir
$tmp)
7939 echo "$me: cannot create a temporary directory in ." >&2
7940 { (exit 1); exit 1; }
7945 cat >>$CONFIG_STATUS <<_ACEOF
7948 # CONFIG_FILES section.
7951 # No need to generate the scripts if there are no CONFIG_FILES.
7952 # This happens for instance when ./config.status config.h
7953 if test -n "\$CONFIG_FILES"; then
7954 # Protect against being on the right side of a sed subst in config.status.
7955 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7956 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7957 s,@SHELL@,$SHELL,;t t
7958 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7959 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7960 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7961 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7962 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7963 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7964 s,@exec_prefix@,$exec_prefix,;t t
7965 s,@prefix@,$prefix,;t t
7966 s,@program_transform_name@,$program_transform_name,;t t
7967 s,@bindir@,$bindir,;t t
7968 s,@sbindir@,$sbindir,;t t
7969 s,@libexecdir@,$libexecdir,;t t
7970 s,@datadir@,$datadir,;t t
7971 s,@sysconfdir@,$sysconfdir,;t t
7972 s,@sharedstatedir@,$sharedstatedir,;t t
7973 s,@localstatedir@,$localstatedir,;t t
7974 s,@libdir@,$libdir,;t t
7975 s,@includedir@,$includedir,;t t
7976 s,@oldincludedir@,$oldincludedir,;t t
7977 s,@infodir@,$infodir,;t t
7978 s,@mandir@,$mandir,;t t
7979 s,@build_alias@,$build_alias,;t t
7980 s,@host_alias@,$host_alias,;t t
7981 s,@target_alias@,$target_alias,;t t
7983 s,@ECHO_C@,$ECHO_C,;t t
7984 s,@ECHO_N@,$ECHO_N,;t t
7985 s,@ECHO_T@,$ECHO_T,;t t
7987 s,@build@,$build,;t t
7988 s,@build_cpu@,$build_cpu,;t t
7989 s,@build_vendor@,$build_vendor,;t t
7990 s,@build_os@,$build_os,;t t
7992 s,@host_cpu@,$host_cpu,;t t
7993 s,@host_vendor@,$host_vendor,;t t
7994 s,@host_os@,$host_os,;t t
7995 s,@target@,$target,;t t
7996 s,@target_cpu@,$target_cpu,;t t
7997 s,@target_vendor@,$target_vendor,;t t
7998 s,@target_os@,$target_os,;t t
7999 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8000 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8001 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8002 s,@CYGPATH_W@,$CYGPATH_W,;t t
8003 s,@PACKAGE@,$PACKAGE,;t t
8004 s,@VERSION@,$VERSION,;t t
8005 s,@ACLOCAL@,$ACLOCAL,;t t
8006 s,@AUTOCONF@,$AUTOCONF,;t t
8007 s,@AUTOMAKE@,$AUTOMAKE,;t t
8008 s,@AUTOHEADER@,$AUTOHEADER,;t t
8009 s,@MAKEINFO@,$MAKEINFO,;t t
8010 s,@AMTAR@,$AMTAR,;t t
8011 s,@install_sh@,$install_sh,;t t
8012 s,@STRIP@,$STRIP,;t t
8013 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8014 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8015 s,@mkdir_p@,$mkdir_p,;t t
8017 s,@SET_MAKE@,$SET_MAKE,;t t
8018 s,@am__leading_dot@,$am__leading_dot,;t t
8019 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
8020 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
8021 s,@MAINT@,$MAINT,;t t
8023 s,@CFLAGS@,$CFLAGS,;t t
8024 s,@LDFLAGS@,$LDFLAGS,;t t
8025 s,@CPPFLAGS@,$CPPFLAGS,;t t
8026 s,@ac_ct_CC@,$ac_ct_CC,;t t
8027 s,@EXEEXT@,$EXEEXT,;t t
8028 s,@OBJEXT@,$OBJEXT,;t t
8029 s,@DEPDIR@,$DEPDIR,;t t
8030 s,@am__include@,$am__include,;t t
8031 s,@am__quote@,$am__quote,;t t
8032 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8033 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8034 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8035 s,@CCDEPMODE@,$CCDEPMODE,;t t
8036 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
8037 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
8038 s,@RANLIB@,$RANLIB,;t t
8039 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8041 s,@EGREP@,$EGREP,;t t
8042 s,@LIBOBJS@,$LIBOBJS,;t t
8043 s,@ALLOCA@,$ALLOCA,;t t
8044 s,@USE_NLS@,$USE_NLS,;t t
8045 s,@LIBINTL@,$LIBINTL,;t t
8046 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
8047 s,@INCINTL@,$INCINTL,;t t
8048 s,@XGETTEXT@,$XGETTEXT,;t t
8049 s,@GMSGFMT@,$GMSGFMT,;t t
8050 s,@POSUB@,$POSUB,;t t
8051 s,@CATALOGS@,$CATALOGS,;t t
8052 s,@LIBICONV@,$LIBICONV,;t t
8053 s,@LTLIBICONV@,$LTLIBICONV,;t t
8054 s,@ENABLE_NLS_TRUE@,$ENABLE_NLS_TRUE,;t t
8055 s,@ENABLE_NLS_FALSE@,$ENABLE_NLS_FALSE,;t t
8056 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8061 cat >>$CONFIG_STATUS <<\_ACEOF
8062 # Split the substitutions into bite-sized pieces for seds with
8063 # small command number limits, like on Digital OSF/1 and HP-UX.
8065 ac_sed_frag
=1 # Number of current file.
8066 ac_beg
=1 # First line for current file.
8067 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8070 while $ac_more_lines; do
8071 if test $ac_beg -gt 1; then
8072 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8074 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8076 if test ! -s $tmp/subs.frag
; then
8079 # The purpose of the label and of the branching condition is to
8080 # speed up the sed processing (if there are no `@' at all, there
8081 # is no need to browse any of the substitutions).
8082 # These are the two extra sed commands mentioned above.
8084 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
8085 if test -z "$ac_sed_cmds"; then
8086 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8088 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8090 ac_sed_frag
=`expr $ac_sed_frag + 1`
8092 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8095 if test -z "$ac_sed_cmds"; then
8098 fi # test -n "$CONFIG_FILES"
8101 cat >>$CONFIG_STATUS <<\_ACEOF
8102 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8103 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8105 - |
*:- |
*:-:* ) # input from stdin
8107 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8108 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8109 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8110 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8111 * ) ac_file_in
=$ac_file.
in ;;
8114 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8115 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8116 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8117 X"$ac_file" : 'X\(//\)[^/]' \| \
8118 X"$ac_file" : 'X\(//\)$' \| \
8119 X"$ac_file" : 'X\(/\)' \| \
8120 . : '\(.\)' 2>/dev/null ||
8122 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8123 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8124 /^X\(\/\/\)$/{ s//\1/; q; }
8125 /^X\(\/\).*/{ s//\1/; q; }
8127 { if $as_mkdir_p; then
8132 while test ! -d "$as_dir"; do
8133 as_dirs
="$as_dir $as_dirs"
8134 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8135 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8136 X"$as_dir" : 'X\(//\)[^/]' \| \
8137 X"$as_dir" : 'X\(//\)$' \| \
8138 X"$as_dir" : 'X\(/\)' \| \
8139 . : '\(.\)' 2>/dev/null ||
8141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8142 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8143 /^X\(\/\/\)$/{ s//\1/; q; }
8144 /^X\(\/\).*/{ s//\1/; q; }
8147 test ! -n "$as_dirs" || mkdir
$as_dirs
8148 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8149 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8150 { (exit 1); exit 1; }; }; }
8154 if test "$ac_dir" != .
; then
8155 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8156 # A "../" for each directory in $ac_dir_suffix.
8157 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8159 ac_dir_suffix
= ac_top_builddir
=
8163 .
) # No --srcdir option. We are building in place.
8165 if test -z "$ac_top_builddir"; then
8168 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8170 [\\/]* | ?
:[\\/]* ) # Absolute path.
8171 ac_srcdir
=$srcdir$ac_dir_suffix;
8172 ac_top_srcdir
=$srcdir ;;
8174 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8175 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8178 # Do not use `cd foo && pwd` to compute absolute paths, because
8179 # the directories may not exist.
8181 .
) ac_abs_builddir
="$ac_dir";;
8184 .
) ac_abs_builddir
=`pwd`;;
8185 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8186 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8189 case $ac_abs_builddir in
8190 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8192 case ${ac_top_builddir}.
in
8193 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8194 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8195 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8198 case $ac_abs_builddir in
8199 .
) ac_abs_srcdir
=$ac_srcdir;;
8202 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8203 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8204 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8207 case $ac_abs_builddir in
8208 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8210 case $ac_top_srcdir in
8211 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8212 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8213 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8219 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8220 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8223 # Let's still pretend it is `configure' which instantiates (i.e., don't
8224 # use $as_me), people would be surprised to read:
8225 # /* config.h. Generated by config.status. */
8226 if test x
"$ac_file" = x-
; then
8229 configure_input
="$ac_file. "
8231 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8232 sed 's,.*/,,'` by configure."
8234 # First look for the input files in the build tree, otherwise in the
8236 ac_file_inputs
=`IFS=:
8237 for f in $ac_file_in; do
8239 -) echo $tmp/stdin ;;
8241 # Absolute (can't be DOS-style, as IFS=:)
8242 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8243 echo "$as_me: error: cannot find input file: $f" >&2;}
8244 { (exit 1); exit 1; }; }
8247 if test -f "$f"; then
8250 elif test -f "$srcdir/$f"; then
8255 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8256 echo "$as_me: error: cannot find input file: $f" >&2;}
8257 { (exit 1); exit 1; }; }
8260 done` ||
{ (exit 1); exit 1; }
8262 if test x
"$ac_file" != x-
; then
8263 { echo "$as_me:$LINENO: creating $ac_file" >&5
8264 echo "$as_me: creating $ac_file" >&6;}
8268 cat >>$CONFIG_STATUS <<_ACEOF
8272 cat >>$CONFIG_STATUS <<\_ACEOF
8274 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8275 s
,@configure_input@
,$configure_input,;t t
8276 s
,@srcdir@
,$ac_srcdir,;t t
8277 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8278 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8279 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8280 s
,@builddir@
,$ac_builddir,;t t
8281 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8282 s
,@top_builddir@
,$ac_top_builddir,;t t
8283 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8284 s
,@INSTALL@
,$ac_INSTALL,;t t
8285 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8287 if test x"$ac_file" != x-; then
8288 mv $tmp/out $ac_file
8296 cat >>$CONFIG_STATUS <<\_ACEOF
8299 # CONFIG_HEADER section.
8302 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8303 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8305 # ac_d sets the value in "#define NAME VALUE" lines.
8306 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8307 ac_dB
='[ ].*$,\1#\2'
8310 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8311 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8312 ac_uB
='$,\1#\2define\3'
8316 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8317 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8319 - |
*:- |
*:-:* ) # input from stdin
8321 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8322 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8323 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8324 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8325 * ) ac_file_in
=$ac_file.
in ;;
8328 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8329 echo "$as_me: creating $ac_file" >&6;}
8331 # First look for the input files in the build tree, otherwise in the
8333 ac_file_inputs
=`IFS=:
8334 for f in $ac_file_in; do
8336 -) echo $tmp/stdin ;;
8338 # Absolute (can't be DOS-style, as IFS=:)
8339 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8340 echo "$as_me: error: cannot find input file: $f" >&2;}
8341 { (exit 1); exit 1; }; }
8342 # Do quote $f, to prevent DOS paths from being IFS'd.
8345 if test -f "$f"; then
8348 elif test -f "$srcdir/$f"; then
8353 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8354 echo "$as_me: error: cannot find input file: $f" >&2;}
8355 { (exit 1); exit 1; }; }
8358 done` ||
{ (exit 1); exit 1; }
8359 # Remove the trailing spaces.
8360 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8364 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8365 # `conftest.undefs', that substitutes the proper values into
8366 # config.h.in to produce config.h. The first handles `#define'
8367 # templates, and the second `#undef' templates.
8368 # And first: Protect against being on the right side of a sed subst in
8369 # config.status. Protect against being in an unquoted here document
8371 rm -f conftest.defines conftest.undefs
8372 # Using a here document instead of a string reduces the quoting nightmare.
8373 # Putting comments in sed scripts is not portable.
8375 # `end' is used to avoid that the second main sed command (meant for
8376 # 0-ary CPP macros) applies to n-ary macro definitions.
8377 # See the Autoconf documentation for `clear'.
8378 cat >confdef2sed.
sed <<\_ACEOF
8383 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8385 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8388 # If some macros were called several times there might be several times
8389 # the same #defines, which is useless. Nevertheless, we may not want to
8390 # sort them, since we want the *last* AC-DEFINE to be honored.
8391 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8392 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8393 rm -f confdef2sed.sed
8395 # This sed command replaces #undef with comments. This is necessary, for
8396 # example, in the case of _POSIX_SOURCE, which is predefined and required
8397 # on some systems where configure will not decide to define it.
8398 cat >>conftest.undefs <<\_ACEOF
8399 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8402 # Break up conftest.defines because some shells have a limit on the size
8403 # of here documents, and old seds have small limits too (100 cmds).
8404 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8405 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8406 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8407 echo ' :' >>$CONFIG_STATUS
8409 while grep . conftest.defines >/dev/null
8411 # Write a limited-size here document to $tmp/defines.sed.
8412 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8413 # Speed up: don't consider the non `#define' lines.
8414 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8415 # Work around the forget-to-reset-the-flag bug.
8416 echo 't clr' >>$CONFIG_STATUS
8417 echo ': clr' >>$CONFIG_STATUS
8418 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8420 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8424 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8425 rm -f conftest.defines
8426 mv conftest.
tail conftest.defines
8428 rm -f conftest.defines
8429 echo ' fi # grep' >>$CONFIG_STATUS
8430 echo >>$CONFIG_STATUS
8432 # Break up conftest.undefs because some shells have a limit on the size
8433 # of here documents, and old seds have small limits too (100 cmds).
8434 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8436 while grep . conftest.undefs
>/dev
/null
8438 # Write a limited-size here document to $tmp/undefs.sed.
8439 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8440 # Speed up: don't consider the non
`#undef'
8441 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8442 # Work around the forget-to-reset-the-flag bug.
8443 echo 't clr' >>$CONFIG_STATUS
8444 echo ': clr' >>$CONFIG_STATUS
8445 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8447 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8451 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8452 rm -f conftest.undefs
8453 mv conftest.tail conftest.undefs
8455 rm -f conftest.undefs
8457 cat >>$CONFIG_STATUS <<\_ACEOF
8458 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8459 # use $as_me), people would be surprised to read:
8460 # /* config.h. Generated by config.status. */
8461 if test x
"$ac_file" = x-
; then
8462 echo "/* Generated by configure. */" >$tmp/config.h
8464 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8466 cat $tmp/in >>$tmp/config.h
8468 if test x
"$ac_file" != x-
; then
8469 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8470 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8471 echo "$as_me: $ac_file is unchanged" >&6;}
8473 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8474 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8475 X"$ac_file" : 'X\(//\)[^/]' \| \
8476 X"$ac_file" : 'X\(//\)$' \| \
8477 X"$ac_file" : 'X\(/\)' \| \
8478 . : '\(.\)' 2>/dev/null ||
8480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8481 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8482 /^X\(\/\/\)$/{ s//\1/; q; }
8483 /^X\(\/\).*/{ s//\1/; q; }
8485 { if $as_mkdir_p; then
8490 while test ! -d "$as_dir"; do
8491 as_dirs
="$as_dir $as_dirs"
8492 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8493 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8494 X"$as_dir" : 'X\(//\)[^/]' \| \
8495 X"$as_dir" : 'X\(//\)$' \| \
8496 X"$as_dir" : 'X\(/\)' \| \
8497 . : '\(.\)' 2>/dev/null ||
8499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8500 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8501 /^X\(\/\/\)$/{ s//\1/; q; }
8502 /^X\(\/\).*/{ s//\1/; q; }
8505 test ! -n "$as_dirs" || mkdir
$as_dirs
8506 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8507 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8508 { (exit 1); exit 1; }; }; }
8511 mv $tmp/config.h
$ac_file
8517 # Compute $ac_file's index in $config_headers.
8519 for _am_header
in $config_headers :; do
8521 $ac_file |
$ac_file:* )
8524 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8527 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8528 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8529 X$ac_file : 'X\(//\)[^/]' \| \
8530 X$ac_file : 'X\(//\)$' \| \
8531 X$ac_file : 'X\(/\)' \| \
8532 . : '\(.\)' 2>/dev/null ||
8534 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8535 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8536 /^X\(\/\/\)$/{ s//\1/; q; }
8537 /^X\(\/\).*/{ s//\1/; q; }
8538 s/.*/./; q'`/stamp-h
$_am_stamp_count
8541 cat >>$CONFIG_STATUS <<\_ACEOF
8544 # CONFIG_COMMANDS section.
8546 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8547 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8548 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8549 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8550 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8551 X"$ac_dest" : 'X\(//\)[^/]' \| \
8552 X"$ac_dest" : 'X\(//\)$' \| \
8553 X"$ac_dest" : 'X\(/\)' \| \
8554 . : '\(.\)' 2>/dev/null ||
8556 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8557 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8558 /^X\(\/\/\)$/{ s//\1/; q; }
8559 /^X\(\/\).*/{ s//\1/; q; }
8561 { if $as_mkdir_p; then
8566 while test ! -d "$as_dir"; do
8567 as_dirs
="$as_dir $as_dirs"
8568 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8569 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8570 X"$as_dir" : 'X\(//\)[^/]' \| \
8571 X"$as_dir" : 'X\(//\)$' \| \
8572 X"$as_dir" : 'X\(/\)' \| \
8573 . : '\(.\)' 2>/dev/null ||
8575 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8576 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8577 /^X\(\/\/\)$/{ s//\1/; q; }
8578 /^X\(\/\).*/{ s//\1/; q; }
8581 test ! -n "$as_dirs" || mkdir
$as_dirs
8582 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8583 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8584 { (exit 1); exit 1; }; }; }
8588 if test "$ac_dir" != .
; then
8589 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8590 # A "../" for each directory in $ac_dir_suffix.
8591 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8593 ac_dir_suffix
= ac_top_builddir
=
8597 .
) # No --srcdir option. We are building in place.
8599 if test -z "$ac_top_builddir"; then
8602 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8604 [\\/]* | ?
:[\\/]* ) # Absolute path.
8605 ac_srcdir
=$srcdir$ac_dir_suffix;
8606 ac_top_srcdir
=$srcdir ;;
8608 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8609 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8612 # Do not use `cd foo && pwd` to compute absolute paths, because
8613 # the directories may not exist.
8615 .
) ac_abs_builddir
="$ac_dir";;
8618 .
) ac_abs_builddir
=`pwd`;;
8619 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8620 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8623 case $ac_abs_builddir in
8624 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8626 case ${ac_top_builddir}.
in
8627 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8628 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8629 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8632 case $ac_abs_builddir in
8633 .
) ac_abs_srcdir
=$ac_srcdir;;
8636 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8637 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8638 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8641 case $ac_abs_builddir in
8642 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8644 case $ac_top_srcdir in
8645 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8646 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8647 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8652 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8653 echo "$as_me: executing $ac_dest commands" >&6;}
8655 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8656 # Strip MF so we end up with the name of the file.
8657 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8658 # Check whether this is an Automake generated Makefile or not.
8659 # We used to match only the files named `Makefile.in', but
8660 # some people rename them; so instead we look at the file content.
8661 # Grep'ing the first line is not enough: some people post-process
8662 # each Makefile.in and add a new line on top of each file to say so.
8663 # So let's grep whole file.
8664 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8665 dirpart
=`(dirname "$mf") 2>/dev/null ||
8666 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8667 X"$mf" : 'X\(//\)[^/]' \| \
8668 X"$mf" : 'X\(//\)$' \| \
8669 X"$mf" : 'X\(/\)' \| \
8670 . : '\(.\)' 2>/dev/null ||
8672 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8673 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8674 /^X\(\/\/\)$/{ s//\1/; q; }
8675 /^X\(\/\).*/{ s//\1/; q; }
8680 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
8681 # Extract the definition of DEP_FILES from the Makefile without
8683 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8684 test -z "$DEPDIR" && continue
8685 # When using ansi2knr, U may be empty or an underscore; expand it
8686 U
=`sed -n 's/^U = //p' < "$mf"`
8687 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
8688 # We invoke sed twice because it is the simplest approach to
8689 # changing $(DEPDIR) to its actual value in the expansion.
8690 for file in `sed -n '
8691 /^DEP_FILES = .*\\\\$/ {
8700 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
8701 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8702 # Make sure the directory exists.
8703 test -f "$dirpart/$file" && continue
8704 fdir
=`(dirname "$file") 2>/dev/null ||
8705 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8706 X"$file" : 'X\(//\)[^/]' \| \
8707 X"$file" : 'X\(//\)$' \| \
8708 X"$file" : 'X\(/\)' \| \
8709 . : '\(.\)' 2>/dev/null ||
8711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8712 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8713 /^X\(\/\/\)$/{ s//\1/; q; }
8714 /^X\(\/\).*/{ s//\1/; q; }
8716 { if $as_mkdir_p; then
8717 mkdir
-p $dirpart/$fdir
8719 as_dir
=$dirpart/$fdir
8721 while test ! -d "$as_dir"; do
8722 as_dirs
="$as_dir $as_dirs"
8723 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8725 X"$as_dir" : 'X\(//\)[^/]' \| \
8726 X"$as_dir" : 'X\(//\)$' \| \
8727 X"$as_dir" : 'X\(/\)' \| \
8728 . : '\(.\)' 2>/dev/null ||
8730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8731 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8732 /^X\(\/\/\)$/{ s//\1/; q; }
8733 /^X\(\/\).*/{ s//\1/; q; }
8736 test ! -n "$as_dirs" || mkdir
$as_dirs
8737 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8738 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8739 { (exit 1); exit 1; }; }; }
8741 # echo "creating $dirpart/$file"
8742 echo '# dummy' > "$dirpart/$file"
8750 cat >>$CONFIG_STATUS <<\_ACEOF
8752 { (exit 0); exit 0; }
8754 chmod +x
$CONFIG_STATUS
8755 ac_clean_files
=$ac_clean_files_save
8758 # configure is writing to config.log, and then calls config.status.
8759 # config.status does its own redirection, appending to config.log.
8760 # Unfortunately, on DOS this fails, as config.log is still kept open
8761 # by configure, so config.status won't be able to write to it; its
8762 # output is simply discarded. So we exec the FD to /dev/null,
8763 # effectively closing config.log, so it can be properly (re)opened and
8764 # appended to by config.status. When coming back to configure, we
8765 # need to make the FD available again.
8766 if test "$no_create" != yes; then
8768 ac_config_status_args
=
8769 test "$silent" = yes &&
8770 ac_config_status_args
="$ac_config_status_args --quiet"
8772 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8774 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8775 # would make configure fail if this is the last instruction.
8776 $ac_cs_success ||
{ (exit 1); exit 1; }