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 SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB ACLOCAL AUTOCONF AUTOHEADER CPP EGREP LIBOBJS ALLOCA USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS LIBICONV LTLIBICONV PACKAGE USED_CATALOGS MAINT 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 --build=BUILD configure
for building on BUILD
[guessed
]
838 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
839 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
843 if test -n "$ac_init_help"; then
844 case $ac_init_help in
845 short | recursive
) echo "Configuration of cpplib :";;
850 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
851 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
852 --disable-rpath do not hardcode runtime library paths
853 --enable-maintainer-mode enable rules only needed by maintainers
854 --enable-checking enable expensive run-time checks
857 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
858 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
859 --with-gnu-ld assume the C compiler uses GNU ld default
=no
860 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
861 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
863 Some influential environment variables:
864 CC C compiler command
865 CFLAGS C compiler flags
866 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
867 nonstandard directory <lib dir>
868 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
869 headers in a nonstandard directory <include dir>
872 Use these variables to override the choices made by `configure' or to
help
873 it to
find libraries and programs with nonstandard names
/locations.
875 Report bugs to
<gcc-bugs@gcc.gnu.org
>.
879 if test "$ac_init_help" = "recursive"; then
880 # If there are subdirs, report their specific --help.
882 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
883 test -d $ac_dir ||
continue
886 if test "$ac_dir" != .
; then
887 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
888 # A "../" for each directory in $ac_dir_suffix.
889 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
891 ac_dir_suffix
= ac_top_builddir
=
895 .
) # No --srcdir option. We are building in place.
897 if test -z "$ac_top_builddir"; then
900 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
902 [\\/]* | ?
:[\\/]* ) # Absolute path.
903 ac_srcdir
=$srcdir$ac_dir_suffix;
904 ac_top_srcdir
=$srcdir ;;
906 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
907 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
910 # Do not use `cd foo && pwd` to compute absolute paths, because
911 # the directories may not exist.
913 .
) ac_abs_builddir
="$ac_dir";;
916 .
) ac_abs_builddir
=`pwd`;;
917 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
918 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
921 case $ac_abs_builddir in
922 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
924 case ${ac_top_builddir}.
in
925 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
926 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
927 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
930 case $ac_abs_builddir in
931 .
) ac_abs_srcdir
=$ac_srcdir;;
934 .
) ac_abs_srcdir
=$ac_abs_builddir;;
935 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
936 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
939 case $ac_abs_builddir in
940 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
942 case $ac_top_srcdir in
943 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
944 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
945 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
950 # Check for guested configure; otherwise get Cygnus style configure.
951 if test -f $ac_srcdir/configure.gnu
; then
953 $SHELL $ac_srcdir/configure.gnu
--help=recursive
954 elif test -f $ac_srcdir/configure
; then
956 $SHELL $ac_srcdir/configure
--help=recursive
957 elif test -f $ac_srcdir/configure.ac ||
958 test -f $ac_srcdir/configure.
in; then
962 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
968 test -n "$ac_init_help" && exit 0
969 if $ac_init_version; then
972 generated by GNU Autoconf
2.59
974 Copyright
(C
) 2003 Free Software Foundation
, Inc.
975 This configure
script is free software
; the Free Software Foundation
976 gives unlimited permission to copy
, distribute and modify it.
982 This file contains any messages produced by compilers while
983 running configure, to aid debugging if configure makes a mistake.
985 It was created by cpplib $as_me , which was
986 generated by GNU Autoconf 2.59. Invocation command line was
997 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
998 uname -m = `(uname -m) 2>/dev/null || echo unknown`
999 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1000 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1001 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1003 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1004 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1006 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1007 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1008 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1009 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1010 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1011 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1012 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1020 test -z "$as_dir" && as_dir
=.
1021 echo "PATH: $as_dir"
1036 # Keep a trace of the command line.
1037 # Strip out --no-create and --no-recursion so they do not pile up.
1038 # Strip out --silent because we don't want to record it for future runs.
1039 # Also quote any args containing shell meta-characters.
1040 # Make two passes to allow for proper duplicate-argument suppression.
1045 ac_must_keep_next
=false
1051 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1052 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1053 |
-silent |
--silent |
--silen |
--sile |
--sil)
1055 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1056 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1059 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1061 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1062 if test $ac_must_keep_next = true
; then
1063 ac_must_keep_next
=false
# Got value, back to normal.
1066 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1067 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1068 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1069 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1070 case "$ac_configure_args0 " in
1071 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1074 -* ) ac_must_keep_next
=true
;;
1077 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1078 # Get rid of the leading space.
1084 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1085 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1087 # When interrupted or exit'd, cleanup temporary files, and complete
1088 # config.log. We remove comments because anyway the quotes in there
1089 # would cause problems or look ugly.
1090 # WARNING: Be sure not to use single quotes in there, as some shells,
1091 # such as our DU 5.0 friend, will then `close' the trap.
1092 trap 'exit_status=$?
1093 # Save into config.log some information that might help in debugging.
1098 ## ---------------- ##
1099 ## Cache variables. ##
1100 ## ---------------- ##
1103 # The following way of writing the cache mishandles newlines in values,
1106 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1109 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1114 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1121 ## ----------------- ##
1122 ## Output variables. ##
1123 ## ----------------- ##
1126 for ac_var in $ac_subst_vars
1128 eval ac_val=$`echo $ac_var`
1129 echo "$ac_var='"'"'$ac_val'"'"'"
1133 if test -n "$ac_subst_files"; then
1140 for ac_var in $ac_subst_files
1142 eval ac_val=$`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1148 if test -s confdefs.h; then
1155 sed "/^$/d" confdefs.h | sort
1158 test "$ac_signal" != 0 &&
1159 echo "$as_me: caught signal $ac_signal"
1160 echo "$as_me: exit $exit_status"
1162 rm -f core *.core &&
1163 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1166 for ac_signal
in 1 2 13 15; do
1167 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1171 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1172 rm -rf conftest
* confdefs.h
1173 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1176 # Predefined preprocessor variables.
1178 cat >>confdefs.h
<<_ACEOF
1179 #define PACKAGE_NAME "$PACKAGE_NAME"
1183 cat >>confdefs.h
<<_ACEOF
1184 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1188 cat >>confdefs.h
<<_ACEOF
1189 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1193 cat >>confdefs.h
<<_ACEOF
1194 #define PACKAGE_STRING "$PACKAGE_STRING"
1198 cat >>confdefs.h
<<_ACEOF
1199 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1203 # Let the site file select an alternate cache file if it wants to.
1204 # Prefer explicitly selected file to automatically selected ones.
1205 if test -z "$CONFIG_SITE"; then
1206 if test "x$prefix" != xNONE
; then
1207 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1209 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1212 for ac_site_file
in $CONFIG_SITE; do
1213 if test -r "$ac_site_file"; then
1214 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1215 echo "$as_me: loading site script $ac_site_file" >&6;}
1216 sed 's/^/| /' "$ac_site_file" >&5
1221 if test -r "$cache_file"; then
1222 # Some versions of bash will fail to source /dev/null (special
1223 # files actually), so we avoid doing that.
1224 if test -f "$cache_file"; then
1225 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1226 echo "$as_me: loading cache $cache_file" >&6;}
1228 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1229 *) . .
/$cache_file;;
1233 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1234 echo "$as_me: creating cache $cache_file" >&6;}
1238 # Check that the precious variables saved in the cache have kept the same
1240 ac_cache_corrupted
=false
1241 for ac_var
in `(set) 2>&1 |
1242 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1243 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1244 eval ac_new_set
=\
$ac_env_${ac_var}_set
1245 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1246 eval ac_new_val
="\$ac_env_${ac_var}_value"
1247 case $ac_old_set,$ac_new_set in
1249 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1250 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1251 ac_cache_corrupted
=: ;;
1253 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1254 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1255 ac_cache_corrupted
=: ;;
1258 if test "x$ac_old_val" != "x$ac_new_val"; then
1259 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1260 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1261 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1262 echo "$as_me: former value: $ac_old_val" >&2;}
1263 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1264 echo "$as_me: current value: $ac_new_val" >&2;}
1265 ac_cache_corrupted
=:
1268 # Pass precious variables to config.status.
1269 if test "$ac_new_set" = set; then
1271 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1272 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1273 *) ac_arg
=$ac_var=$ac_new_val ;;
1275 case " $ac_configure_args " in
1276 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1277 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1281 if $ac_cache_corrupted; then
1282 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1283 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1284 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1285 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1286 { (exit 1); exit 1; }; }
1290 ac_cpp
='$CPP $CPPFLAGS'
1291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1323 [\\/]* | ?
:[\\/]* ) ac_macro_dir
=..
/config
;;
1324 *) ac_macro_dir
=$srcdir/..
/config
;;
1326 if test -d "$ac_macro_dir"; then :
1328 { { echo "$as_me:$LINENO: error: cannot find macro directory \`../config'" >&5
1329 echo "$as_me: error: cannot find macro directory \`../config'" >&2;}
1330 { (exit 1); exit 1; }; }
1334 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1335 if test -f $ac_dir/install-sh
; then
1337 ac_install_sh
="$ac_aux_dir/install-sh -c"
1339 elif test -f $ac_dir/install.sh
; then
1341 ac_install_sh
="$ac_aux_dir/install.sh -c"
1343 elif test -f $ac_dir/shtool
; then
1345 ac_install_sh
="$ac_aux_dir/shtool install -c"
1349 if test -z "$ac_aux_dir"; then
1350 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1351 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1352 { (exit 1); exit 1; }; }
1354 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1355 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1356 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1358 # Make sure we can run config.sub.
1359 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1360 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1361 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1362 { (exit 1); exit 1; }; }
1364 echo "$as_me:$LINENO: checking build system type" >&5
1365 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1366 if test "${ac_cv_build+set}" = set; then
1367 echo $ECHO_N "(cached) $ECHO_C" >&6
1369 ac_cv_build_alias
=$build_alias
1370 test -z "$ac_cv_build_alias" &&
1371 ac_cv_build_alias
=`$ac_config_guess`
1372 test -z "$ac_cv_build_alias" &&
1373 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1374 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1375 { (exit 1); exit 1; }; }
1376 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1377 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1378 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1379 { (exit 1); exit 1; }; }
1382 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1383 echo "${ECHO_T}$ac_cv_build" >&6
1385 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1386 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1387 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1390 echo "$as_me:$LINENO: checking host system type" >&5
1391 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1392 if test "${ac_cv_host+set}" = set; then
1393 echo $ECHO_N "(cached) $ECHO_C" >&6
1395 ac_cv_host_alias
=$host_alias
1396 test -z "$ac_cv_host_alias" &&
1397 ac_cv_host_alias
=$ac_cv_build_alias
1398 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1399 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1400 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1401 { (exit 1); exit 1; }; }
1404 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1405 echo "${ECHO_T}$ac_cv_host" >&6
1407 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1408 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1409 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1412 echo "$as_me:$LINENO: checking target system type" >&5
1413 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1414 if test "${ac_cv_target+set}" = set; then
1415 echo $ECHO_N "(cached) $ECHO_C" >&6
1417 ac_cv_target_alias
=$target_alias
1418 test "x$ac_cv_target_alias" = "x" &&
1419 ac_cv_target_alias
=$ac_cv_host_alias
1420 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1421 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1422 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1423 { (exit 1); exit 1; }; }
1426 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1427 echo "${ECHO_T}$ac_cv_target" >&6
1428 target
=$ac_cv_target
1429 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1430 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1431 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1434 # The aliases save the names the user supplied, while $host etc.
1435 # will get canonicalized.
1436 test -n "$target_alias" &&
1437 test "$program_prefix$program_suffix$program_transform_name" = \
1439 program_prefix
=${target_alias}-
1440 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1441 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1442 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1443 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1444 echo $ECHO_N "(cached) $ECHO_C" >&6
1446 cat >conftest.
make <<\_ACEOF
1448 @
echo 'ac_maketemp="$(MAKE)"'
1450 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1451 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1452 if test -n "$ac_maketemp"; then
1453 eval ac_cv_prog_make_
${ac_make}_set
=yes
1455 eval ac_cv_prog_make_
${ac_make}_set
=no
1459 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1460 echo "$as_me:$LINENO: result: yes" >&5
1461 echo "${ECHO_T}yes" >&6
1464 echo "$as_me:$LINENO: result: no" >&5
1465 echo "${ECHO_T}no" >&6
1466 SET_MAKE
="MAKE=${MAKE-make}"
1469 # Find a good install program. We prefer a C program (faster),
1470 # so one script is as good as another. But avoid the broken or
1471 # incompatible versions:
1472 # SysV /etc/install, /usr/sbin/install
1473 # SunOS /usr/etc/install
1474 # IRIX /sbin/install
1476 # AmigaOS /C/install, which installs bootblocks on floppy discs
1477 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1478 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1479 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1480 # OS/2's system install, which has a completely different semantic
1481 # ./install, which can be erroneously created by make from ./install.sh.
1482 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1483 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1484 if test -z "$INSTALL"; then
1485 if test "${ac_cv_path_install+set}" = set; then
1486 echo $ECHO_N "(cached) $ECHO_C" >&6
1488 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1492 test -z "$as_dir" && as_dir
=.
1493 # Account for people who put trailing slashes in PATH elements.
1495 .
/ | .
// |
/cC
/* | \
1496 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1497 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1500 # OSF1 and SCO ODT 3.0 have their own names for install.
1501 # Don't use installbsd from OSF since it installs stuff as root
1503 for ac_prog
in ginstall scoinst
install; do
1504 for ac_exec_ext
in '' $ac_executable_extensions; do
1505 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1506 if test $ac_prog = install &&
1507 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1508 # AIX install. It has an incompatible calling convention.
1510 elif test $ac_prog = install &&
1511 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1512 # program-specific install script used by HP pwplus--don't use.
1515 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1527 if test "${ac_cv_path_install+set}" = set; then
1528 INSTALL
=$ac_cv_path_install
1530 # As a last resort, use the slow shell script. We don't cache a
1531 # path for INSTALL within a source directory, because that will
1532 # break other packages using the cache if that directory is
1533 # removed, or if the path is relative.
1534 INSTALL
=$ac_install_sh
1537 echo "$as_me:$LINENO: result: $INSTALL" >&5
1538 echo "${ECHO_T}$INSTALL" >&6
1540 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1541 # It thinks the first close brace ends the variable substitution.
1542 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1544 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1546 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1549 # Checks for programs.
1551 ac_cpp
='$CPP $CPPFLAGS'
1552 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1553 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1554 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1555 if test -n "$ac_tool_prefix"; then
1556 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1557 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1558 echo "$as_me:$LINENO: checking for $ac_word" >&5
1559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1560 if test "${ac_cv_prog_CC+set}" = set; then
1561 echo $ECHO_N "(cached) $ECHO_C" >&6
1563 if test -n "$CC"; then
1564 ac_cv_prog_CC
="$CC" # Let the user override the test.
1566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1570 test -z "$as_dir" && as_dir
=.
1571 for ac_exec_ext
in '' $ac_executable_extensions; do
1572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1573 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1583 if test -n "$CC"; then
1584 echo "$as_me:$LINENO: result: $CC" >&5
1585 echo "${ECHO_T}$CC" >&6
1587 echo "$as_me:$LINENO: result: no" >&5
1588 echo "${ECHO_T}no" >&6
1592 if test -z "$ac_cv_prog_CC"; then
1594 # Extract the first word of "gcc", so it can be a program name with args.
1595 set dummy gcc
; ac_word
=$2
1596 echo "$as_me:$LINENO: checking for $ac_word" >&5
1597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1598 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1599 echo $ECHO_N "(cached) $ECHO_C" >&6
1601 if test -n "$ac_ct_CC"; then
1602 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1608 test -z "$as_dir" && as_dir
=.
1609 for ac_exec_ext
in '' $ac_executable_extensions; do
1610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1611 ac_cv_prog_ac_ct_CC
="gcc"
1612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1620 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1621 if test -n "$ac_ct_CC"; then
1622 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1623 echo "${ECHO_T}$ac_ct_CC" >&6
1625 echo "$as_me:$LINENO: result: no" >&5
1626 echo "${ECHO_T}no" >&6
1634 if test -z "$CC"; then
1635 if test -n "$ac_tool_prefix"; then
1636 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1637 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1638 echo "$as_me:$LINENO: checking for $ac_word" >&5
1639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1640 if test "${ac_cv_prog_CC+set}" = set; then
1641 echo $ECHO_N "(cached) $ECHO_C" >&6
1643 if test -n "$CC"; then
1644 ac_cv_prog_CC
="$CC" # Let the user override the test.
1646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1650 test -z "$as_dir" && as_dir
=.
1651 for ac_exec_ext
in '' $ac_executable_extensions; do
1652 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1653 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663 if test -n "$CC"; then
1664 echo "$as_me:$LINENO: result: $CC" >&5
1665 echo "${ECHO_T}$CC" >&6
1667 echo "$as_me:$LINENO: result: no" >&5
1668 echo "${ECHO_T}no" >&6
1672 if test -z "$ac_cv_prog_CC"; then
1674 # Extract the first word of "cc", so it can be a program name with args.
1675 set dummy cc
; ac_word
=$2
1676 echo "$as_me:$LINENO: checking for $ac_word" >&5
1677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1678 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1679 echo $ECHO_N "(cached) $ECHO_C" >&6
1681 if test -n "$ac_ct_CC"; then
1682 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1688 test -z "$as_dir" && as_dir
=.
1689 for ac_exec_ext
in '' $ac_executable_extensions; do
1690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1691 ac_cv_prog_ac_ct_CC
="cc"
1692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1700 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1701 if test -n "$ac_ct_CC"; then
1702 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1703 echo "${ECHO_T}$ac_ct_CC" >&6
1705 echo "$as_me:$LINENO: result: no" >&5
1706 echo "${ECHO_T}no" >&6
1715 if test -z "$CC"; then
1716 # Extract the first word of "cc", so it can be a program name with args.
1717 set dummy cc
; ac_word
=$2
1718 echo "$as_me:$LINENO: checking for $ac_word" >&5
1719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1720 if test "${ac_cv_prog_CC+set}" = set; then
1721 echo $ECHO_N "(cached) $ECHO_C" >&6
1723 if test -n "$CC"; then
1724 ac_cv_prog_CC
="$CC" # Let the user override the test.
1727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1731 test -z "$as_dir" && as_dir
=.
1732 for ac_exec_ext
in '' $ac_executable_extensions; do
1733 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1734 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1735 ac_prog_rejected
=yes
1739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1745 if test $ac_prog_rejected = yes; then
1746 # We found a bogon in the path, so make sure we never use it.
1747 set dummy
$ac_cv_prog_CC
1749 if test $# != 0; then
1750 # We chose a different compiler from the bogus one.
1751 # However, it has the same basename, so the bogon will be chosen
1752 # first if we set CC to just the basename; use the full file name.
1754 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1760 if test -n "$CC"; then
1761 echo "$as_me:$LINENO: result: $CC" >&5
1762 echo "${ECHO_T}$CC" >&6
1764 echo "$as_me:$LINENO: result: no" >&5
1765 echo "${ECHO_T}no" >&6
1769 if test -z "$CC"; then
1770 if test -n "$ac_tool_prefix"; then
1773 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1774 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1775 echo "$as_me:$LINENO: checking for $ac_word" >&5
1776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1777 if test "${ac_cv_prog_CC+set}" = set; then
1778 echo $ECHO_N "(cached) $ECHO_C" >&6
1780 if test -n "$CC"; then
1781 ac_cv_prog_CC
="$CC" # Let the user override the test.
1783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1787 test -z "$as_dir" && as_dir
=.
1788 for ac_exec_ext
in '' $ac_executable_extensions; do
1789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1790 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1800 if test -n "$CC"; then
1801 echo "$as_me:$LINENO: result: $CC" >&5
1802 echo "${ECHO_T}$CC" >&6
1804 echo "$as_me:$LINENO: result: no" >&5
1805 echo "${ECHO_T}no" >&6
1808 test -n "$CC" && break
1811 if test -z "$CC"; then
1815 # Extract the first word of "$ac_prog", so it can be a program name with args.
1816 set dummy
$ac_prog; ac_word
=$2
1817 echo "$as_me:$LINENO: checking for $ac_word" >&5
1818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1819 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1820 echo $ECHO_N "(cached) $ECHO_C" >&6
1822 if test -n "$ac_ct_CC"; then
1823 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1829 test -z "$as_dir" && as_dir
=.
1830 for ac_exec_ext
in '' $ac_executable_extensions; do
1831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1832 ac_cv_prog_ac_ct_CC
="$ac_prog"
1833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1841 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1842 if test -n "$ac_ct_CC"; then
1843 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1844 echo "${ECHO_T}$ac_ct_CC" >&6
1846 echo "$as_me:$LINENO: result: no" >&5
1847 echo "${ECHO_T}no" >&6
1850 test -n "$ac_ct_CC" && break
1859 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1860 See \`config.log' for more details." >&5
1861 echo "$as_me: error: no acceptable C compiler found in \$PATH
1862 See \`config.log' for more details." >&2;}
1863 { (exit 1); exit 1; }; }
1865 # Provide some information about the compiler.
1866 echo "$as_me:$LINENO:" \
1867 "checking for C compiler version" >&5
1868 ac_compiler
=`set X $ac_compile; echo $2`
1869 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1870 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1873 (exit $ac_status); }
1874 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1875 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1878 (exit $ac_status); }
1879 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1880 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883 (exit $ac_status); }
1885 cat >conftest.
$ac_ext <<_ACEOF
1888 cat confdefs.h
>>conftest.
$ac_ext
1889 cat >>conftest.
$ac_ext <<_ACEOF
1890 /* end confdefs.h. */
1900 ac_clean_files_save
=$ac_clean_files
1901 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1902 # Try to create an executable without -o first, disregard a.out.
1903 # It will help us diagnose broken compilers, and finding out an intuition
1905 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1906 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1907 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1908 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1909 (eval $ac_link_default) 2>&5
1911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1912 (exit $ac_status); }; then
1913 # Find the output, starting from the most likely. This scheme is
1914 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1917 # Be careful to initialize this variable, since it used to be cached.
1918 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1920 # b.out is created by i960 compilers.
1921 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1923 test -f "$ac_file" ||
continue
1925 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1928 # This is the source file.
1931 # We found the default executable, but exeext='' is most
1935 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1936 # FIXME: I believe we export ac_cv_exeext for Libtool,
1937 # but it would be cool to find out if it's true. Does anybody
1938 # maintain Libtool? --akim.
1946 echo "$as_me: failed program was:" >&5
1947 sed 's/^/| /' conftest.
$ac_ext >&5
1949 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1950 See \`config.log' for more details." >&5
1951 echo "$as_me: error: C compiler cannot create executables
1952 See \`config.log' for more details." >&2;}
1953 { (exit 77); exit 77; }; }
1956 ac_exeext
=$ac_cv_exeext
1957 echo "$as_me:$LINENO: result: $ac_file" >&5
1958 echo "${ECHO_T}$ac_file" >&6
1960 # Check the compiler produces executables we can run. If not, either
1961 # the compiler is broken, or we cross compile.
1962 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1963 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1964 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1965 # If not cross compiling, check that we can run a simple program.
1966 if test "$cross_compiling" != yes; then
1967 if { ac_try
='./$ac_file'
1968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1972 (exit $ac_status); }; }; then
1975 if test "$cross_compiling" = maybe
; then
1978 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1979 If you meant to cross compile, use \`--host'.
1980 See \`config.log' for more details." >&5
1981 echo "$as_me: error: cannot run C compiled programs.
1982 If you meant to cross compile, use \`--host'.
1983 See \`config.log' for more details." >&2;}
1984 { (exit 1); exit 1; }; }
1988 echo "$as_me:$LINENO: result: yes" >&5
1989 echo "${ECHO_T}yes" >&6
1991 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1992 ac_clean_files
=$ac_clean_files_save
1993 # Check the compiler produces executables we can run. If not, either
1994 # the compiler is broken, or we cross compile.
1995 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1996 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1997 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1998 echo "${ECHO_T}$cross_compiling" >&6
2000 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2001 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2003 (eval $ac_link) 2>&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); }; then
2007 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2008 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2009 # work properly (i.e., refer to `conftest.exe'), while it won't with
2011 for ac_file
in conftest.exe conftest conftest.
*; do
2012 test -f "$ac_file" ||
continue
2014 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2015 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2022 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2023 See \`config.log' for more details." >&5
2024 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2025 See \`config.log' for more details." >&2;}
2026 { (exit 1); exit 1; }; }
2029 rm -f conftest
$ac_cv_exeext
2030 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2031 echo "${ECHO_T}$ac_cv_exeext" >&6
2033 rm -f conftest.
$ac_ext
2034 EXEEXT
=$ac_cv_exeext
2036 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2037 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2038 if test "${ac_cv_objext+set}" = set; then
2039 echo $ECHO_N "(cached) $ECHO_C" >&6
2041 cat >conftest.
$ac_ext <<_ACEOF
2044 cat confdefs.h
>>conftest.
$ac_ext
2045 cat >>conftest.
$ac_ext <<_ACEOF
2046 /* end confdefs.h. */
2056 rm -f conftest.o conftest.obj
2057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2058 (eval $ac_compile) 2>&5
2060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2061 (exit $ac_status); }; then
2062 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2064 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2065 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2070 echo "$as_me: failed program was:" >&5
2071 sed 's/^/| /' conftest.
$ac_ext >&5
2073 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2074 See \`config.log' for more details." >&5
2075 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2076 See \`config.log' for more details." >&2;}
2077 { (exit 1); exit 1; }; }
2080 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2082 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2083 echo "${ECHO_T}$ac_cv_objext" >&6
2084 OBJEXT
=$ac_cv_objext
2086 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2087 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2088 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 cat >conftest.
$ac_ext <<_ACEOF
2094 cat confdefs.h
>>conftest.
$ac_ext
2095 cat >>conftest.
$ac_ext <<_ACEOF
2096 /* end confdefs.h. */
2109 rm -f conftest.
$ac_objext
2110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2111 (eval $ac_compile) 2>conftest.er1
2113 grep -v '^ *+' conftest.er1
>conftest.err
2115 cat conftest.err
>&5
2116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2117 (exit $ac_status); } &&
2118 { ac_try
='test -z "$ac_c_werror_flag"
2119 || test ! -s conftest.err'
2120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 (exit $ac_status); }; } &&
2125 { ac_try
='test -s conftest.$ac_objext'
2126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2130 (exit $ac_status); }; }; then
2133 echo "$as_me: failed program was:" >&5
2134 sed 's/^/| /' conftest.
$ac_ext >&5
2138 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2139 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2142 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2143 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2144 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2145 ac_test_CFLAGS
=${CFLAGS+set}
2146 ac_save_CFLAGS
=$CFLAGS
2148 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2149 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2150 if test "${ac_cv_prog_cc_g+set}" = set; then
2151 echo $ECHO_N "(cached) $ECHO_C" >&6
2153 cat >conftest.
$ac_ext <<_ACEOF
2156 cat confdefs.h
>>conftest.
$ac_ext
2157 cat >>conftest.
$ac_ext <<_ACEOF
2158 /* end confdefs.h. */
2168 rm -f conftest.
$ac_objext
2169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2170 (eval $ac_compile) 2>conftest.er1
2172 grep -v '^ *+' conftest.er1
>conftest.err
2174 cat conftest.err
>&5
2175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176 (exit $ac_status); } &&
2177 { ac_try
='test -z "$ac_c_werror_flag"
2178 || test ! -s conftest.err'
2179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }; } &&
2184 { ac_try
='test -s conftest.$ac_objext'
2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); }; }; then
2192 echo "$as_me: failed program was:" >&5
2193 sed 's/^/| /' conftest.
$ac_ext >&5
2197 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2199 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2200 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2201 if test "$ac_test_CFLAGS" = set; then
2202 CFLAGS
=$ac_save_CFLAGS
2203 elif test $ac_cv_prog_cc_g = yes; then
2204 if test "$GCC" = yes; then
2210 if test "$GCC" = yes; then
2216 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2217 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2218 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2219 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 ac_cv_prog_cc_stdc
=no
2223 cat >conftest.
$ac_ext <<_ACEOF
2226 cat confdefs.h
>>conftest.
$ac_ext
2227 cat >>conftest.
$ac_ext <<_ACEOF
2228 /* end confdefs.h. */
2231 #include <sys/types.h>
2232 #include <sys/stat.h>
2233 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2234 struct buf { int x; };
2235 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2236 static char *e (p, i)
2242 static char *f (char * (*g) (char **, int), char **p, ...)
2247 s = g (p, va_arg (v,int));
2252 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2253 function prototypes and stuff, but not '\xHH' hex character constants.
2254 These don't provoke an error unfortunately, instead are silently treated
2255 as 'x'. The following induces an error, until -std1 is added to get
2256 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2257 array size at least. It's necessary to write '\x00'==0 to get something
2258 that's true only with -std1. */
2259 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2261 int test (int i, double x);
2262 struct s1 {int (*f) (int a);};
2263 struct s2 {int (*f) (double a);};
2264 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2270 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2275 # Don't try gcc -ansi; that turns off useful extensions and
2276 # breaks some systems' header files.
2277 # AIX -qlanglvl=ansi
2278 # Ultrix and OSF/1 -std1
2279 # HP-UX 10.20 and later -Ae
2280 # HP-UX older versions -Aa -D_HPUX_SOURCE
2281 # SVR4 -Xc -D__EXTENSIONS__
2282 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2284 CC
="$ac_save_CC $ac_arg"
2285 rm -f conftest.
$ac_objext
2286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2287 (eval $ac_compile) 2>conftest.er1
2289 grep -v '^ *+' conftest.er1
>conftest.err
2291 cat conftest.err
>&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); } &&
2294 { ac_try
='test -z "$ac_c_werror_flag"
2295 || test ! -s conftest.err'
2296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }; } &&
2301 { ac_try
='test -s conftest.$ac_objext'
2302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); }; }; then
2307 ac_cv_prog_cc_stdc
=$ac_arg
2310 echo "$as_me: failed program was:" >&5
2311 sed 's/^/| /' conftest.
$ac_ext >&5
2314 rm -f conftest.err conftest.
$ac_objext
2316 rm -f conftest.
$ac_ext conftest.
$ac_objext
2321 case "x$ac_cv_prog_cc_stdc" in
2323 echo "$as_me:$LINENO: result: none needed" >&5
2324 echo "${ECHO_T}none needed" >&6 ;;
2326 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2327 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2328 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2331 # Some people use a C++ compiler to compile C. Since we use `exit',
2332 # in C++ we need to declare it. In case someone uses the same compiler
2333 # for both compiling C and C++ we need to have the C++ compiler decide
2334 # the declaration of exit, since it's the most demanding environment.
2335 cat >conftest.
$ac_ext <<_ACEOF
2340 rm -f conftest.
$ac_objext
2341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2342 (eval $ac_compile) 2>conftest.er1
2344 grep -v '^ *+' conftest.er1
>conftest.err
2346 cat conftest.err
>&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); } &&
2349 { ac_try
='test -z "$ac_c_werror_flag"
2350 || test ! -s conftest.err'
2351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }; } &&
2356 { ac_try
='test -s conftest.$ac_objext'
2357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); }; }; then
2362 for ac_declaration
in \
2364 'extern "C" void std::exit (int) throw (); using std::exit;' \
2365 'extern "C" void std::exit (int); using std::exit;' \
2366 'extern "C" void exit (int) throw ();' \
2367 'extern "C" void exit (int);' \
2370 cat >conftest.
$ac_ext <<_ACEOF
2373 cat confdefs.h
>>conftest.
$ac_ext
2374 cat >>conftest.
$ac_ext <<_ACEOF
2375 /* end confdefs.h. */
2386 rm -f conftest.
$ac_objext
2387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2388 (eval $ac_compile) 2>conftest.er1
2390 grep -v '^ *+' conftest.er1
>conftest.err
2392 cat conftest.err
>&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } &&
2395 { ac_try
='test -z "$ac_c_werror_flag"
2396 || test ! -s conftest.err'
2397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }; } &&
2402 { ac_try
='test -s conftest.$ac_objext'
2403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); }; }; then
2410 echo "$as_me: failed program was:" >&5
2411 sed 's/^/| /' conftest.
$ac_ext >&5
2415 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2416 cat >conftest.
$ac_ext <<_ACEOF
2419 cat confdefs.h
>>conftest.
$ac_ext
2420 cat >>conftest.
$ac_ext <<_ACEOF
2421 /* end confdefs.h. */
2431 rm -f conftest.
$ac_objext
2432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2433 (eval $ac_compile) 2>conftest.er1
2435 grep -v '^ *+' conftest.er1
>conftest.err
2437 cat conftest.err
>&5
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); } &&
2440 { ac_try
='test -z "$ac_c_werror_flag"
2441 || test ! -s conftest.err'
2442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }; } &&
2447 { ac_try
='test -s conftest.$ac_objext'
2448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452 (exit $ac_status); }; }; then
2455 echo "$as_me: failed program was:" >&5
2456 sed 's/^/| /' conftest.
$ac_ext >&5
2459 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2462 if test -n "$ac_declaration"; then
2463 echo '#ifdef __cplusplus' >>confdefs.h
2464 echo $ac_declaration >>confdefs.h
2465 echo '#endif' >>confdefs.h
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.
$ac_ext >&5
2473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2475 ac_cpp
='$CPP $CPPFLAGS'
2476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2480 if test -n "$ac_tool_prefix"; then
2481 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2482 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2483 echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2485 if test "${ac_cv_prog_RANLIB+set}" = set; then
2486 echo $ECHO_N "(cached) $ECHO_C" >&6
2488 if test -n "$RANLIB"; then
2489 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2495 test -z "$as_dir" && as_dir
=.
2496 for ac_exec_ext
in '' $ac_executable_extensions; do
2497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2498 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 RANLIB
=$ac_cv_prog_RANLIB
2508 if test -n "$RANLIB"; then
2509 echo "$as_me:$LINENO: result: $RANLIB" >&5
2510 echo "${ECHO_T}$RANLIB" >&6
2512 echo "$as_me:$LINENO: result: no" >&5
2513 echo "${ECHO_T}no" >&6
2517 if test -z "$ac_cv_prog_RANLIB"; then
2518 ac_ct_RANLIB
=$RANLIB
2519 # Extract the first word of "ranlib", so it can be a program name with args.
2520 set dummy ranlib
; ac_word
=$2
2521 echo "$as_me:$LINENO: checking for $ac_word" >&5
2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2523 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 if test -n "$ac_ct_RANLIB"; then
2527 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2533 test -z "$as_dir" && as_dir
=.
2534 for ac_exec_ext
in '' $ac_executable_extensions; do
2535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2536 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2546 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2547 if test -n "$ac_ct_RANLIB"; then
2548 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2549 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2555 RANLIB
=$ac_ct_RANLIB
2557 RANLIB
="$ac_cv_prog_RANLIB"
2561 MISSING
=`cd $ac_aux_dir && ${PWDCMD-pwd}`/missing
2562 for ac_prog
in aclocal
2564 # Extract the first word of "$ac_prog", so it can be a program name with args.
2565 set dummy
$ac_prog; ac_word
=$2
2566 echo "$as_me:$LINENO: checking for $ac_word" >&5
2567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2568 if test "${ac_cv_prog_ACLOCAL+set}" = set; then
2569 echo $ECHO_N "(cached) $ECHO_C" >&6
2571 if test -n "$ACLOCAL"; then
2572 ac_cv_prog_ACLOCAL
="$ACLOCAL" # Let the user override the test.
2574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2578 test -z "$as_dir" && as_dir
=.
2579 for ac_exec_ext
in '' $ac_executable_extensions; do
2580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2581 ac_cv_prog_ACLOCAL
="$ac_prog"
2582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 ACLOCAL
=$ac_cv_prog_ACLOCAL
2591 if test -n "$ACLOCAL"; then
2592 echo "$as_me:$LINENO: result: $ACLOCAL" >&5
2593 echo "${ECHO_T}$ACLOCAL" >&6
2595 echo "$as_me:$LINENO: result: no" >&5
2596 echo "${ECHO_T}no" >&6
2599 test -n "$ACLOCAL" && break
2601 test -n "$ACLOCAL" || ACLOCAL
="$MISSING aclocal"
2603 for ac_prog
in autoconf
2605 # Extract the first word of "$ac_prog", so it can be a program name with args.
2606 set dummy
$ac_prog; ac_word
=$2
2607 echo "$as_me:$LINENO: checking for $ac_word" >&5
2608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2609 if test "${ac_cv_prog_AUTOCONF+set}" = set; then
2610 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 if test -n "$AUTOCONF"; then
2613 ac_cv_prog_AUTOCONF
="$AUTOCONF" # Let the user override the test.
2615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2619 test -z "$as_dir" && as_dir
=.
2620 for ac_exec_ext
in '' $ac_executable_extensions; do
2621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2622 ac_cv_prog_AUTOCONF
="$ac_prog"
2623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2631 AUTOCONF
=$ac_cv_prog_AUTOCONF
2632 if test -n "$AUTOCONF"; then
2633 echo "$as_me:$LINENO: result: $AUTOCONF" >&5
2634 echo "${ECHO_T}$AUTOCONF" >&6
2636 echo "$as_me:$LINENO: result: no" >&5
2637 echo "${ECHO_T}no" >&6
2640 test -n "$AUTOCONF" && break
2642 test -n "$AUTOCONF" || AUTOCONF
="$MISSING autoconf"
2644 for ac_prog
in autoheader
2646 # Extract the first word of "$ac_prog", so it can be a program name with args.
2647 set dummy
$ac_prog; ac_word
=$2
2648 echo "$as_me:$LINENO: checking for $ac_word" >&5
2649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2650 if test "${ac_cv_prog_AUTOHEADER+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 if test -n "$AUTOHEADER"; then
2654 ac_cv_prog_AUTOHEADER
="$AUTOHEADER" # Let the user override the test.
2656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir
=.
2661 for ac_exec_ext
in '' $ac_executable_extensions; do
2662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2663 ac_cv_prog_AUTOHEADER
="$ac_prog"
2664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2672 AUTOHEADER
=$ac_cv_prog_AUTOHEADER
2673 if test -n "$AUTOHEADER"; then
2674 echo "$as_me:$LINENO: result: $AUTOHEADER" >&5
2675 echo "${ECHO_T}$AUTOHEADER" >&6
2677 echo "$as_me:$LINENO: result: no" >&5
2678 echo "${ECHO_T}no" >&6
2681 test -n "$AUTOHEADER" && break
2683 test -n "$AUTOHEADER" || AUTOHEADER
="$MISSING autoheader"
2686 # Checks for header files.
2688 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
2689 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
2690 if test "${ac_cv_header_time+set}" = set; then
2691 echo $ECHO_N "(cached) $ECHO_C" >&6
2693 cat >conftest.
$ac_ext <<_ACEOF
2696 cat confdefs.h
>>conftest.
$ac_ext
2697 cat >>conftest.
$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2699 #include <sys/types.h>
2700 #include <sys/time.h>
2706 if ((struct tm *) 0)
2712 rm -f conftest.
$ac_objext
2713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2714 (eval $ac_compile) 2>conftest.er1
2716 grep -v '^ *+' conftest.er1
>conftest.err
2718 cat conftest.err
>&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); } &&
2721 { ac_try
='test -z "$ac_c_werror_flag"
2722 || test ! -s conftest.err'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; } &&
2728 { ac_try
='test -s conftest.$ac_objext'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; }; then
2734 ac_cv_header_time
=yes
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.
$ac_ext >&5
2739 ac_cv_header_time
=no
2741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2743 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
2744 echo "${ECHO_T}$ac_cv_header_time" >&6
2745 if test $ac_cv_header_time = yes; then
2747 cat >>confdefs.h
<<\_ACEOF
2748 #define TIME_WITH_SYS_TIME 1
2753 echo "$as_me:$LINENO: checking whether string.h and strings.h may both be included" >&5
2754 echo $ECHO_N "checking whether string.h and strings.h may both be included... $ECHO_C" >&6
2755 if test "${gcc_cv_header_string+set}" = set; then
2756 echo $ECHO_N "(cached) $ECHO_C" >&6
2758 cat >conftest.
$ac_ext <<_ACEOF
2761 cat confdefs.h
>>conftest.
$ac_ext
2762 cat >>conftest.
$ac_ext <<_ACEOF
2763 /* end confdefs.h. */
2765 #include <strings.h>
2774 rm -f conftest.
$ac_objext
2775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2776 (eval $ac_compile) 2>conftest.er1
2778 grep -v '^ *+' conftest.er1
>conftest.err
2780 cat conftest.err
>&5
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); } &&
2783 { ac_try
='test -z "$ac_c_werror_flag"
2784 || test ! -s conftest.err'
2785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }; } &&
2790 { ac_try
='test -s conftest.$ac_objext'
2791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); }; }; then
2796 gcc_cv_header_string
=yes
2798 echo "$as_me: failed program was:" >&5
2799 sed 's/^/| /' conftest.
$ac_ext >&5
2801 gcc_cv_header_string
=no
2803 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2805 echo "$as_me:$LINENO: result: $gcc_cv_header_string" >&5
2806 echo "${ECHO_T}$gcc_cv_header_string" >&6
2807 if test $gcc_cv_header_string = yes; then
2809 cat >>confdefs.h
<<\_ACEOF
2810 #define STRING_WITH_STRINGS 1
2816 ac_cpp
='$CPP $CPPFLAGS'
2817 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2818 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2819 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2820 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2821 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2822 # On Suns, sometimes $CPP names a directory.
2823 if test -n "$CPP" && test -d "$CPP"; then
2826 if test -z "$CPP"; then
2827 if test "${ac_cv_prog_CPP+set}" = set; then
2828 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 # Double quotes because CPP needs to be expanded
2831 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2834 for ac_c_preproc_warn_flag
in '' yes
2836 # Use a header file that comes with gcc, so configuring glibc
2837 # with a fresh cross-compiler works.
2838 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2839 # <limits.h> exists even on freestanding compilers.
2840 # On the NeXT, cc -E runs the code through the compiler's parser,
2841 # not just through cpp. "Syntax error" is here to catch this case.
2842 cat >conftest.
$ac_ext <<_ACEOF
2845 cat confdefs.h
>>conftest.
$ac_ext
2846 cat >>conftest.
$ac_ext <<_ACEOF
2847 /* end confdefs.h. */
2849 # include <limits.h>
2851 # include <assert.h>
2855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2856 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2858 grep -v '^ *+' conftest.er1
>conftest.err
2860 cat conftest.err
>&5
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); } >/dev
/null
; then
2863 if test -s conftest.err
; then
2864 ac_cpp_err
=$ac_c_preproc_warn_flag
2865 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2872 if test -z "$ac_cpp_err"; then
2875 echo "$as_me: failed program was:" >&5
2876 sed 's/^/| /' conftest.
$ac_ext >&5
2878 # Broken: fails on valid input.
2881 rm -f conftest.err conftest.
$ac_ext
2883 # OK, works on sane cases. Now check whether non-existent headers
2884 # can be detected and how.
2885 cat >conftest.
$ac_ext <<_ACEOF
2888 cat confdefs.h
>>conftest.
$ac_ext
2889 cat >>conftest.
$ac_ext <<_ACEOF
2890 /* end confdefs.h. */
2891 #include <ac_nonexistent.h>
2893 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2894 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2896 grep -v '^ *+' conftest.er1
>conftest.err
2898 cat conftest.err
>&5
2899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900 (exit $ac_status); } >/dev
/null
; then
2901 if test -s conftest.err
; then
2902 ac_cpp_err
=$ac_c_preproc_warn_flag
2903 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2910 if test -z "$ac_cpp_err"; then
2911 # Broken: success on invalid input.
2914 echo "$as_me: failed program was:" >&5
2915 sed 's/^/| /' conftest.
$ac_ext >&5
2917 # Passes both tests.
2921 rm -f conftest.err conftest.
$ac_ext
2924 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2925 rm -f conftest.err conftest.
$ac_ext
2926 if $ac_preproc_ok; then
2938 echo "$as_me:$LINENO: result: $CPP" >&5
2939 echo "${ECHO_T}$CPP" >&6
2941 for ac_c_preproc_warn_flag
in '' yes
2943 # Use a header file that comes with gcc, so configuring glibc
2944 # with a fresh cross-compiler works.
2945 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2946 # <limits.h> exists even on freestanding compilers.
2947 # On the NeXT, cc -E runs the code through the compiler's parser,
2948 # not just through cpp. "Syntax error" is here to catch this case.
2949 cat >conftest.
$ac_ext <<_ACEOF
2952 cat confdefs.h
>>conftest.
$ac_ext
2953 cat >>conftest.
$ac_ext <<_ACEOF
2954 /* end confdefs.h. */
2956 # include <limits.h>
2958 # include <assert.h>
2962 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2963 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2965 grep -v '^ *+' conftest.er1
>conftest.err
2967 cat conftest.err
>&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } >/dev
/null
; then
2970 if test -s conftest.err
; then
2971 ac_cpp_err
=$ac_c_preproc_warn_flag
2972 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2979 if test -z "$ac_cpp_err"; then
2982 echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.
$ac_ext >&5
2985 # Broken: fails on valid input.
2988 rm -f conftest.err conftest.
$ac_ext
2990 # OK, works on sane cases. Now check whether non-existent headers
2991 # can be detected and how.
2992 cat >conftest.
$ac_ext <<_ACEOF
2995 cat confdefs.h
>>conftest.
$ac_ext
2996 cat >>conftest.
$ac_ext <<_ACEOF
2997 /* end confdefs.h. */
2998 #include <ac_nonexistent.h>
3000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3003 grep -v '^ *+' conftest.er1
>conftest.err
3005 cat conftest.err
>&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); } >/dev
/null
; then
3008 if test -s conftest.err
; then
3009 ac_cpp_err
=$ac_c_preproc_warn_flag
3010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3017 if test -z "$ac_cpp_err"; then
3018 # Broken: success on invalid input.
3021 echo "$as_me: failed program was:" >&5
3022 sed 's/^/| /' conftest.
$ac_ext >&5
3024 # Passes both tests.
3028 rm -f conftest.err conftest.
$ac_ext
3031 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3032 rm -f conftest.err conftest.
$ac_ext
3033 if $ac_preproc_ok; then
3036 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3037 See \`config.log' for more details." >&5
3038 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3039 See \`config.log' for more details." >&2;}
3040 { (exit 1); exit 1; }; }
3044 ac_cpp
='$CPP $CPPFLAGS'
3045 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3046 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3047 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3050 echo "$as_me:$LINENO: checking for egrep" >&5
3051 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3052 if test "${ac_cv_prog_egrep+set}" = set; then
3053 echo $ECHO_N "(cached) $ECHO_C" >&6
3055 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3056 then ac_cv_prog_egrep
='grep -E'
3057 else ac_cv_prog_egrep
='egrep'
3060 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3061 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3062 EGREP
=$ac_cv_prog_egrep
3065 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3066 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3067 if test "${ac_cv_header_stdc+set}" = set; then
3068 echo $ECHO_N "(cached) $ECHO_C" >&6
3070 cat >conftest.
$ac_ext <<_ACEOF
3073 cat confdefs.h
>>conftest.
$ac_ext
3074 cat >>conftest.
$ac_ext <<_ACEOF
3075 /* end confdefs.h. */
3089 rm -f conftest.
$ac_objext
3090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3091 (eval $ac_compile) 2>conftest.er1
3093 grep -v '^ *+' conftest.er1
>conftest.err
3095 cat conftest.err
>&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } &&
3098 { ac_try
='test -z "$ac_c_werror_flag"
3099 || test ! -s conftest.err'
3100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }; } &&
3105 { ac_try
='test -s conftest.$ac_objext'
3106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); }; }; then
3111 ac_cv_header_stdc
=yes
3113 echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.
$ac_ext >&5
3116 ac_cv_header_stdc
=no
3118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3120 if test $ac_cv_header_stdc = yes; then
3121 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3122 cat >conftest.
$ac_ext <<_ACEOF
3125 cat confdefs.h
>>conftest.
$ac_ext
3126 cat >>conftest.
$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3132 $EGREP "memchr" >/dev
/null
2>&1; then
3135 ac_cv_header_stdc
=no
3141 if test $ac_cv_header_stdc = yes; then
3142 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3143 cat >conftest.
$ac_ext <<_ACEOF
3146 cat confdefs.h
>>conftest.
$ac_ext
3147 cat >>conftest.
$ac_ext <<_ACEOF
3148 /* end confdefs.h. */
3152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3153 $EGREP "free" >/dev
/null
2>&1; then
3156 ac_cv_header_stdc
=no
3162 if test $ac_cv_header_stdc = yes; then
3163 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3164 if test "$cross_compiling" = yes; then
3167 cat >conftest.
$ac_ext <<_ACEOF
3170 cat confdefs.h
>>conftest.
$ac_ext
3171 cat >>conftest.
$ac_ext <<_ACEOF
3172 /* end confdefs.h. */
3174 #if ((' ' & 0x0FF) == 0x020)
3175 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3176 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3178 # define ISLOWER(c) \
3179 (('a' <= (c) && (c) <= 'i') \
3180 || ('j' <= (c) && (c) <= 'r') \
3181 || ('s' <= (c) && (c) <= 'z'))
3182 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3185 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3190 for (i = 0; i < 256; i++)
3191 if (XOR (islower (i), ISLOWER (i))
3192 || toupper (i) != TOUPPER (i))
3197 rm -f conftest
$ac_exeext
3198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3199 (eval $ac_link) 2>&5
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }; }; then
3210 echo "$as_me: program exited with status $ac_status" >&5
3211 echo "$as_me: failed program was:" >&5
3212 sed 's/^/| /' conftest.
$ac_ext >&5
3215 ac_cv_header_stdc
=no
3217 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3221 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3222 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3223 if test $ac_cv_header_stdc = yes; then
3225 cat >>confdefs.h
<<\_ACEOF
3226 #define STDC_HEADERS 1
3231 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3241 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3242 inttypes.h stdint.h unistd.h
3244 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3245 echo "$as_me:$LINENO: checking for $ac_header" >&5
3246 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3248 echo $ECHO_N "(cached) $ECHO_C" >&6
3250 cat >conftest.
$ac_ext <<_ACEOF
3253 cat confdefs.h
>>conftest.
$ac_ext
3254 cat >>conftest.
$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3256 $ac_includes_default
3258 #include <$ac_header>
3260 rm -f conftest.
$ac_objext
3261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3262 (eval $ac_compile) 2>conftest.er1
3264 grep -v '^ *+' conftest.er1
>conftest.err
3266 cat conftest.err
>&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); } &&
3269 { ac_try
='test -z "$ac_c_werror_flag"
3270 || test ! -s conftest.err'
3271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); }; } &&
3276 { ac_try
='test -s conftest.$ac_objext'
3277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); }; }; then
3282 eval "$as_ac_Header=yes"
3284 echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.
$ac_ext >&5
3287 eval "$as_ac_Header=no"
3289 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3294 cat >>confdefs.h
<<_ACEOF
3295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3313 for ac_header
in iconv.h locale.h fcntl.h limits.h stddef.h \
3314 stdlib.h
strings.h string.h sys
/file.h unistd.h
3316 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3318 echo "$as_me:$LINENO: checking for $ac_header" >&5
3319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3321 echo $ECHO_N "(cached) $ECHO_C" >&6
3323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3326 # Is the header compilable?
3327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3329 cat >conftest.
$ac_ext <<_ACEOF
3332 cat confdefs.h
>>conftest.
$ac_ext
3333 cat >>conftest.
$ac_ext <<_ACEOF
3334 /* end confdefs.h. */
3335 $ac_includes_default
3336 #include <$ac_header>
3338 rm -f conftest.
$ac_objext
3339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3340 (eval $ac_compile) 2>conftest.er1
3342 grep -v '^ *+' conftest.er1
>conftest.err
3344 cat conftest.err
>&5
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); } &&
3347 { ac_try
='test -z "$ac_c_werror_flag"
3348 || test ! -s conftest.err'
3349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 (exit $ac_status); }; } &&
3354 { ac_try
='test -s conftest.$ac_objext'
3355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359 (exit $ac_status); }; }; then
3360 ac_header_compiler
=yes
3362 echo "$as_me: failed program was:" >&5
3363 sed 's/^/| /' conftest.
$ac_ext >&5
3365 ac_header_compiler
=no
3367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3369 echo "${ECHO_T}$ac_header_compiler" >&6
3371 # Is the header present?
3372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3374 cat >conftest.
$ac_ext <<_ACEOF
3377 cat confdefs.h
>>conftest.
$ac_ext
3378 cat >>conftest.
$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3380 #include <$ac_header>
3382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3383 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3385 grep -v '^ *+' conftest.er1
>conftest.err
3387 cat conftest.err
>&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } >/dev
/null
; then
3390 if test -s conftest.err
; then
3391 ac_cpp_err
=$ac_c_preproc_warn_flag
3392 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3399 if test -z "$ac_cpp_err"; then
3400 ac_header_preproc
=yes
3402 echo "$as_me: failed program was:" >&5
3403 sed 's/^/| /' conftest.
$ac_ext >&5
3405 ac_header_preproc
=no
3407 rm -f conftest.err conftest.
$ac_ext
3408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3409 echo "${ECHO_T}$ac_header_preproc" >&6
3411 # So? What about this header?
3412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3414 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3417 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3418 ac_header_preproc
=yes
3421 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3423 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3424 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3425 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3426 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3427 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3428 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3431 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3432 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3435 ## ----------------------------------- ##
3436 ## Report this to gcc-bugs@gcc.gnu.org ##
3437 ## ----------------------------------- ##
3440 sed "s/^/$as_me: WARNING: /" >&2
3443 echo "$as_me:$LINENO: checking for $ac_header" >&5
3444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3446 echo $ECHO_N "(cached) $ECHO_C" >&6
3448 eval "$as_ac_Header=\$ac_header_preproc"
3450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3455 cat >>confdefs.h
<<_ACEOF
3456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3464 # Checks for typedefs, structures, and compiler characteristics.
3465 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3466 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3467 if test "${ac_cv_c_const+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3470 cat >conftest.
$ac_ext <<_ACEOF
3473 cat confdefs.h
>>conftest.
$ac_ext
3474 cat >>conftest.
$ac_ext <<_ACEOF
3475 /* end confdefs.h. */
3480 /* FIXME: Include the comments suggested by Paul. */
3482 /* Ultrix mips cc rejects this. */
3483 typedef int charset[2];
3485 /* SunOS 4.1.1 cc rejects this. */
3486 char const *const *ccp;
3488 /* NEC SVR4.0.2 mips cc rejects this. */
3489 struct point {int x, y;};
3490 static struct point const zero = {0,0};
3491 /* AIX XL C 1.02.0.0 rejects this.
3492 It does not let you subtract one const X* pointer from another in
3493 an arm of an if-expression whose if-part is not a constant
3495 const char *g = "string";
3496 ccp = &g + (g ? g-g : 0);
3497 /* HPUX 7.0 cc rejects these. */
3500 ccp = (char const *const *) p;
3501 { /* SCO 3.2v4 cc rejects this. */
3503 char const *s = 0 ? (char *) 0 : (char const *) 0;
3507 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3509 const int *foo = &x[0];
3512 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3513 typedef const int *iptr;
3517 { /* AIX XL C 1.02.0.0 rejects this saying
3518 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3519 struct s { int j; const int *ap[3]; };
3520 struct s *b; b->j = 5;
3522 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3531 rm -f conftest.
$ac_objext
3532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3533 (eval $ac_compile) 2>conftest.er1
3535 grep -v '^ *+' conftest.er1
>conftest.err
3537 cat conftest.err
>&5
3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); } &&
3540 { ac_try
='test -z "$ac_c_werror_flag"
3541 || test ! -s conftest.err'
3542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); }; } &&
3547 { ac_try
='test -s conftest.$ac_objext'
3548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552 (exit $ac_status); }; }; then
3555 echo "$as_me: failed program was:" >&5
3556 sed 's/^/| /' conftest.
$ac_ext >&5
3560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3562 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3563 echo "${ECHO_T}$ac_cv_c_const" >&6
3564 if test $ac_cv_c_const = no
; then
3566 cat >>confdefs.h
<<\_ACEOF
3572 echo "$as_me:$LINENO: checking for inline" >&5
3573 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3574 if test "${ac_cv_c_inline+set}" = set; then
3575 echo $ECHO_N "(cached) $ECHO_C" >&6
3578 for ac_kw
in inline __inline__ __inline
; do
3579 cat >conftest.
$ac_ext <<_ACEOF
3582 cat confdefs.h
>>conftest.
$ac_ext
3583 cat >>conftest.
$ac_ext <<_ACEOF
3584 /* end confdefs.h. */
3587 static $ac_kw foo_t static_foo () {return 0; }
3588 $ac_kw foo_t foo () {return 0; }
3592 rm -f conftest.
$ac_objext
3593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3594 (eval $ac_compile) 2>conftest.er1
3596 grep -v '^ *+' conftest.er1
>conftest.err
3598 cat conftest.err
>&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); } &&
3601 { ac_try
='test -z "$ac_c_werror_flag"
3602 || test ! -s conftest.err'
3603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); }; } &&
3608 { ac_try
='test -s conftest.$ac_objext'
3609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3613 (exit $ac_status); }; }; then
3614 ac_cv_c_inline
=$ac_kw; break
3616 echo "$as_me: failed program was:" >&5
3617 sed 's/^/| /' conftest.
$ac_ext >&5
3620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3624 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3625 echo "${ECHO_T}$ac_cv_c_inline" >&6
3628 case $ac_cv_c_inline in
3631 case $ac_cv_c_inline in
3633 *) ac_val
=$ac_cv_c_inline;;
3635 cat >>confdefs.h
<<_ACEOF
3637 #define inline $ac_val
3643 echo "$as_me:$LINENO: checking for obstacks" >&5
3644 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
3645 if test "${ac_cv_func_obstack+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3648 cat >conftest.
$ac_ext <<_ACEOF
3651 cat confdefs.h
>>conftest.
$ac_ext
3652 cat >>conftest.
$ac_ext <<_ACEOF
3653 /* end confdefs.h. */
3654 #include "obstack.h"
3658 struct obstack *mem; obstack_free(mem,(char *) 0)
3663 rm -f conftest.
$ac_objext conftest
$ac_exeext
3664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3665 (eval $ac_link) 2>conftest.er1
3667 grep -v '^ *+' conftest.er1
>conftest.err
3669 cat conftest.err
>&5
3670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3671 (exit $ac_status); } &&
3672 { ac_try
='test -z "$ac_c_werror_flag"
3673 || test ! -s conftest.err'
3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; } &&
3679 { ac_try
='test -s conftest$ac_exeext'
3680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); }; }; then
3685 ac_cv_func_obstack
=yes
3687 echo "$as_me: failed program was:" >&5
3688 sed 's/^/| /' conftest.
$ac_ext >&5
3690 ac_cv_func_obstack
=no
3692 rm -f conftest.err conftest.
$ac_objext \
3693 conftest
$ac_exeext conftest.
$ac_ext
3695 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
3696 echo "${ECHO_T}$ac_cv_func_obstack" >&6
3697 if test $ac_cv_func_obstack = yes; then
3699 cat >>confdefs.h
<<\_ACEOF
3700 #define HAVE_OBSTACK 1
3705 "obstack.$ac_objext" | \
3706 *" obstack.$ac_objext" | \
3707 "obstack.$ac_objext "* | \
3708 *" obstack.$ac_objext "* ) ;;
3709 *) LIBOBJS
="$LIBOBJS obstack.$ac_objext" ;;
3714 echo "$as_me:$LINENO: checking for off_t" >&5
3715 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
3716 if test "${ac_cv_type_off_t+set}" = set; then
3717 echo $ECHO_N "(cached) $ECHO_C" >&6
3719 cat >conftest.
$ac_ext <<_ACEOF
3722 cat confdefs.h
>>conftest.
$ac_ext
3723 cat >>conftest.
$ac_ext <<_ACEOF
3724 /* end confdefs.h. */
3725 $ac_includes_default
3737 rm -f conftest.
$ac_objext
3738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3739 (eval $ac_compile) 2>conftest.er1
3741 grep -v '^ *+' conftest.er1
>conftest.err
3743 cat conftest.err
>&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } &&
3746 { ac_try
='test -z "$ac_c_werror_flag"
3747 || test ! -s conftest.err'
3748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); }; } &&
3753 { ac_try
='test -s conftest.$ac_objext'
3754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3758 (exit $ac_status); }; }; then
3759 ac_cv_type_off_t
=yes
3761 echo "$as_me: failed program was:" >&5
3762 sed 's/^/| /' conftest.
$ac_ext >&5
3766 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3768 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
3769 echo "${ECHO_T}$ac_cv_type_off_t" >&6
3770 if test $ac_cv_type_off_t = yes; then
3774 cat >>confdefs.h
<<_ACEOF
3780 echo "$as_me:$LINENO: checking for size_t" >&5
3781 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3782 if test "${ac_cv_type_size_t+set}" = set; then
3783 echo $ECHO_N "(cached) $ECHO_C" >&6
3785 cat >conftest.
$ac_ext <<_ACEOF
3788 cat confdefs.h
>>conftest.
$ac_ext
3789 cat >>conftest.
$ac_ext <<_ACEOF
3790 /* end confdefs.h. */
3791 $ac_includes_default
3797 if (sizeof (size_t))
3803 rm -f conftest.
$ac_objext
3804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3805 (eval $ac_compile) 2>conftest.er1
3807 grep -v '^ *+' conftest.er1
>conftest.err
3809 cat conftest.err
>&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); } &&
3812 { ac_try
='test -z "$ac_c_werror_flag"
3813 || test ! -s conftest.err'
3814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); }; } &&
3819 { ac_try
='test -s conftest.$ac_objext'
3820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); }; }; then
3825 ac_cv_type_size_t
=yes
3827 echo "$as_me: failed program was:" >&5
3828 sed 's/^/| /' conftest.
$ac_ext >&5
3830 ac_cv_type_size_t
=no
3832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3834 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3835 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3836 if test $ac_cv_type_size_t = yes; then
3840 cat >>confdefs.h
<<_ACEOF
3841 #define size_t unsigned
3846 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
3847 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3848 if test "${ac_cv_struct_tm+set}" = set; then
3849 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 cat >conftest.
$ac_ext <<_ACEOF
3854 cat confdefs.h
>>conftest.
$ac_ext
3855 cat >>conftest.
$ac_ext <<_ACEOF
3856 /* end confdefs.h. */
3857 #include <sys/types.h>
3863 struct tm *tp; tp->tm_sec;
3868 rm -f conftest.
$ac_objext
3869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3870 (eval $ac_compile) 2>conftest.er1
3872 grep -v '^ *+' conftest.er1
>conftest.err
3874 cat conftest.err
>&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); } &&
3877 { ac_try
='test -z "$ac_c_werror_flag"
3878 || test ! -s conftest.err'
3879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); }; } &&
3884 { ac_try
='test -s conftest.$ac_objext'
3885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3889 (exit $ac_status); }; }; then
3890 ac_cv_struct_tm
=time.h
3892 echo "$as_me: failed program was:" >&5
3893 sed 's/^/| /' conftest.
$ac_ext >&5
3895 ac_cv_struct_tm
=sys
/time.h
3897 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3899 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
3900 echo "${ECHO_T}$ac_cv_struct_tm" >&6
3901 if test $ac_cv_struct_tm = sys
/time.h
; then
3903 cat >>confdefs.h
<<\_ACEOF
3904 #define TM_IN_SYS_TIME 1
3909 echo "$as_me:$LINENO: checking for int" >&5
3910 echo $ECHO_N "checking for int... $ECHO_C" >&6
3911 if test "${ac_cv_type_int+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 cat >conftest.
$ac_ext <<_ACEOF
3917 cat confdefs.h
>>conftest.
$ac_ext
3918 cat >>conftest.
$ac_ext <<_ACEOF
3919 /* end confdefs.h. */
3920 $ac_includes_default
3932 rm -f conftest.
$ac_objext
3933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3934 (eval $ac_compile) 2>conftest.er1
3936 grep -v '^ *+' conftest.er1
>conftest.err
3938 cat conftest.err
>&5
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); } &&
3941 { ac_try
='test -z "$ac_c_werror_flag"
3942 || test ! -s conftest.err'
3943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3947 (exit $ac_status); }; } &&
3948 { ac_try
='test -s conftest.$ac_objext'
3949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3953 (exit $ac_status); }; }; then
3956 echo "$as_me: failed program was:" >&5
3957 sed 's/^/| /' conftest.
$ac_ext >&5
3961 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3963 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
3964 echo "${ECHO_T}$ac_cv_type_int" >&6
3966 echo "$as_me:$LINENO: checking size of int" >&5
3967 echo $ECHO_N "checking size of int... $ECHO_C" >&6
3968 if test "${ac_cv_sizeof_int+set}" = set; then
3969 echo $ECHO_N "(cached) $ECHO_C" >&6
3971 if test "$ac_cv_type_int" = yes; then
3972 # The cast to unsigned long works around a bug in the HP C Compiler
3973 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3974 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3975 # This bug is HP SR number 8606223364.
3976 if test "$cross_compiling" = yes; then
3977 # Depending upon the size, compute the lo and hi bounds.
3978 cat >conftest.
$ac_ext <<_ACEOF
3981 cat confdefs.h
>>conftest.
$ac_ext
3982 cat >>conftest.
$ac_ext <<_ACEOF
3983 /* end confdefs.h. */
3984 $ac_includes_default
3988 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
3995 rm -f conftest.
$ac_objext
3996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3997 (eval $ac_compile) 2>conftest.er1
3999 grep -v '^ *+' conftest.er1
>conftest.err
4001 cat conftest.err
>&5
4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003 (exit $ac_status); } &&
4004 { ac_try
='test -z "$ac_c_werror_flag"
4005 || test ! -s conftest.err'
4006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); }; } &&
4011 { ac_try
='test -s conftest.$ac_objext'
4012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); }; }; then
4019 cat >conftest.
$ac_ext <<_ACEOF
4022 cat confdefs.h
>>conftest.
$ac_ext
4023 cat >>conftest.
$ac_ext <<_ACEOF
4024 /* end confdefs.h. */
4025 $ac_includes_default
4029 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4036 rm -f conftest.
$ac_objext
4037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4038 (eval $ac_compile) 2>conftest.er1
4040 grep -v '^ *+' conftest.er1
>conftest.err
4042 cat conftest.err
>&5
4043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044 (exit $ac_status); } &&
4045 { ac_try
='test -z "$ac_c_werror_flag"
4046 || test ! -s conftest.err'
4047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4051 (exit $ac_status); }; } &&
4052 { ac_try
='test -s conftest.$ac_objext'
4053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4057 (exit $ac_status); }; }; then
4058 ac_hi
=$ac_mid; break
4060 echo "$as_me: failed program was:" >&5
4061 sed 's/^/| /' conftest.
$ac_ext >&5
4063 ac_lo
=`expr $ac_mid + 1`
4064 if test $ac_lo -le $ac_mid; then
4068 ac_mid
=`expr 2 '*' $ac_mid + 1`
4070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4073 echo "$as_me: failed program was:" >&5
4074 sed 's/^/| /' conftest.
$ac_ext >&5
4076 cat >conftest.
$ac_ext <<_ACEOF
4079 cat confdefs.h
>>conftest.
$ac_ext
4080 cat >>conftest.
$ac_ext <<_ACEOF
4081 /* end confdefs.h. */
4082 $ac_includes_default
4086 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
4093 rm -f conftest.
$ac_objext
4094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4095 (eval $ac_compile) 2>conftest.er1
4097 grep -v '^ *+' conftest.er1
>conftest.err
4099 cat conftest.err
>&5
4100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4101 (exit $ac_status); } &&
4102 { ac_try
='test -z "$ac_c_werror_flag"
4103 || test ! -s conftest.err'
4104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4108 (exit $ac_status); }; } &&
4109 { ac_try
='test -s conftest.$ac_objext'
4110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4114 (exit $ac_status); }; }; then
4117 cat >conftest.
$ac_ext <<_ACEOF
4120 cat confdefs.h
>>conftest.
$ac_ext
4121 cat >>conftest.
$ac_ext <<_ACEOF
4122 /* end confdefs.h. */
4123 $ac_includes_default
4127 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
4134 rm -f conftest.
$ac_objext
4135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4136 (eval $ac_compile) 2>conftest.er1
4138 grep -v '^ *+' conftest.er1
>conftest.err
4140 cat conftest.err
>&5
4141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 (exit $ac_status); } &&
4143 { ac_try
='test -z "$ac_c_werror_flag"
4144 || test ! -s conftest.err'
4145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149 (exit $ac_status); }; } &&
4150 { ac_try
='test -s conftest.$ac_objext'
4151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4155 (exit $ac_status); }; }; then
4156 ac_lo
=$ac_mid; break
4158 echo "$as_me: failed program was:" >&5
4159 sed 's/^/| /' conftest.
$ac_ext >&5
4161 ac_hi
=`expr '(' $ac_mid ')' - 1`
4162 if test $ac_mid -le $ac_hi; then
4166 ac_mid
=`expr 2 '*' $ac_mid`
4168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4171 echo "$as_me: failed program was:" >&5
4172 sed 's/^/| /' conftest.
$ac_ext >&5
4176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4179 # Binary search between lo and hi bounds.
4180 while test "x$ac_lo" != "x$ac_hi"; do
4181 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4182 cat >conftest.
$ac_ext <<_ACEOF
4185 cat confdefs.h
>>conftest.
$ac_ext
4186 cat >>conftest.
$ac_ext <<_ACEOF
4187 /* end confdefs.h. */
4188 $ac_includes_default
4192 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
4199 rm -f conftest.
$ac_objext
4200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4201 (eval $ac_compile) 2>conftest.er1
4203 grep -v '^ *+' conftest.er1
>conftest.err
4205 cat conftest.err
>&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); } &&
4208 { ac_try
='test -z "$ac_c_werror_flag"
4209 || test ! -s conftest.err'
4210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); }; } &&
4215 { ac_try
='test -s conftest.$ac_objext'
4216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); }; }; then
4223 echo "$as_me: failed program was:" >&5
4224 sed 's/^/| /' conftest.
$ac_ext >&5
4226 ac_lo
=`expr '(' $ac_mid ')' + 1`
4228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4231 ?
*) ac_cv_sizeof_int
=$ac_lo;;
4232 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4233 See \`config.log' for more details." >&5
4234 echo "$as_me: error: cannot compute sizeof (int), 77
4235 See \`config.log' for more details." >&2;}
4236 { (exit 1); exit 1; }; } ;;
4239 if test "$cross_compiling" = yes; then
4240 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4241 See \`config.log' for more details." >&5
4242 echo "$as_me: error: cannot run test program while cross compiling
4243 See \`config.log' for more details." >&2;}
4244 { (exit 1); exit 1; }; }
4246 cat >conftest.
$ac_ext <<_ACEOF
4249 cat confdefs.h
>>conftest.
$ac_ext
4250 cat >>conftest.
$ac_ext <<_ACEOF
4251 /* end confdefs.h. */
4252 $ac_includes_default
4253 long longval () { return (long) (sizeof (int)); }
4254 unsigned long ulongval () { return (long) (sizeof (int)); }
4261 FILE *f = fopen ("conftest.val", "w");
4264 if (((long) (sizeof (int))) < 0)
4266 long i = longval ();
4267 if (i != ((long) (sizeof (int))))
4269 fprintf (f, "%ld\n", i);
4273 unsigned long i = ulongval ();
4274 if (i != ((long) (sizeof (int))))
4276 fprintf (f, "%lu\n", i);
4278 exit (ferror (f) || fclose (f) != 0);
4284 rm -f conftest
$ac_exeext
4285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4286 (eval $ac_link) 2>&5
4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4294 (exit $ac_status); }; }; then
4295 ac_cv_sizeof_int
=`cat conftest.val`
4297 echo "$as_me: program exited with status $ac_status" >&5
4298 echo "$as_me: failed program was:" >&5
4299 sed 's/^/| /' conftest.
$ac_ext >&5
4302 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
4303 See \`config.log' for more details." >&5
4304 echo "$as_me: error: cannot compute sizeof (int), 77
4305 See \`config.log' for more details." >&2;}
4306 { (exit 1); exit 1; }; }
4308 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4316 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
4317 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
4318 cat >>confdefs.h
<<_ACEOF
4319 #define SIZEOF_INT $ac_cv_sizeof_int
4323 echo "$as_me:$LINENO: checking for long" >&5
4324 echo $ECHO_N "checking for long... $ECHO_C" >&6
4325 if test "${ac_cv_type_long+set}" = set; then
4326 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 cat >conftest.
$ac_ext <<_ACEOF
4331 cat confdefs.h
>>conftest.
$ac_ext
4332 cat >>conftest.
$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4334 $ac_includes_default
4346 rm -f conftest.
$ac_objext
4347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4348 (eval $ac_compile) 2>conftest.er1
4350 grep -v '^ *+' conftest.er1
>conftest.err
4352 cat conftest.err
>&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); } &&
4355 { ac_try
='test -z "$ac_c_werror_flag"
4356 || test ! -s conftest.err'
4357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); }; } &&
4362 { ac_try
='test -s conftest.$ac_objext'
4363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367 (exit $ac_status); }; }; then
4370 echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.
$ac_ext >&5
4375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4377 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4378 echo "${ECHO_T}$ac_cv_type_long" >&6
4380 echo "$as_me:$LINENO: checking size of long" >&5
4381 echo $ECHO_N "checking size of long... $ECHO_C" >&6
4382 if test "${ac_cv_sizeof_long+set}" = set; then
4383 echo $ECHO_N "(cached) $ECHO_C" >&6
4385 if test "$ac_cv_type_long" = yes; then
4386 # The cast to unsigned long works around a bug in the HP C Compiler
4387 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4388 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4389 # This bug is HP SR number 8606223364.
4390 if test "$cross_compiling" = yes; then
4391 # Depending upon the size, compute the lo and hi bounds.
4392 cat >conftest.
$ac_ext <<_ACEOF
4395 cat confdefs.h
>>conftest.
$ac_ext
4396 cat >>conftest.
$ac_ext <<_ACEOF
4397 /* end confdefs.h. */
4398 $ac_includes_default
4402 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4409 rm -f conftest.
$ac_objext
4410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4411 (eval $ac_compile) 2>conftest.er1
4413 grep -v '^ *+' conftest.er1
>conftest.err
4415 cat conftest.err
>&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); } &&
4418 { ac_try
='test -z "$ac_c_werror_flag"
4419 || test ! -s conftest.err'
4420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); }; } &&
4425 { ac_try
='test -s conftest.$ac_objext'
4426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); }; }; then
4433 cat >conftest.
$ac_ext <<_ACEOF
4436 cat confdefs.h
>>conftest.
$ac_ext
4437 cat >>conftest.
$ac_ext <<_ACEOF
4438 /* end confdefs.h. */
4439 $ac_includes_default
4443 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4450 rm -f conftest.
$ac_objext
4451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4452 (eval $ac_compile) 2>conftest.er1
4454 grep -v '^ *+' conftest.er1
>conftest.err
4456 cat conftest.err
>&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); } &&
4459 { ac_try
='test -z "$ac_c_werror_flag"
4460 || test ! -s conftest.err'
4461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; } &&
4466 { ac_try
='test -s conftest.$ac_objext'
4467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); }; }; then
4472 ac_hi
=$ac_mid; break
4474 echo "$as_me: failed program was:" >&5
4475 sed 's/^/| /' conftest.
$ac_ext >&5
4477 ac_lo
=`expr $ac_mid + 1`
4478 if test $ac_lo -le $ac_mid; then
4482 ac_mid
=`expr 2 '*' $ac_mid + 1`
4484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4487 echo "$as_me: failed program was:" >&5
4488 sed 's/^/| /' conftest.
$ac_ext >&5
4490 cat >conftest.
$ac_ext <<_ACEOF
4493 cat confdefs.h
>>conftest.
$ac_ext
4494 cat >>conftest.
$ac_ext <<_ACEOF
4495 /* end confdefs.h. */
4496 $ac_includes_default
4500 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4507 rm -f conftest.
$ac_objext
4508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4509 (eval $ac_compile) 2>conftest.er1
4511 grep -v '^ *+' conftest.er1
>conftest.err
4513 cat conftest.err
>&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); } &&
4516 { ac_try
='test -z "$ac_c_werror_flag"
4517 || test ! -s conftest.err'
4518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); }; } &&
4523 { ac_try
='test -s conftest.$ac_objext'
4524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); }; }; then
4531 cat >conftest.
$ac_ext <<_ACEOF
4534 cat confdefs.h
>>conftest.
$ac_ext
4535 cat >>conftest.
$ac_ext <<_ACEOF
4536 /* end confdefs.h. */
4537 $ac_includes_default
4541 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4548 rm -f conftest.
$ac_objext
4549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4550 (eval $ac_compile) 2>conftest.er1
4552 grep -v '^ *+' conftest.er1
>conftest.err
4554 cat conftest.err
>&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); } &&
4557 { ac_try
='test -z "$ac_c_werror_flag"
4558 || test ! -s conftest.err'
4559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4563 (exit $ac_status); }; } &&
4564 { ac_try
='test -s conftest.$ac_objext'
4565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); }; }; then
4570 ac_lo
=$ac_mid; break
4572 echo "$as_me: failed program was:" >&5
4573 sed 's/^/| /' conftest.
$ac_ext >&5
4575 ac_hi
=`expr '(' $ac_mid ')' - 1`
4576 if test $ac_mid -le $ac_hi; then
4580 ac_mid
=`expr 2 '*' $ac_mid`
4582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4585 echo "$as_me: failed program was:" >&5
4586 sed 's/^/| /' conftest.
$ac_ext >&5
4590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4593 # Binary search between lo and hi bounds.
4594 while test "x$ac_lo" != "x$ac_hi"; do
4595 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4596 cat >conftest.
$ac_ext <<_ACEOF
4599 cat confdefs.h
>>conftest.
$ac_ext
4600 cat >>conftest.
$ac_ext <<_ACEOF
4601 /* end confdefs.h. */
4602 $ac_includes_default
4606 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4613 rm -f conftest.
$ac_objext
4614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4615 (eval $ac_compile) 2>conftest.er1
4617 grep -v '^ *+' conftest.er1
>conftest.err
4619 cat conftest.err
>&5
4620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621 (exit $ac_status); } &&
4622 { ac_try
='test -z "$ac_c_werror_flag"
4623 || test ! -s conftest.err'
4624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); }; } &&
4629 { ac_try
='test -s conftest.$ac_objext'
4630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); }; }; then
4637 echo "$as_me: failed program was:" >&5
4638 sed 's/^/| /' conftest.
$ac_ext >&5
4640 ac_lo
=`expr '(' $ac_mid ')' + 1`
4642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4645 ?
*) ac_cv_sizeof_long
=$ac_lo;;
4646 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4647 See \`config.log' for more details." >&5
4648 echo "$as_me: error: cannot compute sizeof (long), 77
4649 See \`config.log' for more details." >&2;}
4650 { (exit 1); exit 1; }; } ;;
4653 if test "$cross_compiling" = yes; then
4654 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4655 See \`config.log' for more details." >&5
4656 echo "$as_me: error: cannot run test program while cross compiling
4657 See \`config.log' for more details." >&2;}
4658 { (exit 1); exit 1; }; }
4660 cat >conftest.
$ac_ext <<_ACEOF
4663 cat confdefs.h
>>conftest.
$ac_ext
4664 cat >>conftest.
$ac_ext <<_ACEOF
4665 /* end confdefs.h. */
4666 $ac_includes_default
4667 long longval () { return (long) (sizeof (long)); }
4668 unsigned long ulongval () { return (long) (sizeof (long)); }
4675 FILE *f = fopen ("conftest.val", "w");
4678 if (((long) (sizeof (long))) < 0)
4680 long i = longval ();
4681 if (i != ((long) (sizeof (long))))
4683 fprintf (f, "%ld\n", i);
4687 unsigned long i = ulongval ();
4688 if (i != ((long) (sizeof (long))))
4690 fprintf (f, "%lu\n", i);
4692 exit (ferror (f) || fclose (f) != 0);
4698 rm -f conftest
$ac_exeext
4699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4700 (eval $ac_link) 2>&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4708 (exit $ac_status); }; }; then
4709 ac_cv_sizeof_long
=`cat conftest.val`
4711 echo "$as_me: program exited with status $ac_status" >&5
4712 echo "$as_me: failed program was:" >&5
4713 sed 's/^/| /' conftest.
$ac_ext >&5
4716 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4717 See \`config.log' for more details." >&5
4718 echo "$as_me: error: cannot compute sizeof (long), 77
4719 See \`config.log' for more details." >&2;}
4720 { (exit 1); exit 1; }; }
4722 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4730 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4731 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4732 cat >>confdefs.h
<<_ACEOF
4733 #define SIZEOF_LONG $ac_cv_sizeof_long
4742 for ac_func
in putc_unlocked fputc_unlocked fputs_unlocked \
4743 fwrite_unlocked fprintf_unlocked
4745 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4746 echo "$as_me:$LINENO: checking for $ac_func" >&5
4747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4748 if eval "test \"\${$as_ac_var+set}\" = set"; then
4749 echo $ECHO_N "(cached) $ECHO_C" >&6
4751 cat >conftest.
$ac_ext <<_ACEOF
4754 cat confdefs.h
>>conftest.
$ac_ext
4755 cat >>conftest.
$ac_ext <<_ACEOF
4756 /* end confdefs.h. */
4757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4759 #define $ac_func innocuous_$ac_func
4761 /* System header to define __stub macros and hopefully few prototypes,
4762 which can conflict with char $ac_func (); below.
4763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4764 <limits.h> exists even on freestanding compilers. */
4767 # include <limits.h>
4769 # include <assert.h>
4774 /* Override any gcc2 internal prototype to avoid an error. */
4779 /* We use char because int might match the return type of a gcc2
4780 builtin and then its argument prototype would still apply. */
4782 /* The GNU C library defines this for functions which it implements
4783 to always fail with ENOSYS. Some functions are actually named
4784 something starting with __ and the normal name is an alias. */
4785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4788 char (*f) () = $ac_func;
4797 return f != $ac_func;
4802 rm -f conftest.
$ac_objext conftest
$ac_exeext
4803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4804 (eval $ac_link) 2>conftest.er1
4806 grep -v '^ *+' conftest.er1
>conftest.err
4808 cat conftest.err
>&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); } &&
4811 { ac_try
='test -z "$ac_c_werror_flag"
4812 || test ! -s conftest.err'
4813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); }; } &&
4818 { ac_try
='test -s conftest$ac_exeext'
4819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }; }; then
4824 eval "$as_ac_var=yes"
4826 echo "$as_me: failed program was:" >&5
4827 sed 's/^/| /' conftest.
$ac_ext >&5
4829 eval "$as_ac_var=no"
4831 rm -f conftest.err conftest.
$ac_objext \
4832 conftest
$ac_exeext conftest.
$ac_ext
4834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4836 if test `eval echo '${'$as_ac_var'}'` = yes; then
4837 cat >>confdefs.h
<<_ACEOF
4838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4844 echo "$as_me:$LINENO: checking whether abort is declared" >&5
4845 echo $ECHO_N "checking whether abort is declared... $ECHO_C" >&6
4846 if test "${ac_cv_have_decl_abort+set}" = set; then
4847 echo $ECHO_N "(cached) $ECHO_C" >&6
4849 cat >conftest.
$ac_ext <<_ACEOF
4852 cat confdefs.h
>>conftest.
$ac_ext
4853 cat >>conftest.
$ac_ext <<_ACEOF
4854 /* end confdefs.h. */
4855 $ac_includes_default
4860 char *p = (char *) abort;
4867 rm -f conftest.
$ac_objext
4868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4869 (eval $ac_compile) 2>conftest.er1
4871 grep -v '^ *+' conftest.er1
>conftest.err
4873 cat conftest.err
>&5
4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875 (exit $ac_status); } &&
4876 { ac_try
='test -z "$ac_c_werror_flag"
4877 || test ! -s conftest.err'
4878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); }; } &&
4883 { ac_try
='test -s conftest.$ac_objext'
4884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888 (exit $ac_status); }; }; then
4889 ac_cv_have_decl_abort
=yes
4891 echo "$as_me: failed program was:" >&5
4892 sed 's/^/| /' conftest.
$ac_ext >&5
4894 ac_cv_have_decl_abort
=no
4896 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4898 echo "$as_me:$LINENO: result: $ac_cv_have_decl_abort" >&5
4899 echo "${ECHO_T}$ac_cv_have_decl_abort" >&6
4900 if test $ac_cv_have_decl_abort = yes; then
4902 cat >>confdefs.h
<<_ACEOF
4903 #define HAVE_DECL_ABORT 1
4908 cat >>confdefs.h
<<_ACEOF
4909 #define HAVE_DECL_ABORT 0
4914 echo "$as_me:$LINENO: checking whether errno is declared" >&5
4915 echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6
4916 if test "${ac_cv_have_decl_errno+set}" = set; then
4917 echo $ECHO_N "(cached) $ECHO_C" >&6
4919 cat >conftest.
$ac_ext <<_ACEOF
4922 cat confdefs.h
>>conftest.
$ac_ext
4923 cat >>conftest.
$ac_ext <<_ACEOF
4924 /* end confdefs.h. */
4925 $ac_includes_default
4930 char *p = (char *) errno;
4937 rm -f conftest.
$ac_objext
4938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4939 (eval $ac_compile) 2>conftest.er1
4941 grep -v '^ *+' conftest.er1
>conftest.err
4943 cat conftest.err
>&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); } &&
4946 { ac_try
='test -z "$ac_c_werror_flag"
4947 || test ! -s conftest.err'
4948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4952 (exit $ac_status); }; } &&
4953 { ac_try
='test -s conftest.$ac_objext'
4954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958 (exit $ac_status); }; }; then
4959 ac_cv_have_decl_errno
=yes
4961 echo "$as_me: failed program was:" >&5
4962 sed 's/^/| /' conftest.
$ac_ext >&5
4964 ac_cv_have_decl_errno
=no
4966 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4968 echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
4969 echo "${ECHO_T}$ac_cv_have_decl_errno" >&6
4970 if test $ac_cv_have_decl_errno = yes; then
4972 cat >>confdefs.h
<<_ACEOF
4973 #define HAVE_DECL_ERRNO 1
4978 cat >>confdefs.h
<<_ACEOF
4979 #define HAVE_DECL_ERRNO 0
4984 echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
4985 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
4986 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
4987 echo $ECHO_N "(cached) $ECHO_C" >&6
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
4999 #ifndef putc_unlocked
5000 char *p = (char *) putc_unlocked;
5007 rm -f conftest.
$ac_objext
5008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5009 (eval $ac_compile) 2>conftest.er1
5011 grep -v '^ *+' conftest.er1
>conftest.err
5013 cat conftest.err
>&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); } &&
5016 { ac_try
='test -z "$ac_c_werror_flag"
5017 || test ! -s conftest.err'
5018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); }; } &&
5023 { ac_try
='test -s conftest.$ac_objext'
5024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028 (exit $ac_status); }; }; then
5029 ac_cv_have_decl_putc_unlocked
=yes
5031 echo "$as_me: failed program was:" >&5
5032 sed 's/^/| /' conftest.
$ac_ext >&5
5034 ac_cv_have_decl_putc_unlocked
=no
5036 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5038 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
5039 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
5040 if test $ac_cv_have_decl_putc_unlocked = yes; then
5042 cat >>confdefs.h
<<_ACEOF
5043 #define HAVE_DECL_PUTC_UNLOCKED 1
5048 cat >>confdefs.h
<<_ACEOF
5049 #define HAVE_DECL_PUTC_UNLOCKED 0
5054 echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
5055 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
5056 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
5057 echo $ECHO_N "(cached) $ECHO_C" >&6
5059 cat >conftest.
$ac_ext <<_ACEOF
5062 cat confdefs.h
>>conftest.
$ac_ext
5063 cat >>conftest.
$ac_ext <<_ACEOF
5064 /* end confdefs.h. */
5065 $ac_includes_default
5069 #ifndef fputc_unlocked
5070 char *p = (char *) fputc_unlocked;
5077 rm -f conftest.
$ac_objext
5078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5079 (eval $ac_compile) 2>conftest.er1
5081 grep -v '^ *+' conftest.er1
>conftest.err
5083 cat conftest.err
>&5
5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5085 (exit $ac_status); } &&
5086 { ac_try
='test -z "$ac_c_werror_flag"
5087 || test ! -s conftest.err'
5088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); }; } &&
5093 { ac_try
='test -s conftest.$ac_objext'
5094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); }; }; then
5099 ac_cv_have_decl_fputc_unlocked
=yes
5101 echo "$as_me: failed program was:" >&5
5102 sed 's/^/| /' conftest.
$ac_ext >&5
5104 ac_cv_have_decl_fputc_unlocked
=no
5106 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5108 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
5109 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
5110 if test $ac_cv_have_decl_fputc_unlocked = yes; then
5112 cat >>confdefs.h
<<_ACEOF
5113 #define HAVE_DECL_FPUTC_UNLOCKED 1
5118 cat >>confdefs.h
<<_ACEOF
5119 #define HAVE_DECL_FPUTC_UNLOCKED 0
5124 echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
5125 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
5126 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
5127 echo $ECHO_N "(cached) $ECHO_C" >&6
5129 cat >conftest.
$ac_ext <<_ACEOF
5132 cat confdefs.h
>>conftest.
$ac_ext
5133 cat >>conftest.
$ac_ext <<_ACEOF
5134 /* end confdefs.h. */
5135 $ac_includes_default
5139 #ifndef fputs_unlocked
5140 char *p = (char *) fputs_unlocked;
5147 rm -f conftest.
$ac_objext
5148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5149 (eval $ac_compile) 2>conftest.er1
5151 grep -v '^ *+' conftest.er1
>conftest.err
5153 cat conftest.err
>&5
5154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5155 (exit $ac_status); } &&
5156 { ac_try
='test -z "$ac_c_werror_flag"
5157 || test ! -s conftest.err'
5158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162 (exit $ac_status); }; } &&
5163 { ac_try
='test -s conftest.$ac_objext'
5164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5168 (exit $ac_status); }; }; then
5169 ac_cv_have_decl_fputs_unlocked
=yes
5171 echo "$as_me: failed program was:" >&5
5172 sed 's/^/| /' conftest.
$ac_ext >&5
5174 ac_cv_have_decl_fputs_unlocked
=no
5176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5178 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
5179 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
5180 if test $ac_cv_have_decl_fputs_unlocked = yes; then
5182 cat >>confdefs.h
<<_ACEOF
5183 #define HAVE_DECL_FPUTS_UNLOCKED 1
5188 cat >>confdefs.h
<<_ACEOF
5189 #define HAVE_DECL_FPUTS_UNLOCKED 0
5194 echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
5195 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
5196 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
5197 echo $ECHO_N "(cached) $ECHO_C" >&6
5199 cat >conftest.
$ac_ext <<_ACEOF
5202 cat confdefs.h
>>conftest.
$ac_ext
5203 cat >>conftest.
$ac_ext <<_ACEOF
5204 /* end confdefs.h. */
5205 $ac_includes_default
5209 #ifndef fwrite_unlocked
5210 char *p = (char *) fwrite_unlocked;
5217 rm -f conftest.
$ac_objext
5218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5219 (eval $ac_compile) 2>conftest.er1
5221 grep -v '^ *+' conftest.er1
>conftest.err
5223 cat conftest.err
>&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); } &&
5226 { ac_try
='test -z "$ac_c_werror_flag"
5227 || test ! -s conftest.err'
5228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); }; } &&
5233 { ac_try
='test -s conftest.$ac_objext'
5234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); }; }; then
5239 ac_cv_have_decl_fwrite_unlocked
=yes
5241 echo "$as_me: failed program was:" >&5
5242 sed 's/^/| /' conftest.
$ac_ext >&5
5244 ac_cv_have_decl_fwrite_unlocked
=no
5246 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5248 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
5249 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
5250 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
5252 cat >>confdefs.h
<<_ACEOF
5253 #define HAVE_DECL_FWRITE_UNLOCKED 1
5258 cat >>confdefs.h
<<_ACEOF
5259 #define HAVE_DECL_FWRITE_UNLOCKED 0
5264 echo "$as_me:$LINENO: checking whether fprintf_unlocked is declared" >&5
5265 echo $ECHO_N "checking whether fprintf_unlocked is declared... $ECHO_C" >&6
5266 if test "${ac_cv_have_decl_fprintf_unlocked+set}" = set; then
5267 echo $ECHO_N "(cached) $ECHO_C" >&6
5269 cat >conftest.
$ac_ext <<_ACEOF
5272 cat confdefs.h
>>conftest.
$ac_ext
5273 cat >>conftest.
$ac_ext <<_ACEOF
5274 /* end confdefs.h. */
5275 $ac_includes_default
5279 #ifndef fprintf_unlocked
5280 char *p = (char *) fprintf_unlocked;
5287 rm -f conftest.
$ac_objext
5288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5289 (eval $ac_compile) 2>conftest.er1
5291 grep -v '^ *+' conftest.er1
>conftest.err
5293 cat conftest.err
>&5
5294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5295 (exit $ac_status); } &&
5296 { ac_try
='test -z "$ac_c_werror_flag"
5297 || test ! -s conftest.err'
5298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302 (exit $ac_status); }; } &&
5303 { ac_try
='test -s conftest.$ac_objext'
5304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5308 (exit $ac_status); }; }; then
5309 ac_cv_have_decl_fprintf_unlocked
=yes
5311 echo "$as_me: failed program was:" >&5
5312 sed 's/^/| /' conftest.
$ac_ext >&5
5314 ac_cv_have_decl_fprintf_unlocked
=no
5316 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5318 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fprintf_unlocked" >&5
5319 echo "${ECHO_T}$ac_cv_have_decl_fprintf_unlocked" >&6
5320 if test $ac_cv_have_decl_fprintf_unlocked = yes; then
5322 cat >>confdefs.h
<<_ACEOF
5323 #define HAVE_DECL_FPRINTF_UNLOCKED 1
5328 cat >>confdefs.h
<<_ACEOF
5329 #define HAVE_DECL_FPRINTF_UNLOCKED 0
5337 # Checks for library functions.
5338 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5339 # for constant arguments. Useless!
5340 echo "$as_me:$LINENO: checking for working alloca.h" >&5
5341 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5342 if test "${ac_cv_working_alloca_h+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 cat >conftest.
$ac_ext <<_ACEOF
5348 cat confdefs.h
>>conftest.
$ac_ext
5349 cat >>conftest.
$ac_ext <<_ACEOF
5350 /* end confdefs.h. */
5355 char *p = (char *) alloca (2 * sizeof (int));
5360 rm -f conftest.
$ac_objext conftest
$ac_exeext
5361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5362 (eval $ac_link) 2>conftest.er1
5364 grep -v '^ *+' conftest.er1
>conftest.err
5366 cat conftest.err
>&5
5367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368 (exit $ac_status); } &&
5369 { ac_try
='test -z "$ac_c_werror_flag"
5370 || test ! -s conftest.err'
5371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); }; } &&
5376 { ac_try
='test -s conftest$ac_exeext'
5377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); }; }; then
5382 ac_cv_working_alloca_h
=yes
5384 echo "$as_me: failed program was:" >&5
5385 sed 's/^/| /' conftest.
$ac_ext >&5
5387 ac_cv_working_alloca_h
=no
5389 rm -f conftest.err conftest.
$ac_objext \
5390 conftest
$ac_exeext conftest.
$ac_ext
5392 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5393 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5394 if test $ac_cv_working_alloca_h = yes; then
5396 cat >>confdefs.h
<<\_ACEOF
5397 #define HAVE_ALLOCA_H 1
5402 echo "$as_me:$LINENO: checking for alloca" >&5
5403 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5404 if test "${ac_cv_func_alloca_works+set}" = set; then
5405 echo $ECHO_N "(cached) $ECHO_C" >&6
5407 cat >conftest.
$ac_ext <<_ACEOF
5410 cat confdefs.h
>>conftest.
$ac_ext
5411 cat >>conftest.
$ac_ext <<_ACEOF
5412 /* end confdefs.h. */
5414 # define alloca __builtin_alloca
5417 # include <malloc.h>
5418 # define alloca _alloca
5421 # include <alloca.h>
5426 # ifndef alloca /* predefined by HP cc +Olibcalls */
5437 char *p = (char *) alloca (1);
5442 rm -f conftest.
$ac_objext conftest
$ac_exeext
5443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5444 (eval $ac_link) 2>conftest.er1
5446 grep -v '^ *+' conftest.er1
>conftest.err
5448 cat conftest.err
>&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } &&
5451 { ac_try
='test -z "$ac_c_werror_flag"
5452 || test ! -s conftest.err'
5453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5457 (exit $ac_status); }; } &&
5458 { ac_try
='test -s conftest$ac_exeext'
5459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5463 (exit $ac_status); }; }; then
5464 ac_cv_func_alloca_works
=yes
5466 echo "$as_me: failed program was:" >&5
5467 sed 's/^/| /' conftest.
$ac_ext >&5
5469 ac_cv_func_alloca_works
=no
5471 rm -f conftest.err conftest.
$ac_objext \
5472 conftest
$ac_exeext conftest.
$ac_ext
5474 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5475 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5477 if test $ac_cv_func_alloca_works = yes; then
5479 cat >>confdefs.h
<<\_ACEOF
5480 #define HAVE_ALLOCA 1
5484 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5485 # that cause trouble. Some versions do not even contain alloca or
5486 # contain a buggy version. If you still want to use their alloca,
5487 # use ar to extract alloca.o from them instead of compiling alloca.c.
5489 ALLOCA
=alloca.
$ac_objext
5491 cat >>confdefs.h
<<\_ACEOF
5496 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5497 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5498 if test "${ac_cv_os_cray+set}" = set; then
5499 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 cat >conftest.
$ac_ext <<_ACEOF
5504 cat confdefs.h
>>conftest.
$ac_ext
5505 cat >>conftest.
$ac_ext <<_ACEOF
5506 /* end confdefs.h. */
5507 #if defined(CRAY) && ! defined(CRAY2)
5514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5515 $EGREP "webecray" >/dev
/null
2>&1; then
5523 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5524 echo "${ECHO_T}$ac_cv_os_cray" >&6
5525 if test $ac_cv_os_cray = yes; then
5526 for ac_func
in _getb67 GETB67 getb67
; do
5527 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5528 echo "$as_me:$LINENO: checking for $ac_func" >&5
5529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5530 if eval "test \"\${$as_ac_var+set}\" = set"; then
5531 echo $ECHO_N "(cached) $ECHO_C" >&6
5533 cat >conftest.
$ac_ext <<_ACEOF
5536 cat confdefs.h
>>conftest.
$ac_ext
5537 cat >>conftest.
$ac_ext <<_ACEOF
5538 /* end confdefs.h. */
5539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5541 #define $ac_func innocuous_$ac_func
5543 /* System header to define __stub macros and hopefully few prototypes,
5544 which can conflict with char $ac_func (); below.
5545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5546 <limits.h> exists even on freestanding compilers. */
5549 # include <limits.h>
5551 # include <assert.h>
5556 /* Override any gcc2 internal prototype to avoid an error. */
5561 /* We use char because int might match the return type of a gcc2
5562 builtin and then its argument prototype would still apply. */
5564 /* The GNU C library defines this for functions which it implements
5565 to always fail with ENOSYS. Some functions are actually named
5566 something starting with __ and the normal name is an alias. */
5567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5570 char (*f) () = $ac_func;
5579 return f != $ac_func;
5584 rm -f conftest.
$ac_objext conftest
$ac_exeext
5585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5586 (eval $ac_link) 2>conftest.er1
5588 grep -v '^ *+' conftest.er1
>conftest.err
5590 cat conftest.err
>&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); } &&
5593 { ac_try
='test -z "$ac_c_werror_flag"
5594 || test ! -s conftest.err'
5595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); }; } &&
5600 { ac_try
='test -s conftest$ac_exeext'
5601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; }; then
5606 eval "$as_ac_var=yes"
5608 echo "$as_me: failed program was:" >&5
5609 sed 's/^/| /' conftest.
$ac_ext >&5
5611 eval "$as_ac_var=no"
5613 rm -f conftest.err conftest.
$ac_objext \
5614 conftest
$ac_exeext conftest.
$ac_ext
5616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5618 if test `eval echo '${'$as_ac_var'}'` = yes; then
5620 cat >>confdefs.h
<<_ACEOF
5621 #define CRAY_STACKSEG_END $ac_func
5630 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5631 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5632 if test "${ac_cv_c_stack_direction+set}" = set; then
5633 echo $ECHO_N "(cached) $ECHO_C" >&6
5635 if test "$cross_compiling" = yes; then
5636 ac_cv_c_stack_direction
=0
5638 cat >conftest.
$ac_ext <<_ACEOF
5641 cat confdefs.h
>>conftest.
$ac_ext
5642 cat >>conftest.
$ac_ext <<_ACEOF
5643 /* end confdefs.h. */
5645 find_stack_direction ()
5647 static char *addr = 0;
5652 return find_stack_direction ();
5655 return (&dummy > addr) ? 1 : -1;
5661 exit (find_stack_direction () < 0);
5664 rm -f conftest
$ac_exeext
5665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5666 (eval $ac_link) 2>&5
5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674 (exit $ac_status); }; }; then
5675 ac_cv_c_stack_direction
=1
5677 echo "$as_me: program exited with status $ac_status" >&5
5678 echo "$as_me: failed program was:" >&5
5679 sed 's/^/| /' conftest.
$ac_ext >&5
5682 ac_cv_c_stack_direction
=-1
5684 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5687 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5688 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5690 cat >>confdefs.h
<<_ACEOF
5691 #define STACK_DIRECTION $ac_cv_c_stack_direction
5697 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5698 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5699 if test "${ac_cv_header_stdc+set}" = set; then
5700 echo $ECHO_N "(cached) $ECHO_C" >&6
5702 cat >conftest.
$ac_ext <<_ACEOF
5705 cat confdefs.h
>>conftest.
$ac_ext
5706 cat >>conftest.
$ac_ext <<_ACEOF
5707 /* end confdefs.h. */
5721 rm -f conftest.
$ac_objext
5722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5723 (eval $ac_compile) 2>conftest.er1
5725 grep -v '^ *+' conftest.er1
>conftest.err
5727 cat conftest.err
>&5
5728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729 (exit $ac_status); } &&
5730 { ac_try
='test -z "$ac_c_werror_flag"
5731 || test ! -s conftest.err'
5732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); }; } &&
5737 { ac_try
='test -s conftest.$ac_objext'
5738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5742 (exit $ac_status); }; }; then
5743 ac_cv_header_stdc
=yes
5745 echo "$as_me: failed program was:" >&5
5746 sed 's/^/| /' conftest.
$ac_ext >&5
5748 ac_cv_header_stdc
=no
5750 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5752 if test $ac_cv_header_stdc = yes; then
5753 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5754 cat >conftest.
$ac_ext <<_ACEOF
5757 cat confdefs.h
>>conftest.
$ac_ext
5758 cat >>conftest.
$ac_ext <<_ACEOF
5759 /* end confdefs.h. */
5763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5764 $EGREP "memchr" >/dev
/null
2>&1; then
5767 ac_cv_header_stdc
=no
5773 if test $ac_cv_header_stdc = yes; then
5774 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5775 cat >conftest.
$ac_ext <<_ACEOF
5778 cat confdefs.h
>>conftest.
$ac_ext
5779 cat >>conftest.
$ac_ext <<_ACEOF
5780 /* end confdefs.h. */
5784 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5785 $EGREP "free" >/dev
/null
2>&1; then
5788 ac_cv_header_stdc
=no
5794 if test $ac_cv_header_stdc = yes; then
5795 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5796 if test "$cross_compiling" = yes; then
5799 cat >conftest.
$ac_ext <<_ACEOF
5802 cat confdefs.h
>>conftest.
$ac_ext
5803 cat >>conftest.
$ac_ext <<_ACEOF
5804 /* end confdefs.h. */
5806 #if ((' ' & 0x0FF) == 0x020)
5807 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5808 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5810 # define ISLOWER(c) \
5811 (('a' <= (c) && (c) <= 'i') \
5812 || ('j' <= (c) && (c) <= 'r') \
5813 || ('s' <= (c) && (c) <= 'z'))
5814 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5817 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5822 for (i = 0; i < 256; i++)
5823 if (XOR (islower (i), ISLOWER (i))
5824 || toupper (i) != TOUPPER (i))
5829 rm -f conftest
$ac_exeext
5830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5831 (eval $ac_link) 2>&5
5833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5834 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); }; }; then
5842 echo "$as_me: program exited with status $ac_status" >&5
5843 echo "$as_me: failed program was:" >&5
5844 sed 's/^/| /' conftest.
$ac_ext >&5
5847 ac_cv_header_stdc
=no
5849 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5853 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5854 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5855 if test $ac_cv_header_stdc = yes; then
5857 cat >>confdefs.h
<<\_ACEOF
5858 #define STDC_HEADERS 1
5864 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
5865 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
5866 if test "${am_cv_langinfo_codeset+set}" = set; then
5867 echo $ECHO_N "(cached) $ECHO_C" >&6
5869 cat >conftest.
$ac_ext <<_ACEOF
5872 cat confdefs.h
>>conftest.
$ac_ext
5873 cat >>conftest.
$ac_ext <<_ACEOF
5874 /* end confdefs.h. */
5875 #include <langinfo.h>
5879 char* cs = nl_langinfo(CODESET);
5884 rm -f conftest.
$ac_objext conftest
$ac_exeext
5885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5886 (eval $ac_link) 2>conftest.er1
5888 grep -v '^ *+' conftest.er1
>conftest.err
5890 cat conftest.err
>&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); } &&
5893 { ac_try
='test -z "$ac_c_werror_flag"
5894 || test ! -s conftest.err'
5895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5899 (exit $ac_status); }; } &&
5900 { ac_try
='test -s conftest$ac_exeext'
5901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5905 (exit $ac_status); }; }; then
5906 am_cv_langinfo_codeset
=yes
5908 echo "$as_me: failed program was:" >&5
5909 sed 's/^/| /' conftest.
$ac_ext >&5
5911 am_cv_langinfo_codeset
=no
5913 rm -f conftest.err conftest.
$ac_objext \
5914 conftest
$ac_exeext conftest.
$ac_ext
5917 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
5918 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
5919 if test $am_cv_langinfo_codeset = yes; then
5921 cat >>confdefs.h
<<\_ACEOF
5922 #define HAVE_LANGINFO_CODESET 1
5927 # If we haven't got the data from the intl directory,
5928 # assume NLS is disabled.
5936 if test -f ..
/intl
/config.intl
; then
5937 . ..
/intl
/config.intl
5939 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
5940 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
5941 if test x
"$USE_NLS" != xyes
; then
5942 echo "$as_me:$LINENO: result: no" >&5
5943 echo "${ECHO_T}no" >&6
5945 echo "$as_me:$LINENO: result: yes" >&5
5946 echo "${ECHO_T}yes" >&6
5948 cat >>confdefs.h
<<\_ACEOF
5949 #define ENABLE_NLS 1
5953 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
5954 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
5955 # Look for .po and .gmo files in the source directory.
5958 for cat in $srcdir/po
/*.gmo
$srcdir/po
/*.po
; do
5959 # If there aren't any .gmo files the shell will give us the
5960 # literal string "../path/to/srcdir/po/*.gmo" which has to be
5962 case "$cat" in *\
**)
5965 # The quadruple backslash is collapsed to a double backslash
5966 # by the backticks, then collapsed again by the double quotes,
5967 # leaving us with one backslash in the sed expression (right
5968 # before the dot that mustn't act as a wildcard).
5969 cat=`echo $cat | sed -e "s!$srcdir/!!" -e "s!\\\\.po!.gmo!"`
5970 lang
=`echo $cat | sed -e 's!po/!!' -e "s!\\\\.gmo!!"`
5971 # The user is allowed to set LINGUAS to a list of languages to
5972 # install catalogs for. If it's empty that means "all of them."
5973 if test "x$LINGUAS" = x
; then
5974 CATALOGS
="$CATALOGS $cat"
5975 XLINGUAS
="$XLINGUAS $lang"
5977 case "$LINGUAS" in *$lang*)
5978 CATALOGS
="$CATALOGS $cat"
5979 XLINGUAS
="$XLINGUAS $lang"
5985 echo "$as_me:$LINENO: result: $LINGUAS" >&5
5986 echo "${ECHO_T}$LINGUAS" >&6
5989 echo "$as_me:$LINENO: checking for uchar" >&5
5990 echo $ECHO_N "checking for uchar... $ECHO_C" >&6
5991 if test "${gcc_cv_type_uchar+set}" = set; then
5992 echo $ECHO_N "(cached) $ECHO_C" >&6
5994 cat >conftest.
$ac_ext <<_ACEOF
5997 cat confdefs.h
>>conftest.
$ac_ext
5998 cat >>conftest.
$ac_ext <<_ACEOF
5999 /* end confdefs.h. */
6001 #include "ansidecl.h"
6007 if ((uchar *)0) return 0;
6008 if (sizeof(uchar)) return 0;
6013 rm -f conftest.
$ac_objext
6014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6015 (eval $ac_compile) 2>conftest.er1
6017 grep -v '^ *+' conftest.er1
>conftest.err
6019 cat conftest.err
>&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); } &&
6022 { ac_try
='test -z "$ac_c_werror_flag"
6023 || test ! -s conftest.err'
6024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028 (exit $ac_status); }; } &&
6029 { ac_try
='test -s conftest.$ac_objext'
6030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); }; }; then
6035 ac_cv_type_uchar
=yes
6037 echo "$as_me: failed program was:" >&5
6038 sed 's/^/| /' conftest.
$ac_ext >&5
6042 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6044 echo "$as_me:$LINENO: result: $gcc_cv_type_uchar" >&5
6045 echo "${ECHO_T}$gcc_cv_type_uchar" >&6
6046 if test $ac_cv_type_uchar = yes; then
6048 cat >>confdefs.h
<<\_ACEOF
6049 #define HAVE_UCHAR 1
6055 if test "X$prefix" = "XNONE"; then
6056 acl_final_prefix
="$ac_default_prefix"
6058 acl_final_prefix
="$prefix"
6060 if test "X$exec_prefix" = "XNONE"; then
6061 acl_final_exec_prefix
='${prefix}'
6063 acl_final_exec_prefix
="$exec_prefix"
6065 acl_save_prefix
="$prefix"
6066 prefix
="$acl_final_prefix"
6067 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
6068 prefix
="$acl_save_prefix"
6071 # Check whether --with-gnu-ld or --without-gnu-ld was given.
6072 if test "${with_gnu_ld+set}" = set; then
6073 withval
="$with_gnu_ld"
6074 test "$withval" = no || with_gnu_ld
=yes
6078 # Prepare PATH_SEPARATOR.
6079 # The user is always right.
6080 if test "${PATH_SEPARATOR+set}" != set; then
6081 echo "#! /bin/sh" >conf$$.sh
6082 echo "exit 0" >>conf$$.sh
6084 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
6092 if test "$GCC" = yes; then
6093 # Check if gcc -print-prog-name=ld gives a path.
6094 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
6095 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
6098 # gcc leaves a trailing carriage return which upsets mingw
6099 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6101 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6104 # Accept absolute paths.
6105 [\\/]* |
[A-Za-z
]:[\\/]*)
6106 re_direlt
='/[^/][^/]*/\.\./'
6107 # Canonicalize the path of ld
6108 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
6109 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
6110 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
6112 test -z "$LD" && LD
="$ac_prog"
6115 # If it fails, then pretend we aren't using GCC.
6119 # If it is relative, then search for the first ld in PATH.
6123 elif test "$with_gnu_ld" = yes; then
6124 echo "$as_me:$LINENO: checking for GNU ld" >&5
6125 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
6127 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
6128 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
6130 if test "${acl_cv_path_LD+set}" = set; then
6131 echo $ECHO_N "(cached) $ECHO_C" >&6
6133 if test -z "$LD"; then
6134 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
6135 for ac_dir
in $PATH; do
6136 test -z "$ac_dir" && ac_dir
=.
6137 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6138 acl_cv_path_LD
="$ac_dir/$ac_prog"
6139 # Check to see if the program is GNU ld. I'd rather use --version,
6140 # but apparently some GNU ld's only accept -v.
6141 # Break only if it was the GNU/non-GNU ld that we prefer.
6142 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
6143 test "$with_gnu_ld" != no
&& break
6145 test "$with_gnu_ld" != yes && break
6151 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
6155 LD
="$acl_cv_path_LD"
6156 if test -n "$LD"; then
6157 echo "$as_me:$LINENO: result: $LD" >&5
6158 echo "${ECHO_T}$LD" >&6
6160 echo "$as_me:$LINENO: result: no" >&5
6161 echo "${ECHO_T}no" >&6
6163 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
6164 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
6165 { (exit 1); exit 1; }; }
6166 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
6167 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
6168 if test "${acl_cv_prog_gnu_ld+set}" = set; then
6169 echo $ECHO_N "(cached) $ECHO_C" >&6
6171 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
6172 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
6173 acl_cv_prog_gnu_ld
=yes
6175 acl_cv_prog_gnu_ld
=no
6178 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
6179 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
6180 with_gnu_ld
=$acl_cv_prog_gnu_ld
6184 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
6185 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
6186 if test "${acl_cv_rpath+set}" = set; then
6187 echo $ECHO_N "(cached) $ECHO_C" >&6
6190 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
6191 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
6197 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
6198 echo "${ECHO_T}$acl_cv_rpath" >&6
6200 libext
="$acl_cv_libext"
6201 shlibext
="$acl_cv_shlibext"
6202 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
6203 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
6204 hardcode_direct
="$acl_cv_hardcode_direct"
6205 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
6206 # Check whether --enable-rpath or --disable-rpath was given.
6207 if test "${enable_rpath+set}" = set; then
6208 enableval
="$enable_rpath"
6222 acl_save_prefix
="$prefix"
6223 prefix
="$acl_final_prefix"
6224 acl_save_exec_prefix
="$exec_prefix"
6225 exec_prefix
="$acl_final_exec_prefix"
6227 eval additional_includedir
=\"$includedir\"
6228 eval additional_libdir
=\"$libdir\"
6230 exec_prefix
="$acl_save_exec_prefix"
6231 prefix
="$acl_save_prefix"
6234 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
6235 if test "${with_libiconv_prefix+set}" = set; then
6236 withval
="$with_libiconv_prefix"
6238 if test "X$withval" = "Xno"; then
6241 if test "X$withval" = "X"; then
6243 acl_save_prefix
="$prefix"
6244 prefix
="$acl_final_prefix"
6245 acl_save_exec_prefix
="$exec_prefix"
6246 exec_prefix
="$acl_final_exec_prefix"
6248 eval additional_includedir
=\"$includedir\"
6249 eval additional_libdir
=\"$libdir\"
6251 exec_prefix
="$acl_save_exec_prefix"
6252 prefix
="$acl_save_prefix"
6255 additional_includedir
="$withval/include"
6256 additional_libdir
="$withval/lib"
6266 names_already_handled
=
6267 names_next_round
='iconv '
6268 while test -n "$names_next_round"; do
6269 names_this_round
="$names_next_round"
6271 for name
in $names_this_round; do
6273 for n
in $names_already_handled; do
6274 if test "$n" = "$name"; then
6279 if test -z "$already_handled"; then
6280 names_already_handled
="$names_already_handled $name"
6281 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
6282 eval value
=\"\
$HAVE_LIB$uppername\"
6283 if test -n "$value"; then
6284 if test "$value" = yes; then
6285 eval value
=\"\
$LIB$uppername\"
6286 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
6287 eval value
=\"\
$LTLIB$uppername\"
6288 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
6297 if test $use_additional = yes; then
6298 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
6299 found_dir
="$additional_libdir"
6300 found_so
="$additional_libdir/lib$name.$shlibext"
6301 if test -f "$additional_libdir/lib$name.la"; then
6302 found_la
="$additional_libdir/lib$name.la"
6305 if test -f "$additional_libdir/lib$name.$libext"; then
6306 found_dir
="$additional_libdir"
6307 found_a
="$additional_libdir/lib$name.$libext"
6308 if test -f "$additional_libdir/lib$name.la"; then
6309 found_la
="$additional_libdir/lib$name.la"
6314 if test "X$found_dir" = "X"; then
6315 for x
in $LDFLAGS $LTLIBICONV; do
6317 acl_save_prefix
="$prefix"
6318 prefix
="$acl_final_prefix"
6319 acl_save_exec_prefix
="$exec_prefix"
6320 exec_prefix
="$acl_final_exec_prefix"
6322 exec_prefix
="$acl_save_exec_prefix"
6323 prefix
="$acl_save_prefix"
6327 dir
=`echo "X$x" | sed -e 's/^X-L//'`
6328 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
6330 found_so
="$dir/lib$name.$shlibext"
6331 if test -f "$dir/lib$name.la"; then
6332 found_la
="$dir/lib$name.la"
6335 if test -f "$dir/lib$name.$libext"; then
6337 found_a
="$dir/lib$name.$libext"
6338 if test -f "$dir/lib$name.la"; then
6339 found_la
="$dir/lib$name.la"
6345 if test "X$found_dir" != "X"; then
6350 if test "X$found_dir" != "X"; then
6351 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
6352 if test "X$found_so" != "X"; then
6353 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
6354 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6357 for x
in $ltrpathdirs; do
6358 if test "X$x" = "X$found_dir"; then
6363 if test -z "$haveit"; then
6364 ltrpathdirs
="$ltrpathdirs $found_dir"
6366 if test "$hardcode_direct" = yes; then
6367 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6369 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
6370 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6372 for x
in $rpathdirs; do
6373 if test "X$x" = "X$found_dir"; then
6378 if test -z "$haveit"; then
6379 rpathdirs
="$rpathdirs $found_dir"
6383 for x
in $LDFLAGS $LIBICONV; do
6385 acl_save_prefix
="$prefix"
6386 prefix
="$acl_final_prefix"
6387 acl_save_exec_prefix
="$exec_prefix"
6388 exec_prefix
="$acl_final_exec_prefix"
6390 exec_prefix
="$acl_save_exec_prefix"
6391 prefix
="$acl_save_prefix"
6393 if test "X$x" = "X-L$found_dir"; then
6398 if test -z "$haveit"; then
6399 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
6401 if test "$hardcode_minus_L" != no
; then
6402 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
6404 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6410 if test "X$found_a" != "X"; then
6411 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
6413 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
6416 additional_includedir
=
6417 case "$found_dir" in
6419 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
6420 additional_includedir
="$basedir/include"
6423 if test "X$additional_includedir" != "X"; then
6424 if test "X$additional_includedir" != "X/usr/include"; then
6426 if test "X$additional_includedir" = "X/usr/local/include"; then
6427 if test -n "$GCC"; then
6429 linux
*) haveit
=yes;;
6433 if test -z "$haveit"; then
6434 for x
in $CPPFLAGS $INCICONV; do
6436 acl_save_prefix
="$prefix"
6437 prefix
="$acl_final_prefix"
6438 acl_save_exec_prefix
="$exec_prefix"
6439 exec_prefix
="$acl_final_exec_prefix"
6441 exec_prefix
="$acl_save_exec_prefix"
6442 prefix
="$acl_save_prefix"
6444 if test "X$x" = "X-I$additional_includedir"; then
6449 if test -z "$haveit"; then
6450 if test -d "$additional_includedir"; then
6451 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
6457 if test -n "$found_la"; then
6458 save_libdir
="$libdir"
6460 */* |
*\\*) .
"$found_la" ;;
6461 *) .
"./$found_la" ;;
6463 libdir
="$save_libdir"
6464 for dep
in $dependency_libs; do
6467 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
6468 if test "X$additional_libdir" != "X/usr/lib"; then
6470 if test "X$additional_libdir" = "X/usr/local/lib"; then
6471 if test -n "$GCC"; then
6473 linux
*) haveit
=yes;;
6477 if test -z "$haveit"; then
6479 for x
in $LDFLAGS $LIBICONV; do
6481 acl_save_prefix
="$prefix"
6482 prefix
="$acl_final_prefix"
6483 acl_save_exec_prefix
="$exec_prefix"
6484 exec_prefix
="$acl_final_exec_prefix"
6486 exec_prefix
="$acl_save_exec_prefix"
6487 prefix
="$acl_save_prefix"
6489 if test "X$x" = "X-L$additional_libdir"; then
6494 if test -z "$haveit"; then
6495 if test -d "$additional_libdir"; then
6496 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
6500 for x
in $LDFLAGS $LTLIBICONV; do
6502 acl_save_prefix
="$prefix"
6503 prefix
="$acl_final_prefix"
6504 acl_save_exec_prefix
="$exec_prefix"
6505 exec_prefix
="$acl_final_exec_prefix"
6507 exec_prefix
="$acl_save_exec_prefix"
6508 prefix
="$acl_save_prefix"
6510 if test "X$x" = "X-L$additional_libdir"; then
6515 if test -z "$haveit"; then
6516 if test -d "$additional_libdir"; then
6517 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
6524 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
6525 if test "$enable_rpath" != no
; then
6527 for x
in $rpathdirs; do
6528 if test "X$x" = "X$dir"; then
6533 if test -z "$haveit"; then
6534 rpathdirs
="$rpathdirs $dir"
6537 for x
in $ltrpathdirs; do
6538 if test "X$x" = "X$dir"; then
6543 if test -z "$haveit"; then
6544 ltrpathdirs
="$ltrpathdirs $dir"
6549 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
6552 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
6555 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
6556 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
6562 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
6563 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
6569 if test "X$rpathdirs" != "X"; then
6570 if test -n "$hardcode_libdir_separator"; then
6572 for found_dir
in $rpathdirs; do
6573 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
6575 acl_save_libdir
="$libdir"
6577 eval flag
=\"$hardcode_libdir_flag_spec\"
6578 libdir
="$acl_save_libdir"
6579 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6581 for found_dir
in $rpathdirs; do
6582 acl_save_libdir
="$libdir"
6584 eval flag
=\"$hardcode_libdir_flag_spec\"
6585 libdir
="$acl_save_libdir"
6586 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
6590 if test "X$ltrpathdirs" != "X"; then
6591 for found_dir
in $ltrpathdirs; do
6592 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
6602 am_save_CPPFLAGS
="$CPPFLAGS"
6604 for element
in $INCICONV; do
6606 for x
in $CPPFLAGS; do
6608 acl_save_prefix
="$prefix"
6609 prefix
="$acl_final_prefix"
6610 acl_save_exec_prefix
="$exec_prefix"
6611 exec_prefix
="$acl_final_exec_prefix"
6613 exec_prefix
="$acl_save_exec_prefix"
6614 prefix
="$acl_save_prefix"
6616 if test "X$x" = "X$element"; then
6621 if test -z "$haveit"; then
6622 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
6627 echo "$as_me:$LINENO: checking for iconv" >&5
6628 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
6629 if test "${am_cv_func_iconv+set}" = set; then
6630 echo $ECHO_N "(cached) $ECHO_C" >&6
6633 am_cv_func_iconv
="no, consider installing GNU libiconv"
6635 cat >conftest.
$ac_ext <<_ACEOF
6638 cat confdefs.h
>>conftest.
$ac_ext
6639 cat >>conftest.
$ac_ext <<_ACEOF
6640 /* end confdefs.h. */
6646 iconv_t cd = iconv_open("","");
6647 iconv(cd,NULL,NULL,NULL,NULL);
6653 rm -f conftest.
$ac_objext conftest
$ac_exeext
6654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6655 (eval $ac_link) 2>conftest.er1
6657 grep -v '^ *+' conftest.er1
>conftest.err
6659 cat conftest.err
>&5
6660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6661 (exit $ac_status); } &&
6662 { ac_try
='test -z "$ac_c_werror_flag"
6663 || test ! -s conftest.err'
6664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); }; } &&
6669 { ac_try
='test -s conftest$ac_exeext'
6670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); }; }; then
6675 am_cv_func_iconv
=yes
6677 echo "$as_me: failed program was:" >&5
6678 sed 's/^/| /' conftest.
$ac_ext >&5
6681 rm -f conftest.err conftest.
$ac_objext \
6682 conftest
$ac_exeext conftest.
$ac_ext
6683 if test "$am_cv_func_iconv" != yes; then
6684 am_save_LIBS
="$LIBS"
6685 LIBS
="$LIBS $LIBICONV"
6686 cat >conftest.
$ac_ext <<_ACEOF
6689 cat confdefs.h
>>conftest.
$ac_ext
6690 cat >>conftest.
$ac_ext <<_ACEOF
6691 /* end confdefs.h. */
6697 iconv_t cd = iconv_open("","");
6698 iconv(cd,NULL,NULL,NULL,NULL);
6704 rm -f conftest.
$ac_objext conftest
$ac_exeext
6705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6706 (eval $ac_link) 2>conftest.er1
6708 grep -v '^ *+' conftest.er1
>conftest.err
6710 cat conftest.err
>&5
6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 (exit $ac_status); } &&
6713 { ac_try
='test -z "$ac_c_werror_flag"
6714 || test ! -s conftest.err'
6715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6719 (exit $ac_status); }; } &&
6720 { ac_try
='test -s conftest$ac_exeext'
6721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6725 (exit $ac_status); }; }; then
6727 am_cv_func_iconv
=yes
6729 echo "$as_me: failed program was:" >&5
6730 sed 's/^/| /' conftest.
$ac_ext >&5
6733 rm -f conftest.err conftest.
$ac_objext \
6734 conftest
$ac_exeext conftest.
$ac_ext
6735 LIBS
="$am_save_LIBS"
6739 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
6740 echo "${ECHO_T}$am_cv_func_iconv" >&6
6741 if test "$am_cv_func_iconv" = yes; then
6743 cat >>confdefs.h
<<\_ACEOF
6744 #define HAVE_ICONV 1
6748 if test "$am_cv_lib_iconv" = yes; then
6749 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
6750 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
6751 echo "$as_me:$LINENO: result: $LIBICONV" >&5
6752 echo "${ECHO_T}$LIBICONV" >&6
6754 CPPFLAGS
="$am_save_CPPFLAGS"
6761 if test "$am_cv_func_iconv" = yes; then
6762 echo "$as_me:$LINENO: checking for iconv declaration" >&5
6763 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
6764 if test "${am_cv_proto_iconv+set}" = set; then
6765 echo $ECHO_N "(cached) $ECHO_C" >&6
6768 cat >conftest.
$ac_ext <<_ACEOF
6771 cat confdefs.h
>>conftest.
$ac_ext
6772 cat >>conftest.
$ac_ext <<_ACEOF
6773 /* end confdefs.h. */
6781 #if defined(__STDC__) || defined(__cplusplus)
6782 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
6795 rm -f conftest.
$ac_objext
6796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6797 (eval $ac_compile) 2>conftest.er1
6799 grep -v '^ *+' conftest.er1
>conftest.err
6801 cat conftest.err
>&5
6802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803 (exit $ac_status); } &&
6804 { ac_try
='test -z "$ac_c_werror_flag"
6805 || test ! -s conftest.err'
6806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); }; } &&
6811 { ac_try
='test -s conftest.$ac_objext'
6812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); }; }; then
6817 am_cv_proto_iconv_arg1
=""
6819 echo "$as_me: failed program was:" >&5
6820 sed 's/^/| /' conftest.
$ac_ext >&5
6822 am_cv_proto_iconv_arg1
="const"
6824 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6825 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);"
6828 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
6829 echo "$as_me:$LINENO: result: ${ac_t:-
6830 }$am_cv_proto_iconv" >&5
6831 echo "${ECHO_T}${ac_t:-
6832 }$am_cv_proto_iconv" >&6
6834 cat >>confdefs.h
<<_ACEOF
6835 #define ICONV_CONST $am_cv_proto_iconv_arg1
6841 # More defines and substitutions.
6842 PACKAGE
="$PACKAGE_TARNAME"
6844 cat >>confdefs.h
<<_ACEOF
6845 #define PACKAGE "$PACKAGE"
6850 if test "x$enable_nls" != xno
; then
6851 USED_CATALOGS
='$(CATALOGS)'
6857 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
6858 if test "${enable_maintainer_mode+set}" = set; then
6859 enableval
="$enable_maintainer_mode"
6862 enable_maintainer_mode
=no
6865 if test "x$enable_maintainer_mode" = xno
; then
6872 # Check whether --enable-checking or --disable-checking was given.
6873 if test "${enable_checking+set}" = set; then
6874 enableval
="$enable_checking"
6880 if test $enable_checking != no
; then
6882 cat >>confdefs.h
<<\_ACEOF
6883 #define ENABLE_CHECKING 1
6892 arm
*-*-symbianelf* | \
6895 hppa
*64*-*-* | parisc
*64*-*-* | \
6901 sparc64
*-*-* | ultrasparc-
*-freebsd* | \
6902 sparcv9-
*-solaris2* | \
6903 sparc-
*-solaris2.
[789] | sparc-
*-solaris2.1
[0-9] | \
6904 sh
[123456789l]*-*-*)
6905 need_64bit_hwint
=yes ;;
6907 need_64bit_hwint
=no
;;
6910 case $need_64bit_hwint:$ac_cv_sizeof_long in
6911 *:8 | no
:*) host_wide_int
=long
;;
6912 *) host_wide_int
='long long' ;;
6917 cat >>confdefs.h
<<_ACEOF
6918 #define HOST_WIDE_INT $host_wide_int
6924 ac_config_headers
="$ac_config_headers config.h:config.in"
6926 ac_config_files
="$ac_config_files Makefile"
6928 cat >confcache
<<\_ACEOF
6929 # This file is a shell script that caches the results of configure
6930 # tests run on this system so they can be shared between configure
6931 # scripts and configure runs, see configure's option --config-cache.
6932 # It is not useful on other systems. If it contains results you don't
6933 # want to keep, you may remove or edit it.
6935 # config.status only pays attention to the cache file if you give it
6936 # the --recheck option to rerun configure.
6938 # `ac_cv_env_foo' variables (set or unset) will be overridden when
6939 # loading this file, other *unset* `ac_cv_foo' will be assigned the
6944 # The following way of writing the cache mishandles newlines in values,
6945 # but we know of no workaround that is simple, portable, and efficient.
6946 # So, don't put newlines in cache variables' values.
6947 # Ultrix sh set writes to stderr and can't be redirected directly,
6948 # and sets the high bit in the cache file unless we assign to the vars.
6951 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6953 # `set' does not quote correctly, so add quotes (double-quote
6954 # substitution turns \\\\ into \\, and sed turns \\ into \).
6957 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6960 # `set' quotes correctly as required by POSIX, so do not add quotes.
6962 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6969 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6971 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6973 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
6974 if test -w $cache_file; then
6975 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6976 cat confcache
>$cache_file
6978 echo "not updating unwritable cache $cache_file"
6983 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6984 # Let make expand exec_prefix.
6985 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6987 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6988 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6989 # trailing colons and then remove the whole line if VPATH becomes empty
6990 # (actually we leave an empty line to preserve line numbers).
6991 if test "x$srcdir" = x.
; then
6992 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
6993 s/:*\$(srcdir):*/:/;
6994 s/:*\${srcdir}:*/:/;
6996 s/^\([^=]*=[ ]*\):*/\1/;
7002 DEFS
=-DHAVE_CONFIG_H
7006 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7007 # 1. Remove the extension, and $U if already installed.
7008 ac_i
=`echo "$ac_i" |
7009 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7011 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7012 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7016 LTLIBOBJS
=$ac_ltlibobjs
7020 : ${CONFIG_STATUS=./config.status}
7021 ac_clean_files_save
=$ac_clean_files
7022 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7023 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7024 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7025 cat >$CONFIG_STATUS <<_ACEOF
7027 # Generated by $as_me.
7028 # Run this file to recreate the current configuration.
7029 # Compiler output produced by configure, useful for debugging
7030 # configure, is in config.log if it exists.
7035 SHELL=\${CONFIG_SHELL-$SHELL}
7038 cat >>$CONFIG_STATUS <<\_ACEOF
7039 ## --------------------- ##
7040 ## M4sh Initialization. ##
7041 ## --------------------- ##
7043 # Be Bourne compatible
7044 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7047 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7048 # is contrary to our usage. Disable this feature.
7049 alias -g '${1+"$@"}'='"$@"'
7050 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7053 DUALCASE
=1; export DUALCASE
# for MKS sh
7055 # Support unset when possible.
7056 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7063 # Work around bugs in pre-3.0 UWIN ksh.
7064 $as_unset ENV MAIL MAILPATH
7071 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7072 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7073 LC_TELEPHONE LC_TIME
7075 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7076 eval $as_var=C
; export $as_var
7082 # Required to use basename.
7083 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7089 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7090 as_basename
=basename
7096 # Name of the executable.
7097 as_me
=`$as_basename "$0" ||
7098 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7099 X"$0" : 'X\(//\)$' \| \
7100 X"$0" : 'X\(/\)$' \| \
7101 . : '\(.\)' 2>/dev/null ||
7103 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7104 /^X\/\(\/\/\)$/{ s//\1/; q; }
7105 /^X\/\(\/\).*/{ s//\1/; q; }
7109 # PATH needs CR, and LINENO needs CR and PATH.
7110 # Avoid depending upon Character Ranges.
7111 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7112 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7113 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7114 as_cr_digits
='0123456789'
7115 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7117 # The user is always right.
7118 if test "${PATH_SEPARATOR+set}" != set; then
7119 echo "#! /bin/sh" >conf$$.sh
7120 echo "exit 0" >>conf$$.sh
7122 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7133 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7134 test "x$as_lineno_1" != "x$as_lineno_2" &&
7135 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7136 # Find who we are. Look in the path if we contain no path at all
7139 *[\\/]* ) as_myself
=$0 ;;
7140 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7144 test -z "$as_dir" && as_dir
=.
7145 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7150 # We did not find ourselves, most probably we were run as `sh COMMAND'
7151 # in which case we are not to be found in the path.
7152 if test "x$as_myself" = x
; then
7155 if test ! -f "$as_myself"; then
7156 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7157 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7158 { (exit 1); exit 1; }; }
7160 case $CONFIG_SHELL in
7162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7163 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7166 test -z "$as_dir" && as_dir
=.
7167 for as_base
in sh bash ksh sh5
; do
7170 if ("$as_dir/$as_base" -c '
7173 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7174 test "x$as_lineno_1" != "x$as_lineno_2" &&
7175 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7176 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7177 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7178 CONFIG_SHELL
=$as_dir/$as_base
7180 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7188 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7189 # uniformly replaced by the line number. The first 'sed' inserts a
7190 # line-number line before each line; the second 'sed' does the real
7191 # work. The second script uses 'N' to pair each line-number line
7192 # with the numbered line, and appends trailing '-' during
7193 # substitution so that $LINENO is not a special case at line end.
7194 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7195 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7196 sed '=' <$as_myself |
7201 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7204 s,^['$as_cr_digits']*\n,,
7206 chmod +x
$as_me.lineno ||
7207 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7208 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7209 { (exit 1); exit 1; }; }
7211 # Don't try to exec as it changes $[0], causing all sort of problems
7212 # (the dirname of $[0] is not the place where we might find the
7213 # original and so on. Autoconf is especially sensible to this).
7215 # Exit status is that of the last command.
7220 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7221 *c
*,-n*) ECHO_N
= ECHO_C
='
7223 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7224 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7227 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7233 rm -f conf$$ conf$$.exe conf$$.
file
7235 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7236 # We could just check for DJGPP; but this test a) works b) is more generic
7237 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7238 if test -f conf$$.exe
; then
7239 # Don't use ln at all; we don't have any links
7244 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7249 rm -f conf$$ conf$$.exe conf$$.
file
7251 if mkdir
-p .
2>/dev
/null
; then
7254 test -d .
/-p && rmdir .
/-p
7258 as_executable_p
="test -f"
7260 # Sed expression to map a string onto a valid CPP name.
7261 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7263 # Sed expression to map a string onto a valid variable name.
7264 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7268 # We need space, tab and new line, in precisely that order.
7278 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7279 # report actual input values of CONFIG_FILES etc. instead of their
7280 # values after options handling. Logging --version etc. is OK.
7284 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7285 ## Running $as_me. ##
7290 This file was extended by cpplib $as_me , which was
7291 generated by GNU Autoconf 2.59. Invocation command line was
7293 CONFIG_FILES = $CONFIG_FILES
7294 CONFIG_HEADERS = $CONFIG_HEADERS
7295 CONFIG_LINKS = $CONFIG_LINKS
7296 CONFIG_COMMANDS = $CONFIG_COMMANDS
7300 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7304 # Files that config.status was made for.
7305 if test -n "$ac_config_files"; then
7306 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7309 if test -n "$ac_config_headers"; then
7310 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7313 if test -n "$ac_config_links"; then
7314 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7317 if test -n "$ac_config_commands"; then
7318 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7321 cat >>$CONFIG_STATUS <<\_ACEOF
7324 \`$as_me' instantiates files from templates according to the
7325 current configuration.
7327 Usage: $0 [OPTIONS] [FILE]...
7329 -h, --help print this help, then exit
7330 -V, --version print version number, then exit
7331 -q, --quiet do not print progress messages
7332 -d, --debug don't remove temporary files
7333 --recheck update $as_me by reconfiguring in the same conditions
7334 --file=FILE[:TEMPLATE]
7335 instantiate the configuration file FILE
7336 --header=FILE[:TEMPLATE]
7337 instantiate the configuration header FILE
7339 Configuration files:
7342 Configuration headers:
7345 Report bugs to <bug-autoconf@gnu.org>."
7348 cat >>$CONFIG_STATUS <<_ACEOF
7350 cpplib config.status
7351 configured by $0, generated by GNU Autoconf 2.59,
7352 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7354 Copyright (C) 2003 Free Software Foundation, Inc.
7355 This config.status script is free software; the Free Software Foundation
7356 gives unlimited permission to copy, distribute and modify it."
7361 cat >>$CONFIG_STATUS <<\_ACEOF
7362 # If no file are specified by the user, then we need to provide default
7363 # value. By we need to know if files were specified by the user.
7369 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
7370 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
7378 *) # This is not an option, so the user has probably given explicit
7381 ac_need_defaults
=false
;;
7385 # Handling of the options.
7387 cat >>$CONFIG_STATUS <<\_ACEOF
7388 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7390 --version |
--vers* |
-V )
7391 echo "$ac_cs_version"; exit 0 ;;
7393 # Conflict between --help and --header
7394 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7395 Try \`$0 --help' for more information." >&5
7396 echo "$as_me: error: ambiguous option: $1
7397 Try \`$0 --help' for more information." >&2;}
7398 { (exit 1); exit 1; }; };;
7399 --help |
--hel |
-h )
7400 echo "$ac_cs_usage"; exit 0 ;;
7401 --debug |
--d* |
-d )
7403 --file |
--fil |
--fi |
--f )
7405 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
7406 ac_need_defaults
=false
;;
7407 --header |
--heade |
--head |
--hea )
7409 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
7410 ac_need_defaults
=false
;;
7411 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7412 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7416 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7417 Try \`$0 --help' for more information." >&5
7418 echo "$as_me: error: unrecognized option: $1
7419 Try \`$0 --help' for more information." >&2;}
7420 { (exit 1); exit 1; }; } ;;
7422 *) ac_config_targets
="$ac_config_targets $1" ;;
7428 ac_configure_extra_args
=
7430 if $ac_cs_silent; then
7432 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7436 cat >>$CONFIG_STATUS <<_ACEOF
7437 if \$ac_cs_recheck; then
7438 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7439 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7448 cat >>$CONFIG_STATUS <<\_ACEOF
7449 for ac_config_target
in $ac_config_targets
7451 case "$ac_config_target" in
7452 # Handling of arguments.
7453 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7454 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h:config.in" ;;
7455 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7456 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7457 { (exit 1); exit 1; }; };;
7461 # If the user did not use the arguments to specify the items to instantiate,
7462 # then the envvar interface is used. Set only those that are not.
7463 # We use the long form for the default assignment because of an extremely
7464 # bizarre bug on SunOS 4.1.3.
7465 if $ac_need_defaults; then
7466 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
7467 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
7470 # Have a temporary directory for convenience. Make it in the build tree
7471 # simply because there is no reason to put it here, and in addition,
7472 # creating and moving files from /tmp can sometimes cause problems.
7473 # Create a temporary directory, and hook for its removal unless debugging.
7476 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7477 trap '{ (exit 1); exit 1; }' 1 2 13 15
7480 # Create a (secure) tmp directory for tmp files.
7483 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7484 test -n "$tmp" && test -d "$tmp"
7487 tmp
=.
/confstat$$
-$RANDOM
7488 (umask 077 && mkdir
$tmp)
7491 echo "$me: cannot create a temporary directory in ." >&2
7492 { (exit 1); exit 1; }
7497 cat >>$CONFIG_STATUS <<_ACEOF
7500 # CONFIG_FILES section.
7503 # No need to generate the scripts if there are no CONFIG_FILES.
7504 # This happens for instance when ./config.status config.h
7505 if test -n "\$CONFIG_FILES"; then
7506 # Protect against being on the right side of a sed subst in config.status.
7507 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7508 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7509 s,@SHELL@,$SHELL,;t t
7510 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7511 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7512 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7513 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7514 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7515 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7516 s,@exec_prefix@,$exec_prefix,;t t
7517 s,@prefix@,$prefix,;t t
7518 s,@program_transform_name@,$program_transform_name,;t t
7519 s,@bindir@,$bindir,;t t
7520 s,@sbindir@,$sbindir,;t t
7521 s,@libexecdir@,$libexecdir,;t t
7522 s,@datadir@,$datadir,;t t
7523 s,@sysconfdir@,$sysconfdir,;t t
7524 s,@sharedstatedir@,$sharedstatedir,;t t
7525 s,@localstatedir@,$localstatedir,;t t
7526 s,@libdir@,$libdir,;t t
7527 s,@includedir@,$includedir,;t t
7528 s,@oldincludedir@,$oldincludedir,;t t
7529 s,@infodir@,$infodir,;t t
7530 s,@mandir@,$mandir,;t t
7531 s,@build_alias@,$build_alias,;t t
7532 s,@host_alias@,$host_alias,;t t
7533 s,@target_alias@,$target_alias,;t t
7535 s,@ECHO_C@,$ECHO_C,;t t
7536 s,@ECHO_N@,$ECHO_N,;t t
7537 s,@ECHO_T@,$ECHO_T,;t t
7539 s,@build@,$build,;t t
7540 s,@build_cpu@,$build_cpu,;t t
7541 s,@build_vendor@,$build_vendor,;t t
7542 s,@build_os@,$build_os,;t t
7544 s,@host_cpu@,$host_cpu,;t t
7545 s,@host_vendor@,$host_vendor,;t t
7546 s,@host_os@,$host_os,;t t
7547 s,@target@,$target,;t t
7548 s,@target_cpu@,$target_cpu,;t t
7549 s,@target_vendor@,$target_vendor,;t t
7550 s,@target_os@,$target_os,;t t
7551 s,@SET_MAKE@,$SET_MAKE,;t t
7552 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7553 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7554 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7556 s,@CFLAGS@,$CFLAGS,;t t
7557 s,@LDFLAGS@,$LDFLAGS,;t t
7558 s,@CPPFLAGS@,$CPPFLAGS,;t t
7559 s,@ac_ct_CC@,$ac_ct_CC,;t t
7560 s,@EXEEXT@,$EXEEXT,;t t
7561 s,@OBJEXT@,$OBJEXT,;t t
7562 s,@RANLIB@,$RANLIB,;t t
7563 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
7564 s,@ACLOCAL@,$ACLOCAL,;t t
7565 s,@AUTOCONF@,$AUTOCONF,;t t
7566 s,@AUTOHEADER@,$AUTOHEADER,;t t
7568 s,@EGREP@,$EGREP,;t t
7569 s,@LIBOBJS@,$LIBOBJS,;t t
7570 s,@ALLOCA@,$ALLOCA,;t t
7571 s,@USE_NLS@,$USE_NLS,;t t
7572 s,@LIBINTL@,$LIBINTL,;t t
7573 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
7574 s,@INCINTL@,$INCINTL,;t t
7575 s,@XGETTEXT@,$XGETTEXT,;t t
7576 s,@GMSGFMT@,$GMSGFMT,;t t
7577 s,@POSUB@,$POSUB,;t t
7578 s,@CATALOGS@,$CATALOGS,;t t
7579 s,@LIBICONV@,$LIBICONV,;t t
7580 s,@LTLIBICONV@,$LTLIBICONV,;t t
7581 s,@PACKAGE@,$PACKAGE,;t t
7582 s,@USED_CATALOGS@,$USED_CATALOGS,;t t
7583 s,@MAINT@,$MAINT,;t t
7584 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7589 cat >>$CONFIG_STATUS <<\_ACEOF
7590 # Split the substitutions into bite-sized pieces for seds with
7591 # small command number limits, like on Digital OSF/1 and HP-UX.
7593 ac_sed_frag
=1 # Number of current file.
7594 ac_beg
=1 # First line for current file.
7595 ac_end
=$ac_max_sed_lines # Line after last line for current file.
7598 while $ac_more_lines; do
7599 if test $ac_beg -gt 1; then
7600 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7602 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
7604 if test ! -s $tmp/subs.frag
; then
7607 # The purpose of the label and of the branching condition is to
7608 # speed up the sed processing (if there are no `@' at all, there
7609 # is no need to browse any of the substitutions).
7610 # These are the two extra sed commands mentioned above.
7612 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
7613 if test -z "$ac_sed_cmds"; then
7614 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
7616 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7618 ac_sed_frag
=`expr $ac_sed_frag + 1`
7620 ac_end
=`expr $ac_end + $ac_max_sed_lines`
7623 if test -z "$ac_sed_cmds"; then
7626 fi # test -n "$CONFIG_FILES"
7629 cat >>$CONFIG_STATUS <<\_ACEOF
7630 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
7631 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7633 - |
*:- |
*:-:* ) # input from stdin
7635 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7636 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7637 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7638 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7639 * ) ac_file_in
=$ac_file.
in ;;
7642 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7643 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
7644 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7645 X"$ac_file" : 'X\(//\)[^/]' \| \
7646 X"$ac_file" : 'X\(//\)$' \| \
7647 X"$ac_file" : 'X\(/\)' \| \
7648 . : '\(.\)' 2>/dev/null ||
7650 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7651 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7652 /^X\(\/\/\)$/{ s//\1/; q; }
7653 /^X\(\/\).*/{ s//\1/; q; }
7655 { if $as_mkdir_p; then
7660 while test ! -d "$as_dir"; do
7661 as_dirs
="$as_dir $as_dirs"
7662 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
7663 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7664 X"$as_dir" : 'X\(//\)[^/]' \| \
7665 X"$as_dir" : 'X\(//\)$' \| \
7666 X"$as_dir" : 'X\(/\)' \| \
7667 . : '\(.\)' 2>/dev/null ||
7669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7670 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7671 /^X\(\/\/\)$/{ s//\1/; q; }
7672 /^X\(\/\).*/{ s//\1/; q; }
7675 test ! -n "$as_dirs" || mkdir
$as_dirs
7676 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7677 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7678 { (exit 1); exit 1; }; }; }
7682 if test "$ac_dir" != .
; then
7683 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7684 # A "../" for each directory in $ac_dir_suffix.
7685 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7687 ac_dir_suffix
= ac_top_builddir
=
7691 .
) # No --srcdir option. We are building in place.
7693 if test -z "$ac_top_builddir"; then
7696 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
7698 [\\/]* | ?
:[\\/]* ) # Absolute path.
7699 ac_srcdir
=$srcdir$ac_dir_suffix;
7700 ac_top_srcdir
=$srcdir ;;
7702 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
7703 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
7706 # Do not use `cd foo && pwd` to compute absolute paths, because
7707 # the directories may not exist.
7709 .
) ac_abs_builddir
="$ac_dir";;
7712 .
) ac_abs_builddir
=`pwd`;;
7713 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
7714 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
7717 case $ac_abs_builddir in
7718 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7720 case ${ac_top_builddir}.
in
7721 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
7722 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
7723 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
7726 case $ac_abs_builddir in
7727 .
) ac_abs_srcdir
=$ac_srcdir;;
7730 .
) ac_abs_srcdir
=$ac_abs_builddir;;
7731 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
7732 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
7735 case $ac_abs_builddir in
7736 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
7738 case $ac_top_srcdir in
7739 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
7740 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
7741 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
7747 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
7748 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
7751 if test x
"$ac_file" != x-
; then
7752 { echo "$as_me:$LINENO: creating $ac_file" >&5
7753 echo "$as_me: creating $ac_file" >&6;}
7756 # Let's still pretend it is `configure' which instantiates (i.e., don't
7757 # use $as_me), people would be surprised to read:
7758 # /* config.h. Generated by config.status. */
7759 if test x
"$ac_file" = x-
; then
7762 configure_input
="$ac_file. "
7764 configure_input
=$configure_input"Generated from `echo $ac_file_in |
7765 sed 's,.*/,,'` by configure."
7767 # First look for the input files in the build tree, otherwise in the
7769 ac_file_inputs
=`IFS=:
7770 for f in $ac_file_in; do
7772 -) echo $tmp/stdin ;;
7774 # Absolute (can't be DOS-style, as IFS=:)
7775 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7776 echo "$as_me: error: cannot find input file: $f" >&2;}
7777 { (exit 1); exit 1; }; }
7780 if test -f "$f"; then
7783 elif test -f "$srcdir/$f"; then
7788 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7789 echo "$as_me: error: cannot find input file: $f" >&2;}
7790 { (exit 1); exit 1; }; }
7793 done` ||
{ (exit 1); exit 1; }
7795 cat >>$CONFIG_STATUS <<_ACEOF
7799 cat >>$CONFIG_STATUS <<\_ACEOF
7801 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
7802 s
,@configure_input@
,$configure_input,;t t
7803 s
,@srcdir@
,$ac_srcdir,;t t
7804 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
7805 s
,@top_srcdir@
,$ac_top_srcdir,;t t
7806 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
7807 s
,@builddir@
,$ac_builddir,;t t
7808 s
,@abs_builddir@
,$ac_abs_builddir,;t t
7809 s
,@top_builddir@
,$ac_top_builddir,;t t
7810 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
7811 s
,@INSTALL@
,$ac_INSTALL,;t t
7812 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7814 if test x"$ac_file" != x-; then
7815 mv $tmp/out $ac_file
7823 cat >>$CONFIG_STATUS <<\_ACEOF
7826 # CONFIG_HEADER section.
7829 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
7830 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7832 # ac_d sets the value in "#define NAME VALUE" lines.
7833 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7834 ac_dB
='[ ].*$,\1#\2'
7837 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7838 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7839 ac_uB
='$,\1#\2define\3'
7843 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
7844 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7846 - |
*:- |
*:-:* ) # input from stdin
7848 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7849 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7850 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
7851 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
7852 * ) ac_file_in
=$ac_file.
in ;;
7855 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
7856 echo "$as_me: creating $ac_file" >&6;}
7858 # First look for the input files in the build tree, otherwise in the
7860 ac_file_inputs
=`IFS=:
7861 for f in $ac_file_in; do
7863 -) echo $tmp/stdin ;;
7865 # Absolute (can't be DOS-style, as IFS=:)
7866 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7867 echo "$as_me: error: cannot find input file: $f" >&2;}
7868 { (exit 1); exit 1; }; }
7869 # Do quote $f, to prevent DOS paths from being IFS'd.
7872 if test -f "$f"; then
7875 elif test -f "$srcdir/$f"; then
7880 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7881 echo "$as_me: error: cannot find input file: $f" >&2;}
7882 { (exit 1); exit 1; }; }
7885 done` ||
{ (exit 1); exit 1; }
7886 # Remove the trailing spaces.
7887 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7891 # Transform confdefs.h into two sed scripts, `conftest.defines' and
7892 # `conftest.undefs', that substitutes the proper values into
7893 # config.h.in to produce config.h. The first handles `#define'
7894 # templates, and the second `#undef' templates.
7895 # And first: Protect against being on the right side of a sed subst in
7896 # config.status. Protect against being in an unquoted here document
7898 rm -f conftest.defines conftest.undefs
7899 # Using a here document instead of a string reduces the quoting nightmare.
7900 # Putting comments in sed scripts is not portable.
7902 # `end' is used to avoid that the second main sed command (meant for
7903 # 0-ary CPP macros) applies to n-ary macro definitions.
7904 # See the Autoconf documentation for `clear'.
7905 cat >confdef2sed.
sed <<\_ACEOF
7910 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7912 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7915 # If some macros were called several times there might be several times
7916 # the same #defines, which is useless. Nevertheless, we may not want to
7917 # sort them, since we want the *last* AC-DEFINE to be honored.
7918 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7919 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7920 rm -f confdef2sed.sed
7922 # This sed command replaces #undef with comments. This is necessary, for
7923 # example, in the case of _POSIX_SOURCE, which is predefined and required
7924 # on some systems where configure will not decide to define it.
7925 cat >>conftest.undefs <<\_ACEOF
7926 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7929 # Break up conftest.defines because some shells have a limit on the size
7930 # of here documents, and old seds have small limits too (100 cmds).
7931 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7932 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7933 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7934 echo ' :' >>$CONFIG_STATUS
7936 while grep . conftest.defines >/dev/null
7938 # Write a limited-size here document to $tmp/defines.sed.
7939 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7940 # Speed up: don't consider the non `#define' lines.
7941 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7942 # Work around the forget-to-reset-the-flag bug.
7943 echo 't clr' >>$CONFIG_STATUS
7944 echo ': clr' >>$CONFIG_STATUS
7945 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
7947 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7951 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
7952 rm -f conftest.defines
7953 mv conftest.
tail conftest.defines
7955 rm -f conftest.defines
7956 echo ' fi # grep' >>$CONFIG_STATUS
7957 echo >>$CONFIG_STATUS
7959 # Break up conftest.undefs because some shells have a limit on the size
7960 # of here documents, and old seds have small limits too (100 cmds).
7961 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7963 while grep . conftest.undefs
>/dev
/null
7965 # Write a limited-size here document to $tmp/undefs.sed.
7966 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7967 # Speed up: don't consider the non
`#undef'
7968 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7969 # Work around the forget-to-reset-the-flag bug.
7970 echo 't clr' >>$CONFIG_STATUS
7971 echo ': clr' >>$CONFIG_STATUS
7972 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7974 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7978 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7979 rm -f conftest.undefs
7980 mv conftest.tail conftest.undefs
7982 rm -f conftest.undefs
7984 cat >>$CONFIG_STATUS <<\_ACEOF
7985 # Let's still pretend it is `configure
' which instantiates (i.e., don't
7986 # use $as_me), people would be surprised to read:
7987 # /* config.h. Generated by config.status. */
7988 if test x
"$ac_file" = x-
; then
7989 echo "/* Generated by configure. */" >$tmp/config.h
7991 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7993 cat $tmp/in >>$tmp/config.h
7995 if test x
"$ac_file" != x-
; then
7996 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
7997 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7998 echo "$as_me: $ac_file is unchanged" >&6;}
8000 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8001 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8002 X"$ac_file" : 'X\(//\)[^/]' \| \
8003 X"$ac_file" : 'X\(//\)$' \| \
8004 X"$ac_file" : 'X\(/\)' \| \
8005 . : '\(.\)' 2>/dev/null ||
8007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8008 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8009 /^X\(\/\/\)$/{ s//\1/; q; }
8010 /^X\(\/\).*/{ s//\1/; q; }
8012 { if $as_mkdir_p; then
8017 while test ! -d "$as_dir"; do
8018 as_dirs
="$as_dir $as_dirs"
8019 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8020 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8021 X"$as_dir" : 'X\(//\)[^/]' \| \
8022 X"$as_dir" : 'X\(//\)$' \| \
8023 X"$as_dir" : 'X\(/\)' \| \
8024 . : '\(.\)' 2>/dev/null ||
8026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8028 /^X\(\/\/\)$/{ s//\1/; q; }
8029 /^X\(\/\).*/{ s//\1/; q; }
8032 test ! -n "$as_dirs" || mkdir
$as_dirs
8033 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8034 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8035 { (exit 1); exit 1; }; }; }
8038 mv $tmp/config.h
$ac_file
8044 # Run the commands associated with the file.
8046 config.h
) echo timestamp
> stamp-h1
;;
8051 cat >>$CONFIG_STATUS <<\_ACEOF
8053 { (exit 0); exit 0; }
8055 chmod +x
$CONFIG_STATUS
8056 ac_clean_files
=$ac_clean_files_save
8059 # configure is writing to config.log, and then calls config.status.
8060 # config.status does its own redirection, appending to config.log.
8061 # Unfortunately, on DOS this fails, as config.log is still kept open
8062 # by configure, so config.status won't be able to write to it; its
8063 # output is simply discarded. So we exec the FD to /dev/null,
8064 # effectively closing config.log, so it can be properly (re)opened and
8065 # appended to by config.status. When coming back to configure, we
8066 # need to make the FD available again.
8067 if test "$no_create" != yes; then
8069 ac_config_status_args
=
8070 test "$silent" = yes &&
8071 ac_config_status_args
="$ac_config_status_args --quiet"
8073 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8075 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8076 # would make configure fail if this is the last instruction.
8077 $ac_cs_success ||
{ (exit 1); exit 1; }