2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for dpkg 1.13.6.
5 # Report bugs to <debian-dpkg@lists.debian.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.
271 PACKAGE_TARNAME
='dpkg'
272 PACKAGE_VERSION
='1.13.6'
273 PACKAGE_STRING
='dpkg 1.13.6'
274 PACKAGE_BUGREPORT
='debian-dpkg@lists.debian.org'
276 ac_unique_file
="lib/dpkg.h"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB CPP EGREP ALLOCA GLIBC21 HAVE_POSIX_PRINTF HAVE_ASPRINTF HAVE_SNPRINTF HAVE_WPRINTF LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB WITH_DSELECT_TRUE WITH_DSELECT_FALSE WITH_START_STOP_DAEMON_TRUE WITH_START_STOP_DAEMON_FALSE admindir CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE PERL ZLIB_CFLAGS ZLIB_LIBS BZ2_CFLAGS BZ2_LIBS CURSES_LIBS SSD_LIBS LIBOBJS 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
775 ac_env_CXX_set
=${CXX+set}
776 ac_env_CXX_value
=$CXX
777 ac_cv_env_CXX_set
=${CXX+set}
778 ac_cv_env_CXX_value
=$CXX
779 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
780 ac_env_CXXFLAGS_value
=$CXXFLAGS
781 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
782 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
783 ac_env_PERL_set
=${PERL+set}
784 ac_env_PERL_value
=$PERL
785 ac_cv_env_PERL_set
=${PERL+set}
786 ac_cv_env_PERL_value
=$PERL
787 ac_env_ZLIB_CFLAGS_set
=${ZLIB_CFLAGS+set}
788 ac_env_ZLIB_CFLAGS_value
=$ZLIB_CFLAGS
789 ac_cv_env_ZLIB_CFLAGS_set
=${ZLIB_CFLAGS+set}
790 ac_cv_env_ZLIB_CFLAGS_value
=$ZLIB_CFLAGS
791 ac_env_ZLIB_LIBS_set
=${ZLIB_LIBS+set}
792 ac_env_ZLIB_LIBS_value
=$ZLIB_LIBS
793 ac_cv_env_ZLIB_LIBS_set
=${ZLIB_LIBS+set}
794 ac_cv_env_ZLIB_LIBS_value
=$ZLIB_LIBS
795 ac_env_BZ2_CFLAGS_set
=${BZ2_CFLAGS+set}
796 ac_env_BZ2_CFLAGS_value
=$BZ2_CFLAGS
797 ac_cv_env_BZ2_CFLAGS_set
=${BZ2_CFLAGS+set}
798 ac_cv_env_BZ2_CFLAGS_value
=$BZ2_CFLAGS
799 ac_env_BZ2_LIBS_set
=${BZ2_LIBS+set}
800 ac_env_BZ2_LIBS_value
=$BZ2_LIBS
801 ac_cv_env_BZ2_LIBS_set
=${BZ2_LIBS+set}
802 ac_cv_env_BZ2_LIBS_value
=$BZ2_LIBS
803 ac_env_CURSES_LIBS_set
=${CURSES_LIBS+set}
804 ac_env_CURSES_LIBS_value
=$CURSES_LIBS
805 ac_cv_env_CURSES_LIBS_set
=${CURSES_LIBS+set}
806 ac_cv_env_CURSES_LIBS_value
=$CURSES_LIBS
807 ac_env_SSD_LIBS_set
=${SSD_LIBS+set}
808 ac_env_SSD_LIBS_value
=$SSD_LIBS
809 ac_cv_env_SSD_LIBS_set
=${SSD_LIBS+set}
810 ac_cv_env_SSD_LIBS_value
=$SSD_LIBS
813 # Report the --help message.
815 if test "$ac_init_help" = "long"; then
816 # Omit some internal or obsolete options to make the list less imposing.
817 # This message is too long to be a string in the A/UX 3.1 sh.
819 \`configure' configures dpkg 1.13.6 to adapt to many kinds of systems.
821 Usage: $0 [OPTION]... [VAR=VALUE]...
823 To assign environment variables (e.g., CC, CFLAGS...), specify them as
824 VAR=VALUE. See below for descriptions of some of the useful variables.
826 Defaults for the options are specified in brackets.
829 -h, --help display this help and exit
830 --help=short display options specific to this package
831 --help=recursive display the short help of all the included packages
832 -V, --version display version information and exit
833 -q, --quiet, --silent do not print \`checking...' messages
834 --cache-file=FILE cache test results in FILE [disabled]
835 -C, --config-cache alias for \`--cache-file=config.cache'
836 -n, --no-create do not create output files
837 --srcdir=DIR find the sources in DIR [configure dir or \`..']
842 Installation directories:
843 --prefix=PREFIX install architecture-independent files in PREFIX
845 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
848 By default, \`make install' will install all the files in
849 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
850 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
851 for instance \`--prefix=\$HOME'.
853 For better control, use the options below.
855 Fine tuning of the installation directories:
856 --bindir=DIR user executables [EPREFIX/bin]
857 --sbindir=DIR system admin executables [EPREFIX/sbin]
858 --libexecdir=DIR program executables [EPREFIX/libexec]
859 --datadir=DIR read-only architecture-independent data [PREFIX/share]
860 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
861 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
862 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
863 --libdir=DIR object code libraries [EPREFIX/lib]
864 --includedir=DIR C header files [PREFIX/include]
865 --oldincludedir=DIR C header files for non-gcc [/usr/include]
866 --infodir=DIR info documentation [PREFIX/info]
867 --mandir=DIR man documentation [PREFIX/man]
873 --program-prefix=PREFIX prepend PREFIX to installed program names
874 --program-suffix=SUFFIX append SUFFIX to installed program names
875 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
878 --build=BUILD configure
for building on BUILD
[guessed
]
879 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
880 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
884 if test -n "$ac_init_help"; then
885 case $ac_init_help in
886 short | recursive
) echo "Configuration of dpkg 1.13.6:";;
891 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
892 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
893 --disable-nls do not use Native Language Support
894 --disable-dependency-tracking speeds up one-time build
895 --enable-dependency-tracking do not reject slow dependency extractors
896 --disable-rpath do not hardcode runtime library paths
897 --disable-largefile omit support
for large files
898 --enable-compiler-warnings
899 Enable additional compiler warnings
900 --disable-compiler-optimisations
901 Disable compiler optimisations
902 --disable-linker-optimisations
903 Disable linker optimisations
906 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
907 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
908 --with-gnu-ld assume the C compiler uses GNU ld default
=no
909 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
910 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
911 --with-included-gettext use the GNU gettext library included here
912 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
913 --without-libintl-prefix don't search
for libintl
in includedir and libdir
914 --without-dselect don
't build dselect package-management frontend
915 --without-start-stop-daemon
916 don't build or use start-stop-daemon
917 --with-admindir=DIR dpkg database directory
[LOCALSTATEDIR
/dpkg
]
918 --with-zlib use zlib
for compression and decompression
920 --with-bz2 use bz2 library
for compression and decompression
923 Some influential environment variables
:
924 CC C compiler
command
925 CFLAGS C compiler flags
926 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
927 nonstandard directory
<lib dir
>
928 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
929 headers
in a nonstandard directory
<include dir
>
931 CXX C
++ compiler
command
932 CXXFLAGS C
++ compiler flags
933 PERL Perl interpreter
934 ZLIB_CFLAGS compiler flags
for zlib library
935 ZLIB_LIBS linker flags
for zlib library
936 BZ2_CFLAGS compiler flags
for bz2 library
937 BZ2_LIBS linker flags
for bz2 library
938 CURSES_LIBS linker flags
for curses library
939 SSD_LIBS linker flags
for start-stop-daemon
941 Use these variables to override the choices made by
`configure' or to help
942 it to find libraries and programs with nonstandard names/locations.
944 Report bugs to <debian-dpkg@lists.debian.org>.
948 if test "$ac_init_help" = "recursive"; then
949 # If there are subdirs, report their specific --help.
951 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
952 test -d $ac_dir || continue
955 if test "$ac_dir" != .; then
956 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
957 # A "../" for each directory in $ac_dir_suffix.
958 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
960 ac_dir_suffix= ac_top_builddir=
964 .) # No --srcdir option. We are building in place.
966 if test -z "$ac_top_builddir"; then
969 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
971 [\\/]* | ?:[\\/]* ) # Absolute path.
972 ac_srcdir=$srcdir$ac_dir_suffix;
973 ac_top_srcdir=$srcdir ;;
975 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
976 ac_top_srcdir=$ac_top_builddir$srcdir ;;
979 # Do not use `cd foo
&& pwd` to compute absolute paths, because
980 # the directories may not exist.
982 .) ac_abs_builddir="$ac_dir";;
985 .) ac_abs_builddir=`pwd`;;
986 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
987 *) ac_abs_builddir=`pwd`/"$ac_dir";;
990 case $ac_abs_builddir in
991 .) ac_abs_top_builddir=${ac_top_builddir}.;;
993 case ${ac_top_builddir}. in
994 .) ac_abs_top_builddir=$ac_abs_builddir;;
995 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
996 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
999 case $ac_abs_builddir in
1000 .) ac_abs_srcdir=$ac_srcdir;;
1003 .) ac_abs_srcdir=$ac_abs_builddir;;
1004 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1005 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1008 case $ac_abs_builddir in
1009 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1011 case $ac_top_srcdir in
1012 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1013 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1014 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1019 # Check for guested configure; otherwise get Cygnus style configure.
1020 if test -f $ac_srcdir/configure.gnu; then
1022 $SHELL $ac_srcdir/configure.gnu --help=recursive
1023 elif test -f $ac_srcdir/configure; then
1025 $SHELL $ac_srcdir/configure --help=recursive
1026 elif test -f $ac_srcdir/configure.ac ||
1027 test -f $ac_srcdir/configure.in; then
1029 $ac_configure --help
1031 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1037 test -n "$ac_init_help" && exit 0
1038 if $ac_init_version; then
1040 dpkg configure 1.13.6
1041 generated by GNU Autoconf 2.59
1043 Copyright (C) 2003 Free Software Foundation, Inc.
1044 This configure script is free software; the Free Software Foundation
1045 gives unlimited permission to copy, distribute and modify it.
1051 This file contains any messages produced by compilers while
1052 running configure, to aid debugging if configure makes a mistake.
1054 It was created by dpkg $as_me 1.13.6, which was
1055 generated by GNU Autoconf 2.59. Invocation command line was
1066 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1067 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1068 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1069 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1070 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1072 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1073 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1075 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1076 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1077 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1078 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1079 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1080 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1081 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1089 test -z "$as_dir" && as_dir=.
1090 echo "PATH: $as_dir"
1105 # Keep a trace of the command line.
1106 # Strip out --no-create and --no-recursion so they do not pile up.
1107 # Strip out --silent because we don't want to record it for future runs.
1108 # Also quote any args containing shell meta-characters.
1109 # Make two passes to allow for proper duplicate-argument suppression.
1114 ac_must_keep_next=false
1120 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1121 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1122 | -silent | --silent | --silen | --sile | --sil)
1124 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1125 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1128 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1130 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1131 if test $ac_must_keep_next = true; then
1132 ac_must_keep_next=false # Got value, back to normal.
1135 *=* | --config-cache | -C | -disable-* | --disable-* \
1136 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1137 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1138 | -with-* | --with-* | -without-* | --without-* | --x)
1139 case "$ac_configure_args0 " in
1140 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1143 -* ) ac_must_keep_next=true ;;
1146 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1147 # Get rid of the leading space.
1153 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1154 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1156 # When interrupted or exit'd, cleanup temporary files, and complete
1157 # config.log. We remove comments because anyway the quotes in there
1158 # would cause problems or look ugly.
1159 # WARNING: Be sure not to use single quotes in there, as some shells,
1160 # such as our DU 5.0 friend, will then `close
' the trap.
1161 trap 'exit_status
=$?
1162 # Save into config.log some information that might help in debugging.
1167 ## ---------------- ##
1168 ## Cache variables. ##
1169 ## ---------------- ##
1172 # The following way of writing the cache mishandles newlines in values,
1175 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1178 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1179 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1183 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1190 ## ----------------- ##
1191 ## Output variables. ##
1192 ## ----------------- ##
1195 for ac_var
in $ac_subst_vars
1197 eval ac_val
=$
`echo $ac_var`
1198 echo "$ac_var='"'"'$ac_val'"'"'"
1202 if test -n "$ac_subst_files"; then
1209 for ac_var
in $ac_subst_files
1211 eval ac_val
=$
`echo $ac_var`
1212 echo "$ac_var='"'"'$ac_val'"'"'"
1217 if test -s confdefs.h
; then
1224 sed "/^$/d" confdefs.h |
sort
1227 test "$ac_signal" != 0 &&
1228 echo "$as_me: caught signal $ac_signal"
1229 echo "$as_me: exit $exit_status"
1231 rm -f core
*.core
&&
1232 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1235 for ac_signal in 1 2 13 15; do
1236 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1240 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1241 rm -rf conftest* confdefs.h
1242 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1245 # Predefined preprocessor variables.
1247 cat >>confdefs.h <<_ACEOF
1248 #define PACKAGE_NAME "$PACKAGE_NAME"
1252 cat >>confdefs.h <<_ACEOF
1253 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1257 cat >>confdefs.h <<_ACEOF
1258 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1262 cat >>confdefs.h <<_ACEOF
1263 #define PACKAGE_STRING "$PACKAGE_STRING"
1267 cat >>confdefs.h <<_ACEOF
1268 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1272 # Let the site file select an alternate cache file if it wants to.
1273 # Prefer explicitly selected file to automatically selected ones.
1274 if test -z "$CONFIG_SITE"; then
1275 if test "x$prefix" != xNONE; then
1276 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1278 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1281 for ac_site_file in $CONFIG_SITE; do
1282 if test -r "$ac_site_file"; then
1283 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1284 echo "$as_me: loading site script $ac_site_file" >&6;}
1285 sed 's
/^
/|
/' "$ac_site_file" >&5
1290 if test -r "$cache_file"; then
1291 # Some versions of bash will fail to source /dev/null (special
1292 # files actually), so we avoid doing that.
1293 if test -f "$cache_file"; then
1294 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1295 echo "$as_me: loading cache $cache_file" >&6;}
1297 [\\/]* | ?:[\\/]* ) . $cache_file;;
1298 *) . ./$cache_file;;
1302 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1303 echo "$as_me: creating cache $cache_file" >&6;}
1307 # Check that the precious variables saved in the cache have kept the same
1309 ac_cache_corrupted=false
1310 for ac_var in `(set) 2>&1 |
1311 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1312 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1313 eval ac_new_set=\$ac_env_${ac_var}_set
1314 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1315 eval ac_new_val="\$ac_env_${ac_var}_value"
1316 case $ac_old_set,$ac_new_set in
1318 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1319 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1320 ac_cache_corrupted=: ;;
1322 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1323 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1324 ac_cache_corrupted=: ;;
1327 if test "x$ac_old_val" != "x$ac_new_val"; then
1328 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1329 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1330 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1331 echo "$as_me: former value: $ac_old_val" >&2;}
1332 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1333 echo "$as_me: current value: $ac_new_val" >&2;}
1334 ac_cache_corrupted=:
1337 # Pass precious variables to config.status.
1338 if test "$ac_new_set" = set; then
1340 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1341 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1342 *) ac_arg=$ac_var=$ac_new_val ;;
1344 case " $ac_configure_args " in
1345 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1346 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1350 if $ac_cache_corrupted; then
1351 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1352 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1353 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1354 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1355 { (exit 1); exit 1; }; }
1359 ac_cpp='$CPP $CPPFLAGS'
1360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1361 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1392 [\\/]* | ?:[\\/]* ) ac_macro_dir=m4 ;;
1393 *) ac_macro_dir=$srcdir/m4 ;;
1395 if test -d "$ac_macro_dir"; then :
1397 { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5
1398 echo "$as_me: error
: cannot
find macro directory \
`m4'" >&2;}
1399 { (exit 1); exit 1; }; }
1404 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1405 if test -f $ac_dir/install-sh; then
1407 ac_install_sh="$ac_aux_dir/install-sh -c"
1409 elif test -f $ac_dir/install.sh; then
1411 ac_install_sh="$ac_aux_dir/install.sh -c"
1413 elif test -f $ac_dir/shtool; then
1415 ac_install_sh="$ac_aux_dir/shtool install -c"
1419 if test -z "$ac_aux_dir"; then
1420 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1421 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1422 { (exit 1); exit 1; }; }
1424 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1425 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1426 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1428 # Make sure we can run config.sub.
1429 $ac_config_sub sun4 >/dev/null 2>&1 ||
1430 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1431 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1432 { (exit 1); exit 1; }; }
1434 echo "$as_me:$LINENO: checking build system type" >&5
1435 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1436 if test "${ac_cv_build+set}" = set; then
1437 echo $ECHO_N "(cached) $ECHO_C" >&6
1439 ac_cv_build_alias=$build_alias
1440 test -z "$ac_cv_build_alias" &&
1441 ac_cv_build_alias=`$ac_config_guess`
1442 test -z "$ac_cv_build_alias" &&
1443 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1444 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1445 { (exit 1); exit 1; }; }
1446 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1447 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1448 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1449 { (exit 1); exit 1; }; }
1452 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1453 echo "${ECHO_T}$ac_cv_build" >&6
1455 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1456 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1457 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1460 echo "$as_me:$LINENO: checking host system type" >&5
1461 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1462 if test "${ac_cv_host+set}" = set; then
1463 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 ac_cv_host_alias=$host_alias
1466 test -z "$ac_cv_host_alias" &&
1467 ac_cv_host_alias=$ac_cv_build_alias
1468 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1469 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1470 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1471 { (exit 1); exit 1; }; }
1474 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1475 echo "${ECHO_T}$ac_cv_host" >&6
1477 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1478 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1479 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1482 echo "$as_me:$LINENO: checking target system type" >&5
1483 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1484 if test "${ac_cv_target+set}" = set; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 ac_cv_target_alias=$target_alias
1488 test "x$ac_cv_target_alias" = "x" &&
1489 ac_cv_target_alias=$ac_cv_host_alias
1490 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1491 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1492 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1493 { (exit 1); exit 1; }; }
1496 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1497 echo "${ECHO_T}$ac_cv_target" >&6
1498 target=$ac_cv_target
1499 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1500 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1501 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1504 # The aliases save the names the user supplied, while $host etc.
1505 # will get canonicalized.
1506 test -n "$target_alias" &&
1507 test "$program_prefix$program_suffix$program_transform_name" = \
1509 program_prefix=${target_alias}-
1511 cat >>confdefs.h <<\_ACEOF
1512 #define _GNU_SOURCE 1
1516 echo "$as_me:$LINENO: checking dpkg cpu type" >&5
1517 echo $ECHO_N "checking dpkg cpu type... $ECHO_C" >&6
1518 cpu_type="`awk \"! /^
(#.*)?\\$/ { if (match(\\\"$target_cpu\\\", \\\"^\\\"\\$3\\\"\\$\\\")) { print \\$1; exit; } }\" $srcdir/cputable`"
1519 if test "x$cpu_type" = "x"; then
1520 cpu_type
=$target_cpu
1521 echo "$as_me:$LINENO: result: $cpu_type" >&5
1522 echo "${ECHO_T}$cpu_type" >&6
1523 { echo "$as_me:$LINENO: WARNING: $target_cpu not found in cputable" >&5
1524 echo "$as_me: WARNING: $target_cpu not found in cputable" >&2;}
1526 echo "$as_me:$LINENO: result: $cpu_type" >&5
1527 echo "${ECHO_T}$cpu_type" >&6
1530 cat >>confdefs.h
<<_ACEOF
1531 #define ARCHITECTURE_CPU "${cpu_type}"
1535 echo "$as_me:$LINENO: checking dpkg operating system type" >&5
1536 echo $ECHO_N "checking dpkg operating system type... $ECHO_C" >&6
1537 os_type
="`awk \"! /^(#.*)?\\$/ { if (match(\\\"$target_os\\\", \\\"^(.*-)?\\\"\\$3\\\"\\$\\\")) { print \\$1; exit; } }\" $srcdir/ostable`"
1538 if test "x$os_type" = "x"; then
1540 echo "$as_me:$LINENO: result: $os_type" >&5
1541 echo "${ECHO_T}$os_type" >&6
1542 { echo "$as_me:$LINENO: WARNING: $target_os not found in ostable" >&5
1543 echo "$as_me: WARNING: $target_os not found in ostable" >&2;}
1545 echo "$as_me:$LINENO: result: $os_type" >&5
1546 echo "${ECHO_T}$os_type" >&6
1549 cat >>confdefs.h
<<_ACEOF
1550 #define ARCHITECTURE_OS "${os_type}"
1554 echo "$as_me:$LINENO: checking dpkg architecture name" >&5
1555 echo $ECHO_N "checking dpkg architecture name... $ECHO_C" >&6
1556 if test "x$os_type" = "xlinux"; then
1559 dpkg_arch
="$os_type-$cpu_type"
1561 echo "$as_me:$LINENO: result: $dpkg_arch" >&5
1562 echo "${ECHO_T}$dpkg_arch" >&6
1564 cat >>confdefs.h
<<_ACEOF
1565 #define ARCHITECTURE "${dpkg_arch}"
1570 am__api_version
="1.8"
1571 # Find a good install program. We prefer a C program (faster),
1572 # so one script is as good as another. But avoid the broken or
1573 # incompatible versions:
1574 # SysV /etc/install, /usr/sbin/install
1575 # SunOS /usr/etc/install
1576 # IRIX /sbin/install
1578 # AmigaOS /C/install, which installs bootblocks on floppy discs
1579 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1580 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1581 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1582 # OS/2's system install, which has a completely different semantic
1583 # ./install, which can be erroneously created by make from ./install.sh.
1584 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1585 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1586 if test -z "$INSTALL"; then
1587 if test "${ac_cv_path_install+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1594 test -z "$as_dir" && as_dir
=.
1595 # Account for people who put trailing slashes in PATH elements.
1597 .
/ | .
// |
/cC
/* | \
1598 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1599 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1602 # OSF1 and SCO ODT 3.0 have their own names for install.
1603 # Don't use installbsd from OSF since it installs stuff as root
1605 for ac_prog
in ginstall scoinst
install; do
1606 for ac_exec_ext
in '' $ac_executable_extensions; do
1607 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1608 if test $ac_prog = install &&
1609 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1610 # AIX install. It has an incompatible calling convention.
1612 elif test $ac_prog = install &&
1613 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1614 # program-specific install script used by HP pwplus--don't use.
1617 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1629 if test "${ac_cv_path_install+set}" = set; then
1630 INSTALL
=$ac_cv_path_install
1632 # As a last resort, use the slow shell script. We don't cache a
1633 # path for INSTALL within a source directory, because that will
1634 # break other packages using the cache if that directory is
1635 # removed, or if the path is relative.
1636 INSTALL
=$ac_install_sh
1639 echo "$as_me:$LINENO: result: $INSTALL" >&5
1640 echo "${ECHO_T}$INSTALL" >&6
1642 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1643 # It thinks the first close brace ends the variable substitution.
1644 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1646 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1648 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1650 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1651 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1654 echo timestamp
> conftest.
file
1655 # Do `set' in a subshell so we don't clobber the current shell's
1656 # arguments. Must try -L first in case configure is actually a
1657 # symlink; some systems play weird games with the mod time of symlinks
1658 # (eg FreeBSD returns the mod time of the symlink's containing
1661 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1662 if test "$*" = "X"; then
1664 set X
`ls -t $srcdir/configure conftest.file`
1667 if test "$*" != "X $srcdir/configure conftest.file" \
1668 && test "$*" != "X conftest.file $srcdir/configure"; then
1670 # If neither matched, then we have a broken ls. This can happen
1671 # if, for instance, CONFIG_SHELL is bash and it inherits a
1672 # broken ls alias from the environment. This has actually
1673 # happened. Such a system could not be considered "sane".
1674 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1675 alias in your environment" >&5
1676 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1677 alias in your environment" >&2;}
1678 { (exit 1); exit 1; }; }
1681 test "$2" = conftest.
file
1687 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1688 Check your system clock" >&5
1689 echo "$as_me: error: newly created file is older than distributed files!
1690 Check your system clock" >&2;}
1691 { (exit 1); exit 1; }; }
1693 echo "$as_me:$LINENO: result: yes" >&5
1694 echo "${ECHO_T}yes" >&6
1695 test "$program_prefix" != NONE
&&
1696 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1697 # Use a double $ so make ignores it.
1698 test "$program_suffix" != NONE
&&
1699 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1700 # Double any \ or $. echo might interpret backslashes.
1701 # By default was `s,x,x', remove it if useless.
1702 cat <<\_ACEOF
>conftest.
sed
1703 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1705 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1708 # expand $ac_aux_dir to an absolute path
1709 am_aux_dir
=`cd $ac_aux_dir && pwd`
1711 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1712 # Use eval to expand $SHELL
1713 if eval "$MISSING --run true"; then
1714 am_missing_run
="$MISSING --run "
1717 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1718 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1721 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1722 # Keeping the `.' argument allows $(mkdir_p) to be used without
1723 # argument. Indeed, we sometimes output rules like
1724 # $(mkdir_p) $(somedir)
1725 # where $(somedir) is conditionally defined.
1726 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1727 # expensive solution, as it forces Make to start a sub-shell.)
1728 mkdir_p
='mkdir -p -- .'
1730 # On NextStep and OpenStep, the `mkdir' command does not
1731 # recognize any option. It will interpret all options as
1732 # directories to create, and then abort because `.' already
1734 for d
in .
/-p .
/--version;
1736 test -d $d && rmdir $d
1738 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1739 if test -f "$ac_aux_dir/mkinstalldirs"; then
1740 mkdir_p
='$(mkinstalldirs)'
1742 mkdir_p
='$(install_sh) -d'
1746 for ac_prog
in gawk mawk nawk
awk
1748 # Extract the first word of "$ac_prog", so it can be a program name with args.
1749 set dummy
$ac_prog; ac_word
=$2
1750 echo "$as_me:$LINENO: checking for $ac_word" >&5
1751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1752 if test "${ac_cv_prog_AWK+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 if test -n "$AWK"; then
1756 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1762 test -z "$as_dir" && as_dir
=.
1763 for ac_exec_ext
in '' $ac_executable_extensions; do
1764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1765 ac_cv_prog_AWK
="$ac_prog"
1766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1775 if test -n "$AWK"; then
1776 echo "$as_me:$LINENO: result: $AWK" >&5
1777 echo "${ECHO_T}$AWK" >&6
1779 echo "$as_me:$LINENO: result: no" >&5
1780 echo "${ECHO_T}no" >&6
1783 test -n "$AWK" && break
1786 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1787 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1788 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1789 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1790 echo $ECHO_N "(cached) $ECHO_C" >&6
1792 cat >conftest.
make <<\_ACEOF
1794 @
echo 'ac_maketemp="$(MAKE)"'
1796 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1797 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1798 if test -n "$ac_maketemp"; then
1799 eval ac_cv_prog_make_
${ac_make}_set
=yes
1801 eval ac_cv_prog_make_
${ac_make}_set
=no
1805 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1806 echo "$as_me:$LINENO: result: yes" >&5
1807 echo "${ECHO_T}yes" >&6
1810 echo "$as_me:$LINENO: result: no" >&5
1811 echo "${ECHO_T}no" >&6
1812 SET_MAKE
="MAKE=${MAKE-make}"
1815 rm -rf .tst
2>/dev
/null
1816 mkdir .tst
2>/dev
/null
1817 if test -d .tst
; then
1822 rmdir .tst
2>/dev
/null
1824 # test to see if srcdir already configured
1825 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1826 test -f $srcdir/config.status
; then
1827 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1828 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1829 { (exit 1); exit 1; }; }
1832 # test whether we have cygpath
1833 if test -z "$CYGPATH_W"; then
1834 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
1835 CYGPATH_W
='cygpath -w'
1842 # Define the identity of the package.
1847 cat >>confdefs.h
<<_ACEOF
1848 #define PACKAGE "$PACKAGE"
1852 cat >>confdefs.h
<<_ACEOF
1853 #define VERSION "$VERSION"
1856 # Some tools Automake needs.
1858 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1861 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1864 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1867 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1870 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1873 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1875 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1877 # Installed binaries are usually stripped using `strip' when the user
1878 # run `make install-strip'. However `strip' might not be the right
1879 # tool to use in cross-compilation environments, therefore Automake
1880 # will honor the `STRIP' environment variable to overrule this program.
1881 if test "$cross_compiling" != no
; then
1882 if test -n "$ac_tool_prefix"; then
1883 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1884 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1885 echo "$as_me:$LINENO: checking for $ac_word" >&5
1886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1887 if test "${ac_cv_prog_STRIP+set}" = set; then
1888 echo $ECHO_N "(cached) $ECHO_C" >&6
1890 if test -n "$STRIP"; then
1891 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1897 test -z "$as_dir" && as_dir
=.
1898 for ac_exec_ext
in '' $ac_executable_extensions; do
1899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1900 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1909 STRIP
=$ac_cv_prog_STRIP
1910 if test -n "$STRIP"; then
1911 echo "$as_me:$LINENO: result: $STRIP" >&5
1912 echo "${ECHO_T}$STRIP" >&6
1914 echo "$as_me:$LINENO: result: no" >&5
1915 echo "${ECHO_T}no" >&6
1919 if test -z "$ac_cv_prog_STRIP"; then
1921 # Extract the first word of "strip", so it can be a program name with args.
1922 set dummy strip
; ac_word
=$2
1923 echo "$as_me:$LINENO: checking for $ac_word" >&5
1924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1925 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1926 echo $ECHO_N "(cached) $ECHO_C" >&6
1928 if test -n "$ac_ct_STRIP"; then
1929 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1935 test -z "$as_dir" && as_dir
=.
1936 for ac_exec_ext
in '' $ac_executable_extensions; do
1937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1938 ac_cv_prog_ac_ct_STRIP
="strip"
1939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1945 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1948 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1949 if test -n "$ac_ct_STRIP"; then
1950 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1951 echo "${ECHO_T}$ac_ct_STRIP" >&6
1953 echo "$as_me:$LINENO: result: no" >&5
1954 echo "${ECHO_T}no" >&6
1959 STRIP
="$ac_cv_prog_STRIP"
1963 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1965 # We need awk for the "check" target. The system "awk" is bad on
1974 if test -n "$ac_aux_dir"; then
1975 case "$ac_aux_dir" in
1976 /*) MKINSTALLDIRS
="$ac_aux_dir/mkinstalldirs" ;;
1977 *) MKINSTALLDIRS
="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
1980 if test -z "$MKINSTALLDIRS"; then
1981 MKINSTALLDIRS
="\$(top_srcdir)/mkinstalldirs"
1986 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
1987 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
1988 # Check whether --enable-nls or --disable-nls was given.
1989 if test "${enable_nls+set}" = set; then
1990 enableval
="$enable_nls"
1995 echo "$as_me:$LINENO: result: $USE_NLS" >&5
1996 echo "${ECHO_T}$USE_NLS" >&6
2003 # Prepare PATH_SEPARATOR.
2004 # The user is always right.
2005 if test "${PATH_SEPARATOR+set}" != set; then
2006 echo "#! /bin/sh" >conf$$.sh
2007 echo "exit 0" >>conf$$.sh
2009 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
2017 # Find out how to test for executable files. Don't use a zero-byte file,
2018 # as systems may use methods other than mode bits to determine executability.
2019 cat >conf$$.
file <<_ASEOF
2023 chmod +x conf$$.
file
2024 if test -x conf$$.
file >/dev
/null
2>&1; then
2025 ac_executable_p
="test -x"
2027 ac_executable_p
="test -f"
2031 # Extract the first word of "msgfmt", so it can be a program name with args.
2032 set dummy msgfmt
; ac_word
=$2
2033 echo "$as_me:$LINENO: checking for $ac_word" >&5
2034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2035 if test "${ac_cv_path_MSGFMT+set}" = set; then
2036 echo $ECHO_N "(cached) $ECHO_C" >&6
2040 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
2043 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
2044 for ac_dir
in $PATH; do
2046 test -z "$ac_dir" && ac_dir
=.
2047 for ac_exec_ext
in '' $ac_executable_extensions; do
2048 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2049 if $ac_dir/$ac_word --statistics /dev
/null
>/dev
/null
2>&1 &&
2050 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
2051 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
2058 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
2062 MSGFMT
="$ac_cv_path_MSGFMT"
2063 if test "$MSGFMT" != ":"; then
2064 echo "$as_me:$LINENO: result: $MSGFMT" >&5
2065 echo "${ECHO_T}$MSGFMT" >&6
2067 echo "$as_me:$LINENO: result: no" >&5
2068 echo "${ECHO_T}no" >&6
2071 # Extract the first word of "gmsgfmt", so it can be a program name with args.
2072 set dummy gmsgfmt
; ac_word
=$2
2073 echo "$as_me:$LINENO: checking for $ac_word" >&5
2074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2075 if test "${ac_cv_path_GMSGFMT+set}" = set; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2080 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
2083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2087 test -z "$as_dir" && as_dir
=.
2088 for ac_exec_ext
in '' $ac_executable_extensions; do
2089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
2091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
2101 GMSGFMT
=$ac_cv_path_GMSGFMT
2103 if test -n "$GMSGFMT"; then
2104 echo "$as_me:$LINENO: result: $GMSGFMT" >&5
2105 echo "${ECHO_T}$GMSGFMT" >&6
2107 echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6
2113 # Prepare PATH_SEPARATOR.
2114 # The user is always right.
2115 if test "${PATH_SEPARATOR+set}" != set; then
2116 echo "#! /bin/sh" >conf$$.sh
2117 echo "exit 0" >>conf$$.sh
2119 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
2127 # Find out how to test for executable files. Don't use a zero-byte file,
2128 # as systems may use methods other than mode bits to determine executability.
2129 cat >conf$$.
file <<_ASEOF
2133 chmod +x conf$$.
file
2134 if test -x conf$$.
file >/dev
/null
2>&1; then
2135 ac_executable_p
="test -x"
2137 ac_executable_p
="test -f"
2141 # Extract the first word of "xgettext", so it can be a program name with args.
2142 set dummy xgettext
; ac_word
=$2
2143 echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2145 if test "${ac_cv_path_XGETTEXT+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2150 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
2153 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
2154 for ac_dir
in $PATH; do
2156 test -z "$ac_dir" && ac_dir
=.
2157 for ac_exec_ext
in '' $ac_executable_extensions; do
2158 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2159 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
2160 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
2161 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
2168 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
2172 XGETTEXT
="$ac_cv_path_XGETTEXT"
2173 if test "$XGETTEXT" != ":"; then
2174 echo "$as_me:$LINENO: result: $XGETTEXT" >&5
2175 echo "${ECHO_T}$XGETTEXT" >&6
2177 echo "$as_me:$LINENO: result: no" >&5
2178 echo "${ECHO_T}no" >&6
2184 # Prepare PATH_SEPARATOR.
2185 # The user is always right.
2186 if test "${PATH_SEPARATOR+set}" != set; then
2187 echo "#! /bin/sh" >conf$$.sh
2188 echo "exit 0" >>conf$$.sh
2190 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
2198 # Find out how to test for executable files. Don't use a zero-byte file,
2199 # as systems may use methods other than mode bits to determine executability.
2200 cat >conf$$.
file <<_ASEOF
2204 chmod +x conf$$.
file
2205 if test -x conf$$.
file >/dev
/null
2>&1; then
2206 ac_executable_p
="test -x"
2208 ac_executable_p
="test -f"
2212 # Extract the first word of "msgmerge", so it can be a program name with args.
2213 set dummy msgmerge
; ac_word
=$2
2214 echo "$as_me:$LINENO: checking for $ac_word" >&5
2215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2216 if test "${ac_cv_path_MSGMERGE+set}" = set; then
2217 echo $ECHO_N "(cached) $ECHO_C" >&6
2221 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
2224 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
2225 for ac_dir
in $PATH; do
2227 test -z "$ac_dir" && ac_dir
=.
2228 for ac_exec_ext
in '' $ac_executable_extensions; do
2229 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
2230 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>/dev
/null
2>&1; then
2231 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
2238 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
2242 MSGMERGE
="$ac_cv_path_MSGMERGE"
2243 if test "$MSGMERGE" != ":"; then
2244 echo "$as_me:$LINENO: result: $MSGMERGE" >&5
2245 echo "${ECHO_T}$MSGMERGE" >&6
2247 echo "$as_me:$LINENO: result: no" >&5
2248 echo "${ECHO_T}no" >&6
2252 if test "$GMSGFMT" != ":"; then
2253 if $GMSGFMT --statistics /dev
/null
>/dev
/null
2>&1 &&
2254 (if $GMSGFMT --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
2257 GMSGFMT
=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
2258 echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
2259 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
2264 if test "$XGETTEXT" != ":"; then
2265 if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>/dev
/null
2>&1 &&
2266 (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
2269 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
2270 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
2276 ac_config_commands
="$ac_config_commands default-1"
2279 DEPDIR
="${am__leading_dot}deps"
2281 ac_config_commands
="$ac_config_commands depfiles"
2284 am_make
=${MAKE-make}
2285 cat > confinc
<< 'END'
2290 # If we don't find an include directive, just comment out the code.
2291 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2292 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2296 # First try GNU make style include.
2297 echo "include confinc" > confmf
2298 # We grep out `Entering directory' and `Leaving directory'
2299 # messages which can occur if `w' ends up in MAKEFLAGS.
2300 # In particular we don't look at `^make:' because GNU make might
2301 # be invoked under some other name (usually "gmake"), in which
2302 # case it prints its new name instead of `make'.
2303 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2308 # Now try BSD make style include.
2309 if test "$am__include" = "#"; then
2310 echo '.include "confinc"' > confmf
2311 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2312 am__include
=.include
2319 echo "$as_me:$LINENO: result: $_am_result" >&5
2320 echo "${ECHO_T}$_am_result" >&6
2321 rm -f confinc confmf
2323 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2324 if test "${enable_dependency_tracking+set}" = set; then
2325 enableval
="$enable_dependency_tracking"
2328 if test "x$enable_dependency_tracking" != xno
; then
2329 am_depcomp
="$ac_aux_dir/depcomp"
2334 if test "x$enable_dependency_tracking" != xno; then
2345 ac_cpp
='$CPP $CPPFLAGS'
2346 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2347 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2348 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2349 if test -n "$ac_tool_prefix"; then
2350 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2351 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2352 echo "$as_me:$LINENO: checking for $ac_word" >&5
2353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2354 if test "${ac_cv_prog_CC+set}" = set; then
2355 echo $ECHO_N "(cached) $ECHO_C" >&6
2357 if test -n "$CC"; then
2358 ac_cv_prog_CC
="$CC" # Let the user override the test.
2360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2364 test -z "$as_dir" && as_dir
=.
2365 for ac_exec_ext
in '' $ac_executable_extensions; do
2366 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2367 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2368 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2377 if test -n "$CC"; then
2378 echo "$as_me:$LINENO: result: $CC" >&5
2379 echo "${ECHO_T}$CC" >&6
2381 echo "$as_me:$LINENO: result: no" >&5
2382 echo "${ECHO_T}no" >&6
2386 if test -z "$ac_cv_prog_CC"; then
2388 # Extract the first word of "gcc", so it can be a program name with args.
2389 set dummy gcc
; ac_word
=$2
2390 echo "$as_me:$LINENO: checking for $ac_word" >&5
2391 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2392 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 if test -n "$ac_ct_CC"; then
2396 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2402 test -z "$as_dir" && as_dir
=.
2403 for ac_exec_ext
in '' $ac_executable_extensions; do
2404 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2405 ac_cv_prog_ac_ct_CC
="gcc"
2406 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2414 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2415 if test -n "$ac_ct_CC"; then
2416 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2417 echo "${ECHO_T}$ac_ct_CC" >&6
2419 echo "$as_me:$LINENO: result: no" >&5
2420 echo "${ECHO_T}no" >&6
2428 if test -z "$CC"; then
2429 if test -n "$ac_tool_prefix"; then
2430 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2431 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2432 echo "$as_me:$LINENO: checking for $ac_word" >&5
2433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2434 if test "${ac_cv_prog_CC+set}" = set; then
2435 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 if test -n "$CC"; then
2438 ac_cv_prog_CC
="$CC" # Let the user override the test.
2440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir
=.
2445 for ac_exec_ext
in '' $ac_executable_extensions; do
2446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2447 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2457 if test -n "$CC"; then
2458 echo "$as_me:$LINENO: result: $CC" >&5
2459 echo "${ECHO_T}$CC" >&6
2461 echo "$as_me:$LINENO: result: no" >&5
2462 echo "${ECHO_T}no" >&6
2466 if test -z "$ac_cv_prog_CC"; then
2468 # Extract the first word of "cc", so it can be a program name with args.
2469 set dummy cc
; ac_word
=$2
2470 echo "$as_me:$LINENO: checking for $ac_word" >&5
2471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2472 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2473 echo $ECHO_N "(cached) $ECHO_C" >&6
2475 if test -n "$ac_ct_CC"; then
2476 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2482 test -z "$as_dir" && as_dir
=.
2483 for ac_exec_ext
in '' $ac_executable_extensions; do
2484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2485 ac_cv_prog_ac_ct_CC
="cc"
2486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2494 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2495 if test -n "$ac_ct_CC"; then
2496 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2497 echo "${ECHO_T}$ac_ct_CC" >&6
2499 echo "$as_me:$LINENO: result: no" >&5
2500 echo "${ECHO_T}no" >&6
2509 if test -z "$CC"; then
2510 # Extract the first word of "cc", so it can be a program name with args.
2511 set dummy cc
; ac_word
=$2
2512 echo "$as_me:$LINENO: checking for $ac_word" >&5
2513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2514 if test "${ac_cv_prog_CC+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 if test -n "$CC"; then
2518 ac_cv_prog_CC
="$CC" # Let the user override the test.
2521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2525 test -z "$as_dir" && as_dir
=.
2526 for ac_exec_ext
in '' $ac_executable_extensions; do
2527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2528 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2529 ac_prog_rejected
=yes
2533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2539 if test $ac_prog_rejected = yes; then
2540 # We found a bogon in the path, so make sure we never use it.
2541 set dummy
$ac_cv_prog_CC
2543 if test $# != 0; then
2544 # We chose a different compiler from the bogus one.
2545 # However, it has the same basename, so the bogon will be chosen
2546 # first if we set CC to just the basename; use the full file name.
2548 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2554 if test -n "$CC"; then
2555 echo "$as_me:$LINENO: result: $CC" >&5
2556 echo "${ECHO_T}$CC" >&6
2558 echo "$as_me:$LINENO: result: no" >&5
2559 echo "${ECHO_T}no" >&6
2563 if test -z "$CC"; then
2564 if test -n "$ac_tool_prefix"; then
2567 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2568 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2569 echo "$as_me:$LINENO: checking for $ac_word" >&5
2570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2571 if test "${ac_cv_prog_CC+set}" = set; then
2572 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 if test -n "$CC"; then
2575 ac_cv_prog_CC
="$CC" # Let the user override the test.
2577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir
=.
2582 for ac_exec_ext
in '' $ac_executable_extensions; do
2583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2584 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 if test -n "$CC"; then
2595 echo "$as_me:$LINENO: result: $CC" >&5
2596 echo "${ECHO_T}$CC" >&6
2598 echo "$as_me:$LINENO: result: no" >&5
2599 echo "${ECHO_T}no" >&6
2602 test -n "$CC" && break
2605 if test -z "$CC"; then
2609 # Extract the first word of "$ac_prog", so it can be a program name with args.
2610 set dummy
$ac_prog; ac_word
=$2
2611 echo "$as_me:$LINENO: checking for $ac_word" >&5
2612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2613 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2616 if test -n "$ac_ct_CC"; then
2617 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2623 test -z "$as_dir" && as_dir
=.
2624 for ac_exec_ext
in '' $ac_executable_extensions; do
2625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2626 ac_cv_prog_ac_ct_CC
="$ac_prog"
2627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2635 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2636 if test -n "$ac_ct_CC"; then
2637 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2638 echo "${ECHO_T}$ac_ct_CC" >&6
2640 echo "$as_me:$LINENO: result: no" >&5
2641 echo "${ECHO_T}no" >&6
2644 test -n "$ac_ct_CC" && break
2653 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2654 See \`config.log' for more details." >&5
2655 echo "$as_me: error: no acceptable C compiler found in \$PATH
2656 See \`config.log' for more details." >&2;}
2657 { (exit 1); exit 1; }; }
2659 # Provide some information about the compiler.
2660 echo "$as_me:$LINENO:" \
2661 "checking for C compiler version" >&5
2662 ac_compiler
=`set X $ac_compile; echo $2`
2663 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2664 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); }
2668 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2669 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672 (exit $ac_status); }
2673 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2674 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); }
2679 cat >conftest.
$ac_ext <<_ACEOF
2682 cat confdefs.h
>>conftest.
$ac_ext
2683 cat >>conftest.
$ac_ext <<_ACEOF
2684 /* end confdefs.h. */
2694 ac_clean_files_save
=$ac_clean_files
2695 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2696 # Try to create an executable without -o first, disregard a.out.
2697 # It will help us diagnose broken compilers, and finding out an intuition
2699 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2700 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2701 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2702 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2703 (eval $ac_link_default) 2>&5
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); }; then
2707 # Find the output, starting from the most likely. This scheme is
2708 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2711 # Be careful to initialize this variable, since it used to be cached.
2712 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2714 # b.out is created by i960 compilers.
2715 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2717 test -f "$ac_file" ||
continue
2719 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2722 # This is the source file.
2725 # We found the default executable, but exeext='' is most
2729 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2730 # FIXME: I believe we export ac_cv_exeext for Libtool,
2731 # but it would be cool to find out if it's true. Does anybody
2732 # maintain Libtool? --akim.
2740 echo "$as_me: failed program was:" >&5
2741 sed 's/^/| /' conftest.
$ac_ext >&5
2743 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2744 See \`config.log' for more details." >&5
2745 echo "$as_me: error: C compiler cannot create executables
2746 See \`config.log' for more details." >&2;}
2747 { (exit 77); exit 77; }; }
2750 ac_exeext
=$ac_cv_exeext
2751 echo "$as_me:$LINENO: result: $ac_file" >&5
2752 echo "${ECHO_T}$ac_file" >&6
2754 # Check the compiler produces executables we can run. If not, either
2755 # the compiler is broken, or we cross compile.
2756 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2757 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2758 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2759 # If not cross compiling, check that we can run a simple program.
2760 if test "$cross_compiling" != yes; then
2761 if { ac_try
='./$ac_file'
2762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); }; }; then
2769 if test "$cross_compiling" = maybe
; then
2772 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2773 If you meant to cross compile, use \`--host'.
2774 See \`config.log' for more details." >&5
2775 echo "$as_me: error: cannot run C compiled programs.
2776 If you meant to cross compile, use \`--host'.
2777 See \`config.log' for more details." >&2;}
2778 { (exit 1); exit 1; }; }
2782 echo "$as_me:$LINENO: result: yes" >&5
2783 echo "${ECHO_T}yes" >&6
2785 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2786 ac_clean_files
=$ac_clean_files_save
2787 # Check the compiler produces executables we can run. If not, either
2788 # the compiler is broken, or we cross compile.
2789 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2790 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2791 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2792 echo "${ECHO_T}$cross_compiling" >&6
2794 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2795 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2797 (eval $ac_link) 2>&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); }; then
2801 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2802 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2803 # work properly (i.e., refer to `conftest.exe'), while it won't with
2805 for ac_file
in conftest.exe conftest conftest.
*; do
2806 test -f "$ac_file" ||
continue
2808 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2809 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2816 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2817 See \`config.log' for more details." >&5
2818 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2819 See \`config.log' for more details." >&2;}
2820 { (exit 1); exit 1; }; }
2823 rm -f conftest
$ac_cv_exeext
2824 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2825 echo "${ECHO_T}$ac_cv_exeext" >&6
2827 rm -f conftest.
$ac_ext
2828 EXEEXT
=$ac_cv_exeext
2830 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2831 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2832 if test "${ac_cv_objext+set}" = set; then
2833 echo $ECHO_N "(cached) $ECHO_C" >&6
2835 cat >conftest.
$ac_ext <<_ACEOF
2838 cat confdefs.h
>>conftest.
$ac_ext
2839 cat >>conftest.
$ac_ext <<_ACEOF
2840 /* end confdefs.h. */
2850 rm -f conftest.o conftest.obj
2851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2852 (eval $ac_compile) 2>&5
2854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855 (exit $ac_status); }; then
2856 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2858 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2859 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2864 echo "$as_me: failed program was:" >&5
2865 sed 's/^/| /' conftest.
$ac_ext >&5
2867 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2868 See \`config.log' for more details." >&5
2869 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2870 See \`config.log' for more details." >&2;}
2871 { (exit 1); exit 1; }; }
2874 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2876 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2877 echo "${ECHO_T}$ac_cv_objext" >&6
2878 OBJEXT
=$ac_cv_objext
2880 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2881 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2882 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 cat >conftest.
$ac_ext <<_ACEOF
2888 cat confdefs.h
>>conftest.
$ac_ext
2889 cat >>conftest.
$ac_ext <<_ACEOF
2890 /* end confdefs.h. */
2903 rm -f conftest.
$ac_objext
2904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2905 (eval $ac_compile) 2>conftest.er1
2907 grep -v '^ *+' conftest.er1
>conftest.err
2909 cat conftest.err
>&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } &&
2912 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; } &&
2918 { ac_try
='test -s conftest.$ac_objext'
2919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }; }; then
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.
$ac_ext >&5
2931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2932 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2935 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2936 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2937 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2938 ac_test_CFLAGS
=${CFLAGS+set}
2939 ac_save_CFLAGS
=$CFLAGS
2941 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2942 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2943 if test "${ac_cv_prog_cc_g+set}" = set; then
2944 echo $ECHO_N "(cached) $ECHO_C" >&6
2946 cat >conftest.
$ac_ext <<_ACEOF
2949 cat confdefs.h
>>conftest.
$ac_ext
2950 cat >>conftest.
$ac_ext <<_ACEOF
2951 /* end confdefs.h. */
2961 rm -f conftest.
$ac_objext
2962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2963 (eval $ac_compile) 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); } &&
2970 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; } &&
2976 { ac_try
='test -s conftest.$ac_objext'
2977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); }; }; then
2984 echo "$as_me: failed program was:" >&5
2985 sed 's/^/| /' conftest.
$ac_ext >&5
2989 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2991 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2992 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2993 if test "$ac_test_CFLAGS" = set; then
2994 CFLAGS
=$ac_save_CFLAGS
2995 elif test $ac_cv_prog_cc_g = yes; then
2996 if test "$GCC" = yes; then
3002 if test "$GCC" = yes; then
3008 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3009 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3010 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3011 echo $ECHO_N "(cached) $ECHO_C" >&6
3013 ac_cv_prog_cc_stdc
=no
3015 cat >conftest.
$ac_ext <<_ACEOF
3018 cat confdefs.h
>>conftest.
$ac_ext
3019 cat >>conftest.
$ac_ext <<_ACEOF
3020 /* end confdefs.h. */
3023 #include <sys/types.h>
3024 #include <sys/stat.h>
3025 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3026 struct buf { int x; };
3027 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3028 static char *e (p, i)
3034 static char *f (char * (*g) (char **, int), char **p, ...)
3039 s = g (p, va_arg (v,int));
3044 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3045 function prototypes and stuff, but not '\xHH' hex character constants.
3046 These don't provoke an error unfortunately, instead are silently treated
3047 as 'x'. The following induces an error, until -std1 is added to get
3048 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3049 array size at least. It's necessary to write '\x00'==0 to get something
3050 that's true only with -std1. */
3051 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3053 int test (int i, double x);
3054 struct s1 {int (*f) (int a);};
3055 struct s2 {int (*f) (double a);};
3056 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3062 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3067 # Don't try gcc -ansi; that turns off useful extensions and
3068 # breaks some systems' header files.
3069 # AIX -qlanglvl=ansi
3070 # Ultrix and OSF/1 -std1
3071 # HP-UX 10.20 and later -Ae
3072 # HP-UX older versions -Aa -D_HPUX_SOURCE
3073 # SVR4 -Xc -D__EXTENSIONS__
3074 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3076 CC
="$ac_save_CC $ac_arg"
3077 rm -f conftest.
$ac_objext
3078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3079 (eval $ac_compile) 2>conftest.er1
3081 grep -v '^ *+' conftest.er1
>conftest.err
3083 cat conftest.err
>&5
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); } &&
3086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); }; } &&
3092 { ac_try
='test -s conftest.$ac_objext'
3093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }; }; then
3098 ac_cv_prog_cc_stdc
=$ac_arg
3101 echo "$as_me: failed program was:" >&5
3102 sed 's/^/| /' conftest.
$ac_ext >&5
3105 rm -f conftest.err conftest.
$ac_objext
3107 rm -f conftest.
$ac_ext conftest.
$ac_objext
3112 case "x$ac_cv_prog_cc_stdc" in
3114 echo "$as_me:$LINENO: result: none needed" >&5
3115 echo "${ECHO_T}none needed" >&6 ;;
3117 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3118 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3119 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3122 # Some people use a C++ compiler to compile C. Since we use `exit',
3123 # in C++ we need to declare it. In case someone uses the same compiler
3124 # for both compiling C and C++ we need to have the C++ compiler decide
3125 # the declaration of exit, since it's the most demanding environment.
3126 cat >conftest.
$ac_ext <<_ACEOF
3131 rm -f conftest.
$ac_objext
3132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3133 (eval $ac_compile) 2>conftest.er1
3135 grep -v '^ *+' conftest.er1
>conftest.err
3137 cat conftest.err
>&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); } &&
3140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); }; } &&
3146 { ac_try
='test -s conftest.$ac_objext'
3147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }; }; then
3152 for ac_declaration
in \
3154 'extern "C" void std::exit (int) throw (); using std::exit;' \
3155 'extern "C" void std::exit (int); using std::exit;' \
3156 'extern "C" void exit (int) throw ();' \
3157 'extern "C" void exit (int);' \
3160 cat >conftest.
$ac_ext <<_ACEOF
3163 cat confdefs.h
>>conftest.
$ac_ext
3164 cat >>conftest.
$ac_ext <<_ACEOF
3165 /* end confdefs.h. */
3176 rm -f conftest.
$ac_objext
3177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3178 (eval $ac_compile) 2>conftest.er1
3180 grep -v '^ *+' conftest.er1
>conftest.err
3182 cat conftest.err
>&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } &&
3185 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }; } &&
3191 { ac_try
='test -s conftest.$ac_objext'
3192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); }; }; then
3199 echo "$as_me: failed program was:" >&5
3200 sed 's/^/| /' conftest.
$ac_ext >&5
3204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3205 cat >conftest.
$ac_ext <<_ACEOF
3208 cat confdefs.h
>>conftest.
$ac_ext
3209 cat >>conftest.
$ac_ext <<_ACEOF
3210 /* end confdefs.h. */
3220 rm -f conftest.
$ac_objext
3221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3222 (eval $ac_compile) 2>conftest.er1
3224 grep -v '^ *+' conftest.er1
>conftest.err
3226 cat conftest.err
>&5
3227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } &&
3229 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); }; } &&
3235 { ac_try
='test -s conftest.$ac_objext'
3236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); }; }; then
3243 echo "$as_me: failed program was:" >&5
3244 sed 's/^/| /' conftest.
$ac_ext >&5
3247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3250 if test -n "$ac_declaration"; then
3251 echo '#ifdef __cplusplus' >>confdefs.h
3252 echo $ac_declaration >>confdefs.h
3253 echo '#endif' >>confdefs.h
3257 echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.
$ac_ext >&5
3261 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3263 ac_cpp
='$CPP $CPPFLAGS'
3264 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3265 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3266 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3268 depcc
="$CC" am_compiler_list
=
3270 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3271 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3272 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3273 echo $ECHO_N "(cached) $ECHO_C" >&6
3275 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3276 # We make a subdir and do the tests there. Otherwise we can end up
3277 # making bogus files that we don't know about and never remove. For
3278 # instance it was reported that on HP-UX the gcc test will end up
3279 # making a dummy file named `D' -- because `-MD' means `put the output
3282 # Copy depcomp to subdir because otherwise we won't find it if we're
3283 # using a relative directory.
3284 cp "$am_depcomp" conftest.dir
3286 # We will build objects and dependencies in a subdirectory because
3287 # it helps to detect inapplicable dependency modes. For instance
3288 # both Tru64's cc and ICC support -MD to output dependencies as a
3289 # side effect of compilation, but ICC will put the dependencies in
3290 # the current directory while Tru64 will put them in the object
3294 am_cv_CC_dependencies_compiler_type
=none
3295 if test "$am_compiler_list" = ""; then
3296 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3298 for depmode
in $am_compiler_list; do
3299 # Setup a source with many dependencies, because some compilers
3300 # like to wrap large dependency lists on column 80 (with \), and
3301 # we should not choose a depcomp mode which is confused by this.
3303 # We need to recreate these files for each test, as the compiler may
3304 # overwrite some of them when testing with obscure command lines.
3305 # This happens at least with the AIX C compiler.
3307 for i
in 1 2 3 4 5 6; do
3308 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3309 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3310 # Solaris 8's {/usr,}/bin/sh.
3311 touch sub
/conftst
$i.h
3313 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3317 # after this tag, mechanisms are not by side-effect, so they'll
3318 # only be used when explicitly requested
3319 if test "x$enable_dependency_tracking" = xyes
; then
3327 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3328 # mode. It turns out that the SunPro C++ compiler does not properly
3329 # handle `-M -o', and we need to detect this.
3330 if depmode
=$depmode \
3331 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3332 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3333 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3334 >/dev
/null
2>conftest.err
&&
3335 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3336 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3337 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3338 # icc doesn't choke on unknown options, it will just issue warnings
3339 # or remarks (even with -Werror). So we grep stderr for any message
3340 # that says an option was ignored or not supported.
3341 # When given -MP, icc 7.0 and 7.1 complain thusly:
3342 # icc: Command line warning: ignoring option '-M'; no argument required
3343 # The diagnosis changed in icc 8.0:
3344 # icc: Command line remark: option '-MP' not supported
3345 if (grep 'ignoring option' conftest.err ||
3346 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3347 am_cv_CC_dependencies_compiler_type
=$depmode
3356 am_cv_CC_dependencies_compiler_type
=none
3360 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3361 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3362 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3367 test "x$enable_dependency_tracking" != xno \
3368 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3370 am__fastdepCC_FALSE
='#'
3372 am__fastdepCC_TRUE
='#'
3373 am__fastdepCC_FALSE
=
3377 if test -n "$ac_tool_prefix"; then
3378 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3379 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3380 echo "$as_me:$LINENO: checking for $ac_word" >&5
3381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3382 if test "${ac_cv_prog_RANLIB+set}" = set; then
3383 echo $ECHO_N "(cached) $ECHO_C" >&6
3385 if test -n "$RANLIB"; then
3386 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3388 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3392 test -z "$as_dir" && as_dir
=.
3393 for ac_exec_ext
in '' $ac_executable_extensions; do
3394 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3395 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3396 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3404 RANLIB
=$ac_cv_prog_RANLIB
3405 if test -n "$RANLIB"; then
3406 echo "$as_me:$LINENO: result: $RANLIB" >&5
3407 echo "${ECHO_T}$RANLIB" >&6
3409 echo "$as_me:$LINENO: result: no" >&5
3410 echo "${ECHO_T}no" >&6
3414 if test -z "$ac_cv_prog_RANLIB"; then
3415 ac_ct_RANLIB
=$RANLIB
3416 # Extract the first word of "ranlib", so it can be a program name with args.
3417 set dummy ranlib
; ac_word
=$2
3418 echo "$as_me:$LINENO: checking for $ac_word" >&5
3419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3420 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 if test -n "$ac_ct_RANLIB"; then
3424 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3430 test -z "$as_dir" && as_dir
=.
3431 for ac_exec_ext
in '' $ac_executable_extensions; do
3432 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3433 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3440 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
3443 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3444 if test -n "$ac_ct_RANLIB"; then
3445 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3446 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3448 echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6
3452 RANLIB
=$ac_ct_RANLIB
3454 RANLIB
="$ac_cv_prog_RANLIB"
3458 echo "$as_me:$LINENO: checking for library containing strerror" >&5
3459 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3460 if test "${ac_cv_search_strerror+set}" = set; then
3461 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 ac_func_search_save_LIBS
=$LIBS
3464 ac_cv_search_strerror
=no
3465 cat >conftest.
$ac_ext <<_ACEOF
3468 cat confdefs.h
>>conftest.
$ac_ext
3469 cat >>conftest.
$ac_ext <<_ACEOF
3470 /* end confdefs.h. */
3472 /* Override any gcc2 internal prototype to avoid an error. */
3476 /* We use char because int might match the return type of a gcc2
3477 builtin and then its argument prototype would still apply. */
3487 rm -f conftest.
$ac_objext conftest
$ac_exeext
3488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3489 (eval $ac_link) 2>conftest.er1
3491 grep -v '^ *+' conftest.er1
>conftest.err
3493 cat conftest.err
>&5
3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); } &&
3496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); }; } &&
3502 { ac_try
='test -s conftest$ac_exeext'
3503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); }; }; then
3508 ac_cv_search_strerror
="none required"
3510 echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.
$ac_ext >&5
3514 rm -f conftest.err conftest.
$ac_objext \
3515 conftest
$ac_exeext conftest.
$ac_ext
3516 if test "$ac_cv_search_strerror" = no
; then
3517 for ac_lib
in cposix
; do
3518 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3519 cat >conftest.
$ac_ext <<_ACEOF
3522 cat confdefs.h
>>conftest.
$ac_ext
3523 cat >>conftest.
$ac_ext <<_ACEOF
3524 /* end confdefs.h. */
3526 /* Override any gcc2 internal prototype to avoid an error. */
3530 /* We use char because int might match the return type of a gcc2
3531 builtin and then its argument prototype would still apply. */
3541 rm -f conftest.
$ac_objext conftest
$ac_exeext
3542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3543 (eval $ac_link) 2>conftest.er1
3545 grep -v '^ *+' conftest.er1
>conftest.err
3547 cat conftest.err
>&5
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); } &&
3550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); }; } &&
3556 { ac_try
='test -s conftest$ac_exeext'
3557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); }; }; then
3562 ac_cv_search_strerror
="-l$ac_lib"
3565 echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.
$ac_ext >&5
3569 rm -f conftest.err conftest.
$ac_objext \
3570 conftest
$ac_exeext conftest.
$ac_ext
3573 LIBS
=$ac_func_search_save_LIBS
3575 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3576 echo "${ECHO_T}$ac_cv_search_strerror" >&6
3577 if test "$ac_cv_search_strerror" != no
; then
3578 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
3583 ac_cpp
='$CPP $CPPFLAGS'
3584 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3585 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3587 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3588 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3589 # On Suns, sometimes $CPP names a directory.
3590 if test -n "$CPP" && test -d "$CPP"; then
3593 if test -z "$CPP"; then
3594 if test "${ac_cv_prog_CPP+set}" = set; then
3595 echo $ECHO_N "(cached) $ECHO_C" >&6
3597 # Double quotes because CPP needs to be expanded
3598 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3601 for ac_c_preproc_warn_flag
in '' yes
3603 # Use a header file that comes with gcc, so configuring glibc
3604 # with a fresh cross-compiler works.
3605 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3606 # <limits.h> exists even on freestanding compilers.
3607 # On the NeXT, cc -E runs the code through the compiler's parser,
3608 # not just through cpp. "Syntax error" is here to catch this case.
3609 cat >conftest.
$ac_ext <<_ACEOF
3612 cat confdefs.h
>>conftest.
$ac_ext
3613 cat >>conftest.
$ac_ext <<_ACEOF
3614 /* end confdefs.h. */
3616 # include <limits.h>
3618 # include <assert.h>
3622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3623 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3625 grep -v '^ *+' conftest.er1
>conftest.err
3627 cat conftest.err
>&5
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); } >/dev
/null
; then
3630 if test -s conftest.err
; then
3631 ac_cpp_err
=$ac_c_preproc_warn_flag
3632 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3639 if test -z "$ac_cpp_err"; then
3642 echo "$as_me: failed program was:" >&5
3643 sed 's/^/| /' conftest.
$ac_ext >&5
3645 # Broken: fails on valid input.
3648 rm -f conftest.err conftest.
$ac_ext
3650 # OK, works on sane cases. Now check whether non-existent headers
3651 # can be detected and how.
3652 cat >conftest.
$ac_ext <<_ACEOF
3655 cat confdefs.h
>>conftest.
$ac_ext
3656 cat >>conftest.
$ac_ext <<_ACEOF
3657 /* end confdefs.h. */
3658 #include <ac_nonexistent.h>
3660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3661 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3663 grep -v '^ *+' conftest.er1
>conftest.err
3665 cat conftest.err
>&5
3666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667 (exit $ac_status); } >/dev
/null
; then
3668 if test -s conftest.err
; then
3669 ac_cpp_err
=$ac_c_preproc_warn_flag
3670 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3677 if test -z "$ac_cpp_err"; then
3678 # Broken: success on invalid input.
3681 echo "$as_me: failed program was:" >&5
3682 sed 's/^/| /' conftest.
$ac_ext >&5
3684 # Passes both tests.
3688 rm -f conftest.err conftest.
$ac_ext
3691 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3692 rm -f conftest.err conftest.
$ac_ext
3693 if $ac_preproc_ok; then
3705 echo "$as_me:$LINENO: result: $CPP" >&5
3706 echo "${ECHO_T}$CPP" >&6
3708 for ac_c_preproc_warn_flag
in '' yes
3710 # Use a header file that comes with gcc, so configuring glibc
3711 # with a fresh cross-compiler works.
3712 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3713 # <limits.h> exists even on freestanding compilers.
3714 # On the NeXT, cc -E runs the code through the compiler's parser,
3715 # not just through cpp. "Syntax error" is here to catch this case.
3716 cat >conftest.
$ac_ext <<_ACEOF
3719 cat confdefs.h
>>conftest.
$ac_ext
3720 cat >>conftest.
$ac_ext <<_ACEOF
3721 /* end confdefs.h. */
3723 # include <limits.h>
3725 # include <assert.h>
3729 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3730 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3732 grep -v '^ *+' conftest.er1
>conftest.err
3734 cat conftest.err
>&5
3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736 (exit $ac_status); } >/dev
/null
; then
3737 if test -s conftest.err
; then
3738 ac_cpp_err
=$ac_c_preproc_warn_flag
3739 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3746 if test -z "$ac_cpp_err"; then
3749 echo "$as_me: failed program was:" >&5
3750 sed 's/^/| /' conftest.
$ac_ext >&5
3752 # Broken: fails on valid input.
3755 rm -f conftest.err conftest.
$ac_ext
3757 # OK, works on sane cases. Now check whether non-existent headers
3758 # can be detected and how.
3759 cat >conftest.
$ac_ext <<_ACEOF
3762 cat confdefs.h
>>conftest.
$ac_ext
3763 cat >>conftest.
$ac_ext <<_ACEOF
3764 /* end confdefs.h. */
3765 #include <ac_nonexistent.h>
3767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3768 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3770 grep -v '^ *+' conftest.er1
>conftest.err
3772 cat conftest.err
>&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); } >/dev
/null
; then
3775 if test -s conftest.err
; then
3776 ac_cpp_err
=$ac_c_preproc_warn_flag
3777 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3784 if test -z "$ac_cpp_err"; then
3785 # Broken: success on invalid input.
3788 echo "$as_me: failed program was:" >&5
3789 sed 's/^/| /' conftest.
$ac_ext >&5
3791 # Passes both tests.
3795 rm -f conftest.err conftest.
$ac_ext
3798 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3799 rm -f conftest.err conftest.
$ac_ext
3800 if $ac_preproc_ok; then
3803 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3804 See \`config.log' for more details." >&5
3805 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3806 See \`config.log' for more details." >&2;}
3807 { (exit 1); exit 1; }; }
3811 ac_cpp
='$CPP $CPPFLAGS'
3812 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3813 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3814 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3817 echo "$as_me:$LINENO: checking for egrep" >&5
3818 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3819 if test "${ac_cv_prog_egrep+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3823 then ac_cv_prog_egrep
='grep -E'
3824 else ac_cv_prog_egrep
='egrep'
3827 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3828 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3829 EGREP
=$ac_cv_prog_egrep
3832 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3833 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3834 if test "${ac_cv_header_stdc+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3837 cat >conftest.
$ac_ext <<_ACEOF
3840 cat confdefs.h
>>conftest.
$ac_ext
3841 cat >>conftest.
$ac_ext <<_ACEOF
3842 /* end confdefs.h. */
3856 rm -f conftest.
$ac_objext
3857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3858 (eval $ac_compile) 2>conftest.er1
3860 grep -v '^ *+' conftest.er1
>conftest.err
3862 cat conftest.err
>&5
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); } &&
3865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); }; } &&
3871 { ac_try
='test -s conftest.$ac_objext'
3872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); }; }; then
3877 ac_cv_header_stdc
=yes
3879 echo "$as_me: failed program was:" >&5
3880 sed 's/^/| /' conftest.
$ac_ext >&5
3882 ac_cv_header_stdc
=no
3884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3886 if test $ac_cv_header_stdc = yes; then
3887 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3888 cat >conftest.
$ac_ext <<_ACEOF
3891 cat confdefs.h
>>conftest.
$ac_ext
3892 cat >>conftest.
$ac_ext <<_ACEOF
3893 /* end confdefs.h. */
3897 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3898 $EGREP "memchr" >/dev
/null
2>&1; then
3901 ac_cv_header_stdc
=no
3907 if test $ac_cv_header_stdc = yes; then
3908 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3909 cat >conftest.
$ac_ext <<_ACEOF
3912 cat confdefs.h
>>conftest.
$ac_ext
3913 cat >>conftest.
$ac_ext <<_ACEOF
3914 /* end confdefs.h. */
3918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3919 $EGREP "free" >/dev
/null
2>&1; then
3922 ac_cv_header_stdc
=no
3928 if test $ac_cv_header_stdc = yes; then
3929 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3930 if test "$cross_compiling" = yes; then
3933 cat >conftest.
$ac_ext <<_ACEOF
3936 cat confdefs.h
>>conftest.
$ac_ext
3937 cat >>conftest.
$ac_ext <<_ACEOF
3938 /* end confdefs.h. */
3940 #if ((' ' & 0x0FF) == 0x020)
3941 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3942 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3944 # define ISLOWER(c) \
3945 (('a' <= (c) && (c) <= 'i') \
3946 || ('j' <= (c) && (c) <= 'r') \
3947 || ('s' <= (c) && (c) <= 'z'))
3948 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3951 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3956 for (i = 0; i < 256; i++)
3957 if (XOR (islower (i), ISLOWER (i))
3958 || toupper (i) != TOUPPER (i))
3963 rm -f conftest
$ac_exeext
3964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3965 (eval $ac_link) 2>&5
3967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); }; }; then
3976 echo "$as_me: program exited with status $ac_status" >&5
3977 echo "$as_me: failed program was:" >&5
3978 sed 's/^/| /' conftest.
$ac_ext >&5
3981 ac_cv_header_stdc
=no
3983 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3987 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3988 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3989 if test $ac_cv_header_stdc = yes; then
3991 cat >>confdefs.h
<<\_ACEOF
3992 #define STDC_HEADERS 1
3997 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3998 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3999 if test "${ac_cv_c_const+set}" = set; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 cat >conftest.
$ac_ext <<_ACEOF
4005 cat confdefs.h
>>conftest.
$ac_ext
4006 cat >>conftest.
$ac_ext <<_ACEOF
4007 /* end confdefs.h. */
4012 /* FIXME: Include the comments suggested by Paul. */
4014 /* Ultrix mips cc rejects this. */
4015 typedef int charset[2];
4017 /* SunOS 4.1.1 cc rejects this. */
4018 char const *const *ccp;
4020 /* NEC SVR4.0.2 mips cc rejects this. */
4021 struct point {int x, y;};
4022 static struct point const zero = {0,0};
4023 /* AIX XL C 1.02.0.0 rejects this.
4024 It does not let you subtract one const X* pointer from another in
4025 an arm of an if-expression whose if-part is not a constant
4027 const char *g = "string";
4028 ccp = &g + (g ? g-g : 0);
4029 /* HPUX 7.0 cc rejects these. */
4032 ccp = (char const *const *) p;
4033 { /* SCO 3.2v4 cc rejects this. */
4035 char const *s = 0 ? (char *) 0 : (char const *) 0;
4039 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4041 const int *foo = &x[0];
4044 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4045 typedef const int *iptr;
4049 { /* AIX XL C 1.02.0.0 rejects this saying
4050 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4051 struct s { int j; const int *ap[3]; };
4052 struct s *b; b->j = 5;
4054 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4063 rm -f conftest.
$ac_objext
4064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4065 (eval $ac_compile) 2>conftest.er1
4067 grep -v '^ *+' conftest.er1
>conftest.err
4069 cat conftest.err
>&5
4070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4071 (exit $ac_status); } &&
4072 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); }; } &&
4078 { ac_try
='test -s conftest.$ac_objext'
4079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); }; }; then
4086 echo "$as_me: failed program was:" >&5
4087 sed 's/^/| /' conftest.
$ac_ext >&5
4091 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4093 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4094 echo "${ECHO_T}$ac_cv_c_const" >&6
4095 if test $ac_cv_c_const = no
; then
4097 cat >>confdefs.h
<<\_ACEOF
4104 echo "$as_me:$LINENO: checking for signed" >&5
4105 echo $ECHO_N "checking for signed... $ECHO_C" >&6
4106 if test "${bh_cv_c_signed+set}" = set; then
4107 echo $ECHO_N "(cached) $ECHO_C" >&6
4109 cat >conftest.
$ac_ext <<_ACEOF
4112 cat confdefs.h
>>conftest.
$ac_ext
4113 cat >>conftest.
$ac_ext <<_ACEOF
4114 /* end confdefs.h. */
4124 rm -f conftest.
$ac_objext
4125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4126 (eval $ac_compile) 2>conftest.er1
4128 grep -v '^ *+' conftest.er1
>conftest.err
4130 cat conftest.err
>&5
4131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); } &&
4133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138 (exit $ac_status); }; } &&
4139 { ac_try
='test -s conftest.$ac_objext'
4140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4144 (exit $ac_status); }; }; then
4147 echo "$as_me: failed program was:" >&5
4148 sed 's/^/| /' conftest.
$ac_ext >&5
4152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4154 echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5
4155 echo "${ECHO_T}$bh_cv_c_signed" >&6
4156 if test $bh_cv_c_signed = no
; then
4158 cat >>confdefs.h
<<\_ACEOF
4164 echo "$as_me:$LINENO: checking for inline" >&5
4165 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4166 if test "${ac_cv_c_inline+set}" = set; then
4167 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 for ac_kw
in inline __inline__ __inline
; do
4171 cat >conftest.
$ac_ext <<_ACEOF
4174 cat confdefs.h
>>conftest.
$ac_ext
4175 cat >>conftest.
$ac_ext <<_ACEOF
4176 /* end confdefs.h. */
4179 static $ac_kw foo_t static_foo () {return 0; }
4180 $ac_kw foo_t foo () {return 0; }
4184 rm -f conftest.
$ac_objext
4185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4186 (eval $ac_compile) 2>conftest.er1
4188 grep -v '^ *+' conftest.er1
>conftest.err
4190 cat conftest.err
>&5
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); } &&
4193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4198 (exit $ac_status); }; } &&
4199 { ac_try
='test -s conftest.$ac_objext'
4200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204 (exit $ac_status); }; }; then
4205 ac_cv_c_inline
=$ac_kw; break
4207 echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.
$ac_ext >&5
4211 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4215 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4216 echo "${ECHO_T}$ac_cv_c_inline" >&6
4219 case $ac_cv_c_inline in
4222 case $ac_cv_c_inline in
4224 *) ac_val
=$ac_cv_c_inline;;
4226 cat >>confdefs.h
<<_ACEOF
4228 #define inline $ac_val
4234 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4244 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4245 inttypes.h stdint.h unistd.h
4247 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4248 echo "$as_me:$LINENO: checking for $ac_header" >&5
4249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4251 echo $ECHO_N "(cached) $ECHO_C" >&6
4253 cat >conftest.
$ac_ext <<_ACEOF
4256 cat confdefs.h
>>conftest.
$ac_ext
4257 cat >>conftest.
$ac_ext <<_ACEOF
4258 /* end confdefs.h. */
4259 $ac_includes_default
4261 #include <$ac_header>
4263 rm -f conftest.
$ac_objext
4264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4265 (eval $ac_compile) 2>conftest.er1
4267 grep -v '^ *+' conftest.er1
>conftest.err
4269 cat conftest.err
>&5
4270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4271 (exit $ac_status); } &&
4272 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); }; } &&
4278 { ac_try
='test -s conftest.$ac_objext'
4279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); }; }; then
4284 eval "$as_ac_Header=yes"
4286 echo "$as_me: failed program was:" >&5
4287 sed 's/^/| /' conftest.
$ac_ext >&5
4289 eval "$as_ac_Header=no"
4291 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4293 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4294 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4296 cat >>confdefs.h
<<_ACEOF
4297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4305 echo "$as_me:$LINENO: checking for off_t" >&5
4306 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4307 if test "${ac_cv_type_off_t+set}" = set; then
4308 echo $ECHO_N "(cached) $ECHO_C" >&6
4310 cat >conftest.
$ac_ext <<_ACEOF
4313 cat confdefs.h
>>conftest.
$ac_ext
4314 cat >>conftest.
$ac_ext <<_ACEOF
4315 /* end confdefs.h. */
4316 $ac_includes_default
4328 rm -f conftest.
$ac_objext
4329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4330 (eval $ac_compile) 2>conftest.er1
4332 grep -v '^ *+' conftest.er1
>conftest.err
4334 cat conftest.err
>&5
4335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336 (exit $ac_status); } &&
4337 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); }; } &&
4343 { ac_try
='test -s conftest.$ac_objext'
4344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4348 (exit $ac_status); }; }; then
4349 ac_cv_type_off_t
=yes
4351 echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.
$ac_ext >&5
4356 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4358 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4359 echo "${ECHO_T}$ac_cv_type_off_t" >&6
4360 if test $ac_cv_type_off_t = yes; then
4364 cat >>confdefs.h
<<_ACEOF
4370 echo "$as_me:$LINENO: checking for size_t" >&5
4371 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4372 if test "${ac_cv_type_size_t+set}" = set; then
4373 echo $ECHO_N "(cached) $ECHO_C" >&6
4375 cat >conftest.
$ac_ext <<_ACEOF
4378 cat confdefs.h
>>conftest.
$ac_ext
4379 cat >>conftest.
$ac_ext <<_ACEOF
4380 /* end confdefs.h. */
4381 $ac_includes_default
4387 if (sizeof (size_t))
4393 rm -f conftest.
$ac_objext
4394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4395 (eval $ac_compile) 2>conftest.er1
4397 grep -v '^ *+' conftest.er1
>conftest.err
4399 cat conftest.err
>&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); } &&
4402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407 (exit $ac_status); }; } &&
4408 { ac_try
='test -s conftest.$ac_objext'
4409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4413 (exit $ac_status); }; }; then
4414 ac_cv_type_size_t
=yes
4416 echo "$as_me: failed program was:" >&5
4417 sed 's/^/| /' conftest.
$ac_ext >&5
4419 ac_cv_type_size_t
=no
4421 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4423 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4424 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4425 if test $ac_cv_type_size_t = yes; then
4429 cat >>confdefs.h
<<_ACEOF
4430 #define size_t unsigned
4436 echo "$as_me:$LINENO: checking for long long" >&5
4437 echo $ECHO_N "checking for long long... $ECHO_C" >&6
4438 if test "${ac_cv_type_long_long+set}" = set; then
4439 echo $ECHO_N "(cached) $ECHO_C" >&6
4441 cat >conftest.
$ac_ext <<_ACEOF
4444 cat confdefs.h
>>conftest.
$ac_ext
4445 cat >>conftest.
$ac_ext <<_ACEOF
4446 /* end confdefs.h. */
4447 long long ll = 1LL; int i = 63;
4451 long long llmax = (long long) -1;
4452 return ll << i | ll >> i | llmax / ll | llmax % ll;
4457 rm -f conftest.
$ac_objext conftest
$ac_exeext
4458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4459 (eval $ac_link) 2>conftest.er1
4461 grep -v '^ *+' conftest.er1
>conftest.err
4463 cat conftest.err
>&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); } &&
4466 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4471 (exit $ac_status); }; } &&
4472 { ac_try
='test -s conftest$ac_exeext'
4473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); }; }; then
4478 ac_cv_type_long_long
=yes
4480 echo "$as_me: failed program was:" >&5
4481 sed 's/^/| /' conftest.
$ac_ext >&5
4483 ac_cv_type_long_long
=no
4485 rm -f conftest.err conftest.
$ac_objext \
4486 conftest
$ac_exeext conftest.
$ac_ext
4488 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
4489 echo "${ECHO_T}$ac_cv_type_long_long" >&6
4490 if test $ac_cv_type_long_long = yes; then
4492 cat >>confdefs.h
<<\_ACEOF
4493 #define HAVE_LONG_LONG 1
4499 echo "$as_me:$LINENO: checking for long double" >&5
4500 echo $ECHO_N "checking for long double... $ECHO_C" >&6
4501 if test "${gt_cv_c_long_double+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4504 if test "$GCC" = yes; then
4505 gt_cv_c_long_double
=yes
4507 cat >conftest.
$ac_ext <<_ACEOF
4510 cat confdefs.h
>>conftest.
$ac_ext
4511 cat >>conftest.
$ac_ext <<_ACEOF
4512 /* end confdefs.h. */
4514 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
4515 long double foo = 0.0;
4516 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
4517 int array [2*(sizeof(long double) >= sizeof(double)) - 1];
4527 rm -f conftest.
$ac_objext
4528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4529 (eval $ac_compile) 2>conftest.er1
4531 grep -v '^ *+' conftest.er1
>conftest.err
4533 cat conftest.err
>&5
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); } &&
4536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); }; } &&
4542 { ac_try
='test -s conftest.$ac_objext'
4543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); }; }; then
4548 gt_cv_c_long_double
=yes
4550 echo "$as_me: failed program was:" >&5
4551 sed 's/^/| /' conftest.
$ac_ext >&5
4553 gt_cv_c_long_double
=no
4555 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4558 echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
4559 echo "${ECHO_T}$gt_cv_c_long_double" >&6
4560 if test $gt_cv_c_long_double = yes; then
4562 cat >>confdefs.h
<<\_ACEOF
4563 #define HAVE_LONG_DOUBLE 1
4569 echo "$as_me:$LINENO: checking for wchar_t" >&5
4570 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
4571 if test "${gt_cv_c_wchar_t+set}" = set; then
4572 echo $ECHO_N "(cached) $ECHO_C" >&6
4574 cat >conftest.
$ac_ext <<_ACEOF
4577 cat confdefs.h
>>conftest.
$ac_ext
4578 cat >>conftest.
$ac_ext <<_ACEOF
4579 /* end confdefs.h. */
4581 wchar_t foo = (wchar_t)'\0';
4590 rm -f conftest.
$ac_objext
4591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4592 (eval $ac_compile) 2>conftest.er1
4594 grep -v '^ *+' conftest.er1
>conftest.err
4596 cat conftest.err
>&5
4597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598 (exit $ac_status); } &&
4599 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); }; } &&
4605 { ac_try
='test -s conftest.$ac_objext'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; }; then
4613 echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.
$ac_ext >&5
4618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4620 echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
4621 echo "${ECHO_T}$gt_cv_c_wchar_t" >&6
4622 if test $gt_cv_c_wchar_t = yes; then
4624 cat >>confdefs.h
<<\_ACEOF
4625 #define HAVE_WCHAR_T 1
4631 echo "$as_me:$LINENO: checking for wint_t" >&5
4632 echo $ECHO_N "checking for wint_t... $ECHO_C" >&6
4633 if test "${gt_cv_c_wint_t+set}" = set; then
4634 echo $ECHO_N "(cached) $ECHO_C" >&6
4636 cat >conftest.
$ac_ext <<_ACEOF
4639 cat confdefs.h
>>conftest.
$ac_ext
4640 cat >>conftest.
$ac_ext <<_ACEOF
4641 /* end confdefs.h. */
4643 wint_t foo = (wchar_t)'\0';
4652 rm -f conftest.
$ac_objext
4653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4654 (eval $ac_compile) 2>conftest.er1
4656 grep -v '^ *+' conftest.er1
>conftest.err
4658 cat conftest.err
>&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); } &&
4661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4666 (exit $ac_status); }; } &&
4667 { ac_try
='test -s conftest.$ac_objext'
4668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); }; }; then
4675 echo "$as_me: failed program was:" >&5
4676 sed 's/^/| /' conftest.
$ac_ext >&5
4680 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4682 echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
4683 echo "${ECHO_T}$gt_cv_c_wint_t" >&6
4684 if test $gt_cv_c_wint_t = yes; then
4686 cat >>confdefs.h
<<\_ACEOF
4687 #define HAVE_WINT_T 1
4693 echo "$as_me:$LINENO: checking for inttypes.h" >&5
4694 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
4695 if test "${jm_ac_cv_header_inttypes_h+set}" = set; then
4696 echo $ECHO_N "(cached) $ECHO_C" >&6
4698 cat >conftest.
$ac_ext <<_ACEOF
4701 cat confdefs.h
>>conftest.
$ac_ext
4702 cat >>conftest.
$ac_ext <<_ACEOF
4703 /* end confdefs.h. */
4704 #include <sys/types.h>
4705 #include <inttypes.h>
4709 uintmax_t i = (uintmax_t) -1;
4714 rm -f conftest.
$ac_objext
4715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4716 (eval $ac_compile) 2>conftest.er1
4718 grep -v '^ *+' conftest.er1
>conftest.err
4720 cat conftest.err
>&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); } &&
4723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); }; } &&
4729 { ac_try
='test -s conftest.$ac_objext'
4730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4734 (exit $ac_status); }; }; then
4735 jm_ac_cv_header_inttypes_h
=yes
4737 echo "$as_me: failed program was:" >&5
4738 sed 's/^/| /' conftest.
$ac_ext >&5
4740 jm_ac_cv_header_inttypes_h
=no
4742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4744 echo "$as_me:$LINENO: result: $jm_ac_cv_header_inttypes_h" >&5
4745 echo "${ECHO_T}$jm_ac_cv_header_inttypes_h" >&6
4746 if test $jm_ac_cv_header_inttypes_h = yes; then
4748 cat >>confdefs.h
<<_ACEOF
4749 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
4755 echo "$as_me:$LINENO: checking for stdint.h" >&5
4756 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
4757 if test "${jm_ac_cv_header_stdint_h+set}" = set; then
4758 echo $ECHO_N "(cached) $ECHO_C" >&6
4760 cat >conftest.
$ac_ext <<_ACEOF
4763 cat confdefs.h
>>conftest.
$ac_ext
4764 cat >>conftest.
$ac_ext <<_ACEOF
4765 /* end confdefs.h. */
4766 #include <sys/types.h>
4771 uintmax_t i = (uintmax_t) -1;
4776 rm -f conftest.
$ac_objext
4777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4778 (eval $ac_compile) 2>conftest.er1
4780 grep -v '^ *+' conftest.er1
>conftest.err
4782 cat conftest.err
>&5
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); } &&
4785 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); }; } &&
4791 { ac_try
='test -s conftest.$ac_objext'
4792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); }; }; then
4797 jm_ac_cv_header_stdint_h
=yes
4799 echo "$as_me: failed program was:" >&5
4800 sed 's/^/| /' conftest.
$ac_ext >&5
4802 jm_ac_cv_header_stdint_h
=no
4804 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4806 echo "$as_me:$LINENO: result: $jm_ac_cv_header_stdint_h" >&5
4807 echo "${ECHO_T}$jm_ac_cv_header_stdint_h" >&6
4808 if test $jm_ac_cv_header_stdint_h = yes; then
4810 cat >>confdefs.h
<<_ACEOF
4811 #define HAVE_STDINT_H_WITH_UINTMAX 1
4819 echo "$as_me:$LINENO: checking for intmax_t" >&5
4820 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
4821 if test "${gt_cv_c_intmax_t+set}" = set; then
4822 echo $ECHO_N "(cached) $ECHO_C" >&6
4824 cat >conftest.
$ac_ext <<_ACEOF
4827 cat confdefs.h
>>conftest.
$ac_ext
4828 cat >>conftest.
$ac_ext <<_ACEOF
4829 /* end confdefs.h. */
4833 #if HAVE_STDINT_H_WITH_UINTMAX
4836 #if HAVE_INTTYPES_H_WITH_UINTMAX
4837 #include <inttypes.h>
4848 rm -f conftest.
$ac_objext
4849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4850 (eval $ac_compile) 2>conftest.er1
4852 grep -v '^ *+' conftest.er1
>conftest.err
4854 cat conftest.err
>&5
4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 (exit $ac_status); } &&
4857 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); }; } &&
4863 { ac_try
='test -s conftest.$ac_objext'
4864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4868 (exit $ac_status); }; }; then
4869 gt_cv_c_intmax_t
=yes
4871 echo "$as_me: failed program was:" >&5
4872 sed 's/^/| /' conftest.
$ac_ext >&5
4876 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4878 echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
4879 echo "${ECHO_T}$gt_cv_c_intmax_t" >&6
4880 if test $gt_cv_c_intmax_t = yes; then
4882 cat >>confdefs.h
<<\_ACEOF
4883 #define HAVE_INTMAX_T 1
4890 echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
4891 echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6
4892 if test "${gt_cv_func_printf_posix+set}" = set; then
4893 echo $ECHO_N "(cached) $ECHO_C" >&6
4896 if test "$cross_compiling" = yes; then
4898 cat >conftest.
$ac_ext <<_ACEOF
4901 cat confdefs.h
>>conftest.
$ac_ext
4902 cat >>conftest.
$ac_ext <<_ACEOF
4903 /* end confdefs.h. */
4905 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
4910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4911 $EGREP "notposix" >/dev
/null
2>&1; then
4912 gt_cv_func_printf_posix
="guessing no"
4914 gt_cv_func_printf_posix
="guessing yes"
4920 cat >conftest.
$ac_ext <<_ACEOF
4923 cat confdefs.h
>>conftest.
$ac_ext
4924 cat >>conftest.
$ac_ext <<_ACEOF
4925 /* end confdefs.h. */
4929 /* The string "%2$d %1$d", with dollar characters protected from the shell's
4930 dollar expansion (possibly an autoconf bug). */
4931 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
4932 static char buf[100];
4935 sprintf (buf, format, 33, 55);
4936 return (strcmp (buf, "55 33") != 0);
4939 rm -f conftest
$ac_exeext
4940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4941 (eval $ac_link) 2>&5
4943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); }; }; then
4950 gt_cv_func_printf_posix
=yes
4952 echo "$as_me: program exited with status $ac_status" >&5
4953 echo "$as_me: failed program was:" >&5
4954 sed 's/^/| /' conftest.
$ac_ext >&5
4957 gt_cv_func_printf_posix
=no
4959 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4963 echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
4964 echo "${ECHO_T}$gt_cv_func_printf_posix" >&6
4965 case $gt_cv_func_printf_posix in
4968 cat >>confdefs.h
<<\_ACEOF
4969 #define HAVE_POSIX_PRINTF 1
4975 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4976 # for constant arguments. Useless!
4977 echo "$as_me:$LINENO: checking for working alloca.h" >&5
4978 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
4979 if test "${ac_cv_working_alloca_h+set}" = set; then
4980 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 cat >conftest.
$ac_ext <<_ACEOF
4985 cat confdefs.h
>>conftest.
$ac_ext
4986 cat >>conftest.
$ac_ext <<_ACEOF
4987 /* end confdefs.h. */
4992 char *p = (char *) alloca (2 * sizeof (int));
4997 rm -f conftest.
$ac_objext conftest
$ac_exeext
4998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4999 (eval $ac_link) 2>conftest.er1
5001 grep -v '^ *+' conftest.er1
>conftest.err
5003 cat conftest.err
>&5
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); } &&
5006 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); }; } &&
5012 { ac_try
='test -s conftest$ac_exeext'
5013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); }; }; then
5018 ac_cv_working_alloca_h
=yes
5020 echo "$as_me: failed program was:" >&5
5021 sed 's/^/| /' conftest.
$ac_ext >&5
5023 ac_cv_working_alloca_h
=no
5025 rm -f conftest.err conftest.
$ac_objext \
5026 conftest
$ac_exeext conftest.
$ac_ext
5028 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5029 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5030 if test $ac_cv_working_alloca_h = yes; then
5032 cat >>confdefs.h
<<\_ACEOF
5033 #define HAVE_ALLOCA_H 1
5038 echo "$as_me:$LINENO: checking for alloca" >&5
5039 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5040 if test "${ac_cv_func_alloca_works+set}" = set; then
5041 echo $ECHO_N "(cached) $ECHO_C" >&6
5043 cat >conftest.
$ac_ext <<_ACEOF
5046 cat confdefs.h
>>conftest.
$ac_ext
5047 cat >>conftest.
$ac_ext <<_ACEOF
5048 /* end confdefs.h. */
5050 # define alloca __builtin_alloca
5053 # include <malloc.h>
5054 # define alloca _alloca
5057 # include <alloca.h>
5062 # ifndef alloca /* predefined by HP cc +Olibcalls */
5073 char *p = (char *) alloca (1);
5078 rm -f conftest.
$ac_objext conftest
$ac_exeext
5079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5080 (eval $ac_link) 2>conftest.er1
5082 grep -v '^ *+' conftest.er1
>conftest.err
5084 cat conftest.err
>&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); } &&
5087 { ac_try
='test -z "$ac_c_werror_flag" || 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_exeext'
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_func_alloca_works
=yes
5101 echo "$as_me: failed program was:" >&5
5102 sed 's/^/| /' conftest.
$ac_ext >&5
5104 ac_cv_func_alloca_works
=no
5106 rm -f conftest.err conftest.
$ac_objext \
5107 conftest
$ac_exeext conftest.
$ac_ext
5109 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5110 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5112 if test $ac_cv_func_alloca_works = yes; then
5114 cat >>confdefs.h
<<\_ACEOF
5115 #define HAVE_ALLOCA 1
5119 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5120 # that cause trouble. Some versions do not even contain alloca or
5121 # contain a buggy version. If you still want to use their alloca,
5122 # use ar to extract alloca.o from them instead of compiling alloca.c.
5124 ALLOCA
=alloca.
$ac_objext
5126 cat >>confdefs.h
<<\_ACEOF
5131 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5132 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5133 if test "${ac_cv_os_cray+set}" = set; then
5134 echo $ECHO_N "(cached) $ECHO_C" >&6
5136 cat >conftest.
$ac_ext <<_ACEOF
5139 cat confdefs.h
>>conftest.
$ac_ext
5140 cat >>conftest.
$ac_ext <<_ACEOF
5141 /* end confdefs.h. */
5142 #if defined(CRAY) && ! defined(CRAY2)
5149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5150 $EGREP "webecray" >/dev
/null
2>&1; then
5158 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5159 echo "${ECHO_T}$ac_cv_os_cray" >&6
5160 if test $ac_cv_os_cray = yes; then
5161 for ac_func
in _getb67 GETB67 getb67
; do
5162 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5163 echo "$as_me:$LINENO: checking for $ac_func" >&5
5164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5165 if eval "test \"\${$as_ac_var+set}\" = set"; then
5166 echo $ECHO_N "(cached) $ECHO_C" >&6
5168 cat >conftest.
$ac_ext <<_ACEOF
5171 cat confdefs.h
>>conftest.
$ac_ext
5172 cat >>conftest.
$ac_ext <<_ACEOF
5173 /* end confdefs.h. */
5174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5176 #define $ac_func innocuous_$ac_func
5178 /* System header to define __stub macros and hopefully few prototypes,
5179 which can conflict with char $ac_func (); below.
5180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5181 <limits.h> exists even on freestanding compilers. */
5184 # include <limits.h>
5186 # include <assert.h>
5191 /* Override any gcc2 internal prototype to avoid an error. */
5196 /* We use char because int might match the return type of a gcc2
5197 builtin and then its argument prototype would still apply. */
5199 /* The GNU C library defines this for functions which it implements
5200 to always fail with ENOSYS. Some functions are actually named
5201 something starting with __ and the normal name is an alias. */
5202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5205 char (*f) () = $ac_func;
5214 return f != $ac_func;
5219 rm -f conftest.
$ac_objext conftest
$ac_exeext
5220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5221 (eval $ac_link) 2>conftest.er1
5223 grep -v '^ *+' conftest.er1
>conftest.err
5225 cat conftest.err
>&5
5226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5227 (exit $ac_status); } &&
5228 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); }; } &&
5234 { ac_try
='test -s conftest$ac_exeext'
5235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 (exit $ac_status); }; }; then
5240 eval "$as_ac_var=yes"
5242 echo "$as_me: failed program was:" >&5
5243 sed 's/^/| /' conftest.
$ac_ext >&5
5245 eval "$as_ac_var=no"
5247 rm -f conftest.err conftest.
$ac_objext \
5248 conftest
$ac_exeext conftest.
$ac_ext
5250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5252 if test `eval echo '${'$as_ac_var'}'` = yes; then
5254 cat >>confdefs.h
<<_ACEOF
5255 #define CRAY_STACKSEG_END $ac_func
5264 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5265 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5266 if test "${ac_cv_c_stack_direction+set}" = set; then
5267 echo $ECHO_N "(cached) $ECHO_C" >&6
5269 if test "$cross_compiling" = yes; then
5270 ac_cv_c_stack_direction
=0
5272 cat >conftest.
$ac_ext <<_ACEOF
5275 cat confdefs.h
>>conftest.
$ac_ext
5276 cat >>conftest.
$ac_ext <<_ACEOF
5277 /* end confdefs.h. */
5279 find_stack_direction ()
5281 static char *addr = 0;
5286 return find_stack_direction ();
5289 return (&dummy > addr) ? 1 : -1;
5295 exit (find_stack_direction () < 0);
5298 rm -f conftest
$ac_exeext
5299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5300 (eval $ac_link) 2>&5
5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_c_stack_direction
=1
5311 echo "$as_me: program exited with status $ac_status" >&5
5312 echo "$as_me: failed program was:" >&5
5313 sed 's/^/| /' conftest.
$ac_ext >&5
5316 ac_cv_c_stack_direction
=-1
5318 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5321 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5322 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5324 cat >>confdefs.h
<<_ACEOF
5325 #define STACK_DIRECTION $ac_cv_c_stack_direction
5333 for ac_header
in stdlib.h unistd.h
5335 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5337 echo "$as_me:$LINENO: checking for $ac_header" >&5
5338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5345 # Is the header compilable?
5346 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5347 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5348 cat >conftest.
$ac_ext <<_ACEOF
5351 cat confdefs.h
>>conftest.
$ac_ext
5352 cat >>conftest.
$ac_ext <<_ACEOF
5353 /* end confdefs.h. */
5354 $ac_includes_default
5355 #include <$ac_header>
5357 rm -f conftest.
$ac_objext
5358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5359 (eval $ac_compile) 2>conftest.er1
5361 grep -v '^ *+' conftest.er1
>conftest.err
5363 cat conftest.err
>&5
5364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365 (exit $ac_status); } &&
5366 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); }; } &&
5372 { ac_try
='test -s conftest.$ac_objext'
5373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5377 (exit $ac_status); }; }; then
5378 ac_header_compiler
=yes
5380 echo "$as_me: failed program was:" >&5
5381 sed 's/^/| /' conftest.
$ac_ext >&5
5383 ac_header_compiler
=no
5385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5387 echo "${ECHO_T}$ac_header_compiler" >&6
5389 # Is the header present?
5390 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5392 cat >conftest.
$ac_ext <<_ACEOF
5395 cat confdefs.h
>>conftest.
$ac_ext
5396 cat >>conftest.
$ac_ext <<_ACEOF
5397 /* end confdefs.h. */
5398 #include <$ac_header>
5400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5401 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5403 grep -v '^ *+' conftest.er1
>conftest.err
5405 cat conftest.err
>&5
5406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5407 (exit $ac_status); } >/dev
/null
; then
5408 if test -s conftest.err
; then
5409 ac_cpp_err
=$ac_c_preproc_warn_flag
5410 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5417 if test -z "$ac_cpp_err"; then
5418 ac_header_preproc
=yes
5420 echo "$as_me: failed program was:" >&5
5421 sed 's/^/| /' conftest.
$ac_ext >&5
5423 ac_header_preproc
=no
5425 rm -f conftest.err conftest.
$ac_ext
5426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5427 echo "${ECHO_T}$ac_header_preproc" >&6
5429 # So? What about this header?
5430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5432 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5433 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5435 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5436 ac_header_preproc
=yes
5439 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5440 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5441 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5442 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5443 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5444 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5445 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5446 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5448 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5449 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5450 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5453 ## ------------------------------------------- ##
5454 ## Report this to debian-dpkg@lists.debian.org ##
5455 ## ------------------------------------------- ##
5458 sed "s/^/$as_me: WARNING: /" >&2
5461 echo "$as_me:$LINENO: checking for $ac_header" >&5
5462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5464 echo $ECHO_N "(cached) $ECHO_C" >&6
5466 eval "$as_ac_Header=\$ac_header_preproc"
5468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5473 cat >>confdefs.h
<<_ACEOF
5474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5482 for ac_func
in getpagesize
5484 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5485 echo "$as_me:$LINENO: checking for $ac_func" >&5
5486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5487 if eval "test \"\${$as_ac_var+set}\" = set"; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5490 cat >conftest.
$ac_ext <<_ACEOF
5493 cat confdefs.h
>>conftest.
$ac_ext
5494 cat >>conftest.
$ac_ext <<_ACEOF
5495 /* end confdefs.h. */
5496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5498 #define $ac_func innocuous_$ac_func
5500 /* System header to define __stub macros and hopefully few prototypes,
5501 which can conflict with char $ac_func (); below.
5502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5503 <limits.h> exists even on freestanding compilers. */
5506 # include <limits.h>
5508 # include <assert.h>
5513 /* Override any gcc2 internal prototype to avoid an error. */
5518 /* We use char because int might match the return type of a gcc2
5519 builtin and then its argument prototype would still apply. */
5521 /* The GNU C library defines this for functions which it implements
5522 to always fail with ENOSYS. Some functions are actually named
5523 something starting with __ and the normal name is an alias. */
5524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5527 char (*f) () = $ac_func;
5536 return f != $ac_func;
5541 rm -f conftest.
$ac_objext conftest
$ac_exeext
5542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5543 (eval $ac_link) 2>conftest.er1
5545 grep -v '^ *+' conftest.er1
>conftest.err
5547 cat conftest.err
>&5
5548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5549 (exit $ac_status); } &&
5550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); }; } &&
5556 { ac_try
='test -s conftest$ac_exeext'
5557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); }; }; then
5562 eval "$as_ac_var=yes"
5564 echo "$as_me: failed program was:" >&5
5565 sed 's/^/| /' conftest.
$ac_ext >&5
5567 eval "$as_ac_var=no"
5569 rm -f conftest.err conftest.
$ac_objext \
5570 conftest
$ac_exeext conftest.
$ac_ext
5572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5574 if test `eval echo '${'$as_ac_var'}'` = yes; then
5575 cat >>confdefs.h
<<_ACEOF
5576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5582 echo "$as_me:$LINENO: checking for working mmap" >&5
5583 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
5584 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
5585 echo $ECHO_N "(cached) $ECHO_C" >&6
5587 if test "$cross_compiling" = yes; then
5588 ac_cv_func_mmap_fixed_mapped
=no
5590 cat >conftest.
$ac_ext <<_ACEOF
5593 cat confdefs.h
>>conftest.
$ac_ext
5594 cat >>conftest.
$ac_ext <<_ACEOF
5595 /* end confdefs.h. */
5596 $ac_includes_default
5597 /* malloc might have been renamed as rpl_malloc. */
5600 /* Thanks to Mike Haertel and Jim Avera for this test.
5601 Here is a matrix of mmap possibilities:
5602 mmap private not fixed
5603 mmap private fixed at somewhere currently unmapped
5604 mmap private fixed at somewhere already mapped
5605 mmap shared not fixed
5606 mmap shared fixed at somewhere currently unmapped
5607 mmap shared fixed at somewhere already mapped
5608 For private mappings, we should verify that changes cannot be read()
5609 back from the file, nor mmap's back from the file at a different
5610 address. (There have been systems where private was not correctly
5611 implemented like the infamous i386 svr4.0, and systems where the
5612 VM page cache was not coherent with the file system buffer cache
5613 like early versions of FreeBSD and possibly contemporary NetBSD.)
5614 For shared mappings, we should conversely verify that changes get
5615 propagated back to all the places they're supposed to be.
5617 Grep wants private fixed already mapped.
5618 The main things grep needs to know about mmap are:
5619 * does it exist and is it safe to write into the mmap'd area
5620 * how to use it (BSD variants) */
5623 #include <sys/mman.h>
5625 #if !STDC_HEADERS && !HAVE_STDLIB_H
5629 /* This mess was copied from the GNU getpagesize.h. */
5630 #if !HAVE_GETPAGESIZE
5631 /* Assume that all systems that can run configure have sys/param.h. */
5632 # if !HAVE_SYS_PARAM_H
5633 # define HAVE_SYS_PARAM_H 1
5636 # ifdef _SC_PAGESIZE
5637 # define getpagesize() sysconf(_SC_PAGESIZE)
5638 # else /* no _SC_PAGESIZE */
5639 # if HAVE_SYS_PARAM_H
5640 # include <sys/param.h>
5641 # ifdef EXEC_PAGESIZE
5642 # define getpagesize() EXEC_PAGESIZE
5643 # else /* no EXEC_PAGESIZE */
5645 # define getpagesize() NBPG * CLSIZE
5648 # endif /* no CLSIZE */
5649 # else /* no NBPG */
5651 # define getpagesize() NBPC
5652 # else /* no NBPC */
5654 # define getpagesize() PAGESIZE
5655 # endif /* PAGESIZE */
5656 # endif /* no NBPC */
5657 # endif /* no NBPG */
5658 # endif /* no EXEC_PAGESIZE */
5659 # else /* no HAVE_SYS_PARAM_H */
5660 # define getpagesize() 8192 /* punt totally */
5661 # endif /* no HAVE_SYS_PARAM_H */
5662 # endif /* no _SC_PAGESIZE */
5664 #endif /* no HAVE_GETPAGESIZE */
5669 char *data, *data2, *data3;
5673 pagesize = getpagesize ();
5675 /* First, make a file with some known garbage in it. */
5676 data = (char *) malloc (pagesize);
5679 for (i = 0; i < pagesize; ++i)
5680 *(data + i) = rand ();
5682 fd = creat ("conftest.mmap", 0600);
5685 if (write (fd, data, pagesize) != pagesize)
5689 /* Next, try to mmap the file at a fixed address which already has
5690 something else allocated at it. If we can, also make sure that
5691 we see the same garbage. */
5692 fd = open ("conftest.mmap", O_RDWR);
5695 data2 = (char *) malloc (2 * pagesize);
5698 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
5699 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
5700 MAP_PRIVATE | MAP_FIXED, fd, 0L))
5702 for (i = 0; i < pagesize; ++i)
5703 if (*(data + i) != *(data2 + i))
5706 /* Finally, make sure that changes to the mapped area do not
5707 percolate back to the file as seen by read(). (This is a bug on
5708 some variants of i386 svr4.0.) */
5709 for (i = 0; i < pagesize; ++i)
5710 *(data2 + i) = *(data2 + i) + 1;
5711 data3 = (char *) malloc (pagesize);
5714 if (read (fd, data3, pagesize) != pagesize)
5716 for (i = 0; i < pagesize; ++i)
5717 if (*(data + i) != *(data3 + i))
5723 rm -f conftest
$ac_exeext
5724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5725 (eval $ac_link) 2>&5
5727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5728 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 (exit $ac_status); }; }; then
5734 ac_cv_func_mmap_fixed_mapped
=yes
5736 echo "$as_me: program exited with status $ac_status" >&5
5737 echo "$as_me: failed program was:" >&5
5738 sed 's/^/| /' conftest.
$ac_ext >&5
5741 ac_cv_func_mmap_fixed_mapped
=no
5743 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5746 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
5747 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
5748 if test $ac_cv_func_mmap_fixed_mapped = yes; then
5750 cat >>confdefs.h
<<\_ACEOF
5758 echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
5759 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
5760 if test "${ac_cv_gnu_library_2_1+set}" = set; then
5761 echo $ECHO_N "(cached) $ECHO_C" >&6
5763 cat >conftest.
$ac_ext <<_ACEOF
5766 cat confdefs.h
>>conftest.
$ac_ext
5767 cat >>conftest.
$ac_ext <<_ACEOF
5768 /* end confdefs.h. */
5770 #include <features.h>
5771 #ifdef __GNU_LIBRARY__
5772 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
5778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5779 $EGREP "Lucky GNU user" >/dev
/null
2>&1; then
5780 ac_cv_gnu_library_2_1
=yes
5782 ac_cv_gnu_library_2_1
=no
5789 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
5790 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
5792 GLIBC21
="$ac_cv_gnu_library_2_1"
5797 echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
5798 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
5799 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5803 if test "$cross_compiling" = yes; then
5805 # Guess based on the CPU.
5807 alpha
* | i3456786 | m68k | s390
*)
5808 gt_cv_int_divbyzero_sigfpe
="guessing yes";;
5810 gt_cv_int_divbyzero_sigfpe
="guessing no";;
5814 cat >conftest.
$ac_ext <<_ACEOF
5817 cat confdefs.h
>>conftest.
$ac_ext
5818 cat >>conftest.
$ac_ext <<_ACEOF
5819 /* end confdefs.h. */
5826 sigfpe_handler (int sig)
5828 sigfpe_handler (sig) int sig;
5831 /* Exit with code 0 if SIGFPE, with code 1 if any other signal. */
5832 exit (sig != SIGFPE);
5842 signal (SIGFPE, sigfpe_handler);
5843 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP. */
5844 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
5845 signal (SIGTRAP, sigfpe_handler);
5847 /* Linux/SPARC yields signal SIGILL. */
5848 #if defined (__sparc__) && defined (__linux__)
5849 signal (SIGILL, sigfpe_handler);
5858 rm -f conftest
$ac_exeext
5859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5860 (eval $ac_link) 2>&5
5862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5863 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5868 (exit $ac_status); }; }; then
5869 gt_cv_int_divbyzero_sigfpe
=yes
5871 echo "$as_me: program exited with status $ac_status" >&5
5872 echo "$as_me: failed program was:" >&5
5873 sed 's/^/| /' conftest.
$ac_ext >&5
5876 gt_cv_int_divbyzero_sigfpe
=no
5878 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5882 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
5883 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
5884 case "$gt_cv_int_divbyzero_sigfpe" in
5889 cat >>confdefs.h
<<_ACEOF
5890 #define INTDIV0_RAISES_SIGFPE $value
5895 echo "$as_me:$LINENO: checking for unsigned long long" >&5
5896 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
5897 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
5898 echo $ECHO_N "(cached) $ECHO_C" >&6
5900 cat >conftest.
$ac_ext <<_ACEOF
5903 cat confdefs.h
>>conftest.
$ac_ext
5904 cat >>conftest.
$ac_ext <<_ACEOF
5905 /* end confdefs.h. */
5906 unsigned long long ull = 1ULL; int i = 63;
5910 unsigned long long ullmax = (unsigned long long) -1;
5911 return ull << i | ull >> i | ullmax / ull | ullmax % ull;
5916 rm -f conftest.
$ac_objext conftest
$ac_exeext
5917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5918 (eval $ac_link) 2>conftest.er1
5920 grep -v '^ *+' conftest.er1
>conftest.err
5922 cat conftest.err
>&5
5923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5924 (exit $ac_status); } &&
5925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5930 (exit $ac_status); }; } &&
5931 { ac_try
='test -s conftest$ac_exeext'
5932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); }; }; then
5937 ac_cv_type_unsigned_long_long
=yes
5939 echo "$as_me: failed program was:" >&5
5940 sed 's/^/| /' conftest.
$ac_ext >&5
5942 ac_cv_type_unsigned_long_long
=no
5944 rm -f conftest.err conftest.
$ac_objext \
5945 conftest
$ac_exeext conftest.
$ac_ext
5947 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
5948 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
5949 if test $ac_cv_type_unsigned_long_long = yes; then
5951 cat >>confdefs.h
<<\_ACEOF
5952 #define HAVE_UNSIGNED_LONG_LONG 1
5960 if test $jm_ac_cv_header_inttypes_h = no
&& test $jm_ac_cv_header_stdint_h = no
; then
5962 test $ac_cv_type_unsigned_long_long = yes \
5963 && ac_type
='unsigned long long' \
5964 || ac_type
='unsigned long'
5966 cat >>confdefs.h
<<_ACEOF
5967 #define uintmax_t $ac_type
5972 cat >>confdefs.h
<<\_ACEOF
5973 #define HAVE_UINTMAX_T 1
5979 echo "$as_me:$LINENO: checking for inttypes.h" >&5
5980 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
5981 if test "${gt_cv_header_inttypes_h+set}" = set; then
5982 echo $ECHO_N "(cached) $ECHO_C" >&6
5985 cat >conftest.
$ac_ext <<_ACEOF
5988 cat confdefs.h
>>conftest.
$ac_ext
5989 cat >>conftest.
$ac_ext <<_ACEOF
5990 /* end confdefs.h. */
5991 #include <sys/types.h>
5992 #include <inttypes.h>
6001 rm -f conftest.
$ac_objext
6002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6003 (eval $ac_compile) 2>conftest.er1
6005 grep -v '^ *+' conftest.er1
>conftest.err
6007 cat conftest.err
>&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); } &&
6010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); }; } &&
6016 { ac_try
='test -s conftest.$ac_objext'
6017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); }; }; then
6022 gt_cv_header_inttypes_h
=yes
6024 echo "$as_me: failed program was:" >&5
6025 sed 's/^/| /' conftest.
$ac_ext >&5
6027 gt_cv_header_inttypes_h
=no
6029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6032 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
6033 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
6034 if test $gt_cv_header_inttypes_h = yes; then
6036 cat >>confdefs.h
<<_ACEOF
6037 #define HAVE_INTTYPES_H 1
6044 if test $gt_cv_header_inttypes_h = yes; then
6045 echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
6046 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
6047 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
6048 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 cat >conftest.
$ac_ext <<_ACEOF
6054 cat confdefs.h
>>conftest.
$ac_ext
6055 cat >>conftest.
$ac_ext <<_ACEOF
6056 /* end confdefs.h. */
6057 #include <inttypes.h>
6070 rm -f conftest.
$ac_objext
6071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6072 (eval $ac_compile) 2>conftest.er1
6074 grep -v '^ *+' conftest.er1
>conftest.err
6076 cat conftest.err
>&5
6077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6078 (exit $ac_status); } &&
6079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); }; } &&
6085 { ac_try
='test -s conftest.$ac_objext'
6086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); }; }; then
6091 gt_cv_inttypes_pri_broken
=no
6093 echo "$as_me: failed program was:" >&5
6094 sed 's/^/| /' conftest.
$ac_ext >&5
6096 gt_cv_inttypes_pri_broken
=yes
6098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6101 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
6102 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
6104 if test "$gt_cv_inttypes_pri_broken" = yes; then
6106 cat >>confdefs.h
<<_ACEOF
6107 #define PRI_MACROS_BROKEN 1
6114 for ac_header
in stdint.h
6116 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6118 echo "$as_me:$LINENO: checking for $ac_header" >&5
6119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6121 echo $ECHO_N "(cached) $ECHO_C" >&6
6123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6126 # Is the header compilable?
6127 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6128 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6129 cat >conftest.
$ac_ext <<_ACEOF
6132 cat confdefs.h
>>conftest.
$ac_ext
6133 cat >>conftest.
$ac_ext <<_ACEOF
6134 /* end confdefs.h. */
6135 $ac_includes_default
6136 #include <$ac_header>
6138 rm -f conftest.
$ac_objext
6139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6140 (eval $ac_compile) 2>conftest.er1
6142 grep -v '^ *+' conftest.er1
>conftest.err
6144 cat conftest.err
>&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); } &&
6147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152 (exit $ac_status); }; } &&
6153 { ac_try
='test -s conftest.$ac_objext'
6154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158 (exit $ac_status); }; }; then
6159 ac_header_compiler
=yes
6161 echo "$as_me: failed program was:" >&5
6162 sed 's/^/| /' conftest.
$ac_ext >&5
6164 ac_header_compiler
=no
6166 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6168 echo "${ECHO_T}$ac_header_compiler" >&6
6170 # Is the header present?
6171 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6172 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6173 cat >conftest.
$ac_ext <<_ACEOF
6176 cat confdefs.h
>>conftest.
$ac_ext
6177 cat >>conftest.
$ac_ext <<_ACEOF
6178 /* end confdefs.h. */
6179 #include <$ac_header>
6181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6182 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6184 grep -v '^ *+' conftest.er1
>conftest.err
6186 cat conftest.err
>&5
6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 (exit $ac_status); } >/dev
/null
; then
6189 if test -s conftest.err
; then
6190 ac_cpp_err
=$ac_c_preproc_warn_flag
6191 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6198 if test -z "$ac_cpp_err"; then
6199 ac_header_preproc
=yes
6201 echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.
$ac_ext >&5
6204 ac_header_preproc
=no
6206 rm -f conftest.err conftest.
$ac_ext
6207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6208 echo "${ECHO_T}$ac_header_preproc" >&6
6210 # So? What about this header?
6211 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6217 ac_header_preproc
=yes
6220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6234 ## ------------------------------------------- ##
6235 ## Report this to debian-dpkg@lists.debian.org ##
6236 ## ------------------------------------------- ##
6239 sed "s/^/$as_me: WARNING: /" >&2
6242 echo "$as_me:$LINENO: checking for $ac_header" >&5
6243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6245 echo $ECHO_N "(cached) $ECHO_C" >&6
6247 eval "$as_ac_Header=\$ac_header_preproc"
6249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6254 cat >>confdefs.h
<<_ACEOF
6255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6262 echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
6263 echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6
6265 cat >conftest.
$ac_ext <<_ACEOF
6268 cat confdefs.h
>>conftest.
$ac_ext
6269 cat >>conftest.
$ac_ext <<_ACEOF
6270 /* end confdefs.h. */
6281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6282 $EGREP "Found it" >/dev
/null
2>&1; then
6287 if test -z "$result"; then
6288 if test "$cross_compiling" = yes; then
6289 # Depending upon the size, compute the lo and hi bounds.
6290 cat >conftest.
$ac_ext <<_ACEOF
6293 cat confdefs.h
>>conftest.
$ac_ext
6294 cat >>conftest.
$ac_ext <<_ACEOF
6295 /* end confdefs.h. */
6300 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)];
6307 rm -f conftest.
$ac_objext
6308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6309 (eval $ac_compile) 2>conftest.er1
6311 grep -v '^ *+' conftest.er1
>conftest.err
6313 cat conftest.err
>&5
6314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6315 (exit $ac_status); } &&
6316 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321 (exit $ac_status); }; } &&
6322 { ac_try
='test -s conftest.$ac_objext'
6323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327 (exit $ac_status); }; }; then
6330 cat >conftest.
$ac_ext <<_ACEOF
6333 cat confdefs.h
>>conftest.
$ac_ext
6334 cat >>conftest.
$ac_ext <<_ACEOF
6335 /* end confdefs.h. */
6340 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
6347 rm -f conftest.
$ac_objext
6348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6349 (eval $ac_compile) 2>conftest.er1
6351 grep -v '^ *+' conftest.er1
>conftest.err
6353 cat conftest.err
>&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); } &&
6356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); }; } &&
6362 { ac_try
='test -s conftest.$ac_objext'
6363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6367 (exit $ac_status); }; }; then
6368 ac_hi
=$ac_mid; break
6370 echo "$as_me: failed program was:" >&5
6371 sed 's/^/| /' conftest.
$ac_ext >&5
6373 ac_lo
=`expr $ac_mid + 1`
6374 if test $ac_lo -le $ac_mid; then
6378 ac_mid
=`expr 2 '*' $ac_mid + 1`
6380 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6383 echo "$as_me: failed program was:" >&5
6384 sed 's/^/| /' conftest.
$ac_ext >&5
6386 cat >conftest.
$ac_ext <<_ACEOF
6389 cat confdefs.h
>>conftest.
$ac_ext
6390 cat >>conftest.
$ac_ext <<_ACEOF
6391 /* end confdefs.h. */
6396 static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)];
6403 rm -f conftest.
$ac_objext
6404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6405 (eval $ac_compile) 2>conftest.er1
6407 grep -v '^ *+' conftest.er1
>conftest.err
6409 cat conftest.err
>&5
6410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411 (exit $ac_status); } &&
6412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); }; } &&
6418 { ac_try
='test -s conftest.$ac_objext'
6419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); }; }; then
6426 cat >conftest.
$ac_ext <<_ACEOF
6429 cat confdefs.h
>>conftest.
$ac_ext
6430 cat >>conftest.
$ac_ext <<_ACEOF
6431 /* end confdefs.h. */
6436 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)];
6443 rm -f conftest.
$ac_objext
6444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6445 (eval $ac_compile) 2>conftest.er1
6447 grep -v '^ *+' conftest.er1
>conftest.err
6449 cat conftest.err
>&5
6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); } &&
6452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); }; } &&
6458 { ac_try
='test -s conftest.$ac_objext'
6459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); }; }; then
6464 ac_lo
=$ac_mid; break
6466 echo "$as_me: failed program was:" >&5
6467 sed 's/^/| /' conftest.
$ac_ext >&5
6469 ac_hi
=`expr '(' $ac_mid ')' - 1`
6470 if test $ac_mid -le $ac_hi; then
6474 ac_mid
=`expr 2 '*' $ac_mid`
6476 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6479 echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.
$ac_ext >&5
6484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6486 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6487 # Binary search between lo and hi bounds.
6488 while test "x$ac_lo" != "x$ac_hi"; do
6489 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6490 cat >conftest.
$ac_ext <<_ACEOF
6493 cat confdefs.h
>>conftest.
$ac_ext
6494 cat >>conftest.
$ac_ext <<_ACEOF
6495 /* end confdefs.h. */
6500 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
6507 rm -f conftest.
$ac_objext
6508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6509 (eval $ac_compile) 2>conftest.er1
6511 grep -v '^ *+' conftest.er1
>conftest.err
6513 cat conftest.err
>&5
6514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6515 (exit $ac_status); } &&
6516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); }; } &&
6522 { ac_try
='test -s conftest.$ac_objext'
6523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 (exit $ac_status); }; }; then
6530 echo "$as_me: failed program was:" >&5
6531 sed 's/^/| /' conftest.
$ac_ext >&5
6533 ac_lo
=`expr '(' $ac_mid ')' + 1`
6535 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6542 if test "$cross_compiling" = yes; then
6543 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
6544 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
6545 { (exit 1); exit 1; }; }
6547 cat >conftest.
$ac_ext <<_ACEOF
6550 cat confdefs.h
>>conftest.
$ac_ext
6551 cat >>conftest.
$ac_ext <<_ACEOF
6552 /* end confdefs.h. */
6554 long longval () { return ~(size_t)0 / 10; }
6555 unsigned long ulongval () { return ~(size_t)0 / 10; }
6562 FILE *f = fopen ("conftest.val", "w");
6565 if ((~(size_t)0 / 10) < 0)
6567 long i = longval ();
6568 if (i != (~(size_t)0 / 10))
6570 fprintf (f, "%ld\n", i);
6574 unsigned long i = ulongval ();
6575 if (i != (~(size_t)0 / 10))
6577 fprintf (f, "%lu\n", i);
6579 exit (ferror (f) || fclose (f) != 0);
6585 rm -f conftest
$ac_exeext
6586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6587 (eval $ac_link) 2>&5
6589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6590 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6595 (exit $ac_status); }; }; then
6596 res_hi
=`cat conftest.val`
6598 echo "$as_me: program exited with status $ac_status" >&5
6599 echo "$as_me: failed program was:" >&5
6600 sed 's/^/| /' conftest.
$ac_ext >&5
6605 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6609 if test "$cross_compiling" = yes; then
6610 # Depending upon the size, compute the lo and hi bounds.
6611 cat >conftest.
$ac_ext <<_ACEOF
6614 cat confdefs.h
>>conftest.
$ac_ext
6615 cat >>conftest.
$ac_ext <<_ACEOF
6616 /* end confdefs.h. */
6621 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)];
6628 rm -f conftest.
$ac_objext
6629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6630 (eval $ac_compile) 2>conftest.er1
6632 grep -v '^ *+' conftest.er1
>conftest.err
6634 cat conftest.err
>&5
6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); } &&
6637 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); }; } &&
6643 { ac_try
='test -s conftest.$ac_objext'
6644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; }; then
6651 cat >conftest.
$ac_ext <<_ACEOF
6654 cat confdefs.h
>>conftest.
$ac_ext
6655 cat >>conftest.
$ac_ext <<_ACEOF
6656 /* end confdefs.h. */
6661 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
6668 rm -f conftest.
$ac_objext
6669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6670 (eval $ac_compile) 2>conftest.er1
6672 grep -v '^ *+' conftest.er1
>conftest.err
6674 cat conftest.err
>&5
6675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6676 (exit $ac_status); } &&
6677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682 (exit $ac_status); }; } &&
6683 { ac_try
='test -s conftest.$ac_objext'
6684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); }; }; then
6689 ac_hi
=$ac_mid; break
6691 echo "$as_me: failed program was:" >&5
6692 sed 's/^/| /' conftest.
$ac_ext >&5
6694 ac_lo
=`expr $ac_mid + 1`
6695 if test $ac_lo -le $ac_mid; then
6699 ac_mid
=`expr 2 '*' $ac_mid + 1`
6701 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6704 echo "$as_me: failed program was:" >&5
6705 sed 's/^/| /' conftest.
$ac_ext >&5
6707 cat >conftest.
$ac_ext <<_ACEOF
6710 cat confdefs.h
>>conftest.
$ac_ext
6711 cat >>conftest.
$ac_ext <<_ACEOF
6712 /* end confdefs.h. */
6717 static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)];
6724 rm -f conftest.
$ac_objext
6725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6726 (eval $ac_compile) 2>conftest.er1
6728 grep -v '^ *+' conftest.er1
>conftest.err
6730 cat conftest.err
>&5
6731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 (exit $ac_status); } &&
6733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); }; } &&
6739 { ac_try
='test -s conftest.$ac_objext'
6740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); }; }; then
6747 cat >conftest.
$ac_ext <<_ACEOF
6750 cat confdefs.h
>>conftest.
$ac_ext
6751 cat >>conftest.
$ac_ext <<_ACEOF
6752 /* end confdefs.h. */
6757 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)];
6764 rm -f conftest.
$ac_objext
6765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6766 (eval $ac_compile) 2>conftest.er1
6768 grep -v '^ *+' conftest.er1
>conftest.err
6770 cat conftest.err
>&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); } &&
6773 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); }; } &&
6779 { ac_try
='test -s conftest.$ac_objext'
6780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784 (exit $ac_status); }; }; then
6785 ac_lo
=$ac_mid; break
6787 echo "$as_me: failed program was:" >&5
6788 sed 's/^/| /' conftest.
$ac_ext >&5
6790 ac_hi
=`expr '(' $ac_mid ')' - 1`
6791 if test $ac_mid -le $ac_hi; then
6795 ac_mid
=`expr 2 '*' $ac_mid`
6797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6800 echo "$as_me: failed program was:" >&5
6801 sed 's/^/| /' conftest.
$ac_ext >&5
6805 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6808 # Binary search between lo and hi bounds.
6809 while test "x$ac_lo" != "x$ac_hi"; do
6810 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
6811 cat >conftest.
$ac_ext <<_ACEOF
6814 cat confdefs.h
>>conftest.
$ac_ext
6815 cat >>conftest.
$ac_ext <<_ACEOF
6816 /* end confdefs.h. */
6821 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
6828 rm -f conftest.
$ac_objext
6829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6830 (eval $ac_compile) 2>conftest.er1
6832 grep -v '^ *+' conftest.er1
>conftest.err
6834 cat conftest.err
>&5
6835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836 (exit $ac_status); } &&
6837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); }; } &&
6843 { ac_try
='test -s conftest.$ac_objext'
6844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); }; }; then
6851 echo "$as_me: failed program was:" >&5
6852 sed 's/^/| /' conftest.
$ac_ext >&5
6854 ac_lo
=`expr '(' $ac_mid ')' + 1`
6856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6863 if test "$cross_compiling" = yes; then
6864 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
6865 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
6866 { (exit 1); exit 1; }; }
6868 cat >conftest.
$ac_ext <<_ACEOF
6871 cat confdefs.h
>>conftest.
$ac_ext
6872 cat >>conftest.
$ac_ext <<_ACEOF
6873 /* end confdefs.h. */
6875 long longval () { return ~(size_t)0 % 10; }
6876 unsigned long ulongval () { return ~(size_t)0 % 10; }
6883 FILE *f = fopen ("conftest.val", "w");
6886 if ((~(size_t)0 % 10) < 0)
6888 long i = longval ();
6889 if (i != (~(size_t)0 % 10))
6891 fprintf (f, "%ld\n", i);
6895 unsigned long i = ulongval ();
6896 if (i != (~(size_t)0 % 10))
6898 fprintf (f, "%lu\n", i);
6900 exit (ferror (f) || fclose (f) != 0);
6906 rm -f conftest
$ac_exeext
6907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6908 (eval $ac_link) 2>&5
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6916 (exit $ac_status); }; }; then
6917 res_lo
=`cat conftest.val`
6919 echo "$as_me: program exited with status $ac_status" >&5
6920 echo "$as_me: failed program was:" >&5
6921 sed 's/^/| /' conftest.
$ac_ext >&5
6926 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6930 if test "$cross_compiling" = yes; then
6931 # Depending upon the size, compute the lo and hi bounds.
6932 cat >conftest.
$ac_ext <<_ACEOF
6935 cat confdefs.h
>>conftest.
$ac_ext
6936 cat >>conftest.
$ac_ext <<_ACEOF
6937 /* end confdefs.h. */
6942 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
6949 rm -f conftest.
$ac_objext
6950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6951 (eval $ac_compile) 2>conftest.er1
6953 grep -v '^ *+' conftest.er1
>conftest.err
6955 cat conftest.err
>&5
6956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957 (exit $ac_status); } &&
6958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); }; } &&
6964 { ac_try
='test -s conftest.$ac_objext'
6965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); }; }; then
6972 cat >conftest.
$ac_ext <<_ACEOF
6975 cat confdefs.h
>>conftest.
$ac_ext
6976 cat >>conftest.
$ac_ext <<_ACEOF
6977 /* end confdefs.h. */
6982 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
6989 rm -f conftest.
$ac_objext
6990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6991 (eval $ac_compile) 2>conftest.er1
6993 grep -v '^ *+' conftest.er1
>conftest.err
6995 cat conftest.err
>&5
6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); } &&
6998 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); }; } &&
7004 { ac_try
='test -s conftest.$ac_objext'
7005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); }; }; then
7010 ac_hi
=$ac_mid; break
7012 echo "$as_me: failed program was:" >&5
7013 sed 's/^/| /' conftest.
$ac_ext >&5
7015 ac_lo
=`expr $ac_mid + 1`
7016 if test $ac_lo -le $ac_mid; then
7020 ac_mid
=`expr 2 '*' $ac_mid + 1`
7022 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7025 echo "$as_me: failed program was:" >&5
7026 sed 's/^/| /' conftest.
$ac_ext >&5
7028 cat >conftest.
$ac_ext <<_ACEOF
7031 cat confdefs.h
>>conftest.
$ac_ext
7032 cat >>conftest.
$ac_ext <<_ACEOF
7033 /* end confdefs.h. */
7038 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
7045 rm -f conftest.
$ac_objext
7046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7047 (eval $ac_compile) 2>conftest.er1
7049 grep -v '^ *+' conftest.er1
>conftest.err
7051 cat conftest.err
>&5
7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); } &&
7054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7059 (exit $ac_status); }; } &&
7060 { ac_try
='test -s conftest.$ac_objext'
7061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); }; }; then
7068 cat >conftest.
$ac_ext <<_ACEOF
7071 cat confdefs.h
>>conftest.
$ac_ext
7072 cat >>conftest.
$ac_ext <<_ACEOF
7073 /* end confdefs.h. */
7078 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
7085 rm -f conftest.
$ac_objext
7086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7087 (eval $ac_compile) 2>conftest.er1
7089 grep -v '^ *+' conftest.er1
>conftest.err
7091 cat conftest.err
>&5
7092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7093 (exit $ac_status); } &&
7094 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); }; } &&
7100 { ac_try
='test -s conftest.$ac_objext'
7101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7105 (exit $ac_status); }; }; then
7106 ac_lo
=$ac_mid; break
7108 echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.
$ac_ext >&5
7111 ac_hi
=`expr '(' $ac_mid ')' - 1`
7112 if test $ac_mid -le $ac_hi; then
7116 ac_mid
=`expr 2 '*' $ac_mid`
7118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7121 echo "$as_me: failed program was:" >&5
7122 sed 's/^/| /' conftest.
$ac_ext >&5
7126 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7128 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7129 # Binary search between lo and hi bounds.
7130 while test "x$ac_lo" != "x$ac_hi"; do
7131 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7132 cat >conftest.
$ac_ext <<_ACEOF
7135 cat confdefs.h
>>conftest.
$ac_ext
7136 cat >>conftest.
$ac_ext <<_ACEOF
7137 /* end confdefs.h. */
7142 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
7149 rm -f conftest.
$ac_objext
7150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7151 (eval $ac_compile) 2>conftest.er1
7153 grep -v '^ *+' conftest.er1
>conftest.err
7155 cat conftest.err
>&5
7156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157 (exit $ac_status); } &&
7158 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163 (exit $ac_status); }; } &&
7164 { ac_try
='test -s conftest.$ac_objext'
7165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169 (exit $ac_status); }; }; then
7172 echo "$as_me: failed program was:" >&5
7173 sed 's/^/| /' conftest.
$ac_ext >&5
7175 ac_lo
=`expr '(' $ac_mid ')' + 1`
7177 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7180 ?
*) fits_in_uint
=$ac_lo;;
7184 if test "$cross_compiling" = yes; then
7185 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
7186 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
7187 { (exit 1); exit 1; }; }
7189 cat >conftest.
$ac_ext <<_ACEOF
7192 cat confdefs.h
>>conftest.
$ac_ext
7193 cat >>conftest.
$ac_ext <<_ACEOF
7194 /* end confdefs.h. */
7196 long longval () { return sizeof (size_t) <= sizeof (unsigned int); }
7197 unsigned long ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
7204 FILE *f = fopen ("conftest.val", "w");
7207 if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
7209 long i = longval ();
7210 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
7212 fprintf (f, "%ld\n", i);
7216 unsigned long i = ulongval ();
7217 if (i != (sizeof (size_t) <= sizeof (unsigned int)))
7219 fprintf (f, "%lu\n", i);
7221 exit (ferror (f) || fclose (f) != 0);
7227 rm -f conftest
$ac_exeext
7228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7229 (eval $ac_link) 2>&5
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237 (exit $ac_status); }; }; then
7238 fits_in_uint
=`cat conftest.val`
7240 echo "$as_me: program exited with status $ac_status" >&5
7241 echo "$as_me: failed program was:" >&5
7242 sed 's/^/| /' conftest.
$ac_ext >&5
7247 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7251 if test "$fits_in_uint" = 1; then
7252 cat >conftest.
$ac_ext <<_ACEOF
7255 cat confdefs.h
>>conftest.
$ac_ext
7256 cat >>conftest.
$ac_ext <<_ACEOF
7257 /* end confdefs.h. */
7260 extern unsigned long foo;
7270 rm -f conftest.
$ac_objext
7271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7272 (eval $ac_compile) 2>conftest.er1
7274 grep -v '^ *+' conftest.er1
>conftest.err
7276 cat conftest.err
>&5
7277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7278 (exit $ac_status); } &&
7279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); }; } &&
7285 { ac_try
='test -s conftest.$ac_objext'
7286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 (exit $ac_status); }; }; then
7293 echo "$as_me: failed program was:" >&5
7294 sed 's/^/| /' conftest.
$ac_ext >&5
7297 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7299 if test -z "$result"; then
7300 if test "$fits_in_uint" = 1; then
7301 result
="$res_hi$res_lo"U
7303 result
="$res_hi$res_lo"UL
7309 echo "$as_me:$LINENO: result: $result" >&5
7310 echo "${ECHO_T}$result" >&6
7311 if test "$result" != yes; then
7313 cat >>confdefs.h
<<_ACEOF
7314 #define SIZE_MAX $result
7322 for ac_header
in stdint.h
7324 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7326 echo "$as_me:$LINENO: checking for $ac_header" >&5
7327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7329 echo $ECHO_N "(cached) $ECHO_C" >&6
7331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7334 # Is the header compilable?
7335 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7336 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7337 cat >conftest.
$ac_ext <<_ACEOF
7340 cat confdefs.h
>>conftest.
$ac_ext
7341 cat >>conftest.
$ac_ext <<_ACEOF
7342 /* end confdefs.h. */
7343 $ac_includes_default
7344 #include <$ac_header>
7346 rm -f conftest.
$ac_objext
7347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7348 (eval $ac_compile) 2>conftest.er1
7350 grep -v '^ *+' conftest.er1
>conftest.err
7352 cat conftest.err
>&5
7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 (exit $ac_status); } &&
7355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360 (exit $ac_status); }; } &&
7361 { ac_try
='test -s conftest.$ac_objext'
7362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); }; }; then
7367 ac_header_compiler
=yes
7369 echo "$as_me: failed program was:" >&5
7370 sed 's/^/| /' conftest.
$ac_ext >&5
7372 ac_header_compiler
=no
7374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7376 echo "${ECHO_T}$ac_header_compiler" >&6
7378 # Is the header present?
7379 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7381 cat >conftest.
$ac_ext <<_ACEOF
7384 cat confdefs.h
>>conftest.
$ac_ext
7385 cat >>conftest.
$ac_ext <<_ACEOF
7386 /* end confdefs.h. */
7387 #include <$ac_header>
7389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7390 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7392 grep -v '^ *+' conftest.er1
>conftest.err
7394 cat conftest.err
>&5
7395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7396 (exit $ac_status); } >/dev
/null
; then
7397 if test -s conftest.err
; then
7398 ac_cpp_err
=$ac_c_preproc_warn_flag
7399 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7406 if test -z "$ac_cpp_err"; then
7407 ac_header_preproc
=yes
7409 echo "$as_me: failed program was:" >&5
7410 sed 's/^/| /' conftest.
$ac_ext >&5
7412 ac_header_preproc
=no
7414 rm -f conftest.err conftest.
$ac_ext
7415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7416 echo "${ECHO_T}$ac_header_preproc" >&6
7418 # So? What about this header?
7419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7422 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7424 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7425 ac_header_preproc
=yes
7428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7429 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7431 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7432 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7433 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7434 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7435 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7438 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7439 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7442 ## ------------------------------------------- ##
7443 ## Report this to debian-dpkg@lists.debian.org ##
7444 ## ------------------------------------------- ##
7447 sed "s/^/$as_me: WARNING: /" >&2
7450 echo "$as_me:$LINENO: checking for $ac_header" >&5
7451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7453 echo $ECHO_N "(cached) $ECHO_C" >&6
7455 eval "$as_ac_Header=\$ac_header_preproc"
7457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7462 cat >>confdefs.h
<<_ACEOF
7463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7472 if test "X$prefix" = "XNONE"; then
7473 acl_final_prefix
="$ac_default_prefix"
7475 acl_final_prefix
="$prefix"
7477 if test "X$exec_prefix" = "XNONE"; then
7478 acl_final_exec_prefix
='${prefix}'
7480 acl_final_exec_prefix
="$exec_prefix"
7482 acl_save_prefix
="$prefix"
7483 prefix
="$acl_final_prefix"
7484 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
7485 prefix
="$acl_save_prefix"
7488 # Check whether --with-gnu-ld or --without-gnu-ld was given.
7489 if test "${with_gnu_ld+set}" = set; then
7490 withval
="$with_gnu_ld"
7491 test "$withval" = no || with_gnu_ld
=yes
7495 # Prepare PATH_SEPARATOR.
7496 # The user is always right.
7497 if test "${PATH_SEPARATOR+set}" != set; then
7498 echo "#! /bin/sh" >conf$$.sh
7499 echo "exit 0" >>conf$$.sh
7501 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7509 if test "$GCC" = yes; then
7510 # Check if gcc -print-prog-name=ld gives a path.
7511 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
7512 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
7515 # gcc leaves a trailing carriage return which upsets mingw
7516 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7518 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
7521 # Accept absolute paths.
7522 [\\/]* |
[A-Za-z
]:[\\/]*)
7523 re_direlt
='/[^/][^/]*/\.\./'
7524 # Canonicalize the path of ld
7525 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
7526 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
7527 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
7529 test -z "$LD" && LD
="$ac_prog"
7532 # If it fails, then pretend we aren't using GCC.
7536 # If it is relative, then search for the first ld in PATH.
7540 elif test "$with_gnu_ld" = yes; then
7541 echo "$as_me:$LINENO: checking for GNU ld" >&5
7542 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
7544 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
7545 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
7547 if test "${acl_cv_path_LD+set}" = set; then
7548 echo $ECHO_N "(cached) $ECHO_C" >&6
7550 if test -z "$LD"; then
7551 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
7552 for ac_dir
in $PATH; do
7553 test -z "$ac_dir" && ac_dir
=.
7554 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
7555 acl_cv_path_LD
="$ac_dir/$ac_prog"
7556 # Check to see if the program is GNU ld. I'd rather use --version,
7557 # but apparently some GNU ld's only accept -v.
7558 # Break only if it was the GNU/non-GNU ld that we prefer.
7559 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
7560 *GNU
* |
*'with BFD'*)
7561 test "$with_gnu_ld" != no
&& break ;;
7563 test "$with_gnu_ld" != yes && break ;;
7569 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
7573 LD
="$acl_cv_path_LD"
7574 if test -n "$LD"; then
7575 echo "$as_me:$LINENO: result: $LD" >&5
7576 echo "${ECHO_T}$LD" >&6
7578 echo "$as_me:$LINENO: result: no" >&5
7579 echo "${ECHO_T}no" >&6
7581 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
7582 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
7583 { (exit 1); exit 1; }; }
7584 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
7585 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
7586 if test "${acl_cv_prog_gnu_ld+set}" = set; then
7587 echo $ECHO_N "(cached) $ECHO_C" >&6
7589 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7590 case `$LD -v 2>&1 </dev/null` in
7591 *GNU
* |
*'with BFD'*)
7592 acl_cv_prog_gnu_ld
=yes ;;
7594 acl_cv_prog_gnu_ld
=no
;;
7597 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
7598 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
7599 with_gnu_ld
=$acl_cv_prog_gnu_ld
7603 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
7604 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
7605 if test "${acl_cv_rpath+set}" = set; then
7606 echo $ECHO_N "(cached) $ECHO_C" >&6
7609 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
7610 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
7616 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
7617 echo "${ECHO_T}$acl_cv_rpath" >&6
7619 libext
="$acl_cv_libext"
7620 shlibext
="$acl_cv_shlibext"
7621 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
7622 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
7623 hardcode_direct
="$acl_cv_hardcode_direct"
7624 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
7625 # Check whether --enable-rpath or --disable-rpath was given.
7626 if test "${enable_rpath+set}" = set; then
7627 enableval
="$enable_rpath"
7641 acl_save_prefix
="$prefix"
7642 prefix
="$acl_final_prefix"
7643 acl_save_exec_prefix
="$exec_prefix"
7644 exec_prefix
="$acl_final_exec_prefix"
7646 eval additional_includedir
=\"$includedir\"
7647 eval additional_libdir
=\"$libdir\"
7649 exec_prefix
="$acl_save_exec_prefix"
7650 prefix
="$acl_save_prefix"
7653 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
7654 if test "${with_libiconv_prefix+set}" = set; then
7655 withval
="$with_libiconv_prefix"
7657 if test "X$withval" = "Xno"; then
7660 if test "X$withval" = "X"; then
7662 acl_save_prefix
="$prefix"
7663 prefix
="$acl_final_prefix"
7664 acl_save_exec_prefix
="$exec_prefix"
7665 exec_prefix
="$acl_final_exec_prefix"
7667 eval additional_includedir
=\"$includedir\"
7668 eval additional_libdir
=\"$libdir\"
7670 exec_prefix
="$acl_save_exec_prefix"
7671 prefix
="$acl_save_prefix"
7674 additional_includedir
="$withval/include"
7675 additional_libdir
="$withval/lib"
7685 names_already_handled
=
7686 names_next_round
='iconv '
7687 while test -n "$names_next_round"; do
7688 names_this_round
="$names_next_round"
7690 for name
in $names_this_round; do
7692 for n
in $names_already_handled; do
7693 if test "$n" = "$name"; then
7698 if test -z "$already_handled"; then
7699 names_already_handled
="$names_already_handled $name"
7700 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7701 eval value
=\"\
$HAVE_LIB$uppername\"
7702 if test -n "$value"; then
7703 if test "$value" = yes; then
7704 eval value
=\"\
$LIB$uppername\"
7705 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
7706 eval value
=\"\
$LTLIB$uppername\"
7707 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
7716 if test $use_additional = yes; then
7717 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
7718 found_dir
="$additional_libdir"
7719 found_so
="$additional_libdir/lib$name.$shlibext"
7720 if test -f "$additional_libdir/lib$name.la"; then
7721 found_la
="$additional_libdir/lib$name.la"
7724 if test -f "$additional_libdir/lib$name.$libext"; then
7725 found_dir
="$additional_libdir"
7726 found_a
="$additional_libdir/lib$name.$libext"
7727 if test -f "$additional_libdir/lib$name.la"; then
7728 found_la
="$additional_libdir/lib$name.la"
7733 if test "X$found_dir" = "X"; then
7734 for x
in $LDFLAGS $LTLIBICONV; do
7736 acl_save_prefix
="$prefix"
7737 prefix
="$acl_final_prefix"
7738 acl_save_exec_prefix
="$exec_prefix"
7739 exec_prefix
="$acl_final_exec_prefix"
7741 exec_prefix
="$acl_save_exec_prefix"
7742 prefix
="$acl_save_prefix"
7746 dir
=`echo "X$x" | sed -e 's/^X-L//'`
7747 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
7749 found_so
="$dir/lib$name.$shlibext"
7750 if test -f "$dir/lib$name.la"; then
7751 found_la
="$dir/lib$name.la"
7754 if test -f "$dir/lib$name.$libext"; then
7756 found_a
="$dir/lib$name.$libext"
7757 if test -f "$dir/lib$name.la"; then
7758 found_la
="$dir/lib$name.la"
7764 if test "X$found_dir" != "X"; then
7769 if test "X$found_dir" != "X"; then
7770 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
7771 if test "X$found_so" != "X"; then
7772 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
7773 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7776 for x
in $ltrpathdirs; do
7777 if test "X$x" = "X$found_dir"; then
7782 if test -z "$haveit"; then
7783 ltrpathdirs
="$ltrpathdirs $found_dir"
7785 if test "$hardcode_direct" = yes; then
7786 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7788 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
7789 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7791 for x
in $rpathdirs; do
7792 if test "X$x" = "X$found_dir"; then
7797 if test -z "$haveit"; then
7798 rpathdirs
="$rpathdirs $found_dir"
7802 for x
in $LDFLAGS $LIBICONV; do
7804 acl_save_prefix
="$prefix"
7805 prefix
="$acl_final_prefix"
7806 acl_save_exec_prefix
="$exec_prefix"
7807 exec_prefix
="$acl_final_exec_prefix"
7809 exec_prefix
="$acl_save_exec_prefix"
7810 prefix
="$acl_save_prefix"
7812 if test "X$x" = "X-L$found_dir"; then
7817 if test -z "$haveit"; then
7818 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
7820 if test "$hardcode_minus_L" != no
; then
7821 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
7823 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7829 if test "X$found_a" != "X"; then
7830 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
7832 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
7835 additional_includedir
=
7836 case "$found_dir" in
7838 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
7839 additional_includedir
="$basedir/include"
7842 if test "X$additional_includedir" != "X"; then
7843 if test "X$additional_includedir" != "X/usr/include"; then
7845 if test "X$additional_includedir" = "X/usr/local/include"; then
7846 if test -n "$GCC"; then
7848 linux
*) haveit
=yes;;
7852 if test -z "$haveit"; then
7853 for x
in $CPPFLAGS $INCICONV; do
7855 acl_save_prefix
="$prefix"
7856 prefix
="$acl_final_prefix"
7857 acl_save_exec_prefix
="$exec_prefix"
7858 exec_prefix
="$acl_final_exec_prefix"
7860 exec_prefix
="$acl_save_exec_prefix"
7861 prefix
="$acl_save_prefix"
7863 if test "X$x" = "X-I$additional_includedir"; then
7868 if test -z "$haveit"; then
7869 if test -d "$additional_includedir"; then
7870 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
7876 if test -n "$found_la"; then
7877 save_libdir
="$libdir"
7879 */* |
*\\*) .
"$found_la" ;;
7880 *) .
"./$found_la" ;;
7882 libdir
="$save_libdir"
7883 for dep
in $dependency_libs; do
7886 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
7887 if test "X$additional_libdir" != "X/usr/lib"; then
7889 if test "X$additional_libdir" = "X/usr/local/lib"; then
7890 if test -n "$GCC"; then
7892 linux
*) haveit
=yes;;
7896 if test -z "$haveit"; then
7898 for x
in $LDFLAGS $LIBICONV; do
7900 acl_save_prefix
="$prefix"
7901 prefix
="$acl_final_prefix"
7902 acl_save_exec_prefix
="$exec_prefix"
7903 exec_prefix
="$acl_final_exec_prefix"
7905 exec_prefix
="$acl_save_exec_prefix"
7906 prefix
="$acl_save_prefix"
7908 if test "X$x" = "X-L$additional_libdir"; then
7913 if test -z "$haveit"; then
7914 if test -d "$additional_libdir"; then
7915 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
7919 for x
in $LDFLAGS $LTLIBICONV; do
7921 acl_save_prefix
="$prefix"
7922 prefix
="$acl_final_prefix"
7923 acl_save_exec_prefix
="$exec_prefix"
7924 exec_prefix
="$acl_final_exec_prefix"
7926 exec_prefix
="$acl_save_exec_prefix"
7927 prefix
="$acl_save_prefix"
7929 if test "X$x" = "X-L$additional_libdir"; then
7934 if test -z "$haveit"; then
7935 if test -d "$additional_libdir"; then
7936 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
7943 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
7944 if test "$enable_rpath" != no
; then
7946 for x
in $rpathdirs; do
7947 if test "X$x" = "X$dir"; then
7952 if test -z "$haveit"; then
7953 rpathdirs
="$rpathdirs $dir"
7956 for x
in $ltrpathdirs; do
7957 if test "X$x" = "X$dir"; then
7962 if test -z "$haveit"; then
7963 ltrpathdirs
="$ltrpathdirs $dir"
7968 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
7971 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
7974 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
7975 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
7981 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
7982 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
7988 if test "X$rpathdirs" != "X"; then
7989 if test -n "$hardcode_libdir_separator"; then
7991 for found_dir
in $rpathdirs; do
7992 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
7994 acl_save_libdir
="$libdir"
7996 eval flag
=\"$hardcode_libdir_flag_spec\"
7997 libdir
="$acl_save_libdir"
7998 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8000 for found_dir
in $rpathdirs; do
8001 acl_save_libdir
="$libdir"
8003 eval flag
=\"$hardcode_libdir_flag_spec\"
8004 libdir
="$acl_save_libdir"
8005 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
8009 if test "X$ltrpathdirs" != "X"; then
8010 for found_dir
in $ltrpathdirs; do
8011 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
8022 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
8023 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
8024 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
8025 echo $ECHO_N "(cached) $ECHO_C" >&6
8027 cat >conftest.
$ac_ext <<_ACEOF
8030 cat confdefs.h
>>conftest.
$ac_ext
8031 cat >>conftest.
$ac_ext <<_ACEOF
8032 /* end confdefs.h. */
8033 $ac_includes_default
8037 if ((ptrdiff_t *) 0)
8039 if (sizeof (ptrdiff_t))
8045 rm -f conftest.
$ac_objext
8046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8047 (eval $ac_compile) 2>conftest.er1
8049 grep -v '^ *+' conftest.er1
>conftest.err
8051 cat conftest.err
>&5
8052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8053 (exit $ac_status); } &&
8054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8059 (exit $ac_status); }; } &&
8060 { ac_try
='test -s conftest.$ac_objext'
8061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8065 (exit $ac_status); }; }; then
8066 ac_cv_type_ptrdiff_t
=yes
8068 echo "$as_me: failed program was:" >&5
8069 sed 's/^/| /' conftest.
$ac_ext >&5
8071 ac_cv_type_ptrdiff_t
=no
8073 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8075 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
8076 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
8077 if test $ac_cv_type_ptrdiff_t = yes; then
8081 cat >>confdefs.h
<<\_ACEOF
8082 #define ptrdiff_t long
8098 for ac_header
in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
8099 stdlib.h string.h unistd.h sys
/param.h
8101 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8103 echo "$as_me:$LINENO: checking for $ac_header" >&5
8104 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8105 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8106 echo $ECHO_N "(cached) $ECHO_C" >&6
8108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8111 # Is the header compilable?
8112 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8113 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8114 cat >conftest.
$ac_ext <<_ACEOF
8117 cat confdefs.h
>>conftest.
$ac_ext
8118 cat >>conftest.
$ac_ext <<_ACEOF
8119 /* end confdefs.h. */
8120 $ac_includes_default
8121 #include <$ac_header>
8123 rm -f conftest.
$ac_objext
8124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8125 (eval $ac_compile) 2>conftest.er1
8127 grep -v '^ *+' conftest.er1
>conftest.err
8129 cat conftest.err
>&5
8130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8131 (exit $ac_status); } &&
8132 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); }; } &&
8138 { ac_try
='test -s conftest.$ac_objext'
8139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8143 (exit $ac_status); }; }; then
8144 ac_header_compiler
=yes
8146 echo "$as_me: failed program was:" >&5
8147 sed 's/^/| /' conftest.
$ac_ext >&5
8149 ac_header_compiler
=no
8151 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8152 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8153 echo "${ECHO_T}$ac_header_compiler" >&6
8155 # Is the header present?
8156 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8157 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8158 cat >conftest.
$ac_ext <<_ACEOF
8161 cat confdefs.h
>>conftest.
$ac_ext
8162 cat >>conftest.
$ac_ext <<_ACEOF
8163 /* end confdefs.h. */
8164 #include <$ac_header>
8166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8167 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8169 grep -v '^ *+' conftest.er1
>conftest.err
8171 cat conftest.err
>&5
8172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8173 (exit $ac_status); } >/dev
/null
; then
8174 if test -s conftest.err
; then
8175 ac_cpp_err
=$ac_c_preproc_warn_flag
8176 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8183 if test -z "$ac_cpp_err"; then
8184 ac_header_preproc
=yes
8186 echo "$as_me: failed program was:" >&5
8187 sed 's/^/| /' conftest.
$ac_ext >&5
8189 ac_header_preproc
=no
8191 rm -f conftest.err conftest.
$ac_ext
8192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8193 echo "${ECHO_T}$ac_header_preproc" >&6
8195 # So? What about this header?
8196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8198 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8201 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8202 ac_header_preproc
=yes
8205 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8206 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8207 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8208 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8209 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8210 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8211 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8212 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8215 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8216 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8219 ## ------------------------------------------- ##
8220 ## Report this to debian-dpkg@lists.debian.org ##
8221 ## ------------------------------------------- ##
8224 sed "s/^/$as_me: WARNING: /" >&2
8227 echo "$as_me:$LINENO: checking for $ac_header" >&5
8228 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8230 echo $ECHO_N "(cached) $ECHO_C" >&6
8232 eval "$as_ac_Header=\$ac_header_preproc"
8234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8238 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8239 cat >>confdefs.h
<<_ACEOF
8240 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8270 for ac_func
in asprintf fwprintf getcwd getegid geteuid getgid getuid \
8271 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
8272 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
8275 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8276 echo "$as_me:$LINENO: checking for $ac_func" >&5
8277 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8278 if eval "test \"\${$as_ac_var+set}\" = set"; then
8279 echo $ECHO_N "(cached) $ECHO_C" >&6
8281 cat >conftest.
$ac_ext <<_ACEOF
8284 cat confdefs.h
>>conftest.
$ac_ext
8285 cat >>conftest.
$ac_ext <<_ACEOF
8286 /* end confdefs.h. */
8287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8289 #define $ac_func innocuous_$ac_func
8291 /* System header to define __stub macros and hopefully few prototypes,
8292 which can conflict with char $ac_func (); below.
8293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8294 <limits.h> exists even on freestanding compilers. */
8297 # include <limits.h>
8299 # include <assert.h>
8304 /* Override any gcc2 internal prototype to avoid an error. */
8309 /* We use char because int might match the return type of a gcc2
8310 builtin and then its argument prototype would still apply. */
8312 /* The GNU C library defines this for functions which it implements
8313 to always fail with ENOSYS. Some functions are actually named
8314 something starting with __ and the normal name is an alias. */
8315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8318 char (*f) () = $ac_func;
8327 return f != $ac_func;
8332 rm -f conftest.
$ac_objext conftest
$ac_exeext
8333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8334 (eval $ac_link) 2>conftest.er1
8336 grep -v '^ *+' conftest.er1
>conftest.err
8338 cat conftest.err
>&5
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); } &&
8341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8346 (exit $ac_status); }; } &&
8347 { ac_try
='test -s conftest$ac_exeext'
8348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8352 (exit $ac_status); }; }; then
8353 eval "$as_ac_var=yes"
8355 echo "$as_me: failed program was:" >&5
8356 sed 's/^/| /' conftest.
$ac_ext >&5
8358 eval "$as_ac_var=no"
8360 rm -f conftest.err conftest.
$ac_objext \
8361 conftest
$ac_exeext conftest.
$ac_ext
8363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8365 if test `eval echo '${'$as_ac_var'}'` = yes; then
8366 cat >>confdefs.h
<<_ACEOF
8367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8375 echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
8376 echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6
8377 if test "${ac_cv_have_decl__snprintf+set}" = set; then
8378 echo $ECHO_N "(cached) $ECHO_C" >&6
8380 cat >conftest.
$ac_ext <<_ACEOF
8383 cat confdefs.h
>>conftest.
$ac_ext
8384 cat >>conftest.
$ac_ext <<_ACEOF
8385 /* end confdefs.h. */
8392 char *p = (char *) _snprintf;
8399 rm -f conftest.
$ac_objext
8400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8401 (eval $ac_compile) 2>conftest.er1
8403 grep -v '^ *+' conftest.er1
>conftest.err
8405 cat conftest.err
>&5
8406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8407 (exit $ac_status); } &&
8408 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413 (exit $ac_status); }; } &&
8414 { ac_try
='test -s conftest.$ac_objext'
8415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419 (exit $ac_status); }; }; then
8420 ac_cv_have_decl__snprintf
=yes
8422 echo "$as_me: failed program was:" >&5
8423 sed 's/^/| /' conftest.
$ac_ext >&5
8425 ac_cv_have_decl__snprintf
=no
8427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8429 echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
8430 echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6
8431 if test $ac_cv_have_decl__snprintf = yes; then
8437 cat >>confdefs.h
<<_ACEOF
8438 #define HAVE_DECL__SNPRINTF $gt_value
8443 echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5
8444 echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6
8445 if test "${ac_cv_have_decl__snwprintf+set}" = set; then
8446 echo $ECHO_N "(cached) $ECHO_C" >&6
8448 cat >conftest.
$ac_ext <<_ACEOF
8451 cat confdefs.h
>>conftest.
$ac_ext
8452 cat >>conftest.
$ac_ext <<_ACEOF
8453 /* end confdefs.h. */
8460 char *p = (char *) _snwprintf;
8467 rm -f conftest.
$ac_objext
8468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8469 (eval $ac_compile) 2>conftest.er1
8471 grep -v '^ *+' conftest.er1
>conftest.err
8473 cat conftest.err
>&5
8474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8475 (exit $ac_status); } &&
8476 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 (exit $ac_status); }; } &&
8482 { ac_try
='test -s conftest.$ac_objext'
8483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); }; }; then
8488 ac_cv_have_decl__snwprintf
=yes
8490 echo "$as_me: failed program was:" >&5
8491 sed 's/^/| /' conftest.
$ac_ext >&5
8493 ac_cv_have_decl__snwprintf
=no
8495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8497 echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5
8498 echo "${ECHO_T}$ac_cv_have_decl__snwprintf" >&6
8499 if test $ac_cv_have_decl__snwprintf = yes; then
8505 cat >>confdefs.h
<<_ACEOF
8506 #define HAVE_DECL__SNWPRINTF $gt_value
8512 echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
8513 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
8514 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
8515 echo $ECHO_N "(cached) $ECHO_C" >&6
8517 cat >conftest.
$ac_ext <<_ACEOF
8520 cat confdefs.h
>>conftest.
$ac_ext
8521 cat >>conftest.
$ac_ext <<_ACEOF
8522 /* end confdefs.h. */
8528 #ifndef feof_unlocked
8529 char *p = (char *) feof_unlocked;
8536 rm -f conftest.
$ac_objext
8537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8538 (eval $ac_compile) 2>conftest.er1
8540 grep -v '^ *+' conftest.er1
>conftest.err
8542 cat conftest.err
>&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); } &&
8545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); }; } &&
8551 { ac_try
='test -s conftest.$ac_objext'
8552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); }; }; then
8557 ac_cv_have_decl_feof_unlocked
=yes
8559 echo "$as_me: failed program was:" >&5
8560 sed 's/^/| /' conftest.
$ac_ext >&5
8562 ac_cv_have_decl_feof_unlocked
=no
8564 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8566 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
8567 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
8568 if test $ac_cv_have_decl_feof_unlocked = yes; then
8574 cat >>confdefs.h
<<_ACEOF
8575 #define HAVE_DECL_FEOF_UNLOCKED $gt_value
8580 echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
8581 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
8582 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
8583 echo $ECHO_N "(cached) $ECHO_C" >&6
8585 cat >conftest.
$ac_ext <<_ACEOF
8588 cat confdefs.h
>>conftest.
$ac_ext
8589 cat >>conftest.
$ac_ext <<_ACEOF
8590 /* end confdefs.h. */
8596 #ifndef fgets_unlocked
8597 char *p = (char *) fgets_unlocked;
8604 rm -f conftest.
$ac_objext
8605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8606 (eval $ac_compile) 2>conftest.er1
8608 grep -v '^ *+' conftest.er1
>conftest.err
8610 cat conftest.err
>&5
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); } &&
8613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618 (exit $ac_status); }; } &&
8619 { ac_try
='test -s conftest.$ac_objext'
8620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8624 (exit $ac_status); }; }; then
8625 ac_cv_have_decl_fgets_unlocked
=yes
8627 echo "$as_me: failed program was:" >&5
8628 sed 's/^/| /' conftest.
$ac_ext >&5
8630 ac_cv_have_decl_fgets_unlocked
=no
8632 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8634 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
8635 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
8636 if test $ac_cv_have_decl_fgets_unlocked = yes; then
8642 cat >>confdefs.h
<<_ACEOF
8643 #define HAVE_DECL_FGETS_UNLOCKED $gt_value
8648 echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
8649 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
8650 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
8651 echo $ECHO_N "(cached) $ECHO_C" >&6
8653 cat >conftest.
$ac_ext <<_ACEOF
8656 cat confdefs.h
>>conftest.
$ac_ext
8657 cat >>conftest.
$ac_ext <<_ACEOF
8658 /* end confdefs.h. */
8664 #ifndef getc_unlocked
8665 char *p = (char *) getc_unlocked;
8672 rm -f conftest.
$ac_objext
8673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8674 (eval $ac_compile) 2>conftest.er1
8676 grep -v '^ *+' conftest.er1
>conftest.err
8678 cat conftest.err
>&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); } &&
8681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); }; } &&
8687 { ac_try
='test -s conftest.$ac_objext'
8688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); }; }; then
8693 ac_cv_have_decl_getc_unlocked
=yes
8695 echo "$as_me: failed program was:" >&5
8696 sed 's/^/| /' conftest.
$ac_ext >&5
8698 ac_cv_have_decl_getc_unlocked
=no
8700 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8702 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
8703 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
8704 if test $ac_cv_have_decl_getc_unlocked = yes; then
8710 cat >>confdefs.h
<<_ACEOF
8711 #define HAVE_DECL_GETC_UNLOCKED $gt_value
8716 case $gt_cv_func_printf_posix in
8717 *yes) HAVE_POSIX_PRINTF
=1 ;;
8718 *) HAVE_POSIX_PRINTF
=0 ;;
8721 if test "$ac_cv_func_asprintf" = yes; then
8727 if test "$ac_cv_func_snprintf" = yes; then
8733 if test "$ac_cv_func_wprintf" = yes; then
8745 am_save_CPPFLAGS
="$CPPFLAGS"
8747 for element
in $INCICONV; do
8749 for x
in $CPPFLAGS; do
8751 acl_save_prefix
="$prefix"
8752 prefix
="$acl_final_prefix"
8753 acl_save_exec_prefix
="$exec_prefix"
8754 exec_prefix
="$acl_final_exec_prefix"
8756 exec_prefix
="$acl_save_exec_prefix"
8757 prefix
="$acl_save_prefix"
8759 if test "X$x" = "X$element"; then
8764 if test -z "$haveit"; then
8765 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
8770 echo "$as_me:$LINENO: checking for iconv" >&5
8771 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
8772 if test "${am_cv_func_iconv+set}" = set; then
8773 echo $ECHO_N "(cached) $ECHO_C" >&6
8776 am_cv_func_iconv
="no, consider installing GNU libiconv"
8778 cat >conftest.
$ac_ext <<_ACEOF
8781 cat confdefs.h
>>conftest.
$ac_ext
8782 cat >>conftest.
$ac_ext <<_ACEOF
8783 /* end confdefs.h. */
8789 iconv_t cd = iconv_open("","");
8790 iconv(cd,NULL,NULL,NULL,NULL);
8796 rm -f conftest.
$ac_objext conftest
$ac_exeext
8797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8798 (eval $ac_link) 2>conftest.er1
8800 grep -v '^ *+' conftest.er1
>conftest.err
8802 cat conftest.err
>&5
8803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804 (exit $ac_status); } &&
8805 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810 (exit $ac_status); }; } &&
8811 { ac_try
='test -s conftest$ac_exeext'
8812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 (exit $ac_status); }; }; then
8817 am_cv_func_iconv
=yes
8819 echo "$as_me: failed program was:" >&5
8820 sed 's/^/| /' conftest.
$ac_ext >&5
8823 rm -f conftest.err conftest.
$ac_objext \
8824 conftest
$ac_exeext conftest.
$ac_ext
8825 if test "$am_cv_func_iconv" != yes; then
8826 am_save_LIBS
="$LIBS"
8827 LIBS
="$LIBS $LIBICONV"
8828 cat >conftest.
$ac_ext <<_ACEOF
8831 cat confdefs.h
>>conftest.
$ac_ext
8832 cat >>conftest.
$ac_ext <<_ACEOF
8833 /* end confdefs.h. */
8839 iconv_t cd = iconv_open("","");
8840 iconv(cd,NULL,NULL,NULL,NULL);
8846 rm -f conftest.
$ac_objext conftest
$ac_exeext
8847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8848 (eval $ac_link) 2>conftest.er1
8850 grep -v '^ *+' conftest.er1
>conftest.err
8852 cat conftest.err
>&5
8853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854 (exit $ac_status); } &&
8855 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8860 (exit $ac_status); }; } &&
8861 { ac_try
='test -s conftest$ac_exeext'
8862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8866 (exit $ac_status); }; }; then
8868 am_cv_func_iconv
=yes
8870 echo "$as_me: failed program was:" >&5
8871 sed 's/^/| /' conftest.
$ac_ext >&5
8874 rm -f conftest.err conftest.
$ac_objext \
8875 conftest
$ac_exeext conftest.
$ac_ext
8876 LIBS
="$am_save_LIBS"
8880 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
8881 echo "${ECHO_T}$am_cv_func_iconv" >&6
8882 if test "$am_cv_func_iconv" = yes; then
8884 cat >>confdefs.h
<<\_ACEOF
8885 #define HAVE_ICONV 1
8889 if test "$am_cv_lib_iconv" = yes; then
8890 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
8891 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
8892 echo "$as_me:$LINENO: result: $LIBICONV" >&5
8893 echo "${ECHO_T}$LIBICONV" >&6
8895 CPPFLAGS
="$am_save_CPPFLAGS"
8902 if test "$am_cv_func_iconv" = yes; then
8903 echo "$as_me:$LINENO: checking for iconv declaration" >&5
8904 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
8905 if test "${am_cv_proto_iconv+set}" = set; then
8906 echo $ECHO_N "(cached) $ECHO_C" >&6
8909 cat >conftest.
$ac_ext <<_ACEOF
8912 cat confdefs.h
>>conftest.
$ac_ext
8913 cat >>conftest.
$ac_ext <<_ACEOF
8914 /* end confdefs.h. */
8922 #if defined(__STDC__) || defined(__cplusplus)
8923 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
8936 rm -f conftest.
$ac_objext
8937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8938 (eval $ac_compile) 2>conftest.er1
8940 grep -v '^ *+' conftest.er1
>conftest.err
8942 cat conftest.err
>&5
8943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8944 (exit $ac_status); } &&
8945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950 (exit $ac_status); }; } &&
8951 { ac_try
='test -s conftest.$ac_objext'
8952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956 (exit $ac_status); }; }; then
8957 am_cv_proto_iconv_arg1
=""
8959 echo "$as_me: failed program was:" >&5
8960 sed 's/^/| /' conftest.
$ac_ext >&5
8962 am_cv_proto_iconv_arg1
="const"
8964 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8965 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);"
8968 am_cv_proto_iconv
=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
8969 echo "$as_me:$LINENO: result: ${ac_t:-
8970 }$am_cv_proto_iconv" >&5
8971 echo "${ECHO_T}${ac_t:-
8972 }$am_cv_proto_iconv" >&6
8974 cat >>confdefs.h
<<_ACEOF
8975 #define ICONV_CONST $am_cv_proto_iconv_arg1
8981 echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
8982 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
8983 if test "${am_cv_langinfo_codeset+set}" = set; then
8984 echo $ECHO_N "(cached) $ECHO_C" >&6
8986 cat >conftest.
$ac_ext <<_ACEOF
8989 cat confdefs.h
>>conftest.
$ac_ext
8990 cat >>conftest.
$ac_ext <<_ACEOF
8991 /* end confdefs.h. */
8992 #include <langinfo.h>
8996 char* cs = nl_langinfo(CODESET);
9001 rm -f conftest.
$ac_objext conftest
$ac_exeext
9002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9003 (eval $ac_link) 2>conftest.er1
9005 grep -v '^ *+' conftest.er1
>conftest.err
9007 cat conftest.err
>&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 (exit $ac_status); } &&
9010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015 (exit $ac_status); }; } &&
9016 { ac_try
='test -s conftest$ac_exeext'
9017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9021 (exit $ac_status); }; }; then
9022 am_cv_langinfo_codeset
=yes
9024 echo "$as_me: failed program was:" >&5
9025 sed 's/^/| /' conftest.
$ac_ext >&5
9027 am_cv_langinfo_codeset
=no
9029 rm -f conftest.err conftest.
$ac_objext \
9030 conftest
$ac_exeext conftest.
$ac_ext
9033 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
9034 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
9035 if test $am_cv_langinfo_codeset = yes; then
9037 cat >>confdefs.h
<<\_ACEOF
9038 #define HAVE_LANGINFO_CODESET 1
9043 if test $ac_cv_header_locale_h = yes; then
9045 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
9046 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
9047 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
9048 echo $ECHO_N "(cached) $ECHO_C" >&6
9050 cat >conftest.
$ac_ext <<_ACEOF
9053 cat confdefs.h
>>conftest.
$ac_ext
9054 cat >>conftest.
$ac_ext <<_ACEOF
9055 /* end confdefs.h. */
9065 rm -f conftest.
$ac_objext conftest
$ac_exeext
9066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9067 (eval $ac_link) 2>conftest.er1
9069 grep -v '^ *+' conftest.er1
>conftest.err
9071 cat conftest.err
>&5
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); } &&
9074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9079 (exit $ac_status); }; } &&
9080 { ac_try
='test -s conftest$ac_exeext'
9081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9085 (exit $ac_status); }; }; then
9086 am_cv_val_LC_MESSAGES
=yes
9088 echo "$as_me: failed program was:" >&5
9089 sed 's/^/| /' conftest.
$ac_ext >&5
9091 am_cv_val_LC_MESSAGES
=no
9093 rm -f conftest.err conftest.
$ac_objext \
9094 conftest
$ac_exeext conftest.
$ac_ext
9096 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
9097 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
9098 if test $am_cv_val_LC_MESSAGES = yes; then
9100 cat >>confdefs.h
<<\_ACEOF
9101 #define HAVE_LC_MESSAGES 1
9108 for ac_prog
in bison
9110 # Extract the first word of "$ac_prog", so it can be a program name with args.
9111 set dummy
$ac_prog; ac_word
=$2
9112 echo "$as_me:$LINENO: checking for $ac_word" >&5
9113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9114 if test "${ac_cv_prog_INTLBISON+set}" = set; then
9115 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 if test -n "$INTLBISON"; then
9118 ac_cv_prog_INTLBISON
="$INTLBISON" # Let the user override the test.
9120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9124 test -z "$as_dir" && as_dir
=.
9125 for ac_exec_ext
in '' $ac_executable_extensions; do
9126 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9127 ac_cv_prog_INTLBISON
="$ac_prog"
9128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9136 INTLBISON
=$ac_cv_prog_INTLBISON
9137 if test -n "$INTLBISON"; then
9138 echo "$as_me:$LINENO: result: $INTLBISON" >&5
9139 echo "${ECHO_T}$INTLBISON" >&6
9141 echo "$as_me:$LINENO: result: no" >&5
9142 echo "${ECHO_T}no" >&6
9145 test -n "$INTLBISON" && break
9148 if test -z "$INTLBISON"; then
9151 echo "$as_me:$LINENO: checking version of bison" >&5
9152 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
9153 ac_prog_version
=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
9154 case $ac_prog_version in
9155 '') ac_prog_version
="v. ?.??, bad"; ac_verc_fail
=yes;;
9156 1.2[6-9]* |
1.
[3-9][0-9]* |
[2-9].
*)
9157 ac_prog_version
="$ac_prog_version, ok"; ac_verc_fail
=no
;;
9158 *) ac_prog_version
="$ac_prog_version, bad"; ac_verc_fail
=yes;;
9160 echo "$as_me:$LINENO: result: $ac_prog_version" >&5
9161 echo "${ECHO_T}$ac_prog_version" >&6
9163 if test $ac_verc_fail = yes; then
9182 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
9183 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
9184 # Check whether --enable-nls or --disable-nls was given.
9185 if test "${enable_nls+set}" = set; then
9186 enableval
="$enable_nls"
9191 echo "$as_me:$LINENO: result: $USE_NLS" >&5
9192 echo "${ECHO_T}$USE_NLS" >&6
9197 BUILD_INCLUDED_LIBINTL
=no
9198 USE_INCLUDED_LIBINTL
=no
9204 if test "$USE_NLS" = "yes"; then
9205 gt_use_preinstalled_gnugettext
=no
9207 echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
9208 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
9210 # Check whether --with-included-gettext or --without-included-gettext was given.
9211 if test "${with_included_gettext+set}" = set; then
9212 withval
="$with_included_gettext"
9213 nls_cv_force_use_gnu_gettext
=$withval
9215 nls_cv_force_use_gnu_gettext
=no
9217 echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
9218 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
9220 nls_cv_use_gnu_gettext
="$nls_cv_force_use_gnu_gettext"
9221 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
9228 echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
9229 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
9230 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
9231 echo $ECHO_N "(cached) $ECHO_C" >&6
9233 cat >conftest.
$ac_ext <<_ACEOF
9236 cat confdefs.h
>>conftest.
$ac_ext
9237 cat >>conftest.
$ac_ext <<_ACEOF
9238 /* end confdefs.h. */
9239 #include <libintl.h>
9240 extern int _nl_msg_cat_cntr;
9241 extern int *_nl_domain_bindings;
9245 bindtextdomain ("", "");
9246 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
9251 rm -f conftest.
$ac_objext conftest
$ac_exeext
9252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9253 (eval $ac_link) 2>conftest.er1
9255 grep -v '^ *+' conftest.er1
>conftest.err
9257 cat conftest.err
>&5
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); } &&
9260 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265 (exit $ac_status); }; } &&
9266 { ac_try
='test -s conftest$ac_exeext'
9267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9271 (exit $ac_status); }; }; then
9272 gt_cv_func_gnugettext1_libc
=yes
9274 echo "$as_me: failed program was:" >&5
9275 sed 's/^/| /' conftest.
$ac_ext >&5
9277 gt_cv_func_gnugettext1_libc
=no
9279 rm -f conftest.err conftest.
$ac_objext \
9280 conftest
$ac_exeext conftest.
$ac_ext
9282 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
9283 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
9285 if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
9291 acl_save_prefix
="$prefix"
9292 prefix
="$acl_final_prefix"
9293 acl_save_exec_prefix
="$exec_prefix"
9294 exec_prefix
="$acl_final_exec_prefix"
9296 eval additional_includedir
=\"$includedir\"
9297 eval additional_libdir
=\"$libdir\"
9299 exec_prefix
="$acl_save_exec_prefix"
9300 prefix
="$acl_save_prefix"
9303 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
9304 if test "${with_libintl_prefix+set}" = set; then
9305 withval
="$with_libintl_prefix"
9307 if test "X$withval" = "Xno"; then
9310 if test "X$withval" = "X"; then
9312 acl_save_prefix
="$prefix"
9313 prefix
="$acl_final_prefix"
9314 acl_save_exec_prefix
="$exec_prefix"
9315 exec_prefix
="$acl_final_exec_prefix"
9317 eval additional_includedir
=\"$includedir\"
9318 eval additional_libdir
=\"$libdir\"
9320 exec_prefix
="$acl_save_exec_prefix"
9321 prefix
="$acl_save_prefix"
9324 additional_includedir
="$withval/include"
9325 additional_libdir
="$withval/lib"
9335 names_already_handled
=
9336 names_next_round
='intl '
9337 while test -n "$names_next_round"; do
9338 names_this_round
="$names_next_round"
9340 for name
in $names_this_round; do
9342 for n
in $names_already_handled; do
9343 if test "$n" = "$name"; then
9348 if test -z "$already_handled"; then
9349 names_already_handled
="$names_already_handled $name"
9350 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
9351 eval value
=\"\
$HAVE_LIB$uppername\"
9352 if test -n "$value"; then
9353 if test "$value" = yes; then
9354 eval value
=\"\
$LIB$uppername\"
9355 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
9356 eval value
=\"\
$LTLIB$uppername\"
9357 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
9366 if test $use_additional = yes; then
9367 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
9368 found_dir
="$additional_libdir"
9369 found_so
="$additional_libdir/lib$name.$shlibext"
9370 if test -f "$additional_libdir/lib$name.la"; then
9371 found_la
="$additional_libdir/lib$name.la"
9374 if test -f "$additional_libdir/lib$name.$libext"; then
9375 found_dir
="$additional_libdir"
9376 found_a
="$additional_libdir/lib$name.$libext"
9377 if test -f "$additional_libdir/lib$name.la"; then
9378 found_la
="$additional_libdir/lib$name.la"
9383 if test "X$found_dir" = "X"; then
9384 for x
in $LDFLAGS $LTLIBINTL; do
9386 acl_save_prefix
="$prefix"
9387 prefix
="$acl_final_prefix"
9388 acl_save_exec_prefix
="$exec_prefix"
9389 exec_prefix
="$acl_final_exec_prefix"
9391 exec_prefix
="$acl_save_exec_prefix"
9392 prefix
="$acl_save_prefix"
9396 dir
=`echo "X$x" | sed -e 's/^X-L//'`
9397 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
9399 found_so
="$dir/lib$name.$shlibext"
9400 if test -f "$dir/lib$name.la"; then
9401 found_la
="$dir/lib$name.la"
9404 if test -f "$dir/lib$name.$libext"; then
9406 found_a
="$dir/lib$name.$libext"
9407 if test -f "$dir/lib$name.la"; then
9408 found_la
="$dir/lib$name.la"
9414 if test "X$found_dir" != "X"; then
9419 if test "X$found_dir" != "X"; then
9420 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
9421 if test "X$found_so" != "X"; then
9422 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
9423 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9426 for x
in $ltrpathdirs; do
9427 if test "X$x" = "X$found_dir"; then
9432 if test -z "$haveit"; then
9433 ltrpathdirs
="$ltrpathdirs $found_dir"
9435 if test "$hardcode_direct" = yes; then
9436 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9438 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
9439 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9441 for x
in $rpathdirs; do
9442 if test "X$x" = "X$found_dir"; then
9447 if test -z "$haveit"; then
9448 rpathdirs
="$rpathdirs $found_dir"
9452 for x
in $LDFLAGS $LIBINTL; do
9454 acl_save_prefix
="$prefix"
9455 prefix
="$acl_final_prefix"
9456 acl_save_exec_prefix
="$exec_prefix"
9457 exec_prefix
="$acl_final_exec_prefix"
9459 exec_prefix
="$acl_save_exec_prefix"
9460 prefix
="$acl_save_prefix"
9462 if test "X$x" = "X-L$found_dir"; then
9467 if test -z "$haveit"; then
9468 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
9470 if test "$hardcode_minus_L" != no
; then
9471 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
9473 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
9479 if test "X$found_a" != "X"; then
9480 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
9482 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
9485 additional_includedir
=
9486 case "$found_dir" in
9488 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
9489 additional_includedir
="$basedir/include"
9492 if test "X$additional_includedir" != "X"; then
9493 if test "X$additional_includedir" != "X/usr/include"; then
9495 if test "X$additional_includedir" = "X/usr/local/include"; then
9496 if test -n "$GCC"; then
9498 linux
*) haveit
=yes;;
9502 if test -z "$haveit"; then
9503 for x
in $CPPFLAGS $INCINTL; do
9505 acl_save_prefix
="$prefix"
9506 prefix
="$acl_final_prefix"
9507 acl_save_exec_prefix
="$exec_prefix"
9508 exec_prefix
="$acl_final_exec_prefix"
9510 exec_prefix
="$acl_save_exec_prefix"
9511 prefix
="$acl_save_prefix"
9513 if test "X$x" = "X-I$additional_includedir"; then
9518 if test -z "$haveit"; then
9519 if test -d "$additional_includedir"; then
9520 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
9526 if test -n "$found_la"; then
9527 save_libdir
="$libdir"
9529 */* |
*\\*) .
"$found_la" ;;
9530 *) .
"./$found_la" ;;
9532 libdir
="$save_libdir"
9533 for dep
in $dependency_libs; do
9536 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
9537 if test "X$additional_libdir" != "X/usr/lib"; then
9539 if test "X$additional_libdir" = "X/usr/local/lib"; then
9540 if test -n "$GCC"; then
9542 linux
*) haveit
=yes;;
9546 if test -z "$haveit"; then
9548 for x
in $LDFLAGS $LIBINTL; do
9550 acl_save_prefix
="$prefix"
9551 prefix
="$acl_final_prefix"
9552 acl_save_exec_prefix
="$exec_prefix"
9553 exec_prefix
="$acl_final_exec_prefix"
9555 exec_prefix
="$acl_save_exec_prefix"
9556 prefix
="$acl_save_prefix"
9558 if test "X$x" = "X-L$additional_libdir"; then
9563 if test -z "$haveit"; then
9564 if test -d "$additional_libdir"; then
9565 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
9569 for x
in $LDFLAGS $LTLIBINTL; do
9571 acl_save_prefix
="$prefix"
9572 prefix
="$acl_final_prefix"
9573 acl_save_exec_prefix
="$exec_prefix"
9574 exec_prefix
="$acl_final_exec_prefix"
9576 exec_prefix
="$acl_save_exec_prefix"
9577 prefix
="$acl_save_prefix"
9579 if test "X$x" = "X-L$additional_libdir"; then
9584 if test -z "$haveit"; then
9585 if test -d "$additional_libdir"; then
9586 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
9593 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
9594 if test "$enable_rpath" != no
; then
9596 for x
in $rpathdirs; do
9597 if test "X$x" = "X$dir"; then
9602 if test -z "$haveit"; then
9603 rpathdirs
="$rpathdirs $dir"
9606 for x
in $ltrpathdirs; do
9607 if test "X$x" = "X$dir"; then
9612 if test -z "$haveit"; then
9613 ltrpathdirs
="$ltrpathdirs $dir"
9618 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
9621 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
9624 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
9625 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
9631 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
9632 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
9638 if test "X$rpathdirs" != "X"; then
9639 if test -n "$hardcode_libdir_separator"; then
9641 for found_dir
in $rpathdirs; do
9642 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
9644 acl_save_libdir
="$libdir"
9646 eval flag
=\"$hardcode_libdir_flag_spec\"
9647 libdir
="$acl_save_libdir"
9648 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
9650 for found_dir
in $rpathdirs; do
9651 acl_save_libdir
="$libdir"
9653 eval flag
=\"$hardcode_libdir_flag_spec\"
9654 libdir
="$acl_save_libdir"
9655 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
9659 if test "X$ltrpathdirs" != "X"; then
9660 for found_dir
in $ltrpathdirs; do
9661 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
9665 echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
9666 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
9667 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
9668 echo $ECHO_N "(cached) $ECHO_C" >&6
9670 gt_save_CPPFLAGS
="$CPPFLAGS"
9671 CPPFLAGS
="$CPPFLAGS $INCINTL"
9672 gt_save_LIBS
="$LIBS"
9673 LIBS
="$LIBS $LIBINTL"
9674 cat >conftest.
$ac_ext <<_ACEOF
9677 cat confdefs.h
>>conftest.
$ac_ext
9678 cat >>conftest.
$ac_ext <<_ACEOF
9679 /* end confdefs.h. */
9680 #include <libintl.h>
9681 extern int _nl_msg_cat_cntr;
9686 const char *_nl_expand_alias ();
9690 bindtextdomain ("", "");
9691 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
9696 rm -f conftest.
$ac_objext conftest
$ac_exeext
9697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9698 (eval $ac_link) 2>conftest.er1
9700 grep -v '^ *+' conftest.er1
>conftest.err
9702 cat conftest.err
>&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); } &&
9705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710 (exit $ac_status); }; } &&
9711 { ac_try
='test -s conftest$ac_exeext'
9712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9716 (exit $ac_status); }; }; then
9717 gt_cv_func_gnugettext1_libintl
=yes
9719 echo "$as_me: failed program was:" >&5
9720 sed 's/^/| /' conftest.
$ac_ext >&5
9722 gt_cv_func_gnugettext1_libintl
=no
9724 rm -f conftest.err conftest.
$ac_objext \
9725 conftest
$ac_exeext conftest.
$ac_ext
9726 if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
9727 LIBS
="$LIBS $LIBICONV"
9728 cat >conftest.
$ac_ext <<_ACEOF
9731 cat confdefs.h
>>conftest.
$ac_ext
9732 cat >>conftest.
$ac_ext <<_ACEOF
9733 /* end confdefs.h. */
9734 #include <libintl.h>
9735 extern int _nl_msg_cat_cntr;
9740 const char *_nl_expand_alias ();
9744 bindtextdomain ("", "");
9745 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
9750 rm -f conftest.
$ac_objext conftest
$ac_exeext
9751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9752 (eval $ac_link) 2>conftest.er1
9754 grep -v '^ *+' conftest.er1
>conftest.err
9756 cat conftest.err
>&5
9757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9758 (exit $ac_status); } &&
9759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); }; } &&
9765 { ac_try
='test -s conftest$ac_exeext'
9766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); }; }; then
9771 LIBINTL
="$LIBINTL $LIBICONV"
9772 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
9773 gt_cv_func_gnugettext1_libintl
=yes
9776 echo "$as_me: failed program was:" >&5
9777 sed 's/^/| /' conftest.
$ac_ext >&5
9780 rm -f conftest.err conftest.
$ac_objext \
9781 conftest
$ac_exeext conftest.
$ac_ext
9783 CPPFLAGS
="$gt_save_CPPFLAGS"
9784 LIBS
="$gt_save_LIBS"
9786 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
9787 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
9790 if test "$gt_cv_func_gnugettext1_libc" = "yes" \
9791 ||
{ test "$gt_cv_func_gnugettext1_libintl" = "yes" \
9792 && test "$PACKAGE" != gettext-runtime \
9793 && test "$PACKAGE" != gettext-tools
; }; then
9794 gt_use_preinstalled_gnugettext
=yes
9802 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
9803 nls_cv_use_gnu_gettext
=yes
9807 if test "$nls_cv_use_gnu_gettext" = "yes"; then
9808 BUILD_INCLUDED_LIBINTL
=yes
9809 USE_INCLUDED_LIBINTL
=yes
9810 LIBINTL
="\${top_builddir}/intl/libintl.a $LIBICONV"
9811 LTLIBINTL
="\${top_builddir}/intl/libintl.a $LTLIBICONV"
9812 LIBS
=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
9815 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9816 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
9821 if test "$gt_use_preinstalled_gnugettext" = "yes" \
9822 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
9824 cat >>confdefs.h
<<\_ACEOF
9825 #define ENABLE_NLS 1
9833 echo "$as_me:$LINENO: checking whether to use NLS" >&5
9834 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
9835 echo "$as_me:$LINENO: result: $USE_NLS" >&5
9836 echo "${ECHO_T}$USE_NLS" >&6
9837 if test "$USE_NLS" = "yes"; then
9838 echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
9839 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
9840 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9841 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
9842 gt_source
="external libintl"
9847 gt_source
="included intl directory"
9849 echo "$as_me:$LINENO: result: $gt_source" >&5
9850 echo "${ECHO_T}$gt_source" >&6
9853 if test "$USE_NLS" = "yes"; then
9855 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
9856 if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
9857 echo "$as_me:$LINENO: checking how to link with libintl" >&5
9858 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
9859 echo "$as_me:$LINENO: result: $LIBINTL" >&5
9860 echo "${ECHO_T}$LIBINTL" >&6
9862 for element
in $INCINTL; do
9864 for x
in $CPPFLAGS; do
9866 acl_save_prefix
="$prefix"
9867 prefix
="$acl_final_prefix"
9868 acl_save_exec_prefix
="$exec_prefix"
9869 exec_prefix
="$acl_final_exec_prefix"
9871 exec_prefix
="$acl_save_exec_prefix"
9872 prefix
="$acl_save_prefix"
9874 if test "X$x" = "X$element"; then
9879 if test -z "$haveit"; then
9880 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
9887 cat >>confdefs.h
<<\_ACEOF
9888 #define HAVE_GETTEXT 1
9892 cat >>confdefs.h
<<\_ACEOF
9893 #define HAVE_DCGETTEXT 1
9902 if test "$PACKAGE" = gettext-runtime ||
test "$PACKAGE" = gettext-tools
; then
9903 BUILD_INCLUDED_LIBINTL
=yes
9911 nls_cv_header_libgt
=
9922 if test "$USE_INCLUDED_LIBINTL" = yes; then
9923 INTLOBJS
="\$(GETTOBJS)"
9927 INTL_LIBTOOL_SUFFIX_PREFIX
=
9939 # Allow compilation without dselect
9941 # Check whether --with-dselect or --without-dselect was given.
9942 if test "${with_dselect+set}" = set; then
9943 withval
="$with_dselect"
9944 build_dselect
=$with_dselect
9950 if test "x$build_dselect" = "xyes"; then
9952 WITH_DSELECT_FALSE
='#'
9954 WITH_DSELECT_TRUE
='#'
9959 # Allow compilation without start-stop-daemon
9961 # Check whether --with-start-stop-daemon or --without-start-stop-daemon was given.
9962 if test "${with_start_stop_daemon+set}" = set; then
9963 withval
="$with_start_stop_daemon"
9964 build_start_stop_daemon
=$with_start_stop_daemon
9966 build_start_stop_daemon
=yes
9970 if test "x$build_start_stop_daemon" = "xyes"; then
9971 WITH_START_STOP_DAEMON_TRUE
=
9972 WITH_START_STOP_DAEMON_FALSE
='#'
9974 WITH_START_STOP_DAEMON_TRUE
='#'
9975 WITH_START_STOP_DAEMON_FALSE
=
9978 if test "x$build_start_stop_daemon" = "xyes"; then
9980 cat >>confdefs.h
<<\_ACEOF
9981 #define WITH_START_STOP_DAEMON 1
9985 cat >>confdefs.h
<<\_ACEOF
9986 #define WITH_START_STOP_DAEMON 0
9991 # Allow alternate admin directory
9992 admindir
="${localstatedir}/${PACKAGE_NAME}"
9994 # Check whether --with-admindir or --without-admindir was given.
9995 if test "${with_admindir+set}" = set; then
9996 withval
="$with_admindir"
9997 case "$with_admindir" in
9998 "") { { echo "$as_me:$LINENO: error: invalid admindir specified" >&5
9999 echo "$as_me: error: invalid admindir specified" >&2;}
10000 { (exit 1); exit 1; }; } ;;
10001 *) admindir
="$with_admindir" ;;
10007 # Checks for programs.
10009 ac_cpp
='$CPP $CPPFLAGS'
10010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10013 if test -n "$ac_tool_prefix"; then
10014 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10015 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
10016 echo "$as_me:$LINENO: checking for $ac_word" >&5
10017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10018 if test "${ac_cv_prog_CC+set}" = set; then
10019 echo $ECHO_N "(cached) $ECHO_C" >&6
10021 if test -n "$CC"; then
10022 ac_cv_prog_CC
="$CC" # Let the user override the test.
10024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10025 for as_dir
in $PATH
10028 test -z "$as_dir" && as_dir
=.
10029 for ac_exec_ext
in '' $ac_executable_extensions; do
10030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10031 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
10032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10041 if test -n "$CC"; then
10042 echo "$as_me:$LINENO: result: $CC" >&5
10043 echo "${ECHO_T}$CC" >&6
10045 echo "$as_me:$LINENO: result: no" >&5
10046 echo "${ECHO_T}no" >&6
10050 if test -z "$ac_cv_prog_CC"; then
10052 # Extract the first word of "gcc", so it can be a program name with args.
10053 set dummy gcc
; ac_word
=$2
10054 echo "$as_me:$LINENO: checking for $ac_word" >&5
10055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10056 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10057 echo $ECHO_N "(cached) $ECHO_C" >&6
10059 if test -n "$ac_ct_CC"; then
10060 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10063 for as_dir
in $PATH
10066 test -z "$as_dir" && as_dir
=.
10067 for ac_exec_ext
in '' $ac_executable_extensions; do
10068 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10069 ac_cv_prog_ac_ct_CC
="gcc"
10070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10078 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10079 if test -n "$ac_ct_CC"; then
10080 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10081 echo "${ECHO_T}$ac_ct_CC" >&6
10083 echo "$as_me:$LINENO: result: no" >&5
10084 echo "${ECHO_T}no" >&6
10089 CC
="$ac_cv_prog_CC"
10092 if test -z "$CC"; then
10093 if test -n "$ac_tool_prefix"; then
10094 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10095 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
10096 echo "$as_me:$LINENO: checking for $ac_word" >&5
10097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10098 if test "${ac_cv_prog_CC+set}" = set; then
10099 echo $ECHO_N "(cached) $ECHO_C" >&6
10101 if test -n "$CC"; then
10102 ac_cv_prog_CC
="$CC" # Let the user override the test.
10104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10105 for as_dir
in $PATH
10108 test -z "$as_dir" && as_dir
=.
10109 for ac_exec_ext
in '' $ac_executable_extensions; do
10110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10111 ac_cv_prog_CC
="${ac_tool_prefix}cc"
10112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10121 if test -n "$CC"; then
10122 echo "$as_me:$LINENO: result: $CC" >&5
10123 echo "${ECHO_T}$CC" >&6
10125 echo "$as_me:$LINENO: result: no" >&5
10126 echo "${ECHO_T}no" >&6
10130 if test -z "$ac_cv_prog_CC"; then
10132 # Extract the first word of "cc", so it can be a program name with args.
10133 set dummy cc
; ac_word
=$2
10134 echo "$as_me:$LINENO: checking for $ac_word" >&5
10135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10136 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10137 echo $ECHO_N "(cached) $ECHO_C" >&6
10139 if test -n "$ac_ct_CC"; then
10140 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10143 for as_dir
in $PATH
10146 test -z "$as_dir" && as_dir
=.
10147 for ac_exec_ext
in '' $ac_executable_extensions; do
10148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10149 ac_cv_prog_ac_ct_CC
="cc"
10150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10158 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10159 if test -n "$ac_ct_CC"; then
10160 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10161 echo "${ECHO_T}$ac_ct_CC" >&6
10163 echo "$as_me:$LINENO: result: no" >&5
10164 echo "${ECHO_T}no" >&6
10169 CC
="$ac_cv_prog_CC"
10173 if test -z "$CC"; then
10174 # Extract the first word of "cc", so it can be a program name with args.
10175 set dummy cc
; ac_word
=$2
10176 echo "$as_me:$LINENO: checking for $ac_word" >&5
10177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10178 if test "${ac_cv_prog_CC+set}" = set; then
10179 echo $ECHO_N "(cached) $ECHO_C" >&6
10181 if test -n "$CC"; then
10182 ac_cv_prog_CC
="$CC" # Let the user override the test.
10184 ac_prog_rejected
=no
10185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10186 for as_dir
in $PATH
10189 test -z "$as_dir" && as_dir
=.
10190 for ac_exec_ext
in '' $ac_executable_extensions; do
10191 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10192 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
10193 ac_prog_rejected
=yes
10197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10203 if test $ac_prog_rejected = yes; then
10204 # We found a bogon in the path, so make sure we never use it.
10205 set dummy
$ac_cv_prog_CC
10207 if test $# != 0; then
10208 # We chose a different compiler from the bogus one.
10209 # However, it has the same basename, so the bogon will be chosen
10210 # first if we set CC to just the basename; use the full file name.
10212 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
10218 if test -n "$CC"; then
10219 echo "$as_me:$LINENO: result: $CC" >&5
10220 echo "${ECHO_T}$CC" >&6
10222 echo "$as_me:$LINENO: result: no" >&5
10223 echo "${ECHO_T}no" >&6
10227 if test -z "$CC"; then
10228 if test -n "$ac_tool_prefix"; then
10231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10232 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10233 echo "$as_me:$LINENO: checking for $ac_word" >&5
10234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10235 if test "${ac_cv_prog_CC+set}" = set; then
10236 echo $ECHO_N "(cached) $ECHO_C" >&6
10238 if test -n "$CC"; then
10239 ac_cv_prog_CC
="$CC" # Let the user override the test.
10241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10242 for as_dir
in $PATH
10245 test -z "$as_dir" && as_dir
=.
10246 for ac_exec_ext
in '' $ac_executable_extensions; do
10247 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10248 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
10249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10258 if test -n "$CC"; then
10259 echo "$as_me:$LINENO: result: $CC" >&5
10260 echo "${ECHO_T}$CC" >&6
10262 echo "$as_me:$LINENO: result: no" >&5
10263 echo "${ECHO_T}no" >&6
10266 test -n "$CC" && break
10269 if test -z "$CC"; then
10273 # Extract the first word of "$ac_prog", so it can be a program name with args.
10274 set dummy
$ac_prog; ac_word
=$2
10275 echo "$as_me:$LINENO: checking for $ac_word" >&5
10276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10277 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10278 echo $ECHO_N "(cached) $ECHO_C" >&6
10280 if test -n "$ac_ct_CC"; then
10281 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
10283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10284 for as_dir
in $PATH
10287 test -z "$as_dir" && as_dir
=.
10288 for ac_exec_ext
in '' $ac_executable_extensions; do
10289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10290 ac_cv_prog_ac_ct_CC
="$ac_prog"
10291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10299 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
10300 if test -n "$ac_ct_CC"; then
10301 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
10302 echo "${ECHO_T}$ac_ct_CC" >&6
10304 echo "$as_me:$LINENO: result: no" >&5
10305 echo "${ECHO_T}no" >&6
10308 test -n "$ac_ct_CC" && break
10317 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
10318 See \`config.log' for more details." >&5
10319 echo "$as_me: error: no acceptable C compiler found in \$PATH
10320 See \`config.log' for more details." >&2;}
10321 { (exit 1); exit 1; }; }
10323 # Provide some information about the compiler.
10324 echo "$as_me:$LINENO:" \
10325 "checking for C compiler version" >&5
10326 ac_compiler
=`set X $ac_compile; echo $2`
10327 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10328 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10331 (exit $ac_status); }
10332 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10333 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); }
10337 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10338 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); }
10343 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
10344 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
10345 if test "${ac_cv_c_compiler_gnu+set}" = set; then
10346 echo $ECHO_N "(cached) $ECHO_C" >&6
10348 cat >conftest.
$ac_ext <<_ACEOF
10351 cat confdefs.h
>>conftest.
$ac_ext
10352 cat >>conftest.
$ac_ext <<_ACEOF
10353 /* end confdefs.h. */
10366 rm -f conftest.
$ac_objext
10367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10368 (eval $ac_compile) 2>conftest.er1
10370 grep -v '^ *+' conftest.er1
>conftest.err
10372 cat conftest.err
>&5
10373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10374 (exit $ac_status); } &&
10375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10377 (eval $ac_try) 2>&5
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); }; } &&
10381 { ac_try
='test -s conftest.$ac_objext'
10382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10383 (eval $ac_try) 2>&5
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); }; }; then
10387 ac_compiler_gnu
=yes
10389 echo "$as_me: failed program was:" >&5
10390 sed 's/^/| /' conftest.
$ac_ext >&5
10394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10395 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
10398 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
10399 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
10400 GCC
=`test $ac_compiler_gnu = yes && echo yes`
10401 ac_test_CFLAGS
=${CFLAGS+set}
10402 ac_save_CFLAGS
=$CFLAGS
10404 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
10405 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
10406 if test "${ac_cv_prog_cc_g+set}" = set; then
10407 echo $ECHO_N "(cached) $ECHO_C" >&6
10409 cat >conftest.
$ac_ext <<_ACEOF
10412 cat confdefs.h
>>conftest.
$ac_ext
10413 cat >>conftest.
$ac_ext <<_ACEOF
10414 /* end confdefs.h. */
10424 rm -f conftest.
$ac_objext
10425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10426 (eval $ac_compile) 2>conftest.er1
10428 grep -v '^ *+' conftest.er1
>conftest.err
10430 cat conftest.err
>&5
10431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10432 (exit $ac_status); } &&
10433 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10435 (eval $ac_try) 2>&5
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); }; } &&
10439 { ac_try
='test -s conftest.$ac_objext'
10440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10441 (eval $ac_try) 2>&5
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); }; }; then
10445 ac_cv_prog_cc_g
=yes
10447 echo "$as_me: failed program was:" >&5
10448 sed 's/^/| /' conftest.
$ac_ext >&5
10452 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10454 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
10455 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
10456 if test "$ac_test_CFLAGS" = set; then
10457 CFLAGS
=$ac_save_CFLAGS
10458 elif test $ac_cv_prog_cc_g = yes; then
10459 if test "$GCC" = yes; then
10465 if test "$GCC" = yes; then
10471 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
10472 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
10473 if test "${ac_cv_prog_cc_stdc+set}" = set; then
10474 echo $ECHO_N "(cached) $ECHO_C" >&6
10476 ac_cv_prog_cc_stdc
=no
10478 cat >conftest.
$ac_ext <<_ACEOF
10481 cat confdefs.h
>>conftest.
$ac_ext
10482 cat >>conftest.
$ac_ext <<_ACEOF
10483 /* end confdefs.h. */
10484 #include <stdarg.h>
10486 #include <sys/types.h>
10487 #include <sys/stat.h>
10488 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
10489 struct buf { int x; };
10490 FILE * (*rcsopen) (struct buf *, struct stat *, int);
10491 static char *e (p, i)
10497 static char *f (char * (*g) (char **, int), char **p, ...)
10502 s = g (p, va_arg (v,int));
10507 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
10508 function prototypes and stuff, but not '\xHH' hex character constants.
10509 These don't provoke an error unfortunately, instead are silently treated
10510 as 'x'. The following induces an error, until -std1 is added to get
10511 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
10512 array size at least. It's necessary to write '\x00'==0 to get something
10513 that's true only with -std1. */
10514 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
10516 int test (int i, double x);
10517 struct s1 {int (*f) (int a);};
10518 struct s2 {int (*f) (double a);};
10519 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
10525 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
10530 # Don't try gcc -ansi; that turns off useful extensions and
10531 # breaks some systems' header files.
10532 # AIX -qlanglvl=ansi
10533 # Ultrix and OSF/1 -std1
10534 # HP-UX 10.20 and later -Ae
10535 # HP-UX older versions -Aa -D_HPUX_SOURCE
10536 # SVR4 -Xc -D__EXTENSIONS__
10537 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
10539 CC
="$ac_save_CC $ac_arg"
10540 rm -f conftest.
$ac_objext
10541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10542 (eval $ac_compile) 2>conftest.er1
10544 grep -v '^ *+' conftest.er1
>conftest.err
10546 cat conftest.err
>&5
10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548 (exit $ac_status); } &&
10549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10551 (eval $ac_try) 2>&5
10553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10554 (exit $ac_status); }; } &&
10555 { ac_try
='test -s conftest.$ac_objext'
10556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10557 (eval $ac_try) 2>&5
10559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560 (exit $ac_status); }; }; then
10561 ac_cv_prog_cc_stdc
=$ac_arg
10564 echo "$as_me: failed program was:" >&5
10565 sed 's/^/| /' conftest.
$ac_ext >&5
10568 rm -f conftest.err conftest.
$ac_objext
10570 rm -f conftest.
$ac_ext conftest.
$ac_objext
10575 case "x$ac_cv_prog_cc_stdc" in
10577 echo "$as_me:$LINENO: result: none needed" >&5
10578 echo "${ECHO_T}none needed" >&6 ;;
10580 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
10581 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
10582 CC
="$CC $ac_cv_prog_cc_stdc" ;;
10585 # Some people use a C++ compiler to compile C. Since we use `exit',
10586 # in C++ we need to declare it. In case someone uses the same compiler
10587 # for both compiling C and C++ we need to have the C++ compiler decide
10588 # the declaration of exit, since it's the most demanding environment.
10589 cat >conftest.
$ac_ext <<_ACEOF
10590 #ifndef __cplusplus
10594 rm -f conftest.
$ac_objext
10595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10596 (eval $ac_compile) 2>conftest.er1
10598 grep -v '^ *+' conftest.er1
>conftest.err
10600 cat conftest.err
>&5
10601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); } &&
10603 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10605 (eval $ac_try) 2>&5
10607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10608 (exit $ac_status); }; } &&
10609 { ac_try
='test -s conftest.$ac_objext'
10610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10611 (eval $ac_try) 2>&5
10613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 (exit $ac_status); }; }; then
10615 for ac_declaration
in \
10617 'extern "C" void std::exit (int) throw (); using std::exit;' \
10618 'extern "C" void std::exit (int); using std::exit;' \
10619 'extern "C" void exit (int) throw ();' \
10620 'extern "C" void exit (int);' \
10623 cat >conftest.
$ac_ext <<_ACEOF
10626 cat confdefs.h
>>conftest.
$ac_ext
10627 cat >>conftest.
$ac_ext <<_ACEOF
10628 /* end confdefs.h. */
10630 #include <stdlib.h>
10639 rm -f conftest.
$ac_objext
10640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10641 (eval $ac_compile) 2>conftest.er1
10643 grep -v '^ *+' conftest.er1
>conftest.err
10645 cat conftest.err
>&5
10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 (exit $ac_status); } &&
10648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10650 (eval $ac_try) 2>&5
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); }; } &&
10654 { ac_try
='test -s conftest.$ac_objext'
10655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10656 (eval $ac_try) 2>&5
10658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10659 (exit $ac_status); }; }; then
10662 echo "$as_me: failed program was:" >&5
10663 sed 's/^/| /' conftest.
$ac_ext >&5
10667 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10668 cat >conftest.
$ac_ext <<_ACEOF
10671 cat confdefs.h
>>conftest.
$ac_ext
10672 cat >>conftest.
$ac_ext <<_ACEOF
10673 /* end confdefs.h. */
10683 rm -f conftest.
$ac_objext
10684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10685 (eval $ac_compile) 2>conftest.er1
10687 grep -v '^ *+' conftest.er1
>conftest.err
10689 cat conftest.err
>&5
10690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); } &&
10692 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10694 (eval $ac_try) 2>&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); }; } &&
10698 { ac_try
='test -s conftest.$ac_objext'
10699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10700 (eval $ac_try) 2>&5
10702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10703 (exit $ac_status); }; }; then
10706 echo "$as_me: failed program was:" >&5
10707 sed 's/^/| /' conftest.
$ac_ext >&5
10710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10713 if test -n "$ac_declaration"; then
10714 echo '#ifdef __cplusplus' >>confdefs.h
10715 echo $ac_declaration >>confdefs.h
10716 echo '#endif' >>confdefs.h
10720 echo "$as_me: failed program was:" >&5
10721 sed 's/^/| /' conftest.
$ac_ext >&5
10724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10726 ac_cpp
='$CPP $CPPFLAGS'
10727 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10728 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10729 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10731 depcc
="$CC" am_compiler_list
=
10733 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
10734 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
10735 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
10736 echo $ECHO_N "(cached) $ECHO_C" >&6
10738 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10739 # We make a subdir and do the tests there. Otherwise we can end up
10740 # making bogus files that we don't know about and never remove. For
10741 # instance it was reported that on HP-UX the gcc test will end up
10742 # making a dummy file named `D' -- because `-MD' means `put the output
10745 # Copy depcomp to subdir because otherwise we won't find it if we're
10746 # using a relative directory.
10747 cp "$am_depcomp" conftest.dir
10749 # We will build objects and dependencies in a subdirectory because
10750 # it helps to detect inapplicable dependency modes. For instance
10751 # both Tru64's cc and ICC support -MD to output dependencies as a
10752 # side effect of compilation, but ICC will put the dependencies in
10753 # the current directory while Tru64 will put them in the object
10757 am_cv_CC_dependencies_compiler_type
=none
10758 if test "$am_compiler_list" = ""; then
10759 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10761 for depmode
in $am_compiler_list; do
10762 # Setup a source with many dependencies, because some compilers
10763 # like to wrap large dependency lists on column 80 (with \), and
10764 # we should not choose a depcomp mode which is confused by this.
10766 # We need to recreate these files for each test, as the compiler may
10767 # overwrite some of them when testing with obscure command lines.
10768 # This happens at least with the AIX C compiler.
10770 for i
in 1 2 3 4 5 6; do
10771 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
10772 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10773 # Solaris 8's {/usr,}/bin/sh.
10774 touch sub
/conftst
$i.h
10776 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10780 # after this tag, mechanisms are not by side-effect, so they'll
10781 # only be used when explicitly requested
10782 if test "x$enable_dependency_tracking" = xyes
; then
10790 # We check with `-c' and `-o' for the sake of the "dashmstdout"
10791 # mode. It turns out that the SunPro C++ compiler does not properly
10792 # handle `-M -o', and we need to detect this.
10793 if depmode
=$depmode \
10794 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
10795 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
10796 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
10797 >/dev
/null
2>conftest.err
&&
10798 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
10799 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
10800 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
10801 # icc doesn't choke on unknown options, it will just issue warnings
10802 # or remarks (even with -Werror). So we grep stderr for any message
10803 # that says an option was ignored or not supported.
10804 # When given -MP, icc 7.0 and 7.1 complain thusly:
10805 # icc: Command line warning: ignoring option '-M'; no argument required
10806 # The diagnosis changed in icc 8.0:
10807 # icc: Command line remark: option '-MP' not supported
10808 if (grep 'ignoring option' conftest.err ||
10809 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
10810 am_cv_CC_dependencies_compiler_type
=$depmode
10817 rm -rf conftest.dir
10819 am_cv_CC_dependencies_compiler_type
=none
10823 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
10824 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
10825 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
10830 test "x$enable_dependency_tracking" != xno \
10831 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
10832 am__fastdepCC_TRUE
=
10833 am__fastdepCC_FALSE
='#'
10835 am__fastdepCC_TRUE
='#'
10836 am__fastdepCC_FALSE
=
10841 ac_cpp
='$CXXCPP $CPPFLAGS'
10842 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10843 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10844 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
10845 if test -n "$ac_tool_prefix"; then
10846 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10848 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10849 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10850 echo "$as_me:$LINENO: checking for $ac_word" >&5
10851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10852 if test "${ac_cv_prog_CXX+set}" = set; then
10853 echo $ECHO_N "(cached) $ECHO_C" >&6
10855 if test -n "$CXX"; then
10856 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
10858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10859 for as_dir
in $PATH
10862 test -z "$as_dir" && as_dir
=.
10863 for ac_exec_ext
in '' $ac_executable_extensions; do
10864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10865 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
10866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10874 CXX
=$ac_cv_prog_CXX
10875 if test -n "$CXX"; then
10876 echo "$as_me:$LINENO: result: $CXX" >&5
10877 echo "${ECHO_T}$CXX" >&6
10879 echo "$as_me:$LINENO: result: no" >&5
10880 echo "${ECHO_T}no" >&6
10883 test -n "$CXX" && break
10886 if test -z "$CXX"; then
10888 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
10890 # Extract the first word of "$ac_prog", so it can be a program name with args.
10891 set dummy
$ac_prog; ac_word
=$2
10892 echo "$as_me:$LINENO: checking for $ac_word" >&5
10893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10894 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
10895 echo $ECHO_N "(cached) $ECHO_C" >&6
10897 if test -n "$ac_ct_CXX"; then
10898 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
10900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10901 for as_dir
in $PATH
10904 test -z "$as_dir" && as_dir
=.
10905 for ac_exec_ext
in '' $ac_executable_extensions; do
10906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10907 ac_cv_prog_ac_ct_CXX
="$ac_prog"
10908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10916 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
10917 if test -n "$ac_ct_CXX"; then
10918 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
10919 echo "${ECHO_T}$ac_ct_CXX" >&6
10921 echo "$as_me:$LINENO: result: no" >&5
10922 echo "${ECHO_T}no" >&6
10925 test -n "$ac_ct_CXX" && break
10927 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
10933 # Provide some information about the compiler.
10934 echo "$as_me:$LINENO:" \
10935 "checking for C++ compiler version" >&5
10936 ac_compiler
=`set X $ac_compile; echo $2`
10937 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10938 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
10940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10941 (exit $ac_status); }
10942 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10943 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); }
10947 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10948 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
10950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10951 (exit $ac_status); }
10953 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
10954 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
10955 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
10956 echo $ECHO_N "(cached) $ECHO_C" >&6
10958 cat >conftest.
$ac_ext <<_ACEOF
10961 cat confdefs.h
>>conftest.
$ac_ext
10962 cat >>conftest.
$ac_ext <<_ACEOF
10963 /* end confdefs.h. */
10976 rm -f conftest.
$ac_objext
10977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10978 (eval $ac_compile) 2>conftest.er1
10980 grep -v '^ *+' conftest.er1
>conftest.err
10982 cat conftest.err
>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); } &&
10985 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10987 (eval $ac_try) 2>&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); }; } &&
10991 { ac_try
='test -s conftest.$ac_objext'
10992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10993 (eval $ac_try) 2>&5
10995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10996 (exit $ac_status); }; }; then
10997 ac_compiler_gnu
=yes
10999 echo "$as_me: failed program was:" >&5
11000 sed 's/^/| /' conftest.
$ac_ext >&5
11004 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11005 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
11008 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
11009 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
11010 GXX
=`test $ac_compiler_gnu = yes && echo yes`
11011 ac_test_CXXFLAGS
=${CXXFLAGS+set}
11012 ac_save_CXXFLAGS
=$CXXFLAGS
11014 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
11015 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
11016 if test "${ac_cv_prog_cxx_g+set}" = set; then
11017 echo $ECHO_N "(cached) $ECHO_C" >&6
11019 cat >conftest.
$ac_ext <<_ACEOF
11022 cat confdefs.h
>>conftest.
$ac_ext
11023 cat >>conftest.
$ac_ext <<_ACEOF
11024 /* end confdefs.h. */
11034 rm -f conftest.
$ac_objext
11035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11036 (eval $ac_compile) 2>conftest.er1
11038 grep -v '^ *+' conftest.er1
>conftest.err
11040 cat conftest.err
>&5
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); } &&
11043 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11045 (eval $ac_try) 2>&5
11047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11048 (exit $ac_status); }; } &&
11049 { ac_try
='test -s conftest.$ac_objext'
11050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11051 (eval $ac_try) 2>&5
11053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11054 (exit $ac_status); }; }; then
11055 ac_cv_prog_cxx_g
=yes
11057 echo "$as_me: failed program was:" >&5
11058 sed 's/^/| /' conftest.
$ac_ext >&5
11060 ac_cv_prog_cxx_g
=no
11062 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11064 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
11065 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
11066 if test "$ac_test_CXXFLAGS" = set; then
11067 CXXFLAGS
=$ac_save_CXXFLAGS
11068 elif test $ac_cv_prog_cxx_g = yes; then
11069 if test "$GXX" = yes; then
11075 if test "$GXX" = yes; then
11081 for ac_declaration
in \
11083 'extern "C" void std::exit (int) throw (); using std::exit;' \
11084 'extern "C" void std::exit (int); using std::exit;' \
11085 'extern "C" void exit (int) throw ();' \
11086 'extern "C" void exit (int);' \
11089 cat >conftest.
$ac_ext <<_ACEOF
11092 cat confdefs.h
>>conftest.
$ac_ext
11093 cat >>conftest.
$ac_ext <<_ACEOF
11094 /* end confdefs.h. */
11096 #include <stdlib.h>
11105 rm -f conftest.
$ac_objext
11106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11107 (eval $ac_compile) 2>conftest.er1
11109 grep -v '^ *+' conftest.er1
>conftest.err
11111 cat conftest.err
>&5
11112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11113 (exit $ac_status); } &&
11114 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11116 (eval $ac_try) 2>&5
11118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11119 (exit $ac_status); }; } &&
11120 { ac_try
='test -s conftest.$ac_objext'
11121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11122 (eval $ac_try) 2>&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); }; }; then
11128 echo "$as_me: failed program was:" >&5
11129 sed 's/^/| /' conftest.
$ac_ext >&5
11133 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11134 cat >conftest.
$ac_ext <<_ACEOF
11137 cat confdefs.h
>>conftest.
$ac_ext
11138 cat >>conftest.
$ac_ext <<_ACEOF
11139 /* end confdefs.h. */
11149 rm -f conftest.
$ac_objext
11150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11151 (eval $ac_compile) 2>conftest.er1
11153 grep -v '^ *+' conftest.er1
>conftest.err
11155 cat conftest.err
>&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); } &&
11158 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11160 (eval $ac_try) 2>&5
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); }; } &&
11164 { ac_try
='test -s conftest.$ac_objext'
11165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11166 (eval $ac_try) 2>&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); }; }; then
11172 echo "$as_me: failed program was:" >&5
11173 sed 's/^/| /' conftest.
$ac_ext >&5
11176 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11179 if test -n "$ac_declaration"; then
11180 echo '#ifdef __cplusplus' >>confdefs.h
11181 echo $ac_declaration >>confdefs.h
11182 echo '#endif' >>confdefs.h
11186 ac_cpp
='$CPP $CPPFLAGS'
11187 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11188 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11189 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11191 depcc
="$CXX" am_compiler_list
=
11193 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
11194 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
11195 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
11196 echo $ECHO_N "(cached) $ECHO_C" >&6
11198 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11199 # We make a subdir and do the tests there. Otherwise we can end up
11200 # making bogus files that we don't know about and never remove. For
11201 # instance it was reported that on HP-UX the gcc test will end up
11202 # making a dummy file named `D' -- because `-MD' means `put the output
11205 # Copy depcomp to subdir because otherwise we won't find it if we're
11206 # using a relative directory.
11207 cp "$am_depcomp" conftest.dir
11209 # We will build objects and dependencies in a subdirectory because
11210 # it helps to detect inapplicable dependency modes. For instance
11211 # both Tru64's cc and ICC support -MD to output dependencies as a
11212 # side effect of compilation, but ICC will put the dependencies in
11213 # the current directory while Tru64 will put them in the object
11217 am_cv_CXX_dependencies_compiler_type
=none
11218 if test "$am_compiler_list" = ""; then
11219 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11221 for depmode
in $am_compiler_list; do
11222 # Setup a source with many dependencies, because some compilers
11223 # like to wrap large dependency lists on column 80 (with \), and
11224 # we should not choose a depcomp mode which is confused by this.
11226 # We need to recreate these files for each test, as the compiler may
11227 # overwrite some of them when testing with obscure command lines.
11228 # This happens at least with the AIX C compiler.
11230 for i
in 1 2 3 4 5 6; do
11231 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
11232 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11233 # Solaris 8's {/usr,}/bin/sh.
11234 touch sub
/conftst
$i.h
11236 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11240 # after this tag, mechanisms are not by side-effect, so they'll
11241 # only be used when explicitly requested
11242 if test "x$enable_dependency_tracking" = xyes
; then
11250 # We check with `-c' and `-o' for the sake of the "dashmstdout"
11251 # mode. It turns out that the SunPro C++ compiler does not properly
11252 # handle `-M -o', and we need to detect this.
11253 if depmode
=$depmode \
11254 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
11255 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
11256 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
11257 >/dev
/null
2>conftest.err
&&
11258 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
11259 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
11260 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
11261 # icc doesn't choke on unknown options, it will just issue warnings
11262 # or remarks (even with -Werror). So we grep stderr for any message
11263 # that says an option was ignored or not supported.
11264 # When given -MP, icc 7.0 and 7.1 complain thusly:
11265 # icc: Command line warning: ignoring option '-M'; no argument required
11266 # The diagnosis changed in icc 8.0:
11267 # icc: Command line remark: option '-MP' not supported
11268 if (grep 'ignoring option' conftest.err ||
11269 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
11270 am_cv_CXX_dependencies_compiler_type
=$depmode
11277 rm -rf conftest.dir
11279 am_cv_CXX_dependencies_compiler_type
=none
11283 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
11284 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
11285 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
11290 test "x$enable_dependency_tracking" != xno \
11291 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
11292 am__fastdepCXX_TRUE
=
11293 am__fastdepCXX_FALSE
='#'
11295 am__fastdepCXX_TRUE
='#'
11296 am__fastdepCXX_FALSE
=
11300 if test -n "$ac_tool_prefix"; then
11301 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
11302 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
11303 echo "$as_me:$LINENO: checking for $ac_word" >&5
11304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11305 if test "${ac_cv_prog_RANLIB+set}" = set; then
11306 echo $ECHO_N "(cached) $ECHO_C" >&6
11308 if test -n "$RANLIB"; then
11309 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
11311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11312 for as_dir
in $PATH
11315 test -z "$as_dir" && as_dir
=.
11316 for ac_exec_ext
in '' $ac_executable_extensions; do
11317 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11318 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
11319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11327 RANLIB
=$ac_cv_prog_RANLIB
11328 if test -n "$RANLIB"; then
11329 echo "$as_me:$LINENO: result: $RANLIB" >&5
11330 echo "${ECHO_T}$RANLIB" >&6
11332 echo "$as_me:$LINENO: result: no" >&5
11333 echo "${ECHO_T}no" >&6
11337 if test -z "$ac_cv_prog_RANLIB"; then
11338 ac_ct_RANLIB
=$RANLIB
11339 # Extract the first word of "ranlib", so it can be a program name with args.
11340 set dummy ranlib
; ac_word
=$2
11341 echo "$as_me:$LINENO: checking for $ac_word" >&5
11342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11343 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
11344 echo $ECHO_N "(cached) $ECHO_C" >&6
11346 if test -n "$ac_ct_RANLIB"; then
11347 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
11349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11350 for as_dir
in $PATH
11353 test -z "$as_dir" && as_dir
=.
11354 for ac_exec_ext
in '' $ac_executable_extensions; do
11355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11356 ac_cv_prog_ac_ct_RANLIB
="ranlib"
11357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11363 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
11366 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
11367 if test -n "$ac_ct_RANLIB"; then
11368 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
11369 echo "${ECHO_T}$ac_ct_RANLIB" >&6
11371 echo "$as_me:$LINENO: result: no" >&5
11372 echo "${ECHO_T}no" >&6
11375 RANLIB
=$ac_ct_RANLIB
11377 RANLIB
="$ac_cv_prog_RANLIB"
11380 # Extract the first word of "perl", so it can be a program name with args.
11381 set dummy perl
; ac_word
=$2
11382 echo "$as_me:$LINENO: checking for $ac_word" >&5
11383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11384 if test "${ac_cv_path_PERL+set}" = set; then
11385 echo $ECHO_N "(cached) $ECHO_C" >&6
11389 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
11392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11393 for as_dir
in $PATH
11396 test -z "$as_dir" && as_dir
=.
11397 for ac_exec_ext
in '' $ac_executable_extensions; do
11398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11399 ac_cv_path_PERL
="$as_dir/$ac_word$ac_exec_ext"
11400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11406 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="/usr/bin/perl"
11410 PERL
=$ac_cv_path_PERL
11412 if test -n "$PERL"; then
11413 echo "$as_me:$LINENO: result: $PERL" >&5
11414 echo "${ECHO_T}$PERL" >&6
11416 echo "$as_me:$LINENO: result: no" >&5
11417 echo "${ECHO_T}no" >&6
11421 # Checks for operating system services and capabilities.
11422 # Check whether --enable-largefile or --disable-largefile was given.
11423 if test "${enable_largefile+set}" = set; then
11424 enableval
="$enable_largefile"
11427 if test "$enable_largefile" != no
; then
11429 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
11430 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
11431 if test "${ac_cv_sys_largefile_CC+set}" = set; then
11432 echo $ECHO_N "(cached) $ECHO_C" >&6
11434 ac_cv_sys_largefile_CC
=no
11435 if test "$GCC" != yes; then
11438 # IRIX 6.2 and later do not support large files by default,
11439 # so use the C compiler's -n32 option if that helps.
11440 cat >conftest.
$ac_ext <<_ACEOF
11443 cat confdefs.h
>>conftest.
$ac_ext
11444 cat >>conftest.
$ac_ext <<_ACEOF
11445 /* end confdefs.h. */
11446 #include <sys/types.h>
11447 /* Check that off_t can represent 2**63 - 1 correctly.
11448 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11449 since some C++ compilers masquerading as C compilers
11450 incorrectly reject 9223372036854775807. */
11451 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11452 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11453 && LARGE_OFF_T % 2147483647 == 1)
11463 rm -f conftest.
$ac_objext
11464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11465 (eval $ac_compile) 2>conftest.er1
11467 grep -v '^ *+' conftest.er1
>conftest.err
11469 cat conftest.err
>&5
11470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471 (exit $ac_status); } &&
11472 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11474 (eval $ac_try) 2>&5
11476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); }; } &&
11478 { ac_try
='test -s conftest.$ac_objext'
11479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11480 (eval $ac_try) 2>&5
11482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11483 (exit $ac_status); }; }; then
11486 echo "$as_me: failed program was:" >&5
11487 sed 's/^/| /' conftest.
$ac_ext >&5
11490 rm -f conftest.err conftest.
$ac_objext
11492 rm -f conftest.
$ac_objext
11493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11494 (eval $ac_compile) 2>conftest.er1
11496 grep -v '^ *+' conftest.er1
>conftest.err
11498 cat conftest.err
>&5
11499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11500 (exit $ac_status); } &&
11501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11503 (eval $ac_try) 2>&5
11505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11506 (exit $ac_status); }; } &&
11507 { ac_try
='test -s conftest.$ac_objext'
11508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11509 (eval $ac_try) 2>&5
11511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11512 (exit $ac_status); }; }; then
11513 ac_cv_sys_largefile_CC
=' -n32'; break
11515 echo "$as_me: failed program was:" >&5
11516 sed 's/^/| /' conftest.
$ac_ext >&5
11519 rm -f conftest.err conftest.
$ac_objext
11523 rm -f conftest.
$ac_ext
11526 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
11527 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
11528 if test "$ac_cv_sys_largefile_CC" != no
; then
11529 CC
=$CC$ac_cv_sys_largefile_CC
11532 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
11533 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
11534 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
11535 echo $ECHO_N "(cached) $ECHO_C" >&6
11538 ac_cv_sys_file_offset_bits
=no
11539 cat >conftest.
$ac_ext <<_ACEOF
11542 cat confdefs.h
>>conftest.
$ac_ext
11543 cat >>conftest.
$ac_ext <<_ACEOF
11544 /* end confdefs.h. */
11545 #include <sys/types.h>
11546 /* Check that off_t can represent 2**63 - 1 correctly.
11547 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11548 since some C++ compilers masquerading as C compilers
11549 incorrectly reject 9223372036854775807. */
11550 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11551 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11552 && LARGE_OFF_T % 2147483647 == 1)
11562 rm -f conftest.
$ac_objext
11563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11564 (eval $ac_compile) 2>conftest.er1
11566 grep -v '^ *+' conftest.er1
>conftest.err
11568 cat conftest.err
>&5
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); } &&
11571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11573 (eval $ac_try) 2>&5
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); }; } &&
11577 { ac_try
='test -s conftest.$ac_objext'
11578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11579 (eval $ac_try) 2>&5
11581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11582 (exit $ac_status); }; }; then
11585 echo "$as_me: failed program was:" >&5
11586 sed 's/^/| /' conftest.
$ac_ext >&5
11589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11590 cat >conftest.
$ac_ext <<_ACEOF
11593 cat confdefs.h
>>conftest.
$ac_ext
11594 cat >>conftest.
$ac_ext <<_ACEOF
11595 /* end confdefs.h. */
11596 #define _FILE_OFFSET_BITS 64
11597 #include <sys/types.h>
11598 /* Check that off_t can represent 2**63 - 1 correctly.
11599 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11600 since some C++ compilers masquerading as C compilers
11601 incorrectly reject 9223372036854775807. */
11602 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11603 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11604 && LARGE_OFF_T % 2147483647 == 1)
11614 rm -f conftest.
$ac_objext
11615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11616 (eval $ac_compile) 2>conftest.er1
11618 grep -v '^ *+' conftest.er1
>conftest.err
11620 cat conftest.err
>&5
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); } &&
11623 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11625 (eval $ac_try) 2>&5
11627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11628 (exit $ac_status); }; } &&
11629 { ac_try
='test -s conftest.$ac_objext'
11630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11631 (eval $ac_try) 2>&5
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); }; }; then
11635 ac_cv_sys_file_offset_bits
=64; break
11637 echo "$as_me: failed program was:" >&5
11638 sed 's/^/| /' conftest.
$ac_ext >&5
11641 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11645 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
11646 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
11647 if test "$ac_cv_sys_file_offset_bits" != no
; then
11649 cat >>confdefs.h
<<_ACEOF
11650 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
11655 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
11656 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
11657 if test "${ac_cv_sys_large_files+set}" = set; then
11658 echo $ECHO_N "(cached) $ECHO_C" >&6
11661 ac_cv_sys_large_files
=no
11662 cat >conftest.
$ac_ext <<_ACEOF
11665 cat confdefs.h
>>conftest.
$ac_ext
11666 cat >>conftest.
$ac_ext <<_ACEOF
11667 /* end confdefs.h. */
11668 #include <sys/types.h>
11669 /* Check that off_t can represent 2**63 - 1 correctly.
11670 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11671 since some C++ compilers masquerading as C compilers
11672 incorrectly reject 9223372036854775807. */
11673 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11674 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11675 && LARGE_OFF_T % 2147483647 == 1)
11685 rm -f conftest.
$ac_objext
11686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11687 (eval $ac_compile) 2>conftest.er1
11689 grep -v '^ *+' conftest.er1
>conftest.err
11691 cat conftest.err
>&5
11692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11693 (exit $ac_status); } &&
11694 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11696 (eval $ac_try) 2>&5
11698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); }; } &&
11700 { ac_try
='test -s conftest.$ac_objext'
11701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11702 (eval $ac_try) 2>&5
11704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705 (exit $ac_status); }; }; then
11708 echo "$as_me: failed program was:" >&5
11709 sed 's/^/| /' conftest.
$ac_ext >&5
11712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11713 cat >conftest.
$ac_ext <<_ACEOF
11716 cat confdefs.h
>>conftest.
$ac_ext
11717 cat >>conftest.
$ac_ext <<_ACEOF
11718 /* end confdefs.h. */
11719 #define _LARGE_FILES 1
11720 #include <sys/types.h>
11721 /* Check that off_t can represent 2**63 - 1 correctly.
11722 We can't simply define LARGE_OFF_T to be 9223372036854775807,
11723 since some C++ compilers masquerading as C compilers
11724 incorrectly reject 9223372036854775807. */
11725 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
11726 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
11727 && LARGE_OFF_T % 2147483647 == 1)
11737 rm -f conftest.
$ac_objext
11738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11739 (eval $ac_compile) 2>conftest.er1
11741 grep -v '^ *+' conftest.er1
>conftest.err
11743 cat conftest.err
>&5
11744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11745 (exit $ac_status); } &&
11746 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11748 (eval $ac_try) 2>&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); }; } &&
11752 { ac_try
='test -s conftest.$ac_objext'
11753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11754 (eval $ac_try) 2>&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); }; }; then
11758 ac_cv_sys_large_files
=1; break
11760 echo "$as_me: failed program was:" >&5
11761 sed 's/^/| /' conftest.
$ac_ext >&5
11764 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11768 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
11769 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
11770 if test "$ac_cv_sys_large_files" != no
; then
11772 cat >>confdefs.h
<<_ACEOF
11773 #define _LARGE_FILES $ac_cv_sys_large_files
11781 # Checks for libraries.
11783 # Check whether --with-zlib or --without-zlib was given.
11784 if test "${with_zlib+set}" = set; then
11785 withval
="$with_zlib"
11786 case "$with_zlib" in
11788 ZLIB_CFLAGS
="${ZLIB_CFLAGS:+$ZLIB_CFLAGS }-DWITH_ZLIB"
11789 ZLIB_LIBS
="${ZLIB_LIBS:+$ZLIB_LIBS }-lz"
11792 ZLIB_CFLAGS
="${ZLIB_CFLAGS:+$ZLIB_CFLAGS }-DWITH_ZLIB"
11793 ZLIB_LIBS
="${ZLIB_LIBS:+$ZLIB_LIBS }-Wl,-Bstatic -lz -Wl,-Bdynamic"
11799 # Check whether --with-bz2 or --without-bz2 was given.
11800 if test "${with_bz2+set}" = set; then
11801 withval
="$with_bz2"
11802 case "$with_bz2" in
11804 BZ2_CFLAGS
="${BZ2_CFLAGS:+$BZ2_CFLAGS }-DWITH_BZ2"
11805 BZ2_LIBS
="${BZ2_LIBS:+$BZ2_LIBS }-lbz2"
11808 BZ2_CFLAGS
="${BZ2_CFLAGS:+$BZ2_CFLAGS }-DWITH_BZ2"
11809 BZ2_LIBS
="${BZ2_LIBS:+$BZ2_LIBS }-Wl,-Bstatic -lbz2 -Wl,-Bdynamic"
11814 if test "x$build_dselect" = "xyes"; then
11815 echo "$as_me:$LINENO: checking for initscr in -lncurses" >&5
11816 echo $ECHO_N "checking for initscr in -lncurses... $ECHO_C" >&6
11817 if test "${ac_cv_lib_ncurses_initscr+set}" = set; then
11818 echo $ECHO_N "(cached) $ECHO_C" >&6
11820 ac_check_lib_save_LIBS
=$LIBS
11821 LIBS
="-lncurses $LIBS"
11822 cat >conftest.
$ac_ext <<_ACEOF
11825 cat confdefs.h
>>conftest.
$ac_ext
11826 cat >>conftest.
$ac_ext <<_ACEOF
11827 /* end confdefs.h. */
11829 /* Override any gcc2 internal prototype to avoid an error. */
11833 /* We use char because int might match the return type of a gcc2
11834 builtin and then its argument prototype would still apply. */
11844 rm -f conftest.
$ac_objext conftest
$ac_exeext
11845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11846 (eval $ac_link) 2>conftest.er1
11848 grep -v '^ *+' conftest.er1
>conftest.err
11850 cat conftest.err
>&5
11851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11852 (exit $ac_status); } &&
11853 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11855 (eval $ac_try) 2>&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); }; } &&
11859 { ac_try
='test -s conftest$ac_exeext'
11860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11861 (eval $ac_try) 2>&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); }; }; then
11865 ac_cv_lib_ncurses_initscr
=yes
11867 echo "$as_me: failed program was:" >&5
11868 sed 's/^/| /' conftest.
$ac_ext >&5
11870 ac_cv_lib_ncurses_initscr
=no
11872 rm -f conftest.err conftest.
$ac_objext \
11873 conftest
$ac_exeext conftest.
$ac_ext
11874 LIBS
=$ac_check_lib_save_LIBS
11876 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_initscr" >&5
11877 echo "${ECHO_T}$ac_cv_lib_ncurses_initscr" >&6
11878 if test $ac_cv_lib_ncurses_initscr = yes; then
11879 CURSES_LIBS
="${CURSES_LIBS:+$CURSES_LIBS }-lncurses"
11881 echo "$as_me:$LINENO: checking for initscr in -lcurses" >&5
11882 echo $ECHO_N "checking for initscr in -lcurses... $ECHO_C" >&6
11883 if test "${ac_cv_lib_curses_initscr+set}" = set; then
11884 echo $ECHO_N "(cached) $ECHO_C" >&6
11886 ac_check_lib_save_LIBS
=$LIBS
11887 LIBS
="-lcurses $LIBS"
11888 cat >conftest.
$ac_ext <<_ACEOF
11891 cat confdefs.h
>>conftest.
$ac_ext
11892 cat >>conftest.
$ac_ext <<_ACEOF
11893 /* end confdefs.h. */
11895 /* Override any gcc2 internal prototype to avoid an error. */
11899 /* We use char because int might match the return type of a gcc2
11900 builtin and then its argument prototype would still apply. */
11910 rm -f conftest.
$ac_objext conftest
$ac_exeext
11911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11912 (eval $ac_link) 2>conftest.er1
11914 grep -v '^ *+' conftest.er1
>conftest.err
11916 cat conftest.err
>&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); } &&
11919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11921 (eval $ac_try) 2>&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); }; } &&
11925 { ac_try
='test -s conftest$ac_exeext'
11926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11927 (eval $ac_try) 2>&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); }; }; then
11931 ac_cv_lib_curses_initscr
=yes
11933 echo "$as_me: failed program was:" >&5
11934 sed 's/^/| /' conftest.
$ac_ext >&5
11936 ac_cv_lib_curses_initscr
=no
11938 rm -f conftest.err conftest.
$ac_objext \
11939 conftest
$ac_exeext conftest.
$ac_ext
11940 LIBS
=$ac_check_lib_save_LIBS
11942 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_initscr" >&5
11943 echo "${ECHO_T}$ac_cv_lib_curses_initscr" >&6
11944 if test $ac_cv_lib_curses_initscr = yes; then
11945 CURSES_LIBS
="${CURSES_LIBS:+$CURSES_LIBS }-lcurses"
11947 { echo "$as_me:$LINENO: WARNING: no curses library found" >&5
11948 echo "$as_me: WARNING: no curses library found" >&2;}
11955 if test "x$build_start_stop_daemon" = "xyes"; then
11956 echo "$as_me:$LINENO: checking for ihash_create in -lihash" >&5
11957 echo $ECHO_N "checking for ihash_create in -lihash... $ECHO_C" >&6
11958 if test "${ac_cv_lib_ihash_ihash_create+set}" = set; then
11959 echo $ECHO_N "(cached) $ECHO_C" >&6
11961 ac_check_lib_save_LIBS
=$LIBS
11962 LIBS
="-lihash $LIBS"
11963 cat >conftest.
$ac_ext <<_ACEOF
11966 cat confdefs.h
>>conftest.
$ac_ext
11967 cat >>conftest.
$ac_ext <<_ACEOF
11968 /* end confdefs.h. */
11970 /* Override any gcc2 internal prototype to avoid an error. */
11974 /* We use char because int might match the return type of a gcc2
11975 builtin and then its argument prototype would still apply. */
11976 char ihash_create ();
11985 rm -f conftest.
$ac_objext conftest
$ac_exeext
11986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11987 (eval $ac_link) 2>conftest.er1
11989 grep -v '^ *+' conftest.er1
>conftest.err
11991 cat conftest.err
>&5
11992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11993 (exit $ac_status); } &&
11994 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11996 (eval $ac_try) 2>&5
11998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999 (exit $ac_status); }; } &&
12000 { ac_try
='test -s conftest$ac_exeext'
12001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12002 (eval $ac_try) 2>&5
12004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12005 (exit $ac_status); }; }; then
12006 ac_cv_lib_ihash_ihash_create
=yes
12008 echo "$as_me: failed program was:" >&5
12009 sed 's/^/| /' conftest.
$ac_ext >&5
12011 ac_cv_lib_ihash_ihash_create
=no
12013 rm -f conftest.err conftest.
$ac_objext \
12014 conftest
$ac_exeext conftest.
$ac_ext
12015 LIBS
=$ac_check_lib_save_LIBS
12017 echo "$as_me:$LINENO: result: $ac_cv_lib_ihash_ihash_create" >&5
12018 echo "${ECHO_T}$ac_cv_lib_ihash_ihash_create" >&6
12019 if test $ac_cv_lib_ihash_ihash_create = yes; then
12020 SSD_LIBS
="${SSD_LIBS:+$SSD_LIBS }-lihash"
12023 echo "$as_me:$LINENO: checking for proc_stat_list_create in -lps" >&5
12024 echo $ECHO_N "checking for proc_stat_list_create in -lps... $ECHO_C" >&6
12025 if test "${ac_cv_lib_ps_proc_stat_list_create+set}" = set; then
12026 echo $ECHO_N "(cached) $ECHO_C" >&6
12028 ac_check_lib_save_LIBS
=$LIBS
12030 cat >conftest.
$ac_ext <<_ACEOF
12033 cat confdefs.h
>>conftest.
$ac_ext
12034 cat >>conftest.
$ac_ext <<_ACEOF
12035 /* end confdefs.h. */
12037 /* Override any gcc2 internal prototype to avoid an error. */
12041 /* We use char because int might match the return type of a gcc2
12042 builtin and then its argument prototype would still apply. */
12043 char proc_stat_list_create ();
12047 proc_stat_list_create ();
12052 rm -f conftest.
$ac_objext conftest
$ac_exeext
12053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12054 (eval $ac_link) 2>conftest.er1
12056 grep -v '^ *+' conftest.er1
>conftest.err
12058 cat conftest.err
>&5
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); } &&
12061 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12063 (eval $ac_try) 2>&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); }; } &&
12067 { ac_try
='test -s conftest$ac_exeext'
12068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12069 (eval $ac_try) 2>&5
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }; }; then
12073 ac_cv_lib_ps_proc_stat_list_create
=yes
12075 echo "$as_me: failed program was:" >&5
12076 sed 's/^/| /' conftest.
$ac_ext >&5
12078 ac_cv_lib_ps_proc_stat_list_create
=no
12080 rm -f conftest.err conftest.
$ac_objext \
12081 conftest
$ac_exeext conftest.
$ac_ext
12082 LIBS
=$ac_check_lib_save_LIBS
12084 echo "$as_me:$LINENO: result: $ac_cv_lib_ps_proc_stat_list_create" >&5
12085 echo "${ECHO_T}$ac_cv_lib_ps_proc_stat_list_create" >&6
12086 if test $ac_cv_lib_ps_proc_stat_list_create = yes; then
12087 SSD_LIBS
="${SSD_LIBS:+$SSD_LIBS }-lps"
12090 echo "$as_me:$LINENO: checking for fmt_past_time in -lshouldbeinlibc" >&5
12091 echo $ECHO_N "checking for fmt_past_time in -lshouldbeinlibc... $ECHO_C" >&6
12092 if test "${ac_cv_lib_shouldbeinlibc_fmt_past_time+set}" = set; then
12093 echo $ECHO_N "(cached) $ECHO_C" >&6
12095 ac_check_lib_save_LIBS
=$LIBS
12096 LIBS
="-lshouldbeinlibc $LIBS"
12097 cat >conftest.
$ac_ext <<_ACEOF
12100 cat confdefs.h
>>conftest.
$ac_ext
12101 cat >>conftest.
$ac_ext <<_ACEOF
12102 /* end confdefs.h. */
12104 /* Override any gcc2 internal prototype to avoid an error. */
12108 /* We use char because int might match the return type of a gcc2
12109 builtin and then its argument prototype would still apply. */
12110 char fmt_past_time ();
12119 rm -f conftest.
$ac_objext conftest
$ac_exeext
12120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12121 (eval $ac_link) 2>conftest.er1
12123 grep -v '^ *+' conftest.er1
>conftest.err
12125 cat conftest.err
>&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); } &&
12128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12130 (eval $ac_try) 2>&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); }; } &&
12134 { ac_try
='test -s conftest$ac_exeext'
12135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12136 (eval $ac_try) 2>&5
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); }; }; then
12140 ac_cv_lib_shouldbeinlibc_fmt_past_time
=yes
12142 echo "$as_me: failed program was:" >&5
12143 sed 's/^/| /' conftest.
$ac_ext >&5
12145 ac_cv_lib_shouldbeinlibc_fmt_past_time
=no
12147 rm -f conftest.err conftest.
$ac_objext \
12148 conftest
$ac_exeext conftest.
$ac_ext
12149 LIBS
=$ac_check_lib_save_LIBS
12151 echo "$as_me:$LINENO: result: $ac_cv_lib_shouldbeinlibc_fmt_past_time" >&5
12152 echo "${ECHO_T}$ac_cv_lib_shouldbeinlibc_fmt_past_time" >&6
12153 if test $ac_cv_lib_shouldbeinlibc_fmt_past_time = yes; then
12154 SSD_LIBS
="${SSD_LIBS:+$SSD_LIBS }-lshouldbeinlibc"
12157 echo "$as_me:$LINENO: checking for kvm_openfiles in -lkvm" >&5
12158 echo $ECHO_N "checking for kvm_openfiles in -lkvm... $ECHO_C" >&6
12159 if test "${ac_cv_lib_kvm_kvm_openfiles+set}" = set; then
12160 echo $ECHO_N "(cached) $ECHO_C" >&6
12162 ac_check_lib_save_LIBS
=$LIBS
12164 cat >conftest.
$ac_ext <<_ACEOF
12167 cat confdefs.h
>>conftest.
$ac_ext
12168 cat >>conftest.
$ac_ext <<_ACEOF
12169 /* end confdefs.h. */
12171 /* Override any gcc2 internal prototype to avoid an error. */
12175 /* We use char because int might match the return type of a gcc2
12176 builtin and then its argument prototype would still apply. */
12177 char kvm_openfiles ();
12186 rm -f conftest.
$ac_objext conftest
$ac_exeext
12187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12188 (eval $ac_link) 2>conftest.er1
12190 grep -v '^ *+' conftest.er1
>conftest.err
12192 cat conftest.err
>&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); } &&
12195 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12197 (eval $ac_try) 2>&5
12199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12200 (exit $ac_status); }; } &&
12201 { ac_try
='test -s conftest$ac_exeext'
12202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12203 (eval $ac_try) 2>&5
12205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12206 (exit $ac_status); }; }; then
12207 ac_cv_lib_kvm_kvm_openfiles
=yes
12209 echo "$as_me: failed program was:" >&5
12210 sed 's/^/| /' conftest.
$ac_ext >&5
12212 ac_cv_lib_kvm_kvm_openfiles
=no
12214 rm -f conftest.err conftest.
$ac_objext \
12215 conftest
$ac_exeext conftest.
$ac_ext
12216 LIBS
=$ac_check_lib_save_LIBS
12218 echo "$as_me:$LINENO: result: $ac_cv_lib_kvm_kvm_openfiles" >&5
12219 echo "${ECHO_T}$ac_cv_lib_kvm_kvm_openfiles" >&6
12220 if test $ac_cv_lib_kvm_kvm_openfiles = yes; then
12221 SSD_LIBS
="${SSD_LIBS:+$SSD_LIBS }-lkvm"
12227 # Checks for header files.
12228 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
12229 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
12230 if test "${ac_cv_header_stdc+set}" = set; then
12231 echo $ECHO_N "(cached) $ECHO_C" >&6
12233 cat >conftest.
$ac_ext <<_ACEOF
12236 cat confdefs.h
>>conftest.
$ac_ext
12237 cat >>conftest.
$ac_ext <<_ACEOF
12238 /* end confdefs.h. */
12239 #include <stdlib.h>
12240 #include <stdarg.h>
12241 #include <string.h>
12252 rm -f conftest.
$ac_objext
12253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12254 (eval $ac_compile) 2>conftest.er1
12256 grep -v '^ *+' conftest.er1
>conftest.err
12258 cat conftest.err
>&5
12259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12260 (exit $ac_status); } &&
12261 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12263 (eval $ac_try) 2>&5
12265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12266 (exit $ac_status); }; } &&
12267 { ac_try
='test -s conftest.$ac_objext'
12268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12269 (eval $ac_try) 2>&5
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); }; }; then
12273 ac_cv_header_stdc
=yes
12275 echo "$as_me: failed program was:" >&5
12276 sed 's/^/| /' conftest.
$ac_ext >&5
12278 ac_cv_header_stdc
=no
12280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12282 if test $ac_cv_header_stdc = yes; then
12283 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12284 cat >conftest.
$ac_ext <<_ACEOF
12287 cat confdefs.h
>>conftest.
$ac_ext
12288 cat >>conftest.
$ac_ext <<_ACEOF
12289 /* end confdefs.h. */
12290 #include <string.h>
12293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12294 $EGREP "memchr" >/dev
/null
2>&1; then
12297 ac_cv_header_stdc
=no
12303 if test $ac_cv_header_stdc = yes; then
12304 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12305 cat >conftest.
$ac_ext <<_ACEOF
12308 cat confdefs.h
>>conftest.
$ac_ext
12309 cat >>conftest.
$ac_ext <<_ACEOF
12310 /* end confdefs.h. */
12311 #include <stdlib.h>
12314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12315 $EGREP "free" >/dev
/null
2>&1; then
12318 ac_cv_header_stdc
=no
12324 if test $ac_cv_header_stdc = yes; then
12325 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12326 if test "$cross_compiling" = yes; then
12329 cat >conftest.
$ac_ext <<_ACEOF
12332 cat confdefs.h
>>conftest.
$ac_ext
12333 cat >>conftest.
$ac_ext <<_ACEOF
12334 /* end confdefs.h. */
12336 #if ((' ' & 0x0FF) == 0x020)
12337 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12338 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12340 # define ISLOWER(c) \
12341 (('a' <= (c) && (c) <= 'i') \
12342 || ('j' <= (c) && (c) <= 'r') \
12343 || ('s' <= (c) && (c) <= 'z'))
12344 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12347 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12352 for (i = 0; i < 256; i++)
12353 if (XOR (islower (i), ISLOWER (i))
12354 || toupper (i) != TOUPPER (i))
12359 rm -f conftest
$ac_exeext
12360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12361 (eval $ac_link) 2>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; }; then
12372 echo "$as_me: program exited with status $ac_status" >&5
12373 echo "$as_me: failed program was:" >&5
12374 sed 's/^/| /' conftest.
$ac_ext >&5
12376 ( exit $ac_status )
12377 ac_cv_header_stdc
=no
12379 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12383 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
12384 echo "${ECHO_T}$ac_cv_header_stdc" >&6
12385 if test $ac_cv_header_stdc = yes; then
12387 cat >>confdefs.h
<<\_ACEOF
12388 #define STDC_HEADERS 1
12396 for ac_header
in error.h sys
/cdefs.h kvm.h
12398 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12400 echo "$as_me:$LINENO: checking for $ac_header" >&5
12401 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12403 echo $ECHO_N "(cached) $ECHO_C" >&6
12405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12406 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12408 # Is the header compilable?
12409 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12410 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12411 cat >conftest.
$ac_ext <<_ACEOF
12414 cat confdefs.h
>>conftest.
$ac_ext
12415 cat >>conftest.
$ac_ext <<_ACEOF
12416 /* end confdefs.h. */
12417 $ac_includes_default
12418 #include <$ac_header>
12420 rm -f conftest.
$ac_objext
12421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12422 (eval $ac_compile) 2>conftest.er1
12424 grep -v '^ *+' conftest.er1
>conftest.err
12426 cat conftest.err
>&5
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); } &&
12429 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12431 (eval $ac_try) 2>&5
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); }; } &&
12435 { ac_try
='test -s conftest.$ac_objext'
12436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12437 (eval $ac_try) 2>&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); }; }; then
12441 ac_header_compiler
=yes
12443 echo "$as_me: failed program was:" >&5
12444 sed 's/^/| /' conftest.
$ac_ext >&5
12446 ac_header_compiler
=no
12448 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12449 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12450 echo "${ECHO_T}$ac_header_compiler" >&6
12452 # Is the header present?
12453 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12454 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12455 cat >conftest.
$ac_ext <<_ACEOF
12458 cat confdefs.h
>>conftest.
$ac_ext
12459 cat >>conftest.
$ac_ext <<_ACEOF
12460 /* end confdefs.h. */
12461 #include <$ac_header>
12463 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12464 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12466 grep -v '^ *+' conftest.er1
>conftest.err
12468 cat conftest.err
>&5
12469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470 (exit $ac_status); } >/dev
/null
; then
12471 if test -s conftest.err
; then
12472 ac_cpp_err
=$ac_c_preproc_warn_flag
12473 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12480 if test -z "$ac_cpp_err"; then
12481 ac_header_preproc
=yes
12483 echo "$as_me: failed program was:" >&5
12484 sed 's/^/| /' conftest.
$ac_ext >&5
12486 ac_header_preproc
=no
12488 rm -f conftest.err conftest.
$ac_ext
12489 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12490 echo "${ECHO_T}$ac_header_preproc" >&6
12492 # So? What about this header?
12493 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12495 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12496 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12498 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12499 ac_header_preproc
=yes
12502 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12503 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12504 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12505 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12506 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12507 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12508 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12509 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12510 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12511 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12512 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12513 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12516 ## ------------------------------------------- ##
12517 ## Report this to debian-dpkg@lists.debian.org ##
12518 ## ------------------------------------------- ##
12521 sed "s/^/$as_me: WARNING: /" >&2
12524 echo "$as_me:$LINENO: checking for $ac_header" >&5
12525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12527 echo $ECHO_N "(cached) $ECHO_C" >&6
12529 eval "$as_ac_Header=\$ac_header_preproc"
12531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12535 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12536 cat >>confdefs.h
<<_ACEOF
12537 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12544 echo "$as_me:$LINENO: checking whether TIOCNOTTY is defined in sys/ioctl.h" >&5
12545 echo $ECHO_N "checking whether TIOCNOTTY is defined in sys/ioctl.h... $ECHO_C" >&6
12546 if test "${dpkg_cv_define_TIOCNOTTY+set}" = set; then
12547 echo $ECHO_N "(cached) $ECHO_C" >&6
12549 cat >conftest.
$ac_ext <<_ACEOF
12552 cat confdefs.h
>>conftest.
$ac_ext
12553 cat >>conftest.
$ac_ext <<_ACEOF
12554 /* end confdefs.h. */
12555 #include <sys/ioctl.h>
12566 rm -f conftest.
$ac_objext
12567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12568 (eval $ac_compile) 2>conftest.er1
12570 grep -v '^ *+' conftest.er1
>conftest.err
12572 cat conftest.err
>&5
12573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12574 (exit $ac_status); } &&
12575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12577 (eval $ac_try) 2>&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); }; } &&
12581 { ac_try
='test -s conftest.$ac_objext'
12582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12583 (eval $ac_try) 2>&5
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); }; }; then
12587 dpkg_cv_define_TIOCNOTTY
=yes
12589 echo "$as_me: failed program was:" >&5
12590 sed 's/^/| /' conftest.
$ac_ext >&5
12592 dpkg_cv_define_TIOCNOTTY
=no
12594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12596 echo "$as_me:$LINENO: result: $dpkg_cv_define_TIOCNOTTY" >&5
12597 echo "${ECHO_T}$dpkg_cv_define_TIOCNOTTY" >&6
12598 if test "x$dpkg_cv_define" = "xyes"; then
12600 cat >>confdefs.h
<<\_ACEOF
12601 #define HAVE_TIOCNOTTY 1
12605 cat >>confdefs.h
<<\_ACEOF
12606 #define HAVE_TIOCNOTTY 0
12612 # Checks for typedefs, structures, and compiler characteristics.
12613 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
12614 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
12615 if test "${ac_cv_c_bigendian+set}" = set; then
12616 echo $ECHO_N "(cached) $ECHO_C" >&6
12618 # See if sys/param.h defines the BYTE_ORDER macro.
12619 cat >conftest.
$ac_ext <<_ACEOF
12622 cat confdefs.h
>>conftest.
$ac_ext
12623 cat >>conftest.
$ac_ext <<_ACEOF
12624 /* end confdefs.h. */
12625 #include <sys/types.h>
12626 #include <sys/param.h>
12631 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
12632 bogus endian macros
12639 rm -f conftest.
$ac_objext
12640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12641 (eval $ac_compile) 2>conftest.er1
12643 grep -v '^ *+' conftest.er1
>conftest.err
12645 cat conftest.err
>&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); } &&
12648 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12650 (eval $ac_try) 2>&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); }; } &&
12654 { ac_try
='test -s conftest.$ac_objext'
12655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12656 (eval $ac_try) 2>&5
12658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); }; }; then
12660 # It does; now see whether it defined to BIG_ENDIAN or not.
12661 cat >conftest.
$ac_ext <<_ACEOF
12664 cat confdefs.h
>>conftest.
$ac_ext
12665 cat >>conftest.
$ac_ext <<_ACEOF
12666 /* end confdefs.h. */
12667 #include <sys/types.h>
12668 #include <sys/param.h>
12673 #if BYTE_ORDER != BIG_ENDIAN
12681 rm -f conftest.
$ac_objext
12682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12683 (eval $ac_compile) 2>conftest.er1
12685 grep -v '^ *+' conftest.er1
>conftest.err
12687 cat conftest.err
>&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); } &&
12690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12692 (eval $ac_try) 2>&5
12694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12695 (exit $ac_status); }; } &&
12696 { ac_try
='test -s conftest.$ac_objext'
12697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12698 (eval $ac_try) 2>&5
12700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12701 (exit $ac_status); }; }; then
12702 ac_cv_c_bigendian
=yes
12704 echo "$as_me: failed program was:" >&5
12705 sed 's/^/| /' conftest.
$ac_ext >&5
12707 ac_cv_c_bigendian
=no
12709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12711 echo "$as_me: failed program was:" >&5
12712 sed 's/^/| /' conftest.
$ac_ext >&5
12714 # It does not; compile a test program.
12715 if test "$cross_compiling" = yes; then
12716 # try to guess the endianness by grepping values into an object file
12717 ac_cv_c_bigendian
=unknown
12718 cat >conftest.
$ac_ext <<_ACEOF
12721 cat confdefs.h
>>conftest.
$ac_ext
12722 cat >>conftest.
$ac_ext <<_ACEOF
12723 /* end confdefs.h. */
12724 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12725 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12726 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
12727 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12728 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12729 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
12733 _ascii (); _ebcdic ();
12738 rm -f conftest.
$ac_objext
12739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12740 (eval $ac_compile) 2>conftest.er1
12742 grep -v '^ *+' conftest.er1
>conftest.err
12744 cat conftest.err
>&5
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); } &&
12747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12749 (eval $ac_try) 2>&5
12751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12752 (exit $ac_status); }; } &&
12753 { ac_try
='test -s conftest.$ac_objext'
12754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12755 (eval $ac_try) 2>&5
12757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12758 (exit $ac_status); }; }; then
12759 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
12760 ac_cv_c_bigendian
=yes
12762 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
12763 if test "$ac_cv_c_bigendian" = unknown
; then
12764 ac_cv_c_bigendian
=no
12766 # finding both strings is unlikely to happen, but who knows?
12767 ac_cv_c_bigendian
=unknown
12771 echo "$as_me: failed program was:" >&5
12772 sed 's/^/| /' conftest.
$ac_ext >&5
12775 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12777 cat >conftest.
$ac_ext <<_ACEOF
12780 cat confdefs.h
>>conftest.
$ac_ext
12781 cat >>conftest.
$ac_ext <<_ACEOF
12782 /* end confdefs.h. */
12786 /* Are we little or big endian? From Harbison&Steele. */
12790 char c[sizeof (long)];
12793 exit (u.c[sizeof (long) - 1] == 1);
12796 rm -f conftest
$ac_exeext
12797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12798 (eval $ac_link) 2>&5
12800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12803 (eval $ac_try) 2>&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); }; }; then
12807 ac_cv_c_bigendian
=no
12809 echo "$as_me: program exited with status $ac_status" >&5
12810 echo "$as_me: failed program was:" >&5
12811 sed 's/^/| /' conftest.
$ac_ext >&5
12813 ( exit $ac_status )
12814 ac_cv_c_bigendian
=yes
12816 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12819 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12821 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
12822 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
12823 case $ac_cv_c_bigendian in
12826 cat >>confdefs.h
<<\_ACEOF
12827 #define WORDS_BIGENDIAN 1
12833 { { echo "$as_me:$LINENO: error: unknown endianness
12834 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
12835 echo "$as_me: error: unknown endianness
12836 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
12837 { (exit 1); exit 1; }; } ;;
12840 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12841 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
12842 if test "${ac_cv_c_const+set}" = set; then
12843 echo $ECHO_N "(cached) $ECHO_C" >&6
12845 cat >conftest.
$ac_ext <<_ACEOF
12848 cat confdefs.h
>>conftest.
$ac_ext
12849 cat >>conftest.
$ac_ext <<_ACEOF
12850 /* end confdefs.h. */
12855 /* FIXME: Include the comments suggested by Paul. */
12856 #ifndef __cplusplus
12857 /* Ultrix mips cc rejects this. */
12858 typedef int charset[2];
12860 /* SunOS 4.1.1 cc rejects this. */
12861 char const *const *ccp;
12863 /* NEC SVR4.0.2 mips cc rejects this. */
12864 struct point {int x, y;};
12865 static struct point const zero = {0,0};
12866 /* AIX XL C 1.02.0.0 rejects this.
12867 It does not let you subtract one const X* pointer from another in
12868 an arm of an if-expression whose if-part is not a constant
12870 const char *g = "string";
12871 ccp = &g + (g ? g-g : 0);
12872 /* HPUX 7.0 cc rejects these. */
12875 ccp = (char const *const *) p;
12876 { /* SCO 3.2v4 cc rejects this. */
12878 char const *s = 0 ? (char *) 0 : (char const *) 0;
12882 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12883 int x[] = {25, 17};
12884 const int *foo = &x[0];
12887 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12888 typedef const int *iptr;
12892 { /* AIX XL C 1.02.0.0 rejects this saying
12893 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12894 struct s { int j; const int *ap[3]; };
12895 struct s *b; b->j = 5;
12897 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12898 const int foo = 10;
12906 rm -f conftest.
$ac_objext
12907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12908 (eval $ac_compile) 2>conftest.er1
12910 grep -v '^ *+' conftest.er1
>conftest.err
12912 cat conftest.err
>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); } &&
12915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12917 (eval $ac_try) 2>&5
12919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12920 (exit $ac_status); }; } &&
12921 { ac_try
='test -s conftest.$ac_objext'
12922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12923 (eval $ac_try) 2>&5
12925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12926 (exit $ac_status); }; }; then
12929 echo "$as_me: failed program was:" >&5
12930 sed 's/^/| /' conftest.
$ac_ext >&5
12934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12936 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12937 echo "${ECHO_T}$ac_cv_c_const" >&6
12938 if test $ac_cv_c_const = no
; then
12940 cat >>confdefs.h
<<\_ACEOF
12946 echo "$as_me:$LINENO: checking for inline" >&5
12947 echo $ECHO_N "checking for inline... $ECHO_C" >&6
12948 if test "${ac_cv_c_inline+set}" = set; then
12949 echo $ECHO_N "(cached) $ECHO_C" >&6
12952 for ac_kw
in inline __inline__ __inline
; do
12953 cat >conftest.
$ac_ext <<_ACEOF
12956 cat confdefs.h
>>conftest.
$ac_ext
12957 cat >>conftest.
$ac_ext <<_ACEOF
12958 /* end confdefs.h. */
12959 #ifndef __cplusplus
12961 static $ac_kw foo_t static_foo () {return 0; }
12962 $ac_kw foo_t foo () {return 0; }
12966 rm -f conftest.
$ac_objext
12967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12968 (eval $ac_compile) 2>conftest.er1
12970 grep -v '^ *+' conftest.er1
>conftest.err
12972 cat conftest.err
>&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); } &&
12975 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12977 (eval $ac_try) 2>&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); }; } &&
12981 { ac_try
='test -s conftest.$ac_objext'
12982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12983 (eval $ac_try) 2>&5
12985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12986 (exit $ac_status); }; }; then
12987 ac_cv_c_inline
=$ac_kw; break
12989 echo "$as_me: failed program was:" >&5
12990 sed 's/^/| /' conftest.
$ac_ext >&5
12993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12997 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
12998 echo "${ECHO_T}$ac_cv_c_inline" >&6
13001 case $ac_cv_c_inline in
13004 case $ac_cv_c_inline in
13006 *) ac_val
=$ac_cv_c_inline;;
13008 cat >>confdefs.h
<<_ACEOF
13009 #ifndef __cplusplus
13010 #define inline $ac_val
13016 echo "$as_me:$LINENO: checking for working volatile" >&5
13017 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
13018 if test "${ac_cv_c_volatile+set}" = set; then
13019 echo $ECHO_N "(cached) $ECHO_C" >&6
13021 cat >conftest.
$ac_ext <<_ACEOF
13024 cat confdefs.h
>>conftest.
$ac_ext
13025 cat >>conftest.
$ac_ext <<_ACEOF
13026 /* end confdefs.h. */
13038 rm -f conftest.
$ac_objext
13039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13040 (eval $ac_compile) 2>conftest.er1
13042 grep -v '^ *+' conftest.er1
>conftest.err
13044 cat conftest.err
>&5
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); } &&
13047 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13049 (eval $ac_try) 2>&5
13051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052 (exit $ac_status); }; } &&
13053 { ac_try
='test -s conftest.$ac_objext'
13054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13055 (eval $ac_try) 2>&5
13057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058 (exit $ac_status); }; }; then
13059 ac_cv_c_volatile
=yes
13061 echo "$as_me: failed program was:" >&5
13062 sed 's/^/| /' conftest.
$ac_ext >&5
13064 ac_cv_c_volatile
=no
13066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13068 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
13069 echo "${ECHO_T}$ac_cv_c_volatile" >&6
13070 if test $ac_cv_c_volatile = no
; then
13072 cat >>confdefs.h
<<\_ACEOF
13078 echo "$as_me:$LINENO: checking whether compiler supports C99 features" >&5
13079 echo $ECHO_N "checking whether compiler supports C99 features... $ECHO_C" >&6
13080 if test "${dpkg_cv_c99+set}" = set; then
13081 echo $ECHO_N "(cached) $ECHO_C" >&6
13083 cat >conftest.
$ac_ext <<_ACEOF
13086 cat confdefs.h
>>conftest.
$ac_ext
13087 cat >>conftest.
$ac_ext <<_ACEOF
13088 /* end confdefs.h. */
13091 #include <stdbool.h>
13092 #include <inttypes.h>
13095 /* Variadic macro arguments */
13096 #define variadic_macro(foo, ...) printf(foo, __VA_ARGS__)
13102 /* Compound initialisers */
13103 struct { int a, b; } foo = { .a = 1, .b = 2 };
13108 /* Specific size type */
13111 /* C99-style for-loop declarations */
13112 for (int i = 0; i < 10; i++)
13115 /* Magic __func__ variable */
13116 printf("%s", __func__);
13122 rm -f conftest.
$ac_objext
13123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13124 (eval $ac_compile) 2>conftest.er1
13126 grep -v '^ *+' conftest.er1
>conftest.err
13128 cat conftest.err
>&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); } &&
13131 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13133 (eval $ac_try) 2>&5
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); }; } &&
13137 { ac_try
='test -s conftest.$ac_objext'
13138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13139 (eval $ac_try) 2>&5
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); }; }; then
13145 echo "$as_me: failed program was:" >&5
13146 sed 's/^/| /' conftest.
$ac_ext >&5
13150 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13152 echo "$as_me:$LINENO: result: $dpkg_cv_c99" >&5
13153 echo "${ECHO_T}$dpkg_cv_c99" >&6
13154 if test "x$dpkg_cv_c99" = "xyes"; then
13156 cat >>confdefs.h
<<\_ACEOF
13161 echo "$as_me:$LINENO: checking what argument makes compiler support C99 features" >&5
13162 echo $ECHO_N "checking what argument makes compiler support C99 features... $ECHO_C" >&6
13163 if test "${dpkg_cv_c99_arg+set}" = set; then
13164 echo $ECHO_N "(cached) $ECHO_C" >&6
13166 dpkg_cv_c99_arg
=none
13168 for arg
in "-std=gnu99" "-std=c99" "-c99"; do
13169 CC
="$dpkg_save_CC $arg"
13170 cat >conftest.
$ac_ext <<_ACEOF
13173 cat confdefs.h
>>conftest.
$ac_ext
13174 cat >>conftest.
$ac_ext <<_ACEOF
13175 /* end confdefs.h. */
13178 #include <stdbool.h>
13179 #include <inttypes.h>
13182 /* Variadic macro arguments */
13183 #define variadic_macro(foo, ...) printf(foo, __VA_ARGS__)
13189 /* Compound initialisers */
13190 struct { int a, b; } foo = { .a = 1, .b = 2 };
13195 /* Specific size type */
13198 /* C99-style for-loop declarations */
13199 for (int i = 0; i < 10; i++)
13202 /* Magic __func__ variable */
13203 printf("%s", __func__);
13209 rm -f conftest.
$ac_objext
13210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13211 (eval $ac_compile) 2>conftest.er1
13213 grep -v '^ *+' conftest.er1
>conftest.err
13215 cat conftest.err
>&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } &&
13218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13220 (eval $ac_try) 2>&5
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); }; } &&
13224 { ac_try
='test -s conftest.$ac_objext'
13225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13226 (eval $ac_try) 2>&5
13228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13229 (exit $ac_status); }; }; then
13230 dpkg_arg_worked
=yes
13232 echo "$as_me: failed program was:" >&5
13233 sed 's/^/| /' conftest.
$ac_ext >&5
13237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13240 if test "x$dpkg_arg_worked" = "xyes"; then
13241 dpkg_cv_c99_arg
="$arg"; break
13246 echo "$as_me:$LINENO: result: $dpkg_cv_c99_arg" >&5
13247 echo "${ECHO_T}$dpkg_cv_c99_arg" >&6
13248 if test "x$dpkg_cv_c99_arg" != "xnone"; then
13249 CC
="$CC $dpkg_cv_c99_arg"
13250 cat >>confdefs.h
<<\_ACEOF
13258 echo "$as_me:$LINENO: checking for mode_t" >&5
13259 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
13260 if test "${ac_cv_type_mode_t+set}" = set; then
13261 echo $ECHO_N "(cached) $ECHO_C" >&6
13263 cat >conftest.
$ac_ext <<_ACEOF
13266 cat confdefs.h
>>conftest.
$ac_ext
13267 cat >>conftest.
$ac_ext <<_ACEOF
13268 /* end confdefs.h. */
13269 $ac_includes_default
13275 if (sizeof (mode_t))
13281 rm -f conftest.
$ac_objext
13282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13283 (eval $ac_compile) 2>conftest.er1
13285 grep -v '^ *+' conftest.er1
>conftest.err
13287 cat conftest.err
>&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); } &&
13290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13292 (eval $ac_try) 2>&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); }; } &&
13296 { ac_try
='test -s conftest.$ac_objext'
13297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13298 (eval $ac_try) 2>&5
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); }; }; then
13302 ac_cv_type_mode_t
=yes
13304 echo "$as_me: failed program was:" >&5
13305 sed 's/^/| /' conftest.
$ac_ext >&5
13307 ac_cv_type_mode_t
=no
13309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13311 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
13312 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
13313 if test $ac_cv_type_mode_t = yes; then
13317 cat >>confdefs.h
<<_ACEOF
13323 echo "$as_me:$LINENO: checking for pid_t" >&5
13324 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
13325 if test "${ac_cv_type_pid_t+set}" = set; then
13326 echo $ECHO_N "(cached) $ECHO_C" >&6
13328 cat >conftest.
$ac_ext <<_ACEOF
13331 cat confdefs.h
>>conftest.
$ac_ext
13332 cat >>conftest.
$ac_ext <<_ACEOF
13333 /* end confdefs.h. */
13334 $ac_includes_default
13340 if (sizeof (pid_t))
13346 rm -f conftest.
$ac_objext
13347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13348 (eval $ac_compile) 2>conftest.er1
13350 grep -v '^ *+' conftest.er1
>conftest.err
13352 cat conftest.err
>&5
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); } &&
13355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13357 (eval $ac_try) 2>&5
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); }; } &&
13361 { ac_try
='test -s conftest.$ac_objext'
13362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13363 (eval $ac_try) 2>&5
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); }; }; then
13367 ac_cv_type_pid_t
=yes
13369 echo "$as_me: failed program was:" >&5
13370 sed 's/^/| /' conftest.
$ac_ext >&5
13372 ac_cv_type_pid_t
=no
13374 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13376 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
13377 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
13378 if test $ac_cv_type_pid_t = yes; then
13382 cat >>confdefs.h
<<_ACEOF
13388 echo "$as_me:$LINENO: checking for size_t" >&5
13389 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
13390 if test "${ac_cv_type_size_t+set}" = set; then
13391 echo $ECHO_N "(cached) $ECHO_C" >&6
13393 cat >conftest.
$ac_ext <<_ACEOF
13396 cat confdefs.h
>>conftest.
$ac_ext
13397 cat >>conftest.
$ac_ext <<_ACEOF
13398 /* end confdefs.h. */
13399 $ac_includes_default
13405 if (sizeof (size_t))
13411 rm -f conftest.
$ac_objext
13412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13413 (eval $ac_compile) 2>conftest.er1
13415 grep -v '^ *+' conftest.er1
>conftest.err
13417 cat conftest.err
>&5
13418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13419 (exit $ac_status); } &&
13420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13422 (eval $ac_try) 2>&5
13424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13425 (exit $ac_status); }; } &&
13426 { ac_try
='test -s conftest.$ac_objext'
13427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13428 (eval $ac_try) 2>&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); }; }; then
13432 ac_cv_type_size_t
=yes
13434 echo "$as_me: failed program was:" >&5
13435 sed 's/^/| /' conftest.
$ac_ext >&5
13437 ac_cv_type_size_t
=no
13439 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13441 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
13442 echo "${ECHO_T}$ac_cv_type_size_t" >&6
13443 if test $ac_cv_type_size_t = yes; then
13447 cat >>confdefs.h
<<_ACEOF
13448 #define size_t unsigned
13453 echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
13454 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
13455 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 cat >conftest.
$ac_ext <<_ACEOF
13461 cat confdefs.h
>>conftest.
$ac_ext
13462 cat >>conftest.
$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13464 $ac_includes_default
13468 if ((ptrdiff_t *) 0)
13470 if (sizeof (ptrdiff_t))
13476 rm -f conftest.
$ac_objext
13477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13478 (eval $ac_compile) 2>conftest.er1
13480 grep -v '^ *+' conftest.er1
>conftest.err
13482 cat conftest.err
>&5
13483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 (exit $ac_status); } &&
13485 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13487 (eval $ac_try) 2>&5
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); }; } &&
13491 { ac_try
='test -s conftest.$ac_objext'
13492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13493 (eval $ac_try) 2>&5
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); }; }; then
13497 ac_cv_type_ptrdiff_t
=yes
13499 echo "$as_me: failed program was:" >&5
13500 sed 's/^/| /' conftest.
$ac_ext >&5
13502 ac_cv_type_ptrdiff_t
=no
13504 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13506 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
13507 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
13508 if test $ac_cv_type_ptrdiff_t = yes; then
13512 cat >>confdefs.h
<<_ACEOF
13513 #define ptrdiff_t int
13518 echo "$as_me:$LINENO: checking for unsigned int" >&5
13519 echo $ECHO_N "checking for unsigned int... $ECHO_C" >&6
13520 if test "${ac_cv_type_unsigned_int+set}" = set; then
13521 echo $ECHO_N "(cached) $ECHO_C" >&6
13523 cat >conftest.
$ac_ext <<_ACEOF
13526 cat confdefs.h
>>conftest.
$ac_ext
13527 cat >>conftest.
$ac_ext <<_ACEOF
13528 /* end confdefs.h. */
13529 $ac_includes_default
13533 if ((unsigned int *) 0)
13535 if (sizeof (unsigned int))
13541 rm -f conftest.
$ac_objext
13542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13543 (eval $ac_compile) 2>conftest.er1
13545 grep -v '^ *+' conftest.er1
>conftest.err
13547 cat conftest.err
>&5
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); } &&
13550 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13552 (eval $ac_try) 2>&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); }; } &&
13556 { ac_try
='test -s conftest.$ac_objext'
13557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13558 (eval $ac_try) 2>&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); }; }; then
13562 ac_cv_type_unsigned_int
=yes
13564 echo "$as_me: failed program was:" >&5
13565 sed 's/^/| /' conftest.
$ac_ext >&5
13567 ac_cv_type_unsigned_int
=no
13569 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13571 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_int" >&5
13572 echo "${ECHO_T}$ac_cv_type_unsigned_int" >&6
13574 echo "$as_me:$LINENO: checking size of unsigned int" >&5
13575 echo $ECHO_N "checking size of unsigned int... $ECHO_C" >&6
13576 if test "${ac_cv_sizeof_unsigned_int+set}" = set; then
13577 echo $ECHO_N "(cached) $ECHO_C" >&6
13579 if test "$ac_cv_type_unsigned_int" = yes; then
13580 # The cast to unsigned long works around a bug in the HP C Compiler
13581 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13582 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13583 # This bug is HP SR number 8606223364.
13584 if test "$cross_compiling" = yes; then
13585 # Depending upon the size, compute the lo and hi bounds.
13586 cat >conftest.
$ac_ext <<_ACEOF
13589 cat confdefs.h
>>conftest.
$ac_ext
13590 cat >>conftest.
$ac_ext <<_ACEOF
13591 /* end confdefs.h. */
13592 $ac_includes_default
13596 static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= 0)];
13603 rm -f conftest.
$ac_objext
13604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13605 (eval $ac_compile) 2>conftest.er1
13607 grep -v '^ *+' conftest.er1
>conftest.err
13609 cat conftest.err
>&5
13610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13611 (exit $ac_status); } &&
13612 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13614 (eval $ac_try) 2>&5
13616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 (exit $ac_status); }; } &&
13618 { ac_try
='test -s conftest.$ac_objext'
13619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13620 (eval $ac_try) 2>&5
13622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13623 (exit $ac_status); }; }; then
13626 cat >conftest.
$ac_ext <<_ACEOF
13629 cat confdefs.h
>>conftest.
$ac_ext
13630 cat >>conftest.
$ac_ext <<_ACEOF
13631 /* end confdefs.h. */
13632 $ac_includes_default
13636 static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
13643 rm -f conftest.
$ac_objext
13644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13645 (eval $ac_compile) 2>conftest.er1
13647 grep -v '^ *+' conftest.er1
>conftest.err
13649 cat conftest.err
>&5
13650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13651 (exit $ac_status); } &&
13652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13654 (eval $ac_try) 2>&5
13656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13657 (exit $ac_status); }; } &&
13658 { ac_try
='test -s conftest.$ac_objext'
13659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13660 (eval $ac_try) 2>&5
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); }; }; then
13664 ac_hi
=$ac_mid; break
13666 echo "$as_me: failed program was:" >&5
13667 sed 's/^/| /' conftest.
$ac_ext >&5
13669 ac_lo
=`expr $ac_mid + 1`
13670 if test $ac_lo -le $ac_mid; then
13674 ac_mid
=`expr 2 '*' $ac_mid + 1`
13676 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13679 echo "$as_me: failed program was:" >&5
13680 sed 's/^/| /' conftest.
$ac_ext >&5
13682 cat >conftest.
$ac_ext <<_ACEOF
13685 cat confdefs.h
>>conftest.
$ac_ext
13686 cat >>conftest.
$ac_ext <<_ACEOF
13687 /* end confdefs.h. */
13688 $ac_includes_default
13692 static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) < 0)];
13699 rm -f conftest.
$ac_objext
13700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13701 (eval $ac_compile) 2>conftest.er1
13703 grep -v '^ *+' conftest.er1
>conftest.err
13705 cat conftest.err
>&5
13706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13707 (exit $ac_status); } &&
13708 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13710 (eval $ac_try) 2>&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); }; } &&
13714 { ac_try
='test -s conftest.$ac_objext'
13715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13716 (eval $ac_try) 2>&5
13718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13719 (exit $ac_status); }; }; then
13722 cat >conftest.
$ac_ext <<_ACEOF
13725 cat confdefs.h
>>conftest.
$ac_ext
13726 cat >>conftest.
$ac_ext <<_ACEOF
13727 /* end confdefs.h. */
13728 $ac_includes_default
13732 static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) >= $ac_mid)];
13739 rm -f conftest.
$ac_objext
13740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13741 (eval $ac_compile) 2>conftest.er1
13743 grep -v '^ *+' conftest.er1
>conftest.err
13745 cat conftest.err
>&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } &&
13748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13750 (eval $ac_try) 2>&5
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); }; } &&
13754 { ac_try
='test -s conftest.$ac_objext'
13755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13756 (eval $ac_try) 2>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); }; }; then
13760 ac_lo
=$ac_mid; break
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.
$ac_ext >&5
13765 ac_hi
=`expr '(' $ac_mid ')' - 1`
13766 if test $ac_mid -le $ac_hi; then
13770 ac_mid
=`expr 2 '*' $ac_mid`
13772 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13775 echo "$as_me: failed program was:" >&5
13776 sed 's/^/| /' conftest.
$ac_ext >&5
13780 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13782 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13783 # Binary search between lo and hi bounds.
13784 while test "x$ac_lo" != "x$ac_hi"; do
13785 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13786 cat >conftest.
$ac_ext <<_ACEOF
13789 cat confdefs.h
>>conftest.
$ac_ext
13790 cat >>conftest.
$ac_ext <<_ACEOF
13791 /* end confdefs.h. */
13792 $ac_includes_default
13796 static int test_array [1 - 2 * !(((long) (sizeof (unsigned int))) <= $ac_mid)];
13803 rm -f conftest.
$ac_objext
13804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13805 (eval $ac_compile) 2>conftest.er1
13807 grep -v '^ *+' conftest.er1
>conftest.err
13809 cat conftest.err
>&5
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); } &&
13812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814 (eval $ac_try) 2>&5
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; } &&
13818 { ac_try
='test -s conftest.$ac_objext'
13819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13820 (eval $ac_try) 2>&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); }; }; then
13826 echo "$as_me: failed program was:" >&5
13827 sed 's/^/| /' conftest.
$ac_ext >&5
13829 ac_lo
=`expr '(' $ac_mid ')' + 1`
13831 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13834 ?
*) ac_cv_sizeof_unsigned_int
=$ac_lo;;
13835 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
13836 See \`config.log' for more details." >&5
13837 echo "$as_me: error: cannot compute sizeof (unsigned int), 77
13838 See \`config.log' for more details." >&2;}
13839 { (exit 1); exit 1; }; } ;;
13842 if test "$cross_compiling" = yes; then
13843 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
13844 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
13845 { (exit 1); exit 1; }; }
13847 cat >conftest.
$ac_ext <<_ACEOF
13850 cat confdefs.h
>>conftest.
$ac_ext
13851 cat >>conftest.
$ac_ext <<_ACEOF
13852 /* end confdefs.h. */
13853 $ac_includes_default
13854 long longval () { return (long) (sizeof (unsigned int)); }
13855 unsigned long ulongval () { return (long) (sizeof (unsigned int)); }
13857 #include <stdlib.h>
13862 FILE *f = fopen ("conftest.val", "w");
13865 if (((long) (sizeof (unsigned int))) < 0)
13867 long i = longval ();
13868 if (i != ((long) (sizeof (unsigned int))))
13870 fprintf (f, "%ld\n", i);
13874 unsigned long i = ulongval ();
13875 if (i != ((long) (sizeof (unsigned int))))
13877 fprintf (f, "%lu\n", i);
13879 exit (ferror (f) || fclose (f) != 0);
13885 rm -f conftest
$ac_exeext
13886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13887 (eval $ac_link) 2>&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; }; then
13896 ac_cv_sizeof_unsigned_int
=`cat conftest.val`
13898 echo "$as_me: program exited with status $ac_status" >&5
13899 echo "$as_me: failed program was:" >&5
13900 sed 's/^/| /' conftest.
$ac_ext >&5
13902 ( exit $ac_status )
13903 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned int), 77
13904 See \`config.log' for more details." >&5
13905 echo "$as_me: error: cannot compute sizeof (unsigned int), 77
13906 See \`config.log' for more details." >&2;}
13907 { (exit 1); exit 1; }; }
13909 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13914 ac_cv_sizeof_unsigned_int
=0
13917 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_int" >&5
13918 echo "${ECHO_T}$ac_cv_sizeof_unsigned_int" >&6
13919 cat >>confdefs.h
<<_ACEOF
13920 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
13924 echo "$as_me:$LINENO: checking for unsigned long" >&5
13925 echo $ECHO_N "checking for unsigned long... $ECHO_C" >&6
13926 if test "${ac_cv_type_unsigned_long+set}" = set; then
13927 echo $ECHO_N "(cached) $ECHO_C" >&6
13929 cat >conftest.
$ac_ext <<_ACEOF
13932 cat confdefs.h
>>conftest.
$ac_ext
13933 cat >>conftest.
$ac_ext <<_ACEOF
13934 /* end confdefs.h. */
13935 $ac_includes_default
13939 if ((unsigned long *) 0)
13941 if (sizeof (unsigned long))
13947 rm -f conftest.
$ac_objext
13948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13949 (eval $ac_compile) 2>conftest.er1
13951 grep -v '^ *+' conftest.er1
>conftest.err
13953 cat conftest.err
>&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); } &&
13956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13958 (eval $ac_try) 2>&5
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); }; } &&
13962 { ac_try
='test -s conftest.$ac_objext'
13963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13964 (eval $ac_try) 2>&5
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); }; }; then
13968 ac_cv_type_unsigned_long
=yes
13970 echo "$as_me: failed program was:" >&5
13971 sed 's/^/| /' conftest.
$ac_ext >&5
13973 ac_cv_type_unsigned_long
=no
13975 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13977 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long" >&5
13978 echo "${ECHO_T}$ac_cv_type_unsigned_long" >&6
13980 echo "$as_me:$LINENO: checking size of unsigned long" >&5
13981 echo $ECHO_N "checking size of unsigned long... $ECHO_C" >&6
13982 if test "${ac_cv_sizeof_unsigned_long+set}" = set; then
13983 echo $ECHO_N "(cached) $ECHO_C" >&6
13985 if test "$ac_cv_type_unsigned_long" = yes; then
13986 # The cast to unsigned long works around a bug in the HP C Compiler
13987 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13988 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13989 # This bug is HP SR number 8606223364.
13990 if test "$cross_compiling" = yes; then
13991 # Depending upon the size, compute the lo and hi bounds.
13992 cat >conftest.
$ac_ext <<_ACEOF
13995 cat confdefs.h
>>conftest.
$ac_ext
13996 cat >>conftest.
$ac_ext <<_ACEOF
13997 /* end confdefs.h. */
13998 $ac_includes_default
14002 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= 0)];
14009 rm -f conftest.
$ac_objext
14010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14011 (eval $ac_compile) 2>conftest.er1
14013 grep -v '^ *+' conftest.er1
>conftest.err
14015 cat conftest.err
>&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } &&
14018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14020 (eval $ac_try) 2>&5
14022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023 (exit $ac_status); }; } &&
14024 { ac_try
='test -s conftest.$ac_objext'
14025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14026 (eval $ac_try) 2>&5
14028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14029 (exit $ac_status); }; }; then
14032 cat >conftest.
$ac_ext <<_ACEOF
14035 cat confdefs.h
>>conftest.
$ac_ext
14036 cat >>conftest.
$ac_ext <<_ACEOF
14037 /* end confdefs.h. */
14038 $ac_includes_default
14042 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
14049 rm -f conftest.
$ac_objext
14050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14051 (eval $ac_compile) 2>conftest.er1
14053 grep -v '^ *+' conftest.er1
>conftest.err
14055 cat conftest.err
>&5
14056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14057 (exit $ac_status); } &&
14058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14060 (eval $ac_try) 2>&5
14062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14063 (exit $ac_status); }; } &&
14064 { ac_try
='test -s conftest.$ac_objext'
14065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14066 (eval $ac_try) 2>&5
14068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14069 (exit $ac_status); }; }; then
14070 ac_hi
=$ac_mid; break
14072 echo "$as_me: failed program was:" >&5
14073 sed 's/^/| /' conftest.
$ac_ext >&5
14075 ac_lo
=`expr $ac_mid + 1`
14076 if test $ac_lo -le $ac_mid; then
14080 ac_mid
=`expr 2 '*' $ac_mid + 1`
14082 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14085 echo "$as_me: failed program was:" >&5
14086 sed 's/^/| /' conftest.
$ac_ext >&5
14088 cat >conftest.
$ac_ext <<_ACEOF
14091 cat confdefs.h
>>conftest.
$ac_ext
14092 cat >>conftest.
$ac_ext <<_ACEOF
14093 /* end confdefs.h. */
14094 $ac_includes_default
14098 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) < 0)];
14105 rm -f conftest.
$ac_objext
14106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14107 (eval $ac_compile) 2>conftest.er1
14109 grep -v '^ *+' conftest.er1
>conftest.err
14111 cat conftest.err
>&5
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); } &&
14114 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14116 (eval $ac_try) 2>&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); }; } &&
14120 { ac_try
='test -s conftest.$ac_objext'
14121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14122 (eval $ac_try) 2>&5
14124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14125 (exit $ac_status); }; }; then
14128 cat >conftest.
$ac_ext <<_ACEOF
14131 cat confdefs.h
>>conftest.
$ac_ext
14132 cat >>conftest.
$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14134 $ac_includes_default
14138 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) >= $ac_mid)];
14145 rm -f conftest.
$ac_objext
14146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14147 (eval $ac_compile) 2>conftest.er1
14149 grep -v '^ *+' conftest.er1
>conftest.err
14151 cat conftest.err
>&5
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); } &&
14154 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14156 (eval $ac_try) 2>&5
14158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14159 (exit $ac_status); }; } &&
14160 { ac_try
='test -s conftest.$ac_objext'
14161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14162 (eval $ac_try) 2>&5
14164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14165 (exit $ac_status); }; }; then
14166 ac_lo
=$ac_mid; break
14168 echo "$as_me: failed program was:" >&5
14169 sed 's/^/| /' conftest.
$ac_ext >&5
14171 ac_hi
=`expr '(' $ac_mid ')' - 1`
14172 if test $ac_mid -le $ac_hi; then
14176 ac_mid
=`expr 2 '*' $ac_mid`
14178 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14181 echo "$as_me: failed program was:" >&5
14182 sed 's/^/| /' conftest.
$ac_ext >&5
14186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14189 # Binary search between lo and hi bounds.
14190 while test "x$ac_lo" != "x$ac_hi"; do
14191 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14192 cat >conftest.
$ac_ext <<_ACEOF
14195 cat confdefs.h
>>conftest.
$ac_ext
14196 cat >>conftest.
$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14198 $ac_includes_default
14202 static int test_array [1 - 2 * !(((long) (sizeof (unsigned long))) <= $ac_mid)];
14209 rm -f conftest.
$ac_objext
14210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14211 (eval $ac_compile) 2>conftest.er1
14213 grep -v '^ *+' conftest.er1
>conftest.err
14215 cat conftest.err
>&5
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); } &&
14218 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14220 (eval $ac_try) 2>&5
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); }; } &&
14224 { ac_try
='test -s conftest.$ac_objext'
14225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14226 (eval $ac_try) 2>&5
14228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14229 (exit $ac_status); }; }; then
14232 echo "$as_me: failed program was:" >&5
14233 sed 's/^/| /' conftest.
$ac_ext >&5
14235 ac_lo
=`expr '(' $ac_mid ')' + 1`
14237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14240 ?
*) ac_cv_sizeof_unsigned_long
=$ac_lo;;
14241 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
14242 See \`config.log' for more details." >&5
14243 echo "$as_me: error: cannot compute sizeof (unsigned long), 77
14244 See \`config.log' for more details." >&2;}
14245 { (exit 1); exit 1; }; } ;;
14248 if test "$cross_compiling" = yes; then
14249 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
14250 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
14251 { (exit 1); exit 1; }; }
14253 cat >conftest.
$ac_ext <<_ACEOF
14256 cat confdefs.h
>>conftest.
$ac_ext
14257 cat >>conftest.
$ac_ext <<_ACEOF
14258 /* end confdefs.h. */
14259 $ac_includes_default
14260 long longval () { return (long) (sizeof (unsigned long)); }
14261 unsigned long ulongval () { return (long) (sizeof (unsigned long)); }
14263 #include <stdlib.h>
14268 FILE *f = fopen ("conftest.val", "w");
14271 if (((long) (sizeof (unsigned long))) < 0)
14273 long i = longval ();
14274 if (i != ((long) (sizeof (unsigned long))))
14276 fprintf (f, "%ld\n", i);
14280 unsigned long i = ulongval ();
14281 if (i != ((long) (sizeof (unsigned long))))
14283 fprintf (f, "%lu\n", i);
14285 exit (ferror (f) || fclose (f) != 0);
14291 rm -f conftest
$ac_exeext
14292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14293 (eval $ac_link) 2>&5
14295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14296 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14298 (eval $ac_try) 2>&5
14300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14301 (exit $ac_status); }; }; then
14302 ac_cv_sizeof_unsigned_long
=`cat conftest.val`
14304 echo "$as_me: program exited with status $ac_status" >&5
14305 echo "$as_me: failed program was:" >&5
14306 sed 's/^/| /' conftest.
$ac_ext >&5
14308 ( exit $ac_status )
14309 { { echo "$as_me:$LINENO: error: cannot compute sizeof (unsigned long), 77
14310 See \`config.log' for more details." >&5
14311 echo "$as_me: error: cannot compute sizeof (unsigned long), 77
14312 See \`config.log' for more details." >&2;}
14313 { (exit 1); exit 1; }; }
14315 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14320 ac_cv_sizeof_unsigned_long
=0
14323 echo "$as_me:$LINENO: result: $ac_cv_sizeof_unsigned_long" >&5
14324 echo "${ECHO_T}$ac_cv_sizeof_unsigned_long" >&6
14325 cat >>confdefs.h
<<_ACEOF
14326 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
14331 for ac_header
in unistd.h
14333 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14335 echo "$as_me:$LINENO: checking for $ac_header" >&5
14336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14338 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14343 # Is the header compilable?
14344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14346 cat >conftest.
$ac_ext <<_ACEOF
14349 cat confdefs.h
>>conftest.
$ac_ext
14350 cat >>conftest.
$ac_ext <<_ACEOF
14351 /* end confdefs.h. */
14352 $ac_includes_default
14353 #include <$ac_header>
14355 rm -f conftest.
$ac_objext
14356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14357 (eval $ac_compile) 2>conftest.er1
14359 grep -v '^ *+' conftest.er1
>conftest.err
14361 cat conftest.err
>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); } &&
14364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14366 (eval $ac_try) 2>&5
14368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14369 (exit $ac_status); }; } &&
14370 { ac_try
='test -s conftest.$ac_objext'
14371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14372 (eval $ac_try) 2>&5
14374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14375 (exit $ac_status); }; }; then
14376 ac_header_compiler
=yes
14378 echo "$as_me: failed program was:" >&5
14379 sed 's/^/| /' conftest.
$ac_ext >&5
14381 ac_header_compiler
=no
14383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14385 echo "${ECHO_T}$ac_header_compiler" >&6
14387 # Is the header present?
14388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14390 cat >conftest.
$ac_ext <<_ACEOF
14393 cat confdefs.h
>>conftest.
$ac_ext
14394 cat >>conftest.
$ac_ext <<_ACEOF
14395 /* end confdefs.h. */
14396 #include <$ac_header>
14398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14399 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14401 grep -v '^ *+' conftest.er1
>conftest.err
14403 cat conftest.err
>&5
14404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14405 (exit $ac_status); } >/dev
/null
; then
14406 if test -s conftest.err
; then
14407 ac_cpp_err
=$ac_c_preproc_warn_flag
14408 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14415 if test -z "$ac_cpp_err"; then
14416 ac_header_preproc
=yes
14418 echo "$as_me: failed program was:" >&5
14419 sed 's/^/| /' conftest.
$ac_ext >&5
14421 ac_header_preproc
=no
14423 rm -f conftest.err conftest.
$ac_ext
14424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14425 echo "${ECHO_T}$ac_header_preproc" >&6
14427 # So? What about this header?
14428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14434 ac_header_preproc
=yes
14437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14441 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14442 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14443 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14444 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14447 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14448 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14451 ## ------------------------------------------- ##
14452 ## Report this to debian-dpkg@lists.debian.org ##
14453 ## ------------------------------------------- ##
14456 sed "s/^/$as_me: WARNING: /" >&2
14459 echo "$as_me:$LINENO: checking for $ac_header" >&5
14460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14462 echo $ECHO_N "(cached) $ECHO_C" >&6
14464 eval "$as_ac_Header=\$ac_header_preproc"
14466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14471 cat >>confdefs.h
<<_ACEOF
14472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14479 echo "$as_me:$LINENO: checking whether sys_siglist is declared" >&5
14480 echo $ECHO_N "checking whether sys_siglist is declared... $ECHO_C" >&6
14481 if test "${ac_cv_have_decl_sys_siglist+set}" = set; then
14482 echo $ECHO_N "(cached) $ECHO_C" >&6
14484 cat >conftest.
$ac_ext <<_ACEOF
14487 cat confdefs.h
>>conftest.
$ac_ext
14488 cat >>conftest.
$ac_ext <<_ACEOF
14489 /* end confdefs.h. */
14490 #include <signal.h>
14491 /* NetBSD declares sys_siglist in unistd.h. */
14493 # include <unistd.h>
14500 #ifndef sys_siglist
14501 char *p = (char *) sys_siglist;
14508 rm -f conftest.
$ac_objext
14509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14510 (eval $ac_compile) 2>conftest.er1
14512 grep -v '^ *+' conftest.er1
>conftest.err
14514 cat conftest.err
>&5
14515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516 (exit $ac_status); } &&
14517 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14519 (eval $ac_try) 2>&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }; } &&
14523 { ac_try
='test -s conftest.$ac_objext'
14524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14525 (eval $ac_try) 2>&5
14527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528 (exit $ac_status); }; }; then
14529 ac_cv_have_decl_sys_siglist
=yes
14531 echo "$as_me: failed program was:" >&5
14532 sed 's/^/| /' conftest.
$ac_ext >&5
14534 ac_cv_have_decl_sys_siglist
=no
14536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14538 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sys_siglist" >&5
14539 echo "${ECHO_T}$ac_cv_have_decl_sys_siglist" >&6
14540 if test $ac_cv_have_decl_sys_siglist = yes; then
14542 cat >>confdefs.h
<<_ACEOF
14543 #define HAVE_DECL_SYS_SIGLIST 1
14548 cat >>confdefs.h
<<_ACEOF
14549 #define HAVE_DECL_SYS_SIGLIST 0
14556 echo "$as_me:$LINENO: checking whether compiler supports __attribute__" >&5
14557 echo $ECHO_N "checking whether compiler supports __attribute__... $ECHO_C" >&6
14558 if test "${dpkg_cv_attribute+set}" = set; then
14559 echo $ECHO_N "(cached) $ECHO_C" >&6
14561 cat >conftest.
$ac_ext <<_ACEOF
14564 cat confdefs.h
>>conftest.
$ac_ext
14565 cat >>conftest.
$ac_ext <<_ACEOF
14566 /* end confdefs.h. */
14571 extern int testfunction(int x) __attribute__((unused))
14577 rm -f conftest.
$ac_objext
14578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14579 (eval $ac_compile) 2>conftest.er1
14581 grep -v '^ *+' conftest.er1
>conftest.err
14583 cat conftest.err
>&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); } &&
14586 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14588 (eval $ac_try) 2>&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); }; } &&
14592 { ac_try
='test -s conftest.$ac_objext'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; }; then
14598 dpkg_cv_attribute
=yes
14600 echo "$as_me: failed program was:" >&5
14601 sed 's/^/| /' conftest.
$ac_ext >&5
14603 dpkg_cv_attribute
=no
14605 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14607 echo "$as_me:$LINENO: result: $dpkg_cv_attribute" >&5
14608 echo "${ECHO_T}$dpkg_cv_attribute" >&6
14609 if test "x$dpkg_cv_attribute" = "xyes"; then
14611 cat >>confdefs.h
<<\_ACEOF
14612 #define HAVE_C_ATTRIBUTE 1
14616 cat >>confdefs.h
<<\_ACEOF
14617 #define HAVE_C_ATTRIBUTE 0
14623 # Checks for library functions.
14624 echo "$as_me:$LINENO: checking for va_copy" >&5
14625 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
14626 if test "${dpkg_cv_va_copy+set}" = set; then
14627 echo $ECHO_N "(cached) $ECHO_C" >&6
14629 if test "$cross_compiling" = yes; then
14630 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14631 See \`config.log' for more details." >&5
14632 echo "$as_me: error: cannot run test program while cross compiling
14633 See \`config.log' for more details." >&2;}
14634 { (exit 1); exit 1; }; }
14636 cat >conftest.
$ac_ext <<_ACEOF
14639 cat confdefs.h
>>conftest.
$ac_ext
14640 cat >>conftest.
$ac_ext <<_ACEOF
14641 /* end confdefs.h. */
14642 #include <stdarg.h>
14649 rm -f conftest
$ac_exeext
14650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14651 (eval $ac_link) 2>&5
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14656 (eval $ac_try) 2>&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); }; }; then
14660 dpkg_cv_va_copy
=yes
14662 echo "$as_me: program exited with status $ac_status" >&5
14663 echo "$as_me: failed program was:" >&5
14664 sed 's/^/| /' conftest.
$ac_ext >&5
14666 ( exit $ac_status )
14669 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14672 echo "$as_me:$LINENO: result: $dpkg_cv_va_copy" >&5
14673 echo "${ECHO_T}$dpkg_cv_va_copy" >&6
14674 if test "x$dpkg_cv_va_copy" = "xyes"; then
14676 cat >>confdefs.h
<<\_ACEOF
14677 #define HAVE_VA_COPY 1
14681 echo "$as_me:$LINENO: checking for va_list assignment by copy" >&5
14682 echo $ECHO_N "checking for va_list assignment by copy... $ECHO_C" >&6
14683 if test "${dpkg_cv_va_list_copy+set}" = set; then
14684 echo $ECHO_N "(cached) $ECHO_C" >&6
14686 cat >conftest.
$ac_ext <<_ACEOF
14689 cat confdefs.h
>>conftest.
$ac_ext
14690 cat >>conftest.
$ac_ext <<_ACEOF
14691 /* end confdefs.h. */
14692 #include <stdarg.h>
14704 rm -f conftest.
$ac_objext
14705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14706 (eval $ac_compile) 2>conftest.er1
14708 grep -v '^ *+' conftest.er1
>conftest.err
14710 cat conftest.err
>&5
14711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14712 (exit $ac_status); } &&
14713 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14715 (eval $ac_try) 2>&5
14717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14718 (exit $ac_status); }; } &&
14719 { ac_try
='test -s conftest.$ac_objext'
14720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14721 (eval $ac_try) 2>&5
14723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14724 (exit $ac_status); }; }; then
14725 dpkg_cv_va_list_copy
=yes
14727 echo "$as_me: failed program was:" >&5
14728 sed 's/^/| /' conftest.
$ac_ext >&5
14730 dpkg_cv_va_list_copy
=no
14732 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14734 echo "$as_me:$LINENO: result: $dpkg_cv_va_list_copy" >&5
14735 echo "${ECHO_T}$dpkg_cv_va_list_copy" >&6
14745 for ac_func
in vsnprintf snprintf strerror strsignal scandir alphasort
14747 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14748 echo "$as_me:$LINENO: checking for $ac_func" >&5
14749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14750 if eval "test \"\${$as_ac_var+set}\" = set"; then
14751 echo $ECHO_N "(cached) $ECHO_C" >&6
14753 cat >conftest.
$ac_ext <<_ACEOF
14756 cat confdefs.h
>>conftest.
$ac_ext
14757 cat >>conftest.
$ac_ext <<_ACEOF
14758 /* end confdefs.h. */
14759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14761 #define $ac_func innocuous_$ac_func
14763 /* System header to define __stub macros and hopefully few prototypes,
14764 which can conflict with char $ac_func (); below.
14765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14766 <limits.h> exists even on freestanding compilers. */
14769 # include <limits.h>
14771 # include <assert.h>
14776 /* Override any gcc2 internal prototype to avoid an error. */
14781 /* We use char because int might match the return type of a gcc2
14782 builtin and then its argument prototype would still apply. */
14784 /* The GNU C library defines this for functions which it implements
14785 to always fail with ENOSYS. Some functions are actually named
14786 something starting with __ and the normal name is an alias. */
14787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14790 char (*f) () = $ac_func;
14799 return f != $ac_func;
14804 rm -f conftest.
$ac_objext conftest
$ac_exeext
14805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14806 (eval $ac_link) 2>conftest.er1
14808 grep -v '^ *+' conftest.er1
>conftest.err
14810 cat conftest.err
>&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); } &&
14813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14815 (eval $ac_try) 2>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); }; } &&
14819 { ac_try
='test -s conftest$ac_exeext'
14820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14821 (eval $ac_try) 2>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); }; }; then
14825 eval "$as_ac_var=yes"
14827 echo "$as_me: failed program was:" >&5
14828 sed 's/^/| /' conftest.
$ac_ext >&5
14830 eval "$as_ac_var=no"
14832 rm -f conftest.err conftest.
$ac_objext \
14833 conftest
$ac_exeext conftest.
$ac_ext
14835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14837 if test `eval echo '${'$as_ac_var'}'` = yes; then
14838 cat >>confdefs.h
<<_ACEOF
14839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14851 for ac_func
in unsetenv lchown setsid bcopy isascii memcpy
14853 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14854 echo "$as_me:$LINENO: checking for $ac_func" >&5
14855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14856 if eval "test \"\${$as_ac_var+set}\" = set"; then
14857 echo $ECHO_N "(cached) $ECHO_C" >&6
14859 cat >conftest.
$ac_ext <<_ACEOF
14862 cat confdefs.h
>>conftest.
$ac_ext
14863 cat >>conftest.
$ac_ext <<_ACEOF
14864 /* end confdefs.h. */
14865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14867 #define $ac_func innocuous_$ac_func
14869 /* System header to define __stub macros and hopefully few prototypes,
14870 which can conflict with char $ac_func (); below.
14871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14872 <limits.h> exists even on freestanding compilers. */
14875 # include <limits.h>
14877 # include <assert.h>
14882 /* Override any gcc2 internal prototype to avoid an error. */
14887 /* We use char because int might match the return type of a gcc2
14888 builtin and then its argument prototype would still apply. */
14890 /* The GNU C library defines this for functions which it implements
14891 to always fail with ENOSYS. Some functions are actually named
14892 something starting with __ and the normal name is an alias. */
14893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14896 char (*f) () = $ac_func;
14905 return f != $ac_func;
14910 rm -f conftest.
$ac_objext conftest
$ac_exeext
14911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14912 (eval $ac_link) 2>conftest.er1
14914 grep -v '^ *+' conftest.er1
>conftest.err
14916 cat conftest.err
>&5
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); } &&
14919 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14921 (eval $ac_try) 2>&5
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); }; } &&
14925 { ac_try
='test -s conftest$ac_exeext'
14926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14927 (eval $ac_try) 2>&5
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); }; }; then
14931 eval "$as_ac_var=yes"
14933 echo "$as_me: failed program was:" >&5
14934 sed 's/^/| /' conftest.
$ac_ext >&5
14936 eval "$as_ac_var=no"
14938 rm -f conftest.err conftest.
$ac_objext \
14939 conftest
$ac_exeext conftest.
$ac_ext
14941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14943 if test `eval echo '${'$as_ac_var'}'` = yes; then
14944 cat >>confdefs.h
<<_ACEOF
14945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14952 # Check whether --enable-compiler-warnings or --disable-compiler-warnings was given.
14953 if test "${enable_compiler_warnings+set}" = set; then
14954 enableval
="$enable_compiler_warnings"
14955 if test "x$enable_compiler_warnings" = "xyes"; then
14956 if test "x$GCC" = "xyes"; then
14957 CFLAGS
="-Wall -Werror $CFLAGS"
14959 if test "x$GXX" = "xyes"; then
14960 CXXFLAGS
="-Wall -Werror $CXXFLAGS"
14964 # Check whether --enable-compiler-optimisations or --disable-compiler-optimisations was given.
14965 if test "${enable_compiler_optimisations+set}" = set; then
14966 enableval
="$enable_compiler_optimisations"
14967 if test "x$enable_compiler_optimisations" = "xno"; then
14968 CFLAGS
=`echo "$CFLAGS" | sed -e "s/ -O[1-9]*\b/ -O0/g"`
14971 # Check whether --enable-linker-optimisations or --disable-linker-optimisations was given.
14972 if test "${enable_linker_optimisations+set}" = set; then
14973 enableval
="$enable_linker_optimisations"
14974 if test "x$enable_linker_optimisations" = "xno"; then
14975 LDFLAGS
=`echo "$LDFLAGS" | sed -e "s/ -Wl,-O[0-9]*\b//g"`
14977 LDFLAGS
="$LDFLAGS -Wl,-O1"
14980 LDFLAGS
="$LDFLAGS -Wl,-O1"
14983 ac_config_files
="$ac_config_files Makefile dpkg-deb/Makefile dpkg-split/Makefile dselect/Makefile getopt/Makefile intl/Makefile lib/Makefile man/Makefile man/C/Makefile man/de/Makefile man/es/Makefile man/fr/Makefile man/ja/Makefile man/pt_BR/Makefile man/ru/Makefile man/sv/Makefile methods/Makefile origins/Makefile po/Makefile.in scripts/Makefile src/Makefile utils/Makefile"
14985 ac_config_headers
="$ac_config_headers config.h"
14987 cat >confcache
<<\_ACEOF
14988 # This file is a shell script that caches the results of configure
14989 # tests run on this system so they can be shared between configure
14990 # scripts and configure runs, see configure's option --config-cache.
14991 # It is not useful on other systems. If it contains results you don't
14992 # want to keep, you may remove or edit it.
14994 # config.status only pays attention to the cache file if you give it
14995 # the --recheck option to rerun configure.
14997 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14998 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14999 # following values.
15003 # The following way of writing the cache mishandles newlines in values,
15004 # but we know of no workaround that is simple, portable, and efficient.
15005 # So, don't put newlines in cache variables' values.
15006 # Ultrix sh set writes to stderr and can't be redirected directly,
15007 # and sets the high bit in the cache file unless we assign to the vars.
15010 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15012 # `set' does not quote correctly, so add quotes (double-quote
15013 # substitution turns \\\\ into \\, and sed turns \\ into \).
15016 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15019 # `set' quotes correctly as required by POSIX, so do not add quotes.
15021 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15028 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15030 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15032 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
15033 if test -w $cache_file; then
15034 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15035 cat confcache
>$cache_file
15037 echo "not updating unwritable cache $cache_file"
15042 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15043 # Let make expand exec_prefix.
15044 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15046 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15047 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15048 # trailing colons and then remove the whole line if VPATH becomes empty
15049 # (actually we leave an empty line to preserve line numbers).
15050 if test "x$srcdir" = x.
; then
15051 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
15052 s/:*\$(srcdir):*/:/;
15053 s/:*\${srcdir}:*/:/;
15055 s/^\([^=]*=[ ]*\):*/\1/;
15061 DEFS
=-DHAVE_CONFIG_H
15065 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15066 # 1. Remove the extension, and $U if already installed.
15067 ac_i
=`echo "$ac_i" |
15068 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15070 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
15071 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
15073 LIBOBJS
=$ac_libobjs
15075 LTLIBOBJS
=$ac_ltlibobjs
15078 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15079 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
15080 Usually this means the macro was only invoked conditionally." >&5
15081 echo "$as_me: error: conditional \"AMDEP\" was never defined.
15082 Usually this means the macro was only invoked conditionally." >&2;}
15083 { (exit 1); exit 1; }; }
15085 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15086 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15087 Usually this means the macro was only invoked conditionally." >&5
15088 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15089 Usually this means the macro was only invoked conditionally." >&2;}
15090 { (exit 1); exit 1; }; }
15092 if test -z "${WITH_DSELECT_TRUE}" && test -z "${WITH_DSELECT_FALSE}"; then
15093 { { echo "$as_me:$LINENO: error: conditional \"WITH_DSELECT\" was never defined.
15094 Usually this means the macro was only invoked conditionally." >&5
15095 echo "$as_me: error: conditional \"WITH_DSELECT\" was never defined.
15096 Usually this means the macro was only invoked conditionally." >&2;}
15097 { (exit 1); exit 1; }; }
15099 if test -z "${WITH_START_STOP_DAEMON_TRUE}" && test -z "${WITH_START_STOP_DAEMON_FALSE}"; then
15100 { { echo "$as_me:$LINENO: error: conditional \"WITH_START_STOP_DAEMON\" was never defined.
15101 Usually this means the macro was only invoked conditionally." >&5
15102 echo "$as_me: error: conditional \"WITH_START_STOP_DAEMON\" was never defined.
15103 Usually this means the macro was only invoked conditionally." >&2;}
15104 { (exit 1); exit 1; }; }
15106 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15107 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
15108 Usually this means the macro was only invoked conditionally." >&5
15109 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
15110 Usually this means the macro was only invoked conditionally." >&2;}
15111 { (exit 1); exit 1; }; }
15113 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15114 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
15115 Usually this means the macro was only invoked conditionally." >&5
15116 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
15117 Usually this means the macro was only invoked conditionally." >&2;}
15118 { (exit 1); exit 1; }; }
15121 : ${CONFIG_STATUS=./config.status}
15122 ac_clean_files_save
=$ac_clean_files
15123 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15124 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15125 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15126 cat >$CONFIG_STATUS <<_ACEOF
15128 # Generated by $as_me.
15129 # Run this file to recreate the current configuration.
15130 # Compiler output produced by configure, useful for debugging
15131 # configure, is in config.log if it exists.
15134 ac_cs_recheck=false
15136 SHELL=\${CONFIG_SHELL-$SHELL}
15139 cat >>$CONFIG_STATUS <<\_ACEOF
15140 ## --------------------- ##
15141 ## M4sh Initialization. ##
15142 ## --------------------- ##
15144 # Be Bourne compatible
15145 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15148 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15149 # is contrary to our usage. Disable this feature.
15150 alias -g '${1+"$@"}'='"$@"'
15151 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
15154 DUALCASE
=1; export DUALCASE
# for MKS sh
15156 # Support unset when possible.
15157 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
15164 # Work around bugs in pre-3.0 UWIN ksh.
15165 $as_unset ENV MAIL MAILPATH
15172 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15173 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15174 LC_TELEPHONE LC_TIME
15176 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15177 eval $as_var=C
; export $as_var
15183 # Required to use basename.
15184 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15190 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
15191 as_basename
=basename
15197 # Name of the executable.
15198 as_me
=`$as_basename "$0" ||
15199 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15200 X"$0" : 'X\(//\)$' \| \
15201 X"$0" : 'X\(/\)$' \| \
15202 . : '\(.\)' 2>/dev/null ||
15204 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15205 /^X\/\(\/\/\)$/{ s//\1/; q; }
15206 /^X\/\(\/\).*/{ s//\1/; q; }
15210 # PATH needs CR, and LINENO needs CR and PATH.
15211 # Avoid depending upon Character Ranges.
15212 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15213 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15214 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15215 as_cr_digits
='0123456789'
15216 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15218 # The user is always right.
15219 if test "${PATH_SEPARATOR+set}" != set; then
15220 echo "#! /bin/sh" >conf$$.sh
15221 echo "exit 0" >>conf$$.sh
15223 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15232 as_lineno_1
=$LINENO
15233 as_lineno_2
=$LINENO
15234 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
15235 test "x$as_lineno_1" != "x$as_lineno_2" &&
15236 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
15237 # Find who we are. Look in the path if we contain no path at all
15240 *[\\/]* ) as_myself
=$0 ;;
15241 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15242 for as_dir
in $PATH
15245 test -z "$as_dir" && as_dir
=.
15246 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15251 # We did not find ourselves, most probably we were run as `sh COMMAND'
15252 # in which case we are not to be found in the path.
15253 if test "x$as_myself" = x
; then
15256 if test ! -f "$as_myself"; then
15257 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15258 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15259 { (exit 1); exit 1; }; }
15261 case $CONFIG_SHELL in
15263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15264 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
15267 test -z "$as_dir" && as_dir
=.
15268 for as_base
in sh bash ksh sh5
; do
15271 if ("$as_dir/$as_base" -c '
15272 as_lineno_1=$LINENO
15273 as_lineno_2=$LINENO
15274 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15275 test "x$as_lineno_1" != "x$as_lineno_2" &&
15276 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
15277 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
15278 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
15279 CONFIG_SHELL
=$as_dir/$as_base
15280 export CONFIG_SHELL
15281 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15289 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15290 # uniformly replaced by the line number. The first 'sed' inserts a
15291 # line-number line before each line; the second 'sed' does the real
15292 # work. The second script uses 'N' to pair each line-number line
15293 # with the numbered line, and appends trailing '-' during
15294 # substitution so that $LINENO is not a special case at line end.
15295 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15296 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15297 sed '=' <$as_myself |
15302 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15305 s,^['$as_cr_digits']*\n,,
15306 ' >$as_me.lineno
&&
15307 chmod +x
$as_me.lineno ||
15308 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15309 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15310 { (exit 1); exit 1; }; }
15312 # Don't try to exec as it changes $[0], causing all sort of problems
15313 # (the dirname of $[0] is not the place where we might find the
15314 # original and so on. Autoconf is especially sensible to this).
15316 # Exit status is that of the last command.
15321 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15322 *c
*,-n*) ECHO_N
= ECHO_C
='
15324 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
15325 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
15328 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15334 rm -f conf$$ conf$$.exe conf$$.
file
15336 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15337 # We could just check for DJGPP; but this test a) works b) is more generic
15338 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15339 if test -f conf$$.exe
; then
15340 # Don't use ln at all; we don't have any links
15345 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15350 rm -f conf$$ conf$$.exe conf$$.
file
15352 if mkdir
-p .
2>/dev
/null
; then
15355 test -d .
/-p && rmdir .
/-p
15359 as_executable_p
="test -f"
15361 # Sed expression to map a string onto a valid CPP name.
15362 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15364 # Sed expression to map a string onto a valid variable name.
15365 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15369 # We need space, tab and new line, in precisely that order.
15379 # Open the log real soon, to keep \$[0] and so on meaningful, and to
15380 # report actual input values of CONFIG_FILES etc. instead of their
15381 # values after options handling. Logging --version etc. is OK.
15385 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15386 ## Running $as_me. ##
15391 This file was extended by dpkg $as_me 1.13.6, which was
15392 generated by GNU Autoconf 2.59. Invocation command line was
15394 CONFIG_FILES = $CONFIG_FILES
15395 CONFIG_HEADERS = $CONFIG_HEADERS
15396 CONFIG_LINKS = $CONFIG_LINKS
15397 CONFIG_COMMANDS = $CONFIG_COMMANDS
15401 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15405 # Files that config.status was made for.
15406 if test -n "$ac_config_files"; then
15407 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15410 if test -n "$ac_config_headers"; then
15411 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15414 if test -n "$ac_config_links"; then
15415 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15418 if test -n "$ac_config_commands"; then
15419 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15422 cat >>$CONFIG_STATUS <<\_ACEOF
15425 \`$as_me' instantiates files from templates according to the
15426 current configuration.
15428 Usage: $0 [OPTIONS] [FILE]...
15430 -h, --help print this help, then exit
15431 -V, --version print version number, then exit
15432 -q, --quiet do not print progress messages
15433 -d, --debug don't remove temporary files
15434 --recheck update $as_me by reconfiguring in the same conditions
15435 --file=FILE[:TEMPLATE]
15436 instantiate the configuration file FILE
15437 --header=FILE[:TEMPLATE]
15438 instantiate the configuration header FILE
15440 Configuration files:
15443 Configuration headers:
15446 Configuration commands:
15449 Report bugs to <bug-autoconf@gnu.org>."
15452 cat >>$CONFIG_STATUS <<_ACEOF
15454 dpkg config.status 1.13.6
15455 configured by $0, generated by GNU Autoconf 2.59,
15456 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15458 Copyright (C) 2003 Free Software Foundation, Inc.
15459 This config.status script is free software; the Free Software Foundation
15460 gives unlimited permission to copy, distribute and modify it."
15465 cat >>$CONFIG_STATUS <<\_ACEOF
15466 # If no file are specified by the user, then we need to provide default
15467 # value. By we need to know if files were specified by the user.
15473 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
15474 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
15482 *) # This is not an option, so the user has probably given explicit
15485 ac_need_defaults
=false
;;
15489 # Handling of the options.
15491 cat >>$CONFIG_STATUS <<\_ACEOF
15492 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15494 --version |
--vers* |
-V )
15495 echo "$ac_cs_version"; exit 0 ;;
15497 # Conflict between --help and --header
15498 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15499 Try \`$0 --help' for more information." >&5
15500 echo "$as_me: error: ambiguous option: $1
15501 Try \`$0 --help' for more information." >&2;}
15502 { (exit 1); exit 1; }; };;
15503 --help |
--hel |
-h )
15504 echo "$ac_cs_usage"; exit 0 ;;
15505 --debug |
--d* |
-d )
15507 --file |
--fil |
--fi |
--f )
15509 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
15510 ac_need_defaults
=false
;;
15511 --header |
--heade |
--head |
--hea )
15513 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
15514 ac_need_defaults
=false
;;
15515 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15516 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15519 # This is an error.
15520 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15521 Try \`$0 --help' for more information." >&5
15522 echo "$as_me: error: unrecognized option: $1
15523 Try \`$0 --help' for more information." >&2;}
15524 { (exit 1); exit 1; }; } ;;
15526 *) ac_config_targets
="$ac_config_targets $1" ;;
15532 ac_configure_extra_args
=
15534 if $ac_cs_silent; then
15536 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15540 cat >>$CONFIG_STATUS <<_ACEOF
15541 if \$ac_cs_recheck; then
15542 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15543 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15548 cat >>$CONFIG_STATUS <<_ACEOF
15550 # INIT-COMMANDS section.
15553 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
15554 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
15556 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
15557 # Capture the value of LINGUAS because we need it to compute CATALOGS.
15558 LINGUAS="${LINGUAS-%UNSET%}"
15560 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15566 cat >>$CONFIG_STATUS <<\_ACEOF
15567 for ac_config_target
in $ac_config_targets
15569 case "$ac_config_target" in
15570 # Handling of arguments.
15571 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15572 "dpkg-deb/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dpkg-deb/Makefile" ;;
15573 "dpkg-split/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dpkg-split/Makefile" ;;
15574 "dselect/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dselect/Makefile" ;;
15575 "getopt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES getopt/Makefile" ;;
15576 "intl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES intl/Makefile" ;;
15577 "lib/Makefile" ) CONFIG_FILES
="$CONFIG_FILES lib/Makefile" ;;
15578 "man/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/Makefile" ;;
15579 "man/C/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/C/Makefile" ;;
15580 "man/de/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/de/Makefile" ;;
15581 "man/es/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/es/Makefile" ;;
15582 "man/fr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/fr/Makefile" ;;
15583 "man/ja/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/ja/Makefile" ;;
15584 "man/pt_BR/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/pt_BR/Makefile" ;;
15585 "man/ru/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/ru/Makefile" ;;
15586 "man/sv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES man/sv/Makefile" ;;
15587 "methods/Makefile" ) CONFIG_FILES
="$CONFIG_FILES methods/Makefile" ;;
15588 "origins/Makefile" ) CONFIG_FILES
="$CONFIG_FILES origins/Makefile" ;;
15589 "po/Makefile.in" ) CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
15590 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
15591 "src/Makefile" ) CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
15592 "utils/Makefile" ) CONFIG_FILES
="$CONFIG_FILES utils/Makefile" ;;
15593 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
15594 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
15595 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
15596 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15597 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15598 { (exit 1); exit 1; }; };;
15602 # If the user did not use the arguments to specify the items to instantiate,
15603 # then the envvar interface is used. Set only those that are not.
15604 # We use the long form for the default assignment because of an extremely
15605 # bizarre bug on SunOS 4.1.3.
15606 if $ac_need_defaults; then
15607 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15608 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15609 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15612 # Have a temporary directory for convenience. Make it in the build tree
15613 # simply because there is no reason to put it here, and in addition,
15614 # creating and moving files from /tmp can sometimes cause problems.
15615 # Create a temporary directory, and hook for its removal unless debugging.
15618 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15619 trap '{ (exit 1); exit 1; }' 1 2 13 15
15622 # Create a (secure) tmp directory for tmp files.
15625 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15626 test -n "$tmp" && test -d "$tmp"
15629 tmp
=.
/confstat$$
-$RANDOM
15630 (umask 077 && mkdir
$tmp)
15633 echo "$me: cannot create a temporary directory in ." >&2
15634 { (exit 1); exit 1; }
15639 cat >>$CONFIG_STATUS <<_ACEOF
15642 # CONFIG_FILES section.
15645 # No need to generate the scripts if there are no CONFIG_FILES.
15646 # This happens for instance when ./config.status config.h
15647 if test -n "\$CONFIG_FILES"; then
15648 # Protect against being on the right side of a sed subst in config.status.
15649 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15650 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15651 s,@SHELL@,$SHELL,;t t
15652 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15653 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15654 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15655 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15656 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15657 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15658 s,@exec_prefix@,$exec_prefix,;t t
15659 s,@prefix@,$prefix,;t t
15660 s,@program_transform_name@,$program_transform_name,;t t
15661 s,@bindir@,$bindir,;t t
15662 s,@sbindir@,$sbindir,;t t
15663 s,@libexecdir@,$libexecdir,;t t
15664 s,@datadir@,$datadir,;t t
15665 s,@sysconfdir@,$sysconfdir,;t t
15666 s,@sharedstatedir@,$sharedstatedir,;t t
15667 s,@localstatedir@,$localstatedir,;t t
15668 s,@libdir@,$libdir,;t t
15669 s,@includedir@,$includedir,;t t
15670 s,@oldincludedir@,$oldincludedir,;t t
15671 s,@infodir@,$infodir,;t t
15672 s,@mandir@,$mandir,;t t
15673 s,@build_alias@,$build_alias,;t t
15674 s,@host_alias@,$host_alias,;t t
15675 s,@target_alias@,$target_alias,;t t
15676 s,@DEFS@,$DEFS,;t t
15677 s,@ECHO_C@,$ECHO_C,;t t
15678 s,@ECHO_N@,$ECHO_N,;t t
15679 s,@ECHO_T@,$ECHO_T,;t t
15680 s,@LIBS@,$LIBS,;t t
15681 s,@build@,$build,;t t
15682 s,@build_cpu@,$build_cpu,;t t
15683 s,@build_vendor@,$build_vendor,;t t
15684 s,@build_os@,$build_os,;t t
15685 s,@host@,$host,;t t
15686 s,@host_cpu@,$host_cpu,;t t
15687 s,@host_vendor@,$host_vendor,;t t
15688 s,@host_os@,$host_os,;t t
15689 s,@target@,$target,;t t
15690 s,@target_cpu@,$target_cpu,;t t
15691 s,@target_vendor@,$target_vendor,;t t
15692 s,@target_os@,$target_os,;t t
15693 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
15694 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
15695 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
15696 s,@CYGPATH_W@,$CYGPATH_W,;t t
15697 s,@PACKAGE@,$PACKAGE,;t t
15698 s,@VERSION@,$VERSION,;t t
15699 s,@ACLOCAL@,$ACLOCAL,;t t
15700 s,@AUTOCONF@,$AUTOCONF,;t t
15701 s,@AUTOMAKE@,$AUTOMAKE,;t t
15702 s,@AUTOHEADER@,$AUTOHEADER,;t t
15703 s,@MAKEINFO@,$MAKEINFO,;t t
15704 s,@AMTAR@,$AMTAR,;t t
15705 s,@install_sh@,$install_sh,;t t
15706 s,@STRIP@,$STRIP,;t t
15707 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
15708 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
15709 s,@mkdir_p@,$mkdir_p,;t t
15711 s,@SET_MAKE@,$SET_MAKE,;t t
15712 s,@am__leading_dot@,$am__leading_dot,;t t
15713 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
15714 s,@USE_NLS@,$USE_NLS,;t t
15715 s,@MSGFMT@,$MSGFMT,;t t
15716 s,@GMSGFMT@,$GMSGFMT,;t t
15717 s,@XGETTEXT@,$XGETTEXT,;t t
15718 s,@MSGMERGE@,$MSGMERGE,;t t
15720 s,@CFLAGS@,$CFLAGS,;t t
15721 s,@LDFLAGS@,$LDFLAGS,;t t
15722 s,@CPPFLAGS@,$CPPFLAGS,;t t
15723 s,@ac_ct_CC@,$ac_ct_CC,;t t
15724 s,@EXEEXT@,$EXEEXT,;t t
15725 s,@OBJEXT@,$OBJEXT,;t t
15726 s,@DEPDIR@,$DEPDIR,;t t
15727 s,@am__include@,$am__include,;t t
15728 s,@am__quote@,$am__quote,;t t
15729 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
15730 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
15731 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
15732 s,@CCDEPMODE@,$CCDEPMODE,;t t
15733 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
15734 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
15735 s,@RANLIB@,$RANLIB,;t t
15736 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
15738 s,@EGREP@,$EGREP,;t t
15739 s,@ALLOCA@,$ALLOCA,;t t
15740 s,@GLIBC21@,$GLIBC21,;t t
15741 s,@HAVE_POSIX_PRINTF@,$HAVE_POSIX_PRINTF,;t t
15742 s,@HAVE_ASPRINTF@,$HAVE_ASPRINTF,;t t
15743 s,@HAVE_SNPRINTF@,$HAVE_SNPRINTF,;t t
15744 s,@HAVE_WPRINTF@,$HAVE_WPRINTF,;t t
15745 s,@LIBICONV@,$LIBICONV,;t t
15746 s,@LTLIBICONV@,$LTLIBICONV,;t t
15747 s,@INTLBISON@,$INTLBISON,;t t
15748 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
15749 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
15750 s,@CATOBJEXT@,$CATOBJEXT,;t t
15751 s,@DATADIRNAME@,$DATADIRNAME,;t t
15752 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
15753 s,@GENCAT@,$GENCAT,;t t
15754 s,@INTLOBJS@,$INTLOBJS,;t t
15755 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
15756 s,@INTLLIBS@,$INTLLIBS,;t t
15757 s,@LIBINTL@,$LIBINTL,;t t
15758 s,@LTLIBINTL@,$LTLIBINTL,;t t
15759 s,@POSUB@,$POSUB,;t t
15760 s,@WITH_DSELECT_TRUE@,$WITH_DSELECT_TRUE,;t t
15761 s,@WITH_DSELECT_FALSE@,$WITH_DSELECT_FALSE,;t t
15762 s,@WITH_START_STOP_DAEMON_TRUE@,$WITH_START_STOP_DAEMON_TRUE,;t t
15763 s,@WITH_START_STOP_DAEMON_FALSE@,$WITH_START_STOP_DAEMON_FALSE,;t t
15764 s,@admindir@,$admindir,;t t
15766 s,@CXXFLAGS@,$CXXFLAGS,;t t
15767 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
15768 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
15769 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
15770 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
15771 s,@PERL@,$PERL,;t t
15772 s,@ZLIB_CFLAGS@,$ZLIB_CFLAGS,;t t
15773 s,@ZLIB_LIBS@,$ZLIB_LIBS,;t t
15774 s,@BZ2_CFLAGS@,$BZ2_CFLAGS,;t t
15775 s,@BZ2_LIBS@,$BZ2_LIBS,;t t
15776 s,@CURSES_LIBS@,$CURSES_LIBS,;t t
15777 s,@SSD_LIBS@,$SSD_LIBS,;t t
15778 s,@LIBOBJS@,$LIBOBJS,;t t
15779 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
15784 cat >>$CONFIG_STATUS <<\_ACEOF
15785 # Split the substitutions into bite-sized pieces for seds with
15786 # small command number limits, like on Digital OSF/1 and HP-UX.
15787 ac_max_sed_lines
=48
15788 ac_sed_frag
=1 # Number of current file.
15789 ac_beg
=1 # First line for current file.
15790 ac_end
=$ac_max_sed_lines # Line after last line for current file.
15793 while $ac_more_lines; do
15794 if test $ac_beg -gt 1; then
15795 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15797 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
15799 if test ! -s $tmp/subs.frag
; then
15800 ac_more_lines
=false
15802 # The purpose of the label and of the branching condition is to
15803 # speed up the sed processing (if there are no `@' at all, there
15804 # is no need to browse any of the substitutions).
15805 # These are the two extra sed commands mentioned above.
15807 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
15808 if test -z "$ac_sed_cmds"; then
15809 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
15811 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
15813 ac_sed_frag
=`expr $ac_sed_frag + 1`
15815 ac_end
=`expr $ac_end + $ac_max_sed_lines`
15818 if test -z "$ac_sed_cmds"; then
15821 fi # test -n "$CONFIG_FILES"
15824 cat >>$CONFIG_STATUS <<\_ACEOF
15825 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
15826 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15828 - |
*:- |
*:-:* ) # input from stdin
15830 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15831 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15832 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
15833 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
15834 * ) ac_file_in
=$ac_file.
in ;;
15837 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
15838 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
15839 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15840 X"$ac_file" : 'X\(//\)[^/]' \| \
15841 X"$ac_file" : 'X\(//\)$' \| \
15842 X"$ac_file" : 'X\(/\)' \| \
15843 . : '\(.\)' 2>/dev/null ||
15845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15846 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15847 /^X\(\/\/\)$/{ s//\1/; q; }
15848 /^X\(\/\).*/{ s//\1/; q; }
15850 { if $as_mkdir_p; then
15855 while test ! -d "$as_dir"; do
15856 as_dirs
="$as_dir $as_dirs"
15857 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
15858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15859 X"$as_dir" : 'X\(//\)[^/]' \| \
15860 X"$as_dir" : 'X\(//\)$' \| \
15861 X"$as_dir" : 'X\(/\)' \| \
15862 . : '\(.\)' 2>/dev/null ||
15864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
15865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
15866 /^X\(\/\/\)$/{ s//\1/; q; }
15867 /^X\(\/\).*/{ s//\1/; q; }
15870 test ! -n "$as_dirs" || mkdir
$as_dirs
15871 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
15872 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
15873 { (exit 1); exit 1; }; }; }
15877 if test "$ac_dir" != .
; then
15878 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
15879 # A "../" for each directory in $ac_dir_suffix.
15880 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
15882 ac_dir_suffix
= ac_top_builddir
=
15886 .
) # No --srcdir option. We are building in place.
15888 if test -z "$ac_top_builddir"; then
15891 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
15893 [\\/]* | ?
:[\\/]* ) # Absolute path.
15894 ac_srcdir
=$srcdir$ac_dir_suffix;
15895 ac_top_srcdir
=$srcdir ;;
15896 *) # Relative path.
15897 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
15898 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
15901 # Do not use `cd foo && pwd` to compute absolute paths, because
15902 # the directories may not exist.
15904 .
) ac_abs_builddir
="$ac_dir";;
15907 .
) ac_abs_builddir
=`pwd`;;
15908 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
15909 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
15912 case $ac_abs_builddir in
15913 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15915 case ${ac_top_builddir}.
in
15916 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
15917 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
15918 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
15921 case $ac_abs_builddir in
15922 .
) ac_abs_srcdir
=$ac_srcdir;;
15925 .
) ac_abs_srcdir
=$ac_abs_builddir;;
15926 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
15927 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
15930 case $ac_abs_builddir in
15931 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
15933 case $ac_top_srcdir in
15934 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
15935 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
15936 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
15942 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15943 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
15946 # Let's still pretend it is `configure' which instantiates (i.e., don't
15947 # use $as_me), people would be surprised to read:
15948 # /* config.h. Generated by config.status. */
15949 if test x
"$ac_file" = x-
; then
15952 configure_input
="$ac_file. "
15954 configure_input
=$configure_input"Generated from `echo $ac_file_in |
15955 sed 's,.*/,,'` by configure."
15957 # First look for the input files in the build tree, otherwise in the
15959 ac_file_inputs
=`IFS=:
15960 for f in $ac_file_in; do
15962 -) echo $tmp/stdin ;;
15964 # Absolute (can't be DOS-style, as IFS=:)
15965 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15966 echo "$as_me: error: cannot find input file: $f" >&2;}
15967 { (exit 1); exit 1; }; }
15970 if test -f "$f"; then
15973 elif test -f "$srcdir/$f"; then
15978 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
15979 echo "$as_me: error: cannot find input file: $f" >&2;}
15980 { (exit 1); exit 1; }; }
15983 done` ||
{ (exit 1); exit 1; }
15985 if test x
"$ac_file" != x-
; then
15986 { echo "$as_me:$LINENO: creating $ac_file" >&5
15987 echo "$as_me: creating $ac_file" >&6;}
15991 cat >>$CONFIG_STATUS <<_ACEOF
15995 cat >>$CONFIG_STATUS <<\_ACEOF
15997 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15998 s
,@configure_input@
,$configure_input,;t t
15999 s
,@srcdir@
,$ac_srcdir,;t t
16000 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
16001 s
,@top_srcdir@
,$ac_top_srcdir,;t t
16002 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
16003 s
,@builddir@
,$ac_builddir,;t t
16004 s
,@abs_builddir@
,$ac_abs_builddir,;t t
16005 s
,@top_builddir@
,$ac_top_builddir,;t t
16006 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
16007 s
,@INSTALL@
,$ac_INSTALL,;t t
16008 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16010 if test x"$ac_file" != x-; then
16011 mv $tmp/out $ac_file
16019 cat >>$CONFIG_STATUS <<\_ACEOF
16022 # CONFIG_HEADER section.
16025 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
16026 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16028 # ac_d sets the value in "#define NAME VALUE" lines.
16029 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16030 ac_dB
='[ ].*$,\1#\2'
16033 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16034 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16035 ac_uB
='$,\1#\2define\3'
16039 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
16040 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16042 - |
*:- |
*:-:* ) # input from stdin
16044 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16045 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16046 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16047 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16048 * ) ac_file_in
=$ac_file.
in ;;
16051 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
16052 echo "$as_me: creating $ac_file" >&6;}
16054 # First look for the input files in the build tree, otherwise in the
16056 ac_file_inputs
=`IFS=:
16057 for f in $ac_file_in; do
16059 -) echo $tmp/stdin ;;
16061 # Absolute (can't be DOS-style, as IFS=:)
16062 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16063 echo "$as_me: error: cannot find input file: $f" >&2;}
16064 { (exit 1); exit 1; }; }
16065 # Do quote $f, to prevent DOS paths from being IFS'd.
16068 if test -f "$f"; then
16071 elif test -f "$srcdir/$f"; then
16076 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16077 echo "$as_me: error: cannot find input file: $f" >&2;}
16078 { (exit 1); exit 1; }; }
16081 done` ||
{ (exit 1); exit 1; }
16082 # Remove the trailing spaces.
16083 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16087 # Transform confdefs.h into two sed scripts, `conftest.defines' and
16088 # `conftest.undefs', that substitutes the proper values into
16089 # config.h.in to produce config.h. The first handles `#define'
16090 # templates, and the second `#undef' templates.
16091 # And first: Protect against being on the right side of a sed subst in
16092 # config.status. Protect against being in an unquoted here document
16093 # in config.status.
16094 rm -f conftest.defines conftest.undefs
16095 # Using a here document instead of a string reduces the quoting nightmare.
16096 # Putting comments in sed scripts is not portable.
16098 # `end' is used to avoid that the second main sed command (meant for
16099 # 0-ary CPP macros) applies to n-ary macro definitions.
16100 # See the Autoconf documentation for `clear'.
16101 cat >confdef2sed.
sed <<\_ACEOF
16106 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16108 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16111 # If some macros were called several times there might be several times
16112 # the same #defines, which is useless. Nevertheless, we may not want to
16113 # sort them, since we want the *last* AC-DEFINE to be honored.
16114 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16115 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16116 rm -f confdef2sed.sed
16118 # This sed command replaces #undef with comments. This is necessary, for
16119 # example, in the case of _POSIX_SOURCE, which is predefined and required
16120 # on some systems where configure will not decide to define it.
16121 cat >>conftest.undefs <<\_ACEOF
16122 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16125 # Break up conftest.defines because some shells have a limit on the size
16126 # of here documents, and old seds have small limits too (100 cmds).
16127 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16128 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16129 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16130 echo ' :' >>$CONFIG_STATUS
16131 rm -f conftest.tail
16132 while grep . conftest.defines >/dev/null
16134 # Write a limited-size here document to $tmp/defines.sed.
16135 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16136 # Speed up: don't consider the non `#define' lines.
16137 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16138 # Work around the forget-to-reset-the-flag bug.
16139 echo 't clr' >>$CONFIG_STATUS
16140 echo ': clr' >>$CONFIG_STATUS
16141 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
16143 sed -f $tmp/defines.sed $tmp/in >$tmp/out
16145 mv $tmp/out $tmp/in
16147 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
16148 rm -f conftest.defines
16149 mv conftest.
tail conftest.defines
16151 rm -f conftest.defines
16152 echo ' fi # grep' >>$CONFIG_STATUS
16153 echo >>$CONFIG_STATUS
16155 # Break up conftest.undefs because some shells have a limit on the size
16156 # of here documents, and old seds have small limits too (100 cmds).
16157 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16158 rm -f conftest.
tail
16159 while grep . conftest.undefs
>/dev
/null
16161 # Write a limited-size here document to $tmp/undefs.sed.
16162 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16163 # Speed up: don't consider the non
`#undef'
16164 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16165 # Work around the forget-to-reset-the-flag bug.
16166 echo 't clr' >>$CONFIG_STATUS
16167 echo ': clr' >>$CONFIG_STATUS
16168 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16170 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16172 mv $tmp/out $tmp/in
16174 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16175 rm -f conftest.undefs
16176 mv conftest.tail conftest.undefs
16178 rm -f conftest.undefs
16180 cat >>$CONFIG_STATUS <<\_ACEOF
16181 # Let's still pretend it is `configure
' which instantiates (i.e., don't
16182 # use $as_me), people would be surprised to read:
16183 # /* config.h. Generated by config.status. */
16184 if test x
"$ac_file" = x-
; then
16185 echo "/* Generated by configure. */" >$tmp/config.h
16187 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16189 cat $tmp/in >>$tmp/config.h
16191 if test x
"$ac_file" != x-
; then
16192 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
16193 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16194 echo "$as_me: $ac_file is unchanged" >&6;}
16196 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16197 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16198 X"$ac_file" : 'X\(//\)[^/]' \| \
16199 X"$ac_file" : 'X\(//\)$' \| \
16200 X"$ac_file" : 'X\(/\)' \| \
16201 . : '\(.\)' 2>/dev/null ||
16203 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16204 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16205 /^X\(\/\/\)$/{ s//\1/; q; }
16206 /^X\(\/\).*/{ s//\1/; q; }
16208 { if $as_mkdir_p; then
16213 while test ! -d "$as_dir"; do
16214 as_dirs
="$as_dir $as_dirs"
16215 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16216 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16217 X"$as_dir" : 'X\(//\)[^/]' \| \
16218 X"$as_dir" : 'X\(//\)$' \| \
16219 X"$as_dir" : 'X\(/\)' \| \
16220 . : '\(.\)' 2>/dev/null ||
16222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16223 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16224 /^X\(\/\/\)$/{ s//\1/; q; }
16225 /^X\(\/\).*/{ s//\1/; q; }
16228 test ! -n "$as_dirs" || mkdir
$as_dirs
16229 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16230 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16231 { (exit 1); exit 1; }; }; }
16234 mv $tmp/config.h
$ac_file
16238 rm -f $tmp/config.h
16240 # Compute $ac_file's index in $config_headers.
16242 for _am_header
in $config_headers :; do
16243 case $_am_header in
16244 $ac_file |
$ac_file:* )
16247 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
16250 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
16251 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16252 X$ac_file : 'X\(//\)[^/]' \| \
16253 X$ac_file : 'X\(//\)$' \| \
16254 X$ac_file : 'X\(/\)' \| \
16255 . : '\(.\)' 2>/dev/null ||
16257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16258 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16259 /^X\(\/\/\)$/{ s//\1/; q; }
16260 /^X\(\/\).*/{ s//\1/; q; }
16261 s/.*/./; q'`/stamp-h
$_am_stamp_count
16264 cat >>$CONFIG_STATUS <<\_ACEOF
16267 # CONFIG_COMMANDS section.
16269 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
16270 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
16271 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16272 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
16273 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16274 X"$ac_dest" : 'X\(//\)[^/]' \| \
16275 X"$ac_dest" : 'X\(//\)$' \| \
16276 X"$ac_dest" : 'X\(/\)' \| \
16277 . : '\(.\)' 2>/dev/null ||
16279 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16280 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16281 /^X\(\/\/\)$/{ s//\1/; q; }
16282 /^X\(\/\).*/{ s//\1/; q; }
16284 { if $as_mkdir_p; then
16289 while test ! -d "$as_dir"; do
16290 as_dirs
="$as_dir $as_dirs"
16291 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16293 X"$as_dir" : 'X\(//\)[^/]' \| \
16294 X"$as_dir" : 'X\(//\)$' \| \
16295 X"$as_dir" : 'X\(/\)' \| \
16296 . : '\(.\)' 2>/dev/null ||
16298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16299 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16300 /^X\(\/\/\)$/{ s//\1/; q; }
16301 /^X\(\/\).*/{ s//\1/; q; }
16304 test ! -n "$as_dirs" || mkdir
$as_dirs
16305 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16306 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16307 { (exit 1); exit 1; }; }; }
16311 if test "$ac_dir" != .
; then
16312 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16313 # A "../" for each directory in $ac_dir_suffix.
16314 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16316 ac_dir_suffix
= ac_top_builddir
=
16320 .
) # No --srcdir option. We are building in place.
16322 if test -z "$ac_top_builddir"; then
16325 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16327 [\\/]* | ?
:[\\/]* ) # Absolute path.
16328 ac_srcdir
=$srcdir$ac_dir_suffix;
16329 ac_top_srcdir
=$srcdir ;;
16330 *) # Relative path.
16331 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16332 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16335 # Do not use `cd foo && pwd` to compute absolute paths, because
16336 # the directories may not exist.
16338 .
) ac_abs_builddir
="$ac_dir";;
16341 .
) ac_abs_builddir
=`pwd`;;
16342 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16343 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16346 case $ac_abs_builddir in
16347 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16349 case ${ac_top_builddir}.
in
16350 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16351 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16352 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16355 case $ac_abs_builddir in
16356 .
) ac_abs_srcdir
=$ac_srcdir;;
16359 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16360 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16361 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16364 case $ac_abs_builddir in
16365 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16367 case $ac_top_srcdir in
16368 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16369 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16370 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16375 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
16376 echo "$as_me: executing $ac_dest commands" >&6;}
16379 for ac_file
in $CONFIG_FILES; do
16380 # Support "outfile[:infile[:infile...]]"
16382 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
16384 # PO directories have a Makefile.in generated from Makefile.in.in.
16385 case "$ac_file" in */Makefile.
in)
16386 # Adjust a relative srcdir.
16387 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
16388 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
16389 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
16390 # In autoconf-2.13 it is called $ac_given_srcdir.
16391 # In autoconf-2.50 it is called $srcdir.
16392 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
16393 case "$ac_given_srcdir" in
16394 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
16395 /*) top_srcdir
="$ac_given_srcdir" ;;
16396 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
16398 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
16399 rm -f "$ac_dir/POTFILES"
16400 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
16401 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
16402 POMAKEFILEDEPS
="POTFILES.in"
16403 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
16404 # on $ac_dir but don't depend on user-specified configuration
16406 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
16407 # The LINGUAS file contains the set of available languages.
16408 if test -n "$OBSOLETE_ALL_LINGUAS"; then
16409 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
16411 ALL_LINGUAS_
=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
16412 # Hide the ALL_LINGUAS assigment from automake.
16413 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
16414 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
16416 # The set of available languages was given in configure.in.
16417 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
16420 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
16421 # Compute UPDATEPOFILES
16422 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
16423 # Compute DUMMYPOFILES
16424 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
16426 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
16427 case "$ac_given_srcdir" in
16429 *) srcdirpre
='$(srcdir)/' ;;
16435 for lang
in $ALL_LINGUAS; do
16436 POFILES
="$POFILES $srcdirpre$lang.po"
16437 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
16438 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
16439 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
16441 # CATALOGS depends on both $ac_dir and the user's LINGUAS
16442 # environment variable.
16444 if test -n "$ALL_LINGUAS"; then
16445 for presentlang
in $ALL_LINGUAS; do
16447 if test "%UNSET%" != "$LINGUAS"; then
16448 desiredlanguages
="$LINGUAS"
16450 desiredlanguages
="$ALL_LINGUAS"
16452 for desiredlang
in $desiredlanguages; do
16453 # Use the presentlang catalog if desiredlang is
16454 # a. equal to presentlang, or
16455 # b. a variant of presentlang (because in this case,
16456 # presentlang can be used as a fallback for messages
16457 # which are not translated in the desiredlang catalog).
16458 case "$desiredlang" in
16459 "$presentlang"*) useit
=yes;;
16462 if test $useit = yes; then
16463 INST_LINGUAS
="$INST_LINGUAS $presentlang"
16468 if test -n "$INST_LINGUAS"; then
16469 for lang
in $INST_LINGUAS; do
16470 CATALOGS
="$CATALOGS $lang.gmo"
16473 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
16474 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
16475 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
16476 if test -f "$f"; then
16478 *.orig |
*.bak |
*~
) ;;
16479 *) cat "$f" >> "$ac_dir/Makefile" ;;
16487 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
16488 # Strip MF so we end up with the name of the file.
16489 mf
=`echo "$mf" | sed -e 's/:.*$//'`
16490 # Check whether this is an Automake generated Makefile or not.
16491 # We used to match only the files named `Makefile.in', but
16492 # some people rename them; so instead we look at the file content.
16493 # Grep'ing the first line is not enough: some people post-process
16494 # each Makefile.in and add a new line on top of each file to say so.
16495 # So let's grep whole file.
16496 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
16497 dirpart
=`(dirname "$mf") 2>/dev/null ||
16498 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16499 X"$mf" : 'X\(//\)[^/]' \| \
16500 X"$mf" : 'X\(//\)$' \| \
16501 X"$mf" : 'X\(/\)' \| \
16502 . : '\(.\)' 2>/dev/null ||
16504 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16505 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16506 /^X\(\/\/\)$/{ s//\1/; q; }
16507 /^X\(\/\).*/{ s//\1/; q; }
16512 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
16513 # Extract the definition of DEP_FILES from the Makefile without
16515 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
16516 test -z "$DEPDIR" && continue
16517 # When using ansi2knr, U may be empty or an underscore; expand it
16518 U
=`sed -n 's/^U = //p' < "$mf"`
16519 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
16520 # We invoke sed twice because it is the simplest approach to
16521 # changing $(DEPDIR) to its actual value in the expansion.
16522 for file in `sed -n '
16523 /^DEP_FILES = .*\\\\$/ {
16532 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
16533 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
16534 # Make sure the directory exists.
16535 test -f "$dirpart/$file" && continue
16536 fdir
=`(dirname "$file") 2>/dev/null ||
16537 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16538 X"$file" : 'X\(//\)[^/]' \| \
16539 X"$file" : 'X\(//\)$' \| \
16540 X"$file" : 'X\(/\)' \| \
16541 . : '\(.\)' 2>/dev/null ||
16543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16544 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16545 /^X\(\/\/\)$/{ s//\1/; q; }
16546 /^X\(\/\).*/{ s//\1/; q; }
16548 { if $as_mkdir_p; then
16549 mkdir
-p $dirpart/$fdir
16551 as_dir
=$dirpart/$fdir
16553 while test ! -d "$as_dir"; do
16554 as_dirs
="$as_dir $as_dirs"
16555 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16556 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16557 X"$as_dir" : 'X\(//\)[^/]' \| \
16558 X"$as_dir" : 'X\(//\)$' \| \
16559 X"$as_dir" : 'X\(/\)' \| \
16560 . : '\(.\)' 2>/dev/null ||
16562 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16563 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16564 /^X\(\/\/\)$/{ s//\1/; q; }
16565 /^X\(\/\).*/{ s//\1/; q; }
16568 test ! -n "$as_dirs" || mkdir
$as_dirs
16569 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
16570 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
16571 { (exit 1); exit 1; }; }; }
16573 # echo "creating $dirpart/$file"
16574 echo '# dummy' > "$dirpart/$file"
16582 cat >>$CONFIG_STATUS <<\_ACEOF
16584 { (exit 0); exit 0; }
16586 chmod +x
$CONFIG_STATUS
16587 ac_clean_files
=$ac_clean_files_save
16590 # configure is writing to config.log, and then calls config.status.
16591 # config.status does its own redirection, appending to config.log.
16592 # Unfortunately, on DOS this fails, as config.log is still kept open
16593 # by configure, so config.status won't be able to write to it; its
16594 # output is simply discarded. So we exec the FD to /dev/null,
16595 # effectively closing config.log, so it can be properly (re)opened and
16596 # appended to by config.status. When coming back to configure, we
16597 # need to make the FD available again.
16598 if test "$no_create" != yes; then
16600 ac_config_status_args
=
16601 test "$silent" = yes &&
16602 ac_config_status_args
="$ac_config_status_args --quiet"
16604 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16606 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16607 # would make configure fail if this is the last instruction.
16608 $ac_cs_success ||
{ (exit 1); exit 1; }