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
3170 ac_cpp
='$CPP $CPPFLAGS'
3171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3174 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3175 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3176 # On Suns, sometimes $CPP names a directory.
3177 if test -n "$CPP" && test -d "$CPP"; then
3180 if test -z "$CPP"; then
3181 if test "${ac_cv_prog_CPP+set}" = set; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6
3184 # Double quotes because CPP needs to be expanded
3185 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3188 for ac_c_preproc_warn_flag
in '' yes
3190 # Use a header file that comes with gcc, so configuring glibc
3191 # with a fresh cross-compiler works.
3192 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3193 # <limits.h> exists even on freestanding compilers.
3194 # On the NeXT, cc -E runs the code through the compiler's parser,
3195 # not just through cpp. "Syntax error" is here to catch this case.
3196 cat >conftest.
$ac_ext <<_ACEOF
3199 cat confdefs.h
>>conftest.
$ac_ext
3200 cat >>conftest.
$ac_ext <<_ACEOF
3201 /* end confdefs.h. */
3203 # include <limits.h>
3205 # include <assert.h>
3209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3210 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3212 grep -v '^ *+' conftest.er1
>conftest.err
3214 cat conftest.err
>&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); } >/dev
/null
; then
3217 if test -s conftest.err
; then
3218 ac_cpp_err
=$ac_c_preproc_warn_flag
3219 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3226 if test -z "$ac_cpp_err"; then
3229 echo "$as_me: failed program was:" >&5
3230 sed 's/^/| /' conftest.
$ac_ext >&5
3232 # Broken: fails on valid input.
3235 rm -f conftest.err conftest.
$ac_ext
3237 # OK, works on sane cases. Now check whether non-existent headers
3238 # can be detected and how.
3239 cat >conftest.
$ac_ext <<_ACEOF
3242 cat confdefs.h
>>conftest.
$ac_ext
3243 cat >>conftest.
$ac_ext <<_ACEOF
3244 /* end confdefs.h. */
3245 #include <ac_nonexistent.h>
3247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3248 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3250 grep -v '^ *+' conftest.er1
>conftest.err
3252 cat conftest.err
>&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); } >/dev
/null
; then
3255 if test -s conftest.err
; then
3256 ac_cpp_err
=$ac_c_preproc_warn_flag
3257 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3264 if test -z "$ac_cpp_err"; then
3265 # Broken: success on invalid input.
3268 echo "$as_me: failed program was:" >&5
3269 sed 's/^/| /' conftest.
$ac_ext >&5
3271 # Passes both tests.
3275 rm -f conftest.err conftest.
$ac_ext
3278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3279 rm -f conftest.err conftest.
$ac_ext
3280 if $ac_preproc_ok; then
3292 echo "$as_me:$LINENO: result: $CPP" >&5
3293 echo "${ECHO_T}$CPP" >&6
3295 for ac_c_preproc_warn_flag
in '' yes
3297 # Use a header file that comes with gcc, so configuring glibc
3298 # with a fresh cross-compiler works.
3299 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3300 # <limits.h> exists even on freestanding compilers.
3301 # On the NeXT, cc -E runs the code through the compiler's parser,
3302 # not just through cpp. "Syntax error" is here to catch this case.
3303 cat >conftest.
$ac_ext <<_ACEOF
3306 cat confdefs.h
>>conftest.
$ac_ext
3307 cat >>conftest.
$ac_ext <<_ACEOF
3308 /* end confdefs.h. */
3310 # include <limits.h>
3312 # include <assert.h>
3316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3317 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3319 grep -v '^ *+' conftest.er1
>conftest.err
3321 cat conftest.err
>&5
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); } >/dev
/null
; then
3324 if test -s conftest.err
; then
3325 ac_cpp_err
=$ac_c_preproc_warn_flag
3326 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3333 if test -z "$ac_cpp_err"; then
3336 echo "$as_me: failed program was:" >&5
3337 sed 's/^/| /' conftest.
$ac_ext >&5
3339 # Broken: fails on valid input.
3342 rm -f conftest.err conftest.
$ac_ext
3344 # OK, works on sane cases. Now check whether non-existent headers
3345 # can be detected and how.
3346 cat >conftest.
$ac_ext <<_ACEOF
3349 cat confdefs.h
>>conftest.
$ac_ext
3350 cat >>conftest.
$ac_ext <<_ACEOF
3351 /* end confdefs.h. */
3352 #include <ac_nonexistent.h>
3354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3355 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3357 grep -v '^ *+' conftest.er1
>conftest.err
3359 cat conftest.err
>&5
3360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361 (exit $ac_status); } >/dev
/null
; then
3362 if test -s conftest.err
; then
3363 ac_cpp_err
=$ac_c_preproc_warn_flag
3364 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3371 if test -z "$ac_cpp_err"; then
3372 # Broken: success on invalid input.
3375 echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.
$ac_ext >&5
3378 # Passes both tests.
3382 rm -f conftest.err conftest.
$ac_ext
3385 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3386 rm -f conftest.err conftest.
$ac_ext
3387 if $ac_preproc_ok; then
3390 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3391 See \`config.log' for more details." >&5
3392 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3393 See \`config.log' for more details." >&2;}
3394 { (exit 1); exit 1; }; }
3398 ac_cpp
='$CPP $CPPFLAGS'
3399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3404 echo "$as_me:$LINENO: checking for egrep" >&5
3405 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3406 if test "${ac_cv_prog_egrep+set}" = set; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3409 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3410 then ac_cv_prog_egrep
='grep -E'
3411 else ac_cv_prog_egrep
='egrep'
3414 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3415 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3416 EGREP
=$ac_cv_prog_egrep
3419 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3420 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3421 if test "${ac_cv_header_stdc+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 cat >conftest.
$ac_ext <<_ACEOF
3427 cat confdefs.h
>>conftest.
$ac_ext
3428 cat >>conftest.
$ac_ext <<_ACEOF
3429 /* end confdefs.h. */
3443 rm -f conftest.
$ac_objext
3444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3445 (eval $ac_compile) 2>conftest.er1
3447 grep -v '^ *+' conftest.er1
>conftest.err
3449 cat conftest.err
>&5
3450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3451 (exit $ac_status); } &&
3452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457 (exit $ac_status); }; } &&
3458 { ac_try
='test -s conftest.$ac_objext'
3459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463 (exit $ac_status); }; }; then
3464 ac_cv_header_stdc
=yes
3466 echo "$as_me: failed program was:" >&5
3467 sed 's/^/| /' conftest.
$ac_ext >&5
3469 ac_cv_header_stdc
=no
3471 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3473 if test $ac_cv_header_stdc = yes; then
3474 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3475 cat >conftest.
$ac_ext <<_ACEOF
3478 cat confdefs.h
>>conftest.
$ac_ext
3479 cat >>conftest.
$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3484 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3485 $EGREP "memchr" >/dev
/null
2>&1; then
3488 ac_cv_header_stdc
=no
3494 if test $ac_cv_header_stdc = yes; then
3495 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3496 cat >conftest.
$ac_ext <<_ACEOF
3499 cat confdefs.h
>>conftest.
$ac_ext
3500 cat >>conftest.
$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3506 $EGREP "free" >/dev
/null
2>&1; then
3509 ac_cv_header_stdc
=no
3515 if test $ac_cv_header_stdc = yes; then
3516 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3517 if test "$cross_compiling" = yes; then
3520 cat >conftest.
$ac_ext <<_ACEOF
3523 cat confdefs.h
>>conftest.
$ac_ext
3524 cat >>conftest.
$ac_ext <<_ACEOF
3525 /* end confdefs.h. */
3527 #if ((' ' & 0x0FF) == 0x020)
3528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3531 # define ISLOWER(c) \
3532 (('a' <= (c) && (c) <= 'i') \
3533 || ('j' <= (c) && (c) <= 'r') \
3534 || ('s' <= (c) && (c) <= 'z'))
3535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3543 for (i = 0; i < 256; i++)
3544 if (XOR (islower (i), ISLOWER (i))
3545 || toupper (i) != TOUPPER (i))
3550 rm -f conftest
$ac_exeext
3551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3552 (eval $ac_link) 2>&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); }; }; then
3563 echo "$as_me: program exited with status $ac_status" >&5
3564 echo "$as_me: failed program was:" >&5
3565 sed 's/^/| /' conftest.
$ac_ext >&5
3568 ac_cv_header_stdc
=no
3570 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3574 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3575 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3576 if test $ac_cv_header_stdc = yes; then
3578 cat >>confdefs.h
<<\_ACEOF
3579 #define STDC_HEADERS 1
3584 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3594 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3595 inttypes.h stdint.h unistd.h
3597 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3598 echo "$as_me:$LINENO: checking for $ac_header" >&5
3599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3603 cat >conftest.
$ac_ext <<_ACEOF
3606 cat confdefs.h
>>conftest.
$ac_ext
3607 cat >>conftest.
$ac_ext <<_ACEOF
3608 /* end confdefs.h. */
3609 $ac_includes_default
3611 #include <$ac_header>
3613 rm -f conftest.
$ac_objext
3614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3615 (eval $ac_compile) 2>conftest.er1
3617 grep -v '^ *+' conftest.er1
>conftest.err
3619 cat conftest.err
>&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); } &&
3622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); }; } &&
3628 { ac_try
='test -s conftest.$ac_objext'
3629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); }; }; then
3634 eval "$as_ac_Header=yes"
3636 echo "$as_me: failed program was:" >&5
3637 sed 's/^/| /' conftest.
$ac_ext >&5
3639 eval "$as_ac_Header=no"
3641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3646 cat >>confdefs.h
<<_ACEOF
3647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3665 for ac_header
in iconv.h locale.h fcntl.h limits.h stddef.h \
3666 stdlib.h
strings.h string.h sys
/file.h unistd.h
3668 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3670 echo "$as_me:$LINENO: checking for $ac_header" >&5
3671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3673 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3678 # Is the header compilable?
3679 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3680 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3681 cat >conftest.
$ac_ext <<_ACEOF
3684 cat confdefs.h
>>conftest.
$ac_ext
3685 cat >>conftest.
$ac_ext <<_ACEOF
3686 /* end confdefs.h. */
3687 $ac_includes_default
3688 #include <$ac_header>
3690 rm -f conftest.
$ac_objext
3691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3692 (eval $ac_compile) 2>conftest.er1
3694 grep -v '^ *+' conftest.er1
>conftest.err
3696 cat conftest.err
>&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); } &&
3699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3704 (exit $ac_status); }; } &&
3705 { ac_try
='test -s conftest.$ac_objext'
3706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); }; }; then
3711 ac_header_compiler
=yes
3713 echo "$as_me: failed program was:" >&5
3714 sed 's/^/| /' conftest.
$ac_ext >&5
3716 ac_header_compiler
=no
3718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3720 echo "${ECHO_T}$ac_header_compiler" >&6
3722 # Is the header present?
3723 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3724 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3725 cat >conftest.
$ac_ext <<_ACEOF
3728 cat confdefs.h
>>conftest.
$ac_ext
3729 cat >>conftest.
$ac_ext <<_ACEOF
3730 /* end confdefs.h. */
3731 #include <$ac_header>
3733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3734 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3736 grep -v '^ *+' conftest.er1
>conftest.err
3738 cat conftest.err
>&5
3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); } >/dev
/null
; then
3741 if test -s conftest.err
; then
3742 ac_cpp_err
=$ac_c_preproc_warn_flag
3743 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3750 if test -z "$ac_cpp_err"; then
3751 ac_header_preproc
=yes
3753 echo "$as_me: failed program was:" >&5
3754 sed 's/^/| /' conftest.
$ac_ext >&5
3756 ac_header_preproc
=no
3758 rm -f conftest.err conftest.
$ac_ext
3759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3760 echo "${ECHO_T}$ac_header_preproc" >&6
3762 # So? What about this header?
3763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3765 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3766 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3768 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3769 ac_header_preproc
=yes
3772 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3773 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3774 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3775 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3776 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3777 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3778 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3779 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3782 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3783 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3786 ## ----------------------------------- ##
3787 ## Report this to gcc-bugs@gcc.gnu.org ##
3788 ## ----------------------------------- ##
3791 sed "s/^/$as_me: WARNING: /" >&2
3794 echo "$as_me:$LINENO: checking for $ac_header" >&5
3795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3797 echo $ECHO_N "(cached) $ECHO_C" >&6
3799 eval "$as_ac_Header=\$ac_header_preproc"
3801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3806 cat >>confdefs.h
<<_ACEOF
3807 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3815 # Checks for typedefs, structures, and compiler characteristics.
3816 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3817 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3818 if test "${ac_cv_c_const+set}" = set; then
3819 echo $ECHO_N "(cached) $ECHO_C" >&6
3821 cat >conftest.
$ac_ext <<_ACEOF
3824 cat confdefs.h
>>conftest.
$ac_ext
3825 cat >>conftest.
$ac_ext <<_ACEOF
3826 /* end confdefs.h. */
3831 /* FIXME: Include the comments suggested by Paul. */
3833 /* Ultrix mips cc rejects this. */
3834 typedef int charset[2];
3836 /* SunOS 4.1.1 cc rejects this. */
3837 char const *const *ccp;
3839 /* NEC SVR4.0.2 mips cc rejects this. */
3840 struct point {int x, y;};
3841 static struct point const zero = {0,0};
3842 /* AIX XL C 1.02.0.0 rejects this.
3843 It does not let you subtract one const X* pointer from another in
3844 an arm of an if-expression whose if-part is not a constant
3846 const char *g = "string";
3847 ccp = &g + (g ? g-g : 0);
3848 /* HPUX 7.0 cc rejects these. */
3851 ccp = (char const *const *) p;
3852 { /* SCO 3.2v4 cc rejects this. */
3854 char const *s = 0 ? (char *) 0 : (char const *) 0;
3858 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3860 const int *foo = &x[0];
3863 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3864 typedef const int *iptr;
3868 { /* AIX XL C 1.02.0.0 rejects this saying
3869 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3870 struct s { int j; const int *ap[3]; };
3871 struct s *b; b->j = 5;
3873 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3882 rm -f conftest.
$ac_objext
3883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3884 (eval $ac_compile) 2>conftest.er1
3886 grep -v '^ *+' conftest.er1
>conftest.err
3888 cat conftest.err
>&5
3889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3890 (exit $ac_status); } &&
3891 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); }; } &&
3897 { ac_try
='test -s conftest.$ac_objext'
3898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3902 (exit $ac_status); }; }; then
3905 echo "$as_me: failed program was:" >&5
3906 sed 's/^/| /' conftest.
$ac_ext >&5
3910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3912 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3913 echo "${ECHO_T}$ac_cv_c_const" >&6
3914 if test $ac_cv_c_const = no
; then
3916 cat >>confdefs.h
<<\_ACEOF
3922 echo "$as_me:$LINENO: checking for inline" >&5
3923 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3924 if test "${ac_cv_c_inline+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3928 for ac_kw
in inline __inline__ __inline
; do
3929 cat >conftest.
$ac_ext <<_ACEOF
3932 cat confdefs.h
>>conftest.
$ac_ext
3933 cat >>conftest.
$ac_ext <<_ACEOF
3934 /* end confdefs.h. */
3937 static $ac_kw foo_t static_foo () {return 0; }
3938 $ac_kw foo_t foo () {return 0; }
3942 rm -f conftest.
$ac_objext
3943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3944 (eval $ac_compile) 2>conftest.er1
3946 grep -v '^ *+' conftest.er1
>conftest.err
3948 cat conftest.err
>&5
3949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3950 (exit $ac_status); } &&
3951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); }; } &&
3957 { ac_try
='test -s conftest.$ac_objext'
3958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); }; }; then
3963 ac_cv_c_inline
=$ac_kw; break
3965 echo "$as_me: failed program was:" >&5
3966 sed 's/^/| /' conftest.
$ac_ext >&5
3969 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3973 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3974 echo "${ECHO_T}$ac_cv_c_inline" >&6
3977 case $ac_cv_c_inline in
3980 case $ac_cv_c_inline in
3982 *) ac_val
=$ac_cv_c_inline;;
3984 cat >>confdefs.h
<<_ACEOF
3986 #define inline $ac_val
3992 echo "$as_me:$LINENO: checking for obstacks" >&5
3993 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
3994 if test "${ac_cv_func_obstack+set}" = set; then
3995 echo $ECHO_N "(cached) $ECHO_C" >&6
3997 cat >conftest.
$ac_ext <<_ACEOF
4000 cat confdefs.h
>>conftest.
$ac_ext
4001 cat >>conftest.
$ac_ext <<_ACEOF
4002 /* end confdefs.h. */
4003 #include "obstack.h"
4007 struct obstack *mem; obstack_free(mem,(char *) 0)
4012 rm -f conftest.
$ac_objext conftest
$ac_exeext
4013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4014 (eval $ac_link) 2>conftest.er1
4016 grep -v '^ *+' conftest.er1
>conftest.err
4018 cat conftest.err
>&5
4019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020 (exit $ac_status); } &&
4021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026 (exit $ac_status); }; } &&
4027 { ac_try
='test -s conftest$ac_exeext'
4028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); }; }; then
4033 ac_cv_func_obstack
=yes
4035 echo "$as_me: failed program was:" >&5
4036 sed 's/^/| /' conftest.
$ac_ext >&5
4038 ac_cv_func_obstack
=no
4040 rm -f conftest.err conftest.
$ac_objext \
4041 conftest
$ac_exeext conftest.
$ac_ext
4043 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
4044 echo "${ECHO_T}$ac_cv_func_obstack" >&6
4045 if test $ac_cv_func_obstack = yes; then
4047 cat >>confdefs.h
<<\_ACEOF
4048 #define HAVE_OBSTACK 1
4053 "obstack.$ac_objext" | \
4054 *" obstack.$ac_objext" | \
4055 "obstack.$ac_objext "* | \
4056 *" obstack.$ac_objext "* ) ;;
4057 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext" ;;
4062 echo "$as_me:$LINENO: checking for off_t" >&5
4063 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4064 if test "${ac_cv_type_off_t+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4067 cat >conftest.
$ac_ext <<_ACEOF
4070 cat confdefs.h
>>conftest.
$ac_ext
4071 cat >>conftest.
$ac_ext <<_ACEOF
4072 /* end confdefs.h. */
4073 $ac_includes_default
4085 rm -f conftest.
$ac_objext
4086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4087 (eval $ac_compile) 2>conftest.er1
4089 grep -v '^ *+' conftest.er1
>conftest.err
4091 cat conftest.err
>&5
4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4093 (exit $ac_status); } &&
4094 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); }; } &&
4100 { ac_try
='test -s conftest.$ac_objext'
4101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; }; then
4106 ac_cv_type_off_t
=yes
4108 echo "$as_me: failed program was:" >&5
4109 sed 's/^/| /' conftest.
$ac_ext >&5
4113 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4115 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4116 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4117 if test $ac_cv_type_off_t = yes; then
4121 cat >>confdefs.h
<<_ACEOF
4127 echo "$as_me:$LINENO: checking for size_t" >&5
4128 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4129 if test "${ac_cv_type_size_t+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 cat >conftest.
$ac_ext <<_ACEOF
4135 cat confdefs.h
>>conftest.
$ac_ext
4136 cat >>conftest.
$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4138 $ac_includes_default
4144 if (sizeof (size_t))
4150 rm -f conftest.
$ac_objext
4151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4152 (eval $ac_compile) 2>conftest.er1
4154 grep -v '^ *+' conftest.er1
>conftest.err
4156 cat conftest.err
>&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); } &&
4159 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4164 (exit $ac_status); }; } &&
4165 { ac_try
='test -s conftest.$ac_objext'
4166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; }; then
4171 ac_cv_type_size_t
=yes
4173 echo "$as_me: failed program was:" >&5
4174 sed 's/^/| /' conftest.
$ac_ext >&5
4176 ac_cv_type_size_t
=no
4178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4180 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4181 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4182 if test $ac_cv_type_size_t = yes; then
4186 cat >>confdefs.h
<<_ACEOF
4187 #define size_t unsigned
4192 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4193 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4194 if test "${ac_cv_struct_tm+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 cat >conftest.
$ac_ext <<_ACEOF
4200 cat confdefs.h
>>conftest.
$ac_ext
4201 cat >>conftest.
$ac_ext <<_ACEOF
4202 /* end confdefs.h. */
4203 #include <sys/types.h>
4209 struct tm *tp; tp->tm_sec;
4214 rm -f conftest.
$ac_objext
4215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4216 (eval $ac_compile) 2>conftest.er1
4218 grep -v '^ *+' conftest.er1
>conftest.err
4220 cat conftest.err
>&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } &&
4223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); }; } &&
4229 { ac_try
='test -s conftest.$ac_objext'
4230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4234 (exit $ac_status); }; }; then
4235 ac_cv_struct_tm
=time.h
4237 echo "$as_me: failed program was:" >&5
4238 sed 's/^/| /' conftest.
$ac_ext >&5
4240 ac_cv_struct_tm
=sys
/time.h
4242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4244 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
4245 echo "${ECHO_T}$ac_cv_struct_tm" >&6
4246 if test $ac_cv_struct_tm = sys
/time.h
; then
4248 cat >>confdefs.h
<<\_ACEOF
4249 #define TM_IN_SYS_TIME 1
4254 echo "$as_me:$LINENO: checking for int" >&5
4255 echo $ECHO_N "checking for int... $ECHO_C" >&6
4256 if test "${ac_cv_type_int+set}" = set; then
4257 echo $ECHO_N "(cached) $ECHO_C" >&6
4259 cat >conftest.
$ac_ext <<_ACEOF
4262 cat confdefs.h
>>conftest.
$ac_ext
4263 cat >>conftest.
$ac_ext <<_ACEOF
4264 /* end confdefs.h. */
4265 $ac_includes_default
4277 rm -f conftest.
$ac_objext
4278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4279 (eval $ac_compile) 2>conftest.er1
4281 grep -v '^ *+' conftest.er1
>conftest.err
4283 cat conftest.err
>&5
4284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4285 (exit $ac_status); } &&
4286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291 (exit $ac_status); }; } &&
4292 { ac_try
='test -s conftest.$ac_objext'
4293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297 (exit $ac_status); }; }; then
4300 echo "$as_me: failed program was:" >&5
4301 sed 's/^/| /' conftest.
$ac_ext >&5
4305 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4307 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
4308 echo "${ECHO_T}$ac_cv_type_int" >&6
4310 echo "$as_me:$LINENO: checking size of int" >&5
4311 echo $ECHO_N "checking size of int... $ECHO_C" >&6
4312 if test "${ac_cv_sizeof_int+set}" = set; then
4313 echo $ECHO_N "(cached) $ECHO_C" >&6
4315 if test "$ac_cv_type_int" = yes; then
4316 # The cast to unsigned long works around a bug in the HP C Compiler
4317 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4318 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4319 # This bug is HP SR number 8606223364.
4320 if test "$cross_compiling" = yes; then
4321 # Depending upon the size, compute the lo and hi bounds.
4322 cat >conftest.
$ac_ext <<_ACEOF
4325 cat confdefs.h
>>conftest.
$ac_ext
4326 cat >>conftest.
$ac_ext <<_ACEOF
4327 /* end confdefs.h. */
4328 $ac_includes_default
4332 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
4339 rm -f conftest.
$ac_objext
4340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4341 (eval $ac_compile) 2>conftest.er1
4343 grep -v '^ *+' conftest.er1
>conftest.err
4345 cat conftest.err
>&5
4346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4347 (exit $ac_status); } &&
4348 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4353 (exit $ac_status); }; } &&
4354 { ac_try
='test -s conftest.$ac_objext'
4355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4359 (exit $ac_status); }; }; then
4362 cat >conftest.
$ac_ext <<_ACEOF
4365 cat confdefs.h
>>conftest.
$ac_ext
4366 cat >>conftest.
$ac_ext <<_ACEOF
4367 /* end confdefs.h. */
4368 $ac_includes_default
4372 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4379 rm -f conftest.
$ac_objext
4380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4381 (eval $ac_compile) 2>conftest.er1
4383 grep -v '^ *+' conftest.er1
>conftest.err
4385 cat conftest.err
>&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); } &&
4388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4393 (exit $ac_status); }; } &&
4394 { ac_try
='test -s conftest.$ac_objext'
4395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); }; }; then
4400 ac_hi
=$ac_mid; break
4402 echo "$as_me: failed program was:" >&5
4403 sed 's/^/| /' conftest.
$ac_ext >&5
4405 ac_lo
=`expr $ac_mid + 1`
4406 if test $ac_lo -le $ac_mid; then
4410 ac_mid
=`expr 2 '*' $ac_mid + 1`
4412 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4415 echo "$as_me: failed program was:" >&5
4416 sed 's/^/| /' conftest.
$ac_ext >&5
4418 cat >conftest.
$ac_ext <<_ACEOF
4421 cat confdefs.h
>>conftest.
$ac_ext
4422 cat >>conftest.
$ac_ext <<_ACEOF
4423 /* end confdefs.h. */
4424 $ac_includes_default
4428 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4435 rm -f conftest.
$ac_objext
4436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4437 (eval $ac_compile) 2>conftest.er1
4439 grep -v '^ *+' conftest.er1
>conftest.err
4441 cat conftest.err
>&5
4442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4443 (exit $ac_status); } &&
4444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); }; } &&
4450 { ac_try
='test -s conftest.$ac_objext'
4451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); }; }; then
4458 cat >conftest.
$ac_ext <<_ACEOF
4461 cat confdefs.h
>>conftest.
$ac_ext
4462 cat >>conftest.
$ac_ext <<_ACEOF
4463 /* end confdefs.h. */
4464 $ac_includes_default
4468 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4475 rm -f conftest.
$ac_objext
4476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4477 (eval $ac_compile) 2>conftest.er1
4479 grep -v '^ *+' conftest.er1
>conftest.err
4481 cat conftest.err
>&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); } &&
4484 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); }; } &&
4490 { ac_try
='test -s conftest.$ac_objext'
4491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); }; }; then
4496 ac_lo
=$ac_mid; break
4498 echo "$as_me: failed program was:" >&5
4499 sed 's/^/| /' conftest.
$ac_ext >&5
4501 ac_hi
=`expr '(' $ac_mid ')' - 1`
4502 if test $ac_mid -le $ac_hi; then
4506 ac_mid
=`expr 2 '*' $ac_mid`
4508 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4511 echo "$as_me: failed program was:" >&5
4512 sed 's/^/| /' conftest.
$ac_ext >&5
4516 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4518 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4519 # Binary search between lo and hi bounds.
4520 while test "x$ac_lo" != "x$ac_hi"; do
4521 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4522 cat >conftest.
$ac_ext <<_ACEOF
4525 cat confdefs.h
>>conftest.
$ac_ext
4526 cat >>conftest.
$ac_ext <<_ACEOF
4527 /* end confdefs.h. */
4528 $ac_includes_default
4532 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4539 rm -f conftest.
$ac_objext
4540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4541 (eval $ac_compile) 2>conftest.er1
4543 grep -v '^ *+' conftest.er1
>conftest.err
4545 cat conftest.err
>&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); } &&
4548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); }; } &&
4554 { ac_try
='test -s conftest.$ac_objext'
4555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); }; }; then
4562 echo "$as_me: failed program was:" >&5
4563 sed 's/^/| /' conftest.
$ac_ext >&5
4565 ac_lo
=`expr '(' $ac_mid ')' + 1`
4567 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4570 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4571 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4572 See \`config.log' for more details." >&5
4573 echo "$as_me: error: cannot compute sizeof (int), 77
4574 See \`config.log' for more details." >&2;}
4575 { (exit 1); exit 1; }; } ;;
4578 if test "$cross_compiling" = yes; then
4579 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4580 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4581 { (exit 1); exit 1; }; }
4583 cat >conftest.
$ac_ext <<_ACEOF
4586 cat confdefs.h
>>conftest.
$ac_ext
4587 cat >>conftest.
$ac_ext <<_ACEOF
4588 /* end confdefs.h. */
4589 $ac_includes_default
4590 long longval () { return (long) (sizeof (int)); }
4591 unsigned long ulongval () { return (long) (sizeof (int)); }
4598 FILE *f = fopen ("conftest.val", "w");
4601 if (((long) (sizeof (int))) < 0)
4603 long i = longval ();
4604 if (i != ((long) (sizeof (int))))
4606 fprintf (f, "%ld\n", i);
4610 unsigned long i = ulongval ();
4611 if (i != ((long) (sizeof (int))))
4613 fprintf (f, "%lu\n", i);
4615 exit (ferror (f) || fclose (f) != 0);
4621 rm -f conftest
$ac_exeext
4622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4623 (eval $ac_link) 2>&5
4625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); }; }; then
4632 ac_cv_sizeof_int
=`cat conftest.val`
4634 echo "$as_me: program exited with status $ac_status" >&5
4635 echo "$as_me: failed program was:" >&5
4636 sed 's/^/| /' conftest.
$ac_ext >&5
4639 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4640 See \`config.log' for more details." >&5
4641 echo "$as_me: error: cannot compute sizeof (int), 77
4642 See \`config.log' for more details." >&2;}
4643 { (exit 1); exit 1; }; }
4645 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4653 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4654 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4655 cat >>confdefs.h
<<_ACEOF
4656 #define SIZEOF_INT $ac_cv_sizeof_int
4660 echo "$as_me:$LINENO: checking for long" >&5
4661 echo $ECHO_N "checking for long... $ECHO_C" >&6
4662 if test "${ac_cv_type_long+set}" = set; then
4663 echo $ECHO_N "(cached) $ECHO_C" >&6
4665 cat >conftest.
$ac_ext <<_ACEOF
4668 cat confdefs.h
>>conftest.
$ac_ext
4669 cat >>conftest.
$ac_ext <<_ACEOF
4670 /* end confdefs.h. */
4671 $ac_includes_default
4683 rm -f conftest.
$ac_objext
4684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4685 (eval $ac_compile) 2>conftest.er1
4687 grep -v '^ *+' conftest.er1
>conftest.err
4689 cat conftest.err
>&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); } &&
4692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); }; } &&
4698 { ac_try
='test -s conftest.$ac_objext'
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; }; then
4706 echo "$as_me: failed program was:" >&5
4707 sed 's/^/| /' conftest.
$ac_ext >&5
4711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4713 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4714 echo "${ECHO_T}$ac_cv_type_long" >&6
4716 echo "$as_me:$LINENO: checking size of long" >&5
4717 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4718 if test "${ac_cv_sizeof_long+set}" = set; then
4719 echo $ECHO_N "(cached) $ECHO_C" >&6
4721 if test "$ac_cv_type_long" = yes; then
4722 # The cast to unsigned long works around a bug in the HP C Compiler
4723 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4724 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4725 # This bug is HP SR number 8606223364.
4726 if test "$cross_compiling" = yes; then
4727 # Depending upon the size, compute the lo and hi bounds.
4728 cat >conftest.
$ac_ext <<_ACEOF
4731 cat confdefs.h
>>conftest.
$ac_ext
4732 cat >>conftest.
$ac_ext <<_ACEOF
4733 /* end confdefs.h. */
4734 $ac_includes_default
4738 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4745 rm -f conftest.
$ac_objext
4746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4747 (eval $ac_compile) 2>conftest.er1
4749 grep -v '^ *+' conftest.er1
>conftest.err
4751 cat conftest.err
>&5
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); } &&
4754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); }; } &&
4760 { ac_try
='test -s conftest.$ac_objext'
4761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); }; }; then
4768 cat >conftest.
$ac_ext <<_ACEOF
4771 cat confdefs.h
>>conftest.
$ac_ext
4772 cat >>conftest.
$ac_ext <<_ACEOF
4773 /* end confdefs.h. */
4774 $ac_includes_default
4778 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4785 rm -f conftest.
$ac_objext
4786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4787 (eval $ac_compile) 2>conftest.er1
4789 grep -v '^ *+' conftest.er1
>conftest.err
4791 cat conftest.err
>&5
4792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793 (exit $ac_status); } &&
4794 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); }; } &&
4800 { ac_try
='test -s conftest.$ac_objext'
4801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); }; }; then
4806 ac_hi
=$ac_mid; break
4808 echo "$as_me: failed program was:" >&5
4809 sed 's/^/| /' conftest.
$ac_ext >&5
4811 ac_lo
=`expr $ac_mid + 1`
4812 if test $ac_lo -le $ac_mid; then
4816 ac_mid
=`expr 2 '*' $ac_mid + 1`
4818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4821 echo "$as_me: failed program was:" >&5
4822 sed 's/^/| /' conftest.
$ac_ext >&5
4824 cat >conftest.
$ac_ext <<_ACEOF
4827 cat confdefs.h
>>conftest.
$ac_ext
4828 cat >>conftest.
$ac_ext <<_ACEOF
4829 /* end confdefs.h. */
4830 $ac_includes_default
4834 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4841 rm -f conftest.
$ac_objext
4842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4843 (eval $ac_compile) 2>conftest.er1
4845 grep -v '^ *+' conftest.er1
>conftest.err
4847 cat conftest.err
>&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); } &&
4850 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); }; } &&
4856 { ac_try
='test -s conftest.$ac_objext'
4857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 (exit $ac_status); }; }; then
4864 cat >conftest.
$ac_ext <<_ACEOF
4867 cat confdefs.h
>>conftest.
$ac_ext
4868 cat >>conftest.
$ac_ext <<_ACEOF
4869 /* end confdefs.h. */
4870 $ac_includes_default
4874 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4881 rm -f conftest.
$ac_objext
4882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4883 (eval $ac_compile) 2>conftest.er1
4885 grep -v '^ *+' conftest.er1
>conftest.err
4887 cat conftest.err
>&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); } &&
4890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); }; } &&
4896 { ac_try
='test -s conftest.$ac_objext'
4897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4901 (exit $ac_status); }; }; then
4902 ac_lo
=$ac_mid; break
4904 echo "$as_me: failed program was:" >&5
4905 sed 's/^/| /' conftest.
$ac_ext >&5
4907 ac_hi
=`expr '(' $ac_mid ')' - 1`
4908 if test $ac_mid -le $ac_hi; then
4912 ac_mid
=`expr 2 '*' $ac_mid`
4914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4917 echo "$as_me: failed program was:" >&5
4918 sed 's/^/| /' conftest.
$ac_ext >&5
4922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4924 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4925 # Binary search between lo and hi bounds.
4926 while test "x$ac_lo" != "x$ac_hi"; do
4927 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4928 cat >conftest.
$ac_ext <<_ACEOF
4931 cat confdefs.h
>>conftest.
$ac_ext
4932 cat >>conftest.
$ac_ext <<_ACEOF
4933 /* end confdefs.h. */
4934 $ac_includes_default
4938 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4945 rm -f conftest.
$ac_objext
4946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4947 (eval $ac_compile) 2>conftest.er1
4949 grep -v '^ *+' conftest.er1
>conftest.err
4951 cat conftest.err
>&5
4952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4953 (exit $ac_status); } &&
4954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); }; } &&
4960 { ac_try
='test -s conftest.$ac_objext'
4961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965 (exit $ac_status); }; }; then
4968 echo "$as_me: failed program was:" >&5
4969 sed 's/^/| /' conftest.
$ac_ext >&5
4971 ac_lo
=`expr '(' $ac_mid ')' + 1`
4973 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4976 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4977 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4978 See \`config.log' for more details." >&5
4979 echo "$as_me: error: cannot compute sizeof (long), 77
4980 See \`config.log' for more details." >&2;}
4981 { (exit 1); exit 1; }; } ;;
4984 if test "$cross_compiling" = yes; then
4985 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
4986 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
4987 { (exit 1); exit 1; }; }
4989 cat >conftest.
$ac_ext <<_ACEOF
4992 cat confdefs.h
>>conftest.
$ac_ext
4993 cat >>conftest.
$ac_ext <<_ACEOF
4994 /* end confdefs.h. */
4995 $ac_includes_default
4996 long longval () { return (long) (sizeof (long)); }
4997 unsigned long ulongval () { return (long) (sizeof (long)); }
5004 FILE *f = fopen ("conftest.val", "w");
5007 if (((long) (sizeof (long))) < 0)
5009 long i = longval ();
5010 if (i != ((long) (sizeof (long))))
5012 fprintf (f, "%ld\n", i);
5016 unsigned long i = ulongval ();
5017 if (i != ((long) (sizeof (long))))
5019 fprintf (f, "%lu\n", i);
5021 exit (ferror (f) || fclose (f) != 0);
5027 rm -f conftest
$ac_exeext
5028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5029 (eval $ac_link) 2>&5
5031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5032 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); }; }; then
5038 ac_cv_sizeof_long
=`cat conftest.val`
5040 echo "$as_me: program exited with status $ac_status" >&5
5041 echo "$as_me: failed program was:" >&5
5042 sed 's/^/| /' conftest.
$ac_ext >&5
5045 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
5046 See \`config.log' for more details." >&5
5047 echo "$as_me: error: cannot compute sizeof (long), 77
5048 See \`config.log' for more details." >&2;}
5049 { (exit 1); exit 1; }; }
5051 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5059 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
5060 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
5061 cat >>confdefs.h
<<_ACEOF
5062 #define SIZEOF_LONG $ac_cv_sizeof_long
5071 for ac_func
in putc_unlocked fputc_unlocked fputs_unlocked \
5072 fwrite_unlocked fprintf_unlocked
5074 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5075 echo "$as_me:$LINENO: checking for $ac_func" >&5
5076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5077 if eval "test \"\${$as_ac_var+set}\" = set"; then
5078 echo $ECHO_N "(cached) $ECHO_C" >&6
5080 cat >conftest.
$ac_ext <<_ACEOF
5083 cat confdefs.h
>>conftest.
$ac_ext
5084 cat >>conftest.
$ac_ext <<_ACEOF
5085 /* end confdefs.h. */
5086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5088 #define $ac_func innocuous_$ac_func
5090 /* System header to define __stub macros and hopefully few prototypes,
5091 which can conflict with char $ac_func (); below.
5092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5093 <limits.h> exists even on freestanding compilers. */
5096 # include <limits.h>
5098 # include <assert.h>
5103 /* Override any gcc2 internal prototype to avoid an error. */
5108 /* We use char because int might match the return type of a gcc2
5109 builtin and then its argument prototype would still apply. */
5111 /* The GNU C library defines this for functions which it implements
5112 to always fail with ENOSYS. Some functions are actually named
5113 something starting with __ and the normal name is an alias. */
5114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5117 char (*f) () = $ac_func;
5126 return f != $ac_func;
5131 rm -f conftest.
$ac_objext conftest
$ac_exeext
5132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5133 (eval $ac_link) 2>conftest.er1
5135 grep -v '^ *+' conftest.er1
>conftest.err
5137 cat conftest.err
>&5
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); } &&
5140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145 (exit $ac_status); }; } &&
5146 { ac_try
='test -s conftest$ac_exeext'
5147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); }; }; then
5152 eval "$as_ac_var=yes"
5154 echo "$as_me: failed program was:" >&5
5155 sed 's/^/| /' conftest.
$ac_ext >&5
5157 eval "$as_ac_var=no"
5159 rm -f conftest.err conftest.
$ac_objext \
5160 conftest
$ac_exeext conftest.
$ac_ext
5162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5164 if test `eval echo '${'$as_ac_var'}'` = yes; then
5165 cat >>confdefs.h
<<_ACEOF
5166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5172 echo "$as_me:$LINENO: checking whether abort is declared" >&5
5173 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6
5174 if test "${ac_cv_have_decl_abort+set}" = set; then
5175 echo $ECHO_N "(cached) $ECHO_C" >&6
5177 cat >conftest.
$ac_ext <<_ACEOF
5180 cat confdefs.h
>>conftest.
$ac_ext
5181 cat >>conftest.
$ac_ext <<_ACEOF
5182 /* end confdefs.h. */
5183 $ac_includes_default
5188 char *p = (char *) abort;
5195 rm -f conftest.
$ac_objext
5196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5197 (eval $ac_compile) 2>conftest.er1
5199 grep -v '^ *+' conftest.er1
>conftest.err
5201 cat conftest.err
>&5
5202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5203 (exit $ac_status); } &&
5204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5209 (exit $ac_status); }; } &&
5210 { ac_try
='test -s conftest.$ac_objext'
5211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5215 (exit $ac_status); }; }; then
5216 ac_cv_have_decl_abort
=yes
5218 echo "$as_me: failed program was:" >&5
5219 sed 's/^/| /' conftest.
$ac_ext >&5
5221 ac_cv_have_decl_abort
=no
5223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5225 echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
5226 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6
5227 if test $ac_cv_have_decl_abort = yes; then
5229 cat >>confdefs.h
<<_ACEOF
5230 #define HAVE_DECL_ABORT 1
5235 cat >>confdefs.h
<<_ACEOF
5236 #define HAVE_DECL_ABORT 0
5241 echo "$as_me:$LINENO: checking whether errno is declared" >&5
5242 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6
5243 if test "${ac_cv_have_decl_errno+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 cat >conftest.
$ac_ext <<_ACEOF
5249 cat confdefs.h
>>conftest.
$ac_ext
5250 cat >>conftest.
$ac_ext <<_ACEOF
5251 /* end confdefs.h. */
5252 $ac_includes_default
5257 char *p = (char *) errno;
5264 rm -f conftest.
$ac_objext
5265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5266 (eval $ac_compile) 2>conftest.er1
5268 grep -v '^ *+' conftest.er1
>conftest.err
5270 cat conftest.err
>&5
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); } &&
5273 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); }; } &&
5279 { ac_try
='test -s conftest.$ac_objext'
5280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); }; }; then
5285 ac_cv_have_decl_errno
=yes
5287 echo "$as_me: failed program was:" >&5
5288 sed 's/^/| /' conftest.
$ac_ext >&5
5290 ac_cv_have_decl_errno
=no
5292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5294 echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
5295 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6
5296 if test $ac_cv_have_decl_errno = yes; then
5298 cat >>confdefs.h
<<_ACEOF
5299 #define HAVE_DECL_ERRNO 1
5304 cat >>confdefs.h
<<_ACEOF
5305 #define HAVE_DECL_ERRNO 0
5310 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
5311 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
5312 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 cat >conftest.
$ac_ext <<_ACEOF
5318 cat confdefs.h
>>conftest.
$ac_ext
5319 cat >>conftest.
$ac_ext <<_ACEOF
5320 /* end confdefs.h. */
5321 $ac_includes_default
5325 #ifndef putc_unlocked
5326 char *p = (char *) putc_unlocked;
5333 rm -f conftest.
$ac_objext
5334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5335 (eval $ac_compile) 2>conftest.er1
5337 grep -v '^ *+' conftest.er1
>conftest.err
5339 cat conftest.err
>&5
5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341 (exit $ac_status); } &&
5342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347 (exit $ac_status); }; } &&
5348 { ac_try
='test -s conftest.$ac_objext'
5349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353 (exit $ac_status); }; }; then
5354 ac_cv_have_decl_putc_unlocked
=yes
5356 echo "$as_me: failed program was:" >&5
5357 sed 's/^/| /' conftest.
$ac_ext >&5
5359 ac_cv_have_decl_putc_unlocked
=no
5361 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5363 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
5364 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
5365 if test $ac_cv_have_decl_putc_unlocked = yes; then
5367 cat >>confdefs.h
<<_ACEOF
5368 #define HAVE_DECL_PUTC_UNLOCKED 1
5373 cat >>confdefs.h
<<_ACEOF
5374 #define HAVE_DECL_PUTC_UNLOCKED 0
5379 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
5380 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
5381 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
5382 echo $ECHO_N "(cached) $ECHO_C" >&6
5384 cat >conftest.
$ac_ext <<_ACEOF
5387 cat confdefs.h
>>conftest.
$ac_ext
5388 cat >>conftest.
$ac_ext <<_ACEOF
5389 /* end confdefs.h. */
5390 $ac_includes_default
5394 #ifndef fputc_unlocked
5395 char *p = (char *) fputc_unlocked;
5402 rm -f conftest.
$ac_objext
5403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5404 (eval $ac_compile) 2>conftest.er1
5406 grep -v '^ *+' conftest.er1
>conftest.err
5408 cat conftest.err
>&5
5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5410 (exit $ac_status); } &&
5411 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5416 (exit $ac_status); }; } &&
5417 { ac_try
='test -s conftest.$ac_objext'
5418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5422 (exit $ac_status); }; }; then
5423 ac_cv_have_decl_fputc_unlocked
=yes
5425 echo "$as_me: failed program was:" >&5
5426 sed 's/^/| /' conftest.
$ac_ext >&5
5428 ac_cv_have_decl_fputc_unlocked
=no
5430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5432 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
5433 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
5434 if test $ac_cv_have_decl_fputc_unlocked = yes; then
5436 cat >>confdefs.h
<<_ACEOF
5437 #define HAVE_DECL_FPUTC_UNLOCKED 1
5442 cat >>confdefs.h
<<_ACEOF
5443 #define HAVE_DECL_FPUTC_UNLOCKED 0
5448 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
5449 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
5450 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
5451 echo $ECHO_N "(cached) $ECHO_C" >&6
5453 cat >conftest.
$ac_ext <<_ACEOF
5456 cat confdefs.h
>>conftest.
$ac_ext
5457 cat >>conftest.
$ac_ext <<_ACEOF
5458 /* end confdefs.h. */
5459 $ac_includes_default
5463 #ifndef fputs_unlocked
5464 char *p = (char *) fputs_unlocked;
5471 rm -f conftest.
$ac_objext
5472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5473 (eval $ac_compile) 2>conftest.er1
5475 grep -v '^ *+' conftest.er1
>conftest.err
5477 cat conftest.err
>&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); } &&
5480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); }; } &&
5486 { ac_try
='test -s conftest.$ac_objext'
5487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491 (exit $ac_status); }; }; then
5492 ac_cv_have_decl_fputs_unlocked
=yes
5494 echo "$as_me: failed program was:" >&5
5495 sed 's/^/| /' conftest.
$ac_ext >&5
5497 ac_cv_have_decl_fputs_unlocked
=no
5499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5501 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
5502 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
5503 if test $ac_cv_have_decl_fputs_unlocked = yes; then
5505 cat >>confdefs.h
<<_ACEOF
5506 #define HAVE_DECL_FPUTS_UNLOCKED 1
5511 cat >>confdefs.h
<<_ACEOF
5512 #define HAVE_DECL_FPUTS_UNLOCKED 0
5517 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
5518 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
5519 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
5520 echo $ECHO_N "(cached) $ECHO_C" >&6
5522 cat >conftest.
$ac_ext <<_ACEOF
5525 cat confdefs.h
>>conftest.
$ac_ext
5526 cat >>conftest.
$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5528 $ac_includes_default
5532 #ifndef fwrite_unlocked
5533 char *p = (char *) fwrite_unlocked;
5540 rm -f conftest.
$ac_objext
5541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5542 (eval $ac_compile) 2>conftest.er1
5544 grep -v '^ *+' conftest.er1
>conftest.err
5546 cat conftest.err
>&5
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); } &&
5549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); }; } &&
5555 { ac_try
='test -s conftest.$ac_objext'
5556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); }; }; then
5561 ac_cv_have_decl_fwrite_unlocked
=yes
5563 echo "$as_me: failed program was:" >&5
5564 sed 's/^/| /' conftest.
$ac_ext >&5
5566 ac_cv_have_decl_fwrite_unlocked
=no
5568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5570 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
5571 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
5572 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
5574 cat >>confdefs.h
<<_ACEOF
5575 #define HAVE_DECL_FWRITE_UNLOCKED 1
5580 cat >>confdefs.h
<<_ACEOF
5581 #define HAVE_DECL_FWRITE_UNLOCKED 0
5586 echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
5587 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6
5588 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5591 cat >conftest.
$ac_ext <<_ACEOF
5594 cat confdefs.h
>>conftest.
$ac_ext
5595 cat >>conftest.
$ac_ext <<_ACEOF
5596 /* end confdefs.h. */
5597 $ac_includes_default
5601 #ifndef fprintf_unlocked
5602 char *p = (char *) fprintf_unlocked;
5609 rm -f conftest.
$ac_objext
5610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5611 (eval $ac_compile) 2>conftest.er1
5613 grep -v '^ *+' conftest.er1
>conftest.err
5615 cat conftest.err
>&5
5616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5617 (exit $ac_status); } &&
5618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); }; } &&
5624 { ac_try
='test -s conftest.$ac_objext'
5625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); }; }; then
5630 ac_cv_have_decl_fprintf_unlocked
=yes
5632 echo "$as_me: failed program was:" >&5
5633 sed 's/^/| /' conftest.
$ac_ext >&5
5635 ac_cv_have_decl_fprintf_unlocked
=no
5637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5639 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
5640 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6
5641 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
5643 cat >>confdefs.h
<<_ACEOF
5644 #define HAVE_DECL_FPRINTF_UNLOCKED 1
5649 cat >>confdefs.h
<<_ACEOF
5650 #define HAVE_DECL_FPRINTF_UNLOCKED 0
5658 # Checks for library functions.
5659 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5660 # for constant arguments. Useless!
5661 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5662 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5663 if test "${ac_cv_working_alloca_h+set}" = set; then
5664 echo $ECHO_N "(cached) $ECHO_C" >&6
5666 cat >conftest.
$ac_ext <<_ACEOF
5669 cat confdefs.h
>>conftest.
$ac_ext
5670 cat >>conftest.
$ac_ext <<_ACEOF
5671 /* end confdefs.h. */
5676 char *p = (char *) alloca (2 * sizeof (int));
5681 rm -f conftest.
$ac_objext conftest
$ac_exeext
5682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5683 (eval $ac_link) 2>conftest.er1
5685 grep -v '^ *+' conftest.er1
>conftest.err
5687 cat conftest.err
>&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); } &&
5690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); }; } &&
5696 { ac_try
='test -s conftest$ac_exeext'
5697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5701 (exit $ac_status); }; }; then
5702 ac_cv_working_alloca_h
=yes
5704 echo "$as_me: failed program was:" >&5
5705 sed 's/^/| /' conftest.
$ac_ext >&5
5707 ac_cv_working_alloca_h
=no
5709 rm -f conftest.err conftest.
$ac_objext \
5710 conftest
$ac_exeext conftest.
$ac_ext
5712 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5713 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5714 if test $ac_cv_working_alloca_h = yes; then
5716 cat >>confdefs.h
<<\_ACEOF
5717 #define HAVE_ALLOCA_H 1
5722 echo "$as_me:$LINENO: checking for alloca" >&5
5723 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5724 if test "${ac_cv_func_alloca_works+set}" = set; then
5725 echo $ECHO_N "(cached) $ECHO_C" >&6
5727 cat >conftest.
$ac_ext <<_ACEOF
5730 cat confdefs.h
>>conftest.
$ac_ext
5731 cat >>conftest.
$ac_ext <<_ACEOF
5732 /* end confdefs.h. */
5734 # define alloca __builtin_alloca
5737 # include <malloc.h>
5738 # define alloca _alloca
5741 # include <alloca.h>
5746 # ifndef alloca /* predefined by HP cc +Olibcalls */
5757 char *p = (char *) alloca (1);
5762 rm -f conftest.
$ac_objext conftest
$ac_exeext
5763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5764 (eval $ac_link) 2>conftest.er1
5766 grep -v '^ *+' conftest.er1
>conftest.err
5768 cat conftest.err
>&5
5769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); } &&
5771 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; } &&
5777 { ac_try
='test -s conftest$ac_exeext'
5778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); }; }; then
5783 ac_cv_func_alloca_works
=yes
5785 echo "$as_me: failed program was:" >&5
5786 sed 's/^/| /' conftest.
$ac_ext >&5
5788 ac_cv_func_alloca_works
=no
5790 rm -f conftest.err conftest.
$ac_objext \
5791 conftest
$ac_exeext conftest.
$ac_ext
5793 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5794 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5796 if test $ac_cv_func_alloca_works = yes; then
5798 cat >>confdefs.h
<<\_ACEOF
5799 #define HAVE_ALLOCA 1
5803 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5804 # that cause trouble. Some versions do not even contain alloca or
5805 # contain a buggy version. If you still want to use their alloca,
5806 # use ar to extract alloca.o from them instead of compiling alloca.c.
5808 ALLOCA
=alloca.
$ac_objext
5810 cat >>confdefs.h
<<\_ACEOF
5815 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5816 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5817 if test "${ac_cv_os_cray+set}" = set; then
5818 echo $ECHO_N "(cached) $ECHO_C" >&6
5820 cat >conftest.
$ac_ext <<_ACEOF
5823 cat confdefs.h
>>conftest.
$ac_ext
5824 cat >>conftest.
$ac_ext <<_ACEOF
5825 /* end confdefs.h. */
5826 #if defined(CRAY) && ! defined(CRAY2)
5833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5834 $EGREP "webecray" >/dev
/null
2>&1; then
5842 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5843 echo "${ECHO_T}$ac_cv_os_cray" >&6
5844 if test $ac_cv_os_cray = yes; then
5845 for ac_func
in _getb67 GETB67 getb67
; do
5846 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5847 echo "$as_me:$LINENO: checking for $ac_func" >&5
5848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5849 if eval "test \"\${$as_ac_var+set}\" = set"; then
5850 echo $ECHO_N "(cached) $ECHO_C" >&6
5852 cat >conftest.
$ac_ext <<_ACEOF
5855 cat confdefs.h
>>conftest.
$ac_ext
5856 cat >>conftest.
$ac_ext <<_ACEOF
5857 /* end confdefs.h. */
5858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5860 #define $ac_func innocuous_$ac_func
5862 /* System header to define __stub macros and hopefully few prototypes,
5863 which can conflict with char $ac_func (); below.
5864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5865 <limits.h> exists even on freestanding compilers. */
5868 # include <limits.h>
5870 # include <assert.h>
5875 /* Override any gcc2 internal prototype to avoid an error. */
5880 /* We use char because int might match the return type of a gcc2
5881 builtin and then its argument prototype would still apply. */
5883 /* The GNU C library defines this for functions which it implements
5884 to always fail with ENOSYS. Some functions are actually named
5885 something starting with __ and the normal name is an alias. */
5886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5889 char (*f) () = $ac_func;
5898 return f != $ac_func;
5903 rm -f conftest.
$ac_objext conftest
$ac_exeext
5904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5905 (eval $ac_link) 2>conftest.er1
5907 grep -v '^ *+' conftest.er1
>conftest.err
5909 cat conftest.err
>&5
5910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5911 (exit $ac_status); } &&
5912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5917 (exit $ac_status); }; } &&
5918 { ac_try
='test -s conftest$ac_exeext'
5919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5923 (exit $ac_status); }; }; then
5924 eval "$as_ac_var=yes"
5926 echo "$as_me: failed program was:" >&5
5927 sed 's/^/| /' conftest.
$ac_ext >&5
5929 eval "$as_ac_var=no"
5931 rm -f conftest.err conftest.
$ac_objext \
5932 conftest
$ac_exeext conftest.
$ac_ext
5934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5936 if test `eval echo '${'$as_ac_var'}'` = yes; then
5938 cat >>confdefs.h
<<_ACEOF
5939 #define CRAY_STACKSEG_END $ac_func
5948 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5949 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5950 if test "${ac_cv_c_stack_direction+set}" = set; then
5951 echo $ECHO_N "(cached) $ECHO_C" >&6
5953 if test "$cross_compiling" = yes; then
5954 ac_cv_c_stack_direction
=0
5956 cat >conftest.
$ac_ext <<_ACEOF
5959 cat confdefs.h
>>conftest.
$ac_ext
5960 cat >>conftest.
$ac_ext <<_ACEOF
5961 /* end confdefs.h. */
5963 find_stack_direction ()
5965 static char *addr = 0;
5970 return find_stack_direction ();
5973 return (&dummy > addr) ? 1 : -1;
5979 exit (find_stack_direction () < 0);
5982 rm -f conftest
$ac_exeext
5983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5984 (eval $ac_link) 2>&5
5986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5987 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); }; }; then
5993 ac_cv_c_stack_direction
=1
5995 echo "$as_me: program exited with status $ac_status" >&5
5996 echo "$as_me: failed program was:" >&5
5997 sed 's/^/| /' conftest.
$ac_ext >&5
6000 ac_cv_c_stack_direction
=-1
6002 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6005 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
6006 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
6008 cat >>confdefs.h
<<_ACEOF
6009 #define STACK_DIRECTION $ac_cv_c_stack_direction
6015 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6016 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6017 if test "${ac_cv_header_stdc+set}" = set; then
6018 echo $ECHO_N "(cached) $ECHO_C" >&6
6020 cat >conftest.
$ac_ext <<_ACEOF
6023 cat confdefs.h
>>conftest.
$ac_ext
6024 cat >>conftest.
$ac_ext <<_ACEOF
6025 /* end confdefs.h. */
6039 rm -f conftest.
$ac_objext
6040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6041 (eval $ac_compile) 2>conftest.er1
6043 grep -v '^ *+' conftest.er1
>conftest.err
6045 cat conftest.err
>&5
6046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6047 (exit $ac_status); } &&
6048 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); }; } &&
6054 { ac_try
='test -s conftest.$ac_objext'
6055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059 (exit $ac_status); }; }; then
6060 ac_cv_header_stdc
=yes
6062 echo "$as_me: failed program was:" >&5
6063 sed 's/^/| /' conftest.
$ac_ext >&5
6065 ac_cv_header_stdc
=no
6067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6069 if test $ac_cv_header_stdc = yes; then
6070 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6071 cat >conftest.
$ac_ext <<_ACEOF
6074 cat confdefs.h
>>conftest.
$ac_ext
6075 cat >>conftest.
$ac_ext <<_ACEOF
6076 /* end confdefs.h. */
6080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6081 $EGREP "memchr" >/dev
/null
2>&1; then
6084 ac_cv_header_stdc
=no
6090 if test $ac_cv_header_stdc = yes; then
6091 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6092 cat >conftest.
$ac_ext <<_ACEOF
6095 cat confdefs.h
>>conftest.
$ac_ext
6096 cat >>conftest.
$ac_ext <<_ACEOF
6097 /* end confdefs.h. */
6101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6102 $EGREP "free" >/dev
/null
2>&1; then
6105 ac_cv_header_stdc
=no
6111 if test $ac_cv_header_stdc = yes; then
6112 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6113 if test "$cross_compiling" = yes; then
6116 cat >conftest.
$ac_ext <<_ACEOF
6119 cat confdefs.h
>>conftest.
$ac_ext
6120 cat >>conftest.
$ac_ext <<_ACEOF
6121 /* end confdefs.h. */
6123 #if ((' ' & 0x0FF) == 0x020)
6124 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6125 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6127 # define ISLOWER(c) \
6128 (('a' <= (c) && (c) <= 'i') \
6129 || ('j' <= (c) && (c) <= 'r') \
6130 || ('s' <= (c) && (c) <= 'z'))
6131 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6134 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6139 for (i = 0; i < 256; i++)
6140 if (XOR (islower (i), ISLOWER (i))
6141 || toupper (i) != TOUPPER (i))
6146 rm -f conftest
$ac_exeext
6147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6148 (eval $ac_link) 2>&5
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); }; }; then
6159 echo "$as_me: program exited with status $ac_status" >&5
6160 echo "$as_me: failed program was:" >&5
6161 sed 's/^/| /' conftest.
$ac_ext >&5
6164 ac_cv_header_stdc
=no
6166 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6170 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6171 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6172 if test $ac_cv_header_stdc = yes; then
6174 cat >>confdefs.h
<<\_ACEOF
6175 #define STDC_HEADERS 1
6181 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
6182 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
6183 if test "${am_cv_langinfo_codeset+set}" = set; then
6184 echo $ECHO_N "(cached) $ECHO_C" >&6
6186 cat >conftest.
$ac_ext <<_ACEOF
6189 cat confdefs.h
>>conftest.
$ac_ext
6190 cat >>conftest.
$ac_ext <<_ACEOF
6191 /* end confdefs.h. */
6192 #include <langinfo.h>
6196 char* cs = nl_langinfo(CODESET);
6201 rm -f conftest.
$ac_objext conftest
$ac_exeext
6202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6203 (eval $ac_link) 2>conftest.er1
6205 grep -v '^ *+' conftest.er1
>conftest.err
6207 cat conftest.err
>&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); } &&
6210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6215 (exit $ac_status); }; } &&
6216 { ac_try
='test -s conftest$ac_exeext'
6217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221 (exit $ac_status); }; }; then
6222 am_cv_langinfo_codeset
=yes
6224 echo "$as_me: failed program was:" >&5
6225 sed 's/^/| /' conftest.
$ac_ext >&5
6227 am_cv_langinfo_codeset
=no
6229 rm -f conftest.err conftest.
$ac_objext \
6230 conftest
$ac_exeext conftest.
$ac_ext
6233 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
6234 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
6235 if test $am_cv_langinfo_codeset = yes; then
6237 cat >>confdefs.h
<<\_ACEOF
6238 #define HAVE_LANGINFO_CODESET 1
6243 # If we haven't got the data from the intl directory,
6244 # assume NLS is disabled.
6252 if test -f ..
/intl
/config.intl
; then
6253 . ..
/intl
/config.intl
6255 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
6256 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
6257 if test x
"$USE_NLS" != xyes
; then
6258 echo "$as_me:$LINENO: result: no" >&5
6259 echo "${ECHO_T}no" >&6
6261 echo "$as_me:$LINENO: result: yes" >&5
6262 echo "${ECHO_T}yes" >&6
6264 cat >>confdefs.h
<<\_ACEOF
6265 #define ENABLE_NLS 1
6269 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
6270 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
6271 # Look for .po and .gmo files in the source directory.
6274 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
6275 # If there aren't any .gmo files the shell will give us the
6276 # literal string "../path/to/srcdir/po/*.gmo" which has to be
6278 case "$cat" in *\
**)
6281 # The quadruple backslash is collapsed to a double backslash
6282 # by the backticks, then collapsed again by the double quotes,
6283 # leaving us with one backslash in the sed expression (right
6284 # before the dot that mustn't act as a wildcard).
6285 cat=`echo $cat | sed -e "s!$srcdir/!!" -e "s!\\\\.po!.gmo!"`
6286 lang
=`echo $cat | sed -e 's!po/!!' -e "s!\\\\.gmo!!"`
6287 # The user is allowed to set LINGUAS to a list of languages to
6288 # install catalogs for. If it's empty that means "all of them."
6289 if test "x$LINGUAS" = x
; then
6290 CATALOGS
="$CATALOGS $cat"
6291 XLINGUAS
="$XLINGUAS $lang"
6293 case "$LINGUAS" in *$lang*)
6294 CATALOGS
="$CATALOGS $cat"
6295 XLINGUAS
="$XLINGUAS $lang"
6301 echo "$as_me:$LINENO: result: $LINGUAS" >&5
6302 echo "${ECHO_T}$LINGUAS" >&6
6305 echo "$as_me:$LINENO: checking for uchar" >&5
6306 echo $ECHO_N "checking for uchar... $ECHO_C" >&6
6307 if test "${gcc_cv_type_uchar+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 cat >conftest.
$ac_ext <<_ACEOF
6313 cat confdefs.h
>>conftest.
$ac_ext
6314 cat >>conftest.
$ac_ext <<_ACEOF
6315 /* end confdefs.h. */
6317 #include "ansidecl.h"
6323 if ((uchar *)0) return 0;
6324 if (sizeof(uchar)) return 0;
6329 rm -f conftest.
$ac_objext
6330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6331 (eval $ac_compile) 2>conftest.er1
6333 grep -v '^ *+' conftest.er1
>conftest.err
6335 cat conftest.err
>&5
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); } &&
6338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343 (exit $ac_status); }; } &&
6344 { ac_try
='test -s conftest.$ac_objext'
6345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); }; }; then
6350 ac_cv_type_uchar
=yes
6352 echo "$as_me: failed program was:" >&5
6353 sed 's/^/| /' conftest.
$ac_ext >&5
6357 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6359 echo "$as_me:$LINENO: result: $gcc_cv_type_uchar" >&5
6360 echo "${ECHO_T}$gcc_cv_type_uchar" >&6
6361 if test $ac_cv_type_uchar = yes; then
6363 cat >>confdefs.h
<<\_ACEOF
6364 #define HAVE_UCHAR 1
6370 if test "X$prefix" = "XNONE"; then
6371 acl_final_prefix
="$ac_default_prefix"
6373 acl_final_prefix
="$prefix"
6375 if test "X$exec_prefix" = "XNONE"; then
6376 acl_final_exec_prefix
='${prefix}'
6378 acl_final_exec_prefix
="$exec_prefix"
6380 acl_save_prefix
="$prefix"
6381 prefix
="$acl_final_prefix"
6382 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6383 prefix
="$acl_save_prefix"
6386 # Check whether --with-gnu-ld or --without-gnu-ld was given.
6387 if test "${with_gnu_ld+set}" = set; then
6388 withval
="$with_gnu_ld"
6389 test "$withval" = no || with_gnu_ld
=yes
6393 # Prepare PATH_SEPARATOR.
6394 # The user is always right.
6395 if test "${PATH_SEPARATOR+set}" != set; then
6396 echo "#! /bin/sh" >conf$$.sh
6397 echo "exit 0" >>conf$$.sh
6399 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6407 if test "$GCC" = yes; then
6408 # Check if gcc -print-prog-name=ld gives a path.
6409 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
6410 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
6413 # gcc leaves a trailing carriage return which upsets mingw
6414 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6416 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6419 # Accept absolute paths.
6420 [\\/]* |
[A-Za-z
]:[\\/]*)
6421 re_direlt
='/[^/][^/]*/\.\./'
6422 # Canonicalize the path of ld
6423 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
6424 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6425 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
6427 test -z "$LD" && LD
="$ac_prog"
6430 # If it fails, then pretend we aren't using GCC.
6434 # If it is relative, then search for the first ld in PATH.
6438 elif test "$with_gnu_ld" = yes; then
6439 echo "$as_me:$LINENO: checking for GNU ld" >&5
6440 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
6442 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6443 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
6445 if test "${acl_cv_path_LD+set}" = set; then
6446 echo $ECHO_N "(cached) $ECHO_C" >&6
6448 if test -z "$LD"; then
6449 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6450 for ac_dir
in $PATH; do
6451 test -z "$ac_dir" && ac_dir
=.
6452 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6453 acl_cv_path_LD
="$ac_dir/$ac_prog"
6454 # Check to see if the program is GNU ld. I'd rather use --version,
6455 # but apparently some GNU ld's only accept -v.
6456 # Break only if it was the GNU/non-GNU ld that we prefer.
6457 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
6458 *GNU
* |
*'with BFD'*)
6459 test "$with_gnu_ld" != no
&& break ;;
6461 test "$with_gnu_ld" != yes && break ;;
6467 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
6471 LD
="$acl_cv_path_LD"
6472 if test -n "$LD"; then
6473 echo "$as_me:$LINENO: result: $LD" >&5
6474 echo "${ECHO_T}$LD" >&6
6476 echo "$as_me:$LINENO: result: no" >&5
6477 echo "${ECHO_T}no" >&6
6479 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6480 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6481 { (exit 1); exit 1; }; }
6482 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6483 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
6484 if test "${acl_cv_prog_gnu_ld+set}" = set; then
6485 echo $ECHO_N "(cached) $ECHO_C" >&6
6487 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
6488 case `$LD -v 2>&1 </dev/null` in
6489 *GNU
* |
*'with BFD'*)
6490 acl_cv_prog_gnu_ld
=yes ;;
6492 acl_cv_prog_gnu_ld
=no
;;
6495 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
6496 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
6497 with_gnu_ld
=$acl_cv_prog_gnu_ld
6501 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
6502 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
6503 if test "${acl_cv_rpath+set}" = set; then
6504 echo $ECHO_N "(cached) $ECHO_C" >&6
6507 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
6508 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6514 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
6515 echo "${ECHO_T}$acl_cv_rpath" >&6
6517 libext
="$acl_cv_libext"
6518 shlibext
="$acl_cv_shlibext"
6519 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
6520 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
6521 hardcode_direct
="$acl_cv_hardcode_direct"
6522 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
6523 # Check whether --enable-rpath or --disable-rpath was given.
6524 if test "${enable_rpath+set}" = set; then
6525 enableval
="$enable_rpath"
6539 acl_save_prefix
="$prefix"
6540 prefix
="$acl_final_prefix"
6541 acl_save_exec_prefix
="$exec_prefix"
6542 exec_prefix
="$acl_final_exec_prefix"
6544 eval additional_includedir
=\"$includedir\"
6545 eval additional_libdir
=\"$libdir\"
6547 exec_prefix
="$acl_save_exec_prefix"
6548 prefix
="$acl_save_prefix"
6551 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
6552 if test "${with_libiconv_prefix+set}" = set; then
6553 withval
="$with_libiconv_prefix"
6555 if test "X$withval" = "Xno"; then
6558 if test "X$withval" = "X"; then
6560 acl_save_prefix
="$prefix"
6561 prefix
="$acl_final_prefix"
6562 acl_save_exec_prefix
="$exec_prefix"
6563 exec_prefix
="$acl_final_exec_prefix"
6565 eval additional_includedir
=\"$includedir\"
6566 eval additional_libdir
=\"$libdir\"
6568 exec_prefix
="$acl_save_exec_prefix"
6569 prefix
="$acl_save_prefix"
6572 additional_includedir
="$withval/include"
6573 additional_libdir
="$withval/lib"
6583 names_already_handled
=
6584 names_next_round
='iconv '
6585 while test -n "$names_next_round"; do
6586 names_this_round
="$names_next_round"
6588 for name
in $names_this_round; do
6590 for n
in $names_already_handled; do
6591 if test "$n" = "$name"; then
6596 if test -z "$already_handled"; then
6597 names_already_handled
="$names_already_handled $name"
6598 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6599 eval value
=\"\
$HAVE_LIB$uppername\"
6600 if test -n "$value"; then
6601 if test "$value" = yes; then
6602 eval value
=\"\
$LIB$uppername\"
6603 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
6604 eval value
=\"\
$LTLIB$uppername\"
6605 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
6614 if test $use_additional = yes; then
6615 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6616 found_dir
="$additional_libdir"
6617 found_so
="$additional_libdir/lib$name.$shlibext"
6618 if test -f "$additional_libdir/lib$name.la"; then
6619 found_la
="$additional_libdir/lib$name.la"
6622 if test -f "$additional_libdir/lib$name.$libext"; then
6623 found_dir
="$additional_libdir"
6624 found_a
="$additional_libdir/lib$name.$libext"
6625 if test -f "$additional_libdir/lib$name.la"; then
6626 found_la
="$additional_libdir/lib$name.la"
6631 if test "X$found_dir" = "X"; then
6632 for x
in $LDFLAGS $LTLIBICONV; do
6634 acl_save_prefix
="$prefix"
6635 prefix
="$acl_final_prefix"
6636 acl_save_exec_prefix
="$exec_prefix"
6637 exec_prefix
="$acl_final_exec_prefix"
6639 exec_prefix
="$acl_save_exec_prefix"
6640 prefix
="$acl_save_prefix"
6644 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6645 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6647 found_so
="$dir/lib$name.$shlibext"
6648 if test -f "$dir/lib$name.la"; then
6649 found_la
="$dir/lib$name.la"
6652 if test -f "$dir/lib$name.$libext"; then
6654 found_a
="$dir/lib$name.$libext"
6655 if test -f "$dir/lib$name.la"; then
6656 found_la
="$dir/lib$name.la"
6662 if test "X$found_dir" != "X"; then
6667 if test "X$found_dir" != "X"; then
6668 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6669 if test "X$found_so" != "X"; then
6670 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6671 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6674 for x
in $ltrpathdirs; do
6675 if test "X$x" = "X$found_dir"; then
6680 if test -z "$haveit"; then
6681 ltrpathdirs
="$ltrpathdirs $found_dir"
6683 if test "$hardcode_direct" = yes; then
6684 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6686 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6687 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6689 for x
in $rpathdirs; do
6690 if test "X$x" = "X$found_dir"; then
6695 if test -z "$haveit"; then
6696 rpathdirs
="$rpathdirs $found_dir"
6700 for x
in $LDFLAGS $LIBICONV; do
6702 acl_save_prefix
="$prefix"
6703 prefix
="$acl_final_prefix"
6704 acl_save_exec_prefix
="$exec_prefix"
6705 exec_prefix
="$acl_final_exec_prefix"
6707 exec_prefix
="$acl_save_exec_prefix"
6708 prefix
="$acl_save_prefix"
6710 if test "X$x" = "X-L$found_dir"; then
6715 if test -z "$haveit"; then
6716 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6718 if test "$hardcode_minus_L" != no
; then
6719 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6721 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6727 if test "X$found_a" != "X"; then
6728 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
6730 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6733 additional_includedir
=
6734 case "$found_dir" in
6736 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6737 additional_includedir
="$basedir/include"
6740 if test "X$additional_includedir" != "X"; then
6741 if test "X$additional_includedir" != "X/usr/include"; then
6743 if test "X$additional_includedir" = "X/usr/local/include"; then
6744 if test -n "$GCC"; then
6746 linux
*) haveit
=yes;;
6750 if test -z "$haveit"; then
6751 for x
in $CPPFLAGS $INCICONV; do
6753 acl_save_prefix
="$prefix"
6754 prefix
="$acl_final_prefix"
6755 acl_save_exec_prefix
="$exec_prefix"
6756 exec_prefix
="$acl_final_exec_prefix"
6758 exec_prefix
="$acl_save_exec_prefix"
6759 prefix
="$acl_save_prefix"
6761 if test "X$x" = "X-I$additional_includedir"; then
6766 if test -z "$haveit"; then
6767 if test -d "$additional_includedir"; then
6768 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6774 if test -n "$found_la"; then
6775 save_libdir
="$libdir"
6777 */* |
*\\*) .
"$found_la" ;;
6778 *) .
"./$found_la" ;;
6780 libdir
="$save_libdir"
6781 for dep
in $dependency_libs; do
6784 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6785 if test "X$additional_libdir" != "X/usr/lib"; then
6787 if test "X$additional_libdir" = "X/usr/local/lib"; then
6788 if test -n "$GCC"; then
6790 linux
*) haveit
=yes;;
6794 if test -z "$haveit"; then
6796 for x
in $LDFLAGS $LIBICONV; do
6798 acl_save_prefix
="$prefix"
6799 prefix
="$acl_final_prefix"
6800 acl_save_exec_prefix
="$exec_prefix"
6801 exec_prefix
="$acl_final_exec_prefix"
6803 exec_prefix
="$acl_save_exec_prefix"
6804 prefix
="$acl_save_prefix"
6806 if test "X$x" = "X-L$additional_libdir"; then
6811 if test -z "$haveit"; then
6812 if test -d "$additional_libdir"; then
6813 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6817 for x
in $LDFLAGS $LTLIBICONV; do
6819 acl_save_prefix
="$prefix"
6820 prefix
="$acl_final_prefix"
6821 acl_save_exec_prefix
="$exec_prefix"
6822 exec_prefix
="$acl_final_exec_prefix"
6824 exec_prefix
="$acl_save_exec_prefix"
6825 prefix
="$acl_save_prefix"
6827 if test "X$x" = "X-L$additional_libdir"; then
6832 if test -z "$haveit"; then
6833 if test -d "$additional_libdir"; then
6834 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6841 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6842 if test "$enable_rpath" != no
; then
6844 for x
in $rpathdirs; do
6845 if test "X$x" = "X$dir"; then
6850 if test -z "$haveit"; then
6851 rpathdirs
="$rpathdirs $dir"
6854 for x
in $ltrpathdirs; do
6855 if test "X$x" = "X$dir"; then
6860 if test -z "$haveit"; then
6861 ltrpathdirs
="$ltrpathdirs $dir"
6866 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6869 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6872 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
6873 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6879 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6880 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6886 if test "X$rpathdirs" != "X"; then
6887 if test -n "$hardcode_libdir_separator"; then
6889 for found_dir
in $rpathdirs; do
6890 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6892 acl_save_libdir
="$libdir"
6894 eval flag
=\"$hardcode_libdir_flag_spec\"
6895 libdir
="$acl_save_libdir"
6896 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6898 for found_dir
in $rpathdirs; do
6899 acl_save_libdir
="$libdir"
6901 eval flag
=\"$hardcode_libdir_flag_spec\"
6902 libdir
="$acl_save_libdir"
6903 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6907 if test "X$ltrpathdirs" != "X"; then
6908 for found_dir
in $ltrpathdirs; do
6909 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6919 am_save_CPPFLAGS
="$CPPFLAGS"
6921 for element
in $INCICONV; do
6923 for x
in $CPPFLAGS; do
6925 acl_save_prefix
="$prefix"
6926 prefix
="$acl_final_prefix"
6927 acl_save_exec_prefix
="$exec_prefix"
6928 exec_prefix
="$acl_final_exec_prefix"
6930 exec_prefix
="$acl_save_exec_prefix"
6931 prefix
="$acl_save_prefix"
6933 if test "X$x" = "X$element"; then
6938 if test -z "$haveit"; then
6939 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6944 echo "$as_me:$LINENO: checking for iconv" >&5
6945 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
6946 if test "${am_cv_func_iconv+set}" = set; then
6947 echo $ECHO_N "(cached) $ECHO_C" >&6
6950 am_cv_func_iconv
="no, consider installing GNU libiconv"
6952 cat >conftest.
$ac_ext <<_ACEOF
6955 cat confdefs.h
>>conftest.
$ac_ext
6956 cat >>conftest.
$ac_ext <<_ACEOF
6957 /* end confdefs.h. */
6963 iconv_t cd = iconv_open("","");
6964 iconv(cd,NULL,NULL,NULL,NULL);
6970 rm -f conftest.
$ac_objext conftest
$ac_exeext
6971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6972 (eval $ac_link) 2>conftest.er1
6974 grep -v '^ *+' conftest.er1
>conftest.err
6976 cat conftest.err
>&5
6977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6978 (exit $ac_status); } &&
6979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6984 (exit $ac_status); }; } &&
6985 { ac_try
='test -s conftest$ac_exeext'
6986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); }; }; then
6991 am_cv_func_iconv
=yes
6993 echo "$as_me: failed program was:" >&5
6994 sed 's/^/| /' conftest.
$ac_ext >&5
6997 rm -f conftest.err conftest.
$ac_objext \
6998 conftest
$ac_exeext conftest.
$ac_ext
6999 if test "$am_cv_func_iconv" != yes; then
7000 am_save_LIBS
="$LIBS"
7001 LIBS
="$LIBS $LIBICONV"
7002 cat >conftest.
$ac_ext <<_ACEOF
7005 cat confdefs.h
>>conftest.
$ac_ext
7006 cat >>conftest.
$ac_ext <<_ACEOF
7007 /* end confdefs.h. */
7013 iconv_t cd = iconv_open("","");
7014 iconv(cd,NULL,NULL,NULL,NULL);
7020 rm -f conftest.
$ac_objext conftest
$ac_exeext
7021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7022 (eval $ac_link) 2>conftest.er1
7024 grep -v '^ *+' conftest.er1
>conftest.err
7026 cat conftest.err
>&5
7027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028 (exit $ac_status); } &&
7029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); }; } &&
7035 { ac_try
='test -s conftest$ac_exeext'
7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); }; }; then
7042 am_cv_func_iconv
=yes
7044 echo "$as_me: failed program was:" >&5
7045 sed 's/^/| /' conftest.
$ac_ext >&5
7048 rm -f conftest.err conftest.
$ac_objext \
7049 conftest
$ac_exeext conftest.
$ac_ext
7050 LIBS
="$am_save_LIBS"
7054 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
7055 echo "${ECHO_T}$am_cv_func_iconv" >&6
7056 if test "$am_cv_func_iconv" = yes; then
7058 cat >>confdefs.h
<<\_ACEOF
7059 #define HAVE_ICONV 1
7063 if test "$am_cv_lib_iconv" = yes; then
7064 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
7065 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
7066 echo "$as_me:$LINENO: result: $LIBICONV" >&5
7067 echo "${ECHO_T}$LIBICONV" >&6
7069 CPPFLAGS
="$am_save_CPPFLAGS"
7076 if test "$am_cv_func_iconv" = yes; then
7077 echo "$as_me:$LINENO: checking for iconv declaration" >&5
7078 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
7079 if test "${am_cv_proto_iconv+set}" = set; then
7080 echo $ECHO_N "(cached) $ECHO_C" >&6
7083 cat >conftest.
$ac_ext <<_ACEOF
7086 cat confdefs.h
>>conftest.
$ac_ext
7087 cat >>conftest.
$ac_ext <<_ACEOF
7088 /* end confdefs.h. */
7096 #if defined(__STDC__) || defined(__cplusplus)
7097 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
7110 rm -f conftest.
$ac_objext
7111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7112 (eval $ac_compile) 2>conftest.er1
7114 grep -v '^ *+' conftest.er1
>conftest.err
7116 cat conftest.err
>&5
7117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7118 (exit $ac_status); } &&
7119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); }; } &&
7125 { ac_try
='test -s conftest.$ac_objext'
7126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7130 (exit $ac_status); }; }; then
7131 am_cv_proto_iconv_arg1
=""
7133 echo "$as_me: failed program was:" >&5
7134 sed 's/^/| /' conftest.
$ac_ext >&5
7136 am_cv_proto_iconv_arg1
="const"
7138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7139 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);"
7142 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
7143 echo "$as_me:$LINENO: result: ${ac_t:-
7144 }$am_cv_proto_iconv" >&5
7145 echo "${ECHO_T}${ac_t:-
7146 }$am_cv_proto_iconv" >&6
7148 cat >>confdefs.h
<<_ACEOF
7149 #define ICONV_CONST $am_cv_proto_iconv_arg1
7156 if test "x$enable_nls" != xno
; then
7158 ENABLE_NLS_FALSE
='#'
7164 # Check whether --enable-checking or --disable-checking was given.
7165 if test "${enable_checking+set}" = set; then
7166 enableval
="$enable_checking"
7172 if test $enable_checking != no
; then
7174 cat >>confdefs.h
<<\_ACEOF
7175 #define ENABLE_CHECKING 1
7185 hppa
*64*-*-* | parisc
*64*-*-* | \
7191 sparc64
*-*-* | ultrasparc-
*-freebsd* | \
7192 sparcv9-
*-solaris2* | \
7193 sparc-
*-solaris2.
[789] | sparc-
*-solaris2.1
[0-9] | \
7194 sh
[123456789l]*-*-*)
7195 need_64bit_hwint
=yes ;;
7197 need_64bit_hwint
=no
;;
7200 case $need_64bit_hwint:$ac_cv_sizeof_long in
7201 *:8 | no
:*) host_wide_int
=long
;;
7202 *) host_wide_int
='long long' ;;
7207 cat >>confdefs.h
<<_ACEOF
7208 #define HOST_WIDE_INT $host_wide_int
7212 ac_config_headers
="$ac_config_headers config.h:config.in"
7214 ac_config_files
="$ac_config_files Makefile"
7216 cat >confcache
<<\_ACEOF
7217 # This file is a shell script that caches the results of configure
7218 # tests run on this system so they can be shared between configure
7219 # scripts and configure runs, see configure's option --config-cache.
7220 # It is not useful on other systems. If it contains results you don't
7221 # want to keep, you may remove or edit it.
7223 # config.status only pays attention to the cache file if you give it
7224 # the --recheck option to rerun configure.
7226 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7227 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7232 # The following way of writing the cache mishandles newlines in values,
7233 # but we know of no workaround that is simple, portable, and efficient.
7234 # So, don't put newlines in cache variables' values.
7235 # Ultrix sh set writes to stderr and can't be redirected directly,
7236 # and sets the high bit in the cache file unless we assign to the vars.
7239 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7241 # `set' does not quote correctly, so add quotes (double-quote
7242 # substitution turns \\\\ into \\, and sed turns \\ into \).
7245 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7248 # `set' quotes correctly as required by POSIX, so do not add quotes.
7250 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7257 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7259 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7261 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7262 if test -w $cache_file; then
7263 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7264 cat confcache
>$cache_file
7266 echo "not updating unwritable cache $cache_file"
7271 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7272 # Let make expand exec_prefix.
7273 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7275 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7276 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7277 # trailing colons and then remove the whole line if VPATH becomes empty
7278 # (actually we leave an empty line to preserve line numbers).
7279 if test "x$srcdir" = x.
; then
7280 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7281 s/:*\$(srcdir):*/:/;
7282 s/:*\${srcdir}:*/:/;
7284 s/^\([^=]*=[ ]*\):*/\1/;
7290 DEFS
=-DHAVE_CONFIG_H
7294 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7295 # 1. Remove the extension, and $U if already installed.
7296 ac_i
=`echo "$ac_i" |
7297 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7299 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7300 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7304 LTLIBOBJS
=$ac_ltlibobjs
7307 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7308 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
7309 Usually this means the macro was only invoked conditionally." >&5
7310 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
7311 Usually this means the macro was only invoked conditionally." >&2;}
7312 { (exit 1); exit 1; }; }
7314 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7315 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7316 Usually this means the macro was only invoked conditionally." >&5
7317 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7318 Usually this means the macro was only invoked conditionally." >&2;}
7319 { (exit 1); exit 1; }; }
7321 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7322 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
7323 Usually this means the macro was only invoked conditionally." >&5
7324 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
7325 Usually this means the macro was only invoked conditionally." >&2;}
7326 { (exit 1); exit 1; }; }
7328 if test -z "${ENABLE_NLS_TRUE}" && test -z "${ENABLE_NLS_FALSE}"; then
7329 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_NLS\" was never defined.
7330 Usually this means the macro was only invoked conditionally." >&5
7331 echo "$as_me: error: conditional \"ENABLE_NLS\" was never defined.
7332 Usually this means the macro was only invoked conditionally." >&2;}
7333 { (exit 1); exit 1; }; }
7336 : ${CONFIG_STATUS=./config.status}
7337 ac_clean_files_save
=$ac_clean_files
7338 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7339 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7340 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7341 cat >$CONFIG_STATUS <<_ACEOF
7343 # Generated by $as_me.
7344 # Run this file to recreate the current configuration.
7345 # Compiler output produced by configure, useful for debugging
7346 # configure, is in config.log if it exists.
7351 SHELL=\${CONFIG_SHELL-$SHELL}
7354 cat >>$CONFIG_STATUS <<\_ACEOF
7355 ## --------------------- ##
7356 ## M4sh Initialization. ##
7357 ## --------------------- ##
7359 # Be Bourne compatible
7360 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7363 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7364 # is contrary to our usage. Disable this feature.
7365 alias -g '${1+"$@"}'='"$@"'
7366 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7369 DUALCASE
=1; export DUALCASE
# for MKS sh
7371 # Support unset when possible.
7372 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7379 # Work around bugs in pre-3.0 UWIN ksh.
7380 $as_unset ENV MAIL MAILPATH
7387 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7388 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7389 LC_TELEPHONE LC_TIME
7391 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7392 eval $as_var=C
; export $as_var
7398 # Required to use basename.
7399 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7405 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7406 as_basename
=basename
7412 # Name of the executable.
7413 as_me
=`$as_basename "$0" ||
7414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7415 X"$0" : 'X\(//\)$' \| \
7416 X"$0" : 'X\(/\)$' \| \
7417 . : '\(.\)' 2>/dev/null ||
7419 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7420 /^X\/\(\/\/\)$/{ s//\1/; q; }
7421 /^X\/\(\/\).*/{ s//\1/; q; }
7425 # PATH needs CR, and LINENO needs CR and PATH.
7426 # Avoid depending upon Character Ranges.
7427 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7428 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7429 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7430 as_cr_digits
='0123456789'
7431 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7433 # The user is always right.
7434 if test "${PATH_SEPARATOR+set}" != set; then
7435 echo "#! /bin/sh" >conf$$.sh
7436 echo "exit 0" >>conf$$.sh
7438 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7449 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7450 test "x$as_lineno_1" != "x$as_lineno_2" &&
7451 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7452 # Find who we are. Look in the path if we contain no path at all
7455 *[\\/]* ) as_myself
=$0 ;;
7456 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7460 test -z "$as_dir" && as_dir
=.
7461 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7466 # We did not find ourselves, most probably we were run as `sh COMMAND'
7467 # in which case we are not to be found in the path.
7468 if test "x$as_myself" = x
; then
7471 if test ! -f "$as_myself"; then
7472 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7473 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7474 { (exit 1); exit 1; }; }
7476 case $CONFIG_SHELL in
7478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7479 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7482 test -z "$as_dir" && as_dir
=.
7483 for as_base
in sh bash ksh sh5
; do
7486 if ("$as_dir/$as_base" -c '
7489 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7490 test "x$as_lineno_1" != "x$as_lineno_2" &&
7491 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7492 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7493 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7494 CONFIG_SHELL
=$as_dir/$as_base
7496 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7504 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7505 # uniformly replaced by the line number. The first 'sed' inserts a
7506 # line-number line before each line; the second 'sed' does the real
7507 # work. The second script uses 'N' to pair each line-number line
7508 # with the numbered line, and appends trailing '-' during
7509 # substitution so that $LINENO is not a special case at line end.
7510 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7511 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7512 sed '=' <$as_myself |
7517 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7520 s,^['$as_cr_digits']*\n,,
7522 chmod +x
$as_me.lineno ||
7523 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7524 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7525 { (exit 1); exit 1; }; }
7527 # Don't try to exec as it changes $[0], causing all sort of problems
7528 # (the dirname of $[0] is not the place where we might find the
7529 # original and so on. Autoconf is especially sensible to this).
7531 # Exit status is that of the last command.
7536 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7537 *c
*,-n*) ECHO_N
= ECHO_C
='
7539 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7540 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7543 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7549 rm -f conf$$ conf$$.exe conf$$.
file
7551 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7552 # We could just check for DJGPP; but this test a) works b) is more generic
7553 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7554 if test -f conf$$.exe
; then
7555 # Don't use ln at all; we don't have any links
7560 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7565 rm -f conf$$ conf$$.exe conf$$.
file
7567 if mkdir
-p .
2>/dev
/null
; then
7570 test -d .
/-p && rmdir .
/-p
7574 as_executable_p
="test -f"
7576 # Sed expression to map a string onto a valid CPP name.
7577 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7579 # Sed expression to map a string onto a valid variable name.
7580 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7584 # We need space, tab and new line, in precisely that order.
7594 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7595 # report actual input values of CONFIG_FILES etc. instead of their
7596 # values after options handling. Logging --version etc. is OK.
7600 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7601 ## Running $as_me. ##
7606 This file was extended by cpplib $as_me , which was
7607 generated by GNU Autoconf 2.59. Invocation command line was
7609 CONFIG_FILES = $CONFIG_FILES
7610 CONFIG_HEADERS = $CONFIG_HEADERS
7611 CONFIG_LINKS = $CONFIG_LINKS
7612 CONFIG_COMMANDS = $CONFIG_COMMANDS
7616 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7620 # Files that config.status was made for.
7621 if test -n "$ac_config_files"; then
7622 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7625 if test -n "$ac_config_headers"; then
7626 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7629 if test -n "$ac_config_links"; then
7630 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7633 if test -n "$ac_config_commands"; then
7634 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7637 cat >>$CONFIG_STATUS <<\_ACEOF
7640 \`$as_me' instantiates files from templates according to the
7641 current configuration.
7643 Usage: $0 [OPTIONS] [FILE]...
7645 -h, --help print this help, then exit
7646 -V, --version print version number, then exit
7647 -q, --quiet do not print progress messages
7648 -d, --debug don't remove temporary files
7649 --recheck update $as_me by reconfiguring in the same conditions
7650 --file=FILE[:TEMPLATE]
7651 instantiate the configuration file FILE
7652 --header=FILE[:TEMPLATE]
7653 instantiate the configuration header FILE
7655 Configuration files:
7658 Configuration headers:
7661 Configuration commands:
7664 Report bugs to <bug-autoconf@gnu.org>."
7667 cat >>$CONFIG_STATUS <<_ACEOF
7669 cpplib config.status
7670 configured by $0, generated by GNU Autoconf 2.59,
7671 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7673 Copyright (C) 2003 Free Software Foundation, Inc.
7674 This config.status script is free software; the Free Software Foundation
7675 gives unlimited permission to copy, distribute and modify it."
7680 cat >>$CONFIG_STATUS <<\_ACEOF
7681 # If no file are specified by the user, then we need to provide default
7682 # value. By we need to know if files were specified by the user.
7688 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7689 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7697 *) # This is not an option, so the user has probably given explicit
7700 ac_need_defaults
=false
;;
7704 # Handling of the options.
7706 cat >>$CONFIG_STATUS <<\_ACEOF
7707 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7709 --version |
--vers* |
-V )
7710 echo "$ac_cs_version"; exit 0 ;;
7712 # Conflict between --help and --header
7713 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7714 Try \`$0 --help' for more information." >&5
7715 echo "$as_me: error: ambiguous option: $1
7716 Try \`$0 --help' for more information." >&2;}
7717 { (exit 1); exit 1; }; };;
7718 --help |
--hel |
-h )
7719 echo "$ac_cs_usage"; exit 0 ;;
7720 --debug |
--d* |
-d )
7722 --file |
--fil |
--fi |
--f )
7724 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7725 ac_need_defaults
=false
;;
7726 --header |
--heade |
--head |
--hea )
7728 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7729 ac_need_defaults
=false
;;
7730 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7731 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7735 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7736 Try \`$0 --help' for more information." >&5
7737 echo "$as_me: error: unrecognized option: $1
7738 Try \`$0 --help' for more information." >&2;}
7739 { (exit 1); exit 1; }; } ;;
7741 *) ac_config_targets
="$ac_config_targets $1" ;;
7747 ac_configure_extra_args
=
7749 if $ac_cs_silent; then
7751 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7755 cat >>$CONFIG_STATUS <<_ACEOF
7756 if \$ac_cs_recheck; then
7757 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7758 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7763 cat >>$CONFIG_STATUS <<_ACEOF
7765 # INIT-COMMANDS section.
7768 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7774 cat >>$CONFIG_STATUS <<\_ACEOF
7775 for ac_config_target
in $ac_config_targets
7777 case "$ac_config_target" in
7778 # Handling of arguments.
7779 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7780 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7781 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7782 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7783 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7784 { (exit 1); exit 1; }; };;
7788 # If the user did not use the arguments to specify the items to instantiate,
7789 # then the envvar interface is used. Set only those that are not.
7790 # We use the long form for the default assignment because of an extremely
7791 # bizarre bug on SunOS 4.1.3.
7792 if $ac_need_defaults; then
7793 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7794 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7795 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
7798 # Have a temporary directory for convenience. Make it in the build tree
7799 # simply because there is no reason to put it here, and in addition,
7800 # creating and moving files from /tmp can sometimes cause problems.
7801 # Create a temporary directory, and hook for its removal unless debugging.
7804 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7805 trap '{ (exit 1); exit 1; }' 1 2 13 15
7808 # Create a (secure) tmp directory for tmp files.
7811 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7812 test -n "$tmp" && test -d "$tmp"
7815 tmp
=.
/confstat$$
-$RANDOM
7816 (umask 077 && mkdir
$tmp)
7819 echo "$me: cannot create a temporary directory in ." >&2
7820 { (exit 1); exit 1; }
7825 cat >>$CONFIG_STATUS <<_ACEOF
7828 # CONFIG_FILES section.
7831 # No need to generate the scripts if there are no CONFIG_FILES.
7832 # This happens for instance when ./config.status config.h
7833 if test -n "\$CONFIG_FILES"; then
7834 # Protect against being on the right side of a sed subst in config.status.
7835 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7836 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7837 s,@SHELL@,$SHELL,;t t
7838 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7839 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7840 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7841 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7842 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7843 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7844 s,@exec_prefix@,$exec_prefix,;t t
7845 s,@prefix@,$prefix,;t t
7846 s,@program_transform_name@,$program_transform_name,;t t
7847 s,@bindir@,$bindir,;t t
7848 s,@sbindir@,$sbindir,;t t
7849 s,@libexecdir@,$libexecdir,;t t
7850 s,@datadir@,$datadir,;t t
7851 s,@sysconfdir@,$sysconfdir,;t t
7852 s,@sharedstatedir@,$sharedstatedir,;t t
7853 s,@localstatedir@,$localstatedir,;t t
7854 s,@libdir@,$libdir,;t t
7855 s,@includedir@,$includedir,;t t
7856 s,@oldincludedir@,$oldincludedir,;t t
7857 s,@infodir@,$infodir,;t t
7858 s,@mandir@,$mandir,;t t
7859 s,@build_alias@,$build_alias,;t t
7860 s,@host_alias@,$host_alias,;t t
7861 s,@target_alias@,$target_alias,;t t
7863 s,@ECHO_C@,$ECHO_C,;t t
7864 s,@ECHO_N@,$ECHO_N,;t t
7865 s,@ECHO_T@,$ECHO_T,;t t
7867 s,@build@,$build,;t t
7868 s,@build_cpu@,$build_cpu,;t t
7869 s,@build_vendor@,$build_vendor,;t t
7870 s,@build_os@,$build_os,;t t
7872 s,@host_cpu@,$host_cpu,;t t
7873 s,@host_vendor@,$host_vendor,;t t
7874 s,@host_os@,$host_os,;t t
7875 s,@target@,$target,;t t
7876 s,@target_cpu@,$target_cpu,;t t
7877 s,@target_vendor@,$target_vendor,;t t
7878 s,@target_os@,$target_os,;t t
7879 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7880 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7881 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7882 s,@CYGPATH_W@,$CYGPATH_W,;t t
7883 s,@PACKAGE@,$PACKAGE,;t t
7884 s,@VERSION@,$VERSION,;t t
7885 s,@ACLOCAL@,$ACLOCAL,;t t
7886 s,@AUTOCONF@,$AUTOCONF,;t t
7887 s,@AUTOMAKE@,$AUTOMAKE,;t t
7888 s,@AUTOHEADER@,$AUTOHEADER,;t t
7889 s,@MAKEINFO@,$MAKEINFO,;t t
7890 s,@AMTAR@,$AMTAR,;t t
7891 s,@install_sh@,$install_sh,;t t
7892 s,@STRIP@,$STRIP,;t t
7893 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7894 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7895 s,@mkdir_p@,$mkdir_p,;t t
7897 s,@SET_MAKE@,$SET_MAKE,;t t
7898 s,@am__leading_dot@,$am__leading_dot,;t t
7899 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7900 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7901 s,@MAINT@,$MAINT,;t t
7903 s,@CFLAGS@,$CFLAGS,;t t
7904 s,@LDFLAGS@,$LDFLAGS,;t t
7905 s,@CPPFLAGS@,$CPPFLAGS,;t t
7906 s,@ac_ct_CC@,$ac_ct_CC,;t t
7907 s,@EXEEXT@,$EXEEXT,;t t
7908 s,@OBJEXT@,$OBJEXT,;t t
7909 s,@DEPDIR@,$DEPDIR,;t t
7910 s,@am__include@,$am__include,;t t
7911 s,@am__quote@,$am__quote,;t t
7912 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7913 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7914 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7915 s,@CCDEPMODE@,$CCDEPMODE,;t t
7916 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7917 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7918 s,@RANLIB@,$RANLIB,;t t
7919 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7921 s,@EGREP@,$EGREP,;t t
7922 s,@LIBOBJS@,$LIBOBJS,;t t
7923 s,@ALLOCA@,$ALLOCA,;t t
7924 s,@USE_NLS@,$USE_NLS,;t t
7925 s,@LIBINTL@,$LIBINTL,;t t
7926 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
7927 s,@INCINTL@,$INCINTL,;t t
7928 s,@XGETTEXT@,$XGETTEXT,;t t
7929 s,@GMSGFMT@,$GMSGFMT,;t t
7930 s,@POSUB@,$POSUB,;t t
7931 s,@CATALOGS@,$CATALOGS,;t t
7932 s,@LIBICONV@,$LIBICONV,;t t
7933 s,@LTLIBICONV@,$LTLIBICONV,;t t
7934 s,@ENABLE_NLS_TRUE@,$ENABLE_NLS_TRUE,;t t
7935 s,@ENABLE_NLS_FALSE@,$ENABLE_NLS_FALSE,;t t
7936 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7941 cat >>$CONFIG_STATUS <<\_ACEOF
7942 # Split the substitutions into bite-sized pieces for seds with
7943 # small command number limits, like on Digital OSF/1 and HP-UX.
7945 ac_sed_frag
=1 # Number of current file.
7946 ac_beg
=1 # First line for current file.
7947 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7950 while $ac_more_lines; do
7951 if test $ac_beg -gt 1; then
7952 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7954 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7956 if test ! -s $tmp/subs.frag
; then
7959 # The purpose of the label and of the branching condition is to
7960 # speed up the sed processing (if there are no `@' at all, there
7961 # is no need to browse any of the substitutions).
7962 # These are the two extra sed commands mentioned above.
7964 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7965 if test -z "$ac_sed_cmds"; then
7966 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7968 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7970 ac_sed_frag
=`expr $ac_sed_frag + 1`
7972 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7975 if test -z "$ac_sed_cmds"; then
7978 fi # test -n "$CONFIG_FILES"
7981 cat >>$CONFIG_STATUS <<\_ACEOF
7982 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7983 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7985 - |
*:- |
*:-:* ) # input from stdin
7987 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7988 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7989 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7990 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7991 * ) ac_file_in
=$ac_file.
in ;;
7994 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7995 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7996 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7997 X"$ac_file" : 'X\(//\)[^/]' \| \
7998 X"$ac_file" : 'X\(//\)$' \| \
7999 X"$ac_file" : 'X\(/\)' \| \
8000 . : '\(.\)' 2>/dev/null ||
8002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8003 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8004 /^X\(\/\/\)$/{ s//\1/; q; }
8005 /^X\(\/\).*/{ s//\1/; q; }
8007 { if $as_mkdir_p; then
8012 while test ! -d "$as_dir"; do
8013 as_dirs
="$as_dir $as_dirs"
8014 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8015 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8016 X"$as_dir" : 'X\(//\)[^/]' \| \
8017 X"$as_dir" : 'X\(//\)$' \| \
8018 X"$as_dir" : 'X\(/\)' \| \
8019 . : '\(.\)' 2>/dev/null ||
8021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8022 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8023 /^X\(\/\/\)$/{ s//\1/; q; }
8024 /^X\(\/\).*/{ s//\1/; q; }
8027 test ! -n "$as_dirs" || mkdir
$as_dirs
8028 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8029 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8030 { (exit 1); exit 1; }; }; }
8034 if test "$ac_dir" != .
; then
8035 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8036 # A "../" for each directory in $ac_dir_suffix.
8037 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8039 ac_dir_suffix
= ac_top_builddir
=
8043 .
) # No --srcdir option. We are building in place.
8045 if test -z "$ac_top_builddir"; then
8048 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8050 [\\/]* | ?
:[\\/]* ) # Absolute path.
8051 ac_srcdir
=$srcdir$ac_dir_suffix;
8052 ac_top_srcdir
=$srcdir ;;
8054 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8055 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8058 # Do not use `cd foo && pwd` to compute absolute paths, because
8059 # the directories may not exist.
8061 .
) ac_abs_builddir
="$ac_dir";;
8064 .
) ac_abs_builddir
=`pwd`;;
8065 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8066 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8069 case $ac_abs_builddir in
8070 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8072 case ${ac_top_builddir}.
in
8073 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8074 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8075 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8078 case $ac_abs_builddir in
8079 .
) ac_abs_srcdir
=$ac_srcdir;;
8082 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8083 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8084 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8087 case $ac_abs_builddir in
8088 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8090 case $ac_top_srcdir in
8091 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8092 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8093 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8099 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8100 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8103 # Let's still pretend it is `configure' which instantiates (i.e., don't
8104 # use $as_me), people would be surprised to read:
8105 # /* config.h. Generated by config.status. */
8106 if test x
"$ac_file" = x-
; then
8109 configure_input
="$ac_file. "
8111 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8112 sed 's,.*/,,'` by configure."
8114 # First look for the input files in the build tree, otherwise in the
8116 ac_file_inputs
=`IFS=:
8117 for f in $ac_file_in; do
8119 -) echo $tmp/stdin ;;
8121 # Absolute (can't be DOS-style, as IFS=:)
8122 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8123 echo "$as_me: error: cannot find input file: $f" >&2;}
8124 { (exit 1); exit 1; }; }
8127 if test -f "$f"; then
8130 elif test -f "$srcdir/$f"; then
8135 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8136 echo "$as_me: error: cannot find input file: $f" >&2;}
8137 { (exit 1); exit 1; }; }
8140 done` ||
{ (exit 1); exit 1; }
8142 if test x
"$ac_file" != x-
; then
8143 { echo "$as_me:$LINENO: creating $ac_file" >&5
8144 echo "$as_me: creating $ac_file" >&6;}
8148 cat >>$CONFIG_STATUS <<_ACEOF
8152 cat >>$CONFIG_STATUS <<\_ACEOF
8154 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8155 s
,@configure_input@
,$configure_input,;t t
8156 s
,@srcdir@
,$ac_srcdir,;t t
8157 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8158 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8159 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8160 s
,@builddir@
,$ac_builddir,;t t
8161 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8162 s
,@top_builddir@
,$ac_top_builddir,;t t
8163 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8164 s
,@INSTALL@
,$ac_INSTALL,;t t
8165 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8167 if test x"$ac_file" != x-; then
8168 mv $tmp/out $ac_file
8176 cat >>$CONFIG_STATUS <<\_ACEOF
8179 # CONFIG_HEADER section.
8182 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8183 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8185 # ac_d sets the value in "#define NAME VALUE" lines.
8186 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8187 ac_dB
='[ ].*$,\1#\2'
8190 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8191 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8192 ac_uB
='$,\1#\2define\3'
8196 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8197 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8199 - |
*:- |
*:-:* ) # input from stdin
8201 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8202 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8203 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8204 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8205 * ) ac_file_in
=$ac_file.
in ;;
8208 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8209 echo "$as_me: creating $ac_file" >&6;}
8211 # First look for the input files in the build tree, otherwise in the
8213 ac_file_inputs
=`IFS=:
8214 for f in $ac_file_in; do
8216 -) echo $tmp/stdin ;;
8218 # Absolute (can't be DOS-style, as IFS=:)
8219 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8220 echo "$as_me: error: cannot find input file: $f" >&2;}
8221 { (exit 1); exit 1; }; }
8222 # Do quote $f, to prevent DOS paths from being IFS'd.
8225 if test -f "$f"; then
8228 elif test -f "$srcdir/$f"; then
8233 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8234 echo "$as_me: error: cannot find input file: $f" >&2;}
8235 { (exit 1); exit 1; }; }
8238 done` ||
{ (exit 1); exit 1; }
8239 # Remove the trailing spaces.
8240 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8244 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8245 # `conftest.undefs', that substitutes the proper values into
8246 # config.h.in to produce config.h. The first handles `#define'
8247 # templates, and the second `#undef' templates.
8248 # And first: Protect against being on the right side of a sed subst in
8249 # config.status. Protect against being in an unquoted here document
8251 rm -f conftest.defines conftest.undefs
8252 # Using a here document instead of a string reduces the quoting nightmare.
8253 # Putting comments in sed scripts is not portable.
8255 # `end' is used to avoid that the second main sed command (meant for
8256 # 0-ary CPP macros) applies to n-ary macro definitions.
8257 # See the Autoconf documentation for `clear'.
8258 cat >confdef2sed.
sed <<\_ACEOF
8263 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8265 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8268 # If some macros were called several times there might be several times
8269 # the same #defines, which is useless. Nevertheless, we may not want to
8270 # sort them, since we want the *last* AC-DEFINE to be honored.
8271 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8272 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8273 rm -f confdef2sed.sed
8275 # This sed command replaces #undef with comments. This is necessary, for
8276 # example, in the case of _POSIX_SOURCE, which is predefined and required
8277 # on some systems where configure will not decide to define it.
8278 cat >>conftest.undefs <<\_ACEOF
8279 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8282 # Break up conftest.defines because some shells have a limit on the size
8283 # of here documents, and old seds have small limits too (100 cmds).
8284 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8285 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8286 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8287 echo ' :' >>$CONFIG_STATUS
8289 while grep . conftest.defines >/dev/null
8291 # Write a limited-size here document to $tmp/defines.sed.
8292 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8293 # Speed up: don't consider the non `#define' lines.
8294 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8295 # Work around the forget-to-reset-the-flag bug.
8296 echo 't clr' >>$CONFIG_STATUS
8297 echo ': clr' >>$CONFIG_STATUS
8298 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8300 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8304 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8305 rm -f conftest.defines
8306 mv conftest.
tail conftest.defines
8308 rm -f conftest.defines
8309 echo ' fi # grep' >>$CONFIG_STATUS
8310 echo >>$CONFIG_STATUS
8312 # Break up conftest.undefs because some shells have a limit on the size
8313 # of here documents, and old seds have small limits too (100 cmds).
8314 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8316 while grep . conftest.undefs
>/dev
/null
8318 # Write a limited-size here document to $tmp/undefs.sed.
8319 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8320 # Speed up: don't consider the non
`#undef'
8321 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8322 # Work around the forget-to-reset-the-flag bug.
8323 echo 't clr' >>$CONFIG_STATUS
8324 echo ': clr' >>$CONFIG_STATUS
8325 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8327 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8331 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8332 rm -f conftest.undefs
8333 mv conftest.tail conftest.undefs
8335 rm -f conftest.undefs
8337 cat >>$CONFIG_STATUS <<\_ACEOF
8338 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8339 # use $as_me), people would be surprised to read:
8340 # /* config.h. Generated by config.status. */
8341 if test x
"$ac_file" = x-
; then
8342 echo "/* Generated by configure. */" >$tmp/config.h
8344 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8346 cat $tmp/in >>$tmp/config.h
8348 if test x
"$ac_file" != x-
; then
8349 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8350 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8351 echo "$as_me: $ac_file is unchanged" >&6;}
8353 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8354 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8355 X"$ac_file" : 'X\(//\)[^/]' \| \
8356 X"$ac_file" : 'X\(//\)$' \| \
8357 X"$ac_file" : 'X\(/\)' \| \
8358 . : '\(.\)' 2>/dev/null ||
8360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8361 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8362 /^X\(\/\/\)$/{ s//\1/; q; }
8363 /^X\(\/\).*/{ s//\1/; q; }
8365 { if $as_mkdir_p; then
8370 while test ! -d "$as_dir"; do
8371 as_dirs
="$as_dir $as_dirs"
8372 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8373 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8374 X"$as_dir" : 'X\(//\)[^/]' \| \
8375 X"$as_dir" : 'X\(//\)$' \| \
8376 X"$as_dir" : 'X\(/\)' \| \
8377 . : '\(.\)' 2>/dev/null ||
8379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8380 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8381 /^X\(\/\/\)$/{ s//\1/; q; }
8382 /^X\(\/\).*/{ s//\1/; q; }
8385 test ! -n "$as_dirs" || mkdir
$as_dirs
8386 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8387 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8388 { (exit 1); exit 1; }; }; }
8391 mv $tmp/config.h
$ac_file
8397 # Compute $ac_file's index in $config_headers.
8399 for _am_header
in $config_headers :; do
8401 $ac_file |
$ac_file:* )
8404 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8407 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
8408 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8409 X$ac_file : 'X\(//\)[^/]' \| \
8410 X$ac_file : 'X\(//\)$' \| \
8411 X$ac_file : 'X\(/\)' \| \
8412 . : '\(.\)' 2>/dev/null ||
8414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8415 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8416 /^X\(\/\/\)$/{ s//\1/; q; }
8417 /^X\(\/\).*/{ s//\1/; q; }
8418 s/.*/./; q'`/stamp-h
$_am_stamp_count
8421 cat >>$CONFIG_STATUS <<\_ACEOF
8424 # CONFIG_COMMANDS section.
8426 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8427 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8428 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8429 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8430 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8431 X"$ac_dest" : 'X\(//\)[^/]' \| \
8432 X"$ac_dest" : 'X\(//\)$' \| \
8433 X"$ac_dest" : 'X\(/\)' \| \
8434 . : '\(.\)' 2>/dev/null ||
8436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8437 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8438 /^X\(\/\/\)$/{ s//\1/; q; }
8439 /^X\(\/\).*/{ s//\1/; q; }
8441 { if $as_mkdir_p; then
8446 while test ! -d "$as_dir"; do
8447 as_dirs
="$as_dir $as_dirs"
8448 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8449 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8450 X"$as_dir" : 'X\(//\)[^/]' \| \
8451 X"$as_dir" : 'X\(//\)$' \| \
8452 X"$as_dir" : 'X\(/\)' \| \
8453 . : '\(.\)' 2>/dev/null ||
8455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8456 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8457 /^X\(\/\/\)$/{ s//\1/; q; }
8458 /^X\(\/\).*/{ s//\1/; q; }
8461 test ! -n "$as_dirs" || mkdir
$as_dirs
8462 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8463 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8464 { (exit 1); exit 1; }; }; }
8468 if test "$ac_dir" != .
; then
8469 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8470 # A "../" for each directory in $ac_dir_suffix.
8471 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8473 ac_dir_suffix
= ac_top_builddir
=
8477 .
) # No --srcdir option. We are building in place.
8479 if test -z "$ac_top_builddir"; then
8482 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8484 [\\/]* | ?
:[\\/]* ) # Absolute path.
8485 ac_srcdir
=$srcdir$ac_dir_suffix;
8486 ac_top_srcdir
=$srcdir ;;
8488 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8489 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8492 # Do not use `cd foo && pwd` to compute absolute paths, because
8493 # the directories may not exist.
8495 .
) ac_abs_builddir
="$ac_dir";;
8498 .
) ac_abs_builddir
=`pwd`;;
8499 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8500 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8503 case $ac_abs_builddir in
8504 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8506 case ${ac_top_builddir}.
in
8507 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8508 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8509 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8512 case $ac_abs_builddir in
8513 .
) ac_abs_srcdir
=$ac_srcdir;;
8516 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8517 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8518 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8521 case $ac_abs_builddir in
8522 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8524 case $ac_top_srcdir in
8525 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8526 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8527 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8532 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8533 echo "$as_me: executing $ac_dest commands" >&6;}
8535 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8536 # Strip MF so we end up with the name of the file.
8537 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8538 # Check whether this is an Automake generated Makefile or not.
8539 # We used to match only the files named `Makefile.in', but
8540 # some people rename them; so instead we look at the file content.
8541 # Grep'ing the first line is not enough: some people post-process
8542 # each Makefile.in and add a new line on top of each file to say so.
8543 # So let's grep whole file.
8544 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8545 dirpart
=`(dirname "$mf") 2>/dev/null ||
8546 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8547 X"$mf" : 'X\(//\)[^/]' \| \
8548 X"$mf" : 'X\(//\)$' \| \
8549 X"$mf" : 'X\(/\)' \| \
8550 . : '\(.\)' 2>/dev/null ||
8552 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8553 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8554 /^X\(\/\/\)$/{ s//\1/; q; }
8555 /^X\(\/\).*/{ s//\1/; q; }
8560 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
8561 # Extract the definition of DEP_FILES from the Makefile without
8563 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8564 test -z "$DEPDIR" && continue
8565 # When using ansi2knr, U may be empty or an underscore; expand it
8566 U
=`sed -n 's/^U = //p' < "$mf"`
8567 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
8568 # We invoke sed twice because it is the simplest approach to
8569 # changing $(DEPDIR) to its actual value in the expansion.
8570 for file in `sed -n '
8571 /^DEP_FILES = .*\\\\$/ {
8580 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
8581 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8582 # Make sure the directory exists.
8583 test -f "$dirpart/$file" && continue
8584 fdir
=`(dirname "$file") 2>/dev/null ||
8585 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8586 X"$file" : 'X\(//\)[^/]' \| \
8587 X"$file" : 'X\(//\)$' \| \
8588 X"$file" : 'X\(/\)' \| \
8589 . : '\(.\)' 2>/dev/null ||
8591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8592 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8593 /^X\(\/\/\)$/{ s//\1/; q; }
8594 /^X\(\/\).*/{ s//\1/; q; }
8596 { if $as_mkdir_p; then
8597 mkdir
-p $dirpart/$fdir
8599 as_dir
=$dirpart/$fdir
8601 while test ! -d "$as_dir"; do
8602 as_dirs
="$as_dir $as_dirs"
8603 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8604 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8605 X"$as_dir" : 'X\(//\)[^/]' \| \
8606 X"$as_dir" : 'X\(//\)$' \| \
8607 X"$as_dir" : 'X\(/\)' \| \
8608 . : '\(.\)' 2>/dev/null ||
8610 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8611 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8612 /^X\(\/\/\)$/{ s//\1/; q; }
8613 /^X\(\/\).*/{ s//\1/; q; }
8616 test ! -n "$as_dirs" || mkdir
$as_dirs
8617 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8618 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8619 { (exit 1); exit 1; }; }; }
8621 # echo "creating $dirpart/$file"
8622 echo '# dummy' > "$dirpart/$file"
8630 cat >>$CONFIG_STATUS <<\_ACEOF
8632 { (exit 0); exit 0; }
8634 chmod +x
$CONFIG_STATUS
8635 ac_clean_files
=$ac_clean_files_save
8638 # configure is writing to config.log, and then calls config.status.
8639 # config.status does its own redirection, appending to config.log.
8640 # Unfortunately, on DOS this fails, as config.log is still kept open
8641 # by configure, so config.status won't be able to write to it; its
8642 # output is simply discarded. So we exec the FD to /dev/null,
8643 # effectively closing config.log, so it can be properly (re)opened and
8644 # appended to by config.status. When coming back to configure, we
8645 # need to make the FD available again.
8646 if test "$no_create" != yes; then
8648 ac_config_status_args
=
8649 test "$silent" = yes &&
8650 ac_config_status_args
="$ac_config_status_args --quiet"
8652 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8654 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8655 # would make configure fail if this is the last instruction.
8656 $ac_cs_success ||
{ (exit 1); exit 1; }