2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="src/version.h"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS BUILD_DIR TRUEPRG FALSEPRG VERSION DATE LSMDATE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB MV RM CP SED AWK ECHO CMP TBL AR OPENSSL MTX MKISOFS PYTHON GROWISOFS DVDRWMEDIAINFO PKGCONFIG WXCONFIG CDRECORD PIDOF ARFLAGS MAKE_SHELL LOCAL_LIBS LOCAL_CFLAGS LOCAL_LDFLAGS LOCAL_DEFS build build_cpu build_vendor build_os host host_cpu host_vendor host_os HAVE_SUN_OS_TRUE HAVE_SUN_OS_FALSE HAVE_OSF1_OS_TRUE HAVE_OSF1_OS_FALSE HAVE_AIX_OS_TRUE HAVE_AIX_OS_FALSE HAVE_HPUX_OS_TRUE HAVE_HPUX_OS_FALSE HAVE_LINUX_OS_TRUE HAVE_LINUX_OS_FALSE HAVE_FREEBSD_OS_TRUE HAVE_FREEBSD_OS_FALSE HAVE_NETBSD_OS_TRUE HAVE_NETBSD_OS_FALSE HAVE_OPENBSD_OS_TRUE HAVE_OPENBSD_OS_FALSE HAVE_BSDI_OS_TRUE HAVE_BSDI_OS_FALSE HAVE_SGI_OS_TRUE HAVE_SGI_OS_FALSE HAVE_IRIX_OS_TRUE HAVE_IRIX_OS_FALSE HAVE_DARWIN_OS_TRUE HAVE_DARWIN_OS_FALSE INSIDE_GNOME_COMMON_TRUE INSIDE_GNOME_COMMON_FALSE MSGFMT GNOME_INCLUDEDIR GNOMEUI_LIBS GNOME_LIBDIR GNOME_LIBS GNOMEGNORBA_LIBS GTKXMHTML_LIBS ZVT_LIBS GNOME_CONFIG ORBIT_CONFIG ORBIT_IDL HAVE_ORBIT_TRUE HAVE_ORBIT_FALSE ORBIT_CFLAGS ORBIT_LIBS HAVE_GNORBA_TRUE HAVE_GNORBA_FALSE GNORBA_CFLAGS GNORBA_LIBS GNOME_APPLETS_LIBS GNOME_DOCKLETS_LIBS GNOME_CAPPLET_LIBS GNOME_DIR WXCONS_CPPFLAGS WXCONS_LDFLAGS WX_DIR TRAY_MONITOR_CPPFLAGS TRAY_MONITOR_LDFLAGS TRAY_MONITOR_DIR TTOOL_LDFLAGS STATIC_FD STATIC_SD STATIC_DIR STATIC_CONS STATIC_GNOME_CONS STATIC_WX_CONS ALL_DIRS CONS_INC CONS_OBJ CONS_SRC CONS_LIBS CONS_LDFLAGS READLINE_SRC PYTHON_LIBS PYTHON_INCDIR CDSTL working_dir scriptdir dump_email job_email smtp_host piddir subsysdir baseport dir_port fd_port sd_port dir_password fd_password sd_password mon_dir_password mon_fd_password mon_sd_password bimagemgr_cgidir bimagemgr_docdir bimagemgr_binowner bimagemgr_bingroup bimagemgr_dataowner bimagemgr_datagroup dir_user dir_group sd_user sd_group fd_user fd_group SBINPERM SQL_LFLAGS SQL_INCLUDE SQL_BINDIR cats DB_NAME GETCONF ac_ct_GETCONF X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LIBOBJS ALLOCA FDLIBS DEBUG DINCLUDE DLIB DB_LIBS WCFLAGS WLDFLAGS OBJLIST hostname TAPEDRIVE PSCMD WIN32 MACOSX DISTNAME DISTVER LTLIBOBJS'
313 ac_subst_files='MCOMMON'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CXX_set=${CXX+set}
770 ac_env_CXX_value=$CXX
771 ac_cv_env_CXX_set=${CXX+set}
772 ac_cv_env_CXX_value=$CXX
773 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
774 ac_env_CXXFLAGS_value=$CXXFLAGS
775 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
776 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
777 ac_env_CPP_set=${CPP+set}
778 ac_env_CPP_value=$CPP
779 ac_cv_env_CPP_set=${CPP+set}
780 ac_cv_env_CPP_value=$CPP
783 # Report the --help message.
785 if test "$ac_init_help" = "long"; then
786 # Omit some internal or obsolete options to make the list less imposing.
787 # This message is too long to be a string in the A/UX 3.1 sh.
789 \`configure' configures this package to adapt to many kinds of systems.
791 Usage: $0 [OPTION]... [VAR=VALUE]...
793 To assign environment variables (e.g., CC, CFLAGS...), specify them as
794 VAR=VALUE. See below for descriptions of some of the useful variables.
796 Defaults for the options are specified in brackets.
799 -h, --help display this help and exit
800 --help=short display options specific to this package
801 --help=recursive display the short help of all the included packages
802 -V, --version display version information and exit
803 -q, --quiet, --silent do not print \`checking...' messages
804 --cache-file=FILE cache test results in FILE [disabled]
805 -C, --config-cache alias for \`--cache-file=config.cache'
806 -n, --no-create do not create output files
807 --srcdir=DIR find the sources in DIR [configure dir or \`..']
812 Installation directories:
813 --prefix=PREFIX install architecture-independent files in PREFIX
815 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
818 By default, \`make install' will install all the files in
819 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
820 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
821 for instance \`--prefix=\$HOME'.
823 For better control, use the options below.
825 Fine tuning of the installation directories:
826 --bindir=DIR user executables [EPREFIX/bin]
827 --sbindir=DIR system admin executables [EPREFIX/sbin]
828 --libexecdir=DIR program executables [EPREFIX/libexec]
829 --datadir=DIR read-only architecture-independent data [PREFIX/share]
830 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
831 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
832 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
833 --libdir=DIR object code libraries [EPREFIX/lib]
834 --includedir=DIR C header files [PREFIX/include]
835 --oldincludedir=DIR C header files for non-gcc [/usr/include]
836 --infodir=DIR info documentation [PREFIX/info]
837 --mandir=DIR man documentation [PREFIX/man]
843 --x-includes=DIR X include files are in DIR
844 --x-libraries=DIR X library files are in DIR
847 --build=BUILD configure for building on BUILD [guessed]
848 --host=HOST cross-compile to build programs to run on HOST [BUILD]
852 if test -n "$ac_init_help"; then
857 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
858 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
859 --enable-gnome enable build of gnome-console GUI disabled
860 --enable-wx-console enable build of wxWidgets console disabled
861 --enable-tray-monitor enable build of Gnome tray monitor (compatible with KDE) disabled
862 --enable-smartalloc enable smartalloc debugging support disabled
863 --enable-static-tools enable static tape tools disabled
864 --enable-static-fd enable static File daemon disabled
865 --enable-static-sd enable static Storage daemon disabled
866 --enable-static-dir enable static Director disabled
867 --enable-static-cons enable static Console disabled
868 --enable-client-only build client (File daemon) only disabled
869 --disable-conio disable conio support enabled
871 --disable-readline disable readline support disable
873 --disable-largefile omit support for large files
876 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
877 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
878 --with-gnome-includes Specify location of GNOME headers
879 --with-gnome-libs Specify location of GNOME libs
880 --with-gnome Specify prefix for GNOME files
881 --with-readline=DIR specify readline library directory
883 --with-python=DIR Include Python support. DIR is the Python base
884 install directory, default is to search through
885 a number of common places for the Python files.
886 --with-tcp-wrappers=DIR enable tcpwrappers support
887 --with-working-dir=PATH specify path of Bacula working directory
888 --with-scriptdir=PATH specify path of Bacula scripts directory
889 --with-dump-email=EMAIL dump email address
890 --with-job-email=EMAIL job output email address
891 --with-smtp-host=HOST SMTP mail host address
892 --with-pid-dir=PATH specify location of Bacula pid files
893 --with-subsys-dir=PATH specify location of Bacula subsys file
894 --with-baseport=PORT specify base port address for daemons
895 --with-dir-password=PASSWORD specify Director's password
896 --with-fd-password=PASSWORD specify Client's password
897 --with-sd-password=PASSWORD specify Storage daemon's password
898 --with-mon-dir-password=PASSWORD specify Director's password used by the monitor
899 --with-mon-fd-password=PASSWORD specify Client's password used by the monitor
900 --with-mon-sd-password=PASSWORD specify Storage daemon's password used by the monitor
901 --with-bimagemgr-cgidir=DIR specify bimagemgr cgi-bin dir
902 --with-bimagemgr-docdir=DIR specify bimagemgr doc root dir
903 --with-bimagemgr-binowner=USER specify bimagemgr binary file owner
904 --with-bimagemgr-bingroup=USER specify bimagemgr binary file group
905 --with-bimagemgr-dataowner=USER specify bimagemgr data file owner
906 --with-bimagemgr-datagroup=USER specify bimagemgr data file group
907 --with-dir-user=USER specify user for Director daemon
908 --with-dir-group=GROUP specify group for Director daemon
909 --with-sd-user=USER specify user for Storage daemon
910 --with-sd-group=GROUP specify group for Storage daemon
911 --with-fd-user=USER specify user for File daemon
912 --with-fd-group=GROUP specify group for File daemon
913 --with-sbin-perm=MODE specify permissions for sbin binaries (0754)
914 --with-postgresql=DIR Include PostgreSQL support. DIR is the PostgreSQL
915 base install directory, defaults to /usr/local/pgsql
917 --with-mysql=DIR Include MySQL support. DIR is the MySQL base
918 install directory, default is to search through
919 a number of common places for the MySQL files.
921 --with-embedded-mysql=DIR Include MySQL support. DIR is the MySQL base
922 install directory, default is to search through
923 a number of common places for the MySQL files.
925 --with-sqlite=DIR Include SQLite support. DIR is the SQLite base
926 install directory, default is to search through
927 a number of common places for the SQLite files.
928 --with-x use the X Window System
930 Some influential environment variables:
931 CC C compiler command
932 CFLAGS C compiler flags
933 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
934 nonstandard directory <lib dir>
935 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
936 headers in a nonstandard directory <include dir>
937 CXX C++ compiler command
938 CXXFLAGS C++ compiler flags
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.
947 if test "$ac_init_help" = "recursive"; then
948 # If there are subdirs, report their specific --help.
950 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
951 test -d $ac_dir || continue
954 if test "$ac_dir" != .; then
955 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
956 # A "../" for each directory in $ac_dir_suffix.
957 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
959 ac_dir_suffix= ac_top_builddir=
963 .) # No --srcdir option. We are building in place.
965 if test -z "$ac_top_builddir"; then
968 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
970 [\\/]* | ?:[\\/]* ) # Absolute path.
971 ac_srcdir=$srcdir$ac_dir_suffix;
972 ac_top_srcdir=$srcdir ;;
974 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
975 ac_top_srcdir=$ac_top_builddir$srcdir ;;
978 # Do not use `cd foo && pwd` to compute absolute paths, because
979 # the directories may not exist.
981 .) ac_abs_builddir="$ac_dir";;
984 .) ac_abs_builddir=`pwd`;;
985 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
986 *) ac_abs_builddir=`pwd`/"$ac_dir";;
989 case $ac_abs_builddir in
990 .) ac_abs_top_builddir=${ac_top_builddir}.;;
992 case ${ac_top_builddir}. in
993 .) ac_abs_top_builddir=$ac_abs_builddir;;
994 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
995 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
998 case $ac_abs_builddir in
999 .) ac_abs_srcdir=$ac_srcdir;;
1002 .) ac_abs_srcdir=$ac_abs_builddir;;
1003 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1004 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1007 case $ac_abs_builddir in
1008 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1010 case $ac_top_srcdir in
1011 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1012 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1013 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1018 # Check for guested configure; otherwise get Cygnus style configure.
1019 if test -f $ac_srcdir/configure.gnu; then
1021 $SHELL $ac_srcdir/configure.gnu --help=recursive
1022 elif test -f $ac_srcdir/configure; then
1024 $SHELL $ac_srcdir/configure --help=recursive
1025 elif test -f $ac_srcdir/configure.ac ||
1026 test -f $ac_srcdir/configure.in; then
1028 $ac_configure --help
1030 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1036 test -n "$ac_init_help" && exit 0
1037 if $ac_init_version; then
1040 Copyright (C) 2003 Free Software Foundation, Inc.
1041 This configure script is free software; the Free Software Foundation
1042 gives unlimited permission to copy, distribute and modify it.
1048 This file contains any messages produced by compilers while
1049 running configure, to aid debugging if configure makes a mistake.
1051 It was created by $as_me, which was
1052 generated by GNU Autoconf 2.59. Invocation command line was
1063 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1064 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1065 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1066 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1067 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1069 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1070 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1072 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1073 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1074 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1075 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1076 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1077 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1078 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1086 test -z "$as_dir" && as_dir=.
1087 echo "PATH: $as_dir"
1102 # Keep a trace of the command line.
1103 # Strip out --no-create and --no-recursion so they do not pile up.
1104 # Strip out --silent because we don't want to record it for future runs.
1105 # Also quote any args containing shell meta-characters.
1106 # Make two passes to allow for proper duplicate-argument suppression.
1111 ac_must_keep_next=false
1117 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1118 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1119 | -silent | --silent | --silen | --sile | --sil)
1121 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1122 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1125 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1127 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1128 if test $ac_must_keep_next = true; then
1129 ac_must_keep_next=false # Got value, back to normal.
1132 *=* | --config-cache | -C | -disable-* | --disable-* \
1133 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1134 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1135 | -with-* | --with-* | -without-* | --without-* | --x)
1136 case "$ac_configure_args0 " in
1137 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1140 -* ) ac_must_keep_next=true ;;
1143 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1144 # Get rid of the leading space.
1150 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1151 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1153 # When interrupted or exit'd, cleanup temporary files, and complete
1154 # config.log. We remove comments because anyway the quotes in there
1155 # would cause problems or look ugly.
1156 # WARNING: Be sure not to use single quotes in there, as some shells,
1157 # such as our DU 5.0 friend, will then `close' the trap.
1158 trap 'exit_status=$?
1159 # Save into config.log some information that might help in debugging.
1164 ## ---------------- ##
1165 ## Cache variables. ##
1166 ## ---------------- ##
1169 # The following way of writing the cache mishandles newlines in values,
1172 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1175 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1176 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1180 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1187 ## ----------------- ##
1188 ## Output variables. ##
1189 ## ----------------- ##
1192 for ac_var in $ac_subst_vars
1194 eval ac_val=$`echo $ac_var`
1195 echo "$ac_var='"'"'$ac_val'"'"'"
1199 if test -n "$ac_subst_files"; then
1206 for ac_var in $ac_subst_files
1208 eval ac_val=$`echo $ac_var`
1209 echo "$ac_var='"'"'$ac_val'"'"'"
1214 if test -s confdefs.h; then
1221 sed "/^$/d" confdefs.h | sort
1224 test "$ac_signal" != 0 &&
1225 echo "$as_me: caught signal $ac_signal"
1226 echo "$as_me: exit $exit_status"
1228 rm -f core *.core &&
1229 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1232 for ac_signal in 1 2 13 15; do
1233 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1237 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1238 rm -rf conftest* confdefs.h
1239 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1242 # Predefined preprocessor variables.
1244 cat >>confdefs.h <<_ACEOF
1245 #define PACKAGE_NAME "$PACKAGE_NAME"
1249 cat >>confdefs.h <<_ACEOF
1250 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1254 cat >>confdefs.h <<_ACEOF
1255 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1259 cat >>confdefs.h <<_ACEOF
1260 #define PACKAGE_STRING "$PACKAGE_STRING"
1264 cat >>confdefs.h <<_ACEOF
1265 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1269 # Let the site file select an alternate cache file if it wants to.
1270 # Prefer explicitly selected file to automatically selected ones.
1271 if test -z "$CONFIG_SITE"; then
1272 if test "x$prefix" != xNONE; then
1273 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1275 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1278 for ac_site_file in $CONFIG_SITE; do
1279 if test -r "$ac_site_file"; then
1280 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1281 echo "$as_me: loading site script $ac_site_file" >&6;}
1282 sed 's/^/| /' "$ac_site_file" >&5
1287 if test -r "$cache_file"; then
1288 # Some versions of bash will fail to source /dev/null (special
1289 # files actually), so we avoid doing that.
1290 if test -f "$cache_file"; then
1291 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1292 echo "$as_me: loading cache $cache_file" >&6;}
1294 [\\/]* | ?:[\\/]* ) . $cache_file;;
1295 *) . ./$cache_file;;
1299 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1300 echo "$as_me: creating cache $cache_file" >&6;}
1304 # Check that the precious variables saved in the cache have kept the same
1306 ac_cache_corrupted=false
1307 for ac_var in `(set) 2>&1 |
1308 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1309 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1310 eval ac_new_set=\$ac_env_${ac_var}_set
1311 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1312 eval ac_new_val="\$ac_env_${ac_var}_value"
1313 case $ac_old_set,$ac_new_set in
1315 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1316 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1317 ac_cache_corrupted=: ;;
1319 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1320 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1321 ac_cache_corrupted=: ;;
1324 if test "x$ac_old_val" != "x$ac_new_val"; then
1325 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1326 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1327 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1328 echo "$as_me: former value: $ac_old_val" >&2;}
1329 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1330 echo "$as_me: current value: $ac_new_val" >&2;}
1331 ac_cache_corrupted=:
1334 # Pass precious variables to config.status.
1335 if test "$ac_new_set" = set; then
1337 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1338 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1339 *) ac_arg=$ac_var=$ac_new_val ;;
1341 case " $ac_configure_args " in
1342 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1343 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1347 if $ac_cache_corrupted; then
1348 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1349 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1350 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1351 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1352 { (exit 1); exit 1; }; }
1356 ac_cpp='$CPP $CPPFLAGS'
1357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1385 for ac_dir in ${BUILD_DIR}/autoconf $srcdir/${BUILD_DIR}/autoconf; do
1386 if test -f $ac_dir/install-sh; then
1388 ac_install_sh="$ac_aux_dir/install-sh -c"
1390 elif test -f $ac_dir/install.sh; then
1392 ac_install_sh="$ac_aux_dir/install.sh -c"
1394 elif test -f $ac_dir/shtool; then
1396 ac_install_sh="$ac_aux_dir/shtool install -c"
1400 if test -z "$ac_aux_dir"; then
1401 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${BUILD_DIR}/autoconf $srcdir/${BUILD_DIR}/autoconf" >&5
1402 echo "$as_me: error: cannot find install-sh or install.sh in ${BUILD_DIR}/autoconf $srcdir/${BUILD_DIR}/autoconf" >&2;}
1403 { (exit 1); exit 1; }; }
1405 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1406 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1407 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1409 ac_config_headers="$ac_config_headers src/config.h:autoconf/config.h.in"
1417 # Extract the first word of "$ac_prog", so it can be a program name with args.
1418 set dummy $ac_prog; ac_word=$2
1419 echo "$as_me:$LINENO: checking for $ac_word" >&5
1420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1421 if test "${ac_cv_path_TRUEPRG+set}" = set; then
1422 echo $ECHO_N "(cached) $ECHO_C" >&6
1426 ac_cv_path_TRUEPRG="$TRUEPRG" # Let the user override the test with a path.
1429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1433 test -z "$as_dir" && as_dir=.
1434 for ac_exec_ext in '' $ac_executable_extensions; do
1435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1436 ac_cv_path_TRUEPRG="$as_dir/$ac_word$ac_exec_ext"
1437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1446 TRUEPRG=$ac_cv_path_TRUEPRG
1448 if test -n "$TRUEPRG"; then
1449 echo "$as_me:$LINENO: result: $TRUEPRG" >&5
1450 echo "${ECHO_T}$TRUEPRG" >&6
1452 echo "$as_me:$LINENO: result: no" >&5
1453 echo "${ECHO_T}no" >&6
1456 test -n "$TRUEPRG" && break
1458 test -n "$TRUEPRG" || TRUEPRG=":"
1460 for ac_prog in false
1462 # Extract the first word of "$ac_prog", so it can be a program name with args.
1463 set dummy $ac_prog; ac_word=$2
1464 echo "$as_me:$LINENO: checking for $ac_word" >&5
1465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1466 if test "${ac_cv_path_FALSEPRG+set}" = set; then
1467 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 ac_cv_path_FALSEPRG="$FALSEPRG" # Let the user override the test with a path.
1474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1478 test -z "$as_dir" && as_dir=.
1479 for ac_exec_ext in '' $ac_executable_extensions; do
1480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1481 ac_cv_path_FALSEPRG="$as_dir/$ac_word$ac_exec_ext"
1482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1491 FALSEPRG=$ac_cv_path_FALSEPRG
1493 if test -n "$FALSEPRG"; then
1494 echo "$as_me:$LINENO: result: $FALSEPRG" >&5
1495 echo "${ECHO_T}$FALSEPRG" >&6
1497 echo "$as_me:$LINENO: result: no" >&5
1498 echo "${ECHO_T}no" >&6
1501 test -n "$FALSEPRG" && break
1503 test -n "$FALSEPRG" || FALSEPRG=":"
1508 VERSION=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1509 DATE=`sed -n -e 's/^.* \t*BDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1510 LSMDATE=`sed -n -e 's/^.*LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1511 echo "configuring for bacula $VERSION ($DATE)"
1516 ac_cpp='$CPP $CPPFLAGS'
1517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1520 if test -n "$ac_tool_prefix"; then
1521 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1522 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1523 echo "$as_me:$LINENO: checking for $ac_word" >&5
1524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1525 if test "${ac_cv_prog_CC+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 if test -n "$CC"; then
1529 ac_cv_prog_CC="$CC" # Let the user override the test.
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535 test -z "$as_dir" && as_dir=.
1536 for ac_exec_ext in '' $ac_executable_extensions; do
1537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1538 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1548 if test -n "$CC"; then
1549 echo "$as_me:$LINENO: result: $CC" >&5
1550 echo "${ECHO_T}$CC" >&6
1552 echo "$as_me:$LINENO: result: no" >&5
1553 echo "${ECHO_T}no" >&6
1557 if test -z "$ac_cv_prog_CC"; then
1559 # Extract the first word of "gcc", so it can be a program name with args.
1560 set dummy gcc; ac_word=$2
1561 echo "$as_me:$LINENO: checking for $ac_word" >&5
1562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1563 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1564 echo $ECHO_N "(cached) $ECHO_C" >&6
1566 if test -n "$ac_ct_CC"; then
1567 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1573 test -z "$as_dir" && as_dir=.
1574 for ac_exec_ext in '' $ac_executable_extensions; do
1575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1576 ac_cv_prog_ac_ct_CC="gcc"
1577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1585 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1586 if test -n "$ac_ct_CC"; then
1587 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1588 echo "${ECHO_T}$ac_ct_CC" >&6
1590 echo "$as_me:$LINENO: result: no" >&5
1591 echo "${ECHO_T}no" >&6
1599 if test -z "$CC"; then
1600 if test -n "$ac_tool_prefix"; then
1601 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1602 set dummy ${ac_tool_prefix}cc; ac_word=$2
1603 echo "$as_me:$LINENO: checking for $ac_word" >&5
1604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1605 if test "${ac_cv_prog_CC+set}" = set; then
1606 echo $ECHO_N "(cached) $ECHO_C" >&6
1608 if test -n "$CC"; then
1609 ac_cv_prog_CC="$CC" # Let the user override the test.
1611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1615 test -z "$as_dir" && as_dir=.
1616 for ac_exec_ext in '' $ac_executable_extensions; do
1617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1618 ac_cv_prog_CC="${ac_tool_prefix}cc"
1619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1628 if test -n "$CC"; then
1629 echo "$as_me:$LINENO: result: $CC" >&5
1630 echo "${ECHO_T}$CC" >&6
1632 echo "$as_me:$LINENO: result: no" >&5
1633 echo "${ECHO_T}no" >&6
1637 if test -z "$ac_cv_prog_CC"; then
1639 # Extract the first word of "cc", so it can be a program name with args.
1640 set dummy cc; ac_word=$2
1641 echo "$as_me:$LINENO: checking for $ac_word" >&5
1642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1643 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1644 echo $ECHO_N "(cached) $ECHO_C" >&6
1646 if test -n "$ac_ct_CC"; then
1647 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1653 test -z "$as_dir" && as_dir=.
1654 for ac_exec_ext in '' $ac_executable_extensions; do
1655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1656 ac_cv_prog_ac_ct_CC="cc"
1657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1665 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1666 if test -n "$ac_ct_CC"; then
1667 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1668 echo "${ECHO_T}$ac_ct_CC" >&6
1670 echo "$as_me:$LINENO: result: no" >&5
1671 echo "${ECHO_T}no" >&6
1680 if test -z "$CC"; then
1681 # Extract the first word of "cc", so it can be a program name with args.
1682 set dummy cc; ac_word=$2
1683 echo "$as_me:$LINENO: checking for $ac_word" >&5
1684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1685 if test "${ac_cv_prog_CC+set}" = set; then
1686 echo $ECHO_N "(cached) $ECHO_C" >&6
1688 if test -n "$CC"; then
1689 ac_cv_prog_CC="$CC" # Let the user override the test.
1692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1696 test -z "$as_dir" && as_dir=.
1697 for ac_exec_ext in '' $ac_executable_extensions; do
1698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1699 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1700 ac_prog_rejected=yes
1704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1710 if test $ac_prog_rejected = yes; then
1711 # We found a bogon in the path, so make sure we never use it.
1712 set dummy $ac_cv_prog_CC
1714 if test $# != 0; then
1715 # We chose a different compiler from the bogus one.
1716 # However, it has the same basename, so the bogon will be chosen
1717 # first if we set CC to just the basename; use the full file name.
1719 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1725 if test -n "$CC"; then
1726 echo "$as_me:$LINENO: result: $CC" >&5
1727 echo "${ECHO_T}$CC" >&6
1729 echo "$as_me:$LINENO: result: no" >&5
1730 echo "${ECHO_T}no" >&6
1734 if test -z "$CC"; then
1735 if test -n "$ac_tool_prefix"; then
1738 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1739 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1740 echo "$as_me:$LINENO: checking for $ac_word" >&5
1741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1742 if test "${ac_cv_prog_CC+set}" = set; then
1743 echo $ECHO_N "(cached) $ECHO_C" >&6
1745 if test -n "$CC"; then
1746 ac_cv_prog_CC="$CC" # Let the user override the test.
1748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1752 test -z "$as_dir" && as_dir=.
1753 for ac_exec_ext in '' $ac_executable_extensions; do
1754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1755 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1765 if test -n "$CC"; then
1766 echo "$as_me:$LINENO: result: $CC" >&5
1767 echo "${ECHO_T}$CC" >&6
1769 echo "$as_me:$LINENO: result: no" >&5
1770 echo "${ECHO_T}no" >&6
1773 test -n "$CC" && break
1776 if test -z "$CC"; then
1780 # Extract the first word of "$ac_prog", so it can be a program name with args.
1781 set dummy $ac_prog; ac_word=$2
1782 echo "$as_me:$LINENO: checking for $ac_word" >&5
1783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1784 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1785 echo $ECHO_N "(cached) $ECHO_C" >&6
1787 if test -n "$ac_ct_CC"; then
1788 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1794 test -z "$as_dir" && as_dir=.
1795 for ac_exec_ext in '' $ac_executable_extensions; do
1796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1797 ac_cv_prog_ac_ct_CC="$ac_prog"
1798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1806 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1807 if test -n "$ac_ct_CC"; then
1808 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1809 echo "${ECHO_T}$ac_ct_CC" >&6
1811 echo "$as_me:$LINENO: result: no" >&5
1812 echo "${ECHO_T}no" >&6
1815 test -n "$ac_ct_CC" && break
1824 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1825 See \`config.log' for more details." >&5
1826 echo "$as_me: error: no acceptable C compiler found in \$PATH
1827 See \`config.log' for more details." >&2;}
1828 { (exit 1); exit 1; }; }
1830 # Provide some information about the compiler.
1831 echo "$as_me:$LINENO:" \
1832 "checking for C compiler version" >&5
1833 ac_compiler=`set X $ac_compile; echo $2`
1834 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1835 (eval $ac_compiler --version </dev/null >&5) 2>&5
1837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1838 (exit $ac_status); }
1839 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1840 (eval $ac_compiler -v </dev/null >&5) 2>&5
1842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1843 (exit $ac_status); }
1844 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1845 (eval $ac_compiler -V </dev/null >&5) 2>&5
1847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1848 (exit $ac_status); }
1850 cat >conftest.$ac_ext <<_ACEOF
1853 cat confdefs.h >>conftest.$ac_ext
1854 cat >>conftest.$ac_ext <<_ACEOF
1855 /* end confdefs.h. */
1865 ac_clean_files_save=$ac_clean_files
1866 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1867 # Try to create an executable without -o first, disregard a.out.
1868 # It will help us diagnose broken compilers, and finding out an intuition
1870 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1871 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1872 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1873 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1874 (eval $ac_link_default) 2>&5
1876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1877 (exit $ac_status); }; then
1878 # Find the output, starting from the most likely. This scheme is
1879 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1882 # Be careful to initialize this variable, since it used to be cached.
1883 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1885 # b.out is created by i960 compilers.
1886 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1888 test -f "$ac_file" || continue
1890 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1893 # This is the source file.
1896 # We found the default executable, but exeext='' is most
1900 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1901 # FIXME: I believe we export ac_cv_exeext for Libtool,
1902 # but it would be cool to find out if it's true. Does anybody
1903 # maintain Libtool? --akim.
1911 echo "$as_me: failed program was:" >&5
1912 sed 's/^/| /' conftest.$ac_ext >&5
1914 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1915 See \`config.log' for more details." >&5
1916 echo "$as_me: error: C compiler cannot create executables
1917 See \`config.log' for more details." >&2;}
1918 { (exit 77); exit 77; }; }
1921 ac_exeext=$ac_cv_exeext
1922 echo "$as_me:$LINENO: result: $ac_file" >&5
1923 echo "${ECHO_T}$ac_file" >&6
1925 # Check the compiler produces executables we can run. If not, either
1926 # the compiler is broken, or we cross compile.
1927 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1928 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1929 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1930 # If not cross compiling, check that we can run a simple program.
1931 if test "$cross_compiling" != yes; then
1932 if { ac_try='./$ac_file'
1933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1937 (exit $ac_status); }; }; then
1940 if test "$cross_compiling" = maybe; then
1943 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1944 If you meant to cross compile, use \`--host'.
1945 See \`config.log' for more details." >&5
1946 echo "$as_me: error: cannot run C compiled programs.
1947 If you meant to cross compile, use \`--host'.
1948 See \`config.log' for more details." >&2;}
1949 { (exit 1); exit 1; }; }
1953 echo "$as_me:$LINENO: result: yes" >&5
1954 echo "${ECHO_T}yes" >&6
1956 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1957 ac_clean_files=$ac_clean_files_save
1958 # Check the compiler produces executables we can run. If not, either
1959 # the compiler is broken, or we cross compile.
1960 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1961 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1962 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1963 echo "${ECHO_T}$cross_compiling" >&6
1965 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1966 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1968 (eval $ac_link) 2>&5
1970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1971 (exit $ac_status); }; then
1972 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1973 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1974 # work properly (i.e., refer to `conftest.exe'), while it won't with
1976 for ac_file in conftest.exe conftest conftest.*; do
1977 test -f "$ac_file" || continue
1979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1980 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1987 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1988 See \`config.log' for more details." >&5
1989 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1990 See \`config.log' for more details." >&2;}
1991 { (exit 1); exit 1; }; }
1994 rm -f conftest$ac_cv_exeext
1995 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1996 echo "${ECHO_T}$ac_cv_exeext" >&6
1998 rm -f conftest.$ac_ext
1999 EXEEXT=$ac_cv_exeext
2001 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2002 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2003 if test "${ac_cv_objext+set}" = set; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2006 cat >conftest.$ac_ext <<_ACEOF
2009 cat confdefs.h >>conftest.$ac_ext
2010 cat >>conftest.$ac_ext <<_ACEOF
2011 /* end confdefs.h. */
2021 rm -f conftest.o conftest.obj
2022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2023 (eval $ac_compile) 2>&5
2025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2026 (exit $ac_status); }; then
2027 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2029 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2030 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2035 echo "$as_me: failed program was:" >&5
2036 sed 's/^/| /' conftest.$ac_ext >&5
2038 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2039 See \`config.log' for more details." >&5
2040 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2041 See \`config.log' for more details." >&2;}
2042 { (exit 1); exit 1; }; }
2045 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2047 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2048 echo "${ECHO_T}$ac_cv_objext" >&6
2049 OBJEXT=$ac_cv_objext
2051 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2052 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2053 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2054 echo $ECHO_N "(cached) $ECHO_C" >&6
2056 cat >conftest.$ac_ext <<_ACEOF
2059 cat confdefs.h >>conftest.$ac_ext
2060 cat >>conftest.$ac_ext <<_ACEOF
2061 /* end confdefs.h. */
2074 rm -f conftest.$ac_objext
2075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2076 (eval $ac_compile) 2>conftest.er1
2078 grep -v '^ *+' conftest.er1 >conftest.err
2080 cat conftest.err >&5
2081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2082 (exit $ac_status); } &&
2083 { ac_try='test -z "$ac_c_werror_flag"
2084 || test ! -s conftest.err'
2085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; } &&
2090 { ac_try='test -s conftest.$ac_objext'
2091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2095 (exit $ac_status); }; }; then
2098 echo "$as_me: failed program was:" >&5
2099 sed 's/^/| /' conftest.$ac_ext >&5
2103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2104 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2107 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2108 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2109 GCC=`test $ac_compiler_gnu = yes && echo yes`
2110 ac_test_CFLAGS=${CFLAGS+set}
2111 ac_save_CFLAGS=$CFLAGS
2113 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2114 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2115 if test "${ac_cv_prog_cc_g+set}" = set; then
2116 echo $ECHO_N "(cached) $ECHO_C" >&6
2118 cat >conftest.$ac_ext <<_ACEOF
2121 cat confdefs.h >>conftest.$ac_ext
2122 cat >>conftest.$ac_ext <<_ACEOF
2123 /* end confdefs.h. */
2133 rm -f conftest.$ac_objext
2134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2135 (eval $ac_compile) 2>conftest.er1
2137 grep -v '^ *+' conftest.er1 >conftest.err
2139 cat conftest.err >&5
2140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141 (exit $ac_status); } &&
2142 { ac_try='test -z "$ac_c_werror_flag"
2143 || test ! -s conftest.err'
2144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2148 (exit $ac_status); }; } &&
2149 { ac_try='test -s conftest.$ac_objext'
2150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154 (exit $ac_status); }; }; then
2157 echo "$as_me: failed program was:" >&5
2158 sed 's/^/| /' conftest.$ac_ext >&5
2162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2164 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2165 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2166 if test "$ac_test_CFLAGS" = set; then
2167 CFLAGS=$ac_save_CFLAGS
2168 elif test $ac_cv_prog_cc_g = yes; then
2169 if test "$GCC" = yes; then
2175 if test "$GCC" = yes; then
2181 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2182 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2183 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2186 ac_cv_prog_cc_stdc=no
2188 cat >conftest.$ac_ext <<_ACEOF
2191 cat confdefs.h >>conftest.$ac_ext
2192 cat >>conftest.$ac_ext <<_ACEOF
2193 /* end confdefs.h. */
2196 #include <sys/types.h>
2197 #include <sys/stat.h>
2198 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2199 struct buf { int x; };
2200 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2201 static char *e (p, i)
2207 static char *f (char * (*g) (char **, int), char **p, ...)
2212 s = g (p, va_arg (v,int));
2217 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2218 function prototypes and stuff, but not '\xHH' hex character constants.
2219 These don't provoke an error unfortunately, instead are silently treated
2220 as 'x'. The following induces an error, until -std1 is added to get
2221 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2222 array size at least. It's necessary to write '\x00'==0 to get something
2223 that's true only with -std1. */
2224 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2226 int test (int i, double x);
2227 struct s1 {int (*f) (int a);};
2228 struct s2 {int (*f) (double a);};
2229 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2235 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2240 # Don't try gcc -ansi; that turns off useful extensions and
2241 # breaks some systems' header files.
2242 # AIX -qlanglvl=ansi
2243 # Ultrix and OSF/1 -std1
2244 # HP-UX 10.20 and later -Ae
2245 # HP-UX older versions -Aa -D_HPUX_SOURCE
2246 # SVR4 -Xc -D__EXTENSIONS__
2247 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2249 CC="$ac_save_CC $ac_arg"
2250 rm -f conftest.$ac_objext
2251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2252 (eval $ac_compile) 2>conftest.er1
2254 grep -v '^ *+' conftest.er1 >conftest.err
2256 cat conftest.err >&5
2257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2258 (exit $ac_status); } &&
2259 { ac_try='test -z "$ac_c_werror_flag"
2260 || test ! -s conftest.err'
2261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2265 (exit $ac_status); }; } &&
2266 { ac_try='test -s conftest.$ac_objext'
2267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }; }; then
2272 ac_cv_prog_cc_stdc=$ac_arg
2275 echo "$as_me: failed program was:" >&5
2276 sed 's/^/| /' conftest.$ac_ext >&5
2279 rm -f conftest.err conftest.$ac_objext
2281 rm -f conftest.$ac_ext conftest.$ac_objext
2286 case "x$ac_cv_prog_cc_stdc" in
2288 echo "$as_me:$LINENO: result: none needed" >&5
2289 echo "${ECHO_T}none needed" >&6 ;;
2291 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2292 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2293 CC="$CC $ac_cv_prog_cc_stdc" ;;
2296 # Some people use a C++ compiler to compile C. Since we use `exit',
2297 # in C++ we need to declare it. In case someone uses the same compiler
2298 # for both compiling C and C++ we need to have the C++ compiler decide
2299 # the declaration of exit, since it's the most demanding environment.
2300 cat >conftest.$ac_ext <<_ACEOF
2305 rm -f conftest.$ac_objext
2306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2307 (eval $ac_compile) 2>conftest.er1
2309 grep -v '^ *+' conftest.er1 >conftest.err
2311 cat conftest.err >&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); } &&
2314 { ac_try='test -z "$ac_c_werror_flag"
2315 || test ! -s conftest.err'
2316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }; } &&
2321 { ac_try='test -s conftest.$ac_objext'
2322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 (exit $ac_status); }; }; then
2327 for ac_declaration in \
2329 'extern "C" void std::exit (int) throw (); using std::exit;' \
2330 'extern "C" void std::exit (int); using std::exit;' \
2331 'extern "C" void exit (int) throw ();' \
2332 'extern "C" void exit (int);' \
2335 cat >conftest.$ac_ext <<_ACEOF
2338 cat confdefs.h >>conftest.$ac_ext
2339 cat >>conftest.$ac_ext <<_ACEOF
2340 /* end confdefs.h. */
2351 rm -f conftest.$ac_objext
2352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2353 (eval $ac_compile) 2>conftest.er1
2355 grep -v '^ *+' conftest.er1 >conftest.err
2357 cat conftest.err >&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); } &&
2360 { ac_try='test -z "$ac_c_werror_flag"
2361 || test ! -s conftest.err'
2362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }; } &&
2367 { ac_try='test -s conftest.$ac_objext'
2368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }; }; then
2375 echo "$as_me: failed program was:" >&5
2376 sed 's/^/| /' conftest.$ac_ext >&5
2380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2381 cat >conftest.$ac_ext <<_ACEOF
2384 cat confdefs.h >>conftest.$ac_ext
2385 cat >>conftest.$ac_ext <<_ACEOF
2386 /* end confdefs.h. */
2396 rm -f conftest.$ac_objext
2397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2398 (eval $ac_compile) 2>conftest.er1
2400 grep -v '^ *+' conftest.er1 >conftest.err
2402 cat conftest.err >&5
2403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2404 (exit $ac_status); } &&
2405 { ac_try='test -z "$ac_c_werror_flag"
2406 || test ! -s conftest.err'
2407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2411 (exit $ac_status); }; } &&
2412 { ac_try='test -s conftest.$ac_objext'
2413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); }; }; then
2420 echo "$as_me: failed program was:" >&5
2421 sed 's/^/| /' conftest.$ac_ext >&5
2424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2427 if test -n "$ac_declaration"; then
2428 echo '#ifdef __cplusplus' >>confdefs.h
2429 echo $ac_declaration >>confdefs.h
2430 echo '#endif' >>confdefs.h
2434 echo "$as_me: failed program was:" >&5
2435 sed 's/^/| /' conftest.$ac_ext >&5
2438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2440 ac_cpp='$CPP $CPPFLAGS'
2441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2446 ac_cpp='$CXXCPP $CPPFLAGS'
2447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2450 if test -n "$ac_tool_prefix"; then
2451 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2453 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2454 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2455 echo "$as_me:$LINENO: checking for $ac_word" >&5
2456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2457 if test "${ac_cv_prog_CXX+set}" = set; then
2458 echo $ECHO_N "(cached) $ECHO_C" >&6
2460 if test -n "$CXX"; then
2461 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2467 test -z "$as_dir" && as_dir=.
2468 for ac_exec_ext in '' $ac_executable_extensions; do
2469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2470 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2480 if test -n "$CXX"; then
2481 echo "$as_me:$LINENO: result: $CXX" >&5
2482 echo "${ECHO_T}$CXX" >&6
2484 echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6
2488 test -n "$CXX" && break
2491 if test -z "$CXX"; then
2493 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2495 # Extract the first word of "$ac_prog", so it can be a program name with args.
2496 set dummy $ac_prog; ac_word=$2
2497 echo "$as_me:$LINENO: checking for $ac_word" >&5
2498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2499 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2500 echo $ECHO_N "(cached) $ECHO_C" >&6
2502 if test -n "$ac_ct_CXX"; then
2503 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509 test -z "$as_dir" && as_dir=.
2510 for ac_exec_ext in '' $ac_executable_extensions; do
2511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2512 ac_cv_prog_ac_ct_CXX="$ac_prog"
2513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2521 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2522 if test -n "$ac_ct_CXX"; then
2523 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2524 echo "${ECHO_T}$ac_ct_CXX" >&6
2526 echo "$as_me:$LINENO: result: no" >&5
2527 echo "${ECHO_T}no" >&6
2530 test -n "$ac_ct_CXX" && break
2532 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2538 # Provide some information about the compiler.
2539 echo "$as_me:$LINENO:" \
2540 "checking for C++ compiler version" >&5
2541 ac_compiler=`set X $ac_compile; echo $2`
2542 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2543 (eval $ac_compiler --version </dev/null >&5) 2>&5
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }
2547 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2548 (eval $ac_compiler -v </dev/null >&5) 2>&5
2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); }
2552 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2553 (eval $ac_compiler -V </dev/null >&5) 2>&5
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); }
2558 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2559 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2560 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2563 cat >conftest.$ac_ext <<_ACEOF
2566 cat confdefs.h >>conftest.$ac_ext
2567 cat >>conftest.$ac_ext <<_ACEOF
2568 /* end confdefs.h. */
2581 rm -f conftest.$ac_objext
2582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2583 (eval $ac_compile) 2>conftest.er1
2585 grep -v '^ *+' conftest.er1 >conftest.err
2587 cat conftest.err >&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); } &&
2590 { ac_try='test -z "$ac_cxx_werror_flag"
2591 || test ! -s conftest.err'
2592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }; } &&
2597 { ac_try='test -s conftest.$ac_objext'
2598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; }; then
2605 echo "$as_me: failed program was:" >&5
2606 sed 's/^/| /' conftest.$ac_ext >&5
2610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2611 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2614 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2615 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2616 GXX=`test $ac_compiler_gnu = yes && echo yes`
2617 ac_test_CXXFLAGS=${CXXFLAGS+set}
2618 ac_save_CXXFLAGS=$CXXFLAGS
2620 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2621 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2622 if test "${ac_cv_prog_cxx_g+set}" = set; then
2623 echo $ECHO_N "(cached) $ECHO_C" >&6
2625 cat >conftest.$ac_ext <<_ACEOF
2628 cat confdefs.h >>conftest.$ac_ext
2629 cat >>conftest.$ac_ext <<_ACEOF
2630 /* end confdefs.h. */
2640 rm -f conftest.$ac_objext
2641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2642 (eval $ac_compile) 2>conftest.er1
2644 grep -v '^ *+' conftest.er1 >conftest.err
2646 cat conftest.err >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); } &&
2649 { ac_try='test -z "$ac_cxx_werror_flag"
2650 || test ! -s conftest.err'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; } &&
2656 { ac_try='test -s conftest.$ac_objext'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; }; then
2662 ac_cv_prog_cxx_g=yes
2664 echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.$ac_ext >&5
2669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2671 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2672 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2673 if test "$ac_test_CXXFLAGS" = set; then
2674 CXXFLAGS=$ac_save_CXXFLAGS
2675 elif test $ac_cv_prog_cxx_g = yes; then
2676 if test "$GXX" = yes; then
2682 if test "$GXX" = yes; then
2688 for ac_declaration in \
2690 'extern "C" void std::exit (int) throw (); using std::exit;' \
2691 'extern "C" void std::exit (int); using std::exit;' \
2692 'extern "C" void exit (int) throw ();' \
2693 'extern "C" void exit (int);' \
2696 cat >conftest.$ac_ext <<_ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2712 rm -f conftest.$ac_objext
2713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2714 (eval $ac_compile) 2>conftest.er1
2716 grep -v '^ *+' conftest.er1 >conftest.err
2718 cat conftest.err >&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); } &&
2721 { ac_try='test -z "$ac_cxx_werror_flag"
2722 || test ! -s conftest.err'
2723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 (exit $ac_status); }; } &&
2728 { ac_try='test -s conftest.$ac_objext'
2729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; }; then
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2742 cat >conftest.$ac_ext <<_ACEOF
2745 cat confdefs.h >>conftest.$ac_ext
2746 cat >>conftest.$ac_ext <<_ACEOF
2747 /* end confdefs.h. */
2757 rm -f conftest.$ac_objext
2758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2759 (eval $ac_compile) 2>conftest.er1
2761 grep -v '^ *+' conftest.er1 >conftest.err
2763 cat conftest.err >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); } &&
2766 { ac_try='test -z "$ac_cxx_werror_flag"
2767 || test ! -s conftest.err'
2768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); }; } &&
2773 { ac_try='test -s conftest.$ac_objext'
2774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); }; }; then
2781 echo "$as_me: failed program was:" >&5
2782 sed 's/^/| /' conftest.$ac_ext >&5
2785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2788 if test -n "$ac_declaration"; then
2789 echo '#ifdef __cplusplus' >>confdefs.h
2790 echo $ac_declaration >>confdefs.h
2791 echo '#endif' >>confdefs.h
2795 ac_cpp='$CPP $CPPFLAGS'
2796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2800 if test "x$CC" != xcc; then
2801 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
2802 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
2804 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
2805 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
2807 set dummy $CC; ac_cc=`echo $2 |
2808 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
2809 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
2810 echo $ECHO_N "(cached) $ECHO_C" >&6
2812 cat >conftest.$ac_ext <<_ACEOF
2815 cat confdefs.h >>conftest.$ac_ext
2816 cat >>conftest.$ac_ext <<_ACEOF
2817 /* end confdefs.h. */
2827 # Make sure it works both with $CC and with simple cc.
2828 # We do the test twice because some compilers refuse to overwrite an
2829 # existing .o file with -o, though they will create one.
2830 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
2831 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2835 (exit $ac_status); } &&
2836 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); };
2842 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
2843 if test "x$CC" != xcc; then
2844 # Test first that cc exists at all.
2845 if { ac_try='cc -c conftest.$ac_ext >&5'
2846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); }; }; then
2851 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
2852 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); } &&
2857 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2861 (exit $ac_status); };
2866 # cc exists but doesn't like -o.
2867 eval ac_cv_prog_cc_${ac_cc}_c_o=no
2872 eval ac_cv_prog_cc_${ac_cc}_c_o=no
2877 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
2878 echo "$as_me:$LINENO: result: yes" >&5
2879 echo "${ECHO_T}yes" >&6
2881 echo "$as_me:$LINENO: result: no" >&5
2882 echo "${ECHO_T}no" >&6
2884 cat >>confdefs.h <<\_ACEOF
2885 #define NO_MINUS_C_MINUS_O 1
2891 ac_cpp='$CPP $CPPFLAGS'
2892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2895 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2896 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2897 # On Suns, sometimes $CPP names a directory.
2898 if test -n "$CPP" && test -d "$CPP"; then
2901 if test -z "$CPP"; then
2902 if test "${ac_cv_prog_CPP+set}" = set; then
2903 echo $ECHO_N "(cached) $ECHO_C" >&6
2905 # Double quotes because CPP needs to be expanded
2906 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2909 for ac_c_preproc_warn_flag in '' yes
2911 # Use a header file that comes with gcc, so configuring glibc
2912 # with a fresh cross-compiler works.
2913 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2914 # <limits.h> exists even on freestanding compilers.
2915 # On the NeXT, cc -E runs the code through the compiler's parser,
2916 # not just through cpp. "Syntax error" is here to catch this case.
2917 cat >conftest.$ac_ext <<_ACEOF
2920 cat confdefs.h >>conftest.$ac_ext
2921 cat >>conftest.$ac_ext <<_ACEOF
2922 /* end confdefs.h. */
2924 # include <limits.h>
2926 # include <assert.h>
2930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2931 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2933 grep -v '^ *+' conftest.er1 >conftest.err
2935 cat conftest.err >&5
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); } >/dev/null; then
2938 if test -s conftest.err; then
2939 ac_cpp_err=$ac_c_preproc_warn_flag
2940 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2947 if test -z "$ac_cpp_err"; then
2950 echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.$ac_ext >&5
2953 # Broken: fails on valid input.
2956 rm -f conftest.err conftest.$ac_ext
2958 # OK, works on sane cases. Now check whether non-existent headers
2959 # can be detected and how.
2960 cat >conftest.$ac_ext <<_ACEOF
2963 cat confdefs.h >>conftest.$ac_ext
2964 cat >>conftest.$ac_ext <<_ACEOF
2965 /* end confdefs.h. */
2966 #include <ac_nonexistent.h>
2968 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2969 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2971 grep -v '^ *+' conftest.er1 >conftest.err
2973 cat conftest.err >&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); } >/dev/null; then
2976 if test -s conftest.err; then
2977 ac_cpp_err=$ac_c_preproc_warn_flag
2978 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2985 if test -z "$ac_cpp_err"; then
2986 # Broken: success on invalid input.
2989 echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2992 # Passes both tests.
2996 rm -f conftest.err conftest.$ac_ext
2999 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3000 rm -f conftest.err conftest.$ac_ext
3001 if $ac_preproc_ok; then
3013 echo "$as_me:$LINENO: result: $CPP" >&5
3014 echo "${ECHO_T}$CPP" >&6
3016 for ac_c_preproc_warn_flag in '' yes
3018 # Use a header file that comes with gcc, so configuring glibc
3019 # with a fresh cross-compiler works.
3020 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3021 # <limits.h> exists even on freestanding compilers.
3022 # On the NeXT, cc -E runs the code through the compiler's parser,
3023 # not just through cpp. "Syntax error" is here to catch this case.
3024 cat >conftest.$ac_ext <<_ACEOF
3027 cat confdefs.h >>conftest.$ac_ext
3028 cat >>conftest.$ac_ext <<_ACEOF
3029 /* end confdefs.h. */
3031 # include <limits.h>
3033 # include <assert.h>
3037 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3038 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3040 grep -v '^ *+' conftest.er1 >conftest.err
3042 cat conftest.err >&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } >/dev/null; then
3045 if test -s conftest.err; then
3046 ac_cpp_err=$ac_c_preproc_warn_flag
3047 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3054 if test -z "$ac_cpp_err"; then
3057 echo "$as_me: failed program was:" >&5
3058 sed 's/^/| /' conftest.$ac_ext >&5
3060 # Broken: fails on valid input.
3063 rm -f conftest.err conftest.$ac_ext
3065 # OK, works on sane cases. Now check whether non-existent headers
3066 # can be detected and how.
3067 cat >conftest.$ac_ext <<_ACEOF
3070 cat confdefs.h >>conftest.$ac_ext
3071 cat >>conftest.$ac_ext <<_ACEOF
3072 /* end confdefs.h. */
3073 #include <ac_nonexistent.h>
3075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3078 grep -v '^ *+' conftest.er1 >conftest.err
3080 cat conftest.err >&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); } >/dev/null; then
3083 if test -s conftest.err; then
3084 ac_cpp_err=$ac_c_preproc_warn_flag
3085 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3092 if test -z "$ac_cpp_err"; then
3093 # Broken: success on invalid input.
3096 echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3099 # Passes both tests.
3103 rm -f conftest.err conftest.$ac_ext
3106 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3107 rm -f conftest.err conftest.$ac_ext
3108 if $ac_preproc_ok; then
3111 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3112 See \`config.log' for more details." >&5
3113 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3114 See \`config.log' for more details." >&2;}
3115 { (exit 1); exit 1; }; }
3119 ac_cpp='$CPP $CPPFLAGS'
3120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3125 echo "$as_me:$LINENO: checking for egrep" >&5
3126 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3127 if test "${ac_cv_prog_egrep+set}" = set; then
3128 echo $ECHO_N "(cached) $ECHO_C" >&6
3130 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3131 then ac_cv_prog_egrep='grep -E'
3132 else ac_cv_prog_egrep='egrep'
3135 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3136 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3137 EGREP=$ac_cv_prog_egrep
3140 if test $ac_cv_c_compiler_gnu = yes; then
3141 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3142 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3143 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3144 echo $ECHO_N "(cached) $ECHO_C" >&6
3146 ac_pattern="Autoconf.*'x'"
3147 cat >conftest.$ac_ext <<_ACEOF
3150 cat confdefs.h >>conftest.$ac_ext
3151 cat >>conftest.$ac_ext <<_ACEOF
3152 /* end confdefs.h. */
3156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3157 $EGREP "$ac_pattern" >/dev/null 2>&1; then
3158 ac_cv_prog_gcc_traditional=yes
3160 ac_cv_prog_gcc_traditional=no
3165 if test $ac_cv_prog_gcc_traditional = no; then
3166 cat >conftest.$ac_ext <<_ACEOF
3169 cat confdefs.h >>conftest.$ac_ext
3170 cat >>conftest.$ac_ext <<_ACEOF
3171 /* end confdefs.h. */
3175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3176 $EGREP "$ac_pattern" >/dev/null 2>&1; then
3177 ac_cv_prog_gcc_traditional=yes
3183 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3184 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3185 if test $ac_cv_prog_gcc_traditional = yes; then
3186 CC="$CC -traditional"
3190 if test "x$CC" = xgcc
3192 cat >>confdefs.h <<\_ACEOF
3198 # Find a good install program. We prefer a C program (faster),
3199 # so one script is as good as another. But avoid the broken or
3200 # incompatible versions:
3201 # SysV /etc/install, /usr/sbin/install
3202 # SunOS /usr/etc/install
3203 # IRIX /sbin/install
3205 # AmigaOS /C/install, which installs bootblocks on floppy discs
3206 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3207 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3208 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3209 # OS/2's system install, which has a completely different semantic
3210 # ./install, which can be erroneously created by make from ./install.sh.
3211 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3212 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3213 if test -z "$INSTALL"; then
3214 if test "${ac_cv_path_install+set}" = set; then
3215 echo $ECHO_N "(cached) $ECHO_C" >&6
3217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221 test -z "$as_dir" && as_dir=.
3222 # Account for people who put trailing slashes in PATH elements.
3224 ./ | .// | /cC/* | \
3225 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3226 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3229 # OSF1 and SCO ODT 3.0 have their own names for install.
3230 # Don't use installbsd from OSF since it installs stuff as root
3232 for ac_prog in ginstall scoinst install; do
3233 for ac_exec_ext in '' $ac_executable_extensions; do
3234 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3235 if test $ac_prog = install &&
3236 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3237 # AIX install. It has an incompatible calling convention.
3239 elif test $ac_prog = install &&
3240 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3241 # program-specific install script used by HP pwplus--don't use.
3244 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3256 if test "${ac_cv_path_install+set}" = set; then
3257 INSTALL=$ac_cv_path_install
3259 # As a last resort, use the slow shell script. We don't cache a
3260 # path for INSTALL within a source directory, because that will
3261 # break other packages using the cache if that directory is
3262 # removed, or if the path is relative.
3263 INSTALL=$ac_install_sh
3266 echo "$as_me:$LINENO: result: $INSTALL" >&5
3267 echo "${ECHO_T}$INSTALL" >&6
3269 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3270 # It thinks the first close brace ends the variable substitution.
3271 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3273 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3275 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3277 if test -n "$ac_tool_prefix"; then
3278 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3279 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3280 echo "$as_me:$LINENO: checking for $ac_word" >&5
3281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3282 if test "${ac_cv_prog_RANLIB+set}" = set; then
3283 echo $ECHO_N "(cached) $ECHO_C" >&6
3285 if test -n "$RANLIB"; then
3286 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292 test -z "$as_dir" && as_dir=.
3293 for ac_exec_ext in '' $ac_executable_extensions; do
3294 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3295 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3304 RANLIB=$ac_cv_prog_RANLIB
3305 if test -n "$RANLIB"; then
3306 echo "$as_me:$LINENO: result: $RANLIB" >&5
3307 echo "${ECHO_T}$RANLIB" >&6
3309 echo "$as_me:$LINENO: result: no" >&5
3310 echo "${ECHO_T}no" >&6
3314 if test -z "$ac_cv_prog_RANLIB"; then
3315 ac_ct_RANLIB=$RANLIB
3316 # Extract the first word of "ranlib", so it can be a program name with args.
3317 set dummy ranlib; ac_word=$2
3318 echo "$as_me:$LINENO: checking for $ac_word" >&5
3319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3320 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3321 echo $ECHO_N "(cached) $ECHO_C" >&6
3323 if test -n "$ac_ct_RANLIB"; then
3324 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3330 test -z "$as_dir" && as_dir=.
3331 for ac_exec_ext in '' $ac_executable_extensions; do
3332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3333 ac_cv_prog_ac_ct_RANLIB="ranlib"
3334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3340 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3343 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3344 if test -n "$ac_ct_RANLIB"; then
3345 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3346 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3348 echo "$as_me:$LINENO: result: no" >&5
3349 echo "${ECHO_T}no" >&6
3352 RANLIB=$ac_ct_RANLIB
3354 RANLIB="$ac_cv_prog_RANLIB"
3357 # Extract the first word of "mv", so it can be a program name with args.
3358 set dummy mv; ac_word=$2
3359 echo "$as_me:$LINENO: checking for $ac_word" >&5
3360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3361 if test "${ac_cv_path_MV+set}" = set; then
3362 echo $ECHO_N "(cached) $ECHO_C" >&6
3366 ac_cv_path_MV="$MV" # Let the user override the test with a path.
3369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 test -z "$as_dir" && as_dir=.
3374 for ac_exec_ext in '' $ac_executable_extensions; do
3375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3376 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
3377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3383 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
3389 if test -n "$MV"; then
3390 echo "$as_me:$LINENO: result: $MV" >&5
3391 echo "${ECHO_T}$MV" >&6
3393 echo "$as_me:$LINENO: result: no" >&5
3394 echo "${ECHO_T}no" >&6
3397 # Extract the first word of "rm", so it can be a program name with args.
3398 set dummy rm; ac_word=$2
3399 echo "$as_me:$LINENO: checking for $ac_word" >&5
3400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3401 if test "${ac_cv_path_RM+set}" = set; then
3402 echo $ECHO_N "(cached) $ECHO_C" >&6
3406 ac_cv_path_RM="$RM" # Let the user override the test with a path.
3409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 test -z "$as_dir" && as_dir=.
3414 for ac_exec_ext in '' $ac_executable_extensions; do
3415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3416 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
3417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3423 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
3429 if test -n "$RM"; then
3430 echo "$as_me:$LINENO: result: $RM" >&5
3431 echo "${ECHO_T}$RM" >&6
3433 echo "$as_me:$LINENO: result: no" >&5
3434 echo "${ECHO_T}no" >&6
3437 # Extract the first word of "cp", so it can be a program name with args.
3438 set dummy cp; ac_word=$2
3439 echo "$as_me:$LINENO: checking for $ac_word" >&5
3440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3441 if test "${ac_cv_path_CP+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3446 ac_cv_path_CP="$CP" # Let the user override the test with a path.
3449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3453 test -z "$as_dir" && as_dir=.
3454 for ac_exec_ext in '' $ac_executable_extensions; do
3455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3456 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
3457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3463 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
3469 if test -n "$CP"; then
3470 echo "$as_me:$LINENO: result: $CP" >&5
3471 echo "${ECHO_T}$CP" >&6
3473 echo "$as_me:$LINENO: result: no" >&5
3474 echo "${ECHO_T}no" >&6
3477 # Extract the first word of "sed", so it can be a program name with args.
3478 set dummy sed; ac_word=$2
3479 echo "$as_me:$LINENO: checking for $ac_word" >&5
3480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3481 if test "${ac_cv_path_SED+set}" = set; then
3482 echo $ECHO_N "(cached) $ECHO_C" >&6
3486 ac_cv_path_SED="$SED" # Let the user override the test with a path.
3489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3493 test -z "$as_dir" && as_dir=.
3494 for ac_exec_ext in '' $ac_executable_extensions; do
3495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3496 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
3497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3503 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
3509 if test -n "$SED"; then
3510 echo "$as_me:$LINENO: result: $SED" >&5
3511 echo "${ECHO_T}$SED" >&6
3513 echo "$as_me:$LINENO: result: no" >&5
3514 echo "${ECHO_T}no" >&6
3517 # Extract the first word of "awk", so it can be a program name with args.
3518 set dummy awk; ac_word=$2
3519 echo "$as_me:$LINENO: checking for $ac_word" >&5
3520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3521 if test "${ac_cv_path_AWK+set}" = set; then
3522 echo $ECHO_N "(cached) $ECHO_C" >&6
3526 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
3529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 test -z "$as_dir" && as_dir=.
3534 for ac_exec_ext in '' $ac_executable_extensions; do
3535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3536 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
3537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 test -z "$ac_cv_path_AWK" && ac_cv_path_AWK="awk"
3549 if test -n "$AWK"; then
3550 echo "$as_me:$LINENO: result: $AWK" >&5
3551 echo "${ECHO_T}$AWK" >&6
3553 echo "$as_me:$LINENO: result: no" >&5
3554 echo "${ECHO_T}no" >&6
3557 # Extract the first word of "echo", so it can be a program name with args.
3558 set dummy echo; ac_word=$2
3559 echo "$as_me:$LINENO: checking for $ac_word" >&5
3560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3561 if test "${ac_cv_path_ECHO+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3566 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
3569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3573 test -z "$as_dir" && as_dir=.
3574 for ac_exec_ext in '' $ac_executable_extensions; do
3575 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3576 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
3577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
3587 ECHO=$ac_cv_path_ECHO
3589 if test -n "$ECHO"; then
3590 echo "$as_me:$LINENO: result: $ECHO" >&5
3591 echo "${ECHO_T}$ECHO" >&6
3593 echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6
3597 # Extract the first word of "cmp", so it can be a program name with args.
3598 set dummy cmp; ac_word=$2
3599 echo "$as_me:$LINENO: checking for $ac_word" >&5
3600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3601 if test "${ac_cv_path_CMP+set}" = set; then
3602 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
3609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3613 test -z "$as_dir" && as_dir=.
3614 for ac_exec_ext in '' $ac_executable_extensions; do
3615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3616 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
3617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
3629 if test -n "$CMP"; then
3630 echo "$as_me:$LINENO: result: $CMP" >&5
3631 echo "${ECHO_T}$CMP" >&6
3633 echo "$as_me:$LINENO: result: no" >&5
3634 echo "${ECHO_T}no" >&6
3637 # Extract the first word of "tbl", so it can be a program name with args.
3638 set dummy tbl; ac_word=$2
3639 echo "$as_me:$LINENO: checking for $ac_word" >&5
3640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3641 if test "${ac_cv_path_TBL+set}" = set; then
3642 echo $ECHO_N "(cached) $ECHO_C" >&6
3646 ac_cv_path_TBL="$TBL" # Let the user override the test with a path.
3649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3653 test -z "$as_dir" && as_dir=.
3654 for ac_exec_ext in '' $ac_executable_extensions; do
3655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3656 ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext"
3657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3663 test -z "$ac_cv_path_TBL" && ac_cv_path_TBL="tbl"
3669 if test -n "$TBL"; then
3670 echo "$as_me:$LINENO: result: $TBL" >&5
3671 echo "${ECHO_T}$TBL" >&6
3673 echo "$as_me:$LINENO: result: no" >&5
3674 echo "${ECHO_T}no" >&6
3677 # Extract the first word of "ar", so it can be a program name with args.
3678 set dummy ar; ac_word=$2
3679 echo "$as_me:$LINENO: checking for $ac_word" >&5
3680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3681 if test "${ac_cv_path_AR+set}" = set; then
3682 echo $ECHO_N "(cached) $ECHO_C" >&6
3686 ac_cv_path_AR="$AR" # Let the user override the test with a path.
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3696 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
3697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar"
3709 if test -n "$AR"; then
3710 echo "$as_me:$LINENO: result: $AR" >&5
3711 echo "${ECHO_T}$AR" >&6
3713 echo "$as_me:$LINENO: result: no" >&5
3714 echo "${ECHO_T}no" >&6
3717 # Extract the first word of "openssl", so it can be a program name with args.
3718 set dummy openssl; ac_word=$2
3719 echo "$as_me:$LINENO: checking for $ac_word" >&5
3720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3721 if test "${ac_cv_path_OPENSSL+set}" = set; then
3722 echo $ECHO_N "(cached) $ECHO_C" >&6
3726 ac_cv_path_OPENSSL="$OPENSSL" # Let the user override the test with a path.
3729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3733 test -z "$as_dir" && as_dir=.
3734 for ac_exec_ext in '' $ac_executable_extensions; do
3735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3736 ac_cv_path_OPENSSL="$as_dir/$ac_word$ac_exec_ext"
3737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 test -z "$ac_cv_path_OPENSSL" && ac_cv_path_OPENSSL="none"
3747 OPENSSL=$ac_cv_path_OPENSSL
3749 if test -n "$OPENSSL"; then
3750 echo "$as_me:$LINENO: result: $OPENSSL" >&5
3751 echo "${ECHO_T}$OPENSSL" >&6
3753 echo "$as_me:$LINENO: result: no" >&5
3754 echo "${ECHO_T}no" >&6
3757 # Extract the first word of "mtx", so it can be a program name with args.
3758 set dummy mtx; ac_word=$2
3759 echo "$as_me:$LINENO: checking for $ac_word" >&5
3760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3761 if test "${ac_cv_path_MTX+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3766 ac_cv_path_MTX="$MTX" # Let the user override the test with a path.
3769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3773 test -z "$as_dir" && as_dir=.
3774 for ac_exec_ext in '' $ac_executable_extensions; do
3775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3776 ac_cv_path_MTX="$as_dir/$ac_word$ac_exec_ext"
3777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 test -z "$ac_cv_path_MTX" && ac_cv_path_MTX="mtx"
3789 if test -n "$MTX"; then
3790 echo "$as_me:$LINENO: result: $MTX" >&5
3791 echo "${ECHO_T}$MTX" >&6
3793 echo "$as_me:$LINENO: result: no" >&5
3794 echo "${ECHO_T}no" >&6
3797 # Extract the first word of "mkisofs", so it can be a program name with args.
3798 set dummy mkisofs; ac_word=$2
3799 echo "$as_me:$LINENO: checking for $ac_word" >&5
3800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3801 if test "${ac_cv_path_MKISOFS+set}" = set; then
3802 echo $ECHO_N "(cached) $ECHO_C" >&6
3806 ac_cv_path_MKISOFS="$MKISOFS" # Let the user override the test with a path.
3809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3813 test -z "$as_dir" && as_dir=.
3814 for ac_exec_ext in '' $ac_executable_extensions; do
3815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3816 ac_cv_path_MKISOFS="$as_dir/$ac_word$ac_exec_ext"
3817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3823 test -z "$ac_cv_path_MKISOFS" && ac_cv_path_MKISOFS="mkisofs"
3827 MKISOFS=$ac_cv_path_MKISOFS
3829 if test -n "$MKISOFS"; then
3830 echo "$as_me:$LINENO: result: $MKISOFS" >&5
3831 echo "${ECHO_T}$MKISOFS" >&6
3833 echo "$as_me:$LINENO: result: no" >&5
3834 echo "${ECHO_T}no" >&6
3837 # Extract the first word of "python", so it can be a program name with args.
3838 set dummy python; ac_word=$2
3839 echo "$as_me:$LINENO: checking for $ac_word" >&5
3840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3841 if test "${ac_cv_path_PYTHON+set}" = set; then
3842 echo $ECHO_N "(cached) $ECHO_C" >&6
3846 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
3849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3853 test -z "$as_dir" && as_dir=.
3854 for ac_exec_ext in '' $ac_executable_extensions; do
3855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3856 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
3857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3863 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="python"
3867 PYTHON=$ac_cv_path_PYTHON
3869 if test -n "$PYTHON"; then
3870 echo "$as_me:$LINENO: result: $PYTHON" >&5
3871 echo "${ECHO_T}$PYTHON" >&6
3873 echo "$as_me:$LINENO: result: no" >&5
3874 echo "${ECHO_T}no" >&6
3877 # Extract the first word of "growisofs", so it can be a program name with args.
3878 set dummy growisofs; ac_word=$2
3879 echo "$as_me:$LINENO: checking for $ac_word" >&5
3880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3881 if test "${ac_cv_path_GROWISOFS+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3886 ac_cv_path_GROWISOFS="$GROWISOFS" # Let the user override the test with a path.
3889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3893 test -z "$as_dir" && as_dir=.
3894 for ac_exec_ext in '' $ac_executable_extensions; do
3895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3896 ac_cv_path_GROWISOFS="$as_dir/$ac_word$ac_exec_ext"
3897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3903 test -z "$ac_cv_path_GROWISOFS" && ac_cv_path_GROWISOFS="growisofs"
3907 GROWISOFS=$ac_cv_path_GROWISOFS
3909 if test -n "$GROWISOFS"; then
3910 echo "$as_me:$LINENO: result: $GROWISOFS" >&5
3911 echo "${ECHO_T}$GROWISOFS" >&6
3913 echo "$as_me:$LINENO: result: no" >&5
3914 echo "${ECHO_T}no" >&6
3917 # Extract the first word of "dvd+rw-mediainfo", so it can be a program name with args.
3918 set dummy dvd+rw-mediainfo; ac_word=$2
3919 echo "$as_me:$LINENO: checking for $ac_word" >&5
3920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3921 if test "${ac_cv_path_DVDRWMEDIAINFO+set}" = set; then
3922 echo $ECHO_N "(cached) $ECHO_C" >&6
3924 case $DVDRWMEDIAINFO in
3926 ac_cv_path_DVDRWMEDIAINFO="$DVDRWMEDIAINFO" # Let the user override the test with a path.
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933 test -z "$as_dir" && as_dir=.
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3936 ac_cv_path_DVDRWMEDIAINFO="$as_dir/$ac_word$ac_exec_ext"
3937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3943 test -z "$ac_cv_path_DVDRWMEDIAINFO" && ac_cv_path_DVDRWMEDIAINFO="dvd+rw-mediainfo"
3947 DVDRWMEDIAINFO=$ac_cv_path_DVDRWMEDIAINFO
3949 if test -n "$DVDRWMEDIAINFO"; then
3950 echo "$as_me:$LINENO: result: $DVDRWMEDIAINFO" >&5
3951 echo "${ECHO_T}$DVDRWMEDIAINFO" >&6
3953 echo "$as_me:$LINENO: result: no" >&5
3954 echo "${ECHO_T}no" >&6
3957 # Extract the first word of "pkg-config", so it can be a program name with args.
3958 set dummy pkg-config; ac_word=$2
3959 echo "$as_me:$LINENO: checking for $ac_word" >&5
3960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3961 if test "${ac_cv_path_PKGCONFIG+set}" = set; then
3962 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973 test -z "$as_dir" && as_dir=.
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
3977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3983 test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="pkg-config"
3987 PKGCONFIG=$ac_cv_path_PKGCONFIG
3989 if test -n "$PKGCONFIG"; then
3990 echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
3991 echo "${ECHO_T}$PKGCONFIG" >&6
3993 echo "$as_me:$LINENO: result: no" >&5
3994 echo "${ECHO_T}no" >&6
3997 # Extract the first word of "wx-config", so it can be a program name with args.
3998 set dummy wx-config; ac_word=$2
3999 echo "$as_me:$LINENO: checking for $ac_word" >&5
4000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4001 if test "${ac_cv_path_WXCONFIG+set}" = set; then
4002 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 ac_cv_path_WXCONFIG="$WXCONFIG" # Let the user override the test with a path.
4009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013 test -z "$as_dir" && as_dir=.
4014 for ac_exec_ext in '' $ac_executable_extensions; do
4015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4016 ac_cv_path_WXCONFIG="$as_dir/$ac_word$ac_exec_ext"
4017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4023 test -z "$ac_cv_path_WXCONFIG" && ac_cv_path_WXCONFIG="wx-config"
4027 WXCONFIG=$ac_cv_path_WXCONFIG
4029 if test -n "$WXCONFIG"; then
4030 echo "$as_me:$LINENO: result: $WXCONFIG" >&5
4031 echo "${ECHO_T}$WXCONFIG" >&6
4033 echo "$as_me:$LINENO: result: no" >&5
4034 echo "${ECHO_T}no" >&6
4037 # Extract the first word of "cdrecord", so it can be a program name with args.
4038 set dummy cdrecord; ac_word=$2
4039 echo "$as_me:$LINENO: checking for $ac_word" >&5
4040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4041 if test "${ac_cv_path_CDRECORD+set}" = set; then
4042 echo $ECHO_N "(cached) $ECHO_C" >&6
4046 ac_cv_path_CDRECORD="$CDRECORD" # Let the user override the test with a path.
4049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4053 test -z "$as_dir" && as_dir=.
4054 for ac_exec_ext in '' $ac_executable_extensions; do
4055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4056 ac_cv_path_CDRECORD="$as_dir/$ac_word$ac_exec_ext"
4057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4063 test -z "$ac_cv_path_CDRECORD" && ac_cv_path_CDRECORD="cdrecord"
4067 CDRECORD=$ac_cv_path_CDRECORD
4069 if test -n "$CDRECORD"; then
4070 echo "$as_me:$LINENO: result: $CDRECORD" >&5
4071 echo "${ECHO_T}$CDRECORD" >&6
4073 echo "$as_me:$LINENO: result: no" >&5
4074 echo "${ECHO_T}no" >&6
4077 # Extract the first word of "pidof", so it can be a program name with args.
4078 set dummy pidof; ac_word=$2
4079 echo "$as_me:$LINENO: checking for $ac_word" >&5
4080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4081 if test "${ac_cv_path_PIDOF+set}" = set; then
4082 echo $ECHO_N "(cached) $ECHO_C" >&6
4086 ac_cv_path_PIDOF="$PIDOF" # Let the user override the test with a path.
4089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4093 test -z "$as_dir" && as_dir=.
4094 for ac_exec_ext in '' $ac_executable_extensions; do
4095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4096 ac_cv_path_PIDOF="$as_dir/$ac_word$ac_exec_ext"
4097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4103 test -z "$ac_cv_path_PIDOF" && ac_cv_path_PIDOF="pidof"
4107 PIDOF=$ac_cv_path_PIDOF
4109 if test -n "$PIDOF"; then
4110 echo "$as_me:$LINENO: result: $PIDOF" >&5
4111 echo "${ECHO_T}$PIDOF" >&6
4113 echo "$as_me:$LINENO: result: no" >&5
4114 echo "${ECHO_T}no" >&6
4118 test -n "$ARFLAG" || ARFLAGS="cr"
4131 # Make sure we can run config.sub.
4132 $ac_config_sub sun4 >/dev/null 2>&1 ||
4133 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
4134 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
4135 { (exit 1); exit 1; }; }
4137 echo "$as_me:$LINENO: checking build system type" >&5
4138 echo $ECHO_N "checking build system type... $ECHO_C" >&6
4139 if test "${ac_cv_build+set}" = set; then
4140 echo $ECHO_N "(cached) $ECHO_C" >&6
4142 ac_cv_build_alias=$build_alias
4143 test -z "$ac_cv_build_alias" &&
4144 ac_cv_build_alias=`$ac_config_guess`
4145 test -z "$ac_cv_build_alias" &&
4146 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4147 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4148 { (exit 1); exit 1; }; }
4149 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
4150 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4151 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4152 { (exit 1); exit 1; }; }
4155 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4156 echo "${ECHO_T}$ac_cv_build" >&6
4158 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4159 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4160 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4164 echo "$as_me:$LINENO: checking host system type" >&5
4165 echo $ECHO_N "checking host system type... $ECHO_C" >&6
4166 if test "${ac_cv_host+set}" = set; then
4167 echo $ECHO_N "(cached) $ECHO_C" >&6
4169 ac_cv_host_alias=$host_alias
4170 test -z "$ac_cv_host_alias" &&
4171 ac_cv_host_alias=$ac_cv_build_alias
4172 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
4173 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4174 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4175 { (exit 1); exit 1; }; }
4178 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4179 echo "${ECHO_T}$ac_cv_host" >&6
4181 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4182 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4183 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4187 *cygwin* ) CYGWIN=yes;;
4191 if test $HAVE_UNAME=yes -a x`uname -s` = xSunOS
4197 HAVE_SUN_OS_FALSE='#'
4199 HAVE_SUN_OS_TRUE='#'
4202 cat >>confdefs.h <<\_ACEOF
4203 #define HAVE_SUN_OS 1
4211 HAVE_SUN_OS_FALSE='#'
4213 HAVE_SUN_OS_TRUE='#'
4218 if test $HAVE_UNAME=yes -a x`uname -s` = xOSF1
4224 HAVE_OSF1_OS_FALSE='#'
4226 HAVE_OSF1_OS_TRUE='#'
4229 cat >>confdefs.h <<\_ACEOF
4230 #define HAVE_OSF1_OS 1
4238 HAVE_OSF1_OS_FALSE='#'
4240 HAVE_OSF1_OS_TRUE='#'
4245 if test $HAVE_UNAME=yes -a x`uname -s` = xAIX
4251 HAVE_AIX_OS_FALSE='#'
4253 HAVE_AIX_OS_TRUE='#'
4256 cat >>confdefs.h <<\_ACEOF
4257 #define HAVE_AIX_OS 1
4265 HAVE_AIX_OS_FALSE='#'
4267 HAVE_AIX_OS_TRUE='#'
4272 if test $HAVE_UNAME=yes -a x`uname -s` = xHP-UX
4278 HAVE_HPUX_OS_FALSE='#'
4280 HAVE_HPUX_OS_TRUE='#'
4283 cat >>confdefs.h <<\_ACEOF
4284 #define HAVE_HPUX_OS 1
4292 HAVE_HPUX_OS_FALSE='#'
4294 HAVE_HPUX_OS_TRUE='#'
4299 if test $HAVE_UNAME=yes -a x`uname -s` = xLinux
4305 HAVE_LINUX_OS_FALSE='#'
4307 HAVE_LINUX_OS_TRUE='#'
4308 HAVE_LINUX_OS_FALSE=
4310 cat >>confdefs.h <<\_ACEOF
4311 #define HAVE_LINUX_OS 1
4319 HAVE_LINUX_OS_FALSE='#'
4321 HAVE_LINUX_OS_TRUE='#'
4322 HAVE_LINUX_OS_FALSE=
4326 if test $HAVE_UNAME=yes -a x`uname -s` = xFreeBSD
4331 HAVE_FREEBSD_OS_TRUE=
4332 HAVE_FREEBSD_OS_FALSE='#'
4334 HAVE_FREEBSD_OS_TRUE='#'
4335 HAVE_FREEBSD_OS_FALSE=
4337 cat >>confdefs.h <<\_ACEOF
4338 #define HAVE_FREEBSD_OS 1
4345 HAVE_FREEBSD_OS_TRUE=
4346 HAVE_FREEBSD_OS_FALSE='#'
4348 HAVE_FREEBSD_OS_TRUE='#'
4349 HAVE_FREEBSD_OS_FALSE=
4353 if test $HAVE_UNAME=yes -a x`uname -s` = xNetBSD
4358 HAVE_NETBSD_OS_TRUE=
4359 HAVE_NETBSD_OS_FALSE='#'
4361 HAVE_NETBSD_OS_TRUE='#'
4362 HAVE_NETBSD_OS_FALSE=
4364 cat >>confdefs.h <<\_ACEOF
4365 #define HAVE_NETBSD_OS 1
4372 HAVE_NETBSD_OS_TRUE=
4373 HAVE_NETBSD_OS_FALSE='#'
4375 HAVE_NETBSD_OS_TRUE='#'
4376 HAVE_NETBSD_OS_FALSE=
4380 if test $HAVE_UNAME=yes -a x`uname -s` = xOpenBSD
4385 HAVE_OPENBSD_OS_TRUE=
4386 HAVE_OPENBSD_OS_FALSE='#'
4388 HAVE_OPENBSD_OS_TRUE='#'
4389 HAVE_OPENBSD_OS_FALSE=
4391 cat >>confdefs.h <<\_ACEOF
4392 #define HAVE_OPENBSD_OS 1
4399 HAVE_OPENBSD_OS_TRUE=
4400 HAVE_OPENBSD_OS_FALSE='#'
4402 HAVE_OPENBSD_OS_TRUE='#'
4403 HAVE_OPENBSD_OS_FALSE=
4407 if test $HAVE_UNAME=yes -a x`uname -s` = xBSD/OS
4413 HAVE_BSDI_OS_FALSE='#'
4415 HAVE_BSDI_OS_TRUE='#'
4418 cat >>confdefs.h <<\_ACEOF
4419 #define HAVE_BSDI_OS 1
4427 HAVE_BSDI_OS_FALSE='#'
4429 HAVE_BSDI_OS_TRUE='#'
4434 if test $HAVE_UNAME=yes -a x`uname -s` = xSGI
4440 HAVE_SGI_OS_FALSE='#'
4442 HAVE_SGI_OS_TRUE='#'
4445 cat >>confdefs.h <<\_ACEOF
4446 #define HAVE_SGI_OS 1
4454 HAVE_SGI_OS_FALSE='#'
4456 HAVE_SGI_OS_TRUE='#'
4461 if test $HAVE_UNAME=yes -a x`uname -s` = xIRIX
4467 HAVE_IRIX_OS_FALSE='#'
4469 HAVE_IRIX_OS_TRUE='#'
4472 cat >>confdefs.h <<\_ACEOF
4473 #define HAVE_IRIX_OS 1
4481 HAVE_IRIX_OS_FALSE='#'
4483 HAVE_IRIX_OS_TRUE='#'
4488 if test $HAVE_UNAME=yes -a x`uname -s` = xDarwin
4493 HAVE_DARWIN_OS_TRUE=
4494 HAVE_DARWIN_OS_FALSE='#'
4496 HAVE_DARWIN_OS_TRUE='#'
4497 HAVE_DARWIN_OS_FALSE=
4499 cat >>confdefs.h <<\_ACEOF
4500 #define HAVE_DARWIN_OS 1
4507 HAVE_DARWIN_OS_TRUE=
4508 HAVE_DARWIN_OS_FALSE='#'
4510 HAVE_DARWIN_OS_TRUE='#'
4511 HAVE_DARWIN_OS_FALSE=
4516 # -----------------------------------------------------------
4517 # ----------------------------------------------------------
4518 echo "$as_me:$LINENO: checking for Operating System Distribution" >&5
4519 echo $ECHO_N "checking for Operating System Distribution... $ECHO_C" >&6
4520 if test "x$DISTNAME" != "x"
4522 echo "distname set to $DISTNAME"
4523 elif test $HAVE_UNAME=yes -a x`uname -s` = xOSF1
4526 elif test $HAVE_UNAME=yes -a x`uname -s` = xAIX
4529 elif test $HAVE_UNAME=yes -a x`uname -s` = xHP-UX
4532 elif test $HAVE_UNAME=yes -a x`uname -s` = xSunOS
4535 elif test $HAVE_UNAME=yes -a x`uname -s` = xFreeBSD
4538 elif test $HAVE_UNAME=yes -a x`uname -s` = xNetBSD
4541 elif test $HAVE_UNAME=yes -a x`uname -s` = xOpenBSD
4544 elif test $HAVE_UNAME=yes -a x`uname -s` = xIRIX
4547 elif test $HAVE_UNAME=yes -a x`uname -s` = xBSD/OS
4550 elif test -f /etc/SuSE-release
4553 elif test -d /etc/SuSEconfig
4556 elif test -f /etc/mandrake-release
4559 elif test -f /etc/whitebox-release
4562 elif test -f /etc/redhat-release
4565 elif test -f /etc/gentoo-release
4568 elif test -f /etc/debian_version
4571 elif test -f /etc/slackware-version
4574 elif test $HAVE_UNAME=yes -a x`uname -s` = xDarwin
4577 elif test -f /etc/engarde-version
4580 elif test "$CYGWIN" = yes
4583 cat >>confdefs.h <<\_ACEOF
4584 #define HAVE_CYGWIN 1
4590 echo "$as_me:$LINENO: result: done" >&5
4591 echo "${ECHO_T}done" >&6
4594 # -----------------------------------------------------------
4595 # ----------------------------------------------------------
4600 INSIDE_GNOME_COMMON_TRUE=
4601 INSIDE_GNOME_COMMON_FALSE='#'
4603 INSIDE_GNOME_COMMON_TRUE='#'
4604 INSIDE_GNOME_COMMON_FALSE=
4607 test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
4609 for k in gnome-macros ; do ACLOCAL="$ACLOCAL -I $k" ; done
4612 # ------------------------------------------------------------------
4613 # If the user has not set --prefix, we set our default to nothing.
4614 # In this case, if the user has not set --sysconfdir, we set it
4615 # to the package default of /etc/bacula. If either --prefix or
4616 # --sysconfdir is set, we leave sysconfdir alone except to eval it.
4617 # ------------------------------------------------------------------
4618 if test x${prefix} = xNONE ; then
4619 if test `eval echo ${sysconfdir}` = NONE/etc ; then
4620 sysconfdir=/etc/bacula
4624 sysconfdir=`eval echo ${sysconfdir}`
4626 # -------------------------------------------------------------------------
4627 # If the user has not set --exec-prefix, we default to ${prefix}
4628 # -------------------------------------------------------------------------
4629 if test x${exec_prefix} = xNONE ; then
4630 exec_prefix=${prefix}
4633 # ------------------------------------------------------------------
4634 # If the user has not set --sbindir, we set our default as /sbin
4635 # ------------------------------------------------------------------
4636 if test x$sbindir = x'${exec_prefix}/sbin' ; then
4637 sbindir=${exec_prefix}/sbin
4639 sbindir=`eval echo ${sbindir}`
4641 # ------------------------------------------------------------------
4642 # All list of languages for which a translation exist. Each
4643 # language is separated by a space.
4644 # ------------------------------------------------------------------
4647 for ac_prog in msgfmt
4649 # Extract the first word of "$ac_prog", so it can be a program name with args.
4650 set dummy $ac_prog; ac_word=$2
4651 echo "$as_me:$LINENO: checking for $ac_word" >&5
4652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4653 if test "${ac_cv_path_MSGFMT+set}" = set; then
4654 echo $ECHO_N "(cached) $ECHO_C" >&6
4658 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir=.
4666 for ac_exec_ext in '' $ac_executable_extensions; do
4667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4668 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4678 MSGFMT=$ac_cv_path_MSGFMT
4680 if test -n "$MSGFMT"; then
4681 echo "$as_me:$LINENO: result: $MSGFMT" >&5
4682 echo "${ECHO_T}$MSGFMT" >&6
4684 echo "$as_me:$LINENO: result: no" >&5
4685 echo "${ECHO_T}no" >&6
4688 test -n "$MSGFMT" && break
4690 test -n "$MSGFMT" || MSGFMT="no"
4692 if test "$MSGFMT" = "no"
4694 echo 'msgfmt program not found, disabling NLS !'
4696 USE_INCLUDED_LIBINTL=no
4704 support_postgresql=no
4705 support_smartalloc=yes
4706 support_readline=yes
4709 support_wx_console=no
4711 support_static_tools=no
4712 support_static_fd=no
4713 support_static_sd=no
4714 support_static_dir=no
4715 support_static_cons=no
4717 build_client_only=no
4723 # -------------------------------------------
4724 # gnome (default off)
4725 # -------------------------------------------
4726 # Check whether --enable-gnome or --disable-gnome was given.
4727 if test "${enable_gnome+set}" = set; then
4728 enableval="$enable_gnome"
4729 if test x$enableval = xyes; then
4735 if test x$support_gnome = xyes; then
4736 abc=`$PKGCONFIG --exists libgnomeui-2.0`
4738 if test $pkg = 0; then
4739 GNOME_INCLUDEDIR=`$PKGCONFIG --cflags-only-I libgnomeui-2.0`
4740 GNOMEUI_LIBS=`$PKGCONFIG --libs-only-l libgnomeui-2.0`
4741 GNOME_LIBDIR=`$PKGCONFIG --libs libgnomeui-2.0`
4742 GNOME_LIBS=`$PKGCONFIG --libs-only-l libgnomeui-2.0`
4747 GNOME_DIR=src/gnome2-console
4748 gnome_version="Version 2.x"
4761 # Check whether --with-gnome-includes or --without-gnome-includes was given.
4762 if test "${with_gnome_includes+set}" = set; then
4763 withval="$with_gnome_includes"
4765 CFLAGS="$CFLAGS -I$withval"
4770 # Check whether --with-gnome-libs or --without-gnome-libs was given.
4771 if test "${with_gnome_libs+set}" = set; then
4772 withval="$with_gnome_libs"
4774 LDFLAGS="$LDFLAGS -L$withval"
4775 gnome_prefix=$withval
4780 # Check whether --with-gnome or --without-gnome was given.
4781 if test "${with_gnome+set}" = set; then
4782 withval="$with_gnome"
4783 if test x$withval = xyes; then
4787 if test "x$withval" = xno; then
4791 LDFLAGS="$LDFLAGS -L$withval/lib"
4792 CFLAGS="$CFLAGS -I$withval/include"
4793 gnome_prefix=$withval/lib
4800 if test "x$want_gnome" = xyes; then
4802 # Extract the first word of "gnome-config", so it can be a program name with args.
4803 set dummy gnome-config; ac_word=$2
4804 echo "$as_me:$LINENO: checking for $ac_word" >&5
4805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4806 if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then
4807 echo $ECHO_N "(cached) $ECHO_C" >&6
4809 case $GNOME_CONFIG in
4811 ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a path.
4814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4818 test -z "$as_dir" && as_dir=.
4819 for ac_exec_ext in '' $ac_executable_extensions; do
4820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4821 ac_cv_path_GNOME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4828 test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no"
4832 GNOME_CONFIG=$ac_cv_path_GNOME_CONFIG
4834 if test -n "$GNOME_CONFIG"; then
4835 echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
4836 echo "${ECHO_T}$GNOME_CONFIG" >&6
4838 echo "$as_me:$LINENO: result: no" >&5
4839 echo "${ECHO_T}no" >&6
4842 if test "$GNOME_CONFIG" = "no"; then
4843 no_gnome_config="yes"
4845 echo "$as_me:$LINENO: checking if $GNOME_CONFIG works" >&5
4846 echo $ECHO_N "checking if $GNOME_CONFIG works... $ECHO_C" >&6
4847 if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then
4848 echo "$as_me:$LINENO: result: yes" >&5
4849 echo "${ECHO_T}yes" >&6
4852 # Extract the first word of "orbit-config", so it can be a program name with args.
4853 set dummy orbit-config; ac_word=$2
4854 echo "$as_me:$LINENO: checking for $ac_word" >&5
4855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4856 if test "${ac_cv_path_ORBIT_CONFIG+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4859 case $ORBIT_CONFIG in
4861 ac_cv_path_ORBIT_CONFIG="$ORBIT_CONFIG" # Let the user override the test with a path.
4864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4868 test -z "$as_dir" && as_dir=.
4869 for ac_exec_ext in '' $ac_executable_extensions; do
4870 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4871 ac_cv_path_ORBIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4872 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4878 test -z "$ac_cv_path_ORBIT_CONFIG" && ac_cv_path_ORBIT_CONFIG="no"
4882 ORBIT_CONFIG=$ac_cv_path_ORBIT_CONFIG
4884 if test -n "$ORBIT_CONFIG"; then
4885 echo "$as_me:$LINENO: result: $ORBIT_CONFIG" >&5
4886 echo "${ECHO_T}$ORBIT_CONFIG" >&6
4888 echo "$as_me:$LINENO: result: no" >&5
4889 echo "${ECHO_T}no" >&6
4892 # Extract the first word of "orbit-idl", so it can be a program name with args.
4893 set dummy orbit-idl; ac_word=$2
4894 echo "$as_me:$LINENO: checking for $ac_word" >&5
4895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4896 if test "${ac_cv_path_ORBIT_IDL+set}" = set; then
4897 echo $ECHO_N "(cached) $ECHO_C" >&6
4901 ac_cv_path_ORBIT_IDL="$ORBIT_IDL" # Let the user override the test with a path.
4904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4908 test -z "$as_dir" && as_dir=.
4909 for ac_exec_ext in '' $ac_executable_extensions; do
4910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4911 ac_cv_path_ORBIT_IDL="$as_dir/$ac_word$ac_exec_ext"
4912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 test -z "$ac_cv_path_ORBIT_IDL" && ac_cv_path_ORBIT_IDL="no"
4922 ORBIT_IDL=$ac_cv_path_ORBIT_IDL
4924 if test -n "$ORBIT_IDL"; then
4925 echo "$as_me:$LINENO: result: $ORBIT_IDL" >&5
4926 echo "${ECHO_T}$ORBIT_IDL" >&6
4928 echo "$as_me:$LINENO: result: no" >&5
4929 echo "${ECHO_T}no" >&6
4932 echo "$as_me:$LINENO: checking for working ORBit environment" >&5
4933 echo $ECHO_N "checking for working ORBit environment... $ECHO_C" >&6
4934 if test "${gnome_cv_orbit_found+set}" = set; then
4935 echo $ECHO_N "(cached) $ECHO_C" >&6
4938 if test x$ORBIT_CONFIG = xno -o x$ORBIT_IDL = xno; then
4939 gnome_cv_orbit_found=no
4941 gnome_cv_orbit_found=yes
4945 echo "$as_me:$LINENO: result: $gnome_cv_orbit_found" >&5
4946 echo "${ECHO_T}$gnome_cv_orbit_found" >&6
4949 if test x$gnome_cv_orbit_found = xyes; then
4951 HAVE_ORBIT_FALSE='#'
4956 if test x$gnome_cv_orbit_found = xyes; then
4958 ORBIT_CFLAGS=`orbit-config --cflags client server`
4959 ORBIT_LIBS=`orbit-config --use-service=name --libs client server`
4963 if test xfail = xfailure; then
4964 { { echo "$as_me:$LINENO: error: ORBit not installed or installation problem" >&5
4965 echo "$as_me: error: ORBit not installed or installation problem" >&2;}
4966 { (exit 1); exit 1; }; }
4970 echo "$as_me:$LINENO: checking for gnorba libraries" >&5
4971 echo $ECHO_N "checking for gnorba libraries... $ECHO_C" >&6
4972 if test "${gnome_cv_gnorba_found+set}" = set; then
4973 echo $ECHO_N "(cached) $ECHO_C" >&6
4976 gnome_cv_gnorba_found=no
4977 if test x$gnome_cv_orbit_found = xyes; then
4978 GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
4979 GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
4980 if test -n "$GNORBA_LIBS"; then
4981 gnome_cv_gnorba_found=yes
4986 echo "$as_me:$LINENO: result: $gnome_cv_gnorba_found" >&5
4987 echo "${ECHO_T}$gnome_cv_gnorba_found" >&6
4990 if test x$gnome_cv_gnorba_found = xyes; then
4992 HAVE_GNORBA_FALSE='#'
4994 HAVE_GNORBA_TRUE='#'
4997 if test x$gnome_cv_orbit_found = xyes; then
4999 GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
5000 GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
5004 if test xfail = xfailure; then
5005 { { echo "$as_me:$LINENO: error: gnorba library not installed or installation problem" >&5
5006 echo "$as_me: error: gnorba library not installed or installation problem" >&2;}
5007 { (exit 1); exit 1; }; }
5011 GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome`"
5012 GNOMEUI_LIBS="`$GNOME_CONFIG --libs-only-l gnomeui`"
5013 GNOMEGNORBA_LIBS="`$GNOME_CONFIG --libs-only-l gnorba gnomeui`"
5014 GTKXMHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkxmhtml`"
5015 ZVT_LIBS="`$GNOME_CONFIG --libs-only-l zvt`"
5016 GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
5017 GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
5020 echo "$as_me:$LINENO: result: no" >&5
5021 echo "${ECHO_T}no" >&6
5022 no_gnome_config="yes"
5026 if test x$exec_prefix = xNONE; then
5027 if test x$prefix = xNONE; then
5028 gnome_prefix=$ac_default_prefix/lib
5030 gnome_prefix=$prefix/lib
5033 gnome_prefix=`eval echo \`echo $libdir\``
5036 if test "$no_gnome_config" = "yes"; then
5037 echo "$as_me:$LINENO: checking for gnomeConf.sh file in $gnome_prefix" >&5
5038 echo $ECHO_N "checking for gnomeConf.sh file in $gnome_prefix... $ECHO_C" >&6
5039 if test -f $gnome_prefix/gnomeConf.sh; then
5040 echo "$as_me:$LINENO: result: found" >&5
5041 echo "${ECHO_T}found" >&6
5042 echo "loading gnome configuration from" \
5043 "$gnome_prefix/gnomeConf.sh"
5044 . $gnome_prefix/gnomeConf.sh
5047 echo "$as_me:$LINENO: result: not found" >&5
5048 echo "${ECHO_T}not found" >&6
5049 if test xfail = xfail; then
5050 { { echo "$as_me:$LINENO: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&5
5051 echo "$as_me: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&2;}
5052 { (exit 1); exit 1; }; }
5061 echo "$as_me:$LINENO: checking extra library \"$i\"" >&5
5062 echo $ECHO_N "checking extra library \"$i\"... $ECHO_C" >&6
5066 GNOME_APPLETS_LIBS=`$GNOME_CONFIG --libs-only-l applets`
5067 echo "$as_me:$LINENO: result: $GNOME_APPLETS_LIBS" >&5
5068 echo "${ECHO_T}$GNOME_APPLETS_LIBS" >&6;;
5071 GNOME_DOCKLETS_LIBS=`$GNOME_CONFIG --libs-only-l docklets`
5072 echo "$as_me:$LINENO: result: $GNOME_DOCKLETS_LIBS" >&5
5073 echo "${ECHO_T}$GNOME_DOCKLETS_LIBS" >&6;;
5076 GNOME_CAPPLET_LIBS=`$GNOME_CONFIG --libs-only-l capplet`
5077 echo "$as_me:$LINENO: result: $GNOME_CAPPLET_LIBS" >&5
5078 echo "${ECHO_T}$GNOME_CAPPLET_LIBS" >&6;;
5080 echo "$as_me:$LINENO: result: unknown library" >&5
5081 echo "${ECHO_T}unknown library" >&6
5083 EXTRA_INCLUDEDIR=`$GNOME_CONFIG --cflags $i`
5084 GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR $EXTRA_INCLUDEDIR"
5089 GNOME_DIR=src/gnome-console
5090 gnome_version="Version 1.4"
5096 # -------------------------------------------
5097 # wx-console (default off)
5098 # -------------------------------------------
5099 # Check whether --enable-wx-console or --disable-wx-console was given.
5100 if test "${enable_wx_console+set}" = set; then
5101 enableval="$enable_wx_console"
5102 if test x$enableval = xyes; then
5103 support_wx_console=yes
5108 if test x$support_wx_console = xyes; then
5109 abc=`$WXCONFIG --cppflags`
5111 if test $pkg = 0; then
5112 WXCONS_CPPFLAGS=`$WXCONFIG --cppflags`
5113 WXCONS_LDFLAGS=`$WXCONFIG --libs`
5116 WX_DIR=src/wx-console
5119 echo "wx-config program not found. wx-console disabled."
5121 support_wx_console=no
5127 # -------------------------------------------
5128 # tray-monitor (default off)
5129 # -------------------------------------------
5130 # Check whether --enable-tray-monitor or --disable-tray-monitor was given.
5131 if test "${enable_tray_monitor+set}" = set; then
5132 enableval="$enable_tray_monitor"
5133 if test x$enableval = xyes; then
5134 support_tray_monitor=yes
5139 if test x$support_tray_monitor = xyes; then
5140 abc=`$PKGCONFIG --exists gtk+-2.0`
5142 if test $pkg = 0; then
5143 TRAY_MONITOR_CPPFLAGS=`$PKGCONFIG --cflags gtk+-2.0`
5144 TRAY_MONITOR_LDFLAGS=`$PKGCONFIG --libs gtk+-2.0`
5147 TRAY_MONITOR_DIR=src/tray-monitor
5148 abc=`$PKGCONFIG --atleast-version=2.4 gtk+-2.0`
5150 if test $pkg = 0; then
5151 cat >>confdefs.h <<\_ACEOF
5152 #define HAVE_GTK_2_4 1
5160 # -------------------------------------------
5161 # smartalloc (default off)
5162 # -------------------------------------------
5163 # Check whether --enable-smartalloc or --disable-smartalloc was given.
5164 if test "${enable_smartalloc+set}" = set; then
5165 enableval="$enable_smartalloc"
5166 if test x$enableval = xno; then
5167 support_smartalloc=no
5171 if test x$support_smartalloc = xyes; then
5172 cat >>confdefs.h <<\_ACEOF
5173 #define SMARTALLOC 1
5178 # -------------------------------------------
5179 # static-tools (default off)
5180 # -------------------------------------------
5181 # Check whether --enable-static-tools or --disable-static-tools was given.
5182 if test "${enable_static_tools+set}" = set; then
5183 enableval="$enable_static_tools"
5184 if test x$enableval = xyes; then
5185 support_static_tools=yes
5190 if test x$support_static_tools = xyes; then
5191 TTOOL_LDFLAGS="-static"
5195 # -------------------------------------------
5196 # static-fd (default off)
5197 # -------------------------------------------
5198 # Check whether --enable-static-fd or --disable-static-fd was given.
5199 if test "${enable_static_fd+set}" = set; then
5200 enableval="$enable_static_fd"
5201 if test x$enableval = xyes; then
5202 support_static_fd=yes
5207 if test x$support_static_fd = xyes; then
5208 STATIC_FD="static-bacula-fd"
5212 # -------------------------------------------
5213 # static-sd (default off)
5214 # -------------------------------------------
5215 # Check whether --enable-static-sd or --disable-static-sd was given.
5216 if test "${enable_static_sd+set}" = set; then
5217 enableval="$enable_static_sd"
5218 if test x$enableval = xyes; then
5219 support_static_sd=yes
5224 if test x$support_static_sd = xyes; then
5225 STATIC_SD="static-bacula-sd"
5229 # -------------------------------------------
5230 # static-dir (default off)
5231 # -------------------------------------------
5232 # Check whether --enable-static-dir or --disable-static-dir was given.
5233 if test "${enable_static_dir+set}" = set; then
5234 enableval="$enable_static_dir"
5235 if test x$enableval = xyes; then
5236 support_static_dir=yes
5241 if test x$support_static_dir = xyes; then
5242 STATIC_DIR="static-bacula-dir"
5246 # -------------------------------------------
5247 # static-cons (default off)
5248 # -------------------------------------------
5249 # Check whether --enable-static-cons or --disable-static-cons was given.
5250 if test "${enable_static_cons+set}" = set; then
5251 enableval="$enable_static_cons"
5252 if test x$enableval = xyes; then
5253 support_static_cons=yes
5260 if test x$support_static_cons = xyes; then
5261 STATIC_CONS="static-bconsole"
5262 STATIC_GNOME_CONS="static-gnome-console"
5263 STATIC_WX_CONS="static-wx-console"
5269 # -------------------------------------------
5270 # client_only (default off)
5271 # -------------------------------------------
5272 # Check whether --enable-client-only or --disable-client-only was given.
5273 if test "${enable_client_only+set}" = set; then
5274 enableval="$enable_client_only"
5275 if test x$enableval = xyes; then
5276 build_client_only=yes
5281 if test x$build_client_only = xno; then
5288 # ---------------------------------------------------
5289 # Check for conio (Bacula readline substitute)(
5290 # ---------------------------------------------------
5291 # this allows you to turn it completely off
5292 # Check whether --enable-conio or --disable-conio was given.
5293 if test "${enable_conio+set}" = set; then
5294 enableval="$enable_conio"
5295 if test x$enableval = xno; then
5301 if test x$support_conio = xyes; then
5302 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5303 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5304 if test "${ac_cv_header_stdc+set}" = set; then
5305 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 cat >conftest.$ac_ext <<_ACEOF
5310 cat confdefs.h >>conftest.$ac_ext
5311 cat >>conftest.$ac_ext <<_ACEOF
5312 /* end confdefs.h. */
5326 rm -f conftest.$ac_objext
5327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5328 (eval $ac_compile) 2>conftest.er1
5330 grep -v '^ *+' conftest.er1 >conftest.err
5332 cat conftest.err >&5
5333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5334 (exit $ac_status); } &&
5335 { ac_try='test -z "$ac_c_werror_flag"
5336 || test ! -s conftest.err'
5337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5341 (exit $ac_status); }; } &&
5342 { ac_try='test -s conftest.$ac_objext'
5343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5347 (exit $ac_status); }; }; then
5348 ac_cv_header_stdc=yes
5350 echo "$as_me: failed program was:" >&5
5351 sed 's/^/| /' conftest.$ac_ext >&5
5353 ac_cv_header_stdc=no
5355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5357 if test $ac_cv_header_stdc = yes; then
5358 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5359 cat >conftest.$ac_ext <<_ACEOF
5362 cat confdefs.h >>conftest.$ac_ext
5363 cat >>conftest.$ac_ext <<_ACEOF
5364 /* end confdefs.h. */
5368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5369 $EGREP "memchr" >/dev/null 2>&1; then
5372 ac_cv_header_stdc=no
5378 if test $ac_cv_header_stdc = yes; then
5379 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5380 cat >conftest.$ac_ext <<_ACEOF
5383 cat confdefs.h >>conftest.$ac_ext
5384 cat >>conftest.$ac_ext <<_ACEOF
5385 /* end confdefs.h. */
5389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5390 $EGREP "free" >/dev/null 2>&1; then
5393 ac_cv_header_stdc=no
5399 if test $ac_cv_header_stdc = yes; then
5400 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5401 if test "$cross_compiling" = yes; then
5404 cat >conftest.$ac_ext <<_ACEOF
5407 cat confdefs.h >>conftest.$ac_ext
5408 cat >>conftest.$ac_ext <<_ACEOF
5409 /* end confdefs.h. */
5411 #if ((' ' & 0x0FF) == 0x020)
5412 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5413 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5415 # define ISLOWER(c) \
5416 (('a' <= (c) && (c) <= 'i') \
5417 || ('j' <= (c) && (c) <= 'r') \
5418 || ('s' <= (c) && (c) <= 'z'))
5419 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5422 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5427 for (i = 0; i < 256; i++)
5428 if (XOR (islower (i), ISLOWER (i))
5429 || toupper (i) != TOUPPER (i))
5434 rm -f conftest$ac_exeext
5435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5436 (eval $ac_link) 2>&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); }; }; then
5447 echo "$as_me: program exited with status $ac_status" >&5
5448 echo "$as_me: failed program was:" >&5
5449 sed 's/^/| /' conftest.$ac_ext >&5
5452 ac_cv_header_stdc=no
5454 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5458 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5459 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5460 if test $ac_cv_header_stdc = yes; then
5462 cat >>confdefs.h <<\_ACEOF
5463 #define STDC_HEADERS 1
5468 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5478 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5479 inttypes.h stdint.h unistd.h
5481 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5482 echo "$as_me:$LINENO: checking for $ac_header" >&5
5483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5485 echo $ECHO_N "(cached) $ECHO_C" >&6
5487 cat >conftest.$ac_ext <<_ACEOF
5490 cat confdefs.h >>conftest.$ac_ext
5491 cat >>conftest.$ac_ext <<_ACEOF
5492 /* end confdefs.h. */
5493 $ac_includes_default
5495 #include <$ac_header>
5497 rm -f conftest.$ac_objext
5498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5499 (eval $ac_compile) 2>conftest.er1
5501 grep -v '^ *+' conftest.er1 >conftest.err
5503 cat conftest.err >&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); } &&
5506 { ac_try='test -z "$ac_c_werror_flag"
5507 || test ! -s conftest.err'
5508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5512 (exit $ac_status); }; } &&
5513 { ac_try='test -s conftest.$ac_objext'
5514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); }; }; then
5519 eval "$as_ac_Header=yes"
5521 echo "$as_me: failed program was:" >&5
5522 sed 's/^/| /' conftest.$ac_ext >&5
5524 eval "$as_ac_Header=no"
5526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5531 cat >>confdefs.h <<_ACEOF
5532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5540 if test "${ac_cv_header_termcap_h+set}" = set; then
5541 echo "$as_me:$LINENO: checking for termcap.h" >&5
5542 echo $ECHO_N "checking for termcap.h... $ECHO_C" >&6
5543 if test "${ac_cv_header_termcap_h+set}" = set; then
5544 echo $ECHO_N "(cached) $ECHO_C" >&6
5546 echo "$as_me:$LINENO: result: $ac_cv_header_termcap_h" >&5
5547 echo "${ECHO_T}$ac_cv_header_termcap_h" >&6
5549 # Is the header compilable?
5550 echo "$as_me:$LINENO: checking termcap.h usability" >&5
5551 echo $ECHO_N "checking termcap.h usability... $ECHO_C" >&6
5552 cat >conftest.$ac_ext <<_ACEOF
5555 cat confdefs.h >>conftest.$ac_ext
5556 cat >>conftest.$ac_ext <<_ACEOF
5557 /* end confdefs.h. */
5558 $ac_includes_default
5559 #include <termcap.h>
5561 rm -f conftest.$ac_objext
5562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5563 (eval $ac_compile) 2>conftest.er1
5565 grep -v '^ *+' conftest.er1 >conftest.err
5567 cat conftest.err >&5
5568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5569 (exit $ac_status); } &&
5570 { ac_try='test -z "$ac_c_werror_flag"
5571 || test ! -s conftest.err'
5572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; } &&
5577 { ac_try='test -s conftest.$ac_objext'
5578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 (exit $ac_status); }; }; then
5583 ac_header_compiler=yes
5585 echo "$as_me: failed program was:" >&5
5586 sed 's/^/| /' conftest.$ac_ext >&5
5588 ac_header_compiler=no
5590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5591 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5592 echo "${ECHO_T}$ac_header_compiler" >&6
5594 # Is the header present?
5595 echo "$as_me:$LINENO: checking termcap.h presence" >&5
5596 echo $ECHO_N "checking termcap.h presence... $ECHO_C" >&6
5597 cat >conftest.$ac_ext <<_ACEOF
5600 cat confdefs.h >>conftest.$ac_ext
5601 cat >>conftest.$ac_ext <<_ACEOF
5602 /* end confdefs.h. */
5603 #include <termcap.h>
5605 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5606 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5608 grep -v '^ *+' conftest.er1 >conftest.err
5610 cat conftest.err >&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); } >/dev/null; then
5613 if test -s conftest.err; then
5614 ac_cpp_err=$ac_c_preproc_warn_flag
5615 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5622 if test -z "$ac_cpp_err"; then
5623 ac_header_preproc=yes
5625 echo "$as_me: failed program was:" >&5
5626 sed 's/^/| /' conftest.$ac_ext >&5
5628 ac_header_preproc=no
5630 rm -f conftest.err conftest.$ac_ext
5631 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5632 echo "${ECHO_T}$ac_header_preproc" >&6
5634 # So? What about this header?
5635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5637 { echo "$as_me:$LINENO: WARNING: termcap.h: accepted by the compiler, rejected by the preprocessor!" >&5
5638 echo "$as_me: WARNING: termcap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5639 { echo "$as_me:$LINENO: WARNING: termcap.h: proceeding with the compiler's result" >&5
5640 echo "$as_me: WARNING: termcap.h: proceeding with the compiler's result" >&2;}
5641 ac_header_preproc=yes
5644 { echo "$as_me:$LINENO: WARNING: termcap.h: present but cannot be compiled" >&5
5645 echo "$as_me: WARNING: termcap.h: present but cannot be compiled" >&2;}
5646 { echo "$as_me:$LINENO: WARNING: termcap.h: check for missing prerequisite headers?" >&5
5647 echo "$as_me: WARNING: termcap.h: check for missing prerequisite headers?" >&2;}
5648 { echo "$as_me:$LINENO: WARNING: termcap.h: see the Autoconf documentation" >&5
5649 echo "$as_me: WARNING: termcap.h: see the Autoconf documentation" >&2;}
5650 { echo "$as_me:$LINENO: WARNING: termcap.h: section \"Present But Cannot Be Compiled\"" >&5
5651 echo "$as_me: WARNING: termcap.h: section \"Present But Cannot Be Compiled\"" >&2;}
5652 { echo "$as_me:$LINENO: WARNING: termcap.h: proceeding with the preprocessor's result" >&5
5653 echo "$as_me: WARNING: termcap.h: proceeding with the preprocessor's result" >&2;}
5654 { echo "$as_me:$LINENO: WARNING: termcap.h: in the future, the compiler will take precedence" >&5
5655 echo "$as_me: WARNING: termcap.h: in the future, the compiler will take precedence" >&2;}
5658 ## ------------------------------------------ ##
5659 ## Report this to the AC_PACKAGE_NAME lists. ##
5660 ## ------------------------------------------ ##
5663 sed "s/^/$as_me: WARNING: /" >&2
5666 echo "$as_me:$LINENO: checking for termcap.h" >&5
5667 echo $ECHO_N "checking for termcap.h... $ECHO_C" >&6
5668 if test "${ac_cv_header_termcap_h+set}" = set; then
5669 echo $ECHO_N "(cached) $ECHO_C" >&6
5671 ac_cv_header_termcap_h=$ac_header_preproc
5673 echo "$as_me:$LINENO: result: $ac_cv_header_termcap_h" >&5
5674 echo "${ECHO_T}$ac_cv_header_termcap_h" >&6
5677 if test $ac_cv_header_termcap_h = yes; then
5678 echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
5679 echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6
5680 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
5681 echo $ECHO_N "(cached) $ECHO_C" >&6
5683 ac_check_lib_save_LIBS=$LIBS
5684 LIBS="-ltermcap $LIBS"
5685 cat >conftest.$ac_ext <<_ACEOF
5688 cat confdefs.h >>conftest.$ac_ext
5689 cat >>conftest.$ac_ext <<_ACEOF
5690 /* end confdefs.h. */
5692 /* Override any gcc2 internal prototype to avoid an error. */
5696 /* We use char because int might match the return type of a gcc2
5697 builtin and then its argument prototype would still apply. */
5707 rm -f conftest.$ac_objext conftest$ac_exeext
5708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5709 (eval $ac_link) 2>conftest.er1
5711 grep -v '^ *+' conftest.er1 >conftest.err
5713 cat conftest.err >&5
5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715 (exit $ac_status); } &&
5716 { ac_try='test -z "$ac_c_werror_flag"
5717 || test ! -s conftest.err'
5718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722 (exit $ac_status); }; } &&
5723 { ac_try='test -s conftest$ac_exeext'
5724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5728 (exit $ac_status); }; }; then
5729 ac_cv_lib_termcap_tgetent=yes
5731 echo "$as_me: failed program was:" >&5
5732 sed 's/^/| /' conftest.$ac_ext >&5
5734 ac_cv_lib_termcap_tgetent=no
5736 rm -f conftest.err conftest.$ac_objext \
5737 conftest$ac_exeext conftest.$ac_ext
5738 LIBS=$ac_check_lib_save_LIBS
5740 echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
5741 echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6
5742 if test $ac_cv_lib_termcap_tgetent = yes; then
5743 CONS_LIBS="-ltermcap"
5749 cat >>confdefs.h <<\_ACEOF
5750 #define HAVE_CONIO 1
5755 echo "$as_me:$LINENO: checking for tgetent in -lncurses" >&5
5756 echo $ECHO_N "checking for tgetent in -lncurses... $ECHO_C" >&6
5757 if test "${ac_cv_lib_ncurses_tgetent+set}" = set; then
5758 echo $ECHO_N "(cached) $ECHO_C" >&6
5760 ac_check_lib_save_LIBS=$LIBS
5761 LIBS="-lncurses $LIBS"
5762 cat >conftest.$ac_ext <<_ACEOF
5765 cat confdefs.h >>conftest.$ac_ext
5766 cat >>conftest.$ac_ext <<_ACEOF
5767 /* end confdefs.h. */
5769 /* Override any gcc2 internal prototype to avoid an error. */
5773 /* We use char because int might match the return type of a gcc2
5774 builtin and then its argument prototype would still apply. */
5784 rm -f conftest.$ac_objext conftest$ac_exeext
5785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5786 (eval $ac_link) 2>conftest.er1
5788 grep -v '^ *+' conftest.er1 >conftest.err
5790 cat conftest.err >&5
5791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792 (exit $ac_status); } &&
5793 { ac_try='test -z "$ac_c_werror_flag"
5794 || test ! -s conftest.err'
5795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 (exit $ac_status); }; } &&
5800 { ac_try='test -s conftest$ac_exeext'
5801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5805 (exit $ac_status); }; }; then
5806 ac_cv_lib_ncurses_tgetent=yes
5808 echo "$as_me: failed program was:" >&5
5809 sed 's/^/| /' conftest.$ac_ext >&5
5811 ac_cv_lib_ncurses_tgetent=no
5813 rm -f conftest.err conftest.$ac_objext \
5814 conftest$ac_exeext conftest.$ac_ext
5815 LIBS=$ac_check_lib_save_LIBS
5817 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tgetent" >&5
5818 echo "${ECHO_T}$ac_cv_lib_ncurses_tgetent" >&6
5819 if test $ac_cv_lib_ncurses_tgetent = yes; then
5820 CONS_LIBS="-lncurses"
5826 cat >>confdefs.h <<\_ACEOF
5827 #define HAVE_CONIO 1
5840 for ac_header in curses.h
5842 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5844 echo "$as_me:$LINENO: checking for $ac_header" >&5
5845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5847 echo $ECHO_N "(cached) $ECHO_C" >&6
5849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5852 # Is the header compilable?
5853 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5854 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5855 cat >conftest.$ac_ext <<_ACEOF
5858 cat confdefs.h >>conftest.$ac_ext
5859 cat >>conftest.$ac_ext <<_ACEOF
5860 /* end confdefs.h. */
5861 $ac_includes_default
5862 #include <$ac_header>
5864 rm -f conftest.$ac_objext
5865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5866 (eval $ac_compile) 2>conftest.er1
5868 grep -v '^ *+' conftest.er1 >conftest.err
5870 cat conftest.err >&5
5871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872 (exit $ac_status); } &&
5873 { ac_try='test -z "$ac_c_werror_flag"
5874 || test ! -s conftest.err'
5875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879 (exit $ac_status); }; } &&
5880 { ac_try='test -s conftest.$ac_objext'
5881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885 (exit $ac_status); }; }; then
5886 ac_header_compiler=yes
5888 echo "$as_me: failed program was:" >&5
5889 sed 's/^/| /' conftest.$ac_ext >&5
5891 ac_header_compiler=no
5893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5894 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5895 echo "${ECHO_T}$ac_header_compiler" >&6
5897 # Is the header present?
5898 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5899 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
5908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5911 grep -v '^ *+' conftest.er1 >conftest.err
5913 cat conftest.err >&5
5914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915 (exit $ac_status); } >/dev/null; then
5916 if test -s conftest.err; then
5917 ac_cpp_err=$ac_c_preproc_warn_flag
5918 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5925 if test -z "$ac_cpp_err"; then
5926 ac_header_preproc=yes
5928 echo "$as_me: failed program was:" >&5
5929 sed 's/^/| /' conftest.$ac_ext >&5
5931 ac_header_preproc=no
5933 rm -f conftest.err conftest.$ac_ext
5934 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5935 echo "${ECHO_T}$ac_header_preproc" >&6
5937 # So? What about this header?
5938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5940 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5943 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5944 ac_header_preproc=yes
5947 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5948 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5949 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5950 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5951 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5952 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5953 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5954 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5956 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5957 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5958 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5961 ## ------------------------------------------ ##
5962 ## Report this to the AC_PACKAGE_NAME lists. ##
5963 ## ------------------------------------------ ##
5966 sed "s/^/$as_me: WARNING: /" >&2
5969 echo "$as_me:$LINENO: checking for $ac_header" >&5
5970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5972 echo $ECHO_N "(cached) $ECHO_C" >&6
5974 eval "$as_ac_Header=\$ac_header_preproc"
5976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5981 cat >>confdefs.h <<_ACEOF
5982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5989 echo "$as_me:$LINENO: checking for term.h" >&5
5990 echo $ECHO_N "checking for term.h... $ECHO_C" >&6
5991 if test "${ac_cv_header_term_h+set}" = set; then
5992 echo $ECHO_N "(cached) $ECHO_C" >&6
5994 cat >conftest.$ac_ext <<_ACEOF
5997 cat confdefs.h >>conftest.$ac_ext
5998 cat >>conftest.$ac_ext <<_ACEOF
5999 /* end confdefs.h. */
6007 rm -f conftest.$ac_objext
6008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6009 (eval $ac_compile) 2>conftest.er1
6011 grep -v '^ *+' conftest.er1 >conftest.err
6013 cat conftest.err >&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); } &&
6016 { ac_try='test -z "$ac_c_werror_flag"
6017 || test ! -s conftest.err'
6018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6022 (exit $ac_status); }; } &&
6023 { ac_try='test -s conftest.$ac_objext'
6024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028 (exit $ac_status); }; }; then
6029 ac_cv_header_term_h=yes
6031 echo "$as_me: failed program was:" >&5
6032 sed 's/^/| /' conftest.$ac_ext >&5
6034 ac_cv_header_term_h=no
6036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6038 echo "$as_me:$LINENO: result: $ac_cv_header_term_h" >&5
6039 echo "${ECHO_T}$ac_cv_header_term_h" >&6
6040 if test $ac_cv_header_term_h = yes; then
6041 echo "$as_me:$LINENO: checking for tgetent in -lcurses" >&5
6042 echo $ECHO_N "checking for tgetent in -lcurses... $ECHO_C" >&6
6043 if test "${ac_cv_lib_curses_tgetent+set}" = set; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6046 ac_check_lib_save_LIBS=$LIBS
6047 LIBS="-lcurses $LIBS"
6048 cat >conftest.$ac_ext <<_ACEOF
6051 cat confdefs.h >>conftest.$ac_ext
6052 cat >>conftest.$ac_ext <<_ACEOF
6053 /* end confdefs.h. */
6055 /* Override any gcc2 internal prototype to avoid an error. */
6059 /* We use char because int might match the return type of a gcc2
6060 builtin and then its argument prototype would still apply. */
6070 rm -f conftest.$ac_objext conftest$ac_exeext
6071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6072 (eval $ac_link) 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"
6080 || test ! -s conftest.err'
6081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); }; } &&
6086 { ac_try='test -s conftest$ac_exeext'
6087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); }; }; then
6092 ac_cv_lib_curses_tgetent=yes
6094 echo "$as_me: failed program was:" >&5
6095 sed 's/^/| /' conftest.$ac_ext >&5
6097 ac_cv_lib_curses_tgetent=no
6099 rm -f conftest.err conftest.$ac_objext \
6100 conftest$ac_exeext conftest.$ac_ext
6101 LIBS=$ac_check_lib_save_LIBS
6103 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_tgetent" >&5
6104 echo "${ECHO_T}$ac_cv_lib_curses_tgetent" >&6
6105 if test $ac_cv_lib_curses_tgetent = yes; then
6106 CONS_LIBS="-lcurses"
6112 cat >>confdefs.h <<\_ACEOF
6113 #define HAVE_CONIO 1
6121 echo " "; echo "Required libraries not found. CONIO turned off ..."; echo " "
6132 # ---------------------------------------------------
6133 # Check for readline support/directory (default off)
6134 # ---------------------------------------------------
6135 # this allows you to turn it completely off
6136 # Check whether --enable-readline or --disable-readline was given.
6137 if test "${enable_readline+set}" = set; then
6138 enableval="$enable_readline"
6139 if test x$enableval = xno; then
6146 if test x$support_readline = xyes; then
6148 # Check whether --with-readline or --without-readline was given.
6149 if test "${with_readline+set}" = set; then
6150 withval="$with_readline"
6152 case "$with_readline" in
6155 if test "$with_readline" != "yes"; then
6156 CONS_INC="-I${with_readline}"
6157 CONS_LDFLAGS="-L$with_readline"
6159 with_readline="/usr/include/readline"
6161 as_ac_Header=`echo "ac_cv_header_${with_readline}/readline.h" | $as_tr_sh`
6162 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6163 echo "$as_me:$LINENO: checking for ${with_readline}/readline.h" >&5
6164 echo $ECHO_N "checking for ${with_readline}/readline.h... $ECHO_C" >&6
6165 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6166 echo $ECHO_N "(cached) $ECHO_C" >&6
6168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6169 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6171 # Is the header compilable?
6172 echo "$as_me:$LINENO: checking ${with_readline}/readline.h usability" >&5
6173 echo $ECHO_N "checking ${with_readline}/readline.h usability... $ECHO_C" >&6
6174 cat >conftest.$ac_ext <<_ACEOF
6177 cat confdefs.h >>conftest.$ac_ext
6178 cat >>conftest.$ac_ext <<_ACEOF
6179 /* end confdefs.h. */
6180 $ac_includes_default
6181 #include <${with_readline}/readline.h>
6183 rm -f conftest.$ac_objext
6184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6185 (eval $ac_compile) 2>conftest.er1
6187 grep -v '^ *+' conftest.er1 >conftest.err
6189 cat conftest.err >&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); } &&
6192 { ac_try='test -z "$ac_c_werror_flag"
6193 || test ! -s conftest.err'
6194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; } &&
6199 { ac_try='test -s conftest.$ac_objext'
6200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); }; }; then
6205 ac_header_compiler=yes
6207 echo "$as_me: failed program was:" >&5
6208 sed 's/^/| /' conftest.$ac_ext >&5
6210 ac_header_compiler=no
6212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6213 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6214 echo "${ECHO_T}$ac_header_compiler" >&6
6216 # Is the header present?
6217 echo "$as_me:$LINENO: checking ${with_readline}/readline.h presence" >&5
6218 echo $ECHO_N "checking ${with_readline}/readline.h presence... $ECHO_C" >&6
6219 cat >conftest.$ac_ext <<_ACEOF
6222 cat confdefs.h >>conftest.$ac_ext
6223 cat >>conftest.$ac_ext <<_ACEOF
6224 /* end confdefs.h. */
6225 #include <${with_readline}/readline.h>
6227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6230 grep -v '^ *+' conftest.er1 >conftest.err
6232 cat conftest.err >&5
6233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234 (exit $ac_status); } >/dev/null; then
6235 if test -s conftest.err; then
6236 ac_cpp_err=$ac_c_preproc_warn_flag
6237 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6244 if test -z "$ac_cpp_err"; then
6245 ac_header_preproc=yes
6247 echo "$as_me: failed program was:" >&5
6248 sed 's/^/| /' conftest.$ac_ext >&5
6250 ac_header_preproc=no
6252 rm -f conftest.err conftest.$ac_ext
6253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6254 echo "${ECHO_T}$ac_header_preproc" >&6
6256 # So? What about this header?
6257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6259 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
6260 echo "$as_me: WARNING: ${with_readline}/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6261 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: proceeding with the compiler's result" >&5
6262 echo "$as_me: WARNING: ${with_readline}/readline.h: proceeding with the compiler's result" >&2;}
6263 ac_header_preproc=yes
6266 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: present but cannot be compiled" >&5
6267 echo "$as_me: WARNING: ${with_readline}/readline.h: present but cannot be compiled" >&2;}
6268 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: check for missing prerequisite headers?" >&5
6269 echo "$as_me: WARNING: ${with_readline}/readline.h: check for missing prerequisite headers?" >&2;}
6270 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: see the Autoconf documentation" >&5
6271 echo "$as_me: WARNING: ${with_readline}/readline.h: see the Autoconf documentation" >&2;}
6272 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: section \"Present But Cannot Be Compiled\"" >&5
6273 echo "$as_me: WARNING: ${with_readline}/readline.h: section \"Present But Cannot Be Compiled\"" >&2;}
6274 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: proceeding with the preprocessor's result" >&5
6275 echo "$as_me: WARNING: ${with_readline}/readline.h: proceeding with the preprocessor's result" >&2;}
6276 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: in the future, the compiler will take precedence" >&5
6277 echo "$as_me: WARNING: ${with_readline}/readline.h: in the future, the compiler will take precedence" >&2;}
6280 ## ------------------------------------------ ##
6281 ## Report this to the AC_PACKAGE_NAME lists. ##
6282 ## ------------------------------------------ ##
6285 sed "s/^/$as_me: WARNING: /" >&2
6288 echo "$as_me:$LINENO: checking for ${with_readline}/readline.h" >&5
6289 echo $ECHO_N "checking for ${with_readline}/readline.h... $ECHO_C" >&6
6290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6291 echo $ECHO_N "(cached) $ECHO_C" >&6
6293 eval "$as_ac_Header=\$ac_header_preproc"
6295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6300 cat >>confdefs.h <<\_ACEOF
6301 #define HAVE_READLINE 1
6304 CONS_LIBS="-lreadline -ltermcap"
6309 echo "readline.h not found. readline turned off ..."
6321 # check for standard readline library
6322 if test "${ac_cv_header__usr_include_readline_readline_h+set}" = set; then
6323 echo "$as_me:$LINENO: checking for /usr/include/readline/readline.h" >&5
6324 echo $ECHO_N "checking for /usr/include/readline/readline.h... $ECHO_C" >&6
6325 if test "${ac_cv_header__usr_include_readline_readline_h+set}" = set; then
6326 echo $ECHO_N "(cached) $ECHO_C" >&6
6328 echo "$as_me:$LINENO: result: $ac_cv_header__usr_include_readline_readline_h" >&5
6329 echo "${ECHO_T}$ac_cv_header__usr_include_readline_readline_h" >&6
6331 # Is the header compilable?
6332 echo "$as_me:$LINENO: checking /usr/include/readline/readline.h usability" >&5
6333 echo $ECHO_N "checking /usr/include/readline/readline.h usability... $ECHO_C" >&6
6334 cat >conftest.$ac_ext <<_ACEOF
6337 cat confdefs.h >>conftest.$ac_ext
6338 cat >>conftest.$ac_ext <<_ACEOF
6339 /* end confdefs.h. */
6340 $ac_includes_default
6341 #include </usr/include/readline/readline.h>
6343 rm -f conftest.$ac_objext
6344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6345 (eval $ac_compile) 2>conftest.er1
6347 grep -v '^ *+' conftest.er1 >conftest.err
6349 cat conftest.err >&5
6350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); } &&
6352 { ac_try='test -z "$ac_c_werror_flag"
6353 || test ! -s conftest.err'
6354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); }; } &&
6359 { ac_try='test -s conftest.$ac_objext'
6360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); }; }; then
6365 ac_header_compiler=yes
6367 echo "$as_me: failed program was:" >&5
6368 sed 's/^/| /' conftest.$ac_ext >&5
6370 ac_header_compiler=no
6372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6373 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6374 echo "${ECHO_T}$ac_header_compiler" >&6
6376 # Is the header present?
6377 echo "$as_me:$LINENO: checking /usr/include/readline/readline.h presence" >&5
6378 echo $ECHO_N "checking /usr/include/readline/readline.h presence... $ECHO_C" >&6
6379 cat >conftest.$ac_ext <<_ACEOF
6382 cat confdefs.h >>conftest.$ac_ext
6383 cat >>conftest.$ac_ext <<_ACEOF
6384 /* end confdefs.h. */
6385 #include </usr/include/readline/readline.h>
6387 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6388 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6390 grep -v '^ *+' conftest.er1 >conftest.err
6392 cat conftest.err >&5
6393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); } >/dev/null; then
6395 if test -s conftest.err; then
6396 ac_cpp_err=$ac_c_preproc_warn_flag
6397 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6404 if test -z "$ac_cpp_err"; then
6405 ac_header_preproc=yes
6407 echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.$ac_ext >&5
6410 ac_header_preproc=no
6412 rm -f conftest.err conftest.$ac_ext
6413 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6414 echo "${ECHO_T}$ac_header_preproc" >&6
6416 # So? What about this header?
6417 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6419 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
6420 echo "$as_me: WARNING: /usr/include/readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6421 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: proceeding with the compiler's result" >&5
6422 echo "$as_me: WARNING: /usr/include/readline/readline.h: proceeding with the compiler's result" >&2;}
6423 ac_header_preproc=yes
6426 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: present but cannot be compiled" >&5
6427 echo "$as_me: WARNING: /usr/include/readline/readline.h: present but cannot be compiled" >&2;}
6428 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: check for missing prerequisite headers?" >&5
6429 echo "$as_me: WARNING: /usr/include/readline/readline.h: check for missing prerequisite headers?" >&2;}
6430 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: see the Autoconf documentation" >&5
6431 echo "$as_me: WARNING: /usr/include/readline/readline.h: see the Autoconf documentation" >&2;}
6432 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: section \"Present But Cannot Be Compiled\"" >&5
6433 echo "$as_me: WARNING: /usr/include/readline/readline.h: section \"Present But Cannot Be Compiled\"" >&2;}
6434 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: proceeding with the preprocessor's result" >&5
6435 echo "$as_me: WARNING: /usr/include/readline/readline.h: proceeding with the preprocessor's result" >&2;}
6436 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: in the future, the compiler will take precedence" >&5
6437 echo "$as_me: WARNING: /usr/include/readline/readline.h: in the future, the compiler will take precedence" >&2;}
6440 ## ------------------------------------------ ##
6441 ## Report this to the AC_PACKAGE_NAME lists. ##
6442 ## ------------------------------------------ ##
6445 sed "s/^/$as_me: WARNING: /" >&2
6448 echo "$as_me:$LINENO: checking for /usr/include/readline/readline.h" >&5
6449 echo $ECHO_N "checking for /usr/include/readline/readline.h... $ECHO_C" >&6
6450 if test "${ac_cv_header__usr_include_readline_readline_h+set}" = set; then
6451 echo $ECHO_N "(cached) $ECHO_C" >&6
6453 ac_cv_header__usr_include_readline_readline_h=$ac_header_preproc
6455 echo "$as_me:$LINENO: result: $ac_cv_header__usr_include_readline_readline_h" >&5
6456 echo "${ECHO_T}$ac_cv_header__usr_include_readline_readline_h" >&6
6459 if test $ac_cv_header__usr_include_readline_readline_h = yes; then
6460 cat >>confdefs.h <<\_ACEOF
6461 #define HAVE_READLINE 1
6465 CONS_INC="-I/usr/include/readline"
6466 CONS_LIBS="-lreadline -ltermcap"
6470 # Did not find standard library, so try Bacula's default
6471 as_ac_Header=`echo "ac_cv_header_${TOP_DIR}/depkgs/readline/readline.h" | $as_tr_sh`
6472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6473 echo "$as_me:$LINENO: checking for ${TOP_DIR}/depkgs/readline/readline.h" >&5
6474 echo $ECHO_N "checking for ${TOP_DIR}/depkgs/readline/readline.h... $ECHO_C" >&6
6475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6476 echo $ECHO_N "(cached) $ECHO_C" >&6
6478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6481 # Is the header compilable?
6482 echo "$as_me:$LINENO: checking ${TOP_DIR}/depkgs/readline/readline.h usability" >&5
6483 echo $ECHO_N "checking ${TOP_DIR}/depkgs/readline/readline.h usability... $ECHO_C" >&6
6484 cat >conftest.$ac_ext <<_ACEOF
6487 cat confdefs.h >>conftest.$ac_ext
6488 cat >>conftest.$ac_ext <<_ACEOF
6489 /* end confdefs.h. */
6490 $ac_includes_default
6491 #include <${TOP_DIR}/depkgs/readline/readline.h>
6493 rm -f conftest.$ac_objext
6494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6495 (eval $ac_compile) 2>conftest.er1
6497 grep -v '^ *+' conftest.er1 >conftest.err
6499 cat conftest.err >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } &&
6502 { ac_try='test -z "$ac_c_werror_flag"
6503 || test ! -s conftest.err'
6504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); }; } &&
6509 { ac_try='test -s conftest.$ac_objext'
6510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514 (exit $ac_status); }; }; then
6515 ac_header_compiler=yes
6517 echo "$as_me: failed program was:" >&5
6518 sed 's/^/| /' conftest.$ac_ext >&5
6520 ac_header_compiler=no
6522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6523 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6524 echo "${ECHO_T}$ac_header_compiler" >&6
6526 # Is the header present?
6527 echo "$as_me:$LINENO: checking ${TOP_DIR}/depkgs/readline/readline.h presence" >&5
6528 echo $ECHO_N "checking ${TOP_DIR}/depkgs/readline/readline.h presence... $ECHO_C" >&6
6529 cat >conftest.$ac_ext <<_ACEOF
6532 cat confdefs.h >>conftest.$ac_ext
6533 cat >>conftest.$ac_ext <<_ACEOF
6534 /* end confdefs.h. */
6535 #include <${TOP_DIR}/depkgs/readline/readline.h>
6537 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6538 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6540 grep -v '^ *+' conftest.er1 >conftest.err
6542 cat conftest.err >&5
6543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544 (exit $ac_status); } >/dev/null; then
6545 if test -s conftest.err; then
6546 ac_cpp_err=$ac_c_preproc_warn_flag
6547 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6554 if test -z "$ac_cpp_err"; then
6555 ac_header_preproc=yes
6557 echo "$as_me: failed program was:" >&5
6558 sed 's/^/| /' conftest.$ac_ext >&5
6560 ac_header_preproc=no
6562 rm -f conftest.err conftest.$ac_ext
6563 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6564 echo "${ECHO_T}$ac_header_preproc" >&6
6566 # So? What about this header?
6567 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6569 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
6570 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6571 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: proceeding with the compiler's result" >&5
6572 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: proceeding with the compiler's result" >&2;}
6573 ac_header_preproc=yes
6576 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: present but cannot be compiled" >&5
6577 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: present but cannot be compiled" >&2;}
6578 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: check for missing prerequisite headers?" >&5
6579 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: check for missing prerequisite headers?" >&2;}
6580 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: see the Autoconf documentation" >&5
6581 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: see the Autoconf documentation" >&2;}
6582 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: section \"Present But Cannot Be Compiled\"" >&5
6583 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: section \"Present But Cannot Be Compiled\"" >&2;}
6584 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: proceeding with the preprocessor's result" >&5
6585 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: proceeding with the preprocessor's result" >&2;}
6586 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: in the future, the compiler will take precedence" >&5
6587 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: in the future, the compiler will take precedence" >&2;}
6590 ## ------------------------------------------ ##
6591 ## Report this to the AC_PACKAGE_NAME lists. ##
6592 ## ------------------------------------------ ##
6595 sed "s/^/$as_me: WARNING: /" >&2
6598 echo "$as_me:$LINENO: checking for ${TOP_DIR}/depkgs/readline/readline.h" >&5
6599 echo $ECHO_N "checking for ${TOP_DIR}/depkgs/readline/readline.h... $ECHO_C" >&6
6600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6601 echo $ECHO_N "(cached) $ECHO_C" >&6
6603 eval "$as_ac_Header=\$ac_header_preproc"
6605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6610 cat >>confdefs.h <<\_ACEOF
6611 #define HAVE_READLINE 1
6615 CONS_INC="-I${TOP_DIR}/depkgs/readline"
6616 CONS_LIBS="-lreadline -lhistory -ltermcap"
6617 CONS_LDFLAGS="-L${TOP_DIR}/depkgs/readline"
6618 PRTREADLINE_SRC="${TOP_DIR}/depkgs/readline"
6622 echo "readline.h not found. readline turned off ..."
6648 # Minimal stuff for readline Makefile configuration
6651 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6652 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
6653 if test "${ac_cv_header_stat_broken+set}" = set; then
6654 echo $ECHO_N "(cached) $ECHO_C" >&6
6656 cat >conftest.$ac_ext <<_ACEOF
6659 cat confdefs.h >>conftest.$ac_ext
6660 cat >>conftest.$ac_ext <<_ACEOF
6661 /* end confdefs.h. */
6662 #include <sys/types.h>
6663 #include <sys/stat.h>
6665 #if defined(S_ISBLK) && defined(S_IFDIR)
6666 # if S_ISBLK (S_IFDIR)
6671 #if defined(S_ISBLK) && defined(S_IFCHR)
6672 # if S_ISBLK (S_IFCHR)
6677 #if defined(S_ISLNK) && defined(S_IFREG)
6678 # if S_ISLNK (S_IFREG)
6683 #if defined(S_ISSOCK) && defined(S_IFREG)
6684 # if S_ISSOCK (S_IFREG)
6690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6691 $EGREP "You lose" >/dev/null 2>&1; then
6692 ac_cv_header_stat_broken=yes
6694 ac_cv_header_stat_broken=no
6699 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6700 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
6701 if test $ac_cv_header_stat_broken = yes; then
6703 cat >>confdefs.h <<\_ACEOF
6704 #define STAT_MACROS_BROKEN 1
6715 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
6716 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6717 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6718 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
6719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6720 echo $ECHO_N "(cached) $ECHO_C" >&6
6722 cat >conftest.$ac_ext <<_ACEOF
6725 cat confdefs.h >>conftest.$ac_ext
6726 cat >>conftest.$ac_ext <<_ACEOF
6727 /* end confdefs.h. */
6728 #include <sys/types.h>
6740 rm -f conftest.$ac_objext
6741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6742 (eval $ac_compile) 2>conftest.er1
6744 grep -v '^ *+' conftest.er1 >conftest.err
6746 cat conftest.err >&5
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); } &&
6749 { ac_try='test -z "$ac_c_werror_flag"
6750 || test ! -s conftest.err'
6751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); }; } &&
6756 { ac_try='test -s conftest.$ac_objext'
6757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761 (exit $ac_status); }; }; then
6762 eval "$as_ac_Header=yes"
6764 echo "$as_me: failed program was:" >&5
6765 sed 's/^/| /' conftest.$ac_ext >&5
6767 eval "$as_ac_Header=no"
6769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6774 cat >>confdefs.h <<_ACEOF
6775 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6778 ac_header_dirent=$ac_hdr; break
6782 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6783 if test $ac_header_dirent = dirent.h; then
6784 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6785 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6786 if test "${ac_cv_search_opendir+set}" = set; then
6787 echo $ECHO_N "(cached) $ECHO_C" >&6
6789 ac_func_search_save_LIBS=$LIBS
6790 ac_cv_search_opendir=no
6791 cat >conftest.$ac_ext <<_ACEOF
6794 cat confdefs.h >>conftest.$ac_ext
6795 cat >>conftest.$ac_ext <<_ACEOF
6796 /* end confdefs.h. */
6798 /* Override any gcc2 internal prototype to avoid an error. */
6802 /* We use char because int might match the return type of a gcc2
6803 builtin and then its argument prototype would still apply. */
6813 rm -f conftest.$ac_objext conftest$ac_exeext
6814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6815 (eval $ac_link) 2>conftest.er1
6817 grep -v '^ *+' conftest.er1 >conftest.err
6819 cat conftest.err >&5
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); } &&
6822 { ac_try='test -z "$ac_c_werror_flag"
6823 || test ! -s conftest.err'
6824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6828 (exit $ac_status); }; } &&
6829 { ac_try='test -s conftest$ac_exeext'
6830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); }; }; then
6835 ac_cv_search_opendir="none required"
6837 echo "$as_me: failed program was:" >&5
6838 sed 's/^/| /' conftest.$ac_ext >&5
6841 rm -f conftest.err conftest.$ac_objext \
6842 conftest$ac_exeext conftest.$ac_ext
6843 if test "$ac_cv_search_opendir" = no; then
6844 for ac_lib in dir; do
6845 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6846 cat >conftest.$ac_ext <<_ACEOF
6849 cat confdefs.h >>conftest.$ac_ext
6850 cat >>conftest.$ac_ext <<_ACEOF
6851 /* end confdefs.h. */
6853 /* Override any gcc2 internal prototype to avoid an error. */
6857 /* We use char because int might match the return type of a gcc2
6858 builtin and then its argument prototype would still apply. */
6868 rm -f conftest.$ac_objext conftest$ac_exeext
6869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6870 (eval $ac_link) 2>conftest.er1
6872 grep -v '^ *+' conftest.er1 >conftest.err
6874 cat conftest.err >&5
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); } &&
6877 { ac_try='test -z "$ac_c_werror_flag"
6878 || test ! -s conftest.err'
6879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); }; } &&
6884 { ac_try='test -s conftest$ac_exeext'
6885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6889 (exit $ac_status); }; }; then
6890 ac_cv_search_opendir="-l$ac_lib"
6893 echo "$as_me: failed program was:" >&5
6894 sed 's/^/| /' conftest.$ac_ext >&5
6897 rm -f conftest.err conftest.$ac_objext \
6898 conftest$ac_exeext conftest.$ac_ext
6901 LIBS=$ac_func_search_save_LIBS
6903 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6904 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6905 if test "$ac_cv_search_opendir" != no; then
6906 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
6911 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6912 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6913 if test "${ac_cv_search_opendir+set}" = set; then
6914 echo $ECHO_N "(cached) $ECHO_C" >&6
6916 ac_func_search_save_LIBS=$LIBS
6917 ac_cv_search_opendir=no
6918 cat >conftest.$ac_ext <<_ACEOF
6921 cat confdefs.h >>conftest.$ac_ext
6922 cat >>conftest.$ac_ext <<_ACEOF
6923 /* end confdefs.h. */
6925 /* Override any gcc2 internal prototype to avoid an error. */
6929 /* We use char because int might match the return type of a gcc2
6930 builtin and then its argument prototype would still apply. */
6940 rm -f conftest.$ac_objext conftest$ac_exeext
6941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6942 (eval $ac_link) 2>conftest.er1
6944 grep -v '^ *+' conftest.er1 >conftest.err
6946 cat conftest.err >&5
6947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6948 (exit $ac_status); } &&
6949 { ac_try='test -z "$ac_c_werror_flag"
6950 || test ! -s conftest.err'
6951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955 (exit $ac_status); }; } &&
6956 { ac_try='test -s conftest$ac_exeext'
6957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); }; }; then
6962 ac_cv_search_opendir="none required"
6964 echo "$as_me: failed program was:" >&5
6965 sed 's/^/| /' conftest.$ac_ext >&5
6968 rm -f conftest.err conftest.$ac_objext \
6969 conftest$ac_exeext conftest.$ac_ext
6970 if test "$ac_cv_search_opendir" = no; then
6972 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6973 cat >conftest.$ac_ext <<_ACEOF
6976 cat confdefs.h >>conftest.$ac_ext
6977 cat >>conftest.$ac_ext <<_ACEOF
6978 /* end confdefs.h. */
6980 /* Override any gcc2 internal prototype to avoid an error. */
6984 /* We use char because int might match the return type of a gcc2
6985 builtin and then its argument prototype would still apply. */
6995 rm -f conftest.$ac_objext conftest$ac_exeext
6996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6997 (eval $ac_link) 2>conftest.er1
6999 grep -v '^ *+' conftest.er1 >conftest.err
7001 cat conftest.err >&5
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); } &&
7004 { ac_try='test -z "$ac_c_werror_flag"
7005 || test ! -s conftest.err'
7006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); }; } &&
7011 { ac_try='test -s conftest$ac_exeext'
7012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); }; }; then
7017 ac_cv_search_opendir="-l$ac_lib"
7020 echo "$as_me: failed program was:" >&5
7021 sed 's/^/| /' conftest.$ac_ext >&5
7024 rm -f conftest.err conftest.$ac_objext \
7025 conftest$ac_exeext conftest.$ac_ext
7028 LIBS=$ac_func_search_save_LIBS
7030 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7031 echo "${ECHO_T}$ac_cv_search_opendir" >&6
7032 if test "$ac_cv_search_opendir" != no; then
7033 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
7047 for ac_func in strcasecmp select setenv putenv tcgetattr setlocale lstat lchown
7049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7050 echo "$as_me:$LINENO: checking for $ac_func" >&5
7051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7052 if eval "test \"\${$as_ac_var+set}\" = set"; then
7053 echo $ECHO_N "(cached) $ECHO_C" >&6
7055 cat >conftest.$ac_ext <<_ACEOF
7058 cat confdefs.h >>conftest.$ac_ext
7059 cat >>conftest.$ac_ext <<_ACEOF
7060 /* end confdefs.h. */
7061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7063 #define $ac_func innocuous_$ac_func
7065 /* System header to define __stub macros and hopefully few prototypes,
7066 which can conflict with char $ac_func (); below.
7067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7068 <limits.h> exists even on freestanding compilers. */
7071 # include <limits.h>
7073 # include <assert.h>
7078 /* Override any gcc2 internal prototype to avoid an error. */
7083 /* We use char because int might match the return type of a gcc2
7084 builtin and then its argument prototype would still apply. */
7086 /* The GNU C library defines this for functions which it implements
7087 to always fail with ENOSYS. Some functions are actually named
7088 something starting with __ and the normal name is an alias. */
7089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7092 char (*f) () = $ac_func;
7101 return f != $ac_func;
7106 rm -f conftest.$ac_objext conftest$ac_exeext
7107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7108 (eval $ac_link) 2>conftest.er1
7110 grep -v '^ *+' conftest.er1 >conftest.err
7112 cat conftest.err >&5
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); } &&
7115 { ac_try='test -z "$ac_c_werror_flag"
7116 || test ! -s conftest.err'
7117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); }; } &&
7122 { ac_try='test -s conftest$ac_exeext'
7123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); }; }; then
7128 eval "$as_ac_var=yes"
7130 echo "$as_me: failed program was:" >&5
7131 sed 's/^/| /' conftest.$ac_ext >&5
7133 eval "$as_ac_var=no"
7135 rm -f conftest.err conftest.$ac_objext \
7136 conftest$ac_exeext conftest.$ac_ext
7138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7140 if test `eval echo '${'$as_ac_var'}'` = yes; then
7141 cat >>confdefs.h <<_ACEOF
7142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7150 for ac_func in nanosleep nl_langinfo
7152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7153 echo "$as_me:$LINENO: checking for $ac_func" >&5
7154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7155 if eval "test \"\${$as_ac_var+set}\" = set"; then
7156 echo $ECHO_N "(cached) $ECHO_C" >&6
7158 cat >conftest.$ac_ext <<_ACEOF
7161 cat confdefs.h >>conftest.$ac_ext
7162 cat >>conftest.$ac_ext <<_ACEOF
7163 /* end confdefs.h. */
7164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7166 #define $ac_func innocuous_$ac_func
7168 /* System header to define __stub macros and hopefully few prototypes,
7169 which can conflict with char $ac_func (); below.
7170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7171 <limits.h> exists even on freestanding compilers. */
7174 # include <limits.h>
7176 # include <assert.h>
7181 /* Override any gcc2 internal prototype to avoid an error. */
7186 /* We use char because int might match the return type of a gcc2
7187 builtin and then its argument prototype would still apply. */
7189 /* The GNU C library defines this for functions which it implements
7190 to always fail with ENOSYS. Some functions are actually named
7191 something starting with __ and the normal name is an alias. */
7192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7195 char (*f) () = $ac_func;
7204 return f != $ac_func;
7209 rm -f conftest.$ac_objext conftest$ac_exeext
7210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7211 (eval $ac_link) 2>conftest.er1
7213 grep -v '^ *+' conftest.er1 >conftest.err
7215 cat conftest.err >&5
7216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); } &&
7218 { ac_try='test -z "$ac_c_werror_flag"
7219 || test ! -s conftest.err'
7220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); }; } &&
7225 { ac_try='test -s conftest$ac_exeext'
7226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); }; }; then
7231 eval "$as_ac_var=yes"
7233 echo "$as_me: failed program was:" >&5
7234 sed 's/^/| /' conftest.$ac_ext >&5
7236 eval "$as_ac_var=no"
7238 rm -f conftest.err conftest.$ac_objext \
7239 conftest$ac_exeext conftest.$ac_ext
7241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7243 if test `eval echo '${'$as_ac_var'}'` = yes; then
7244 cat >>confdefs.h <<_ACEOF
7245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7252 for ac_header in varargs.h
7254 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7256 echo "$as_me:$LINENO: checking for $ac_header" >&5
7257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7259 echo $ECHO_N "(cached) $ECHO_C" >&6
7261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7262 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7264 # Is the header compilable?
7265 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7266 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7267 cat >conftest.$ac_ext <<_ACEOF
7270 cat confdefs.h >>conftest.$ac_ext
7271 cat >>conftest.$ac_ext <<_ACEOF
7272 /* end confdefs.h. */
7273 $ac_includes_default
7274 #include <$ac_header>
7276 rm -f conftest.$ac_objext
7277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7278 (eval $ac_compile) 2>conftest.er1
7280 grep -v '^ *+' conftest.er1 >conftest.err
7282 cat conftest.err >&5
7283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7284 (exit $ac_status); } &&
7285 { ac_try='test -z "$ac_c_werror_flag"
7286 || test ! -s conftest.err'
7287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7291 (exit $ac_status); }; } &&
7292 { ac_try='test -s conftest.$ac_objext'
7293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7297 (exit $ac_status); }; }; then
7298 ac_header_compiler=yes
7300 echo "$as_me: failed program was:" >&5
7301 sed 's/^/| /' conftest.$ac_ext >&5
7303 ac_header_compiler=no
7305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7307 echo "${ECHO_T}$ac_header_compiler" >&6
7309 # Is the header present?
7310 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7311 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7312 cat >conftest.$ac_ext <<_ACEOF
7315 cat confdefs.h >>conftest.$ac_ext
7316 cat >>conftest.$ac_ext <<_ACEOF
7317 /* end confdefs.h. */
7318 #include <$ac_header>
7320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7321 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7323 grep -v '^ *+' conftest.er1 >conftest.err
7325 cat conftest.err >&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); } >/dev/null; then
7328 if test -s conftest.err; then
7329 ac_cpp_err=$ac_c_preproc_warn_flag
7330 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7337 if test -z "$ac_cpp_err"; then
7338 ac_header_preproc=yes
7340 echo "$as_me: failed program was:" >&5
7341 sed 's/^/| /' conftest.$ac_ext >&5
7343 ac_header_preproc=no
7345 rm -f conftest.err conftest.$ac_ext
7346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7347 echo "${ECHO_T}$ac_header_preproc" >&6
7349 # So? What about this header?
7350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7352 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7353 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7355 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7356 ac_header_preproc=yes
7359 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7360 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7361 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7362 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7363 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7364 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7365 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7366 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7368 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7369 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7370 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7373 ## ------------------------------------------ ##
7374 ## Report this to the AC_PACKAGE_NAME lists. ##
7375 ## ------------------------------------------ ##
7378 sed "s/^/$as_me: WARNING: /" >&2
7381 echo "$as_me:$LINENO: checking for $ac_header" >&5
7382 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7383 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7384 echo $ECHO_N "(cached) $ECHO_C" >&6
7386 eval "$as_ac_Header=\$ac_header_preproc"
7388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7392 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7393 cat >>confdefs.h <<_ACEOF
7394 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7402 # End of readline/conio stuff
7403 # -----------------------------------------------------------------------
7405 # -----------------------------------------------------------------------
7406 # Check for Python support
7408 echo "$as_me:$LINENO: checking for Python support" >&5
7409 echo $ECHO_N "checking for Python support... $ECHO_C" >&6
7411 # Check whether --with-python or --without-python was given.
7412 if test "${with_python+set}" = set; then
7413 withval="$with_python"
7417 if test "$withval" != "no"; then
7418 if test "$withval" = "yes"; then
7419 if test -f /usr/include/python2.2/Python.h; then
7420 PYTHON_INCDIR=-I/usr/include/python2.2
7421 PYTHON_LIBS="-L/usr/lib/python2.2/config -lpython2.2 -lutil -ldl"
7422 elif test -f /usr/include/python2.3/Python.h; then
7423 PYTHON_INCDIR=-I/usr/include/python2.3
7424 PYTHON_LIBS="-L/usr/lib/python2.3/config -lpython2.3 -lutil -ldl"
7425 elif test -f /usr/include/python2.4/Python.h; then
7426 PYTHON_INCDIR=-I/usr/include/python2.4
7427 PYTHON_LIBS="-L/usr/lib/python2.4/config -lpython2.4 -lutil -ldl"
7428 elif test -f $prefix/include/Python.h; then
7429 PYTHON_INCDIR=-I$prefix/include
7430 PYTHON_LIBS="-L$prefix/lib/config -lpython -lutil -ldl"
7432 echo "$as_me:$LINENO: result: no" >&5
7433 echo "${ECHO_T}no" >&6
7434 { { echo "$as_me:$LINENO: error: Unable to find Python.h in standard locations" >&5
7435 echo "$as_me: error: Unable to find Python.h in standard locations" >&2;}
7436 { (exit 1); exit 1; }; }
7439 if test -f $withval/Python.h; then
7440 PYTHON_INCDIR=-I$withval
7441 PYTHON_LIBS="-L$withval/config -lpython -lutil -ldl"
7442 elif test -f $withval/include/Python.h; then
7443 PYTHON_INCDIR=-I$withval/include
7444 PYTHON_LIBS="-L$withval/lib/config -lpython -lutil -ldl"
7446 echo "$as_me:$LINENO: result: no" >&5
7447 echo "${ECHO_T}no" >&6
7448 { { echo "$as_me:$LINENO: error: Invalid Python directory $withval - unable to find Python.h under $withval" >&5
7449 echo "$as_me: error: Invalid Python directory $withval - unable to find Python.h under $withval" >&2;}
7450 { (exit 1); exit 1; }; }
7453 cat >>confdefs.h <<\_ACEOF
7454 #define HAVE_PYTHON 1
7457 echo "$as_me:$LINENO: result: yes" >&5
7458 echo "${ECHO_T}yes" >&6
7462 echo "$as_me:$LINENO: result: no" >&5
7463 echo "${ECHO_T}no" >&6
7468 echo "$as_me:$LINENO: result: no" >&5
7469 echo "${ECHO_T}no" >&6
7476 # -------------------------------------------
7477 # check for cdrecord writer location
7478 # get scsibus,target,lun
7479 # -------------------------------------------
7481 if test ! x$CDRECORD = x ; then
7482 CDSTL=`${CDRECORD} -scanbus 2>/dev/null | grep CD-RW | ${AWK} '{print $1}'`
7483 if test x${CDSTL} = x ; then
7484 CDSTL=`${CDRECORD} -scanbus 2>/dev/null | grep CD+RW | ${AWK} '{print $1}'`
7486 if test x${CDSTL} = x ; then
7493 # ---------------------------------------------------
7494 # Check for GMP support/directory
7495 # ---------------------------------------------------
7499 # [ --with-gmp[=DIR] Specify gmp library directory],
7501 # case "$with_gmp" in
7504 # if test "$with_gmp" != "yes"; then
7505 # GMP_INC="-I$with_gmp"
7507 # GMP_LDFLAGS="-L$with_gmp"
7509 # with_gmp="/usr/include"
7511 # AC_CHECK_HEADER($with_gmp/gmp.h,
7512 # [ AC_MSG_RESULT(yes)
7513 # AC_DEFINE(HAVE_GMP)
7517 # [ AC_MSG_ERROR([*** gmp library missing])
7523 # # check for standard gmp library
7524 # AC_CHECK_HEADER(/usr/include/gmp.h,
7525 # [ AC_MSG_RESULT(yes)
7526 # AC_DEFINE(HAVE_GMP)
7531 # # Did not find standard library, so use our own
7532 # AC_MSG_RESULT(yes)
7533 # AC_DEFINE(HAVE_GMP)
7536 # GMP_INC="-I${TOP_DIR}/depkgs/gmp"
7538 # GMP_LDFLAGS="-L${TOP_DIR}/depkgs/gmp"
7539 # GMP_SRC="${TOP_DIR}/depkgs/gmp"
7545 #AC_SUBST(GMP_LDFLAGS)
7549 # -----------------------------------------------------------------------
7552 # ---------------------------------------------------
7553 # Check for CWEB support/directory
7554 # ---------------------------------------------------
7559 # [ --with-cweb[=DIR] Specify cweb library directory],
7561 # case "$with_cweb" in
7564 # if test "$with_cweb" != "yes"; then
7565 # CWEB_INC="-I$with_cweb"
7566 # CWEB_LIBS="-lcweb"
7567 # CWEB_LDFLAGS="-L$with_cweb"
7569 # with_cweb="/usr/include"
7571 # AC_CHECK_HEADER($with_cweb/cweb.h,
7572 # [ AC_MSG_RESULT(yes)
7573 # AC_DEFINE(HAVE_CWEB)
7574 # CWEB_LIBS="-lcweb"
7577 # [ AC_MSG_ERROR([*** cweb library missing])
7583 # # check for standard cweb library
7584 # AC_CHECK_HEADER(/usr/include/cweb.h,
7585 # [ AC_MSG_RESULT(yes)
7586 # AC_DEFINE(HAVE_CWEB)
7589 # CWEB_LIBS="-lcweb"
7591 # # Did not find starndard library, so use our own
7592 # AC_MSG_RESULT(yes)
7593 # AC_DEFINE(HAVE_CWEB)
7596 # CWEB=${TOP_DIR}/depkgs/cweb
7597 # CWEB_INC="-I${TOP_DIR}/depkgs/cweb"
7598 # CWEB_LIBS="-lcweb"
7599 # CWEB_LDFLAGS="-L${TOP_DIR}/depkgs/cweb"
7600 # CWEB_SRC="${TOP_DIR}/depkgs/cweb"
7606 #AC_SUBST(CWEB_LIBS)
7607 #AC_SUBST(CWEB_LDFLAGS)
7611 # -----------------------------------------------------------------------
7614 # Find where sockets are (especially for Solaris)
7615 # Do this before the TCP Wrappers test since tcp wrappers
7616 # uses the socket library and some linkers are stupid.
7618 echo "$as_me:$LINENO: checking for socket" >&5
7619 echo $ECHO_N "checking for socket... $ECHO_C" >&6
7620 if test "${ac_cv_func_socket+set}" = set; then
7621 echo $ECHO_N "(cached) $ECHO_C" >&6
7623 cat >conftest.$ac_ext <<_ACEOF
7626 cat confdefs.h >>conftest.$ac_ext
7627 cat >>conftest.$ac_ext <<_ACEOF
7628 /* end confdefs.h. */
7629 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
7630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7631 #define socket innocuous_socket
7633 /* System header to define __stub macros and hopefully few prototypes,
7634 which can conflict with char socket (); below.
7635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7636 <limits.h> exists even on freestanding compilers. */
7639 # include <limits.h>
7641 # include <assert.h>
7646 /* Override any gcc2 internal prototype to avoid an error. */
7651 /* We use char because int might match the return type of a gcc2
7652 builtin and then its argument prototype would still apply. */
7654 /* The GNU C library defines this for functions which it implements
7655 to always fail with ENOSYS. Some functions are actually named
7656 something starting with __ and the normal name is an alias. */
7657 #if defined (__stub_socket) || defined (__stub___socket)
7660 char (*f) () = socket;
7674 rm -f conftest.$ac_objext conftest$ac_exeext
7675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7676 (eval $ac_link) 2>conftest.er1
7678 grep -v '^ *+' conftest.er1 >conftest.err
7680 cat conftest.err >&5
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); } &&
7683 { ac_try='test -z "$ac_c_werror_flag"
7684 || test ! -s conftest.err'
7685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7689 (exit $ac_status); }; } &&
7690 { ac_try='test -s conftest$ac_exeext'
7691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); }; }; then
7696 ac_cv_func_socket=yes
7698 echo "$as_me: failed program was:" >&5
7699 sed 's/^/| /' conftest.$ac_ext >&5
7701 ac_cv_func_socket=no
7703 rm -f conftest.err conftest.$ac_objext \
7704 conftest$ac_exeext conftest.$ac_ext
7706 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
7707 echo "${ECHO_T}$ac_cv_func_socket" >&6
7708 if test $ac_cv_func_socket = yes; then
7709 echo "$as_me:$LINENO: result: using libc's socket" >&5
7710 echo "${ECHO_T}using libc's socket" >&6
7713 echo "$as_me:$LINENO: checking for socket in -lxnet" >&5
7714 echo $ECHO_N "checking for socket in -lxnet... $ECHO_C" >&6
7715 if test "${ac_cv_lib_xnet_socket+set}" = set; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6
7718 ac_check_lib_save_LIBS=$LIBS
7720 cat >conftest.$ac_ext <<_ACEOF
7723 cat confdefs.h >>conftest.$ac_ext
7724 cat >>conftest.$ac_ext <<_ACEOF
7725 /* end confdefs.h. */
7727 /* Override any gcc2 internal prototype to avoid an error. */
7731 /* We use char because int might match the return type of a gcc2
7732 builtin and then its argument prototype would still apply. */
7742 rm -f conftest.$ac_objext conftest$ac_exeext
7743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7744 (eval $ac_link) 2>conftest.er1
7746 grep -v '^ *+' conftest.er1 >conftest.err
7748 cat conftest.err >&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); } &&
7751 { ac_try='test -z "$ac_c_werror_flag"
7752 || test ! -s conftest.err'
7753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7757 (exit $ac_status); }; } &&
7758 { ac_try='test -s conftest$ac_exeext'
7759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7763 (exit $ac_status); }; }; then
7764 ac_cv_lib_xnet_socket=yes
7766 echo "$as_me: failed program was:" >&5
7767 sed 's/^/| /' conftest.$ac_ext >&5
7769 ac_cv_lib_xnet_socket=no
7771 rm -f conftest.err conftest.$ac_objext \
7772 conftest$ac_exeext conftest.$ac_ext
7773 LIBS=$ac_check_lib_save_LIBS
7775 echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_socket" >&5
7776 echo "${ECHO_T}$ac_cv_lib_xnet_socket" >&6
7777 if test $ac_cv_lib_xnet_socket = yes; then
7778 cat >>confdefs.h <<_ACEOF
7779 #define HAVE_LIBXNET 1
7787 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
7788 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
7789 if test "${ac_cv_lib_socket_socket+set}" = set; then
7790 echo $ECHO_N "(cached) $ECHO_C" >&6
7792 ac_check_lib_save_LIBS=$LIBS
7793 LIBS="-lsocket $LIBS"
7794 cat >conftest.$ac_ext <<_ACEOF
7797 cat confdefs.h >>conftest.$ac_ext
7798 cat >>conftest.$ac_ext <<_ACEOF
7799 /* end confdefs.h. */
7801 /* Override any gcc2 internal prototype to avoid an error. */
7805 /* We use char because int might match the return type of a gcc2
7806 builtin and then its argument prototype would still apply. */
7816 rm -f conftest.$ac_objext conftest$ac_exeext
7817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7818 (eval $ac_link) 2>conftest.er1
7820 grep -v '^ *+' conftest.er1 >conftest.err
7822 cat conftest.err >&5
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); } &&
7825 { ac_try='test -z "$ac_c_werror_flag"
7826 || test ! -s conftest.err'
7827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831 (exit $ac_status); }; } &&
7832 { ac_try='test -s conftest$ac_exeext'
7833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); }; }; then
7838 ac_cv_lib_socket_socket=yes
7840 echo "$as_me: failed program was:" >&5
7841 sed 's/^/| /' conftest.$ac_ext >&5
7843 ac_cv_lib_socket_socket=no
7845 rm -f conftest.err conftest.$ac_objext \
7846 conftest$ac_exeext conftest.$ac_ext
7847 LIBS=$ac_check_lib_save_LIBS
7849 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
7850 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
7851 if test $ac_cv_lib_socket_socket = yes; then
7852 cat >>confdefs.h <<_ACEOF
7853 #define HAVE_LIBSOCKET 1
7856 LIBS="-lsocket $LIBS"
7861 echo "$as_me:$LINENO: checking for socket in -linet" >&5
7862 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6
7863 if test "${ac_cv_lib_inet_socket+set}" = set; then
7864 echo $ECHO_N "(cached) $ECHO_C" >&6
7866 ac_check_lib_save_LIBS=$LIBS
7868 cat >conftest.$ac_ext <<_ACEOF
7871 cat confdefs.h >>conftest.$ac_ext
7872 cat >>conftest.$ac_ext <<_ACEOF
7873 /* end confdefs.h. */
7875 /* Override any gcc2 internal prototype to avoid an error. */
7879 /* We use char because int might match the return type of a gcc2
7880 builtin and then its argument prototype would still apply. */
7890 rm -f conftest.$ac_objext conftest$ac_exeext
7891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7892 (eval $ac_link) 2>conftest.er1
7894 grep -v '^ *+' conftest.er1 >conftest.err
7896 cat conftest.err >&5
7897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7898 (exit $ac_status); } &&
7899 { ac_try='test -z "$ac_c_werror_flag"
7900 || test ! -s conftest.err'
7901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 (exit $ac_status); }; } &&
7906 { ac_try='test -s conftest$ac_exeext'
7907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7911 (exit $ac_status); }; }; then
7912 ac_cv_lib_inet_socket=yes
7914 echo "$as_me: failed program was:" >&5
7915 sed 's/^/| /' conftest.$ac_ext >&5
7917 ac_cv_lib_inet_socket=no
7919 rm -f conftest.err conftest.$ac_objext \
7920 conftest$ac_exeext conftest.$ac_ext
7921 LIBS=$ac_check_lib_save_LIBS
7923 echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5
7924 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6
7925 if test $ac_cv_lib_inet_socket = yes; then
7926 cat >>confdefs.h <<_ACEOF
7927 #define HAVE_LIBINET 1
7938 # -----------------------------------------------------------
7939 # Check whether user wants TCP wrappers support (default off)
7940 # -----------------------------------------------------------
7943 # Check whether --with-tcp-wrappers or --without-tcp-wrappers was given.
7944 if test "${with_tcp_wrappers+set}" = set; then
7945 withval="$with_tcp_wrappers"
7947 if test "x$withval" != "xno" ; then
7949 LIBS="$saved_LIBS -lwrap"
7950 echo "$as_me:$LINENO: checking for libwrap" >&5
7951 echo $ECHO_N "checking for libwrap... $ECHO_C" >&6
7952 cat >conftest.$ac_ext <<_ACEOF
7955 cat confdefs.h >>conftest.$ac_ext
7956 cat >>conftest.$ac_ext <<_ACEOF
7957 /* end confdefs.h. */
7959 int deny_severity = 0;
7960 int allow_severity = 0;
7961 struct request_info *req;
7970 rm -f conftest.$ac_objext conftest$ac_exeext
7971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7972 (eval $ac_link) 2>conftest.er1
7974 grep -v '^ *+' conftest.er1 >conftest.err
7976 cat conftest.err >&5
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); } &&
7979 { ac_try='test -z "$ac_c_werror_flag"
7980 || test ! -s conftest.err'
7981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7985 (exit $ac_status); }; } &&
7986 { ac_try='test -s conftest$ac_exeext'
7987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991 (exit $ac_status); }; }; then
7993 echo "$as_me:$LINENO: result: yes" >&5
7994 echo "${ECHO_T}yes" >&6
7995 cat >>confdefs.h <<\_ACEOF
7996 #define HAVE_LIBWRAP 1
8002 echo "$as_me: failed program was:" >&5
8003 sed 's/^/| /' conftest.$ac_ext >&5
8006 LIBS="$saved_LIBS -lwrap -lnsl"
8007 cat >conftest.$ac_ext <<_ACEOF
8010 cat confdefs.h >>conftest.$ac_ext
8011 cat >>conftest.$ac_ext <<_ACEOF
8012 /* end confdefs.h. */
8014 int deny_severity = 0;
8015 int allow_severity = 0;
8016 struct request_info *req;
8025 rm -f conftest.$ac_objext conftest$ac_exeext
8026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8027 (eval $ac_link) 2>conftest.er1
8029 grep -v '^ *+' conftest.er1 >conftest.err
8031 cat conftest.err >&5
8032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8033 (exit $ac_status); } &&
8034 { ac_try='test -z "$ac_c_werror_flag"
8035 || test ! -s conftest.err'
8036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); }; } &&
8041 { ac_try='test -s conftest$ac_exeext'
8042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8046 (exit $ac_status); }; }; then
8048 echo "$as_me:$LINENO: result: yes" >&5
8049 echo "${ECHO_T}yes" >&6
8050 cat >>confdefs.h <<\_ACEOF
8051 #define HAVE_LIBWRAP 1
8057 echo "$as_me: failed program was:" >&5
8058 sed 's/^/| /' conftest.$ac_ext >&5
8060 { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5
8061 echo "$as_me: error: *** libwrap missing" >&2;}
8062 { (exit 1); exit 1; }; }
8065 rm -f conftest.err conftest.$ac_objext \
8066 conftest$ac_exeext conftest.$ac_ext
8069 rm -f conftest.err conftest.$ac_objext \
8070 conftest$ac_exeext conftest.$ac_ext
8076 # ------------------------------------------
8077 # Where to place working dir
8078 # ------------------------------------------
8079 working_dir=`eval echo ${prefix}/var/bacula/working`
8081 # Check whether --with-working-dir or --without-working-dir was given.
8082 if test "${with_working_dir+set}" = set; then
8083 withval="$with_working_dir"
8085 if test "x$withval" != "xno" ; then
8086 working_dir=$withval
8095 # ------------------------------------------
8096 # Where to place scriptdir (script files)
8097 # ------------------------------------------
8098 scriptdir=`eval echo ${sysconfdir}`
8100 # Check whether --with-scriptdir or --without-scriptdir was given.
8101 if test "${with_scriptdir+set}" = set; then
8102 withval="$with_scriptdir"
8104 if test "x$withval" != "xno" ; then
8114 # ------------------------------------------
8115 # Where to send dump email
8116 # ------------------------------------------
8117 dump_email=root@localhost
8119 # Check whether --with-dump-email or --without-dump-email was given.
8120 if test "${with_dump_email+set}" = set; then
8121 withval="$with_dump_email"
8123 if test "x$withval" != "xno" ; then
8132 # ------------------------------------------
8133 # Where to send job email
8134 # ------------------------------------------
8135 job_email=root@localhost
8137 # Check whether --with-job-email or --without-job-email was given.
8138 if test "${with_job_email+set}" = set; then
8139 withval="$with_job_email"
8141 if test "x$withval" != "xno" ; then
8150 # ------------------------------------------
8151 # Where to find smtp host
8152 # ------------------------------------------
8155 # Check whether --with-smtp_host or --without-smtp_host was given.
8156 if test "${with_smtp_host+set}" = set; then
8157 withval="$with_smtp_host"
8159 if test "x$withval" != "xno" ; then
8169 # ------------------------------------
8170 # Where to place pid files
8171 # ------------------------------------
8174 # Check whether --with-pid-dir or --without-pid-dir was given.
8175 if test "${with_pid_dir+set}" = set; then
8176 withval="$with_pid_dir"
8178 if test "x$withval" != "xno" ; then
8185 cat >>confdefs.h <<_ACEOF
8186 #define _PATH_BACULA_PIDDIR "$piddir"
8192 # ------------------------------------
8193 # Where to place subsys "lock file"
8194 # ------------------------------------
8195 subsysdir=/var/run/subsys
8197 # Check whether --with-subsys-dir or --without-subsys-dir was given.
8198 if test "${with_subsys_dir+set}" = set; then
8199 withval="$with_subsys_dir"
8201 if test "x$withval" != "xno" ; then
8212 # ------------------------------------
8213 # Where to start assigning ports
8214 # ------------------------------------
8217 # Check whether --with-baseport or --without-baseport was given.
8218 if test "${with_baseport+set}" = set; then
8219 withval="$with_baseport"
8221 if test "x$withval" != "xno" ; then
8229 dir_port=`expr $baseport`
8230 fd_port=`expr $baseport + 1`
8231 sd_port=`expr $fd_port + 1`
8238 # ------------------------------------------
8239 # Generate passwords
8240 # ------------------------------------------
8243 # Check whether --with-dir-password or --without-dir-password was given.
8244 if test "${with_dir_password+set}" = set; then
8245 withval="$with_dir_password"
8247 if test "x$withval" != "xno" ; then
8248 dir_password=$withval
8254 if test "x$dir_password" = "x" ; then
8255 if test "x$OPENSSL" = "xnone" ; then
8256 # key=`date | uuencode /dev/stdout | tr "\"@\\\`\\ \\=\\,\\(\\)\\#\\.\\!\\-$'" abcdefghijklmnopqrst | awk '{getline} {print} {exit}'`
8257 key=`autoconf/randpass 33`
8259 key=`openssl rand -base64 33`
8266 # Check whether --with-fd-password or --without-fd-password was given.
8267 if test "${with_fd_password+set}" = set; then
8268 withval="$with_fd_password"
8270 if test "x$withval" != "xno" ; then
8271 fd_password=$withval
8277 if test "x$fd_password" = "x" ; then
8278 if test "x$OPENSSL" = "xnone" ; then
8279 # key=`date | uuencode /dev/stdout | tr "\"@\\\`\\ \\=\\,\\(\\)\\#\\.\\!\\-$'" tsrqponmlkjihgfedcba | awk '{getline} {print} {exit}'`
8280 key=`autoconf/randpass 37`
8282 key=`openssl rand -base64 33`
8289 # Check whether --with-sd-password or --without-sd-password was given.
8290 if test "${with_sd_password+set}" = set; then
8291 withval="$with_sd_password"
8293 if test "x$withval" != "xno" ; then
8294 sd_password=$withval
8300 if test "x$sd_password" = "x" ; then
8301 if test "x$OPENSSL" = "xnone" ; then
8302 # key=`date | uuencode /dev/stdout | tr "\"@\\\`\\ \\=\\,\\(\\)\\#\\.\\!\\-$'" 123456789uvwxyzabcdef | awk '{getline} {print} {exit}'`
8303 key=`autoconf/randpass 41`
8305 key=`openssl rand -base64 33`
8312 # Check whether --with-mon-dir-password or --without-mon-dir-password was given.
8313 if test "${with_mon_dir_password+set}" = set; then
8314 withval="$with_mon_dir_password"
8316 if test "x$withval" != "xno" ; then
8317 mon_dir_password=$withval
8323 if test "x$mon_dir_password" = "x" ; then
8324 if test "x$OPENSSL" = "xnone" ; then
8325 # key=`date | uuencode /dev/stdout | tr "\"@\\\`\\ \\=\\,\\(\\)\\#\\.\\!\\-$'" abcdefghijklmnopqrst | awk '{getline} {print} {exit}'`
8326 key=`autoconf/randpass 33`
8328 key=`openssl rand -base64 33`
8330 mon_dir_password=$key
8335 # Check whether --with-mon-fd-password or --without-mon-fd-password was given.
8336 if test "${with_mon_fd_password+set}" = set; then
8337 withval="$with_mon_fd_password"
8339 if test "x$withval" != "xno" ; then
8340 mon_fd_password=$withval
8346 if test "x$mon_fd_password" = "x" ; then
8347 if test "x$OPENSSL" = "xnone" ; then
8348 # key=`date | uuencode /dev/stdout | tr "\"@\\\`\\ \\=\\,\\(\\)\\#\\.\\!\\-$'" tsrqponmlkjihgfedcba | awk '{getline} {print} {exit}'`
8349 key=`autoconf/randpass 37`
8351 key=`openssl rand -base64 33`
8353 mon_fd_password=$key
8358 # Check whether --with-mon-sd-password or --without-mon-sd-password was given.
8359 if test "${with_mon_sd_password+set}" = set; then
8360 withval="$with_mon_sd_password"
8362 if test "x$withval" != "xno" ; then
8363 mon_sd_password=$withval
8369 if test "x$mon_sd_password" = "x" ; then
8370 if test "x$OPENSSL" = "xnone" ; then
8371 # key=`date | uuencode /dev/stdout | tr "\"@\\\`\\ \\=\\,\\(\\)\\#\\.\\!\\-$'" 123456789uvwxyzabcdef | awk '{getline} {print} {exit}'`
8372 key=`autoconf/randpass 41`
8374 key=`openssl rand -base64 33`
8376 mon_sd_password=$key
8386 # -------------------------------------------------------------------------
8387 # Set variables for bimagemgr installation
8388 # -------------------------------------------------------------------------
8389 bimagemgr_cgidir=/var/www/cgi-bin
8391 # Check whether --with-bimagemgr-cgidir or --without-bimagemgr-cgidir was given.
8392 if test "${with_bimagemgr_cgidir+set}" = set; then
8393 withval="$with_bimagemgr_cgidir"
8395 if test "x$withval" != "xno" ; then
8396 bimagemgr_cgidir=$withval
8402 bimagemgr_docdir=/var/www/html
8404 # Check whether --with-bimagemgr-docdir or --without-bimagemgr-docdir was given.
8405 if test "${with_bimagemgr_docdir+set}" = set; then
8406 withval="$with_bimagemgr_docdir"
8408 if test "x$withval" != "xno" ; then
8409 bimagemgr_docdir=$withval
8415 bimagemgr_binowner=root
8417 # Check whether --with-bimagemgr-binowner or --without-bimagemgr-binowner was given.
8418 if test "${with_bimagemgr_binowner+set}" = set; then
8419 withval="$with_bimagemgr_binowner"
8421 if test "x$withval" != "xno" ; then
8422 bimagemgr_binowner=$withval
8428 bimagemgr_bingroup=root
8430 # Check whether --with-bimagemgr-bingroup or --without-bimagemgr-bingroup was given.
8431 if test "${with_bimagemgr_bingroup+set}" = set; then
8432 withval="$with_bimagemgr_bingroup"
8434 if test "x$withval" != "xno" ; then
8435 bimagemgr_bingroup=$withval
8441 bimagemgr_dataowner=apache
8443 # Check whether --with-bimagemgr-dataowner or --without-bimagemgr-dataowner was given.
8444 if test "${with_bimagemgr_dataowner+set}" = set; then
8445 withval="$with_bimagemgr_dataowner"
8447 if test "x$withval" != "xno" ; then
8448 bimagemgr_dataowner=$withval
8454 bimagemgr_datagroup=apache
8456 # Check whether --with-bimagemgr-datagroup or --without-bimagemgr-datagroup was given.
8457 if test "${with_bimagemgr_datagroup+set}" = set; then
8458 withval="$with_bimagemgr_datagroup"
8460 if test "x$withval" != "xno" ; then
8461 bimagemgr_datagroup=$withval
8475 # Handle users and groups for each daemon
8479 # Check whether --with-dir_user or --without-dir_user was given.
8480 if test "${with_dir_user+set}" = set; then
8481 withval="$with_dir_user"
8483 if test "x$withval" != "x" ; then
8492 # Check whether --with-dir_group or --without-dir_group was given.
8493 if test "${with_dir_group+set}" = set; then
8494 withval="$with_dir_group"
8496 if test "x$withval" != "x" ; then
8505 # Check whether --with-sd_user or --without-sd_user was given.
8506 if test "${with_sd_user+set}" = set; then
8507 withval="$with_sd_user"
8509 if test "x$withval" != "x" ; then
8518 # Check whether --with-sd_group or --without-sd_group was given.
8519 if test "${with_sd_group+set}" = set; then
8520 withval="$with_sd_group"
8522 if test "x$withval" != "x" ; then
8531 # Check whether --with-fd_user or --without-fd_user was given.
8532 if test "${with_fd_user+set}" = set; then
8533 withval="$with_fd_user"
8535 if test "x$withval" != "x" ; then
8544 # Check whether --with-fd_group or --without-fd_group was given.
8545 if test "${with_fd_group+set}" = set; then
8546 withval="$with_fd_group"
8548 if test "x$withval" != "x" ; then
8566 # allow setting default executable permissions
8570 # Check whether --with-sbin-perm or --without-sbin-perm was given.
8571 if test "${with_sbin_perm+set}" = set; then
8572 withval="$with_sbin_perm"
8574 if test "x$withval" != "x" ; then
8583 # ------------------------------------------------
8584 # Bacula check for various SQL database engines
8585 # ------------------------------------------------
8588 echo "$as_me:$LINENO: checking for PostgreSQL support" >&5
8589 echo $ECHO_N "checking for PostgreSQL support... $ECHO_C" >&6
8591 # Check whether --with-postgresql or --without-postgresql was given.
8592 if test "${with_postgresql+set}" = set; then
8593 withval="$with_postgresql"
8595 if test "$withval" != "no"; then
8596 if test "$db_found" = "yes"; then
8597 echo "$as_me:$LINENO: result: error" >&5
8598 echo "${ECHO_T}error" >&6
8599 { { echo "$as_me:$LINENO: error: \"You can configure for only one database.\"" >&5
8600 echo "$as_me: error: \"You can configure for only one database.\"" >&2;}
8601 { (exit 1); exit 1; }; };
8603 if test "$withval" = "yes"; then
8604 if test -f /usr/local/include/libpq-fe.h; then
8605 POSTGRESQL_INCDIR=/usr/local/include
8606 POSTGRESQL_LIBDIR=/usr/local/lib
8607 POSTGRESQL_BINDIR=/usr/local/bin
8608 elif test -f /usr/include/libpq-fe.h; then
8609 POSTGRESQL_INCDIR=/usr/include
8610 POSTGRESQL_LIBDIR=/usr/lib
8611 POSTGRESQL_BINDIR=/usr/bin
8612 elif test -f /usr/include/pgsql/libpq-fe.h; then
8613 POSTGRESQL_INCDIR=/usr/include/pgsql
8614 POSTGRESQL_LIBDIR=/usr/lib/pgsql
8615 POSTGRESQL_BINDIR=/usr/bin
8616 elif test -f /usr/include/postgresql/libpq-fe.h; then
8617 POSTGRESQL_INCDIR=/usr/include/postgresql
8618 POSTGRESQL_LIBDIR=/usr/lib/postgresql
8619 POSTGRESQL_BINDIR=/usr/bin
8621 echo "$as_me:$LINENO: result: no" >&5
8622 echo "${ECHO_T}no" >&6
8623 { { echo "$as_me:$LINENO: error: Unable to find libpq-fe.h in standard locations" >&5
8624 echo "$as_me: error: Unable to find libpq-fe.h in standard locations" >&2;}
8625 { (exit 1); exit 1; }; }
8627 elif test -f $withval/include/libpq-fe.h; then
8628 POSTGRESQL_INCDIR=$withval/include
8629 POSTGRESQL_LIBDIR=$withval/lib
8630 POSTGRESQL_BINDIR=$withval/bin
8631 elif test -f $withval/include/postgresql/libpq-fe.h; then
8632 POSTGRESQL_INCDIR=$withval/include/postgresql
8633 POSTGRESQL_LIBDIR=$withval/lib
8634 POSTGRESQL_BINDIR=$withval/bin
8636 echo "$as_me:$LINENO: result: no" >&5
8637 echo "${ECHO_T}no" >&6
8638 { { echo "$as_me:$LINENO: error: Invalid PostgreSQL directory $withval - unable to find libpq-fe.h under $withval" >&5
8639 echo "$as_me: error: Invalid PostgreSQL directory $withval - unable to find libpq-fe.h under $withval" >&2;}
8640 { (exit 1); exit 1; }; }
8642 POSTGRESQL_LFLAGS="-L$POSTGRESQL_LIBDIR -lpq"
8643 echo "$as_me:$LINENO: checking for crypt" >&5
8644 echo $ECHO_N "checking for crypt... $ECHO_C" >&6
8645 if test "${ac_cv_func_crypt+set}" = set; then
8646 echo $ECHO_N "(cached) $ECHO_C" >&6
8648 cat >conftest.$ac_ext <<_ACEOF
8651 cat confdefs.h >>conftest.$ac_ext
8652 cat >>conftest.$ac_ext <<_ACEOF
8653 /* end confdefs.h. */
8654 /* Define crypt to an innocuous variant, in case <limits.h> declares crypt.
8655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8656 #define crypt innocuous_crypt
8658 /* System header to define __stub macros and hopefully few prototypes,
8659 which can conflict with char crypt (); below.
8660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8661 <limits.h> exists even on freestanding compilers. */
8664 # include <limits.h>
8666 # include <assert.h>
8671 /* Override any gcc2 internal prototype to avoid an error. */
8676 /* We use char because int might match the return type of a gcc2
8677 builtin and then its argument prototype would still apply. */
8679 /* The GNU C library defines this for functions which it implements
8680 to always fail with ENOSYS. Some functions are actually named
8681 something starting with __ and the normal name is an alias. */
8682 #if defined (__stub_crypt) || defined (__stub___crypt)
8685 char (*f) () = crypt;
8699 rm -f conftest.$ac_objext conftest$ac_exeext
8700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8701 (eval $ac_link) 2>conftest.er1
8703 grep -v '^ *+' conftest.er1 >conftest.err
8705 cat conftest.err >&5
8706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707 (exit $ac_status); } &&
8708 { ac_try='test -z "$ac_c_werror_flag"
8709 || test ! -s conftest.err'
8710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8714 (exit $ac_status); }; } &&
8715 { ac_try='test -s conftest$ac_exeext'
8716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); }; }; then
8721 ac_cv_func_crypt=yes
8723 echo "$as_me: failed program was:" >&5
8724 sed 's/^/| /' conftest.$ac_ext >&5
8728 rm -f conftest.err conftest.$ac_objext \
8729 conftest$ac_exeext conftest.$ac_ext
8731 echo "$as_me:$LINENO: result: $ac_cv_func_crypt" >&5
8732 echo "${ECHO_T}$ac_cv_func_crypt" >&6
8733 if test $ac_cv_func_crypt = yes; then
8736 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
8737 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
8738 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
8739 echo $ECHO_N "(cached) $ECHO_C" >&6
8741 ac_check_lib_save_LIBS=$LIBS
8742 LIBS="-lcrypt $LIBS"
8743 cat >conftest.$ac_ext <<_ACEOF
8746 cat confdefs.h >>conftest.$ac_ext
8747 cat >>conftest.$ac_ext <<_ACEOF
8748 /* end confdefs.h. */
8750 /* Override any gcc2 internal prototype to avoid an error. */
8754 /* We use char because int might match the return type of a gcc2
8755 builtin and then its argument prototype would still apply. */
8765 rm -f conftest.$ac_objext conftest$ac_exeext
8766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8767 (eval $ac_link) 2>conftest.er1
8769 grep -v '^ *+' conftest.er1 >conftest.err
8771 cat conftest.err >&5
8772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8773 (exit $ac_status); } &&
8774 { ac_try='test -z "$ac_c_werror_flag"
8775 || test ! -s conftest.err'
8776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780 (exit $ac_status); }; } &&
8781 { ac_try='test -s conftest$ac_exeext'
8782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); }; }; then
8787 ac_cv_lib_crypt_crypt=yes
8789 echo "$as_me: failed program was:" >&5
8790 sed 's/^/| /' conftest.$ac_ext >&5
8792 ac_cv_lib_crypt_crypt=no
8794 rm -f conftest.err conftest.$ac_objext \
8795 conftest$ac_exeext conftest.$ac_ext
8796 LIBS=$ac_check_lib_save_LIBS
8798 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
8799 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
8800 if test $ac_cv_lib_crypt_crypt = yes; then
8801 POSTGRESQL_LFLAGS="-lcrypt $POSTGRESQL_LFLAGS"
8806 SQL_INCLUDE=-I$POSTGRESQL_INCDIR
8807 SQL_LFLAGS=$POSTGRESQL_LFLAGS
8808 SQL_BINDIR=$POSTGRESQL_BINDIR
8809 cat >>confdefs.h <<\_ACEOF
8810 #define HAVE_POSTGRESQL 1
8813 echo "$as_me:$LINENO: result: yes" >&5
8814 echo "${ECHO_T}yes" >&6
8816 support_postgresql=yes
8820 echo "$as_me:$LINENO: result: no" >&5
8821 echo "${ECHO_T}no" >&6
8826 echo "$as_me:$LINENO: result: no" >&5
8827 echo "${ECHO_T}no" >&6
8838 echo "$as_me:$LINENO: checking for MySQL support" >&5
8839 echo $ECHO_N "checking for MySQL support... $ECHO_C" >&6
8841 # Check whether --with-mysql or --without-mysql was given.
8842 if test "${with_mysql+set}" = set; then
8843 withval="$with_mysql"
8845 if test "$withval" != "no"; then
8846 if test "$withval" = "yes"; then
8847 if test -f /usr/local/mysql/include/mysql/mysql.h; then
8848 MYSQL_INCDIR=/usr/local/mysql/include/mysql
8849 MYSQL_LIBDIR=/usr/local/mysql/lib/mysql
8850 MYSQL_BINDIR=/usr/local/mysql/bin
8851 elif test -f /usr/include/mysql/mysql.h; then
8852 MYSQL_INCDIR=/usr/include/mysql
8853 MYSQL_LIBDIR=/usr/lib/mysql
8854 MYSQL_BINDIR=/usr/bin
8855 elif test -f /usr/include/mysql.h; then
8856 MYSQL_INCDIR=/usr/include
8857 MYSQL_LIBDIR=/usr/lib
8858 MYSQL_BINDIR=/usr/bin
8859 elif test -f /usr/local/include/mysql/mysql.h; then
8860 MYSQL_INCDIR=/usr/local/include/mysql
8861 MYSQL_LIBDIR=/usr/local/lib/mysql
8862 MYSQL_BINDIR=/usr/local/bin
8863 elif test -f /usr/local/include/mysql.h; then
8864 MYSQL_INCDIR=/usr/local/include
8865 MYSQL_LIBDIR=/usr/local/lib
8866 MYSQL_BINDIR=/usr/local/bin
8868 echo "$as_me:$LINENO: result: no" >&5
8869 echo "${ECHO_T}no" >&6
8870 { { echo "$as_me:$LINENO: error: Unable to find mysql.h in standard locations" >&5
8871 echo "$as_me: error: Unable to find mysql.h in standard locations" >&2;}
8872 { (exit 1); exit 1; }; }
8875 if test -f $withval/include/mysql/mysql.h; then
8876 MYSQL_INCDIR=$withval/include/mysql
8877 MYSQL_LIBDIR=$withval/lib/mysql
8878 MYSQL_BINDIR=$withval/bin
8879 elif test -f $withval/include/mysql.h; then
8880 MYSQL_INCDIR=$withval/include
8881 MYSQL_LIBDIR=$withval/lib
8882 MYSQL_BINDIR=$withval/bin
8884 echo "$as_me:$LINENO: result: no" >&5
8885 echo "${ECHO_T}no" >&6
8886 { { echo "$as_me:$LINENO: error: Invalid MySQL directory $withval - unable to find mysql.h under $withval" >&5
8887 echo "$as_me: error: Invalid MySQL directory $withval - unable to find mysql.h under $withval" >&2;}
8888 { (exit 1); exit 1; }; }
8891 SQL_INCLUDE=-I$MYSQL_INCDIR
8892 if test -f $MYSQL_LIBDIR/libmysqlclient_r.a; then
8893 SQL_LFLAGS="-L$MYSQL_LIBDIR -lmysqlclient_r -lz"
8894 cat >>confdefs.h <<\_ACEOF
8895 #define HAVE_THREAD_SAFE_MYSQL 1
8899 SQL_LFLAGS="-L$MYSQL_LIBDIR -lmysqlclient -lz"
8901 SQL_BINDIR=$MYSQL_BINDIR
8903 cat >>confdefs.h <<\_ACEOF
8904 #define HAVE_MYSQL 1
8907 echo "$as_me:$LINENO: result: yes" >&5
8908 echo "${ECHO_T}yes" >&6
8915 echo "$as_me:$LINENO: result: no" >&5
8916 echo "${ECHO_T}no" >&6
8923 # Check whether --with-embedded-mysql or --without-embedded-mysql was given.
8924 if test "${with_embedded_mysql+set}" = set; then
8925 withval="$with_embedded_mysql"
8927 if test "$withval" != "no"; then
8928 if test "$withval" = "yes"; then
8929 if test -f /usr/local/mysql/include/mysql/mysql.h; then
8930 MYSQL_INCDIR=/usr/local/mysql/include/mysql
8931 MYSQL_LIBDIR=/usr/local/mysql/lib/mysql
8932 MYSQL_BINDIR=/usr/local/mysql/bin
8933 elif test -f /usr/include/mysql/mysql.h; then
8934 MYSQL_INCDIR=/usr/include/mysql
8935 MYSQL_LIBDIR=/usr/lib/mysql
8936 MYSQL_BINDIR=/usr/bin
8937 elif test -f /usr/include/mysql.h; then
8938 MYSQL_INCDIR=/usr/include
8939 MYSQL_LIBDIR=/usr/lib
8940 MYSQL_BINDIR=/usr/bin
8941 elif test -f /usr/local/include/mysql/mysql.h; then
8942 MYSQL_INCDIR=/usr/local/include/mysql
8943 MYSQL_LIBDIR=/usr/local/lib/mysql
8944 MYSQL_BINDIR=/usr/local/bin
8945 elif test -f /usr/local/include/mysql.h; then
8946 MYSQL_INCDIR=/usr/local/include
8947 MYSQL_LIBDIR=/usr/local/lib
8948 MYSQL_BINDIR=/usr/local/bin
8950 echo "$as_me:$LINENO: result: no" >&5
8951 echo "${ECHO_T}no" >&6
8952 { { echo "$as_me:$LINENO: error: Unable to find mysql.h in standard locations" >&5
8953 echo "$as_me: error: Unable to find mysql.h in standard locations" >&2;}
8954 { (exit 1); exit 1; }; }
8957 if test -f $withval/include/mysql/mysql.h; then
8958 MYSQL_INCDIR=$withval/include/mysql
8959 MYSQL_LIBDIR=$withval/lib/mysql
8960 MYSQL_BINDIR=$withval/bin
8961 elif test -f $withval/include/mysql.h; then
8962 MYSQL_INCDIR=$withval/include
8963 MYSQL_LIBDIR=$withval/lib
8964 MYSQL_BINDIR=$withval/bin
8966 echo "$as_me:$LINENO: result: no" >&5
8967 echo "${ECHO_T}no" >&6
8968 { { echo "$as_me:$LINENO: error: Invalid MySQL directory $withval - unable to find mysql.h under $withval" >&5
8969 echo "$as_me: error: Invalid MySQL directory $withval - unable to find mysql.h under $withval" >&2;}
8970 { (exit 1); exit 1; }; }
8973 SQL_INCLUDE=-I$MYSQL_INCDIR
8974 SQL_LFLAGS="-L$MYSQL_LIBDIR -lmysqld -lz -lm -lcrypt"
8975 SQL_BINDIR=$MYSQL_BINDIR
8977 cat >>confdefs.h <<\_ACEOF
8978 #define HAVE_MYSQL 1
8981 cat >>confdefs.h <<\_ACEOF
8982 #define HAVE_EMBEDDED_MYSQL 1
8985 echo "$as_me:$LINENO: result: yes" >&5
8986 echo "${ECHO_T}yes" >&6
8993 echo "$as_me:$LINENO: result: no" >&5
8994 echo "${ECHO_T}no" >&6
9009 echo "$as_me:$LINENO: checking for SQLite support" >&5
9010 echo $ECHO_N "checking for SQLite support... $ECHO_C" >&6
9012 # Check whether --with-sqlite or --without-sqlite was given.
9013 if test "${with_sqlite+set}" = set; then
9014 withval="$with_sqlite"
9016 if test "$withval" != "no"; then
9017 if test "$withval" = "yes"; then
9018 if test -f /usr/local/include/sqlite.h; then
9019 SQLITE_INCDIR=/usr/local/include
9020 SQLITE_LIBDIR=/usr/local/lib
9021 SQLITE_BINDIR=/usr/local/bin
9022 elif test -f /usr/include/sqlite.h; then
9023 SQLITE_INCDIR=/usr/include
9024 SQLITE_LIBDIR=/usr/lib
9025 SQLITE_BINDIR=/usr/bin
9026 elif test -f $prefix/include/sqlite.h; then
9027 SQLITE_INCDIR=$prefix/include
9028 SQLITE_LIBDIR=$prefix/lib
9029 SQLITE_BINDIR=$prefix/bin
9031 echo "$as_me:$LINENO: result: no" >&5
9032 echo "${ECHO_T}no" >&6
9033 { { echo "$as_me:$LINENO: error: Unable to find sqlite.h in standard locations" >&5
9034 echo "$as_me: error: Unable to find sqlite.h in standard locations" >&2;}
9035 { (exit 1); exit 1; }; }
9038 if test -f $withval/sqlite.h; then
9039 SQLITE_INCDIR=$withval
9040 SQLITE_LIBDIR=$withval
9041 SQLITE_BINDIR=$withval
9042 elif test -f $withval/include/sqlite.h; then
9043 SQLITE_INCDIR=$withval/include
9044 SQLITE_LIBDIR=$withval/lib
9045 SQLITE_BINDIR=$withval/bin
9047 echo "$as_me:$LINENO: result: no" >&5
9048 echo "${ECHO_T}no" >&6
9049 { { echo "$as_me:$LINENO: error: Invalid SQLite directory $withval - unable to find sqlite.h under $withval" >&5
9050 echo "$as_me: error: Invalid SQLite directory $withval - unable to find sqlite.h under $withval" >&2;}
9051 { (exit 1); exit 1; }; }
9054 SQL_INCLUDE=-I$SQLITE_INCDIR
9055 SQL_LFLAGS="-L$SQLITE_LIBDIR -lsqlite"
9056 SQL_BINDIR=$SQLITE_BINDIR
9058 cat >>confdefs.h <<\_ACEOF
9059 #define HAVE_SQLITE 1
9062 echo "$as_me:$LINENO: result: yes" >&5
9063 echo "${ECHO_T}yes" >&6
9070 echo "$as_me:$LINENO: result: no" >&5
9071 echo "${ECHO_T}no" >&6
9076 echo "$as_me:$LINENO: result: no" >&5
9077 echo "${ECHO_T}no" >&6
9089 cat >>confdefs.h <<\_ACEOF
9090 #define PROTOTYPES 1
9094 if test -z "$CFLAGS" -o "$CFLAGS" = "-g -O2"; then
9095 if test -z "$CCOPTS"; then
9096 CCOPTS='-g -O2 -Wall'
9104 largefile_support="no"
9106 # Check whether --enable-largefile or --disable-largefile was given.
9107 if test "${enable_largefile+set}" = set; then
9108 enableval="$enable_largefile"
9111 if test "$enable_largefile" != no; then
9112 if test -n "$ac_tool_prefix"; then
9113 # Extract the first word of "${ac_tool_prefix}getconf", so it can be a program name with args.
9114 set dummy ${ac_tool_prefix}getconf; ac_word=$2
9115 echo "$as_me:$LINENO: checking for $ac_word" >&5
9116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9117 if test "${ac_cv_prog_GETCONF+set}" = set; then
9118 echo $ECHO_N "(cached) $ECHO_C" >&6
9120 if test -n "$GETCONF"; then
9121 ac_cv_prog_GETCONF="$GETCONF" # Let the user override the test.
9123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9127 test -z "$as_dir" && as_dir=.
9128 for ac_exec_ext in '' $ac_executable_extensions; do
9129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9130 ac_cv_prog_GETCONF="${ac_tool_prefix}getconf"
9131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9139 GETCONF=$ac_cv_prog_GETCONF
9140 if test -n "$GETCONF"; then
9141 echo "$as_me:$LINENO: result: $GETCONF" >&5
9142 echo "${ECHO_T}$GETCONF" >&6
9144 echo "$as_me:$LINENO: result: no" >&5
9145 echo "${ECHO_T}no" >&6
9149 if test -z "$ac_cv_prog_GETCONF"; then
9150 ac_ct_GETCONF=$GETCONF
9151 # Extract the first word of "getconf", so it can be a program name with args.
9152 set dummy getconf; ac_word=$2
9153 echo "$as_me:$LINENO: checking for $ac_word" >&5
9154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9155 if test "${ac_cv_prog_ac_ct_GETCONF+set}" = set; then
9156 echo $ECHO_N "(cached) $ECHO_C" >&6
9158 if test -n "$ac_ct_GETCONF"; then
9159 ac_cv_prog_ac_ct_GETCONF="$ac_ct_GETCONF" # Let the user override the test.
9161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9165 test -z "$as_dir" && as_dir=.
9166 for ac_exec_ext in '' $ac_executable_extensions; do
9167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9168 ac_cv_prog_ac_ct_GETCONF="getconf"
9169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9177 ac_ct_GETCONF=$ac_cv_prog_ac_ct_GETCONF
9178 if test -n "$ac_ct_GETCONF"; then
9179 echo "$as_me:$LINENO: result: $ac_ct_GETCONF" >&5
9180 echo "${ECHO_T}$ac_ct_GETCONF" >&6
9182 echo "$as_me:$LINENO: result: no" >&5
9183 echo "${ECHO_T}no" >&6
9186 GETCONF=$ac_ct_GETCONF
9188 GETCONF="$ac_cv_prog_GETCONF"
9191 echo "$as_me:$LINENO: checking for CFLAGS value to request large file support" >&5
9192 echo $ECHO_N "checking for CFLAGS value to request large file support... $ECHO_C" >&6
9193 if test "${ac_cv_sys_largefile_CFLAGS+set}" = set; then
9194 echo $ECHO_N "(cached) $ECHO_C" >&6
9196 ac_cv_sys_largefile_CFLAGS=`($GETCONF LFS_CFLAGS) 2>/dev/null` || {
9197 ac_cv_sys_largefile_CFLAGS=no
9199 # IRIX 6.2 and later require cc -n32.
9200 irix6.[2-9]* | irix6.1[0-9]* | irix[7-9].* | irix[1-9][0-9]*)
9201 if test "$GCC" != yes; then
9202 ac_cv_sys_largefile_CFLAGS=-n32
9205 CC="$CC $ac_cv_sys_largefile_CFLAGS"
9206 cat >conftest.$ac_ext <<_ACEOF
9209 cat confdefs.h >>conftest.$ac_ext
9210 cat >>conftest.$ac_ext <<_ACEOF
9211 /* end confdefs.h. */
9221 rm -f conftest.$ac_objext conftest$ac_exeext
9222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9223 (eval $ac_link) 2>conftest.er1
9225 grep -v '^ *+' conftest.er1 >conftest.err
9227 cat conftest.err >&5
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229 (exit $ac_status); } &&
9230 { ac_try='test -z "$ac_c_werror_flag"
9231 || test ! -s conftest.err'
9232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); }; } &&
9237 { ac_try='test -s conftest$ac_exeext'
9238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); }; }; then
9245 echo "$as_me: failed program was:" >&5
9246 sed 's/^/| /' conftest.$ac_ext >&5
9248 ac_cv_sys_largefile_CFLAGS=no
9250 rm -f conftest.err conftest.$ac_objext \
9251 conftest$ac_exeext conftest.$ac_ext
9256 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CFLAGS" >&5
9257 echo "${ECHO_T}$ac_cv_sys_largefile_CFLAGS" >&6
9258 echo "$as_me:$LINENO: checking for LDFLAGS value to request large file support" >&5
9259 echo $ECHO_N "checking for LDFLAGS value to request large file support... $ECHO_C" >&6
9260 if test "${ac_cv_sys_largefile_LDFLAGS+set}" = set; then
9261 echo $ECHO_N "(cached) $ECHO_C" >&6
9263 ac_cv_sys_largefile_LDFLAGS=`($GETCONF LFS_LDFLAGS) 2>/dev/null` || {
9264 ac_cv_sys_largefile_LDFLAGS=no
9268 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_LDFLAGS" >&5
9269 echo "${ECHO_T}$ac_cv_sys_largefile_LDFLAGS" >&6
9270 echo "$as_me:$LINENO: checking for LIBS value to request large file support" >&5
9271 echo $ECHO_N "checking for LIBS value to request large file support... $ECHO_C" >&6
9272 if test "${ac_cv_sys_largefile_LIBS+set}" = set; then
9273 echo $ECHO_N "(cached) $ECHO_C" >&6
9275 ac_cv_sys_largefile_LIBS=`($GETCONF LFS_LIBS) 2>/dev/null` || {
9276 ac_cv_sys_largefile_LIBS=no
9280 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_LIBS" >&5
9281 echo "${ECHO_T}$ac_cv_sys_largefile_LIBS" >&6
9283 for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
9286 -D_FILE_OFFSET_BITS=*) ;;
9287 -D_LARGEFILE_SOURCE | -D_LARGEFILE_SOURCE=*) ;;
9288 -D_LARGE_FILES | -D_LARGE_FILES=*) ;;
9294 '') CPPFLAGS="$ac_flag" ;;
9295 *) CPPFLAGS=$CPPFLAGS' '"$ac_flag" ;;
9303 '') CFLAGS="$ac_flag" ;;
9304 *) CFLAGS=$CFLAGS' '"$ac_flag" ;;
9309 case "$ac_cv_sys_largefile_LDFLAGS" in
9313 '') LDFLAGS="$ac_cv_sys_largefile_LDFLAGS" ;;
9314 *) LDFLAGS=$LDFLAGS' '"$ac_cv_sys_largefile_LDFLAGS" ;;
9317 case "$ac_cv_sys_largefile_LIBS" in
9321 '') LIBS="$ac_cv_sys_largefile_LIBS" ;;
9322 *) LIBS=$LIBS' '"$ac_cv_sys_largefile_LIBS" ;;
9325 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS" >&5
9326 echo $ECHO_N "checking for _FILE_OFFSET_BITS... $ECHO_C" >&6
9327 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
9328 echo $ECHO_N "(cached) $ECHO_C" >&6
9330 ac_cv_sys_file_offset_bits=no
9331 ac_cv_sys_file_offset_bits=64
9332 for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
9334 -D_FILE_OFFSET_BITS)
9335 ac_cv_sys_file_offset_bits=1 ;;
9336 -D_FILE_OFFSET_BITS=*)
9337 ac_cv_sys_file_offset_bits=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
9342 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
9343 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
9344 if test "$ac_cv_sys_file_offset_bits" != no; then
9346 cat >>confdefs.h <<_ACEOF
9347 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
9351 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE" >&5
9352 echo $ECHO_N "checking for _LARGEFILE_SOURCE... $ECHO_C" >&6
9353 if test "${ac_cv_sys_largefile_source+set}" = set; then
9354 echo $ECHO_N "(cached) $ECHO_C" >&6
9356 ac_cv_sys_largefile_source=no
9357 ac_cv_sys_largefile_source=1
9358 for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
9360 -D_LARGEFILE_SOURCE)
9361 ac_cv_sys_largefile_source=1 ;;
9362 -D_LARGEFILE_SOURCE=*)
9363 ac_cv_sys_largefile_source=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
9368 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
9369 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9370 if test "$ac_cv_sys_largefile_source" != no; then
9372 cat >>confdefs.h <<_ACEOF
9373 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
9377 echo "$as_me:$LINENO: checking for _LARGE_FILES" >&5
9378 echo $ECHO_N "checking for _LARGE_FILES... $ECHO_C" >&6
9379 if test "${ac_cv_sys_large_files+set}" = set; then
9380 echo $ECHO_N "(cached) $ECHO_C" >&6
9382 ac_cv_sys_large_files=no
9383 ac_cv_sys_large_files=1
9384 for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
9387 ac_cv_sys_large_files=1 ;;
9389 ac_cv_sys_large_files=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
9394 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
9395 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
9396 if test "$ac_cv_sys_large_files" != no; then
9398 cat >>confdefs.h <<_ACEOF
9399 #define _LARGE_FILES $ac_cv_sys_large_files
9407 echo "$as_me:$LINENO: checking for X" >&5
9408 echo $ECHO_N "checking for X... $ECHO_C" >&6
9411 # Check whether --with-x or --without-x was given.
9412 if test "${with_x+set}" = set; then
9416 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9417 if test "x$with_x" = xno; then
9418 # The user explicitly disabled X.
9421 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
9422 # Both variables are already set.
9425 if test "${ac_cv_have_x+set}" = set; then
9426 echo $ECHO_N "(cached) $ECHO_C" >&6
9428 # One or both of the vars are not set, and there is no cached value.
9429 ac_x_includes=no ac_x_libraries=no
9431 if mkdir conftest.dir; then
9433 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9434 cat >Imakefile <<'_ACEOF'
9436 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9438 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
9439 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9440 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9441 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9442 for ac_extension in a so sl; do
9443 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
9444 test -f $ac_im_libdir/libX11.$ac_extension; then
9445 ac_im_usrlibdir=$ac_im_libdir; break
9448 # Screen out bogus values from the imake configuration. They are
9449 # bogus both because they are the default anyway, and because
9450 # using them would break gcc on systems where it needs fixed includes.
9451 case $ac_im_incroot in
9453 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9455 case $ac_im_usrlibdir in
9457 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9464 # Standard set of common directories for X headers.
9465 # Check X11 before X11Rn because it is often a symlink to the current release.
9477 /usr/local/X11/include
9478 /usr/local/X11R6/include
9479 /usr/local/X11R5/include
9480 /usr/local/X11R4/include
9482 /usr/local/include/X11
9483 /usr/local/include/X11R6
9484 /usr/local/include/X11R5
9485 /usr/local/include/X11R4
9489 /usr/XFree86/include/X11
9493 /usr/unsupported/include
9495 /usr/local/x11r5/include
9496 /usr/lpp/Xamples/include
9498 /usr/openwin/include
9499 /usr/openwin/share/include'
9501 if test "$ac_x_includes" = no; then
9502 # Guess where to find include files, by looking for Intrinsic.h.
9503 # First, try using that file with no special directory specified.
9504 cat >conftest.$ac_ext <<_ACEOF
9507 cat confdefs.h >>conftest.$ac_ext
9508 cat >>conftest.$ac_ext <<_ACEOF
9509 /* end confdefs.h. */
9510 #include <X11/Intrinsic.h>
9512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9515 grep -v '^ *+' conftest.er1 >conftest.err
9517 cat conftest.err >&5
9518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9519 (exit $ac_status); } >/dev/null; then
9520 if test -s conftest.err; then
9521 ac_cpp_err=$ac_c_preproc_warn_flag
9522 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9529 if test -z "$ac_cpp_err"; then
9530 # We can compile using X headers with no special include directory.
9533 echo "$as_me: failed program was:" >&5
9534 sed 's/^/| /' conftest.$ac_ext >&5
9536 for ac_dir in $ac_x_header_dirs; do
9537 if test -r "$ac_dir/X11/Intrinsic.h"; then
9538 ac_x_includes=$ac_dir
9543 rm -f conftest.err conftest.$ac_ext
9544 fi # $ac_x_includes = no
9546 if test "$ac_x_libraries" = no; then
9547 # Check for the libraries.
9548 # See if we find them without any special options.
9549 # Don't add to $LIBS permanently.
9552 cat >conftest.$ac_ext <<_ACEOF
9555 cat confdefs.h >>conftest.$ac_ext
9556 cat >>conftest.$ac_ext <<_ACEOF
9557 /* end confdefs.h. */
9558 #include <X11/Intrinsic.h>
9567 rm -f conftest.$ac_objext conftest$ac_exeext
9568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9569 (eval $ac_link) 2>conftest.er1
9571 grep -v '^ *+' conftest.er1 >conftest.err
9573 cat conftest.err >&5
9574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9575 (exit $ac_status); } &&
9576 { ac_try='test -z "$ac_c_werror_flag"
9577 || test ! -s conftest.err'
9578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9582 (exit $ac_status); }; } &&
9583 { ac_try='test -s conftest$ac_exeext'
9584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9588 (exit $ac_status); }; }; then
9590 # We can link X programs with no special library path.
9593 echo "$as_me: failed program was:" >&5
9594 sed 's/^/| /' conftest.$ac_ext >&5
9597 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9599 # Don't even attempt the hair of trying to link an X program!
9600 for ac_extension in a so sl; do
9601 if test -r $ac_dir/libXt.$ac_extension; then
9602 ac_x_libraries=$ac_dir
9608 rm -f conftest.err conftest.$ac_objext \
9609 conftest$ac_exeext conftest.$ac_ext
9610 fi # $ac_x_libraries = no
9612 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
9613 # Didn't find X anywhere. Cache the known absence of X.
9614 ac_cv_have_x="have_x=no"
9616 # Record where we found X for the cache.
9617 ac_cv_have_x="have_x=yes \
9618 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9623 eval "$ac_cv_have_x"
9626 if test "$have_x" != yes; then
9627 echo "$as_me:$LINENO: result: $have_x" >&5
9628 echo "${ECHO_T}$have_x" >&6
9631 # If each of the values was on the command line, it overrides each guess.
9632 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9633 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9634 # Update the cache value to reflect the command line values.
9635 ac_cv_have_x="have_x=yes \
9636 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9637 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
9638 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
9641 if test "$no_x" = yes; then
9642 # Not all programs may use this symbol, but it does not hurt to define it.
9644 cat >>confdefs.h <<\_ACEOF
9645 #define X_DISPLAY_MISSING 1
9648 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9650 if test -n "$x_includes"; then
9651 X_CFLAGS="$X_CFLAGS -I$x_includes"
9654 # It would also be nice to do this for all -L options, not just this one.
9655 if test -n "$x_libraries"; then
9656 X_LIBS="$X_LIBS -L$x_libraries"
9657 # For Solaris; some versions of Sun CC require a space after -R and
9658 # others require no space. Words are not sufficient . . . .
9659 case `(uname -sr) 2>/dev/null` in
9661 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
9662 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
9663 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9664 cat >conftest.$ac_ext <<_ACEOF
9667 cat confdefs.h >>conftest.$ac_ext
9668 cat >>conftest.$ac_ext <<_ACEOF
9669 /* end confdefs.h. */
9679 rm -f conftest.$ac_objext conftest$ac_exeext
9680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9681 (eval $ac_link) 2>conftest.er1
9683 grep -v '^ *+' conftest.er1 >conftest.err
9685 cat conftest.err >&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); } &&
9688 { ac_try='test -z "$ac_c_werror_flag"
9689 || test ! -s conftest.err'
9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; } &&
9695 { ac_try='test -s conftest$ac_exeext'
9696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); }; }; then
9703 echo "$as_me: failed program was:" >&5
9704 sed 's/^/| /' conftest.$ac_ext >&5
9708 rm -f conftest.err conftest.$ac_objext \
9709 conftest$ac_exeext conftest.$ac_ext
9710 if test $ac_R_nospace = yes; then
9711 echo "$as_me:$LINENO: result: no" >&5
9712 echo "${ECHO_T}no" >&6
9713 X_LIBS="$X_LIBS -R$x_libraries"
9715 LIBS="$ac_xsave_LIBS -R $x_libraries"
9716 cat >conftest.$ac_ext <<_ACEOF
9719 cat confdefs.h >>conftest.$ac_ext
9720 cat >>conftest.$ac_ext <<_ACEOF
9721 /* end confdefs.h. */
9731 rm -f conftest.$ac_objext conftest$ac_exeext
9732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9733 (eval $ac_link) 2>conftest.er1
9735 grep -v '^ *+' conftest.er1 >conftest.err
9737 cat conftest.err >&5
9738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9739 (exit $ac_status); } &&
9740 { ac_try='test -z "$ac_c_werror_flag"
9741 || test ! -s conftest.err'
9742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); }; } &&
9747 { ac_try='test -s conftest$ac_exeext'
9748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9752 (exit $ac_status); }; }; then
9755 echo "$as_me: failed program was:" >&5
9756 sed 's/^/| /' conftest.$ac_ext >&5
9760 rm -f conftest.err conftest.$ac_objext \
9761 conftest$ac_exeext conftest.$ac_ext
9762 if test $ac_R_space = yes; then
9763 echo "$as_me:$LINENO: result: yes" >&5
9764 echo "${ECHO_T}yes" >&6
9765 X_LIBS="$X_LIBS -R $x_libraries"
9767 echo "$as_me:$LINENO: result: neither works" >&5
9768 echo "${ECHO_T}neither works" >&6
9775 # Check for system-dependent libraries X programs must link with.
9776 # Do this before checking for the system-independent R6 libraries
9777 # (-lICE), since we may need -lsocket or whatever for X linking.
9779 if test "$ISC" = yes; then
9780 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9782 # Martyn Johnson says this is needed for Ultrix, if the X
9783 # libraries were built with DECnet support. And Karl Berry says
9784 # the Alpha needs dnet_stub (dnet does not exist).
9785 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9786 cat >conftest.$ac_ext <<_ACEOF
9789 cat confdefs.h >>conftest.$ac_ext
9790 cat >>conftest.$ac_ext <<_ACEOF
9791 /* end confdefs.h. */
9793 /* Override any gcc2 internal prototype to avoid an error. */
9797 /* We use char because int might match the return type of a gcc2
9798 builtin and then its argument prototype would still apply. */
9799 char XOpenDisplay ();
9808 rm -f conftest.$ac_objext conftest$ac_exeext
9809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9810 (eval $ac_link) 2>conftest.er1
9812 grep -v '^ *+' conftest.er1 >conftest.err
9814 cat conftest.err >&5
9815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9816 (exit $ac_status); } &&
9817 { ac_try='test -z "$ac_c_werror_flag"
9818 || test ! -s conftest.err'
9819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823 (exit $ac_status); }; } &&
9824 { ac_try='test -s conftest$ac_exeext'
9825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 (exit $ac_status); }; }; then
9832 echo "$as_me: failed program was:" >&5
9833 sed 's/^/| /' conftest.$ac_ext >&5
9835 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
9836 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
9837 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
9838 echo $ECHO_N "(cached) $ECHO_C" >&6
9840 ac_check_lib_save_LIBS=$LIBS
9842 cat >conftest.$ac_ext <<_ACEOF
9845 cat confdefs.h >>conftest.$ac_ext
9846 cat >>conftest.$ac_ext <<_ACEOF
9847 /* end confdefs.h. */
9849 /* Override any gcc2 internal prototype to avoid an error. */
9853 /* We use char because int might match the return type of a gcc2
9854 builtin and then its argument prototype would still apply. */
9864 rm -f conftest.$ac_objext conftest$ac_exeext
9865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9866 (eval $ac_link) 2>conftest.er1
9868 grep -v '^ *+' conftest.er1 >conftest.err
9870 cat conftest.err >&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); } &&
9873 { ac_try='test -z "$ac_c_werror_flag"
9874 || test ! -s conftest.err'
9875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9879 (exit $ac_status); }; } &&
9880 { ac_try='test -s conftest$ac_exeext'
9881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9885 (exit $ac_status); }; }; then
9886 ac_cv_lib_dnet_dnet_ntoa=yes
9888 echo "$as_me: failed program was:" >&5
9889 sed 's/^/| /' conftest.$ac_ext >&5
9891 ac_cv_lib_dnet_dnet_ntoa=no
9893 rm -f conftest.err conftest.$ac_objext \
9894 conftest$ac_exeext conftest.$ac_ext
9895 LIBS=$ac_check_lib_save_LIBS
9897 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9898 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
9899 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
9900 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9903 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9904 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
9905 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
9906 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
9907 echo $ECHO_N "(cached) $ECHO_C" >&6
9909 ac_check_lib_save_LIBS=$LIBS
9910 LIBS="-ldnet_stub $LIBS"
9911 cat >conftest.$ac_ext <<_ACEOF
9914 cat confdefs.h >>conftest.$ac_ext
9915 cat >>conftest.$ac_ext <<_ACEOF
9916 /* end confdefs.h. */
9918 /* Override any gcc2 internal prototype to avoid an error. */
9922 /* We use char because int might match the return type of a gcc2
9923 builtin and then its argument prototype would still apply. */
9933 rm -f conftest.$ac_objext conftest$ac_exeext
9934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9935 (eval $ac_link) 2>conftest.er1
9937 grep -v '^ *+' conftest.er1 >conftest.err
9939 cat conftest.err >&5
9940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9941 (exit $ac_status); } &&
9942 { ac_try='test -z "$ac_c_werror_flag"
9943 || test ! -s conftest.err'
9944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948 (exit $ac_status); }; } &&
9949 { ac_try='test -s conftest$ac_exeext'
9950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9954 (exit $ac_status); }; }; then
9955 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9957 echo "$as_me: failed program was:" >&5
9958 sed 's/^/| /' conftest.$ac_ext >&5
9960 ac_cv_lib_dnet_stub_dnet_ntoa=no
9962 rm -f conftest.err conftest.$ac_objext \
9963 conftest$ac_exeext conftest.$ac_ext
9964 LIBS=$ac_check_lib_save_LIBS
9966 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9967 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
9968 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
9969 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9974 rm -f conftest.err conftest.$ac_objext \
9975 conftest$ac_exeext conftest.$ac_ext
9976 LIBS="$ac_xsave_LIBS"
9978 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9979 # to get the SysV transport functions.
9980 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9982 # The nsl library prevents programs from opening the X display
9983 # on Irix 5.2, according to T.E. Dickey.
9984 # The functions gethostbyname, getservbyname, and inet_addr are
9985 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9986 echo "$as_me:$LINENO: checking for gethostbyname" >&5
9987 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
9988 if test "${ac_cv_func_gethostbyname+set}" = set; then
9989 echo $ECHO_N "(cached) $ECHO_C" >&6
9991 cat >conftest.$ac_ext <<_ACEOF
9994 cat confdefs.h >>conftest.$ac_ext
9995 cat >>conftest.$ac_ext <<_ACEOF
9996 /* end confdefs.h. */
9997 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
9998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9999 #define gethostbyname innocuous_gethostbyname
10001 /* System header to define __stub macros and hopefully few prototypes,
10002 which can conflict with char gethostbyname (); below.
10003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10004 <limits.h> exists even on freestanding compilers. */
10007 # include <limits.h>
10009 # include <assert.h>
10012 #undef gethostbyname
10014 /* Override any gcc2 internal prototype to avoid an error. */
10019 /* We use char because int might match the return type of a gcc2
10020 builtin and then its argument prototype would still apply. */
10021 char gethostbyname ();
10022 /* The GNU C library defines this for functions which it implements
10023 to always fail with ENOSYS. Some functions are actually named
10024 something starting with __ and the normal name is an alias. */
10025 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10028 char (*f) () = gethostbyname;
10037 return f != gethostbyname;
10042 rm -f conftest.$ac_objext conftest$ac_exeext
10043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10044 (eval $ac_link) 2>conftest.er1
10046 grep -v '^ *+' conftest.er1 >conftest.err
10048 cat conftest.err >&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); } &&
10051 { ac_try='test -z "$ac_c_werror_flag"
10052 || test ! -s conftest.err'
10053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); }; } &&
10058 { ac_try='test -s conftest$ac_exeext'
10059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10060 (eval $ac_try) 2>&5
10062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10063 (exit $ac_status); }; }; then
10064 ac_cv_func_gethostbyname=yes
10066 echo "$as_me: failed program was:" >&5
10067 sed 's/^/| /' conftest.$ac_ext >&5
10069 ac_cv_func_gethostbyname=no
10071 rm -f conftest.err conftest.$ac_objext \
10072 conftest$ac_exeext conftest.$ac_ext
10074 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
10075 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
10077 if test $ac_cv_func_gethostbyname = no; then
10078 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
10079 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
10080 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
10081 echo $ECHO_N "(cached) $ECHO_C" >&6
10083 ac_check_lib_save_LIBS=$LIBS
10085 cat >conftest.$ac_ext <<_ACEOF
10088 cat confdefs.h >>conftest.$ac_ext
10089 cat >>conftest.$ac_ext <<_ACEOF
10090 /* end confdefs.h. */
10092 /* Override any gcc2 internal prototype to avoid an error. */
10096 /* We use char because int might match the return type of a gcc2
10097 builtin and then its argument prototype would still apply. */
10098 char gethostbyname ();
10107 rm -f conftest.$ac_objext conftest$ac_exeext
10108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10109 (eval $ac_link) 2>conftest.er1
10111 grep -v '^ *+' conftest.er1 >conftest.err
10113 cat conftest.err >&5
10114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115 (exit $ac_status); } &&
10116 { ac_try='test -z "$ac_c_werror_flag"
10117 || test ! -s conftest.err'
10118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119 (eval $ac_try) 2>&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); }; } &&
10123 { ac_try='test -s conftest$ac_exeext'
10124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10125 (eval $ac_try) 2>&5
10127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128 (exit $ac_status); }; }; then
10129 ac_cv_lib_nsl_gethostbyname=yes
10131 echo "$as_me: failed program was:" >&5
10132 sed 's/^/| /' conftest.$ac_ext >&5
10134 ac_cv_lib_nsl_gethostbyname=no
10136 rm -f conftest.err conftest.$ac_objext \
10137 conftest$ac_exeext conftest.$ac_ext
10138 LIBS=$ac_check_lib_save_LIBS
10140 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
10141 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
10142 if test $ac_cv_lib_nsl_gethostbyname = yes; then
10143 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10146 if test $ac_cv_lib_nsl_gethostbyname = no; then
10147 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
10148 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
10149 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
10150 echo $ECHO_N "(cached) $ECHO_C" >&6
10152 ac_check_lib_save_LIBS=$LIBS
10154 cat >conftest.$ac_ext <<_ACEOF
10157 cat confdefs.h >>conftest.$ac_ext
10158 cat >>conftest.$ac_ext <<_ACEOF
10159 /* end confdefs.h. */
10161 /* Override any gcc2 internal prototype to avoid an error. */
10165 /* We use char because int might match the return type of a gcc2
10166 builtin and then its argument prototype would still apply. */
10167 char gethostbyname ();
10176 rm -f conftest.$ac_objext conftest$ac_exeext
10177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10178 (eval $ac_link) 2>conftest.er1
10180 grep -v '^ *+' conftest.er1 >conftest.err
10182 cat conftest.err >&5
10183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184 (exit $ac_status); } &&
10185 { ac_try='test -z "$ac_c_werror_flag"
10186 || test ! -s conftest.err'
10187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10188 (eval $ac_try) 2>&5
10190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191 (exit $ac_status); }; } &&
10192 { ac_try='test -s conftest$ac_exeext'
10193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10194 (eval $ac_try) 2>&5
10196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10197 (exit $ac_status); }; }; then
10198 ac_cv_lib_bsd_gethostbyname=yes
10200 echo "$as_me: failed program was:" >&5
10201 sed 's/^/| /' conftest.$ac_ext >&5
10203 ac_cv_lib_bsd_gethostbyname=no
10205 rm -f conftest.err conftest.$ac_objext \
10206 conftest$ac_exeext conftest.$ac_ext
10207 LIBS=$ac_check_lib_save_LIBS
10209 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
10210 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
10211 if test $ac_cv_lib_bsd_gethostbyname = yes; then
10212 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10218 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10219 # socket/setsockopt and other routines are undefined under SCO ODT
10220 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10221 # on later versions), says Simon Leinen: it contains gethostby*
10222 # variants that don't use the name server (or something). -lsocket
10223 # must be given before -lnsl if both are needed. We assume that
10224 # if connect needs -lnsl, so does gethostbyname.
10225 echo "$as_me:$LINENO: checking for connect" >&5
10226 echo $ECHO_N "checking for connect... $ECHO_C" >&6
10227 if test "${ac_cv_func_connect+set}" = set; then
10228 echo $ECHO_N "(cached) $ECHO_C" >&6
10230 cat >conftest.$ac_ext <<_ACEOF
10233 cat confdefs.h >>conftest.$ac_ext
10234 cat >>conftest.$ac_ext <<_ACEOF
10235 /* end confdefs.h. */
10236 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
10237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10238 #define connect innocuous_connect
10240 /* System header to define __stub macros and hopefully few prototypes,
10241 which can conflict with char connect (); below.
10242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10243 <limits.h> exists even on freestanding compilers. */
10246 # include <limits.h>
10248 # include <assert.h>
10253 /* Override any gcc2 internal prototype to avoid an error. */
10258 /* We use char because int might match the return type of a gcc2
10259 builtin and then its argument prototype would still apply. */
10261 /* The GNU C library defines this for functions which it implements
10262 to always fail with ENOSYS. Some functions are actually named
10263 something starting with __ and the normal name is an alias. */
10264 #if defined (__stub_connect) || defined (__stub___connect)
10267 char (*f) () = connect;
10276 return f != connect;
10281 rm -f conftest.$ac_objext conftest$ac_exeext
10282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10283 (eval $ac_link) 2>conftest.er1
10285 grep -v '^ *+' conftest.er1 >conftest.err
10287 cat conftest.err >&5
10288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); } &&
10290 { ac_try='test -z "$ac_c_werror_flag"
10291 || test ! -s conftest.err'
10292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10293 (eval $ac_try) 2>&5
10295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296 (exit $ac_status); }; } &&
10297 { ac_try='test -s conftest$ac_exeext'
10298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10299 (eval $ac_try) 2>&5
10301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10302 (exit $ac_status); }; }; then
10303 ac_cv_func_connect=yes
10305 echo "$as_me: failed program was:" >&5
10306 sed 's/^/| /' conftest.$ac_ext >&5
10308 ac_cv_func_connect=no
10310 rm -f conftest.err conftest.$ac_objext \
10311 conftest$ac_exeext conftest.$ac_ext
10313 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
10314 echo "${ECHO_T}$ac_cv_func_connect" >&6
10316 if test $ac_cv_func_connect = no; then
10317 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
10318 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
10319 if test "${ac_cv_lib_socket_connect+set}" = set; then
10320 echo $ECHO_N "(cached) $ECHO_C" >&6
10322 ac_check_lib_save_LIBS=$LIBS
10323 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10324 cat >conftest.$ac_ext <<_ACEOF
10327 cat confdefs.h >>conftest.$ac_ext
10328 cat >>conftest.$ac_ext <<_ACEOF
10329 /* end confdefs.h. */
10331 /* Override any gcc2 internal prototype to avoid an error. */
10335 /* We use char because int might match the return type of a gcc2
10336 builtin and then its argument prototype would still apply. */
10346 rm -f conftest.$ac_objext conftest$ac_exeext
10347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10348 (eval $ac_link) 2>conftest.er1
10350 grep -v '^ *+' conftest.er1 >conftest.err
10352 cat conftest.err >&5
10353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10354 (exit $ac_status); } &&
10355 { ac_try='test -z "$ac_c_werror_flag"
10356 || test ! -s conftest.err'
10357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10358 (eval $ac_try) 2>&5
10360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10361 (exit $ac_status); }; } &&
10362 { ac_try='test -s conftest$ac_exeext'
10363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10364 (eval $ac_try) 2>&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); }; }; then
10368 ac_cv_lib_socket_connect=yes
10370 echo "$as_me: failed program was:" >&5
10371 sed 's/^/| /' conftest.$ac_ext >&5
10373 ac_cv_lib_socket_connect=no
10375 rm -f conftest.err conftest.$ac_objext \
10376 conftest$ac_exeext conftest.$ac_ext
10377 LIBS=$ac_check_lib_save_LIBS
10379 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
10380 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
10381 if test $ac_cv_lib_socket_connect = yes; then
10382 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10387 # Guillermo Gomez says -lposix is necessary on A/UX.
10388 echo "$as_me:$LINENO: checking for remove" >&5
10389 echo $ECHO_N "checking for remove... $ECHO_C" >&6
10390 if test "${ac_cv_func_remove+set}" = set; then
10391 echo $ECHO_N "(cached) $ECHO_C" >&6
10393 cat >conftest.$ac_ext <<_ACEOF
10396 cat confdefs.h >>conftest.$ac_ext
10397 cat >>conftest.$ac_ext <<_ACEOF
10398 /* end confdefs.h. */
10399 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
10400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10401 #define remove innocuous_remove
10403 /* System header to define __stub macros and hopefully few prototypes,
10404 which can conflict with char remove (); below.
10405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10406 <limits.h> exists even on freestanding compilers. */
10409 # include <limits.h>
10411 # include <assert.h>
10416 /* Override any gcc2 internal prototype to avoid an error. */
10421 /* We use char because int might match the return type of a gcc2
10422 builtin and then its argument prototype would still apply. */
10424 /* The GNU C library defines this for functions which it implements
10425 to always fail with ENOSYS. Some functions are actually named
10426 something starting with __ and the normal name is an alias. */
10427 #if defined (__stub_remove) || defined (__stub___remove)
10430 char (*f) () = remove;
10439 return f != remove;
10444 rm -f conftest.$ac_objext conftest$ac_exeext
10445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10446 (eval $ac_link) 2>conftest.er1
10448 grep -v '^ *+' conftest.er1 >conftest.err
10450 cat conftest.err >&5
10451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10452 (exit $ac_status); } &&
10453 { ac_try='test -z "$ac_c_werror_flag"
10454 || test ! -s conftest.err'
10455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10456 (eval $ac_try) 2>&5
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); }; } &&
10460 { ac_try='test -s conftest$ac_exeext'
10461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10462 (eval $ac_try) 2>&5
10464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10465 (exit $ac_status); }; }; then
10466 ac_cv_func_remove=yes
10468 echo "$as_me: failed program was:" >&5
10469 sed 's/^/| /' conftest.$ac_ext >&5
10471 ac_cv_func_remove=no
10473 rm -f conftest.err conftest.$ac_objext \
10474 conftest$ac_exeext conftest.$ac_ext
10476 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
10477 echo "${ECHO_T}$ac_cv_func_remove" >&6
10479 if test $ac_cv_func_remove = no; then
10480 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
10481 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
10482 if test "${ac_cv_lib_posix_remove+set}" = set; then
10483 echo $ECHO_N "(cached) $ECHO_C" >&6
10485 ac_check_lib_save_LIBS=$LIBS
10486 LIBS="-lposix $LIBS"
10487 cat >conftest.$ac_ext <<_ACEOF
10490 cat confdefs.h >>conftest.$ac_ext
10491 cat >>conftest.$ac_ext <<_ACEOF
10492 /* end confdefs.h. */
10494 /* Override any gcc2 internal prototype to avoid an error. */
10498 /* We use char because int might match the return type of a gcc2
10499 builtin and then its argument prototype would still apply. */
10509 rm -f conftest.$ac_objext conftest$ac_exeext
10510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10511 (eval $ac_link) 2>conftest.er1
10513 grep -v '^ *+' conftest.er1 >conftest.err
10515 cat conftest.err >&5
10516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10517 (exit $ac_status); } &&
10518 { ac_try='test -z "$ac_c_werror_flag"
10519 || test ! -s conftest.err'
10520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10521 (eval $ac_try) 2>&5
10523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); }; } &&
10525 { ac_try='test -s conftest$ac_exeext'
10526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10527 (eval $ac_try) 2>&5
10529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10530 (exit $ac_status); }; }; then
10531 ac_cv_lib_posix_remove=yes
10533 echo "$as_me: failed program was:" >&5
10534 sed 's/^/| /' conftest.$ac_ext >&5
10536 ac_cv_lib_posix_remove=no
10538 rm -f conftest.err conftest.$ac_objext \
10539 conftest$ac_exeext conftest.$ac_ext
10540 LIBS=$ac_check_lib_save_LIBS
10542 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
10543 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
10544 if test $ac_cv_lib_posix_remove = yes; then
10545 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10550 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10551 echo "$as_me:$LINENO: checking for shmat" >&5
10552 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
10553 if test "${ac_cv_func_shmat+set}" = set; then
10554 echo $ECHO_N "(cached) $ECHO_C" >&6
10556 cat >conftest.$ac_ext <<_ACEOF
10559 cat confdefs.h >>conftest.$ac_ext
10560 cat >>conftest.$ac_ext <<_ACEOF
10561 /* end confdefs.h. */
10562 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
10563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10564 #define shmat innocuous_shmat
10566 /* System header to define __stub macros and hopefully few prototypes,
10567 which can conflict with char shmat (); below.
10568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10569 <limits.h> exists even on freestanding compilers. */
10572 # include <limits.h>
10574 # include <assert.h>
10579 /* Override any gcc2 internal prototype to avoid an error. */
10584 /* We use char because int might match the return type of a gcc2
10585 builtin and then its argument prototype would still apply. */
10587 /* The GNU C library defines this for functions which it implements
10588 to always fail with ENOSYS. Some functions are actually named
10589 something starting with __ and the normal name is an alias. */
10590 #if defined (__stub_shmat) || defined (__stub___shmat)
10593 char (*f) () = shmat;
10607 rm -f conftest.$ac_objext conftest$ac_exeext
10608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10609 (eval $ac_link) 2>conftest.er1
10611 grep -v '^ *+' conftest.er1 >conftest.err
10613 cat conftest.err >&5
10614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615 (exit $ac_status); } &&
10616 { ac_try='test -z "$ac_c_werror_flag"
10617 || test ! -s conftest.err'
10618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10619 (eval $ac_try) 2>&5
10621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10622 (exit $ac_status); }; } &&
10623 { ac_try='test -s conftest$ac_exeext'
10624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10625 (eval $ac_try) 2>&5
10627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628 (exit $ac_status); }; }; then
10629 ac_cv_func_shmat=yes
10631 echo "$as_me: failed program was:" >&5
10632 sed 's/^/| /' conftest.$ac_ext >&5
10634 ac_cv_func_shmat=no
10636 rm -f conftest.err conftest.$ac_objext \
10637 conftest$ac_exeext conftest.$ac_ext
10639 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
10640 echo "${ECHO_T}$ac_cv_func_shmat" >&6
10642 if test $ac_cv_func_shmat = no; then
10643 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
10644 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
10645 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
10646 echo $ECHO_N "(cached) $ECHO_C" >&6
10648 ac_check_lib_save_LIBS=$LIBS
10650 cat >conftest.$ac_ext <<_ACEOF
10653 cat confdefs.h >>conftest.$ac_ext
10654 cat >>conftest.$ac_ext <<_ACEOF
10655 /* end confdefs.h. */
10657 /* Override any gcc2 internal prototype to avoid an error. */
10661 /* We use char because int might match the return type of a gcc2
10662 builtin and then its argument prototype would still apply. */
10672 rm -f conftest.$ac_objext conftest$ac_exeext
10673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10674 (eval $ac_link) 2>conftest.er1
10676 grep -v '^ *+' conftest.er1 >conftest.err
10678 cat conftest.err >&5
10679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10680 (exit $ac_status); } &&
10681 { ac_try='test -z "$ac_c_werror_flag"
10682 || test ! -s conftest.err'
10683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10684 (eval $ac_try) 2>&5
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); }; } &&
10688 { ac_try='test -s conftest$ac_exeext'
10689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10690 (eval $ac_try) 2>&5
10692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); }; }; then
10694 ac_cv_lib_ipc_shmat=yes
10696 echo "$as_me: failed program was:" >&5
10697 sed 's/^/| /' conftest.$ac_ext >&5
10699 ac_cv_lib_ipc_shmat=no
10701 rm -f conftest.err conftest.$ac_objext \
10702 conftest$ac_exeext conftest.$ac_ext
10703 LIBS=$ac_check_lib_save_LIBS
10705 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
10706 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
10707 if test $ac_cv_lib_ipc_shmat = yes; then
10708 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10714 # Check for libraries that X11R6 Xt/Xaw programs need.
10715 ac_save_LDFLAGS=$LDFLAGS
10716 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10717 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10718 # check for ICE first), but we must link in the order -lSM -lICE or
10719 # we get undefined symbols. So assume we have SM if we have ICE.
10720 # These have to be linked with before -lX11, unlike the other
10721 # libraries we check for below, so use a different variable.
10722 # John Interrante, Karl Berry
10723 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
10724 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
10725 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
10726 echo $ECHO_N "(cached) $ECHO_C" >&6
10728 ac_check_lib_save_LIBS=$LIBS
10729 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10730 cat >conftest.$ac_ext <<_ACEOF
10733 cat confdefs.h >>conftest.$ac_ext
10734 cat >>conftest.$ac_ext <<_ACEOF
10735 /* end confdefs.h. */
10737 /* Override any gcc2 internal prototype to avoid an error. */
10741 /* We use char because int might match the return type of a gcc2
10742 builtin and then its argument prototype would still apply. */
10743 char IceConnectionNumber ();
10747 IceConnectionNumber ();
10752 rm -f conftest.$ac_objext conftest$ac_exeext
10753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10754 (eval $ac_link) 2>conftest.er1
10756 grep -v '^ *+' conftest.er1 >conftest.err
10758 cat conftest.err >&5
10759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 (exit $ac_status); } &&
10761 { ac_try='test -z "$ac_c_werror_flag"
10762 || test ! -s conftest.err'
10763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10764 (eval $ac_try) 2>&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); }; } &&
10768 { ac_try='test -s conftest$ac_exeext'
10769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10770 (eval $ac_try) 2>&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); }; }; then
10774 ac_cv_lib_ICE_IceConnectionNumber=yes
10776 echo "$as_me: failed program was:" >&5
10777 sed 's/^/| /' conftest.$ac_ext >&5
10779 ac_cv_lib_ICE_IceConnectionNumber=no
10781 rm -f conftest.err conftest.$ac_objext \
10782 conftest$ac_exeext conftest.$ac_ext
10783 LIBS=$ac_check_lib_save_LIBS
10785 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10786 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
10787 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
10788 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10791 LDFLAGS=$ac_save_LDFLAGS
10853 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10855 echo "$as_me:$LINENO: checking for $ac_header" >&5
10856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10858 echo $ECHO_N "(cached) $ECHO_C" >&6
10860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10863 # Is the header compilable?
10864 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10865 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10866 cat >conftest.$ac_ext <<_ACEOF
10869 cat confdefs.h >>conftest.$ac_ext
10870 cat >>conftest.$ac_ext <<_ACEOF
10871 /* end confdefs.h. */
10872 $ac_includes_default
10873 #include <$ac_header>
10875 rm -f conftest.$ac_objext
10876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10877 (eval $ac_compile) 2>conftest.er1
10879 grep -v '^ *+' conftest.er1 >conftest.err
10881 cat conftest.err >&5
10882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10883 (exit $ac_status); } &&
10884 { ac_try='test -z "$ac_c_werror_flag"
10885 || test ! -s conftest.err'
10886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10887 (eval $ac_try) 2>&5
10889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10890 (exit $ac_status); }; } &&
10891 { ac_try='test -s conftest.$ac_objext'
10892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10893 (eval $ac_try) 2>&5
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); }; }; then
10897 ac_header_compiler=yes
10899 echo "$as_me: failed program was:" >&5
10900 sed 's/^/| /' conftest.$ac_ext >&5
10902 ac_header_compiler=no
10904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10905 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10906 echo "${ECHO_T}$ac_header_compiler" >&6
10908 # Is the header present?
10909 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10910 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10911 cat >conftest.$ac_ext <<_ACEOF
10914 cat confdefs.h >>conftest.$ac_ext
10915 cat >>conftest.$ac_ext <<_ACEOF
10916 /* end confdefs.h. */
10917 #include <$ac_header>
10919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10920 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10922 grep -v '^ *+' conftest.er1 >conftest.err
10924 cat conftest.err >&5
10925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10926 (exit $ac_status); } >/dev/null; then
10927 if test -s conftest.err; then
10928 ac_cpp_err=$ac_c_preproc_warn_flag
10929 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10936 if test -z "$ac_cpp_err"; then
10937 ac_header_preproc=yes
10939 echo "$as_me: failed program was:" >&5
10940 sed 's/^/| /' conftest.$ac_ext >&5
10942 ac_header_preproc=no
10944 rm -f conftest.err conftest.$ac_ext
10945 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10946 echo "${ECHO_T}$ac_header_preproc" >&6
10948 # So? What about this header?
10949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10951 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10952 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10954 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10955 ac_header_preproc=yes
10958 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10959 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10960 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10961 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10962 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10963 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10964 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10965 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10967 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10968 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10969 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10972 ## ------------------------------------------ ##
10973 ## Report this to the AC_PACKAGE_NAME lists. ##
10974 ## ------------------------------------------ ##
10977 sed "s/^/$as_me: WARNING: /" >&2
10980 echo "$as_me:$LINENO: checking for $ac_header" >&5
10981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10983 echo $ECHO_N "(cached) $ECHO_C" >&6
10985 eval "$as_ac_Header=\$ac_header_preproc"
10987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10992 cat >>confdefs.h <<_ACEOF
10993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11000 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11001 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11002 if test "${ac_cv_header_stdc+set}" = set; then
11003 echo $ECHO_N "(cached) $ECHO_C" >&6
11005 cat >conftest.$ac_ext <<_ACEOF
11008 cat confdefs.h >>conftest.$ac_ext
11009 cat >>conftest.$ac_ext <<_ACEOF
11010 /* end confdefs.h. */
11011 #include <stdlib.h>
11012 #include <stdarg.h>
11013 #include <string.h>
11024 rm -f conftest.$ac_objext
11025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11026 (eval $ac_compile) 2>conftest.er1
11028 grep -v '^ *+' conftest.er1 >conftest.err
11030 cat conftest.err >&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); } &&
11033 { ac_try='test -z "$ac_c_werror_flag"
11034 || test ! -s conftest.err'
11035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11036 (eval $ac_try) 2>&5
11038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11039 (exit $ac_status); }; } &&
11040 { ac_try='test -s conftest.$ac_objext'
11041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11042 (eval $ac_try) 2>&5
11044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11045 (exit $ac_status); }; }; then
11046 ac_cv_header_stdc=yes
11048 echo "$as_me: failed program was:" >&5
11049 sed 's/^/| /' conftest.$ac_ext >&5
11051 ac_cv_header_stdc=no
11053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11055 if test $ac_cv_header_stdc = yes; then
11056 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11057 cat >conftest.$ac_ext <<_ACEOF
11060 cat confdefs.h >>conftest.$ac_ext
11061 cat >>conftest.$ac_ext <<_ACEOF
11062 /* end confdefs.h. */
11063 #include <string.h>
11066 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11067 $EGREP "memchr" >/dev/null 2>&1; then
11070 ac_cv_header_stdc=no
11076 if test $ac_cv_header_stdc = yes; then
11077 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11078 cat >conftest.$ac_ext <<_ACEOF
11081 cat confdefs.h >>conftest.$ac_ext
11082 cat >>conftest.$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11084 #include <stdlib.h>
11087 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11088 $EGREP "free" >/dev/null 2>&1; then
11091 ac_cv_header_stdc=no
11097 if test $ac_cv_header_stdc = yes; then
11098 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11099 if test "$cross_compiling" = yes; then
11102 cat >conftest.$ac_ext <<_ACEOF
11105 cat confdefs.h >>conftest.$ac_ext
11106 cat >>conftest.$ac_ext <<_ACEOF
11107 /* end confdefs.h. */
11109 #if ((' ' & 0x0FF) == 0x020)
11110 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11111 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11113 # define ISLOWER(c) \
11114 (('a' <= (c) && (c) <= 'i') \
11115 || ('j' <= (c) && (c) <= 'r') \
11116 || ('s' <= (c) && (c) <= 'z'))
11117 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11120 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11125 for (i = 0; i < 256; i++)
11126 if (XOR (islower (i), ISLOWER (i))
11127 || toupper (i) != TOUPPER (i))
11132 rm -f conftest$ac_exeext
11133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11134 (eval $ac_link) 2>&5
11136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11139 (eval $ac_try) 2>&5
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); }; }; then
11145 echo "$as_me: program exited with status $ac_status" >&5
11146 echo "$as_me: failed program was:" >&5
11147 sed 's/^/| /' conftest.$ac_ext >&5
11149 ( exit $ac_status )
11150 ac_cv_header_stdc=no
11152 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11156 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11157 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11158 if test $ac_cv_header_stdc = yes; then
11160 cat >>confdefs.h <<\_ACEOF
11161 #define STDC_HEADERS 1
11166 echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5
11167 echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6
11168 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
11169 echo $ECHO_N "(cached) $ECHO_C" >&6
11171 cat >conftest.$ac_ext <<_ACEOF
11174 cat confdefs.h >>conftest.$ac_ext
11175 cat >>conftest.$ac_ext <<_ACEOF
11176 /* end confdefs.h. */
11177 #include <sys/types.h>
11181 return makedev(0, 0);
11186 rm -f conftest.$ac_objext conftest$ac_exeext
11187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11188 (eval $ac_link) 2>conftest.er1
11190 grep -v '^ *+' conftest.er1 >conftest.err
11192 cat conftest.err >&5
11193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11194 (exit $ac_status); } &&
11195 { ac_try='test -z "$ac_c_werror_flag"
11196 || test ! -s conftest.err'
11197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11198 (eval $ac_try) 2>&5
11200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201 (exit $ac_status); }; } &&
11202 { ac_try='test -s conftest$ac_exeext'
11203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11204 (eval $ac_try) 2>&5
11206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11207 (exit $ac_status); }; }; then
11208 ac_cv_header_sys_types_h_makedev=yes
11210 echo "$as_me: failed program was:" >&5
11211 sed 's/^/| /' conftest.$ac_ext >&5
11213 ac_cv_header_sys_types_h_makedev=no
11215 rm -f conftest.err conftest.$ac_objext \
11216 conftest$ac_exeext conftest.$ac_ext
11219 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5
11220 echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6
11222 if test $ac_cv_header_sys_types_h_makedev = no; then
11223 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
11224 echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
11225 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
11226 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
11227 echo $ECHO_N "(cached) $ECHO_C" >&6
11229 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
11230 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
11232 # Is the header compilable?
11233 echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5
11234 echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6
11235 cat >conftest.$ac_ext <<_ACEOF
11238 cat confdefs.h >>conftest.$ac_ext
11239 cat >>conftest.$ac_ext <<_ACEOF
11240 /* end confdefs.h. */
11241 $ac_includes_default
11242 #include <sys/mkdev.h>
11244 rm -f conftest.$ac_objext
11245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11246 (eval $ac_compile) 2>conftest.er1
11248 grep -v '^ *+' conftest.er1 >conftest.err
11250 cat conftest.err >&5
11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252 (exit $ac_status); } &&
11253 { ac_try='test -z "$ac_c_werror_flag"
11254 || test ! -s conftest.err'
11255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11256 (eval $ac_try) 2>&5
11258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11259 (exit $ac_status); }; } &&
11260 { ac_try='test -s conftest.$ac_objext'
11261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11262 (eval $ac_try) 2>&5
11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265 (exit $ac_status); }; }; then
11266 ac_header_compiler=yes
11268 echo "$as_me: failed program was:" >&5
11269 sed 's/^/| /' conftest.$ac_ext >&5
11271 ac_header_compiler=no
11273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11274 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11275 echo "${ECHO_T}$ac_header_compiler" >&6
11277 # Is the header present?
11278 echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5
11279 echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6
11280 cat >conftest.$ac_ext <<_ACEOF
11283 cat confdefs.h >>conftest.$ac_ext
11284 cat >>conftest.$ac_ext <<_ACEOF
11285 /* end confdefs.h. */
11286 #include <sys/mkdev.h>
11288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11291 grep -v '^ *+' conftest.er1 >conftest.err
11293 cat conftest.err >&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); } >/dev/null; then
11296 if test -s conftest.err; then
11297 ac_cpp_err=$ac_c_preproc_warn_flag
11298 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11305 if test -z "$ac_cpp_err"; then
11306 ac_header_preproc=yes
11308 echo "$as_me: failed program was:" >&5
11309 sed 's/^/| /' conftest.$ac_ext >&5
11311 ac_header_preproc=no
11313 rm -f conftest.err conftest.$ac_ext
11314 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11315 echo "${ECHO_T}$ac_header_preproc" >&6
11317 # So? What about this header?
11318 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11320 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5
11321 echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11322 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&5
11323 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&2;}
11324 ac_header_preproc=yes
11327 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5
11328 echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;}
11329 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&5
11330 echo "$as_me: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&2;}
11331 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: see the Autoconf documentation" >&5
11332 echo "$as_me: WARNING: sys/mkdev.h: see the Autoconf documentation" >&2;}
11333 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&5
11334 echo "$as_me: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&2;}
11335 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
11336 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
11337 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&5
11338 echo "$as_me: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&2;}
11341 ## ------------------------------------------ ##
11342 ## Report this to the AC_PACKAGE_NAME lists. ##
11343 ## ------------------------------------------ ##
11346 sed "s/^/$as_me: WARNING: /" >&2
11349 echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
11350 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
11351 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
11352 echo $ECHO_N "(cached) $ECHO_C" >&6
11354 ac_cv_header_sys_mkdev_h=$ac_header_preproc
11356 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
11357 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
11360 if test $ac_cv_header_sys_mkdev_h = yes; then
11362 cat >>confdefs.h <<\_ACEOF
11363 #define MAJOR_IN_MKDEV 1
11370 if test $ac_cv_header_sys_mkdev_h = no; then
11371 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
11372 echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
11373 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
11374 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
11375 echo $ECHO_N "(cached) $ECHO_C" >&6
11377 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
11378 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
11380 # Is the header compilable?
11381 echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5
11382 echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6
11383 cat >conftest.$ac_ext <<_ACEOF
11386 cat confdefs.h >>conftest.$ac_ext
11387 cat >>conftest.$ac_ext <<_ACEOF
11388 /* end confdefs.h. */
11389 $ac_includes_default
11390 #include <sys/sysmacros.h>
11392 rm -f conftest.$ac_objext
11393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11394 (eval $ac_compile) 2>conftest.er1
11396 grep -v '^ *+' conftest.er1 >conftest.err
11398 cat conftest.err >&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); } &&
11401 { ac_try='test -z "$ac_c_werror_flag"
11402 || test ! -s conftest.err'
11403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11404 (eval $ac_try) 2>&5
11406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407 (exit $ac_status); }; } &&
11408 { ac_try='test -s conftest.$ac_objext'
11409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11410 (eval $ac_try) 2>&5
11412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11413 (exit $ac_status); }; }; then
11414 ac_header_compiler=yes
11416 echo "$as_me: failed program was:" >&5
11417 sed 's/^/| /' conftest.$ac_ext >&5
11419 ac_header_compiler=no
11421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11423 echo "${ECHO_T}$ac_header_compiler" >&6
11425 # Is the header present?
11426 echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5
11427 echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6
11428 cat >conftest.$ac_ext <<_ACEOF
11431 cat confdefs.h >>conftest.$ac_ext
11432 cat >>conftest.$ac_ext <<_ACEOF
11433 /* end confdefs.h. */
11434 #include <sys/sysmacros.h>
11436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11437 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11439 grep -v '^ *+' conftest.er1 >conftest.err
11441 cat conftest.err >&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 (exit $ac_status); } >/dev/null; then
11444 if test -s conftest.err; then
11445 ac_cpp_err=$ac_c_preproc_warn_flag
11446 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11453 if test -z "$ac_cpp_err"; then
11454 ac_header_preproc=yes
11456 echo "$as_me: failed program was:" >&5
11457 sed 's/^/| /' conftest.$ac_ext >&5
11459 ac_header_preproc=no
11461 rm -f conftest.err conftest.$ac_ext
11462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11463 echo "${ECHO_T}$ac_header_preproc" >&6
11465 # So? What about this header?
11466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11468 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5
11469 echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11470 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&5
11471 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&2;}
11472 ac_header_preproc=yes
11475 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5
11476 echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;}
11477 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&5
11478 echo "$as_me: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&2;}
11479 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&5
11480 echo "$as_me: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&2;}
11481 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&5
11482 echo "$as_me: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&2;}
11483 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
11484 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
11485 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&5
11486 echo "$as_me: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&2;}
11489 ## ------------------------------------------ ##
11490 ## Report this to the AC_PACKAGE_NAME lists. ##
11491 ## ------------------------------------------ ##
11494 sed "s/^/$as_me: WARNING: /" >&2
11497 echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
11498 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
11499 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
11500 echo $ECHO_N "(cached) $ECHO_C" >&6
11502 ac_cv_header_sys_sysmacros_h=$ac_header_preproc
11504 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
11505 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
11508 if test $ac_cv_header_sys_sysmacros_h = yes; then
11510 cat >>confdefs.h <<\_ACEOF
11511 #define MAJOR_IN_SYSMACROS 1
11525 ac_header_dirent=no
11526 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
11527 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
11528 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
11529 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
11530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11531 echo $ECHO_N "(cached) $ECHO_C" >&6
11533 cat >conftest.$ac_ext <<_ACEOF
11536 cat confdefs.h >>conftest.$ac_ext
11537 cat >>conftest.$ac_ext <<_ACEOF
11538 /* end confdefs.h. */
11539 #include <sys/types.h>
11551 rm -f conftest.$ac_objext
11552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11553 (eval $ac_compile) 2>conftest.er1
11555 grep -v '^ *+' conftest.er1 >conftest.err
11557 cat conftest.err >&5
11558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11559 (exit $ac_status); } &&
11560 { ac_try='test -z "$ac_c_werror_flag"
11561 || test ! -s conftest.err'
11562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11563 (eval $ac_try) 2>&5
11565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11566 (exit $ac_status); }; } &&
11567 { ac_try='test -s conftest.$ac_objext'
11568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11569 (eval $ac_try) 2>&5
11571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); }; }; then
11573 eval "$as_ac_Header=yes"
11575 echo "$as_me: failed program was:" >&5
11576 sed 's/^/| /' conftest.$ac_ext >&5
11578 eval "$as_ac_Header=no"
11580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11585 cat >>confdefs.h <<_ACEOF
11586 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
11589 ac_header_dirent=$ac_hdr; break
11593 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
11594 if test $ac_header_dirent = dirent.h; then
11595 echo "$as_me:$LINENO: checking for library containing opendir" >&5
11596 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
11597 if test "${ac_cv_search_opendir+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11600 ac_func_search_save_LIBS=$LIBS
11601 ac_cv_search_opendir=no
11602 cat >conftest.$ac_ext <<_ACEOF
11605 cat confdefs.h >>conftest.$ac_ext
11606 cat >>conftest.$ac_ext <<_ACEOF
11607 /* end confdefs.h. */
11609 /* Override any gcc2 internal prototype to avoid an error. */
11613 /* We use char because int might match the return type of a gcc2
11614 builtin and then its argument prototype would still apply. */
11624 rm -f conftest.$ac_objext conftest$ac_exeext
11625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11626 (eval $ac_link) 2>conftest.er1
11628 grep -v '^ *+' conftest.er1 >conftest.err
11630 cat conftest.err >&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); } &&
11633 { ac_try='test -z "$ac_c_werror_flag"
11634 || test ! -s conftest.err'
11635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11636 (eval $ac_try) 2>&5
11638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11639 (exit $ac_status); }; } &&
11640 { ac_try='test -s conftest$ac_exeext'
11641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11642 (eval $ac_try) 2>&5
11644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11645 (exit $ac_status); }; }; then
11646 ac_cv_search_opendir="none required"
11648 echo "$as_me: failed program was:" >&5
11649 sed 's/^/| /' conftest.$ac_ext >&5
11652 rm -f conftest.err conftest.$ac_objext \
11653 conftest$ac_exeext conftest.$ac_ext
11654 if test "$ac_cv_search_opendir" = no; then
11655 for ac_lib in dir; do
11656 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11657 cat >conftest.$ac_ext <<_ACEOF
11660 cat confdefs.h >>conftest.$ac_ext
11661 cat >>conftest.$ac_ext <<_ACEOF
11662 /* end confdefs.h. */
11664 /* Override any gcc2 internal prototype to avoid an error. */
11668 /* We use char because int might match the return type of a gcc2
11669 builtin and then its argument prototype would still apply. */
11679 rm -f conftest.$ac_objext conftest$ac_exeext
11680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11681 (eval $ac_link) 2>conftest.er1
11683 grep -v '^ *+' conftest.er1 >conftest.err
11685 cat conftest.err >&5
11686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11687 (exit $ac_status); } &&
11688 { ac_try='test -z "$ac_c_werror_flag"
11689 || test ! -s conftest.err'
11690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11691 (eval $ac_try) 2>&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); }; } &&
11695 { ac_try='test -s conftest$ac_exeext'
11696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11697 (eval $ac_try) 2>&5
11699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11700 (exit $ac_status); }; }; then
11701 ac_cv_search_opendir="-l$ac_lib"
11704 echo "$as_me: failed program was:" >&5
11705 sed 's/^/| /' conftest.$ac_ext >&5
11708 rm -f conftest.err conftest.$ac_objext \
11709 conftest$ac_exeext conftest.$ac_ext
11712 LIBS=$ac_func_search_save_LIBS
11714 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11715 echo "${ECHO_T}$ac_cv_search_opendir" >&6
11716 if test "$ac_cv_search_opendir" != no; then
11717 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
11722 echo "$as_me:$LINENO: checking for library containing opendir" >&5
11723 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
11724 if test "${ac_cv_search_opendir+set}" = set; then
11725 echo $ECHO_N "(cached) $ECHO_C" >&6
11727 ac_func_search_save_LIBS=$LIBS
11728 ac_cv_search_opendir=no
11729 cat >conftest.$ac_ext <<_ACEOF
11732 cat confdefs.h >>conftest.$ac_ext
11733 cat >>conftest.$ac_ext <<_ACEOF
11734 /* end confdefs.h. */
11736 /* Override any gcc2 internal prototype to avoid an error. */
11740 /* We use char because int might match the return type of a gcc2
11741 builtin and then its argument prototype would still apply. */
11751 rm -f conftest.$ac_objext conftest$ac_exeext
11752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11753 (eval $ac_link) 2>conftest.er1
11755 grep -v '^ *+' conftest.er1 >conftest.err
11757 cat conftest.err >&5
11758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11759 (exit $ac_status); } &&
11760 { ac_try='test -z "$ac_c_werror_flag"
11761 || test ! -s conftest.err'
11762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11763 (eval $ac_try) 2>&5
11765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766 (exit $ac_status); }; } &&
11767 { ac_try='test -s conftest$ac_exeext'
11768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11769 (eval $ac_try) 2>&5
11771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11772 (exit $ac_status); }; }; then
11773 ac_cv_search_opendir="none required"
11775 echo "$as_me: failed program was:" >&5
11776 sed 's/^/| /' conftest.$ac_ext >&5
11779 rm -f conftest.err conftest.$ac_objext \
11780 conftest$ac_exeext conftest.$ac_ext
11781 if test "$ac_cv_search_opendir" = no; then
11782 for ac_lib in x; do
11783 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11784 cat >conftest.$ac_ext <<_ACEOF
11787 cat confdefs.h >>conftest.$ac_ext
11788 cat >>conftest.$ac_ext <<_ACEOF
11789 /* end confdefs.h. */
11791 /* Override any gcc2 internal prototype to avoid an error. */
11795 /* We use char because int might match the return type of a gcc2
11796 builtin and then its argument prototype would still apply. */
11806 rm -f conftest.$ac_objext conftest$ac_exeext
11807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11808 (eval $ac_link) 2>conftest.er1
11810 grep -v '^ *+' conftest.er1 >conftest.err
11812 cat conftest.err >&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); } &&
11815 { ac_try='test -z "$ac_c_werror_flag"
11816 || test ! -s conftest.err'
11817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11818 (eval $ac_try) 2>&5
11820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11821 (exit $ac_status); }; } &&
11822 { ac_try='test -s conftest$ac_exeext'
11823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11824 (eval $ac_try) 2>&5
11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827 (exit $ac_status); }; }; then
11828 ac_cv_search_opendir="-l$ac_lib"
11831 echo "$as_me: failed program was:" >&5
11832 sed 's/^/| /' conftest.$ac_ext >&5
11835 rm -f conftest.err conftest.$ac_objext \
11836 conftest$ac_exeext conftest.$ac_ext
11839 LIBS=$ac_func_search_save_LIBS
11841 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11842 echo "${ECHO_T}$ac_cv_search_opendir" >&6
11843 if test "$ac_cv_search_opendir" != no; then
11844 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
11850 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
11851 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
11852 if test "${ac_cv_header_stat_broken+set}" = set; then
11853 echo $ECHO_N "(cached) $ECHO_C" >&6
11855 cat >conftest.$ac_ext <<_ACEOF
11858 cat confdefs.h >>conftest.$ac_ext
11859 cat >>conftest.$ac_ext <<_ACEOF
11860 /* end confdefs.h. */
11861 #include <sys/types.h>
11862 #include <sys/stat.h>
11864 #if defined(S_ISBLK) && defined(S_IFDIR)
11865 # if S_ISBLK (S_IFDIR)
11870 #if defined(S_ISBLK) && defined(S_IFCHR)
11871 # if S_ISBLK (S_IFCHR)
11876 #if defined(S_ISLNK) && defined(S_IFREG)
11877 # if S_ISLNK (S_IFREG)
11882 #if defined(S_ISSOCK) && defined(S_IFREG)
11883 # if S_ISSOCK (S_IFREG)
11889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11890 $EGREP "You lose" >/dev/null 2>&1; then
11891 ac_cv_header_stat_broken=yes
11893 ac_cv_header_stat_broken=no
11898 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
11899 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
11900 if test $ac_cv_header_stat_broken = yes; then
11902 cat >>confdefs.h <<\_ACEOF
11903 #define STAT_MACROS_BROKEN 1
11908 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
11909 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
11910 if test "${ac_cv_header_sys_wait_h+set}" = set; then
11911 echo $ECHO_N "(cached) $ECHO_C" >&6
11913 cat >conftest.$ac_ext <<_ACEOF
11916 cat confdefs.h >>conftest.$ac_ext
11917 cat >>conftest.$ac_ext <<_ACEOF
11918 /* end confdefs.h. */
11919 #include <sys/types.h>
11920 #include <sys/wait.h>
11921 #ifndef WEXITSTATUS
11922 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
11925 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
11933 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
11938 rm -f conftest.$ac_objext
11939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11940 (eval $ac_compile) 2>conftest.er1
11942 grep -v '^ *+' conftest.er1 >conftest.err
11944 cat conftest.err >&5
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); } &&
11947 { ac_try='test -z "$ac_c_werror_flag"
11948 || test ! -s conftest.err'
11949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11950 (eval $ac_try) 2>&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); }; } &&
11954 { ac_try='test -s conftest.$ac_objext'
11955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11956 (eval $ac_try) 2>&5
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); }; }; then
11960 ac_cv_header_sys_wait_h=yes
11962 echo "$as_me: failed program was:" >&5
11963 sed 's/^/| /' conftest.$ac_ext >&5
11965 ac_cv_header_sys_wait_h=no
11967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11969 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
11970 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
11971 if test $ac_cv_header_sys_wait_h = yes; then
11973 cat >>confdefs.h <<\_ACEOF
11974 #define HAVE_SYS_WAIT_H 1
11979 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
11980 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
11981 if test "${ac_cv_header_time+set}" = set; then
11982 echo $ECHO_N "(cached) $ECHO_C" >&6
11984 cat >conftest.$ac_ext <<_ACEOF
11987 cat confdefs.h >>conftest.$ac_ext
11988 cat >>conftest.$ac_ext <<_ACEOF
11989 /* end confdefs.h. */
11990 #include <sys/types.h>
11991 #include <sys/time.h>
11997 if ((struct tm *) 0)
12003 rm -f conftest.$ac_objext
12004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12005 (eval $ac_compile) 2>conftest.er1
12007 grep -v '^ *+' conftest.er1 >conftest.err
12009 cat conftest.err >&5
12010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); } &&
12012 { ac_try='test -z "$ac_c_werror_flag"
12013 || test ! -s conftest.err'
12014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12015 (eval $ac_try) 2>&5
12017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12018 (exit $ac_status); }; } &&
12019 { ac_try='test -s conftest.$ac_objext'
12020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12021 (eval $ac_try) 2>&5
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); }; }; then
12025 ac_cv_header_time=yes
12027 echo "$as_me: failed program was:" >&5
12028 sed 's/^/| /' conftest.$ac_ext >&5
12030 ac_cv_header_time=no
12032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12034 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
12035 echo "${ECHO_T}$ac_cv_header_time" >&6
12036 if test $ac_cv_header_time = yes; then
12038 cat >>confdefs.h <<\_ACEOF
12039 #define TIME_WITH_SYS_TIME 1
12045 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
12046 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
12047 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
12048 echo $ECHO_N "(cached) $ECHO_C" >&6
12050 cat >conftest.$ac_ext <<_ACEOF
12053 cat confdefs.h >>conftest.$ac_ext
12054 cat >>conftest.$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12056 $ac_includes_default
12060 static struct stat ac_aggr;
12061 if (ac_aggr.st_blksize)
12067 rm -f conftest.$ac_objext
12068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12069 (eval $ac_compile) 2>conftest.er1
12071 grep -v '^ *+' conftest.er1 >conftest.err
12073 cat conftest.err >&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); } &&
12076 { ac_try='test -z "$ac_c_werror_flag"
12077 || test ! -s conftest.err'
12078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079 (eval $ac_try) 2>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }; } &&
12083 { ac_try='test -s conftest.$ac_objext'
12084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12085 (eval $ac_try) 2>&5
12087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088 (exit $ac_status); }; }; then
12089 ac_cv_member_struct_stat_st_blksize=yes
12091 echo "$as_me: failed program was:" >&5
12092 sed 's/^/| /' conftest.$ac_ext >&5
12094 cat >conftest.$ac_ext <<_ACEOF
12097 cat confdefs.h >>conftest.$ac_ext
12098 cat >>conftest.$ac_ext <<_ACEOF
12099 /* end confdefs.h. */
12100 $ac_includes_default
12104 static struct stat ac_aggr;
12105 if (sizeof ac_aggr.st_blksize)
12111 rm -f conftest.$ac_objext
12112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12113 (eval $ac_compile) 2>conftest.er1
12115 grep -v '^ *+' conftest.er1 >conftest.err
12117 cat conftest.err >&5
12118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12119 (exit $ac_status); } &&
12120 { ac_try='test -z "$ac_c_werror_flag"
12121 || test ! -s conftest.err'
12122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12123 (eval $ac_try) 2>&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); }; } &&
12127 { ac_try='test -s conftest.$ac_objext'
12128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12129 (eval $ac_try) 2>&5
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); }; }; then
12133 ac_cv_member_struct_stat_st_blksize=yes
12135 echo "$as_me: failed program was:" >&5
12136 sed 's/^/| /' conftest.$ac_ext >&5
12138 ac_cv_member_struct_stat_st_blksize=no
12140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12144 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
12145 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
12146 if test $ac_cv_member_struct_stat_st_blksize = yes; then
12148 cat >>confdefs.h <<_ACEOF
12149 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
12153 cat >>confdefs.h <<\_ACEOF
12154 #define HAVE_ST_BLKSIZE 1
12160 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
12161 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
12162 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
12163 echo $ECHO_N "(cached) $ECHO_C" >&6
12165 cat >conftest.$ac_ext <<_ACEOF
12168 cat confdefs.h >>conftest.$ac_ext
12169 cat >>conftest.$ac_ext <<_ACEOF
12170 /* end confdefs.h. */
12171 $ac_includes_default
12175 static struct stat ac_aggr;
12176 if (ac_aggr.st_blocks)
12182 rm -f conftest.$ac_objext
12183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12184 (eval $ac_compile) 2>conftest.er1
12186 grep -v '^ *+' conftest.er1 >conftest.err
12188 cat conftest.err >&5
12189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12190 (exit $ac_status); } &&
12191 { ac_try='test -z "$ac_c_werror_flag"
12192 || test ! -s conftest.err'
12193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12194 (eval $ac_try) 2>&5
12196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12197 (exit $ac_status); }; } &&
12198 { ac_try='test -s conftest.$ac_objext'
12199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12200 (eval $ac_try) 2>&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); }; }; then
12204 ac_cv_member_struct_stat_st_blocks=yes
12206 echo "$as_me: failed program was:" >&5
12207 sed 's/^/| /' conftest.$ac_ext >&5
12209 cat >conftest.$ac_ext <<_ACEOF
12212 cat confdefs.h >>conftest.$ac_ext
12213 cat >>conftest.$ac_ext <<_ACEOF
12214 /* end confdefs.h. */
12215 $ac_includes_default
12219 static struct stat ac_aggr;
12220 if (sizeof ac_aggr.st_blocks)
12226 rm -f conftest.$ac_objext
12227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12228 (eval $ac_compile) 2>conftest.er1
12230 grep -v '^ *+' conftest.er1 >conftest.err
12232 cat conftest.err >&5
12233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234 (exit $ac_status); } &&
12235 { ac_try='test -z "$ac_c_werror_flag"
12236 || test ! -s conftest.err'
12237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12238 (eval $ac_try) 2>&5
12240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12241 (exit $ac_status); }; } &&
12242 { ac_try='test -s conftest.$ac_objext'
12243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12244 (eval $ac_try) 2>&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); }; }; then
12248 ac_cv_member_struct_stat_st_blocks=yes
12250 echo "$as_me: failed program was:" >&5
12251 sed 's/^/| /' conftest.$ac_ext >&5
12253 ac_cv_member_struct_stat_st_blocks=no
12255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12259 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
12260 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
12261 if test $ac_cv_member_struct_stat_st_blocks = yes; then
12263 cat >>confdefs.h <<_ACEOF
12264 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
12268 cat >>confdefs.h <<\_ACEOF
12269 #define HAVE_ST_BLOCKS 1
12274 "fileblocks.$ac_objext" | \
12275 *" fileblocks.$ac_objext" | \
12276 "fileblocks.$ac_objext "* | \
12277 *" fileblocks.$ac_objext "* ) ;;
12278 *) LIBOBJS="$LIBOBJS fileblocks.$ac_objext" ;;
12284 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
12285 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
12286 if test "${ac_cv_struct_tm+set}" = set; then
12287 echo $ECHO_N "(cached) $ECHO_C" >&6
12289 cat >conftest.$ac_ext <<_ACEOF
12292 cat confdefs.h >>conftest.$ac_ext
12293 cat >>conftest.$ac_ext <<_ACEOF
12294 /* end confdefs.h. */
12295 #include <sys/types.h>
12301 struct tm *tp; tp->tm_sec;
12306 rm -f conftest.$ac_objext
12307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12308 (eval $ac_compile) 2>conftest.er1
12310 grep -v '^ *+' conftest.er1 >conftest.err
12312 cat conftest.err >&5
12313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12314 (exit $ac_status); } &&
12315 { ac_try='test -z "$ac_c_werror_flag"
12316 || test ! -s conftest.err'
12317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12318 (eval $ac_try) 2>&5
12320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12321 (exit $ac_status); }; } &&
12322 { ac_try='test -s conftest.$ac_objext'
12323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12324 (eval $ac_try) 2>&5
12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 (exit $ac_status); }; }; then
12328 ac_cv_struct_tm=time.h
12330 echo "$as_me: failed program was:" >&5
12331 sed 's/^/| /' conftest.$ac_ext >&5
12333 ac_cv_struct_tm=sys/time.h
12335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12337 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
12338 echo "${ECHO_T}$ac_cv_struct_tm" >&6
12339 if test $ac_cv_struct_tm = sys/time.h; then
12341 cat >>confdefs.h <<\_ACEOF
12342 #define TM_IN_SYS_TIME 1
12347 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
12348 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
12349 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
12350 echo $ECHO_N "(cached) $ECHO_C" >&6
12352 cat >conftest.$ac_ext <<_ACEOF
12355 cat confdefs.h >>conftest.$ac_ext
12356 cat >>conftest.$ac_ext <<_ACEOF
12357 /* end confdefs.h. */
12358 #include <sys/types.h>
12359 #include <$ac_cv_struct_tm>
12365 static struct tm ac_aggr;
12366 if (ac_aggr.tm_zone)
12372 rm -f conftest.$ac_objext
12373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12374 (eval $ac_compile) 2>conftest.er1
12376 grep -v '^ *+' conftest.er1 >conftest.err
12378 cat conftest.err >&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); } &&
12381 { ac_try='test -z "$ac_c_werror_flag"
12382 || test ! -s conftest.err'
12383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12384 (eval $ac_try) 2>&5
12386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12387 (exit $ac_status); }; } &&
12388 { ac_try='test -s conftest.$ac_objext'
12389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12390 (eval $ac_try) 2>&5
12392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12393 (exit $ac_status); }; }; then
12394 ac_cv_member_struct_tm_tm_zone=yes
12396 echo "$as_me: failed program was:" >&5
12397 sed 's/^/| /' conftest.$ac_ext >&5
12399 cat >conftest.$ac_ext <<_ACEOF
12402 cat confdefs.h >>conftest.$ac_ext
12403 cat >>conftest.$ac_ext <<_ACEOF
12404 /* end confdefs.h. */
12405 #include <sys/types.h>
12406 #include <$ac_cv_struct_tm>
12412 static struct tm ac_aggr;
12413 if (sizeof ac_aggr.tm_zone)
12419 rm -f conftest.$ac_objext
12420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12421 (eval $ac_compile) 2>conftest.er1
12423 grep -v '^ *+' conftest.er1 >conftest.err
12425 cat conftest.err >&5
12426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12427 (exit $ac_status); } &&
12428 { ac_try='test -z "$ac_c_werror_flag"
12429 || 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_cv_member_struct_tm_tm_zone=yes
12443 echo "$as_me: failed program was:" >&5
12444 sed 's/^/| /' conftest.$ac_ext >&5
12446 ac_cv_member_struct_tm_tm_zone=no
12448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12452 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
12453 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
12454 if test $ac_cv_member_struct_tm_tm_zone = yes; then
12456 cat >>confdefs.h <<_ACEOF
12457 #define HAVE_STRUCT_TM_TM_ZONE 1
12463 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
12465 cat >>confdefs.h <<\_ACEOF
12466 #define HAVE_TM_ZONE 1
12470 echo "$as_me:$LINENO: checking for tzname" >&5
12471 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
12472 if test "${ac_cv_var_tzname+set}" = set; then
12473 echo $ECHO_N "(cached) $ECHO_C" >&6
12475 cat >conftest.$ac_ext <<_ACEOF
12478 cat confdefs.h >>conftest.$ac_ext
12479 cat >>conftest.$ac_ext <<_ACEOF
12480 /* end confdefs.h. */
12482 #ifndef tzname /* For SGI. */
12483 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
12494 rm -f conftest.$ac_objext conftest$ac_exeext
12495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12496 (eval $ac_link) 2>conftest.er1
12498 grep -v '^ *+' conftest.er1 >conftest.err
12500 cat conftest.err >&5
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); } &&
12503 { ac_try='test -z "$ac_c_werror_flag"
12504 || test ! -s conftest.err'
12505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12506 (eval $ac_try) 2>&5
12508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12509 (exit $ac_status); }; } &&
12510 { ac_try='test -s conftest$ac_exeext'
12511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12512 (eval $ac_try) 2>&5
12514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12515 (exit $ac_status); }; }; then
12516 ac_cv_var_tzname=yes
12518 echo "$as_me: failed program was:" >&5
12519 sed 's/^/| /' conftest.$ac_ext >&5
12521 ac_cv_var_tzname=no
12523 rm -f conftest.err conftest.$ac_objext \
12524 conftest$ac_exeext conftest.$ac_ext
12526 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
12527 echo "${ECHO_T}$ac_cv_var_tzname" >&6
12528 if test $ac_cv_var_tzname = yes; then
12530 cat >>confdefs.h <<\_ACEOF
12531 #define HAVE_TZNAME 1
12538 echo "$as_me:$LINENO: checking for utime.h" >&5
12539 echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
12540 if test "${ba_cv_header_utime_h+set}" = set; then
12541 echo $ECHO_N "(cached) $ECHO_C" >&6
12543 cat >conftest.$ac_ext <<_ACEOF
12546 cat confdefs.h >>conftest.$ac_ext
12547 cat >>conftest.$ac_ext <<_ACEOF
12548 /* end confdefs.h. */
12550 #include <sys/types.h>
12560 rm -f conftest.$ac_objext
12561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12562 (eval $ac_compile) 2>conftest.er1
12564 grep -v '^ *+' conftest.er1 >conftest.err
12566 cat conftest.err >&5
12567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); } &&
12569 { ac_try='test -z "$ac_c_werror_flag"
12570 || test ! -s conftest.err'
12571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12572 (eval $ac_try) 2>&5
12574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12575 (exit $ac_status); }; } &&
12576 { ac_try='test -s conftest.$ac_objext'
12577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12578 (eval $ac_try) 2>&5
12580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); }; }; then
12582 ba_cv_header_utime_h=yes
12584 echo "$as_me: failed program was:" >&5
12585 sed 's/^/| /' conftest.$ac_ext >&5
12587 ba_cv_header_utime_h=no
12589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12591 echo "$as_me:$LINENO: result: $ba_cv_header_utime_h" >&5
12592 echo "${ECHO_T}$ba_cv_header_utime_h" >&6
12593 test $ba_cv_header_utime_h = yes && cat >>confdefs.h <<\_ACEOF
12594 #define HAVE_UTIME_H 1
12598 echo "$as_me:$LINENO: checking for socklen_t" >&5
12599 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
12600 if test "${ba_cv_header_socklen_t+set}" = set; then
12601 echo $ECHO_N "(cached) $ECHO_C" >&6
12603 cat >conftest.$ac_ext <<_ACEOF
12606 cat confdefs.h >>conftest.$ac_ext
12607 cat >>conftest.$ac_ext <<_ACEOF
12608 /* end confdefs.h. */
12610 #include <sys/types.h>
12611 #include <sys/socket.h>
12620 rm -f conftest.$ac_objext
12621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12622 (eval $ac_compile) 2>conftest.er1
12624 grep -v '^ *+' conftest.er1 >conftest.err
12626 cat conftest.err >&5
12627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12628 (exit $ac_status); } &&
12629 { ac_try='test -z "$ac_c_werror_flag"
12630 || test ! -s conftest.err'
12631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12632 (eval $ac_try) 2>&5
12634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12635 (exit $ac_status); }; } &&
12636 { ac_try='test -s conftest.$ac_objext'
12637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12638 (eval $ac_try) 2>&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); }; }; then
12642 ba_cv_header_socklen_t=yes
12644 echo "$as_me: failed program was:" >&5
12645 sed 's/^/| /' conftest.$ac_ext >&5
12647 ba_cv_header_socklen_t=no
12649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12651 echo "$as_me:$LINENO: result: $ba_cv_header_socklen_t" >&5
12652 echo "${ECHO_T}$ba_cv_header_socklen_t" >&6
12653 test $ba_cv_header_socklen_t = yes && cat >>confdefs.h <<\_ACEOF
12654 #define HAVE_SOCKLEN_T 1
12658 echo "$as_me:$LINENO: checking for bigendian" >&5
12659 echo $ECHO_N "checking for bigendian... $ECHO_C" >&6
12660 if test "${ba_cv_bigendian+set}" = set; then
12661 echo $ECHO_N "(cached) $ECHO_C" >&6
12663 if test "$cross_compiling" = yes; then
12666 cat >conftest.$ac_ext <<_ACEOF
12669 cat confdefs.h >>conftest.$ac_ext
12670 cat >>conftest.$ac_ext <<_ACEOF
12671 /* end confdefs.h. */
12672 main(){long a=1L; char *p=(char *)&a; exit(*p);}
12674 rm -f conftest$ac_exeext
12675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12676 (eval $ac_link) 2>&5
12678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12679 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12681 (eval $ac_try) 2>&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; }; then
12685 ba_cv_bigendian=yes
12687 echo "$as_me: program exited with status $ac_status" >&5
12688 echo "$as_me: failed program was:" >&5
12689 sed 's/^/| /' conftest.$ac_ext >&5
12691 ( exit $ac_status )
12694 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12697 echo "$as_me:$LINENO: result: $ba_cv_bigendian" >&5
12698 echo "${ECHO_T}$ba_cv_bigendian" >&6
12699 test $ba_cv_bigendian = yes && cat >>confdefs.h <<\_ACEOF
12700 #define HAVE_BIGENDIAN 1
12705 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12706 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
12707 if test "${ac_cv_c_const+set}" = set; then
12708 echo $ECHO_N "(cached) $ECHO_C" >&6
12710 cat >conftest.$ac_ext <<_ACEOF
12713 cat confdefs.h >>conftest.$ac_ext
12714 cat >>conftest.$ac_ext <<_ACEOF
12715 /* end confdefs.h. */
12720 /* FIXME: Include the comments suggested by Paul. */
12721 #ifndef __cplusplus
12722 /* Ultrix mips cc rejects this. */
12723 typedef int charset[2];
12725 /* SunOS 4.1.1 cc rejects this. */
12726 char const *const *ccp;
12728 /* NEC SVR4.0.2 mips cc rejects this. */
12729 struct point {int x, y;};
12730 static struct point const zero = {0,0};
12731 /* AIX XL C 1.02.0.0 rejects this.
12732 It does not let you subtract one const X* pointer from another in
12733 an arm of an if-expression whose if-part is not a constant
12735 const char *g = "string";
12736 ccp = &g + (g ? g-g : 0);
12737 /* HPUX 7.0 cc rejects these. */
12740 ccp = (char const *const *) p;
12741 { /* SCO 3.2v4 cc rejects this. */
12743 char const *s = 0 ? (char *) 0 : (char const *) 0;
12747 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12748 int x[] = {25, 17};
12749 const int *foo = &x[0];
12752 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12753 typedef const int *iptr;
12757 { /* AIX XL C 1.02.0.0 rejects this saying
12758 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12759 struct s { int j; const int *ap[3]; };
12760 struct s *b; b->j = 5;
12762 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12763 const int foo = 10;
12771 rm -f conftest.$ac_objext
12772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12773 (eval $ac_compile) 2>conftest.er1
12775 grep -v '^ *+' conftest.er1 >conftest.err
12777 cat conftest.err >&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } &&
12780 { ac_try='test -z "$ac_c_werror_flag"
12781 || test ! -s conftest.err'
12782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12783 (eval $ac_try) 2>&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); }; } &&
12787 { ac_try='test -s conftest.$ac_objext'
12788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12789 (eval $ac_try) 2>&5
12791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12792 (exit $ac_status); }; }; then
12795 echo "$as_me: failed program was:" >&5
12796 sed 's/^/| /' conftest.$ac_ext >&5
12800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12802 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12803 echo "${ECHO_T}$ac_cv_c_const" >&6
12804 if test $ac_cv_c_const = no; then
12806 cat >>confdefs.h <<\_ACEOF
12814 echo "$as_me:$LINENO: checking how to get filesystem type" >&5
12815 echo $ECHO_N "checking how to get filesystem type... $ECHO_C" >&6
12817 # The order of these tests is important.
12818 cat >conftest.$ac_ext <<_ACEOF
12821 cat confdefs.h >>conftest.$ac_ext
12822 cat >>conftest.$ac_ext <<_ACEOF
12823 /* end confdefs.h. */
12824 #include <sys/statvfs.h>
12825 #include <sys/fstyp.h>
12827 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12828 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12830 grep -v '^ *+' conftest.er1 >conftest.err
12832 cat conftest.err >&5
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 (exit $ac_status); } >/dev/null; then
12835 if test -s conftest.err; then
12836 ac_cpp_err=$ac_c_preproc_warn_flag
12837 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12844 if test -z "$ac_cpp_err"; then
12845 cat >>confdefs.h <<\_ACEOF
12846 #define FSTYPE_STATVFS 1
12850 echo "$as_me: failed program was:" >&5
12851 sed 's/^/| /' conftest.$ac_ext >&5
12855 rm -f conftest.err conftest.$ac_ext
12856 if test $fstype = no; then
12857 cat >conftest.$ac_ext <<_ACEOF
12860 cat confdefs.h >>conftest.$ac_ext
12861 cat >>conftest.$ac_ext <<_ACEOF
12862 /* end confdefs.h. */
12863 #include <sys/statfs.h>
12864 #include <sys/fstyp.h>
12866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12869 grep -v '^ *+' conftest.er1 >conftest.err
12871 cat conftest.err >&5
12872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12873 (exit $ac_status); } >/dev/null; then
12874 if test -s conftest.err; then
12875 ac_cpp_err=$ac_c_preproc_warn_flag
12876 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12883 if test -z "$ac_cpp_err"; then
12884 cat >>confdefs.h <<\_ACEOF
12885 #define FSTYPE_USG_STATFS 1
12889 echo "$as_me: failed program was:" >&5
12890 sed 's/^/| /' conftest.$ac_ext >&5
12894 rm -f conftest.err conftest.$ac_ext
12896 if test $fstype = no; then
12897 cat >conftest.$ac_ext <<_ACEOF
12900 cat confdefs.h >>conftest.$ac_ext
12901 cat >>conftest.$ac_ext <<_ACEOF
12902 /* end confdefs.h. */
12903 #include <sys/statfs.h>
12904 #include <sys/vmount.h>
12906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12907 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12909 grep -v '^ *+' conftest.er1 >conftest.err
12911 cat conftest.err >&5
12912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913 (exit $ac_status); } >/dev/null; then
12914 if test -s conftest.err; then
12915 ac_cpp_err=$ac_c_preproc_warn_flag
12916 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12923 if test -z "$ac_cpp_err"; then
12924 cat >>confdefs.h <<\_ACEOF
12925 #define FSTYPE_AIX_STATFS 1
12929 echo "$as_me: failed program was:" >&5
12930 sed 's/^/| /' conftest.$ac_ext >&5
12934 rm -f conftest.err conftest.$ac_ext
12936 if test $fstype = no; then
12937 cat >conftest.$ac_ext <<_ACEOF
12940 cat confdefs.h >>conftest.$ac_ext
12941 cat >>conftest.$ac_ext <<_ACEOF
12942 /* end confdefs.h. */
12943 #include <mntent.h>
12945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12946 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12948 grep -v '^ *+' conftest.er1 >conftest.err
12950 cat conftest.err >&5
12951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12952 (exit $ac_status); } >/dev/null; then
12953 if test -s conftest.err; then
12954 ac_cpp_err=$ac_c_preproc_warn_flag
12955 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12962 if test -z "$ac_cpp_err"; then
12963 cat >>confdefs.h <<\_ACEOF
12964 #define FSTYPE_MNTENT 1
12968 echo "$as_me: failed program was:" >&5
12969 sed 's/^/| /' conftest.$ac_ext >&5
12973 rm -f conftest.err conftest.$ac_ext
12975 if test $fstype = no; then
12976 cat >conftest.$ac_ext <<_ACEOF
12979 cat confdefs.h >>conftest.$ac_ext
12980 cat >>conftest.$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12982 #include <sys/mount.h>
12985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12986 $EGREP "f_type;" >/dev/null 2>&1; then
12987 cat >>confdefs.h <<\_ACEOF
12988 #define FSTYPE_STATFS 1
12995 if test $fstype = no; then
12996 cat >conftest.$ac_ext <<_ACEOF
12999 cat confdefs.h >>conftest.$ac_ext
13000 cat >>conftest.$ac_ext <<_ACEOF
13001 /* end confdefs.h. */
13002 #include <sys/mount.h>
13003 #include <sys/fs_types.h>
13005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13006 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13008 grep -v '^ *+' conftest.er1 >conftest.err
13010 cat conftest.err >&5
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); } >/dev/null; then
13013 if test -s conftest.err; then
13014 ac_cpp_err=$ac_c_preproc_warn_flag
13015 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13022 if test -z "$ac_cpp_err"; then
13023 cat >>confdefs.h <<\_ACEOF
13024 #define FSTYPE_GETMNT 1
13028 echo "$as_me: failed program was:" >&5
13029 sed 's/^/| /' conftest.$ac_ext >&5
13033 rm -f conftest.err conftest.$ac_ext
13035 echo "$as_me:$LINENO: result: $fstype" >&5
13036 echo "${ECHO_T}$fstype" >&6
13038 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
13039 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
13040 if test "${ac_cv_type_signal+set}" = set; then
13041 echo $ECHO_N "(cached) $ECHO_C" >&6
13043 cat >conftest.$ac_ext <<_ACEOF
13046 cat confdefs.h >>conftest.$ac_ext
13047 cat >>conftest.$ac_ext <<_ACEOF
13048 /* end confdefs.h. */
13049 #include <sys/types.h>
13050 #include <signal.h>
13055 extern "C" void (*signal (int, void (*)(int)))(int);
13057 void (*signal ()) ();
13068 rm -f conftest.$ac_objext
13069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13070 (eval $ac_compile) 2>conftest.er1
13072 grep -v '^ *+' conftest.er1 >conftest.err
13074 cat conftest.err >&5
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); } &&
13077 { ac_try='test -z "$ac_c_werror_flag"
13078 || test ! -s conftest.err'
13079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13080 (eval $ac_try) 2>&5
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); }; } &&
13084 { ac_try='test -s conftest.$ac_objext'
13085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13086 (eval $ac_try) 2>&5
13088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13089 (exit $ac_status); }; }; then
13090 ac_cv_type_signal=void
13092 echo "$as_me: failed program was:" >&5
13093 sed 's/^/| /' conftest.$ac_ext >&5
13095 ac_cv_type_signal=int
13097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13099 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
13100 echo "${ECHO_T}$ac_cv_type_signal" >&6
13102 cat >>confdefs.h <<_ACEOF
13103 #define RETSIGTYPE $ac_cv_type_signal
13108 echo "$as_me:$LINENO: checking for type of signal functions" >&5
13109 echo $ECHO_N "checking for type of signal functions... $ECHO_C" >&6
13110 if test "${bash_cv_signal_vintage+set}" = set; then
13111 echo $ECHO_N "(cached) $ECHO_C" >&6
13114 cat >conftest.$ac_ext <<_ACEOF
13117 cat confdefs.h >>conftest.$ac_ext
13118 cat >>conftest.$ac_ext <<_ACEOF
13119 /* end confdefs.h. */
13120 #include <signal.h>
13126 struct sigaction sa;
13127 sigemptyset(&ss); sigsuspend(&ss);
13128 sigaction(SIGINT, &sa, (struct sigaction *) 0);
13129 sigprocmask(SIG_BLOCK, &ss, (sigset_t *) 0);
13135 rm -f conftest.$ac_objext conftest$ac_exeext
13136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13137 (eval $ac_link) 2>conftest.er1
13139 grep -v '^ *+' conftest.er1 >conftest.err
13141 cat conftest.err >&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); } &&
13144 { ac_try='test -z "$ac_c_werror_flag"
13145 || test ! -s conftest.err'
13146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13147 (eval $ac_try) 2>&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); }; } &&
13151 { ac_try='test -s conftest$ac_exeext'
13152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13153 (eval $ac_try) 2>&5
13155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13156 (exit $ac_status); }; }; then
13157 bash_cv_signal_vintage=posix
13159 echo "$as_me: failed program was:" >&5
13160 sed 's/^/| /' conftest.$ac_ext >&5
13163 cat >conftest.$ac_ext <<_ACEOF
13166 cat confdefs.h >>conftest.$ac_ext
13167 cat >>conftest.$ac_ext <<_ACEOF
13168 /* end confdefs.h. */
13169 #include <signal.h>
13174 int mask = sigmask(SIGINT);
13175 sigsetmask(mask); sigblock(mask); sigpause(mask);
13181 rm -f conftest.$ac_objext conftest$ac_exeext
13182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13183 (eval $ac_link) 2>conftest.er1
13185 grep -v '^ *+' conftest.er1 >conftest.err
13187 cat conftest.err >&5
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); } &&
13190 { ac_try='test -z "$ac_c_werror_flag"
13191 || test ! -s conftest.err'
13192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13193 (eval $ac_try) 2>&5
13195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13196 (exit $ac_status); }; } &&
13197 { ac_try='test -s conftest$ac_exeext'
13198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13199 (eval $ac_try) 2>&5
13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13202 (exit $ac_status); }; }; then
13203 bash_cv_signal_vintage=4.2bsd
13205 echo "$as_me: failed program was:" >&5
13206 sed 's/^/| /' conftest.$ac_ext >&5
13209 cat >conftest.$ac_ext <<_ACEOF
13212 cat confdefs.h >>conftest.$ac_ext
13213 cat >>conftest.$ac_ext <<_ACEOF
13214 /* end confdefs.h. */
13216 #include <signal.h>
13217 RETSIGTYPE foo() { }
13222 int mask = sigmask(SIGINT);
13223 sigset(SIGINT, foo); sigrelse(SIGINT);
13224 sighold(SIGINT); sigpause(SIGINT);
13230 rm -f conftest.$ac_objext conftest$ac_exeext
13231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13232 (eval $ac_link) 2>conftest.er1
13234 grep -v '^ *+' conftest.er1 >conftest.err
13236 cat conftest.err >&5
13237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13238 (exit $ac_status); } &&
13239 { ac_try='test -z "$ac_c_werror_flag"
13240 || test ! -s conftest.err'
13241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13242 (eval $ac_try) 2>&5
13244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13245 (exit $ac_status); }; } &&
13246 { ac_try='test -s conftest$ac_exeext'
13247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13248 (eval $ac_try) 2>&5
13250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); }; }; then
13252 bash_cv_signal_vintage=svr3
13254 echo "$as_me: failed program was:" >&5
13255 sed 's/^/| /' conftest.$ac_ext >&5
13257 bash_cv_signal_vintage=v7
13260 rm -f conftest.err conftest.$ac_objext \
13261 conftest$ac_exeext conftest.$ac_ext
13264 rm -f conftest.err conftest.$ac_objext \
13265 conftest$ac_exeext conftest.$ac_ext
13268 rm -f conftest.err conftest.$ac_objext \
13269 conftest$ac_exeext conftest.$ac_ext
13273 echo "$as_me:$LINENO: result: $bash_cv_signal_vintage" >&5
13274 echo "${ECHO_T}$bash_cv_signal_vintage" >&6
13275 if test "$bash_cv_signal_vintage" = posix; then
13276 cat >>confdefs.h <<\_ACEOF
13277 #define HAVE_POSIX_SIGNALS 1
13280 elif test "$bash_cv_signal_vintage" = "4.2bsd"; then
13281 cat >>confdefs.h <<\_ACEOF
13282 #define HAVE_BSD_SIGNALS 1
13285 elif test "$bash_cv_signal_vintage" = svr3; then
13286 cat >>confdefs.h <<\_ACEOF
13287 #define HAVE_USG_SIGHOLD 1
13292 echo "$as_me:$LINENO: checking for mode_t" >&5
13293 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
13294 if test "${ac_cv_type_mode_t+set}" = set; then
13295 echo $ECHO_N "(cached) $ECHO_C" >&6
13297 cat >conftest.$ac_ext <<_ACEOF
13300 cat confdefs.h >>conftest.$ac_ext
13301 cat >>conftest.$ac_ext <<_ACEOF
13302 /* end confdefs.h. */
13303 $ac_includes_default
13309 if (sizeof (mode_t))
13315 rm -f conftest.$ac_objext
13316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13317 (eval $ac_compile) 2>conftest.er1
13319 grep -v '^ *+' conftest.er1 >conftest.err
13321 cat conftest.err >&5
13322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13323 (exit $ac_status); } &&
13324 { ac_try='test -z "$ac_c_werror_flag"
13325 || test ! -s conftest.err'
13326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13327 (eval $ac_try) 2>&5
13329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13330 (exit $ac_status); }; } &&
13331 { ac_try='test -s conftest.$ac_objext'
13332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13333 (eval $ac_try) 2>&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); }; }; then
13337 ac_cv_type_mode_t=yes
13339 echo "$as_me: failed program was:" >&5
13340 sed 's/^/| /' conftest.$ac_ext >&5
13342 ac_cv_type_mode_t=no
13344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13346 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
13347 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
13348 if test $ac_cv_type_mode_t = yes; then
13352 cat >>confdefs.h <<_ACEOF
13358 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
13359 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
13360 if test "${ac_cv_type_uid_t+set}" = set; then
13361 echo $ECHO_N "(cached) $ECHO_C" >&6
13363 cat >conftest.$ac_ext <<_ACEOF
13366 cat confdefs.h >>conftest.$ac_ext
13367 cat >>conftest.$ac_ext <<_ACEOF
13368 /* end confdefs.h. */
13369 #include <sys/types.h>
13372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13373 $EGREP "uid_t" >/dev/null 2>&1; then
13374 ac_cv_type_uid_t=yes
13376 ac_cv_type_uid_t=no
13381 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
13382 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
13383 if test $ac_cv_type_uid_t = no; then
13385 cat >>confdefs.h <<\_ACEOF
13390 cat >>confdefs.h <<\_ACEOF
13396 echo "$as_me:$LINENO: checking for size_t" >&5
13397 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
13398 if test "${ac_cv_type_size_t+set}" = set; then
13399 echo $ECHO_N "(cached) $ECHO_C" >&6
13401 cat >conftest.$ac_ext <<_ACEOF
13404 cat confdefs.h >>conftest.$ac_ext
13405 cat >>conftest.$ac_ext <<_ACEOF
13406 /* end confdefs.h. */
13407 $ac_includes_default
13413 if (sizeof (size_t))
13419 rm -f conftest.$ac_objext
13420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13421 (eval $ac_compile) 2>conftest.er1
13423 grep -v '^ *+' conftest.er1 >conftest.err
13425 cat conftest.err >&5
13426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13427 (exit $ac_status); } &&
13428 { ac_try='test -z "$ac_c_werror_flag"
13429 || test ! -s conftest.err'
13430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13431 (eval $ac_try) 2>&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); }; } &&
13435 { ac_try='test -s conftest.$ac_objext'
13436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13437 (eval $ac_try) 2>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); }; }; then
13441 ac_cv_type_size_t=yes
13443 echo "$as_me: failed program was:" >&5
13444 sed 's/^/| /' conftest.$ac_ext >&5
13446 ac_cv_type_size_t=no
13448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13450 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
13451 echo "${ECHO_T}$ac_cv_type_size_t" >&6
13452 if test $ac_cv_type_size_t = yes; then
13456 cat >>confdefs.h <<_ACEOF
13457 #define size_t unsigned
13462 echo "$as_me:$LINENO: checking for pid_t" >&5
13463 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
13464 if test "${ac_cv_type_pid_t+set}" = set; then
13465 echo $ECHO_N "(cached) $ECHO_C" >&6
13467 cat >conftest.$ac_ext <<_ACEOF
13470 cat confdefs.h >>conftest.$ac_ext
13471 cat >>conftest.$ac_ext <<_ACEOF
13472 /* end confdefs.h. */
13473 $ac_includes_default
13479 if (sizeof (pid_t))
13485 rm -f conftest.$ac_objext
13486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13487 (eval $ac_compile) 2>conftest.er1
13489 grep -v '^ *+' conftest.er1 >conftest.err
13491 cat conftest.err >&5
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); } &&
13494 { ac_try='test -z "$ac_c_werror_flag"
13495 || test ! -s conftest.err'
13496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13497 (eval $ac_try) 2>&5
13499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500 (exit $ac_status); }; } &&
13501 { ac_try='test -s conftest.$ac_objext'
13502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13503 (eval $ac_try) 2>&5
13505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506 (exit $ac_status); }; }; then
13507 ac_cv_type_pid_t=yes
13509 echo "$as_me: failed program was:" >&5
13510 sed 's/^/| /' conftest.$ac_ext >&5
13512 ac_cv_type_pid_t=no
13514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13516 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
13517 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
13518 if test $ac_cv_type_pid_t = yes; then
13522 cat >>confdefs.h <<_ACEOF
13528 echo "$as_me:$LINENO: checking for off_t" >&5
13529 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13530 if test "${ac_cv_type_off_t+set}" = set; then
13531 echo $ECHO_N "(cached) $ECHO_C" >&6
13533 cat >conftest.$ac_ext <<_ACEOF
13536 cat confdefs.h >>conftest.$ac_ext
13537 cat >>conftest.$ac_ext <<_ACEOF
13538 /* end confdefs.h. */
13539 $ac_includes_default
13545 if (sizeof (off_t))
13551 rm -f conftest.$ac_objext
13552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13553 (eval $ac_compile) 2>conftest.er1
13555 grep -v '^ *+' conftest.er1 >conftest.err
13557 cat conftest.err >&5
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); } &&
13560 { ac_try='test -z "$ac_c_werror_flag"
13561 || test ! -s conftest.err'
13562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13563 (eval $ac_try) 2>&5
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); }; } &&
13567 { ac_try='test -s conftest.$ac_objext'
13568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13569 (eval $ac_try) 2>&5
13571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13572 (exit $ac_status); }; }; then
13573 ac_cv_type_off_t=yes
13575 echo "$as_me: failed program was:" >&5
13576 sed 's/^/| /' conftest.$ac_ext >&5
13578 ac_cv_type_off_t=no
13580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13582 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13583 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13584 if test $ac_cv_type_off_t = yes; then
13588 cat >>confdefs.h <<_ACEOF
13594 echo "$as_me:$LINENO: checking for ino_t" >&5
13595 echo $ECHO_N "checking for ino_t... $ECHO_C" >&6
13596 if test "${ac_cv_type_ino_t+set}" = set; then
13597 echo $ECHO_N "(cached) $ECHO_C" >&6
13599 cat >conftest.$ac_ext <<_ACEOF
13602 cat confdefs.h >>conftest.$ac_ext
13603 cat >>conftest.$ac_ext <<_ACEOF
13604 /* end confdefs.h. */
13605 $ac_includes_default
13611 if (sizeof (ino_t))
13617 rm -f conftest.$ac_objext
13618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13619 (eval $ac_compile) 2>conftest.er1
13621 grep -v '^ *+' conftest.er1 >conftest.err
13623 cat conftest.err >&5
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); } &&
13626 { ac_try='test -z "$ac_c_werror_flag"
13627 || test ! -s conftest.err'
13628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13629 (eval $ac_try) 2>&5
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); }; } &&
13633 { ac_try='test -s conftest.$ac_objext'
13634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13635 (eval $ac_try) 2>&5
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); }; }; then
13639 ac_cv_type_ino_t=yes
13641 echo "$as_me: failed program was:" >&5
13642 sed 's/^/| /' conftest.$ac_ext >&5
13644 ac_cv_type_ino_t=no
13646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13648 echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
13649 echo "${ECHO_T}$ac_cv_type_ino_t" >&6
13650 if test $ac_cv_type_ino_t = yes; then
13654 cat >>confdefs.h <<_ACEOF
13655 #define ino_t unsigned long
13660 echo "$as_me:$LINENO: checking for dev_t" >&5
13661 echo $ECHO_N "checking for dev_t... $ECHO_C" >&6
13662 if test "${ac_cv_type_dev_t+set}" = set; then
13663 echo $ECHO_N "(cached) $ECHO_C" >&6
13665 cat >conftest.$ac_ext <<_ACEOF
13668 cat confdefs.h >>conftest.$ac_ext
13669 cat >>conftest.$ac_ext <<_ACEOF
13670 /* end confdefs.h. */
13671 $ac_includes_default
13677 if (sizeof (dev_t))
13683 rm -f conftest.$ac_objext
13684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13685 (eval $ac_compile) 2>conftest.er1
13687 grep -v '^ *+' conftest.er1 >conftest.err
13689 cat conftest.err >&5
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); } &&
13692 { ac_try='test -z "$ac_c_werror_flag"
13693 || test ! -s conftest.err'
13694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13695 (eval $ac_try) 2>&5
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); }; } &&
13699 { ac_try='test -s conftest.$ac_objext'
13700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13701 (eval $ac_try) 2>&5
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); }; }; then
13705 ac_cv_type_dev_t=yes
13707 echo "$as_me: failed program was:" >&5
13708 sed 's/^/| /' conftest.$ac_ext >&5
13710 ac_cv_type_dev_t=no
13712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13714 echo "$as_me:$LINENO: result: $ac_cv_type_dev_t" >&5
13715 echo "${ECHO_T}$ac_cv_type_dev_t" >&6
13716 if test $ac_cv_type_dev_t = yes; then
13720 cat >>confdefs.h <<_ACEOF
13721 #define dev_t unsigned long
13726 echo "$as_me:$LINENO: checking for daddr_t" >&5
13727 echo $ECHO_N "checking for daddr_t... $ECHO_C" >&6
13728 if test "${ac_cv_type_daddr_t+set}" = set; then
13729 echo $ECHO_N "(cached) $ECHO_C" >&6
13731 cat >conftest.$ac_ext <<_ACEOF
13734 cat confdefs.h >>conftest.$ac_ext
13735 cat >>conftest.$ac_ext <<_ACEOF
13736 /* end confdefs.h. */
13737 $ac_includes_default
13743 if (sizeof (daddr_t))
13749 rm -f conftest.$ac_objext
13750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13751 (eval $ac_compile) 2>conftest.er1
13753 grep -v '^ *+' conftest.er1 >conftest.err
13755 cat conftest.err >&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); } &&
13758 { ac_try='test -z "$ac_c_werror_flag"
13759 || test ! -s conftest.err'
13760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13761 (eval $ac_try) 2>&5
13763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13764 (exit $ac_status); }; } &&
13765 { ac_try='test -s conftest.$ac_objext'
13766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13767 (eval $ac_try) 2>&5
13769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13770 (exit $ac_status); }; }; then
13771 ac_cv_type_daddr_t=yes
13773 echo "$as_me: failed program was:" >&5
13774 sed 's/^/| /' conftest.$ac_ext >&5
13776 ac_cv_type_daddr_t=no
13778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13780 echo "$as_me:$LINENO: result: $ac_cv_type_daddr_t" >&5
13781 echo "${ECHO_T}$ac_cv_type_daddr_t" >&6
13782 if test $ac_cv_type_daddr_t = yes; then
13786 cat >>confdefs.h <<_ACEOF
13787 #define daddr_t long
13792 echo "$as_me:$LINENO: checking for major_t" >&5
13793 echo $ECHO_N "checking for major_t... $ECHO_C" >&6
13794 if test "${ac_cv_type_major_t+set}" = set; then
13795 echo $ECHO_N "(cached) $ECHO_C" >&6
13797 cat >conftest.$ac_ext <<_ACEOF
13800 cat confdefs.h >>conftest.$ac_ext
13801 cat >>conftest.$ac_ext <<_ACEOF
13802 /* end confdefs.h. */
13803 $ac_includes_default
13809 if (sizeof (major_t))
13815 rm -f conftest.$ac_objext
13816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13817 (eval $ac_compile) 2>conftest.er1
13819 grep -v '^ *+' conftest.er1 >conftest.err
13821 cat conftest.err >&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); } &&
13824 { ac_try='test -z "$ac_c_werror_flag"
13825 || test ! -s conftest.err'
13826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13827 (eval $ac_try) 2>&5
13829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830 (exit $ac_status); }; } &&
13831 { ac_try='test -s conftest.$ac_objext'
13832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13833 (eval $ac_try) 2>&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); }; }; then
13837 ac_cv_type_major_t=yes
13839 echo "$as_me: failed program was:" >&5
13840 sed 's/^/| /' conftest.$ac_ext >&5
13842 ac_cv_type_major_t=no
13844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13846 echo "$as_me:$LINENO: result: $ac_cv_type_major_t" >&5
13847 echo "${ECHO_T}$ac_cv_type_major_t" >&6
13848 if test $ac_cv_type_major_t = yes; then
13852 cat >>confdefs.h <<_ACEOF
13853 #define major_t int
13858 echo "$as_me:$LINENO: checking for minor_t" >&5
13859 echo $ECHO_N "checking for minor_t... $ECHO_C" >&6
13860 if test "${ac_cv_type_minor_t+set}" = set; then
13861 echo $ECHO_N "(cached) $ECHO_C" >&6
13863 cat >conftest.$ac_ext <<_ACEOF
13866 cat confdefs.h >>conftest.$ac_ext
13867 cat >>conftest.$ac_ext <<_ACEOF
13868 /* end confdefs.h. */
13869 $ac_includes_default
13875 if (sizeof (minor_t))
13881 rm -f conftest.$ac_objext
13882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13883 (eval $ac_compile) 2>conftest.er1
13885 grep -v '^ *+' conftest.er1 >conftest.err
13887 cat conftest.err >&5
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); } &&
13890 { ac_try='test -z "$ac_c_werror_flag"
13891 || test ! -s conftest.err'
13892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13893 (eval $ac_try) 2>&5
13895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13896 (exit $ac_status); }; } &&
13897 { ac_try='test -s conftest.$ac_objext'
13898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13899 (eval $ac_try) 2>&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); }; }; then
13903 ac_cv_type_minor_t=yes
13905 echo "$as_me: failed program was:" >&5
13906 sed 's/^/| /' conftest.$ac_ext >&5
13908 ac_cv_type_minor_t=no
13910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13912 echo "$as_me:$LINENO: result: $ac_cv_type_minor_t" >&5
13913 echo "${ECHO_T}$ac_cv_type_minor_t" >&6
13914 if test $ac_cv_type_minor_t = yes; then
13918 cat >>confdefs.h <<_ACEOF
13919 #define minor_t int
13924 echo "$as_me:$LINENO: checking for ssize_t" >&5
13925 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
13926 if test "${ac_cv_type_ssize_t+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
13941 if (sizeof (ssize_t))
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"
13957 || test ! -s conftest.err'
13958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13959 (eval $ac_try) 2>&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }; } &&
13963 { ac_try='test -s conftest.$ac_objext'
13964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13965 (eval $ac_try) 2>&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); }; }; then
13969 ac_cv_type_ssize_t=yes
13971 echo "$as_me: failed program was:" >&5
13972 sed 's/^/| /' conftest.$ac_ext >&5
13974 ac_cv_type_ssize_t=no
13976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13978 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
13979 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
13980 if test $ac_cv_type_ssize_t = yes; then
13984 cat >>confdefs.h <<_ACEOF
13985 #define ssize_t int
13990 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
13991 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
13992 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
13993 echo $ECHO_N "(cached) $ECHO_C" >&6
13995 cat >conftest.$ac_ext <<_ACEOF
13998 cat confdefs.h >>conftest.$ac_ext
13999 cat >>conftest.$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14001 $ac_includes_default
14005 static struct stat ac_aggr;
14006 if (ac_aggr.st_blocks)
14012 rm -f conftest.$ac_objext
14013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14014 (eval $ac_compile) 2>conftest.er1
14016 grep -v '^ *+' conftest.er1 >conftest.err
14018 cat conftest.err >&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); } &&
14021 { ac_try='test -z "$ac_c_werror_flag"
14022 || test ! -s conftest.err'
14023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14024 (eval $ac_try) 2>&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); }; } &&
14028 { ac_try='test -s conftest.$ac_objext'
14029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14030 (eval $ac_try) 2>&5
14032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14033 (exit $ac_status); }; }; then
14034 ac_cv_member_struct_stat_st_blocks=yes
14036 echo "$as_me: failed program was:" >&5
14037 sed 's/^/| /' conftest.$ac_ext >&5
14039 cat >conftest.$ac_ext <<_ACEOF
14042 cat confdefs.h >>conftest.$ac_ext
14043 cat >>conftest.$ac_ext <<_ACEOF
14044 /* end confdefs.h. */
14045 $ac_includes_default
14049 static struct stat ac_aggr;
14050 if (sizeof ac_aggr.st_blocks)
14056 rm -f conftest.$ac_objext
14057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14058 (eval $ac_compile) 2>conftest.er1
14060 grep -v '^ *+' conftest.er1 >conftest.err
14062 cat conftest.err >&5
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); } &&
14065 { ac_try='test -z "$ac_c_werror_flag"
14066 || test ! -s conftest.err'
14067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14068 (eval $ac_try) 2>&5
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); }; } &&
14072 { ac_try='test -s conftest.$ac_objext'
14073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14074 (eval $ac_try) 2>&5
14076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077 (exit $ac_status); }; }; then
14078 ac_cv_member_struct_stat_st_blocks=yes
14080 echo "$as_me: failed program was:" >&5
14081 sed 's/^/| /' conftest.$ac_ext >&5
14083 ac_cv_member_struct_stat_st_blocks=no
14085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14089 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
14090 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
14091 if test $ac_cv_member_struct_stat_st_blocks = yes; then
14093 cat >>confdefs.h <<_ACEOF
14094 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14098 cat >>confdefs.h <<\_ACEOF
14099 #define HAVE_ST_BLOCKS 1
14104 "fileblocks.$ac_objext" | \
14105 *" fileblocks.$ac_objext" | \
14106 "fileblocks.$ac_objext "* | \
14107 *" fileblocks.$ac_objext "* ) ;;
14108 *) LIBOBJS="$LIBOBJS fileblocks.$ac_objext" ;;
14115 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
14116 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
14117 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
14118 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 cat >conftest.$ac_ext <<_ACEOF
14123 cat confdefs.h >>conftest.$ac_ext
14124 cat >>conftest.$ac_ext <<_ACEOF
14125 /* end confdefs.h. */
14126 $ac_includes_default
14130 static struct stat ac_aggr;
14131 if (ac_aggr.st_rdev)
14137 rm -f conftest.$ac_objext
14138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14139 (eval $ac_compile) 2>conftest.er1
14141 grep -v '^ *+' conftest.er1 >conftest.err
14143 cat conftest.err >&5
14144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14145 (exit $ac_status); } &&
14146 { ac_try='test -z "$ac_c_werror_flag"
14147 || test ! -s conftest.err'
14148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14149 (eval $ac_try) 2>&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); }; } &&
14153 { ac_try='test -s conftest.$ac_objext'
14154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14155 (eval $ac_try) 2>&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); }; }; then
14159 ac_cv_member_struct_stat_st_rdev=yes
14161 echo "$as_me: failed program was:" >&5
14162 sed 's/^/| /' conftest.$ac_ext >&5
14164 cat >conftest.$ac_ext <<_ACEOF
14167 cat confdefs.h >>conftest.$ac_ext
14168 cat >>conftest.$ac_ext <<_ACEOF
14169 /* end confdefs.h. */
14170 $ac_includes_default
14174 static struct stat ac_aggr;
14175 if (sizeof ac_aggr.st_rdev)
14181 rm -f conftest.$ac_objext
14182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14183 (eval $ac_compile) 2>conftest.er1
14185 grep -v '^ *+' conftest.er1 >conftest.err
14187 cat conftest.err >&5
14188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14189 (exit $ac_status); } &&
14190 { ac_try='test -z "$ac_c_werror_flag"
14191 || test ! -s conftest.err'
14192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14193 (eval $ac_try) 2>&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 (exit $ac_status); }; } &&
14197 { ac_try='test -s conftest.$ac_objext'
14198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14199 (eval $ac_try) 2>&5
14201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14202 (exit $ac_status); }; }; then
14203 ac_cv_member_struct_stat_st_rdev=yes
14205 echo "$as_me: failed program was:" >&5
14206 sed 's/^/| /' conftest.$ac_ext >&5
14208 ac_cv_member_struct_stat_st_rdev=no
14210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14214 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
14215 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
14216 if test $ac_cv_member_struct_stat_st_rdev = yes; then
14218 cat >>confdefs.h <<_ACEOF
14219 #define HAVE_STRUCT_STAT_ST_RDEV 1
14223 cat >>confdefs.h <<\_ACEOF
14224 #define HAVE_ST_RDEV 1
14230 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
14231 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
14232 if test "${ac_cv_struct_tm+set}" = set; then
14233 echo $ECHO_N "(cached) $ECHO_C" >&6
14235 cat >conftest.$ac_ext <<_ACEOF
14238 cat confdefs.h >>conftest.$ac_ext
14239 cat >>conftest.$ac_ext <<_ACEOF
14240 /* end confdefs.h. */
14241 #include <sys/types.h>
14247 struct tm *tp; tp->tm_sec;
14252 rm -f conftest.$ac_objext
14253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14254 (eval $ac_compile) 2>conftest.er1
14256 grep -v '^ *+' conftest.er1 >conftest.err
14258 cat conftest.err >&5
14259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14260 (exit $ac_status); } &&
14261 { ac_try='test -z "$ac_c_werror_flag"
14262 || test ! -s conftest.err'
14263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14264 (eval $ac_try) 2>&5
14266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14267 (exit $ac_status); }; } &&
14268 { ac_try='test -s conftest.$ac_objext'
14269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14270 (eval $ac_try) 2>&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); }; }; then
14274 ac_cv_struct_tm=time.h
14276 echo "$as_me: failed program was:" >&5
14277 sed 's/^/| /' conftest.$ac_ext >&5
14279 ac_cv_struct_tm=sys/time.h
14281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14283 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
14284 echo "${ECHO_T}$ac_cv_struct_tm" >&6
14285 if test $ac_cv_struct_tm = sys/time.h; then
14287 cat >>confdefs.h <<\_ACEOF
14288 #define TM_IN_SYS_TIME 1
14293 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14294 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14295 if test "${ac_cv_c_const+set}" = set; then
14296 echo $ECHO_N "(cached) $ECHO_C" >&6
14298 cat >conftest.$ac_ext <<_ACEOF
14301 cat confdefs.h >>conftest.$ac_ext
14302 cat >>conftest.$ac_ext <<_ACEOF
14303 /* end confdefs.h. */
14308 /* FIXME: Include the comments suggested by Paul. */
14309 #ifndef __cplusplus
14310 /* Ultrix mips cc rejects this. */
14311 typedef int charset[2];
14313 /* SunOS 4.1.1 cc rejects this. */
14314 char const *const *ccp;
14316 /* NEC SVR4.0.2 mips cc rejects this. */
14317 struct point {int x, y;};
14318 static struct point const zero = {0,0};
14319 /* AIX XL C 1.02.0.0 rejects this.
14320 It does not let you subtract one const X* pointer from another in
14321 an arm of an if-expression whose if-part is not a constant
14323 const char *g = "string";
14324 ccp = &g + (g ? g-g : 0);
14325 /* HPUX 7.0 cc rejects these. */
14328 ccp = (char const *const *) p;
14329 { /* SCO 3.2v4 cc rejects this. */
14331 char const *s = 0 ? (char *) 0 : (char const *) 0;
14335 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14336 int x[] = {25, 17};
14337 const int *foo = &x[0];
14340 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14341 typedef const int *iptr;
14345 { /* AIX XL C 1.02.0.0 rejects this saying
14346 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14347 struct s { int j; const int *ap[3]; };
14348 struct s *b; b->j = 5;
14350 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14351 const int foo = 10;
14359 rm -f conftest.$ac_objext
14360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14361 (eval $ac_compile) 2>conftest.er1
14363 grep -v '^ *+' conftest.er1 >conftest.err
14365 cat conftest.err >&5
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); } &&
14368 { ac_try='test -z "$ac_c_werror_flag"
14369 || test ! -s conftest.err'
14370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14371 (eval $ac_try) 2>&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); }; } &&
14375 { ac_try='test -s conftest.$ac_objext'
14376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14377 (eval $ac_try) 2>&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; }; then
14383 echo "$as_me: failed program was:" >&5
14384 sed 's/^/| /' conftest.$ac_ext >&5
14388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14390 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14391 echo "${ECHO_T}$ac_cv_c_const" >&6
14392 if test $ac_cv_c_const = no; then
14394 cat >>confdefs.h <<\_ACEOF
14402 echo "$as_me:$LINENO: checking for char" >&5
14403 echo $ECHO_N "checking for char... $ECHO_C" >&6
14404 if test "${ac_cv_type_char+set}" = set; then
14405 echo $ECHO_N "(cached) $ECHO_C" >&6
14407 cat >conftest.$ac_ext <<_ACEOF
14410 cat confdefs.h >>conftest.$ac_ext
14411 cat >>conftest.$ac_ext <<_ACEOF
14412 /* end confdefs.h. */
14413 $ac_includes_default
14425 rm -f conftest.$ac_objext
14426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14427 (eval $ac_compile) 2>conftest.er1
14429 grep -v '^ *+' conftest.er1 >conftest.err
14431 cat conftest.err >&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); } &&
14434 { ac_try='test -z "$ac_c_werror_flag"
14435 || test ! -s conftest.err'
14436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437 (eval $ac_try) 2>&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; } &&
14441 { ac_try='test -s conftest.$ac_objext'
14442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14443 (eval $ac_try) 2>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; }; then
14447 ac_cv_type_char=yes
14449 echo "$as_me: failed program was:" >&5
14450 sed 's/^/| /' conftest.$ac_ext >&5
14454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14456 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14457 echo "${ECHO_T}$ac_cv_type_char" >&6
14459 echo "$as_me:$LINENO: checking size of char" >&5
14460 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14461 if test "${ac_cv_sizeof_char+set}" = set; then
14462 echo $ECHO_N "(cached) $ECHO_C" >&6
14464 if test "$ac_cv_type_char" = yes; then
14465 # The cast to unsigned long works around a bug in the HP C Compiler
14466 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14467 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14468 # This bug is HP SR number 8606223364.
14469 if test "$cross_compiling" = yes; then
14470 # Depending upon the size, compute the lo and hi bounds.
14471 cat >conftest.$ac_ext <<_ACEOF
14474 cat confdefs.h >>conftest.$ac_ext
14475 cat >>conftest.$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14477 $ac_includes_default
14481 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14488 rm -f conftest.$ac_objext
14489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14490 (eval $ac_compile) 2>conftest.er1
14492 grep -v '^ *+' conftest.er1 >conftest.err
14494 cat conftest.err >&5
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); } &&
14497 { ac_try='test -z "$ac_c_werror_flag"
14498 || test ! -s conftest.err'
14499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14500 (eval $ac_try) 2>&5
14502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503 (exit $ac_status); }; } &&
14504 { ac_try='test -s conftest.$ac_objext'
14505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14506 (eval $ac_try) 2>&5
14508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14509 (exit $ac_status); }; }; then
14512 cat >conftest.$ac_ext <<_ACEOF
14515 cat confdefs.h >>conftest.$ac_ext
14516 cat >>conftest.$ac_ext <<_ACEOF
14517 /* end confdefs.h. */
14518 $ac_includes_default
14522 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14529 rm -f conftest.$ac_objext
14530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14531 (eval $ac_compile) 2>conftest.er1
14533 grep -v '^ *+' conftest.er1 >conftest.err
14535 cat conftest.err >&5
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); } &&
14538 { ac_try='test -z "$ac_c_werror_flag"
14539 || test ! -s conftest.err'
14540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14541 (eval $ac_try) 2>&5
14543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14544 (exit $ac_status); }; } &&
14545 { ac_try='test -s conftest.$ac_objext'
14546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14547 (eval $ac_try) 2>&5
14549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550 (exit $ac_status); }; }; then
14551 ac_hi=$ac_mid; break
14553 echo "$as_me: failed program was:" >&5
14554 sed 's/^/| /' conftest.$ac_ext >&5
14556 ac_lo=`expr $ac_mid + 1`
14557 if test $ac_lo -le $ac_mid; then
14561 ac_mid=`expr 2 '*' $ac_mid + 1`
14563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14566 echo "$as_me: failed program was:" >&5
14567 sed 's/^/| /' conftest.$ac_ext >&5
14569 cat >conftest.$ac_ext <<_ACEOF
14572 cat confdefs.h >>conftest.$ac_ext
14573 cat >>conftest.$ac_ext <<_ACEOF
14574 /* end confdefs.h. */
14575 $ac_includes_default
14579 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14586 rm -f conftest.$ac_objext
14587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14588 (eval $ac_compile) 2>conftest.er1
14590 grep -v '^ *+' conftest.er1 >conftest.err
14592 cat conftest.err >&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); } &&
14595 { ac_try='test -z "$ac_c_werror_flag"
14596 || test ! -s conftest.err'
14597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14598 (eval $ac_try) 2>&5
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; } &&
14602 { ac_try='test -s conftest.$ac_objext'
14603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14604 (eval $ac_try) 2>&5
14606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14607 (exit $ac_status); }; }; then
14610 cat >conftest.$ac_ext <<_ACEOF
14613 cat confdefs.h >>conftest.$ac_ext
14614 cat >>conftest.$ac_ext <<_ACEOF
14615 /* end confdefs.h. */
14616 $ac_includes_default
14620 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14627 rm -f conftest.$ac_objext
14628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14629 (eval $ac_compile) 2>conftest.er1
14631 grep -v '^ *+' conftest.er1 >conftest.err
14633 cat conftest.err >&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } &&
14636 { ac_try='test -z "$ac_c_werror_flag"
14637 || test ! -s conftest.err'
14638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14639 (eval $ac_try) 2>&5
14641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14642 (exit $ac_status); }; } &&
14643 { ac_try='test -s conftest.$ac_objext'
14644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14645 (eval $ac_try) 2>&5
14647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14648 (exit $ac_status); }; }; then
14649 ac_lo=$ac_mid; break
14651 echo "$as_me: failed program was:" >&5
14652 sed 's/^/| /' conftest.$ac_ext >&5
14654 ac_hi=`expr '(' $ac_mid ')' - 1`
14655 if test $ac_mid -le $ac_hi; then
14659 ac_mid=`expr 2 '*' $ac_mid`
14661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14664 echo "$as_me: failed program was:" >&5
14665 sed 's/^/| /' conftest.$ac_ext >&5
14669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14672 # Binary search between lo and hi bounds.
14673 while test "x$ac_lo" != "x$ac_hi"; do
14674 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14675 cat >conftest.$ac_ext <<_ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14681 $ac_includes_default
14685 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14692 rm -f conftest.$ac_objext
14693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14694 (eval $ac_compile) 2>conftest.er1
14696 grep -v '^ *+' conftest.er1 >conftest.err
14698 cat conftest.err >&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); } &&
14701 { ac_try='test -z "$ac_c_werror_flag"
14702 || test ! -s conftest.err'
14703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704 (eval $ac_try) 2>&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; } &&
14708 { ac_try='test -s conftest.$ac_objext'
14709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14710 (eval $ac_try) 2>&5
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); }; }; then
14716 echo "$as_me: failed program was:" >&5
14717 sed 's/^/| /' conftest.$ac_ext >&5
14719 ac_lo=`expr '(' $ac_mid ')' + 1`
14721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14724 ?*) ac_cv_sizeof_char=$ac_lo;;
14725 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14726 See \`config.log' for more details." >&5
14727 echo "$as_me: error: cannot compute sizeof (char), 77
14728 See \`config.log' for more details." >&2;}
14729 { (exit 1); exit 1; }; } ;;
14732 if test "$cross_compiling" = yes; then
14733 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14734 See \`config.log' for more details." >&5
14735 echo "$as_me: error: cannot run test program while cross compiling
14736 See \`config.log' for more details." >&2;}
14737 { (exit 1); exit 1; }; }
14739 cat >conftest.$ac_ext <<_ACEOF
14742 cat confdefs.h >>conftest.$ac_ext
14743 cat >>conftest.$ac_ext <<_ACEOF
14744 /* end confdefs.h. */
14745 $ac_includes_default
14746 long longval () { return (long) (sizeof (char)); }
14747 unsigned long ulongval () { return (long) (sizeof (char)); }
14749 #include <stdlib.h>
14754 FILE *f = fopen ("conftest.val", "w");
14757 if (((long) (sizeof (char))) < 0)
14759 long i = longval ();
14760 if (i != ((long) (sizeof (char))))
14762 fprintf (f, "%ld\n", i);
14766 unsigned long i = ulongval ();
14767 if (i != ((long) (sizeof (char))))
14769 fprintf (f, "%lu\n", i);
14771 exit (ferror (f) || fclose (f) != 0);
14777 rm -f conftest$ac_exeext
14778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14779 (eval $ac_link) 2>&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14784 (eval $ac_try) 2>&5
14786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14787 (exit $ac_status); }; }; then
14788 ac_cv_sizeof_char=`cat conftest.val`
14790 echo "$as_me: program exited with status $ac_status" >&5
14791 echo "$as_me: failed program was:" >&5
14792 sed 's/^/| /' conftest.$ac_ext >&5
14794 ( exit $ac_status )
14795 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14796 See \`config.log' for more details." >&5
14797 echo "$as_me: error: cannot compute sizeof (char), 77
14798 See \`config.log' for more details." >&2;}
14799 { (exit 1); exit 1; }; }
14801 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14806 ac_cv_sizeof_char=0
14809 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14810 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14811 cat >>confdefs.h <<_ACEOF
14812 #define SIZEOF_CHAR $ac_cv_sizeof_char
14816 echo "$as_me:$LINENO: checking for short int" >&5
14817 echo $ECHO_N "checking for short int... $ECHO_C" >&6
14818 if test "${ac_cv_type_short_int+set}" = set; then
14819 echo $ECHO_N "(cached) $ECHO_C" >&6
14821 cat >conftest.$ac_ext <<_ACEOF
14824 cat confdefs.h >>conftest.$ac_ext
14825 cat >>conftest.$ac_ext <<_ACEOF
14826 /* end confdefs.h. */
14827 $ac_includes_default
14831 if ((short int *) 0)
14833 if (sizeof (short int))
14839 rm -f conftest.$ac_objext
14840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14841 (eval $ac_compile) 2>conftest.er1
14843 grep -v '^ *+' conftest.er1 >conftest.err
14845 cat conftest.err >&5
14846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14847 (exit $ac_status); } &&
14848 { ac_try='test -z "$ac_c_werror_flag"
14849 || test ! -s conftest.err'
14850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14851 (eval $ac_try) 2>&5
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); }; } &&
14855 { ac_try='test -s conftest.$ac_objext'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; }; then
14861 ac_cv_type_short_int=yes
14863 echo "$as_me: failed program was:" >&5
14864 sed 's/^/| /' conftest.$ac_ext >&5
14866 ac_cv_type_short_int=no
14868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14870 echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5
14871 echo "${ECHO_T}$ac_cv_type_short_int" >&6
14873 echo "$as_me:$LINENO: checking size of short int" >&5
14874 echo $ECHO_N "checking size of short int... $ECHO_C" >&6
14875 if test "${ac_cv_sizeof_short_int+set}" = set; then
14876 echo $ECHO_N "(cached) $ECHO_C" >&6
14878 if test "$ac_cv_type_short_int" = yes; then
14879 # The cast to unsigned long works around a bug in the HP C Compiler
14880 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14881 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14882 # This bug is HP SR number 8606223364.
14883 if test "$cross_compiling" = yes; then
14884 # Depending upon the size, compute the lo and hi bounds.
14885 cat >conftest.$ac_ext <<_ACEOF
14888 cat confdefs.h >>conftest.$ac_ext
14889 cat >>conftest.$ac_ext <<_ACEOF
14890 /* end confdefs.h. */
14891 $ac_includes_default
14895 static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= 0)];
14902 rm -f conftest.$ac_objext
14903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14904 (eval $ac_compile) 2>conftest.er1
14906 grep -v '^ *+' conftest.er1 >conftest.err
14908 cat conftest.err >&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); } &&
14911 { ac_try='test -z "$ac_c_werror_flag"
14912 || test ! -s conftest.err'
14913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14914 (eval $ac_try) 2>&5
14916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14917 (exit $ac_status); }; } &&
14918 { ac_try='test -s conftest.$ac_objext'
14919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14920 (eval $ac_try) 2>&5
14922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14923 (exit $ac_status); }; }; then
14926 cat >conftest.$ac_ext <<_ACEOF
14929 cat confdefs.h >>conftest.$ac_ext
14930 cat >>conftest.$ac_ext <<_ACEOF
14931 /* end confdefs.h. */
14932 $ac_includes_default
14936 static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)];
14943 rm -f conftest.$ac_objext
14944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14945 (eval $ac_compile) 2>conftest.er1
14947 grep -v '^ *+' conftest.er1 >conftest.err
14949 cat conftest.err >&5
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); } &&
14952 { ac_try='test -z "$ac_c_werror_flag"
14953 || test ! -s conftest.err'
14954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14955 (eval $ac_try) 2>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); }; } &&
14959 { ac_try='test -s conftest.$ac_objext'
14960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14961 (eval $ac_try) 2>&5
14963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964 (exit $ac_status); }; }; then
14965 ac_hi=$ac_mid; break
14967 echo "$as_me: failed program was:" >&5
14968 sed 's/^/| /' conftest.$ac_ext >&5
14970 ac_lo=`expr $ac_mid + 1`
14971 if test $ac_lo -le $ac_mid; then
14975 ac_mid=`expr 2 '*' $ac_mid + 1`
14977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14980 echo "$as_me: failed program was:" >&5
14981 sed 's/^/| /' conftest.$ac_ext >&5
14983 cat >conftest.$ac_ext <<_ACEOF
14986 cat confdefs.h >>conftest.$ac_ext
14987 cat >>conftest.$ac_ext <<_ACEOF
14988 /* end confdefs.h. */
14989 $ac_includes_default
14993 static int test_array [1 - 2 * !(((long) (sizeof (short int))) < 0)];
15000 rm -f conftest.$ac_objext
15001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15002 (eval $ac_compile) 2>conftest.er1
15004 grep -v '^ *+' conftest.er1 >conftest.err
15006 cat conftest.err >&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); } &&
15009 { ac_try='test -z "$ac_c_werror_flag"
15010 || test ! -s conftest.err'
15011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15012 (eval $ac_try) 2>&5
15014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15015 (exit $ac_status); }; } &&
15016 { ac_try='test -s conftest.$ac_objext'
15017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15018 (eval $ac_try) 2>&5
15020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15021 (exit $ac_status); }; }; then
15024 cat >conftest.$ac_ext <<_ACEOF
15027 cat confdefs.h >>conftest.$ac_ext
15028 cat >>conftest.$ac_ext <<_ACEOF
15029 /* end confdefs.h. */
15030 $ac_includes_default
15034 static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= $ac_mid)];
15041 rm -f conftest.$ac_objext
15042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15043 (eval $ac_compile) 2>conftest.er1
15045 grep -v '^ *+' conftest.er1 >conftest.err
15047 cat conftest.err >&5
15048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15049 (exit $ac_status); } &&
15050 { ac_try='test -z "$ac_c_werror_flag"
15051 || test ! -s conftest.err'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; } &&
15057 { ac_try='test -s conftest.$ac_objext'
15058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15059 (eval $ac_try) 2>&5
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); }; }; then
15063 ac_lo=$ac_mid; break
15065 echo "$as_me: failed program was:" >&5
15066 sed 's/^/| /' conftest.$ac_ext >&5
15068 ac_hi=`expr '(' $ac_mid ')' - 1`
15069 if test $ac_mid -le $ac_hi; then
15073 ac_mid=`expr 2 '*' $ac_mid`
15075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15078 echo "$as_me: failed program was:" >&5
15079 sed 's/^/| /' conftest.$ac_ext >&5
15083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15086 # Binary search between lo and hi bounds.
15087 while test "x$ac_lo" != "x$ac_hi"; do
15088 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15089 cat >conftest.$ac_ext <<_ACEOF
15092 cat confdefs.h >>conftest.$ac_ext
15093 cat >>conftest.$ac_ext <<_ACEOF
15094 /* end confdefs.h. */
15095 $ac_includes_default
15099 static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)];
15106 rm -f conftest.$ac_objext
15107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15108 (eval $ac_compile) 2>conftest.er1
15110 grep -v '^ *+' conftest.er1 >conftest.err
15112 cat conftest.err >&5
15113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15114 (exit $ac_status); } &&
15115 { ac_try='test -z "$ac_c_werror_flag"
15116 || test ! -s conftest.err'
15117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15118 (eval $ac_try) 2>&5
15120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15121 (exit $ac_status); }; } &&
15122 { ac_try='test -s conftest.$ac_objext'
15123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15124 (eval $ac_try) 2>&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); }; }; then
15130 echo "$as_me: failed program was:" >&5
15131 sed 's/^/| /' conftest.$ac_ext >&5
15133 ac_lo=`expr '(' $ac_mid ')' + 1`
15135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15138 ?*) ac_cv_sizeof_short_int=$ac_lo;;
15139 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
15140 See \`config.log' for more details." >&5
15141 echo "$as_me: error: cannot compute sizeof (short int), 77
15142 See \`config.log' for more details." >&2;}
15143 { (exit 1); exit 1; }; } ;;
15146 if test "$cross_compiling" = yes; then
15147 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15148 See \`config.log' for more details." >&5
15149 echo "$as_me: error: cannot run test program while cross compiling
15150 See \`config.log' for more details." >&2;}
15151 { (exit 1); exit 1; }; }
15153 cat >conftest.$ac_ext <<_ACEOF
15156 cat confdefs.h >>conftest.$ac_ext
15157 cat >>conftest.$ac_ext <<_ACEOF
15158 /* end confdefs.h. */
15159 $ac_includes_default
15160 long longval () { return (long) (sizeof (short int)); }
15161 unsigned long ulongval () { return (long) (sizeof (short int)); }
15163 #include <stdlib.h>
15168 FILE *f = fopen ("conftest.val", "w");
15171 if (((long) (sizeof (short int))) < 0)
15173 long i = longval ();
15174 if (i != ((long) (sizeof (short int))))
15176 fprintf (f, "%ld\n", i);
15180 unsigned long i = ulongval ();
15181 if (i != ((long) (sizeof (short int))))
15183 fprintf (f, "%lu\n", i);
15185 exit (ferror (f) || fclose (f) != 0);
15191 rm -f conftest$ac_exeext
15192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15193 (eval $ac_link) 2>&5
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15198 (eval $ac_try) 2>&5
15200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15201 (exit $ac_status); }; }; then
15202 ac_cv_sizeof_short_int=`cat conftest.val`
15204 echo "$as_me: program exited with status $ac_status" >&5
15205 echo "$as_me: failed program was:" >&5
15206 sed 's/^/| /' conftest.$ac_ext >&5
15208 ( exit $ac_status )
15209 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
15210 See \`config.log' for more details." >&5
15211 echo "$as_me: error: cannot compute sizeof (short int), 77
15212 See \`config.log' for more details." >&2;}
15213 { (exit 1); exit 1; }; }
15215 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15220 ac_cv_sizeof_short_int=0
15223 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5
15224 echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6
15225 cat >>confdefs.h <<_ACEOF
15226 #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
15230 echo "$as_me:$LINENO: checking for int" >&5
15231 echo $ECHO_N "checking for int... $ECHO_C" >&6
15232 if test "${ac_cv_type_int+set}" = set; then
15233 echo $ECHO_N "(cached) $ECHO_C" >&6
15235 cat >conftest.$ac_ext <<_ACEOF
15238 cat confdefs.h >>conftest.$ac_ext
15239 cat >>conftest.$ac_ext <<_ACEOF
15240 /* end confdefs.h. */
15241 $ac_includes_default
15253 rm -f conftest.$ac_objext
15254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15255 (eval $ac_compile) 2>conftest.er1
15257 grep -v '^ *+' conftest.er1 >conftest.err
15259 cat conftest.err >&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); } &&
15262 { ac_try='test -z "$ac_c_werror_flag"
15263 || test ! -s conftest.err'
15264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15265 (eval $ac_try) 2>&5
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); }; } &&
15269 { ac_try='test -s conftest.$ac_objext'
15270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15271 (eval $ac_try) 2>&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); }; }; then
15277 echo "$as_me: failed program was:" >&5
15278 sed 's/^/| /' conftest.$ac_ext >&5
15282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15284 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15285 echo "${ECHO_T}$ac_cv_type_int" >&6
15287 echo "$as_me:$LINENO: checking size of int" >&5
15288 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15289 if test "${ac_cv_sizeof_int+set}" = set; then
15290 echo $ECHO_N "(cached) $ECHO_C" >&6
15292 if test "$ac_cv_type_int" = yes; then
15293 # The cast to unsigned long works around a bug in the HP C Compiler
15294 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15295 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15296 # This bug is HP SR number 8606223364.
15297 if test "$cross_compiling" = yes; then
15298 # Depending upon the size, compute the lo and hi bounds.
15299 cat >conftest.$ac_ext <<_ACEOF
15302 cat confdefs.h >>conftest.$ac_ext
15303 cat >>conftest.$ac_ext <<_ACEOF
15304 /* end confdefs.h. */
15305 $ac_includes_default
15309 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15316 rm -f conftest.$ac_objext
15317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15318 (eval $ac_compile) 2>conftest.er1
15320 grep -v '^ *+' conftest.er1 >conftest.err
15322 cat conftest.err >&5
15323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15324 (exit $ac_status); } &&
15325 { ac_try='test -z "$ac_c_werror_flag"
15326 || test ! -s conftest.err'
15327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15328 (eval $ac_try) 2>&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); }; } &&
15332 { ac_try='test -s conftest.$ac_objext'
15333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15334 (eval $ac_try) 2>&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; }; then
15340 cat >conftest.$ac_ext <<_ACEOF
15343 cat confdefs.h >>conftest.$ac_ext
15344 cat >>conftest.$ac_ext <<_ACEOF
15345 /* end confdefs.h. */
15346 $ac_includes_default
15350 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15357 rm -f conftest.$ac_objext
15358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15359 (eval $ac_compile) 2>conftest.er1
15361 grep -v '^ *+' conftest.er1 >conftest.err
15363 cat conftest.err >&5
15364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15365 (exit $ac_status); } &&
15366 { ac_try='test -z "$ac_c_werror_flag"
15367 || test ! -s conftest.err'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; } &&
15373 { ac_try='test -s conftest.$ac_objext'
15374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15375 (eval $ac_try) 2>&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); }; }; then
15379 ac_hi=$ac_mid; break
15381 echo "$as_me: failed program was:" >&5
15382 sed 's/^/| /' conftest.$ac_ext >&5
15384 ac_lo=`expr $ac_mid + 1`
15385 if test $ac_lo -le $ac_mid; then
15389 ac_mid=`expr 2 '*' $ac_mid + 1`
15391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15394 echo "$as_me: failed program was:" >&5
15395 sed 's/^/| /' conftest.$ac_ext >&5
15397 cat >conftest.$ac_ext <<_ACEOF
15400 cat confdefs.h >>conftest.$ac_ext
15401 cat >>conftest.$ac_ext <<_ACEOF
15402 /* end confdefs.h. */
15403 $ac_includes_default
15407 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15414 rm -f conftest.$ac_objext
15415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15416 (eval $ac_compile) 2>conftest.er1
15418 grep -v '^ *+' conftest.er1 >conftest.err
15420 cat conftest.err >&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); } &&
15423 { ac_try='test -z "$ac_c_werror_flag"
15424 || test ! -s conftest.err'
15425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15426 (eval $ac_try) 2>&5
15428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429 (exit $ac_status); }; } &&
15430 { ac_try='test -s conftest.$ac_objext'
15431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15432 (eval $ac_try) 2>&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); }; }; then
15438 cat >conftest.$ac_ext <<_ACEOF
15441 cat confdefs.h >>conftest.$ac_ext
15442 cat >>conftest.$ac_ext <<_ACEOF
15443 /* end confdefs.h. */
15444 $ac_includes_default
15448 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15455 rm -f conftest.$ac_objext
15456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15457 (eval $ac_compile) 2>conftest.er1
15459 grep -v '^ *+' conftest.er1 >conftest.err
15461 cat conftest.err >&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); } &&
15464 { ac_try='test -z "$ac_c_werror_flag"
15465 || test ! -s conftest.err'
15466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15467 (eval $ac_try) 2>&5
15469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15470 (exit $ac_status); }; } &&
15471 { ac_try='test -s conftest.$ac_objext'
15472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15473 (eval $ac_try) 2>&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); }; }; then
15477 ac_lo=$ac_mid; break
15479 echo "$as_me: failed program was:" >&5
15480 sed 's/^/| /' conftest.$ac_ext >&5
15482 ac_hi=`expr '(' $ac_mid ')' - 1`
15483 if test $ac_mid -le $ac_hi; then
15487 ac_mid=`expr 2 '*' $ac_mid`
15489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15492 echo "$as_me: failed program was:" >&5
15493 sed 's/^/| /' conftest.$ac_ext >&5
15497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15500 # Binary search between lo and hi bounds.
15501 while test "x$ac_lo" != "x$ac_hi"; do
15502 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15503 cat >conftest.$ac_ext <<_ACEOF
15506 cat confdefs.h >>conftest.$ac_ext
15507 cat >>conftest.$ac_ext <<_ACEOF
15508 /* end confdefs.h. */
15509 $ac_includes_default
15513 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15520 rm -f conftest.$ac_objext
15521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15522 (eval $ac_compile) 2>conftest.er1
15524 grep -v '^ *+' conftest.er1 >conftest.err
15526 cat conftest.err >&5
15527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); } &&
15529 { ac_try='test -z "$ac_c_werror_flag"
15530 || test ! -s conftest.err'
15531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15532 (eval $ac_try) 2>&5
15534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15535 (exit $ac_status); }; } &&
15536 { ac_try='test -s conftest.$ac_objext'
15537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15538 (eval $ac_try) 2>&5
15540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15541 (exit $ac_status); }; }; then
15544 echo "$as_me: failed program was:" >&5
15545 sed 's/^/| /' conftest.$ac_ext >&5
15547 ac_lo=`expr '(' $ac_mid ')' + 1`
15549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15552 ?*) ac_cv_sizeof_int=$ac_lo;;
15553 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15554 See \`config.log' for more details." >&5
15555 echo "$as_me: error: cannot compute sizeof (int), 77
15556 See \`config.log' for more details." >&2;}
15557 { (exit 1); exit 1; }; } ;;
15560 if test "$cross_compiling" = yes; then
15561 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15562 See \`config.log' for more details." >&5
15563 echo "$as_me: error: cannot run test program while cross compiling
15564 See \`config.log' for more details." >&2;}
15565 { (exit 1); exit 1; }; }
15567 cat >conftest.$ac_ext <<_ACEOF
15570 cat confdefs.h >>conftest.$ac_ext
15571 cat >>conftest.$ac_ext <<_ACEOF
15572 /* end confdefs.h. */
15573 $ac_includes_default
15574 long longval () { return (long) (sizeof (int)); }
15575 unsigned long ulongval () { return (long) (sizeof (int)); }
15577 #include <stdlib.h>
15582 FILE *f = fopen ("conftest.val", "w");
15585 if (((long) (sizeof (int))) < 0)
15587 long i = longval ();
15588 if (i != ((long) (sizeof (int))))
15590 fprintf (f, "%ld\n", i);
15594 unsigned long i = ulongval ();
15595 if (i != ((long) (sizeof (int))))
15597 fprintf (f, "%lu\n", i);
15599 exit (ferror (f) || fclose (f) != 0);
15605 rm -f conftest$ac_exeext
15606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15607 (eval $ac_link) 2>&5
15609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15610 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; }; then
15616 ac_cv_sizeof_int=`cat conftest.val`
15618 echo "$as_me: program exited with status $ac_status" >&5
15619 echo "$as_me: failed program was:" >&5
15620 sed 's/^/| /' conftest.$ac_ext >&5
15622 ( exit $ac_status )
15623 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15624 See \`config.log' for more details." >&5
15625 echo "$as_me: error: cannot compute sizeof (int), 77
15626 See \`config.log' for more details." >&2;}
15627 { (exit 1); exit 1; }; }
15629 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15637 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15638 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15639 cat >>confdefs.h <<_ACEOF
15640 #define SIZEOF_INT $ac_cv_sizeof_int
15644 echo "$as_me:$LINENO: checking for long int" >&5
15645 echo $ECHO_N "checking for long int... $ECHO_C" >&6
15646 if test "${ac_cv_type_long_int+set}" = set; then
15647 echo $ECHO_N "(cached) $ECHO_C" >&6
15649 cat >conftest.$ac_ext <<_ACEOF
15652 cat confdefs.h >>conftest.$ac_ext
15653 cat >>conftest.$ac_ext <<_ACEOF
15654 /* end confdefs.h. */
15655 $ac_includes_default
15659 if ((long int *) 0)
15661 if (sizeof (long int))
15667 rm -f conftest.$ac_objext
15668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15669 (eval $ac_compile) 2>conftest.er1
15671 grep -v '^ *+' conftest.er1 >conftest.err
15673 cat conftest.err >&5
15674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15675 (exit $ac_status); } &&
15676 { ac_try='test -z "$ac_c_werror_flag"
15677 || test ! -s conftest.err'
15678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679 (eval $ac_try) 2>&5
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; } &&
15683 { ac_try='test -s conftest.$ac_objext'
15684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15685 (eval $ac_try) 2>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); }; }; then
15689 ac_cv_type_long_int=yes
15691 echo "$as_me: failed program was:" >&5
15692 sed 's/^/| /' conftest.$ac_ext >&5
15694 ac_cv_type_long_int=no
15696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15698 echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5
15699 echo "${ECHO_T}$ac_cv_type_long_int" >&6
15701 echo "$as_me:$LINENO: checking size of long int" >&5
15702 echo $ECHO_N "checking size of long int... $ECHO_C" >&6
15703 if test "${ac_cv_sizeof_long_int+set}" = set; then
15704 echo $ECHO_N "(cached) $ECHO_C" >&6
15706 if test "$ac_cv_type_long_int" = yes; then
15707 # The cast to unsigned long works around a bug in the HP C Compiler
15708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15710 # This bug is HP SR number 8606223364.
15711 if test "$cross_compiling" = yes; then
15712 # Depending upon the size, compute the lo and hi bounds.
15713 cat >conftest.$ac_ext <<_ACEOF
15716 cat confdefs.h >>conftest.$ac_ext
15717 cat >>conftest.$ac_ext <<_ACEOF
15718 /* end confdefs.h. */
15719 $ac_includes_default
15723 static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= 0)];
15730 rm -f conftest.$ac_objext
15731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15732 (eval $ac_compile) 2>conftest.er1
15734 grep -v '^ *+' conftest.er1 >conftest.err
15736 cat conftest.err >&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); } &&
15739 { ac_try='test -z "$ac_c_werror_flag"
15740 || test ! -s conftest.err'
15741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15742 (eval $ac_try) 2>&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); }; } &&
15746 { ac_try='test -s conftest.$ac_objext'
15747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15748 (eval $ac_try) 2>&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); }; }; then
15754 cat >conftest.$ac_ext <<_ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760 $ac_includes_default
15764 static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
15771 rm -f conftest.$ac_objext
15772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15773 (eval $ac_compile) 2>conftest.er1
15775 grep -v '^ *+' conftest.er1 >conftest.err
15777 cat conftest.err >&5
15778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15779 (exit $ac_status); } &&
15780 { ac_try='test -z "$ac_c_werror_flag"
15781 || test ! -s conftest.err'
15782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15783 (eval $ac_try) 2>&5
15785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15786 (exit $ac_status); }; } &&
15787 { ac_try='test -s conftest.$ac_objext'
15788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15789 (eval $ac_try) 2>&5
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; }; then
15793 ac_hi=$ac_mid; break
15795 echo "$as_me: failed program was:" >&5
15796 sed 's/^/| /' conftest.$ac_ext >&5
15798 ac_lo=`expr $ac_mid + 1`
15799 if test $ac_lo -le $ac_mid; then
15803 ac_mid=`expr 2 '*' $ac_mid + 1`
15805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15808 echo "$as_me: failed program was:" >&5
15809 sed 's/^/| /' conftest.$ac_ext >&5
15811 cat >conftest.$ac_ext <<_ACEOF
15814 cat confdefs.h >>conftest.$ac_ext
15815 cat >>conftest.$ac_ext <<_ACEOF
15816 /* end confdefs.h. */
15817 $ac_includes_default
15821 static int test_array [1 - 2 * !(((long) (sizeof (long int))) < 0)];
15828 rm -f conftest.$ac_objext
15829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15830 (eval $ac_compile) 2>conftest.er1
15832 grep -v '^ *+' conftest.er1 >conftest.err
15834 cat conftest.err >&5
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); } &&
15837 { ac_try='test -z "$ac_c_werror_flag"
15838 || test ! -s conftest.err'
15839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15840 (eval $ac_try) 2>&5
15842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15843 (exit $ac_status); }; } &&
15844 { ac_try='test -s conftest.$ac_objext'
15845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15846 (eval $ac_try) 2>&5
15848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15849 (exit $ac_status); }; }; then
15852 cat >conftest.$ac_ext <<_ACEOF
15855 cat confdefs.h >>conftest.$ac_ext
15856 cat >>conftest.$ac_ext <<_ACEOF
15857 /* end confdefs.h. */
15858 $ac_includes_default
15862 static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= $ac_mid)];
15869 rm -f conftest.$ac_objext
15870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15871 (eval $ac_compile) 2>conftest.er1
15873 grep -v '^ *+' conftest.er1 >conftest.err
15875 cat conftest.err >&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } &&
15878 { ac_try='test -z "$ac_c_werror_flag"
15879 || test ! -s conftest.err'
15880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15881 (eval $ac_try) 2>&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); }; } &&
15885 { ac_try='test -s conftest.$ac_objext'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; }; then
15891 ac_lo=$ac_mid; break
15893 echo "$as_me: failed program was:" >&5
15894 sed 's/^/| /' conftest.$ac_ext >&5
15896 ac_hi=`expr '(' $ac_mid ')' - 1`
15897 if test $ac_mid -le $ac_hi; then
15901 ac_mid=`expr 2 '*' $ac_mid`
15903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15906 echo "$as_me: failed program was:" >&5
15907 sed 's/^/| /' conftest.$ac_ext >&5
15911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15914 # Binary search between lo and hi bounds.
15915 while test "x$ac_lo" != "x$ac_hi"; do
15916 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15917 cat >conftest.$ac_ext <<_ACEOF
15920 cat confdefs.h >>conftest.$ac_ext
15921 cat >>conftest.$ac_ext <<_ACEOF
15922 /* end confdefs.h. */
15923 $ac_includes_default
15927 static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
15934 rm -f conftest.$ac_objext
15935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15936 (eval $ac_compile) 2>conftest.er1
15938 grep -v '^ *+' conftest.er1 >conftest.err
15940 cat conftest.err >&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); } &&
15943 { ac_try='test -z "$ac_c_werror_flag"
15944 || test ! -s conftest.err'
15945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15946 (eval $ac_try) 2>&5
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); }; } &&
15950 { ac_try='test -s conftest.$ac_objext'
15951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15952 (eval $ac_try) 2>&5
15954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15955 (exit $ac_status); }; }; then
15958 echo "$as_me: failed program was:" >&5
15959 sed 's/^/| /' conftest.$ac_ext >&5
15961 ac_lo=`expr '(' $ac_mid ')' + 1`
15963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15966 ?*) ac_cv_sizeof_long_int=$ac_lo;;
15967 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
15968 See \`config.log' for more details." >&5
15969 echo "$as_me: error: cannot compute sizeof (long int), 77
15970 See \`config.log' for more details." >&2;}
15971 { (exit 1); exit 1; }; } ;;
15974 if test "$cross_compiling" = yes; then
15975 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15976 See \`config.log' for more details." >&5
15977 echo "$as_me: error: cannot run test program while cross compiling
15978 See \`config.log' for more details." >&2;}
15979 { (exit 1); exit 1; }; }
15981 cat >conftest.$ac_ext <<_ACEOF
15984 cat confdefs.h >>conftest.$ac_ext
15985 cat >>conftest.$ac_ext <<_ACEOF
15986 /* end confdefs.h. */
15987 $ac_includes_default
15988 long longval () { return (long) (sizeof (long int)); }
15989 unsigned long ulongval () { return (long) (sizeof (long int)); }
15991 #include <stdlib.h>
15996 FILE *f = fopen ("conftest.val", "w");
15999 if (((long) (sizeof (long int))) < 0)
16001 long i = longval ();
16002 if (i != ((long) (sizeof (long int))))
16004 fprintf (f, "%ld\n", i);
16008 unsigned long i = ulongval ();
16009 if (i != ((long) (sizeof (long int))))
16011 fprintf (f, "%lu\n", i);
16013 exit (ferror (f) || fclose (f) != 0);
16019 rm -f conftest$ac_exeext
16020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16021 (eval $ac_link) 2>&5
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16026 (eval $ac_try) 2>&5
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); }; }; then
16030 ac_cv_sizeof_long_int=`cat conftest.val`
16032 echo "$as_me: program exited with status $ac_status" >&5
16033 echo "$as_me: failed program was:" >&5
16034 sed 's/^/| /' conftest.$ac_ext >&5
16036 ( exit $ac_status )
16037 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
16038 See \`config.log' for more details." >&5
16039 echo "$as_me: error: cannot compute sizeof (long int), 77
16040 See \`config.log' for more details." >&2;}
16041 { (exit 1); exit 1; }; }
16043 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16048 ac_cv_sizeof_long_int=0
16051 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
16052 echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6
16053 cat >>confdefs.h <<_ACEOF
16054 #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
16058 echo "$as_me:$LINENO: checking for long long int" >&5
16059 echo $ECHO_N "checking for long long int... $ECHO_C" >&6
16060 if test "${ac_cv_type_long_long_int+set}" = set; then
16061 echo $ECHO_N "(cached) $ECHO_C" >&6
16063 cat >conftest.$ac_ext <<_ACEOF
16066 cat confdefs.h >>conftest.$ac_ext
16067 cat >>conftest.$ac_ext <<_ACEOF
16068 /* end confdefs.h. */
16069 $ac_includes_default
16073 if ((long long int *) 0)
16075 if (sizeof (long long int))
16081 rm -f conftest.$ac_objext
16082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16083 (eval $ac_compile) 2>conftest.er1
16085 grep -v '^ *+' conftest.er1 >conftest.err
16087 cat conftest.err >&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); } &&
16090 { ac_try='test -z "$ac_c_werror_flag"
16091 || test ! -s conftest.err'
16092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16093 (eval $ac_try) 2>&5
16095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16096 (exit $ac_status); }; } &&
16097 { ac_try='test -s conftest.$ac_objext'
16098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16099 (eval $ac_try) 2>&5
16101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16102 (exit $ac_status); }; }; then
16103 ac_cv_type_long_long_int=yes
16105 echo "$as_me: failed program was:" >&5
16106 sed 's/^/| /' conftest.$ac_ext >&5
16108 ac_cv_type_long_long_int=no
16110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16112 echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
16113 echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
16115 echo "$as_me:$LINENO: checking size of long long int" >&5
16116 echo $ECHO_N "checking size of long long int... $ECHO_C" >&6
16117 if test "${ac_cv_sizeof_long_long_int+set}" = set; then
16118 echo $ECHO_N "(cached) $ECHO_C" >&6
16120 if test "$ac_cv_type_long_long_int" = yes; then
16121 # The cast to unsigned long works around a bug in the HP C Compiler
16122 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16123 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16124 # This bug is HP SR number 8606223364.
16125 if test "$cross_compiling" = yes; then
16126 # Depending upon the size, compute the lo and hi bounds.
16127 cat >conftest.$ac_ext <<_ACEOF
16130 cat confdefs.h >>conftest.$ac_ext
16131 cat >>conftest.$ac_ext <<_ACEOF
16132 /* end confdefs.h. */
16133 $ac_includes_default
16137 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= 0)];
16144 rm -f conftest.$ac_objext
16145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16146 (eval $ac_compile) 2>conftest.er1
16148 grep -v '^ *+' conftest.er1 >conftest.err
16150 cat conftest.err >&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } &&
16153 { ac_try='test -z "$ac_c_werror_flag"
16154 || test ! -s conftest.err'
16155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16156 (eval $ac_try) 2>&5
16158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16159 (exit $ac_status); }; } &&
16160 { ac_try='test -s conftest.$ac_objext'
16161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16162 (eval $ac_try) 2>&5
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); }; }; then
16168 cat >conftest.$ac_ext <<_ACEOF
16171 cat confdefs.h >>conftest.$ac_ext
16172 cat >>conftest.$ac_ext <<_ACEOF
16173 /* end confdefs.h. */
16174 $ac_includes_default
16178 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
16185 rm -f conftest.$ac_objext
16186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16187 (eval $ac_compile) 2>conftest.er1
16189 grep -v '^ *+' conftest.er1 >conftest.err
16191 cat conftest.err >&5
16192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193 (exit $ac_status); } &&
16194 { ac_try='test -z "$ac_c_werror_flag"
16195 || test ! -s conftest.err'
16196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16197 (eval $ac_try) 2>&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); }; } &&
16201 { ac_try='test -s conftest.$ac_objext'
16202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16203 (eval $ac_try) 2>&5
16205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16206 (exit $ac_status); }; }; then
16207 ac_hi=$ac_mid; break
16209 echo "$as_me: failed program was:" >&5
16210 sed 's/^/| /' conftest.$ac_ext >&5
16212 ac_lo=`expr $ac_mid + 1`
16213 if test $ac_lo -le $ac_mid; then
16217 ac_mid=`expr 2 '*' $ac_mid + 1`
16219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16222 echo "$as_me: failed program was:" >&5
16223 sed 's/^/| /' conftest.$ac_ext >&5
16225 cat >conftest.$ac_ext <<_ACEOF
16228 cat confdefs.h >>conftest.$ac_ext
16229 cat >>conftest.$ac_ext <<_ACEOF
16230 /* end confdefs.h. */
16231 $ac_includes_default
16235 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) < 0)];
16242 rm -f conftest.$ac_objext
16243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16244 (eval $ac_compile) 2>conftest.er1
16246 grep -v '^ *+' conftest.er1 >conftest.err
16248 cat conftest.err >&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); } &&
16251 { ac_try='test -z "$ac_c_werror_flag"
16252 || test ! -s conftest.err'
16253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254 (eval $ac_try) 2>&5
16256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257 (exit $ac_status); }; } &&
16258 { ac_try='test -s conftest.$ac_objext'
16259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16260 (eval $ac_try) 2>&5
16262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263 (exit $ac_status); }; }; then
16266 cat >conftest.$ac_ext <<_ACEOF
16269 cat confdefs.h >>conftest.$ac_ext
16270 cat >>conftest.$ac_ext <<_ACEOF
16271 /* end confdefs.h. */
16272 $ac_includes_default
16276 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= $ac_mid)];
16283 rm -f conftest.$ac_objext
16284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16285 (eval $ac_compile) 2>conftest.er1
16287 grep -v '^ *+' conftest.er1 >conftest.err
16289 cat conftest.err >&5
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); } &&
16292 { ac_try='test -z "$ac_c_werror_flag"
16293 || test ! -s conftest.err'
16294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16295 (eval $ac_try) 2>&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); }; } &&
16299 { ac_try='test -s conftest.$ac_objext'
16300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16301 (eval $ac_try) 2>&5
16303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16304 (exit $ac_status); }; }; then
16305 ac_lo=$ac_mid; break
16307 echo "$as_me: failed program was:" >&5
16308 sed 's/^/| /' conftest.$ac_ext >&5
16310 ac_hi=`expr '(' $ac_mid ')' - 1`
16311 if test $ac_mid -le $ac_hi; then
16315 ac_mid=`expr 2 '*' $ac_mid`
16317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16320 echo "$as_me: failed program was:" >&5
16321 sed 's/^/| /' conftest.$ac_ext >&5
16325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16328 # Binary search between lo and hi bounds.
16329 while test "x$ac_lo" != "x$ac_hi"; do
16330 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16331 cat >conftest.$ac_ext <<_ACEOF
16334 cat confdefs.h >>conftest.$ac_ext
16335 cat >>conftest.$ac_ext <<_ACEOF
16336 /* end confdefs.h. */
16337 $ac_includes_default
16341 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
16348 rm -f conftest.$ac_objext
16349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16350 (eval $ac_compile) 2>conftest.er1
16352 grep -v '^ *+' conftest.er1 >conftest.err
16354 cat conftest.err >&5
16355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356 (exit $ac_status); } &&
16357 { ac_try='test -z "$ac_c_werror_flag"
16358 || test ! -s conftest.err'
16359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360 (eval $ac_try) 2>&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); }; } &&
16364 { ac_try='test -s conftest.$ac_objext'
16365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16366 (eval $ac_try) 2>&5
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); }; }; then
16372 echo "$as_me: failed program was:" >&5
16373 sed 's/^/| /' conftest.$ac_ext >&5
16375 ac_lo=`expr '(' $ac_mid ')' + 1`
16377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16380 ?*) ac_cv_sizeof_long_long_int=$ac_lo;;
16381 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
16382 See \`config.log' for more details." >&5
16383 echo "$as_me: error: cannot compute sizeof (long long int), 77
16384 See \`config.log' for more details." >&2;}
16385 { (exit 1); exit 1; }; } ;;
16388 if test "$cross_compiling" = yes; then
16389 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16390 See \`config.log' for more details." >&5
16391 echo "$as_me: error: cannot run test program while cross compiling
16392 See \`config.log' for more details." >&2;}
16393 { (exit 1); exit 1; }; }
16395 cat >conftest.$ac_ext <<_ACEOF
16398 cat confdefs.h >>conftest.$ac_ext
16399 cat >>conftest.$ac_ext <<_ACEOF
16400 /* end confdefs.h. */
16401 $ac_includes_default
16402 long longval () { return (long) (sizeof (long long int)); }
16403 unsigned long ulongval () { return (long) (sizeof (long long int)); }
16405 #include <stdlib.h>
16410 FILE *f = fopen ("conftest.val", "w");
16413 if (((long) (sizeof (long long int))) < 0)
16415 long i = longval ();
16416 if (i != ((long) (sizeof (long long int))))
16418 fprintf (f, "%ld\n", i);
16422 unsigned long i = ulongval ();
16423 if (i != ((long) (sizeof (long long int))))
16425 fprintf (f, "%lu\n", i);
16427 exit (ferror (f) || fclose (f) != 0);
16433 rm -f conftest$ac_exeext
16434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16435 (eval $ac_link) 2>&5
16437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16438 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16440 (eval $ac_try) 2>&5
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); }; }; then
16444 ac_cv_sizeof_long_long_int=`cat conftest.val`
16446 echo "$as_me: program exited with status $ac_status" >&5
16447 echo "$as_me: failed program was:" >&5
16448 sed 's/^/| /' conftest.$ac_ext >&5
16450 ( exit $ac_status )
16451 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
16452 See \`config.log' for more details." >&5
16453 echo "$as_me: error: cannot compute sizeof (long long int), 77
16454 See \`config.log' for more details." >&2;}
16455 { (exit 1); exit 1; }; }
16457 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16462 ac_cv_sizeof_long_long_int=0
16465 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
16466 echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6
16467 cat >>confdefs.h <<_ACEOF
16468 #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
16472 echo "$as_me:$LINENO: checking for int *" >&5
16473 echo $ECHO_N "checking for int *... $ECHO_C" >&6
16474 if test "${ac_cv_type_int_p+set}" = set; then
16475 echo $ECHO_N "(cached) $ECHO_C" >&6
16477 cat >conftest.$ac_ext <<_ACEOF
16480 cat confdefs.h >>conftest.$ac_ext
16481 cat >>conftest.$ac_ext <<_ACEOF
16482 /* end confdefs.h. */
16483 $ac_includes_default
16489 if (sizeof (int *))
16495 rm -f conftest.$ac_objext
16496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16497 (eval $ac_compile) 2>conftest.er1
16499 grep -v '^ *+' conftest.er1 >conftest.err
16501 cat conftest.err >&5
16502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16503 (exit $ac_status); } &&
16504 { ac_try='test -z "$ac_c_werror_flag"
16505 || test ! -s conftest.err'
16506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16507 (eval $ac_try) 2>&5
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); }; } &&
16511 { ac_try='test -s conftest.$ac_objext'
16512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16513 (eval $ac_try) 2>&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); }; }; then
16517 ac_cv_type_int_p=yes
16519 echo "$as_me: failed program was:" >&5
16520 sed 's/^/| /' conftest.$ac_ext >&5
16522 ac_cv_type_int_p=no
16524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16526 echo "$as_me:$LINENO: result: $ac_cv_type_int_p" >&5
16527 echo "${ECHO_T}$ac_cv_type_int_p" >&6
16529 echo "$as_me:$LINENO: checking size of int *" >&5
16530 echo $ECHO_N "checking size of int *... $ECHO_C" >&6
16531 if test "${ac_cv_sizeof_int_p+set}" = set; then
16532 echo $ECHO_N "(cached) $ECHO_C" >&6
16534 if test "$ac_cv_type_int_p" = yes; then
16535 # The cast to unsigned long works around a bug in the HP C Compiler
16536 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16537 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16538 # This bug is HP SR number 8606223364.
16539 if test "$cross_compiling" = yes; then
16540 # Depending upon the size, compute the lo and hi bounds.
16541 cat >conftest.$ac_ext <<_ACEOF
16544 cat confdefs.h >>conftest.$ac_ext
16545 cat >>conftest.$ac_ext <<_ACEOF
16546 /* end confdefs.h. */
16547 $ac_includes_default
16551 static int test_array [1 - 2 * !(((long) (sizeof (int *))) >= 0)];
16558 rm -f conftest.$ac_objext
16559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16560 (eval $ac_compile) 2>conftest.er1
16562 grep -v '^ *+' conftest.er1 >conftest.err
16564 cat conftest.err >&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); } &&
16567 { ac_try='test -z "$ac_c_werror_flag"
16568 || test ! -s conftest.err'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; } &&
16574 { ac_try='test -s conftest.$ac_objext'
16575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16576 (eval $ac_try) 2>&5
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); }; }; then
16582 cat >conftest.$ac_ext <<_ACEOF
16585 cat confdefs.h >>conftest.$ac_ext
16586 cat >>conftest.$ac_ext <<_ACEOF
16587 /* end confdefs.h. */
16588 $ac_includes_default
16592 static int test_array [1 - 2 * !(((long) (sizeof (int *))) <= $ac_mid)];
16599 rm -f conftest.$ac_objext
16600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16601 (eval $ac_compile) 2>conftest.er1
16603 grep -v '^ *+' conftest.er1 >conftest.err
16605 cat conftest.err >&5
16606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16607 (exit $ac_status); } &&
16608 { ac_try='test -z "$ac_c_werror_flag"
16609 || test ! -s conftest.err'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; } &&
16615 { ac_try='test -s conftest.$ac_objext'
16616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617 (eval $ac_try) 2>&5
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }; }; then
16621 ac_hi=$ac_mid; break
16623 echo "$as_me: failed program was:" >&5
16624 sed 's/^/| /' conftest.$ac_ext >&5
16626 ac_lo=`expr $ac_mid + 1`
16627 if test $ac_lo -le $ac_mid; then
16631 ac_mid=`expr 2 '*' $ac_mid + 1`
16633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16636 echo "$as_me: failed program was:" >&5
16637 sed 's/^/| /' conftest.$ac_ext >&5
16639 cat >conftest.$ac_ext <<_ACEOF
16642 cat confdefs.h >>conftest.$ac_ext
16643 cat >>conftest.$ac_ext <<_ACEOF
16644 /* end confdefs.h. */
16645 $ac_includes_default
16649 static int test_array [1 - 2 * !(((long) (sizeof (int *))) < 0)];
16656 rm -f conftest.$ac_objext
16657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16658 (eval $ac_compile) 2>conftest.er1
16660 grep -v '^ *+' conftest.er1 >conftest.err
16662 cat conftest.err >&5
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); } &&
16665 { ac_try='test -z "$ac_c_werror_flag"
16666 || test ! -s conftest.err'
16667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16668 (eval $ac_try) 2>&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); }; } &&
16672 { ac_try='test -s conftest.$ac_objext'
16673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16674 (eval $ac_try) 2>&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); }; }; then
16680 cat >conftest.$ac_ext <<_ACEOF
16683 cat confdefs.h >>conftest.$ac_ext
16684 cat >>conftest.$ac_ext <<_ACEOF
16685 /* end confdefs.h. */
16686 $ac_includes_default
16690 static int test_array [1 - 2 * !(((long) (sizeof (int *))) >= $ac_mid)];
16697 rm -f conftest.$ac_objext
16698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16699 (eval $ac_compile) 2>conftest.er1
16701 grep -v '^ *+' conftest.er1 >conftest.err
16703 cat conftest.err >&5
16704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16705 (exit $ac_status); } &&
16706 { ac_try='test -z "$ac_c_werror_flag"
16707 || test ! -s conftest.err'
16708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709 (eval $ac_try) 2>&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; } &&
16713 { ac_try='test -s conftest.$ac_objext'
16714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16715 (eval $ac_try) 2>&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); }; }; then
16719 ac_lo=$ac_mid; break
16721 echo "$as_me: failed program was:" >&5
16722 sed 's/^/| /' conftest.$ac_ext >&5
16724 ac_hi=`expr '(' $ac_mid ')' - 1`
16725 if test $ac_mid -le $ac_hi; then
16729 ac_mid=`expr 2 '*' $ac_mid`
16731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16734 echo "$as_me: failed program was:" >&5
16735 sed 's/^/| /' conftest.$ac_ext >&5
16739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16742 # Binary search between lo and hi bounds.
16743 while test "x$ac_lo" != "x$ac_hi"; do
16744 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16745 cat >conftest.$ac_ext <<_ACEOF
16748 cat confdefs.h >>conftest.$ac_ext
16749 cat >>conftest.$ac_ext <<_ACEOF
16750 /* end confdefs.h. */
16751 $ac_includes_default
16755 static int test_array [1 - 2 * !(((long) (sizeof (int *))) <= $ac_mid)];
16762 rm -f conftest.$ac_objext
16763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16764 (eval $ac_compile) 2>conftest.er1
16766 grep -v '^ *+' conftest.er1 >conftest.err
16768 cat conftest.err >&5
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); } &&
16771 { ac_try='test -z "$ac_c_werror_flag"
16772 || test ! -s conftest.err'
16773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16774 (eval $ac_try) 2>&5
16776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16777 (exit $ac_status); }; } &&
16778 { ac_try='test -s conftest.$ac_objext'
16779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16780 (eval $ac_try) 2>&5
16782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16783 (exit $ac_status); }; }; then
16786 echo "$as_me: failed program was:" >&5
16787 sed 's/^/| /' conftest.$ac_ext >&5
16789 ac_lo=`expr '(' $ac_mid ')' + 1`
16791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16794 ?*) ac_cv_sizeof_int_p=$ac_lo;;
16795 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *), 77
16796 See \`config.log' for more details." >&5
16797 echo "$as_me: error: cannot compute sizeof (int *), 77
16798 See \`config.log' for more details." >&2;}
16799 { (exit 1); exit 1; }; } ;;
16802 if test "$cross_compiling" = yes; then
16803 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16804 See \`config.log' for more details." >&5
16805 echo "$as_me: error: cannot run test program while cross compiling
16806 See \`config.log' for more details." >&2;}
16807 { (exit 1); exit 1; }; }
16809 cat >conftest.$ac_ext <<_ACEOF
16812 cat confdefs.h >>conftest.$ac_ext
16813 cat >>conftest.$ac_ext <<_ACEOF
16814 /* end confdefs.h. */
16815 $ac_includes_default
16816 long longval () { return (long) (sizeof (int *)); }
16817 unsigned long ulongval () { return (long) (sizeof (int *)); }
16819 #include <stdlib.h>
16824 FILE *f = fopen ("conftest.val", "w");
16827 if (((long) (sizeof (int *))) < 0)
16829 long i = longval ();
16830 if (i != ((long) (sizeof (int *))))
16832 fprintf (f, "%ld\n", i);
16836 unsigned long i = ulongval ();
16837 if (i != ((long) (sizeof (int *))))
16839 fprintf (f, "%lu\n", i);
16841 exit (ferror (f) || fclose (f) != 0);
16847 rm -f conftest$ac_exeext
16848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16849 (eval $ac_link) 2>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16854 (eval $ac_try) 2>&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); }; }; then
16858 ac_cv_sizeof_int_p=`cat conftest.val`
16860 echo "$as_me: program exited with status $ac_status" >&5
16861 echo "$as_me: failed program was:" >&5
16862 sed 's/^/| /' conftest.$ac_ext >&5
16864 ( exit $ac_status )
16865 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *), 77
16866 See \`config.log' for more details." >&5
16867 echo "$as_me: error: cannot compute sizeof (int *), 77
16868 See \`config.log' for more details." >&2;}
16869 { (exit 1); exit 1; }; }
16871 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16876 ac_cv_sizeof_int_p=0
16879 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int_p" >&5
16880 echo "${ECHO_T}$ac_cv_sizeof_int_p" >&6
16881 cat >>confdefs.h <<_ACEOF
16882 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
16887 # Check for sys/types.h types
16888 echo "$as_me:$LINENO: checking for u_int type" >&5
16889 echo $ECHO_N "checking for u_int type... $ECHO_C" >&6
16890 if test "${ac_cv_have_u_int+set}" = set; then
16891 echo $ECHO_N "(cached) $ECHO_C" >&6
16894 cat >conftest.$ac_ext <<_ACEOF
16897 cat confdefs.h >>conftest.$ac_ext
16898 cat >>conftest.$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16900 #include <sys/types.h>
16909 rm -f conftest.$ac_objext
16910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16911 (eval $ac_compile) 2>conftest.er1
16913 grep -v '^ *+' conftest.er1 >conftest.err
16915 cat conftest.err >&5
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); } &&
16918 { ac_try='test -z "$ac_c_werror_flag"
16919 || test ! -s conftest.err'
16920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16921 (eval $ac_try) 2>&5
16923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16924 (exit $ac_status); }; } &&
16925 { ac_try='test -s conftest.$ac_objext'
16926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16927 (eval $ac_try) 2>&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); }; }; then
16931 ac_cv_have_u_int="yes"
16933 echo "$as_me: failed program was:" >&5
16934 sed 's/^/| /' conftest.$ac_ext >&5
16936 ac_cv_have_u_int="no"
16939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16942 echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5
16943 echo "${ECHO_T}$ac_cv_have_u_int" >&6
16944 if test "x$ac_cv_have_u_int" = "xyes" ; then
16945 cat >>confdefs.h <<\_ACEOF
16946 #define HAVE_U_INT 1
16952 echo "$as_me:$LINENO: checking for intmax_t type" >&5
16953 echo $ECHO_N "checking for intmax_t type... $ECHO_C" >&6
16954 if test "${ac_cv_have_intmax_t+set}" = set; then
16955 echo $ECHO_N "(cached) $ECHO_C" >&6
16958 cat >conftest.$ac_ext <<_ACEOF
16961 cat confdefs.h >>conftest.$ac_ext
16962 cat >>conftest.$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16964 #include <sys/types.h>
16973 rm -f conftest.$ac_objext
16974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16975 (eval $ac_compile) 2>conftest.er1
16977 grep -v '^ *+' conftest.er1 >conftest.err
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } &&
16982 { ac_try='test -z "$ac_c_werror_flag"
16983 || test ! -s conftest.err'
16984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16985 (eval $ac_try) 2>&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; } &&
16989 { ac_try='test -s conftest.$ac_objext'
16990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16991 (eval $ac_try) 2>&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); }; }; then
16995 ac_cv_have_intmax_t="yes"
16997 echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.$ac_ext >&5
17001 cat >conftest.$ac_ext <<_ACEOF
17004 cat confdefs.h >>conftest.$ac_ext
17005 cat >>conftest.$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17007 #include <stdint.h>
17016 rm -f conftest.$ac_objext
17017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17018 (eval $ac_compile) 2>conftest.er1
17020 grep -v '^ *+' conftest.er1 >conftest.err
17022 cat conftest.err >&5
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); } &&
17025 { ac_try='test -z "$ac_c_werror_flag"
17026 || test ! -s conftest.err'
17027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17028 (eval $ac_try) 2>&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); }; } &&
17032 { ac_try='test -s conftest.$ac_objext'
17033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17034 (eval $ac_try) 2>&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); }; }; then
17038 ac_cv_have_intmax_t="yes"
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.$ac_ext >&5
17043 ac_cv_have_intmax_t="no"
17046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17054 echo "$as_me:$LINENO: result: $ac_cv_have_intmax_t" >&5
17055 echo "${ECHO_T}$ac_cv_have_intmax_t" >&6
17056 if test "x$ac_cv_have_intmax_t" = "xyes" ; then
17057 cat >>confdefs.h <<\_ACEOF
17058 #define HAVE_INTMAX_T 1
17065 echo "$as_me:$LINENO: checking for u_intmax_t type" >&5
17066 echo $ECHO_N "checking for u_intmax_t type... $ECHO_C" >&6
17067 if test "${ac_cv_have_u_intmax_t+set}" = set; then
17068 echo $ECHO_N "(cached) $ECHO_C" >&6
17071 cat >conftest.$ac_ext <<_ACEOF
17074 cat confdefs.h >>conftest.$ac_ext
17075 cat >>conftest.$ac_ext <<_ACEOF
17076 /* end confdefs.h. */
17077 #include <sys/types.h>
17081 u_intmax_t a; a = 1;
17086 rm -f conftest.$ac_objext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17088 (eval $ac_compile) 2>conftest.er1
17090 grep -v '^ *+' conftest.er1 >conftest.err
17092 cat conftest.err >&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } &&
17095 { ac_try='test -z "$ac_c_werror_flag"
17096 || test ! -s conftest.err'
17097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17098 (eval $ac_try) 2>&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); }; } &&
17102 { ac_try='test -s conftest.$ac_objext'
17103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17104 (eval $ac_try) 2>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); }; }; then
17108 ac_cv_have_u_intmax_t="yes"
17110 echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.$ac_ext >&5
17114 cat >conftest.$ac_ext <<_ACEOF
17117 cat confdefs.h >>conftest.$ac_ext
17118 cat >>conftest.$ac_ext <<_ACEOF
17119 /* end confdefs.h. */
17120 #include <stdint.h>
17124 u_intmax_t a; a = 1;
17129 rm -f conftest.$ac_objext
17130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17131 (eval $ac_compile) 2>conftest.er1
17133 grep -v '^ *+' conftest.er1 >conftest.err
17135 cat conftest.err >&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); } &&
17138 { ac_try='test -z "$ac_c_werror_flag"
17139 || test ! -s conftest.err'
17140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17141 (eval $ac_try) 2>&5
17143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17144 (exit $ac_status); }; } &&
17145 { ac_try='test -s conftest.$ac_objext'
17146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17147 (eval $ac_try) 2>&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); }; }; then
17151 ac_cv_have_u_intmax_t="yes"
17153 echo "$as_me: failed program was:" >&5
17154 sed 's/^/| /' conftest.$ac_ext >&5
17156 ac_cv_have_u_intmax_t="no"
17159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17166 echo "$as_me:$LINENO: result: $ac_cv_have_u_intmax_t" >&5
17167 echo "${ECHO_T}$ac_cv_have_u_intmax_t" >&6
17168 if test "x$ac_cv_have_u_intmax_t" = "xyes" ; then
17169 cat >>confdefs.h <<\_ACEOF
17170 #define HAVE_U_INTMAX_T 1
17177 echo "$as_me:$LINENO: checking for intXX_t types" >&5
17178 echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6
17179 if test "${ac_cv_have_intxx_t+set}" = set; then
17180 echo $ECHO_N "(cached) $ECHO_C" >&6
17183 cat >conftest.$ac_ext <<_ACEOF
17186 cat confdefs.h >>conftest.$ac_ext
17187 cat >>conftest.$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 #include <sys/types.h>
17193 int8_t a; int16_t b; int32_t c; a = b = c = 1;
17198 rm -f conftest.$ac_objext
17199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17200 (eval $ac_compile) 2>conftest.er1
17202 grep -v '^ *+' conftest.er1 >conftest.err
17204 cat conftest.err >&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); } &&
17207 { ac_try='test -z "$ac_c_werror_flag"
17208 || test ! -s conftest.err'
17209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17210 (eval $ac_try) 2>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); }; } &&
17214 { ac_try='test -s conftest.$ac_objext'
17215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17216 (eval $ac_try) 2>&5
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); }; }; then
17220 ac_cv_have_intxx_t="yes"
17222 echo "$as_me: failed program was:" >&5
17223 sed 's/^/| /' conftest.$ac_ext >&5
17225 ac_cv_have_intxx_t="no"
17228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17231 echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5
17232 echo "${ECHO_T}$ac_cv_have_intxx_t" >&6
17233 if test "x$ac_cv_have_intxx_t" = "xyes" ; then
17234 cat >>confdefs.h <<\_ACEOF
17235 #define HAVE_INTXX_T 1
17241 echo "$as_me:$LINENO: checking for int64_t type" >&5
17242 echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6
17243 if test "${ac_cv_have_int64_t+set}" = set; then
17244 echo $ECHO_N "(cached) $ECHO_C" >&6
17247 cat >conftest.$ac_ext <<_ACEOF
17250 cat confdefs.h >>conftest.$ac_ext
17251 cat >>conftest.$ac_ext <<_ACEOF
17252 /* end confdefs.h. */
17253 #include <sys/types.h>
17262 rm -f conftest.$ac_objext
17263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17264 (eval $ac_compile) 2>conftest.er1
17266 grep -v '^ *+' conftest.er1 >conftest.err
17268 cat conftest.err >&5
17269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17270 (exit $ac_status); } &&
17271 { ac_try='test -z "$ac_c_werror_flag"
17272 || test ! -s conftest.err'
17273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17274 (eval $ac_try) 2>&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); }; } &&
17278 { ac_try='test -s conftest.$ac_objext'
17279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17280 (eval $ac_try) 2>&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); }; }; then
17284 ac_cv_have_int64_t="yes"
17286 echo "$as_me: failed program was:" >&5
17287 sed 's/^/| /' conftest.$ac_ext >&5
17289 ac_cv_have_int64_t="no"
17292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17295 echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5
17296 echo "${ECHO_T}$ac_cv_have_int64_t" >&6
17297 if test "x$ac_cv_have_int64_t" = "xyes" ; then
17298 cat >>confdefs.h <<\_ACEOF
17299 #define HAVE_INT64_T 1
17305 echo "$as_me:$LINENO: checking for u_intXX_t types" >&5
17306 echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6
17307 if test "${ac_cv_have_u_intxx_t+set}" = set; then
17308 echo $ECHO_N "(cached) $ECHO_C" >&6
17311 cat >conftest.$ac_ext <<_ACEOF
17314 cat confdefs.h >>conftest.$ac_ext
17315 cat >>conftest.$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17317 #include <sys/types.h>
17321 u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;
17326 rm -f conftest.$ac_objext
17327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17328 (eval $ac_compile) 2>conftest.er1
17330 grep -v '^ *+' conftest.er1 >conftest.err
17332 cat conftest.err >&5
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); } &&
17335 { ac_try='test -z "$ac_c_werror_flag"
17336 || test ! -s conftest.err'
17337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17338 (eval $ac_try) 2>&5
17340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341 (exit $ac_status); }; } &&
17342 { ac_try='test -s conftest.$ac_objext'
17343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17344 (eval $ac_try) 2>&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); }; }; then
17348 ac_cv_have_u_intxx_t="yes"
17350 echo "$as_me: failed program was:" >&5
17351 sed 's/^/| /' conftest.$ac_ext >&5
17353 ac_cv_have_u_intxx_t="no"
17356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17359 echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5
17360 echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6
17361 if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
17362 cat >>confdefs.h <<\_ACEOF
17363 #define HAVE_U_INTXX_T 1
17369 echo "$as_me:$LINENO: checking for u_int64_t types" >&5
17370 echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6
17371 if test "${ac_cv_have_u_int64_t+set}" = set; then
17372 echo $ECHO_N "(cached) $ECHO_C" >&6
17375 cat >conftest.$ac_ext <<_ACEOF
17378 cat confdefs.h >>conftest.$ac_ext
17379 cat >>conftest.$ac_ext <<_ACEOF
17380 /* end confdefs.h. */
17381 #include <sys/types.h>
17385 u_int64_t a; a = 1;
17390 rm -f conftest.$ac_objext
17391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17392 (eval $ac_compile) 2>conftest.er1
17394 grep -v '^ *+' conftest.er1 >conftest.err
17396 cat conftest.err >&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); } &&
17399 { ac_try='test -z "$ac_c_werror_flag"
17400 || test ! -s conftest.err'
17401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17402 (eval $ac_try) 2>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); }; } &&
17406 { ac_try='test -s conftest.$ac_objext'
17407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17408 (eval $ac_try) 2>&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); }; }; then
17412 ac_cv_have_u_int64_t="yes"
17414 echo "$as_me: failed program was:" >&5
17415 sed 's/^/| /' conftest.$ac_ext >&5
17417 ac_cv_have_u_int64_t="no"
17420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17423 echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5
17424 echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6
17425 if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
17426 cat >>confdefs.h <<\_ACEOF
17427 #define HAVE_U_INT64_T 1
17433 if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
17434 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
17436 echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5
17437 echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6
17438 cat >conftest.$ac_ext <<_ACEOF
17441 cat confdefs.h >>conftest.$ac_ext
17442 cat >>conftest.$ac_ext <<_ACEOF
17443 /* end confdefs.h. */
17444 #include <sys/bitypes.h>
17448 int8_t a; int16_t b; int32_t c;
17449 u_int8_t e; u_int16_t f; u_int32_t g;
17450 a = b = c = e = f = g = 1;
17455 rm -f conftest.$ac_objext
17456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17457 (eval $ac_compile) 2>conftest.er1
17459 grep -v '^ *+' conftest.er1 >conftest.err
17461 cat conftest.err >&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } &&
17464 { ac_try='test -z "$ac_c_werror_flag"
17465 || test ! -s conftest.err'
17466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17467 (eval $ac_try) 2>&5
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); }; } &&
17471 { ac_try='test -s conftest.$ac_objext'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; }; then
17477 cat >>confdefs.h <<\_ACEOF
17478 #define HAVE_U_INTXX_T 1
17481 cat >>confdefs.h <<\_ACEOF
17482 #define HAVE_INTXX_T 1
17485 cat >>confdefs.h <<\_ACEOF
17486 #define HAVE_SYS_BITYPES_H 1
17489 echo "$as_me:$LINENO: result: yes" >&5
17490 echo "${ECHO_T}yes" >&6
17492 echo "$as_me: failed program was:" >&5
17493 sed 's/^/| /' conftest.$ac_ext >&5
17495 echo "$as_me:$LINENO: result: no" >&5
17496 echo "${ECHO_T}no" >&6
17499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17502 if test -z "$have_u_intxx_t" ; then
17503 echo "$as_me:$LINENO: checking for uintXX_t types" >&5
17504 echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6
17505 if test "${ac_cv_have_uintxx_t+set}" = set; then
17506 echo $ECHO_N "(cached) $ECHO_C" >&6
17509 cat >conftest.$ac_ext <<_ACEOF
17512 cat confdefs.h >>conftest.$ac_ext
17513 cat >>conftest.$ac_ext <<_ACEOF
17514 /* end confdefs.h. */
17515 #include <sys/types.h>
17519 uint8_t a; uint16_t b;
17520 uint32_t c; a = b = c = 1;
17525 rm -f conftest.$ac_objext
17526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17527 (eval $ac_compile) 2>conftest.er1
17529 grep -v '^ *+' conftest.er1 >conftest.err
17531 cat conftest.err >&5
17532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17533 (exit $ac_status); } &&
17534 { ac_try='test -z "$ac_c_werror_flag"
17535 || test ! -s conftest.err'
17536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17537 (eval $ac_try) 2>&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); }; } &&
17541 { ac_try='test -s conftest.$ac_objext'
17542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17543 (eval $ac_try) 2>&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); }; }; then
17547 ac_cv_have_uintxx_t="yes"
17549 echo "$as_me: failed program was:" >&5
17550 sed 's/^/| /' conftest.$ac_ext >&5
17552 ac_cv_have_uintxx_t="no"
17555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17558 echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5
17559 echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6
17560 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
17561 cat >>confdefs.h <<\_ACEOF
17562 #define HAVE_UINTXX_T 1
17568 if (test -z "$have_u_int64_t" || test -z "$have_int64_t" && \
17569 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
17571 echo "$as_me:$LINENO: checking for int64_t and u_int64_t types in sys/bitypes.h" >&5
17572 echo $ECHO_N "checking for int64_t and u_int64_t types in sys/bitypes.h... $ECHO_C" >&6
17573 cat >conftest.$ac_ext <<_ACEOF
17576 cat confdefs.h >>conftest.$ac_ext
17577 cat >>conftest.$ac_ext <<_ACEOF
17578 /* end confdefs.h. */
17579 #include <sys/bitypes.h>
17583 int64_t a; u_int64_t b;
17589 rm -f conftest.$ac_objext
17590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17591 (eval $ac_compile) 2>conftest.er1
17593 grep -v '^ *+' conftest.er1 >conftest.err
17595 cat conftest.err >&5
17596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17597 (exit $ac_status); } &&
17598 { ac_try='test -z "$ac_c_werror_flag"
17599 || test ! -s conftest.err'
17600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17601 (eval $ac_try) 2>&5
17603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604 (exit $ac_status); }; } &&
17605 { ac_try='test -s conftest.$ac_objext'
17606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17607 (eval $ac_try) 2>&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); }; }; then
17611 cat >>confdefs.h <<\_ACEOF
17612 #define HAVE_U_INT64_T 1
17615 cat >>confdefs.h <<\_ACEOF
17616 #define HAVE_INT64_T 1
17619 echo "$as_me:$LINENO: result: yes" >&5
17620 echo "${ECHO_T}yes" >&6
17622 echo "$as_me: failed program was:" >&5
17623 sed 's/^/| /' conftest.$ac_ext >&5
17625 echo "$as_me:$LINENO: result: no" >&5
17626 echo "${ECHO_T}no" >&6
17629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17632 if (test -z "$have_uintxx_t" && \
17633 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
17635 echo "$as_me:$LINENO: checking for uintXX_t types in sys/bitypes.h" >&5
17636 echo $ECHO_N "checking for uintXX_t types in sys/bitypes.h... $ECHO_C" >&6
17637 cat >conftest.$ac_ext <<_ACEOF
17640 cat confdefs.h >>conftest.$ac_ext
17641 cat >>conftest.$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17643 #include <sys/bitypes.h>
17647 uint8_t a; uint16_t b;
17648 uint32_t c; a = b = c = 1;
17653 rm -f conftest.$ac_objext
17654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17655 (eval $ac_compile) 2>conftest.er1
17657 grep -v '^ *+' conftest.er1 >conftest.err
17659 cat conftest.err >&5
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); } &&
17662 { ac_try='test -z "$ac_c_werror_flag"
17663 || test ! -s conftest.err'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; } &&
17669 { ac_try='test -s conftest.$ac_objext'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; }; then
17675 cat >>confdefs.h <<\_ACEOF
17676 #define HAVE_UINTXX_T 1
17679 echo "$as_me:$LINENO: result: yes" >&5
17680 echo "${ECHO_T}yes" >&6
17682 echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.$ac_ext >&5
17685 echo "$as_me:$LINENO: result: no" >&5
17686 echo "${ECHO_T}no" >&6
17689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17726 echo "$as_me:$LINENO: checking for $ac_func" >&5
17727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17728 if eval "test \"\${$as_ac_var+set}\" = set"; then
17729 echo $ECHO_N "(cached) $ECHO_C" >&6
17731 cat >conftest.$ac_ext <<_ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17739 #define $ac_func innocuous_$ac_func
17741 /* System header to define __stub macros and hopefully few prototypes,
17742 which can conflict with char $ac_func (); below.
17743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17744 <limits.h> exists even on freestanding compilers. */
17747 # include <limits.h>
17749 # include <assert.h>
17754 /* Override any gcc2 internal prototype to avoid an error. */
17759 /* We use char because int might match the return type of a gcc2
17760 builtin and then its argument prototype would still apply. */
17762 /* The GNU C library defines this for functions which it implements
17763 to always fail with ENOSYS. Some functions are actually named
17764 something starting with __ and the normal name is an alias. */
17765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17768 char (*f) () = $ac_func;
17777 return f != $ac_func;
17782 rm -f conftest.$ac_objext conftest$ac_exeext
17783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17784 (eval $ac_link) 2>conftest.er1
17786 grep -v '^ *+' conftest.er1 >conftest.err
17788 cat conftest.err >&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); } &&
17791 { ac_try='test -z "$ac_c_werror_flag"
17792 || test ! -s conftest.err'
17793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17794 (eval $ac_try) 2>&5
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); }; } &&
17798 { ac_try='test -s conftest$ac_exeext'
17799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17800 (eval $ac_try) 2>&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); }; }; then
17804 eval "$as_ac_var=yes"
17806 echo "$as_me: failed program was:" >&5
17807 sed 's/^/| /' conftest.$ac_ext >&5
17809 eval "$as_ac_var=no"
17811 rm -f conftest.err conftest.$ac_objext \
17812 conftest$ac_exeext conftest.$ac_ext
17814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17816 if test `eval echo '${'$as_ac_var'}'` = yes; then
17817 cat >>confdefs.h <<_ACEOF
17818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17822 echo 'configure: cannot find needed function.'; exit 1
17829 for ac_func in fchdir
17831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17832 echo "$as_me:$LINENO: checking for $ac_func" >&5
17833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17834 if eval "test \"\${$as_ac_var+set}\" = set"; then
17835 echo $ECHO_N "(cached) $ECHO_C" >&6
17837 cat >conftest.$ac_ext <<_ACEOF
17840 cat confdefs.h >>conftest.$ac_ext
17841 cat >>conftest.$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17845 #define $ac_func innocuous_$ac_func
17847 /* System header to define __stub macros and hopefully few prototypes,
17848 which can conflict with char $ac_func (); below.
17849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17850 <limits.h> exists even on freestanding compilers. */
17853 # include <limits.h>
17855 # include <assert.h>
17860 /* Override any gcc2 internal prototype to avoid an error. */
17865 /* We use char because int might match the return type of a gcc2
17866 builtin and then its argument prototype would still apply. */
17868 /* The GNU C library defines this for functions which it implements
17869 to always fail with ENOSYS. Some functions are actually named
17870 something starting with __ and the normal name is an alias. */
17871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17874 char (*f) () = $ac_func;
17883 return f != $ac_func;
17888 rm -f conftest.$ac_objext conftest$ac_exeext
17889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17890 (eval $ac_link) 2>conftest.er1
17892 grep -v '^ *+' conftest.er1 >conftest.err
17894 cat conftest.err >&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); } &&
17897 { ac_try='test -z "$ac_c_werror_flag"
17898 || test ! -s conftest.err'
17899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17900 (eval $ac_try) 2>&5
17902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17903 (exit $ac_status); }; } &&
17904 { ac_try='test -s conftest$ac_exeext'
17905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17906 (eval $ac_try) 2>&5
17908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17909 (exit $ac_status); }; }; then
17910 eval "$as_ac_var=yes"
17912 echo "$as_me: failed program was:" >&5
17913 sed 's/^/| /' conftest.$ac_ext >&5
17915 eval "$as_ac_var=no"
17917 rm -f conftest.err conftest.$ac_objext \
17918 conftest$ac_exeext conftest.$ac_ext
17920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17922 if test `eval echo '${'$as_ac_var'}'` = yes; then
17923 cat >>confdefs.h <<_ACEOF
17924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17926 cat >>confdefs.h <<\_ACEOF
17927 #define HAVE_FCHDIR 1
17934 for ac_func in strtoll
17936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17937 echo "$as_me:$LINENO: checking for $ac_func" >&5
17938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17939 if eval "test \"\${$as_ac_var+set}\" = set"; then
17940 echo $ECHO_N "(cached) $ECHO_C" >&6
17942 cat >conftest.$ac_ext <<_ACEOF
17945 cat confdefs.h >>conftest.$ac_ext
17946 cat >>conftest.$ac_ext <<_ACEOF
17947 /* end confdefs.h. */
17948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17949 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17950 #define $ac_func innocuous_$ac_func
17952 /* System header to define __stub macros and hopefully few prototypes,
17953 which can conflict with char $ac_func (); below.
17954 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17955 <limits.h> exists even on freestanding compilers. */
17958 # include <limits.h>
17960 # include <assert.h>
17965 /* Override any gcc2 internal prototype to avoid an error. */
17970 /* We use char because int might match the return type of a gcc2
17971 builtin and then its argument prototype would still apply. */
17973 /* The GNU C library defines this for functions which it implements
17974 to always fail with ENOSYS. Some functions are actually named
17975 something starting with __ and the normal name is an alias. */
17976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17979 char (*f) () = $ac_func;
17988 return f != $ac_func;
17993 rm -f conftest.$ac_objext conftest$ac_exeext
17994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17995 (eval $ac_link) 2>conftest.er1
17997 grep -v '^ *+' conftest.er1 >conftest.err
17999 cat conftest.err >&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); } &&
18002 { ac_try='test -z "$ac_c_werror_flag"
18003 || test ! -s conftest.err'
18004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18005 (eval $ac_try) 2>&5
18007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18008 (exit $ac_status); }; } &&
18009 { ac_try='test -s conftest$ac_exeext'
18010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18011 (eval $ac_try) 2>&5
18013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18014 (exit $ac_status); }; }; then
18015 eval "$as_ac_var=yes"
18017 echo "$as_me: failed program was:" >&5
18018 sed 's/^/| /' conftest.$ac_ext >&5
18020 eval "$as_ac_var=no"
18022 rm -f conftest.err conftest.$ac_objext \
18023 conftest$ac_exeext conftest.$ac_ext
18025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18027 if test `eval echo '${'$as_ac_var'}'` = yes; then
18028 cat >>confdefs.h <<_ACEOF
18029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18031 cat >>confdefs.h <<\_ACEOF
18032 #define HAVE_STRTOLL 1
18040 for ac_func in chflags
18042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18043 echo "$as_me:$LINENO: checking for $ac_func" >&5
18044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18045 if eval "test \"\${$as_ac_var+set}\" = set"; then
18046 echo $ECHO_N "(cached) $ECHO_C" >&6
18048 cat >conftest.$ac_ext <<_ACEOF
18051 cat confdefs.h >>conftest.$ac_ext
18052 cat >>conftest.$ac_ext <<_ACEOF
18053 /* end confdefs.h. */
18054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18056 #define $ac_func innocuous_$ac_func
18058 /* System header to define __stub macros and hopefully few prototypes,
18059 which can conflict with char $ac_func (); below.
18060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18061 <limits.h> exists even on freestanding compilers. */
18064 # include <limits.h>
18066 # include <assert.h>
18071 /* Override any gcc2 internal prototype to avoid an error. */
18076 /* We use char because int might match the return type of a gcc2
18077 builtin and then its argument prototype would still apply. */
18079 /* The GNU C library defines this for functions which it implements
18080 to always fail with ENOSYS. Some functions are actually named
18081 something starting with __ and the normal name is an alias. */
18082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18085 char (*f) () = $ac_func;
18094 return f != $ac_func;
18099 rm -f conftest.$ac_objext conftest$ac_exeext
18100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18101 (eval $ac_link) 2>conftest.er1
18103 grep -v '^ *+' conftest.er1 >conftest.err
18105 cat conftest.err >&5
18106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18107 (exit $ac_status); } &&
18108 { ac_try='test -z "$ac_c_werror_flag"
18109 || test ! -s conftest.err'
18110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18111 (eval $ac_try) 2>&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); }; } &&
18115 { ac_try='test -s conftest$ac_exeext'
18116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18117 (eval $ac_try) 2>&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); }; }; then
18121 eval "$as_ac_var=yes"
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.$ac_ext >&5
18126 eval "$as_ac_var=no"
18128 rm -f conftest.err conftest.$ac_objext \
18129 conftest$ac_exeext conftest.$ac_ext
18131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18133 if test `eval echo '${'$as_ac_var'}'` = yes; then
18134 cat >>confdefs.h <<_ACEOF
18135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18146 for ac_func in snprintf vsnprintf gethostid getdomainname
18148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18149 echo "$as_me:$LINENO: checking for $ac_func" >&5
18150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18151 if eval "test \"\${$as_ac_var+set}\" = set"; then
18152 echo $ECHO_N "(cached) $ECHO_C" >&6
18154 cat >conftest.$ac_ext <<_ACEOF
18157 cat confdefs.h >>conftest.$ac_ext
18158 cat >>conftest.$ac_ext <<_ACEOF
18159 /* end confdefs.h. */
18160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18162 #define $ac_func innocuous_$ac_func
18164 /* System header to define __stub macros and hopefully few prototypes,
18165 which can conflict with char $ac_func (); below.
18166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18167 <limits.h> exists even on freestanding compilers. */
18170 # include <limits.h>
18172 # include <assert.h>
18177 /* Override any gcc2 internal prototype to avoid an error. */
18182 /* We use char because int might match the return type of a gcc2
18183 builtin and then its argument prototype would still apply. */
18185 /* The GNU C library defines this for functions which it implements
18186 to always fail with ENOSYS. Some functions are actually named
18187 something starting with __ and the normal name is an alias. */
18188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18191 char (*f) () = $ac_func;
18200 return f != $ac_func;
18205 rm -f conftest.$ac_objext conftest$ac_exeext
18206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18207 (eval $ac_link) 2>conftest.er1
18209 grep -v '^ *+' conftest.er1 >conftest.err
18211 cat conftest.err >&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); } &&
18214 { ac_try='test -z "$ac_c_werror_flag"
18215 || test ! -s conftest.err'
18216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18217 (eval $ac_try) 2>&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); }; } &&
18221 { ac_try='test -s conftest$ac_exeext'
18222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18223 (eval $ac_try) 2>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); }; }; then
18227 eval "$as_ac_var=yes"
18229 echo "$as_me: failed program was:" >&5
18230 sed 's/^/| /' conftest.$ac_ext >&5
18232 eval "$as_ac_var=no"
18234 rm -f conftest.err conftest.$ac_objext \
18235 conftest$ac_exeext conftest.$ac_ext
18237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18239 if test `eval echo '${'$as_ac_var'}'` = yes; then
18240 cat >>confdefs.h <<_ACEOF
18241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18252 for ac_func in localtime_r readdir_r strerror_r gethostbyname_r
18254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18255 echo "$as_me:$LINENO: checking for $ac_func" >&5
18256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18257 if eval "test \"\${$as_ac_var+set}\" = set"; then
18258 echo $ECHO_N "(cached) $ECHO_C" >&6
18260 cat >conftest.$ac_ext <<_ACEOF
18263 cat confdefs.h >>conftest.$ac_ext
18264 cat >>conftest.$ac_ext <<_ACEOF
18265 /* end confdefs.h. */
18266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18268 #define $ac_func innocuous_$ac_func
18270 /* System header to define __stub macros and hopefully few prototypes,
18271 which can conflict with char $ac_func (); below.
18272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18273 <limits.h> exists even on freestanding compilers. */
18276 # include <limits.h>
18278 # include <assert.h>
18283 /* Override any gcc2 internal prototype to avoid an error. */
18288 /* We use char because int might match the return type of a gcc2
18289 builtin and then its argument prototype would still apply. */
18291 /* The GNU C library defines this for functions which it implements
18292 to always fail with ENOSYS. Some functions are actually named
18293 something starting with __ and the normal name is an alias. */
18294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18297 char (*f) () = $ac_func;
18306 return f != $ac_func;
18311 rm -f conftest.$ac_objext conftest$ac_exeext
18312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18313 (eval $ac_link) 2>conftest.er1
18315 grep -v '^ *+' conftest.er1 >conftest.err
18317 cat conftest.err >&5
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); } &&
18320 { ac_try='test -z "$ac_c_werror_flag"
18321 || test ! -s conftest.err'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; } &&
18327 { ac_try='test -s conftest$ac_exeext'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; }; then
18333 eval "$as_ac_var=yes"
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18338 eval "$as_ac_var=no"
18340 rm -f conftest.err conftest.$ac_objext \
18341 conftest$ac_exeext conftest.$ac_ext
18343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18345 if test `eval echo '${'$as_ac_var'}'` = yes; then
18346 cat >>confdefs.h <<_ACEOF
18347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18354 # If resolver functions are not in libc check for -lnsl or -lresolv.
18355 echo "$as_me:$LINENO: checking for gethostbyname_r" >&5
18356 echo $ECHO_N "checking for gethostbyname_r... $ECHO_C" >&6
18357 if test "${ac_cv_func_gethostbyname_r+set}" = set; then
18358 echo $ECHO_N "(cached) $ECHO_C" >&6
18360 cat >conftest.$ac_ext <<_ACEOF
18363 cat confdefs.h >>conftest.$ac_ext
18364 cat >>conftest.$ac_ext <<_ACEOF
18365 /* end confdefs.h. */
18366 /* Define gethostbyname_r to an innocuous variant, in case <limits.h> declares gethostbyname_r.
18367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18368 #define gethostbyname_r innocuous_gethostbyname_r
18370 /* System header to define __stub macros and hopefully few prototypes,
18371 which can conflict with char gethostbyname_r (); below.
18372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18373 <limits.h> exists even on freestanding compilers. */
18376 # include <limits.h>
18378 # include <assert.h>
18381 #undef gethostbyname_r
18383 /* Override any gcc2 internal prototype to avoid an error. */
18388 /* We use char because int might match the return type of a gcc2
18389 builtin and then its argument prototype would still apply. */
18390 char gethostbyname_r ();
18391 /* The GNU C library defines this for functions which it implements
18392 to always fail with ENOSYS. Some functions are actually named
18393 something starting with __ and the normal name is an alias. */
18394 #if defined (__stub_gethostbyname_r) || defined (__stub___gethostbyname_r)
18397 char (*f) () = gethostbyname_r;
18406 return f != gethostbyname_r;
18411 rm -f conftest.$ac_objext conftest$ac_exeext
18412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18413 (eval $ac_link) 2>conftest.er1
18415 grep -v '^ *+' conftest.er1 >conftest.err
18417 cat conftest.err >&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); } &&
18420 { ac_try='test -z "$ac_c_werror_flag"
18421 || test ! -s conftest.err'
18422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18423 (eval $ac_try) 2>&5
18425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426 (exit $ac_status); }; } &&
18427 { ac_try='test -s conftest$ac_exeext'
18428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18429 (eval $ac_try) 2>&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); }; }; then
18433 ac_cv_func_gethostbyname_r=yes
18435 echo "$as_me: failed program was:" >&5
18436 sed 's/^/| /' conftest.$ac_ext >&5
18438 ac_cv_func_gethostbyname_r=no
18440 rm -f conftest.err conftest.$ac_objext \
18441 conftest$ac_exeext conftest.$ac_ext
18443 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname_r" >&5
18444 echo "${ECHO_T}$ac_cv_func_gethostbyname_r" >&6
18445 if test $ac_cv_func_gethostbyname_r = yes; then
18446 echo "$as_me:$LINENO: result: using libc's resolver" >&5
18447 echo "${ECHO_T}using libc's resolver" >&6
18450 echo "$as_me:$LINENO: checking for gethostbyname_r in -lnsl" >&5
18451 echo $ECHO_N "checking for gethostbyname_r in -lnsl... $ECHO_C" >&6
18452 if test "${ac_cv_lib_nsl_gethostbyname_r+set}" = set; then
18453 echo $ECHO_N "(cached) $ECHO_C" >&6
18455 ac_check_lib_save_LIBS=$LIBS
18457 cat >conftest.$ac_ext <<_ACEOF
18460 cat confdefs.h >>conftest.$ac_ext
18461 cat >>conftest.$ac_ext <<_ACEOF
18462 /* end confdefs.h. */
18464 /* Override any gcc2 internal prototype to avoid an error. */
18468 /* We use char because int might match the return type of a gcc2
18469 builtin and then its argument prototype would still apply. */
18470 char gethostbyname_r ();
18474 gethostbyname_r ();
18479 rm -f conftest.$ac_objext conftest$ac_exeext
18480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18481 (eval $ac_link) 2>conftest.er1
18483 grep -v '^ *+' conftest.er1 >conftest.err
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } &&
18488 { ac_try='test -z "$ac_c_werror_flag"
18489 || test ! -s conftest.err'
18490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18491 (eval $ac_try) 2>&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); }; } &&
18495 { ac_try='test -s conftest$ac_exeext'
18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18497 (eval $ac_try) 2>&5
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); }; }; then
18501 ac_cv_lib_nsl_gethostbyname_r=yes
18503 echo "$as_me: failed program was:" >&5
18504 sed 's/^/| /' conftest.$ac_ext >&5
18506 ac_cv_lib_nsl_gethostbyname_r=no
18508 rm -f conftest.err conftest.$ac_objext \
18509 conftest$ac_exeext conftest.$ac_ext
18510 LIBS=$ac_check_lib_save_LIBS
18512 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname_r" >&5
18513 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname_r" >&6
18514 if test $ac_cv_lib_nsl_gethostbyname_r = yes; then
18515 cat >>confdefs.h <<_ACEOF
18516 #define HAVE_LIBNSL 1
18524 echo "$as_me:$LINENO: checking for gethostbyname_r in -lresolv" >&5
18525 echo $ECHO_N "checking for gethostbyname_r in -lresolv... $ECHO_C" >&6
18526 if test "${ac_cv_lib_resolv_gethostbyname_r+set}" = set; then
18527 echo $ECHO_N "(cached) $ECHO_C" >&6
18529 ac_check_lib_save_LIBS=$LIBS
18530 LIBS="-lresolv $LIBS"
18531 cat >conftest.$ac_ext <<_ACEOF
18534 cat confdefs.h >>conftest.$ac_ext
18535 cat >>conftest.$ac_ext <<_ACEOF
18536 /* end confdefs.h. */
18538 /* Override any gcc2 internal prototype to avoid an error. */
18542 /* We use char because int might match the return type of a gcc2
18543 builtin and then its argument prototype would still apply. */
18544 char gethostbyname_r ();
18548 gethostbyname_r ();
18553 rm -f conftest.$ac_objext conftest$ac_exeext
18554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18555 (eval $ac_link) 2>conftest.er1
18557 grep -v '^ *+' conftest.er1 >conftest.err
18559 cat conftest.err >&5
18560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18561 (exit $ac_status); } &&
18562 { ac_try='test -z "$ac_c_werror_flag"
18563 || test ! -s conftest.err'
18564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18565 (eval $ac_try) 2>&5
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); }; } &&
18569 { ac_try='test -s conftest$ac_exeext'
18570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18571 (eval $ac_try) 2>&5
18573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574 (exit $ac_status); }; }; then
18575 ac_cv_lib_resolv_gethostbyname_r=yes
18577 echo "$as_me: failed program was:" >&5
18578 sed 's/^/| /' conftest.$ac_ext >&5
18580 ac_cv_lib_resolv_gethostbyname_r=no
18582 rm -f conftest.err conftest.$ac_objext \
18583 conftest$ac_exeext conftest.$ac_ext
18584 LIBS=$ac_check_lib_save_LIBS
18586 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname_r" >&5
18587 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname_r" >&6
18588 if test $ac_cv_lib_resolv_gethostbyname_r = yes; then
18589 cat >>confdefs.h <<_ACEOF
18590 #define HAVE_LIBRESOLV 1
18593 LIBS="-lresolv $LIBS"
18603 for ac_func in inet_pton
18605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18606 echo "$as_me:$LINENO: checking for $ac_func" >&5
18607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18608 if eval "test \"\${$as_ac_var+set}\" = set"; then
18609 echo $ECHO_N "(cached) $ECHO_C" >&6
18611 cat >conftest.$ac_ext <<_ACEOF
18614 cat confdefs.h >>conftest.$ac_ext
18615 cat >>conftest.$ac_ext <<_ACEOF
18616 /* end confdefs.h. */
18617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18619 #define $ac_func innocuous_$ac_func
18621 /* System header to define __stub macros and hopefully few prototypes,
18622 which can conflict with char $ac_func (); below.
18623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18624 <limits.h> exists even on freestanding compilers. */
18627 # include <limits.h>
18629 # include <assert.h>
18634 /* Override any gcc2 internal prototype to avoid an error. */
18639 /* We use char because int might match the return type of a gcc2
18640 builtin and then its argument prototype would still apply. */
18642 /* The GNU C library defines this for functions which it implements
18643 to always fail with ENOSYS. Some functions are actually named
18644 something starting with __ and the normal name is an alias. */
18645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18648 char (*f) () = $ac_func;
18657 return f != $ac_func;
18662 rm -f conftest.$ac_objext conftest$ac_exeext
18663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18664 (eval $ac_link) 2>conftest.er1
18666 grep -v '^ *+' conftest.er1 >conftest.err
18668 cat conftest.err >&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); } &&
18671 { ac_try='test -z "$ac_c_werror_flag"
18672 || test ! -s conftest.err'
18673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18674 (eval $ac_try) 2>&5
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); }; } &&
18678 { ac_try='test -s conftest$ac_exeext'
18679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18680 (eval $ac_try) 2>&5
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); }; }; then
18684 eval "$as_ac_var=yes"
18686 echo "$as_me: failed program was:" >&5
18687 sed 's/^/| /' conftest.$ac_ext >&5
18689 eval "$as_ac_var=no"
18691 rm -f conftest.err conftest.$ac_objext \
18692 conftest$ac_exeext conftest.$ac_ext
18694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18696 if test `eval echo '${'$as_ac_var'}'` = yes; then
18697 cat >>confdefs.h <<_ACEOF
18698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18700 cat >>confdefs.h <<\_ACEOF
18701 #define HAVE_INET_PTON 1
18708 for ac_func in inet_ntop
18710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18711 echo "$as_me:$LINENO: checking for $ac_func" >&5
18712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18713 if eval "test \"\${$as_ac_var+set}\" = set"; then
18714 echo $ECHO_N "(cached) $ECHO_C" >&6
18716 cat >conftest.$ac_ext <<_ACEOF
18719 cat confdefs.h >>conftest.$ac_ext
18720 cat >>conftest.$ac_ext <<_ACEOF
18721 /* end confdefs.h. */
18722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18724 #define $ac_func innocuous_$ac_func
18726 /* System header to define __stub macros and hopefully few prototypes,
18727 which can conflict with char $ac_func (); below.
18728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18729 <limits.h> exists even on freestanding compilers. */
18732 # include <limits.h>
18734 # include <assert.h>
18739 /* Override any gcc2 internal prototype to avoid an error. */
18744 /* We use char because int might match the return type of a gcc2
18745 builtin and then its argument prototype would still apply. */
18747 /* The GNU C library defines this for functions which it implements
18748 to always fail with ENOSYS. Some functions are actually named
18749 something starting with __ and the normal name is an alias. */
18750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18753 char (*f) () = $ac_func;
18762 return f != $ac_func;
18767 rm -f conftest.$ac_objext conftest$ac_exeext
18768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18769 (eval $ac_link) 2>conftest.er1
18771 grep -v '^ *+' conftest.er1 >conftest.err
18773 cat conftest.err >&5
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); } &&
18776 { ac_try='test -z "$ac_c_werror_flag"
18777 || test ! -s conftest.err'
18778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18779 (eval $ac_try) 2>&5
18781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18782 (exit $ac_status); }; } &&
18783 { ac_try='test -s conftest$ac_exeext'
18784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18785 (eval $ac_try) 2>&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); }; }; then
18789 eval "$as_ac_var=yes"
18791 echo "$as_me: failed program was:" >&5
18792 sed 's/^/| /' conftest.$ac_ext >&5
18794 eval "$as_ac_var=no"
18796 rm -f conftest.err conftest.$ac_objext \
18797 conftest$ac_exeext conftest.$ac_ext
18799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18801 if test `eval echo '${'$as_ac_var'}'` = yes; then
18802 cat >>confdefs.h <<_ACEOF
18803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18805 cat >>confdefs.h <<\_ACEOF
18806 #define HAVE_INET_NTOP 1
18813 for ac_func in gethostbyname2
18815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18816 echo "$as_me:$LINENO: checking for $ac_func" >&5
18817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18818 if eval "test \"\${$as_ac_var+set}\" = set"; then
18819 echo $ECHO_N "(cached) $ECHO_C" >&6
18821 cat >conftest.$ac_ext <<_ACEOF
18824 cat confdefs.h >>conftest.$ac_ext
18825 cat >>conftest.$ac_ext <<_ACEOF
18826 /* end confdefs.h. */
18827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18829 #define $ac_func innocuous_$ac_func
18831 /* System header to define __stub macros and hopefully few prototypes,
18832 which can conflict with char $ac_func (); below.
18833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18834 <limits.h> exists even on freestanding compilers. */
18837 # include <limits.h>
18839 # include <assert.h>
18844 /* Override any gcc2 internal prototype to avoid an error. */
18849 /* We use char because int might match the return type of a gcc2
18850 builtin and then its argument prototype would still apply. */
18852 /* The GNU C library defines this for functions which it implements
18853 to always fail with ENOSYS. Some functions are actually named
18854 something starting with __ and the normal name is an alias. */
18855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18858 char (*f) () = $ac_func;
18867 return f != $ac_func;
18872 rm -f conftest.$ac_objext conftest$ac_exeext
18873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18874 (eval $ac_link) 2>conftest.er1
18876 grep -v '^ *+' conftest.er1 >conftest.err
18878 cat conftest.err >&5
18879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880 (exit $ac_status); } &&
18881 { ac_try='test -z "$ac_c_werror_flag"
18882 || test ! -s conftest.err'
18883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18884 (eval $ac_try) 2>&5
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); }; } &&
18888 { ac_try='test -s conftest$ac_exeext'
18889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18890 (eval $ac_try) 2>&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); }; }; then
18894 eval "$as_ac_var=yes"
18896 echo "$as_me: failed program was:" >&5
18897 sed 's/^/| /' conftest.$ac_ext >&5
18899 eval "$as_ac_var=no"
18901 rm -f conftest.err conftest.$ac_objext \
18902 conftest$ac_exeext conftest.$ac_ext
18904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18906 if test `eval echo '${'$as_ac_var'}'` = yes; then
18907 cat >>confdefs.h <<_ACEOF
18908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18910 cat >>confdefs.h <<\_ACEOF
18911 #define HAVE_GETHOSTBYNAME2 1
18918 echo "$as_me:$LINENO: checking for struct sockaddr has a sa_len field" >&5
18919 echo $ECHO_N "checking for struct sockaddr has a sa_len field... $ECHO_C" >&6
18920 if test "${ac_cv_struct_sockaddr_sa_len+set}" = set; then
18921 echo $ECHO_N "(cached) $ECHO_C" >&6
18923 cat >conftest.$ac_ext <<_ACEOF
18926 cat confdefs.h >>conftest.$ac_ext
18927 cat >>conftest.$ac_ext <<_ACEOF
18928 /* end confdefs.h. */
18929 #include <sys/socket.h>
18933 struct sockaddr s; s.sa_len;
18938 rm -f conftest.$ac_objext
18939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18940 (eval $ac_compile) 2>conftest.er1
18942 grep -v '^ *+' conftest.er1 >conftest.err
18944 cat conftest.err >&5
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); } &&
18947 { ac_try='test -z "$ac_c_werror_flag"
18948 || test ! -s conftest.err'
18949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18950 (eval $ac_try) 2>&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); }; } &&
18954 { ac_try='test -s conftest.$ac_objext'
18955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18956 (eval $ac_try) 2>&5
18958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18959 (exit $ac_status); }; }; then
18960 ac_cv_struct_sockaddr_sa_len=yes
18962 echo "$as_me: failed program was:" >&5
18963 sed 's/^/| /' conftest.$ac_ext >&5
18965 ac_cv_struct_sockaddr_sa_len=no
18967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18969 echo "$as_me:$LINENO: result: $ac_cv_struct_sockaddr_sa_len" >&5
18970 echo "${ECHO_T}$ac_cv_struct_sockaddr_sa_len" >&6
18972 if test $ac_cv_struct_sockaddr_sa_len = yes; then
18974 cat >>confdefs.h <<\_ACEOF
18975 #define HAVE_SA_LEN 1
18981 echo "$as_me:$LINENO: checking for IPv6 support" >&5
18982 echo $ECHO_N "checking for IPv6 support... $ECHO_C" >&6
18983 if test "${ac_cv_ipv6_support+set}" = set; then
18984 echo $ECHO_N "(cached) $ECHO_C" >&6
18986 cat >conftest.$ac_ext <<_ACEOF
18989 cat confdefs.h >>conftest.$ac_ext
18990 cat >>conftest.$ac_ext <<_ACEOF
18991 /* end confdefs.h. */
18992 #include <sys/types.h>
18993 #include <sys/socket.h>
18994 #include <netinet/in.h>
18998 struct sockaddr_in6 s; struct in6_addr t=in6addr_any; int i=AF_INET6; s; t.s6_addr[0] =
19004 rm -f conftest.$ac_objext conftest$ac_exeext
19005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19006 (eval $ac_link) 2>conftest.er1
19008 grep -v '^ *+' conftest.er1 >conftest.err
19010 cat conftest.err >&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } &&
19013 { ac_try='test -z "$ac_c_werror_flag"
19014 || test ! -s conftest.err'
19015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19016 (eval $ac_try) 2>&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); }; } &&
19020 { ac_try='test -s conftest$ac_exeext'
19021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022 (eval $ac_try) 2>&5
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); }; }; then
19026 ac_cv_ipv6_support=yes
19028 echo "$as_me: failed program was:" >&5
19029 sed 's/^/| /' conftest.$ac_ext >&5
19031 ac_cv_ipv6_support=no
19033 rm -f conftest.err conftest.$ac_objext \
19034 conftest$ac_exeext conftest.$ac_ext
19036 echo "$as_me:$LINENO: result: $ac_cv_ipv6_support" >&5
19037 echo "${ECHO_T}$ac_cv_ipv6_support" >&6
19039 if test "$ac_cv_ipv6_support" = yes; then
19041 cat >>confdefs.h <<\_ACEOF
19042 #define HAVE_IPV6 1
19050 for ac_func in strftime
19052 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19053 echo "$as_me:$LINENO: checking for $ac_func" >&5
19054 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19055 if eval "test \"\${$as_ac_var+set}\" = set"; then
19056 echo $ECHO_N "(cached) $ECHO_C" >&6
19058 cat >conftest.$ac_ext <<_ACEOF
19061 cat confdefs.h >>conftest.$ac_ext
19062 cat >>conftest.$ac_ext <<_ACEOF
19063 /* end confdefs.h. */
19064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19066 #define $ac_func innocuous_$ac_func
19068 /* System header to define __stub macros and hopefully few prototypes,
19069 which can conflict with char $ac_func (); below.
19070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19071 <limits.h> exists even on freestanding compilers. */
19074 # include <limits.h>
19076 # include <assert.h>
19081 /* Override any gcc2 internal prototype to avoid an error. */
19086 /* We use char because int might match the return type of a gcc2
19087 builtin and then its argument prototype would still apply. */
19089 /* The GNU C library defines this for functions which it implements
19090 to always fail with ENOSYS. Some functions are actually named
19091 something starting with __ and the normal name is an alias. */
19092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19095 char (*f) () = $ac_func;
19104 return f != $ac_func;
19109 rm -f conftest.$ac_objext conftest$ac_exeext
19110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19111 (eval $ac_link) 2>conftest.er1
19113 grep -v '^ *+' conftest.er1 >conftest.err
19115 cat conftest.err >&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); } &&
19118 { ac_try='test -z "$ac_c_werror_flag"
19119 || test ! -s conftest.err'
19120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19121 (eval $ac_try) 2>&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); }; } &&
19125 { ac_try='test -s conftest$ac_exeext'
19126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19127 (eval $ac_try) 2>&5
19129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130 (exit $ac_status); }; }; then
19131 eval "$as_ac_var=yes"
19133 echo "$as_me: failed program was:" >&5
19134 sed 's/^/| /' conftest.$ac_ext >&5
19136 eval "$as_ac_var=no"
19138 rm -f conftest.err conftest.$ac_objext \
19139 conftest$ac_exeext conftest.$ac_ext
19141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19143 if test `eval echo '${'$as_ac_var'}'` = yes; then
19144 cat >>confdefs.h <<_ACEOF
19145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19149 # strftime is in -lintl on SCO UNIX.
19150 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
19151 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
19152 if test "${ac_cv_lib_intl_strftime+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19155 ac_check_lib_save_LIBS=$LIBS
19156 LIBS="-lintl $LIBS"
19157 cat >conftest.$ac_ext <<_ACEOF
19160 cat confdefs.h >>conftest.$ac_ext
19161 cat >>conftest.$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19164 /* Override any gcc2 internal prototype to avoid an error. */
19168 /* We use char because int might match the return type of a gcc2
19169 builtin and then its argument prototype would still apply. */
19179 rm -f conftest.$ac_objext conftest$ac_exeext
19180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19181 (eval $ac_link) 2>conftest.er1
19183 grep -v '^ *+' conftest.er1 >conftest.err
19185 cat conftest.err >&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); } &&
19188 { ac_try='test -z "$ac_c_werror_flag"
19189 || test ! -s conftest.err'
19190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19191 (eval $ac_try) 2>&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); }; } &&
19195 { ac_try='test -s conftest$ac_exeext'
19196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197 (eval $ac_try) 2>&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); }; }; then
19201 ac_cv_lib_intl_strftime=yes
19203 echo "$as_me: failed program was:" >&5
19204 sed 's/^/| /' conftest.$ac_ext >&5
19206 ac_cv_lib_intl_strftime=no
19208 rm -f conftest.err conftest.$ac_objext \
19209 conftest$ac_exeext conftest.$ac_ext
19210 LIBS=$ac_check_lib_save_LIBS
19212 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
19213 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
19214 if test $ac_cv_lib_intl_strftime = yes; then
19215 cat >>confdefs.h <<\_ACEOF
19216 #define HAVE_STRFTIME 1
19219 LIBS="-lintl $LIBS"
19226 for ac_func in vprintf
19228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19229 echo "$as_me:$LINENO: checking for $ac_func" >&5
19230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19231 if eval "test \"\${$as_ac_var+set}\" = set"; then
19232 echo $ECHO_N "(cached) $ECHO_C" >&6
19234 cat >conftest.$ac_ext <<_ACEOF
19237 cat confdefs.h >>conftest.$ac_ext
19238 cat >>conftest.$ac_ext <<_ACEOF
19239 /* end confdefs.h. */
19240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19242 #define $ac_func innocuous_$ac_func
19244 /* System header to define __stub macros and hopefully few prototypes,
19245 which can conflict with char $ac_func (); below.
19246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19247 <limits.h> exists even on freestanding compilers. */
19250 # include <limits.h>
19252 # include <assert.h>
19257 /* Override any gcc2 internal prototype to avoid an error. */
19262 /* We use char because int might match the return type of a gcc2
19263 builtin and then its argument prototype would still apply. */
19265 /* The GNU C library defines this for functions which it implements
19266 to always fail with ENOSYS. Some functions are actually named
19267 something starting with __ and the normal name is an alias. */
19268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19271 char (*f) () = $ac_func;
19280 return f != $ac_func;
19285 rm -f conftest.$ac_objext conftest$ac_exeext
19286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19287 (eval $ac_link) 2>conftest.er1
19289 grep -v '^ *+' conftest.er1 >conftest.err
19291 cat conftest.err >&5
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); } &&
19294 { ac_try='test -z "$ac_c_werror_flag"
19295 || test ! -s conftest.err'
19296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19297 (eval $ac_try) 2>&5
19299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19300 (exit $ac_status); }; } &&
19301 { ac_try='test -s conftest$ac_exeext'
19302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19303 (eval $ac_try) 2>&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); }; }; then
19307 eval "$as_ac_var=yes"
19309 echo "$as_me: failed program was:" >&5
19310 sed 's/^/| /' conftest.$ac_ext >&5
19312 eval "$as_ac_var=no"
19314 rm -f conftest.err conftest.$ac_objext \
19315 conftest$ac_exeext conftest.$ac_ext
19317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19319 if test `eval echo '${'$as_ac_var'}'` = yes; then
19320 cat >>confdefs.h <<_ACEOF
19321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19324 echo "$as_me:$LINENO: checking for _doprnt" >&5
19325 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
19326 if test "${ac_cv_func__doprnt+set}" = set; then
19327 echo $ECHO_N "(cached) $ECHO_C" >&6
19329 cat >conftest.$ac_ext <<_ACEOF
19332 cat confdefs.h >>conftest.$ac_ext
19333 cat >>conftest.$ac_ext <<_ACEOF
19334 /* end confdefs.h. */
19335 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
19336 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19337 #define _doprnt innocuous__doprnt
19339 /* System header to define __stub macros and hopefully few prototypes,
19340 which can conflict with char _doprnt (); below.
19341 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19342 <limits.h> exists even on freestanding compilers. */
19345 # include <limits.h>
19347 # include <assert.h>
19352 /* Override any gcc2 internal prototype to avoid an error. */
19357 /* We use char because int might match the return type of a gcc2
19358 builtin and then its argument prototype would still apply. */
19360 /* The GNU C library defines this for functions which it implements
19361 to always fail with ENOSYS. Some functions are actually named
19362 something starting with __ and the normal name is an alias. */
19363 #if defined (__stub__doprnt) || defined (__stub____doprnt)
19366 char (*f) () = _doprnt;
19375 return f != _doprnt;
19380 rm -f conftest.$ac_objext conftest$ac_exeext
19381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19382 (eval $ac_link) 2>conftest.er1
19384 grep -v '^ *+' conftest.er1 >conftest.err
19386 cat conftest.err >&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } &&
19389 { ac_try='test -z "$ac_c_werror_flag"
19390 || test ! -s conftest.err'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; } &&
19396 { ac_try='test -s conftest$ac_exeext'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; }; then
19402 ac_cv_func__doprnt=yes
19404 echo "$as_me: failed program was:" >&5
19405 sed 's/^/| /' conftest.$ac_ext >&5
19407 ac_cv_func__doprnt=no
19409 rm -f conftest.err conftest.$ac_objext \
19410 conftest$ac_exeext conftest.$ac_ext
19412 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
19413 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
19414 if test $ac_cv_func__doprnt = yes; then
19416 cat >>confdefs.h <<\_ACEOF
19417 #define HAVE_DOPRNT 1
19426 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
19427 # for constant arguments. Useless!
19428 echo "$as_me:$LINENO: checking for working alloca.h" >&5
19429 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
19430 if test "${ac_cv_working_alloca_h+set}" = set; then
19431 echo $ECHO_N "(cached) $ECHO_C" >&6
19433 cat >conftest.$ac_ext <<_ACEOF
19436 cat confdefs.h >>conftest.$ac_ext
19437 cat >>conftest.$ac_ext <<_ACEOF
19438 /* end confdefs.h. */
19439 #include <alloca.h>
19443 char *p = (char *) alloca (2 * sizeof (int));
19448 rm -f conftest.$ac_objext conftest$ac_exeext
19449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19450 (eval $ac_link) 2>conftest.er1
19452 grep -v '^ *+' conftest.er1 >conftest.err
19454 cat conftest.err >&5
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); } &&
19457 { ac_try='test -z "$ac_c_werror_flag"
19458 || test ! -s conftest.err'
19459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19460 (eval $ac_try) 2>&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); }; } &&
19464 { ac_try='test -s conftest$ac_exeext'
19465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19466 (eval $ac_try) 2>&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); }; }; then
19470 ac_cv_working_alloca_h=yes
19472 echo "$as_me: failed program was:" >&5
19473 sed 's/^/| /' conftest.$ac_ext >&5
19475 ac_cv_working_alloca_h=no
19477 rm -f conftest.err conftest.$ac_objext \
19478 conftest$ac_exeext conftest.$ac_ext
19480 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
19481 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
19482 if test $ac_cv_working_alloca_h = yes; then
19484 cat >>confdefs.h <<\_ACEOF
19485 #define HAVE_ALLOCA_H 1
19490 echo "$as_me:$LINENO: checking for alloca" >&5
19491 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
19492 if test "${ac_cv_func_alloca_works+set}" = set; then
19493 echo $ECHO_N "(cached) $ECHO_C" >&6
19495 cat >conftest.$ac_ext <<_ACEOF
19498 cat confdefs.h >>conftest.$ac_ext
19499 cat >>conftest.$ac_ext <<_ACEOF
19500 /* end confdefs.h. */
19502 # define alloca __builtin_alloca
19505 # include <malloc.h>
19506 # define alloca _alloca
19509 # include <alloca.h>
19514 # ifndef alloca /* predefined by HP cc +Olibcalls */
19525 char *p = (char *) alloca (1);
19530 rm -f conftest.$ac_objext conftest$ac_exeext
19531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19532 (eval $ac_link) 2>conftest.er1
19534 grep -v '^ *+' conftest.er1 >conftest.err
19536 cat conftest.err >&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); } &&
19539 { ac_try='test -z "$ac_c_werror_flag"
19540 || test ! -s conftest.err'
19541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19542 (eval $ac_try) 2>&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); }; } &&
19546 { ac_try='test -s conftest$ac_exeext'
19547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19548 (eval $ac_try) 2>&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); }; }; then
19552 ac_cv_func_alloca_works=yes
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.$ac_ext >&5
19557 ac_cv_func_alloca_works=no
19559 rm -f conftest.err conftest.$ac_objext \
19560 conftest$ac_exeext conftest.$ac_ext
19562 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
19563 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
19565 if test $ac_cv_func_alloca_works = yes; then
19567 cat >>confdefs.h <<\_ACEOF
19568 #define HAVE_ALLOCA 1
19572 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
19573 # that cause trouble. Some versions do not even contain alloca or
19574 # contain a buggy version. If you still want to use their alloca,
19575 # use ar to extract alloca.o from them instead of compiling alloca.c.
19577 ALLOCA=alloca.$ac_objext
19579 cat >>confdefs.h <<\_ACEOF
19584 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
19585 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
19586 if test "${ac_cv_os_cray+set}" = set; then
19587 echo $ECHO_N "(cached) $ECHO_C" >&6
19589 cat >conftest.$ac_ext <<_ACEOF
19592 cat confdefs.h >>conftest.$ac_ext
19593 cat >>conftest.$ac_ext <<_ACEOF
19594 /* end confdefs.h. */
19595 #if defined(CRAY) && ! defined(CRAY2)
19602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19603 $EGREP "webecray" >/dev/null 2>&1; then
19611 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
19612 echo "${ECHO_T}$ac_cv_os_cray" >&6
19613 if test $ac_cv_os_cray = yes; then
19614 for ac_func in _getb67 GETB67 getb67; do
19615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19616 echo "$as_me:$LINENO: checking for $ac_func" >&5
19617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19618 if eval "test \"\${$as_ac_var+set}\" = set"; then
19619 echo $ECHO_N "(cached) $ECHO_C" >&6
19621 cat >conftest.$ac_ext <<_ACEOF
19624 cat confdefs.h >>conftest.$ac_ext
19625 cat >>conftest.$ac_ext <<_ACEOF
19626 /* end confdefs.h. */
19627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19629 #define $ac_func innocuous_$ac_func
19631 /* System header to define __stub macros and hopefully few prototypes,
19632 which can conflict with char $ac_func (); below.
19633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19634 <limits.h> exists even on freestanding compilers. */
19637 # include <limits.h>
19639 # include <assert.h>
19644 /* Override any gcc2 internal prototype to avoid an error. */
19649 /* We use char because int might match the return type of a gcc2
19650 builtin and then its argument prototype would still apply. */
19652 /* The GNU C library defines this for functions which it implements
19653 to always fail with ENOSYS. Some functions are actually named
19654 something starting with __ and the normal name is an alias. */
19655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19658 char (*f) () = $ac_func;
19667 return f != $ac_func;
19672 rm -f conftest.$ac_objext conftest$ac_exeext
19673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19674 (eval $ac_link) 2>conftest.er1
19676 grep -v '^ *+' conftest.er1 >conftest.err
19678 cat conftest.err >&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); } &&
19681 { ac_try='test -z "$ac_c_werror_flag"
19682 || test ! -s conftest.err'
19683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19684 (eval $ac_try) 2>&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); }; } &&
19688 { ac_try='test -s conftest$ac_exeext'
19689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19690 (eval $ac_try) 2>&5
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); }; }; then
19694 eval "$as_ac_var=yes"
19696 echo "$as_me: failed program was:" >&5
19697 sed 's/^/| /' conftest.$ac_ext >&5
19699 eval "$as_ac_var=no"
19701 rm -f conftest.err conftest.$ac_objext \
19702 conftest$ac_exeext conftest.$ac_ext
19704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19706 if test `eval echo '${'$as_ac_var'}'` = yes; then
19708 cat >>confdefs.h <<_ACEOF
19709 #define CRAY_STACKSEG_END $ac_func
19718 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
19719 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
19720 if test "${ac_cv_c_stack_direction+set}" = set; then
19721 echo $ECHO_N "(cached) $ECHO_C" >&6
19723 if test "$cross_compiling" = yes; then
19724 ac_cv_c_stack_direction=0
19726 cat >conftest.$ac_ext <<_ACEOF
19729 cat confdefs.h >>conftest.$ac_ext
19730 cat >>conftest.$ac_ext <<_ACEOF
19731 /* end confdefs.h. */
19733 find_stack_direction ()
19735 static char *addr = 0;
19740 return find_stack_direction ();
19743 return (&dummy > addr) ? 1 : -1;
19749 exit (find_stack_direction () < 0);
19752 rm -f conftest$ac_exeext
19753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19754 (eval $ac_link) 2>&5
19756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19757 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19759 (eval $ac_try) 2>&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); }; }; then
19763 ac_cv_c_stack_direction=1
19765 echo "$as_me: program exited with status $ac_status" >&5
19766 echo "$as_me: failed program was:" >&5
19767 sed 's/^/| /' conftest.$ac_ext >&5
19769 ( exit $ac_status )
19770 ac_cv_c_stack_direction=-1
19772 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19775 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
19776 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
19778 cat >>confdefs.h <<_ACEOF
19779 #define STACK_DIRECTION $ac_cv_c_stack_direction
19785 # getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
19786 echo "$as_me:$LINENO: checking for getmntent in -lsun" >&5
19787 echo $ECHO_N "checking for getmntent in -lsun... $ECHO_C" >&6
19788 if test "${ac_cv_lib_sun_getmntent+set}" = set; then
19789 echo $ECHO_N "(cached) $ECHO_C" >&6
19791 ac_check_lib_save_LIBS=$LIBS
19793 cat >conftest.$ac_ext <<_ACEOF
19796 cat confdefs.h >>conftest.$ac_ext
19797 cat >>conftest.$ac_ext <<_ACEOF
19798 /* end confdefs.h. */
19800 /* Override any gcc2 internal prototype to avoid an error. */
19804 /* We use char because int might match the return type of a gcc2
19805 builtin and then its argument prototype would still apply. */
19815 rm -f conftest.$ac_objext conftest$ac_exeext
19816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19817 (eval $ac_link) 2>conftest.er1
19819 grep -v '^ *+' conftest.er1 >conftest.err
19821 cat conftest.err >&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); } &&
19824 { ac_try='test -z "$ac_c_werror_flag"
19825 || test ! -s conftest.err'
19826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19827 (eval $ac_try) 2>&5
19829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19830 (exit $ac_status); }; } &&
19831 { ac_try='test -s conftest$ac_exeext'
19832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19833 (eval $ac_try) 2>&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); }; }; then
19837 ac_cv_lib_sun_getmntent=yes
19839 echo "$as_me: failed program was:" >&5
19840 sed 's/^/| /' conftest.$ac_ext >&5
19842 ac_cv_lib_sun_getmntent=no
19844 rm -f conftest.err conftest.$ac_objext \
19845 conftest$ac_exeext conftest.$ac_ext
19846 LIBS=$ac_check_lib_save_LIBS
19848 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getmntent" >&5
19849 echo "${ECHO_T}$ac_cv_lib_sun_getmntent" >&6
19850 if test $ac_cv_lib_sun_getmntent = yes; then
19853 echo "$as_me:$LINENO: checking for getmntent in -lseq" >&5
19854 echo $ECHO_N "checking for getmntent in -lseq... $ECHO_C" >&6
19855 if test "${ac_cv_lib_seq_getmntent+set}" = set; then
19856 echo $ECHO_N "(cached) $ECHO_C" >&6
19858 ac_check_lib_save_LIBS=$LIBS
19860 cat >conftest.$ac_ext <<_ACEOF
19863 cat confdefs.h >>conftest.$ac_ext
19864 cat >>conftest.$ac_ext <<_ACEOF
19865 /* end confdefs.h. */
19867 /* Override any gcc2 internal prototype to avoid an error. */
19871 /* We use char because int might match the return type of a gcc2
19872 builtin and then its argument prototype would still apply. */
19882 rm -f conftest.$ac_objext conftest$ac_exeext
19883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19884 (eval $ac_link) 2>conftest.er1
19886 grep -v '^ *+' conftest.er1 >conftest.err
19888 cat conftest.err >&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); } &&
19891 { ac_try='test -z "$ac_c_werror_flag"
19892 || test ! -s conftest.err'
19893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19894 (eval $ac_try) 2>&5
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); }; } &&
19898 { ac_try='test -s conftest$ac_exeext'
19899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19900 (eval $ac_try) 2>&5
19902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19903 (exit $ac_status); }; }; then
19904 ac_cv_lib_seq_getmntent=yes
19906 echo "$as_me: failed program was:" >&5
19907 sed 's/^/| /' conftest.$ac_ext >&5
19909 ac_cv_lib_seq_getmntent=no
19911 rm -f conftest.err conftest.$ac_objext \
19912 conftest$ac_exeext conftest.$ac_ext
19913 LIBS=$ac_check_lib_save_LIBS
19915 echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getmntent" >&5
19916 echo "${ECHO_T}$ac_cv_lib_seq_getmntent" >&6
19917 if test $ac_cv_lib_seq_getmntent = yes; then
19920 echo "$as_me:$LINENO: checking for getmntent in -lgen" >&5
19921 echo $ECHO_N "checking for getmntent in -lgen... $ECHO_C" >&6
19922 if test "${ac_cv_lib_gen_getmntent+set}" = set; then
19923 echo $ECHO_N "(cached) $ECHO_C" >&6
19925 ac_check_lib_save_LIBS=$LIBS
19927 cat >conftest.$ac_ext <<_ACEOF
19930 cat confdefs.h >>conftest.$ac_ext
19931 cat >>conftest.$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19934 /* Override any gcc2 internal prototype to avoid an error. */
19938 /* We use char because int might match the return type of a gcc2
19939 builtin and then its argument prototype would still apply. */
19949 rm -f conftest.$ac_objext conftest$ac_exeext
19950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19951 (eval $ac_link) 2>conftest.er1
19953 grep -v '^ *+' conftest.er1 >conftest.err
19955 cat conftest.err >&5
19956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19957 (exit $ac_status); } &&
19958 { ac_try='test -z "$ac_c_werror_flag"
19959 || test ! -s conftest.err'
19960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19961 (eval $ac_try) 2>&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); }; } &&
19965 { ac_try='test -s conftest$ac_exeext'
19966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19967 (eval $ac_try) 2>&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); }; }; then
19971 ac_cv_lib_gen_getmntent=yes
19973 echo "$as_me: failed program was:" >&5
19974 sed 's/^/| /' conftest.$ac_ext >&5
19976 ac_cv_lib_gen_getmntent=no
19978 rm -f conftest.err conftest.$ac_objext \
19979 conftest$ac_exeext conftest.$ac_ext
19980 LIBS=$ac_check_lib_save_LIBS
19982 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getmntent" >&5
19983 echo "${ECHO_T}$ac_cv_lib_gen_getmntent" >&6
19984 if test $ac_cv_lib_gen_getmntent = yes; then
19993 for ac_func in getmntent
19995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19996 echo "$as_me:$LINENO: checking for $ac_func" >&5
19997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19998 if eval "test \"\${$as_ac_var+set}\" = set"; then
19999 echo $ECHO_N "(cached) $ECHO_C" >&6
20001 cat >conftest.$ac_ext <<_ACEOF
20004 cat confdefs.h >>conftest.$ac_ext
20005 cat >>conftest.$ac_ext <<_ACEOF
20006 /* end confdefs.h. */
20007 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20008 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20009 #define $ac_func innocuous_$ac_func
20011 /* System header to define __stub macros and hopefully few prototypes,
20012 which can conflict with char $ac_func (); below.
20013 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20014 <limits.h> exists even on freestanding compilers. */
20017 # include <limits.h>
20019 # include <assert.h>
20024 /* Override any gcc2 internal prototype to avoid an error. */
20029 /* We use char because int might match the return type of a gcc2
20030 builtin and then its argument prototype would still apply. */
20032 /* The GNU C library defines this for functions which it implements
20033 to always fail with ENOSYS. Some functions are actually named
20034 something starting with __ and the normal name is an alias. */
20035 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20038 char (*f) () = $ac_func;
20047 return f != $ac_func;
20052 rm -f conftest.$ac_objext conftest$ac_exeext
20053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20054 (eval $ac_link) 2>conftest.er1
20056 grep -v '^ *+' conftest.er1 >conftest.err
20058 cat conftest.err >&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); } &&
20061 { ac_try='test -z "$ac_c_werror_flag"
20062 || test ! -s conftest.err'
20063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20064 (eval $ac_try) 2>&5
20066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20067 (exit $ac_status); }; } &&
20068 { ac_try='test -s conftest$ac_exeext'
20069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20070 (eval $ac_try) 2>&5
20072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073 (exit $ac_status); }; }; then
20074 eval "$as_ac_var=yes"
20076 echo "$as_me: failed program was:" >&5
20077 sed 's/^/| /' conftest.$ac_ext >&5
20079 eval "$as_ac_var=no"
20081 rm -f conftest.err conftest.$ac_objext \
20082 conftest$ac_exeext conftest.$ac_ext
20084 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20085 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20086 if test `eval echo '${'$as_ac_var'}'` = yes; then
20087 cat >>confdefs.h <<_ACEOF
20088 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20095 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
20096 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
20097 if test "${ac_cv_func_closedir_void+set}" = set; then
20098 echo $ECHO_N "(cached) $ECHO_C" >&6
20100 if test "$cross_compiling" = yes; then
20101 ac_cv_func_closedir_void=yes
20103 cat >conftest.$ac_ext <<_ACEOF
20106 cat confdefs.h >>conftest.$ac_ext
20107 cat >>conftest.$ac_ext <<_ACEOF
20108 /* end confdefs.h. */
20109 $ac_includes_default
20110 #include <$ac_header_dirent>
20111 #ifndef __cplusplus
20118 exit (closedir (opendir (".")) != 0);
20123 rm -f conftest$ac_exeext
20124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20125 (eval $ac_link) 2>&5
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20130 (eval $ac_try) 2>&5
20132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20133 (exit $ac_status); }; }; then
20134 ac_cv_func_closedir_void=no
20136 echo "$as_me: program exited with status $ac_status" >&5
20137 echo "$as_me: failed program was:" >&5
20138 sed 's/^/| /' conftest.$ac_ext >&5
20140 ( exit $ac_status )
20141 ac_cv_func_closedir_void=yes
20143 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20146 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
20147 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
20148 if test $ac_cv_func_closedir_void = yes; then
20150 cat >>confdefs.h <<\_ACEOF
20151 #define CLOSEDIR_VOID 1
20156 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
20157 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
20158 if test "${ac_cv_func_setpgrp_void+set}" = set; then
20159 echo $ECHO_N "(cached) $ECHO_C" >&6
20161 if test "$cross_compiling" = yes; then
20162 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
20163 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
20164 { (exit 1); exit 1; }; }
20166 cat >conftest.$ac_ext <<_ACEOF
20169 cat confdefs.h >>conftest.$ac_ext
20170 cat >>conftest.$ac_ext <<_ACEOF
20171 /* end confdefs.h. */
20173 # include <unistd.h>
20179 /* If this system has a BSD-style setpgrp which takes arguments,
20180 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
20181 exit successfully. */
20182 exit (setpgrp (1,1) == -1 ? 0 : 1);
20187 rm -f conftest$ac_exeext
20188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20189 (eval $ac_link) 2>&5
20191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20192 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20194 (eval $ac_try) 2>&5
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); }; }; then
20198 ac_cv_func_setpgrp_void=no
20200 echo "$as_me: program exited with status $ac_status" >&5
20201 echo "$as_me: failed program was:" >&5
20202 sed 's/^/| /' conftest.$ac_ext >&5
20204 ( exit $ac_status )
20205 ac_cv_func_setpgrp_void=yes
20207 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20210 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
20211 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
20212 if test $ac_cv_func_setpgrp_void = yes; then
20214 cat >>confdefs.h <<\_ACEOF
20215 #define SETPGRP_VOID 1
20219 # AC_FUNC_FNMATCH dnl use local version
20222 echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
20223 echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
20224 if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
20225 echo $ECHO_N "(cached) $ECHO_C" >&6
20227 ac_check_lib_save_LIBS=$LIBS
20228 LIBS="-lxpg4 $LIBS"
20229 cat >conftest.$ac_ext <<_ACEOF
20232 cat confdefs.h >>conftest.$ac_ext
20233 cat >>conftest.$ac_ext <<_ACEOF
20234 /* end confdefs.h. */
20236 /* Override any gcc2 internal prototype to avoid an error. */
20240 /* We use char because int might match the return type of a gcc2
20241 builtin and then its argument prototype would still apply. */
20251 rm -f conftest.$ac_objext conftest$ac_exeext
20252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20253 (eval $ac_link) 2>conftest.er1
20255 grep -v '^ *+' conftest.er1 >conftest.err
20257 cat conftest.err >&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); } &&
20260 { ac_try='test -z "$ac_c_werror_flag"
20261 || test ! -s conftest.err'
20262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20263 (eval $ac_try) 2>&5
20265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20266 (exit $ac_status); }; } &&
20267 { ac_try='test -s conftest$ac_exeext'
20268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20269 (eval $ac_try) 2>&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); }; }; then
20273 ac_cv_lib_xpg4_setlocale=yes
20275 echo "$as_me: failed program was:" >&5
20276 sed 's/^/| /' conftest.$ac_ext >&5
20278 ac_cv_lib_xpg4_setlocale=no
20280 rm -f conftest.err conftest.$ac_objext \
20281 conftest$ac_exeext conftest.$ac_ext
20282 LIBS=$ac_check_lib_save_LIBS
20284 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
20285 echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
20286 if test $ac_cv_lib_xpg4_setlocale = yes; then
20287 LIBS="$LIBS -lxpg4"
20293 echo "$as_me:$LINENO: checking for getpwnam in -lsun" >&5
20294 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6
20295 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then
20296 echo $ECHO_N "(cached) $ECHO_C" >&6
20298 ac_check_lib_save_LIBS=$LIBS
20300 cat >conftest.$ac_ext <<_ACEOF
20303 cat confdefs.h >>conftest.$ac_ext
20304 cat >>conftest.$ac_ext <<_ACEOF
20305 /* end confdefs.h. */
20307 /* Override any gcc2 internal prototype to avoid an error. */
20311 /* We use char because int might match the return type of a gcc2
20312 builtin and then its argument prototype would still apply. */
20322 rm -f conftest.$ac_objext conftest$ac_exeext
20323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20324 (eval $ac_link) 2>conftest.er1
20326 grep -v '^ *+' conftest.er1 >conftest.err
20328 cat conftest.err >&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); } &&
20331 { ac_try='test -z "$ac_c_werror_flag"
20332 || test ! -s conftest.err'
20333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20334 (eval $ac_try) 2>&5
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); }; } &&
20338 { ac_try='test -s conftest$ac_exeext'
20339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20340 (eval $ac_try) 2>&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); }; }; then
20344 ac_cv_lib_sun_getpwnam=yes
20346 echo "$as_me: failed program was:" >&5
20347 sed 's/^/| /' conftest.$ac_ext >&5
20349 ac_cv_lib_sun_getpwnam=no
20351 rm -f conftest.err conftest.$ac_objext \
20352 conftest$ac_exeext conftest.$ac_ext
20353 LIBS=$ac_check_lib_save_LIBS
20355 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5
20356 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6
20357 if test $ac_cv_lib_sun_getpwnam = yes; then
20358 cat >>confdefs.h <<_ACEOF
20359 #define HAVE_LIBSUN 1
20368 for ac_header in zlib.h
20370 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20372 echo "$as_me:$LINENO: checking for $ac_header" >&5
20373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20375 echo $ECHO_N "(cached) $ECHO_C" >&6
20377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20378 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20380 # Is the header compilable?
20381 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20382 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20383 cat >conftest.$ac_ext <<_ACEOF
20386 cat confdefs.h >>conftest.$ac_ext
20387 cat >>conftest.$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20389 $ac_includes_default
20390 #include <$ac_header>
20392 rm -f conftest.$ac_objext
20393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20394 (eval $ac_compile) 2>conftest.er1
20396 grep -v '^ *+' conftest.er1 >conftest.err
20398 cat conftest.err >&5
20399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20400 (exit $ac_status); } &&
20401 { ac_try='test -z "$ac_c_werror_flag"
20402 || test ! -s conftest.err'
20403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20404 (eval $ac_try) 2>&5
20406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20407 (exit $ac_status); }; } &&
20408 { ac_try='test -s conftest.$ac_objext'
20409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20410 (eval $ac_try) 2>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); }; }; then
20414 ac_header_compiler=yes
20416 echo "$as_me: failed program was:" >&5
20417 sed 's/^/| /' conftest.$ac_ext >&5
20419 ac_header_compiler=no
20421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20422 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20423 echo "${ECHO_T}$ac_header_compiler" >&6
20425 # Is the header present?
20426 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20427 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20428 cat >conftest.$ac_ext <<_ACEOF
20431 cat confdefs.h >>conftest.$ac_ext
20432 cat >>conftest.$ac_ext <<_ACEOF
20433 /* end confdefs.h. */
20434 #include <$ac_header>
20436 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20437 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20439 grep -v '^ *+' conftest.er1 >conftest.err
20441 cat conftest.err >&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); } >/dev/null; then
20444 if test -s conftest.err; then
20445 ac_cpp_err=$ac_c_preproc_warn_flag
20446 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20453 if test -z "$ac_cpp_err"; then
20454 ac_header_preproc=yes
20456 echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.$ac_ext >&5
20459 ac_header_preproc=no
20461 rm -f conftest.err conftest.$ac_ext
20462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20463 echo "${ECHO_T}$ac_header_preproc" >&6
20465 # So? What about this header?
20466 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20472 ac_header_preproc=yes
20475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20489 ## ------------------------------------------ ##
20490 ## Report this to the AC_PACKAGE_NAME lists. ##
20491 ## ------------------------------------------ ##
20494 sed "s/^/$as_me: WARNING: /" >&2
20497 echo "$as_me:$LINENO: checking for $ac_header" >&5
20498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20500 echo $ECHO_N "(cached) $ECHO_C" >&6
20502 eval "$as_ac_Header=\$ac_header_preproc"
20504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20509 cat >>confdefs.h <<_ACEOF
20510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20517 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20518 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20519 if test "${ac_cv_lib_z_deflate+set}" = set; then
20520 echo $ECHO_N "(cached) $ECHO_C" >&6
20522 ac_check_lib_save_LIBS=$LIBS
20524 cat >conftest.$ac_ext <<_ACEOF
20527 cat confdefs.h >>conftest.$ac_ext
20528 cat >>conftest.$ac_ext <<_ACEOF
20529 /* end confdefs.h. */
20531 /* Override any gcc2 internal prototype to avoid an error. */
20535 /* We use char because int might match the return type of a gcc2
20536 builtin and then its argument prototype would still apply. */
20546 rm -f conftest.$ac_objext conftest$ac_exeext
20547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20548 (eval $ac_link) 2>conftest.er1
20550 grep -v '^ *+' conftest.er1 >conftest.err
20552 cat conftest.err >&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } &&
20555 { ac_try='test -z "$ac_c_werror_flag"
20556 || test ! -s conftest.err'
20557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20558 (eval $ac_try) 2>&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); }; } &&
20562 { ac_try='test -s conftest$ac_exeext'
20563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20564 (eval $ac_try) 2>&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); }; }; then
20568 ac_cv_lib_z_deflate=yes
20570 echo "$as_me: failed program was:" >&5
20571 sed 's/^/| /' conftest.$ac_ext >&5
20573 ac_cv_lib_z_deflate=no
20575 rm -f conftest.err conftest.$ac_objext \
20576 conftest$ac_exeext conftest.$ac_ext
20577 LIBS=$ac_check_lib_save_LIBS
20579 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20580 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20581 if test $ac_cv_lib_z_deflate = yes; then
20586 if test x$FDLIBS = x-lz; then
20587 cat >>confdefs.h <<\_ACEOF
20588 #define HAVE_LIBZ 1
20594 if test "${ac_cv_header_sys_acl_h+set}" = set; then
20595 echo "$as_me:$LINENO: checking for sys/acl.h" >&5
20596 echo $ECHO_N "checking for sys/acl.h... $ECHO_C" >&6
20597 if test "${ac_cv_header_sys_acl_h+set}" = set; then
20598 echo $ECHO_N "(cached) $ECHO_C" >&6
20600 echo "$as_me:$LINENO: result: $ac_cv_header_sys_acl_h" >&5
20601 echo "${ECHO_T}$ac_cv_header_sys_acl_h" >&6
20603 # Is the header compilable?
20604 echo "$as_me:$LINENO: checking sys/acl.h usability" >&5
20605 echo $ECHO_N "checking sys/acl.h usability... $ECHO_C" >&6
20606 cat >conftest.$ac_ext <<_ACEOF
20609 cat confdefs.h >>conftest.$ac_ext
20610 cat >>conftest.$ac_ext <<_ACEOF
20611 /* end confdefs.h. */
20612 $ac_includes_default
20613 #include <sys/acl.h>
20615 rm -f conftest.$ac_objext
20616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20617 (eval $ac_compile) 2>conftest.er1
20619 grep -v '^ *+' conftest.er1 >conftest.err
20621 cat conftest.err >&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } &&
20624 { ac_try='test -z "$ac_c_werror_flag"
20625 || test ! -s conftest.err'
20626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20627 (eval $ac_try) 2>&5
20629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20630 (exit $ac_status); }; } &&
20631 { ac_try='test -s conftest.$ac_objext'
20632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20633 (eval $ac_try) 2>&5
20635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636 (exit $ac_status); }; }; then
20637 ac_header_compiler=yes
20639 echo "$as_me: failed program was:" >&5
20640 sed 's/^/| /' conftest.$ac_ext >&5
20642 ac_header_compiler=no
20644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20646 echo "${ECHO_T}$ac_header_compiler" >&6
20648 # Is the header present?
20649 echo "$as_me:$LINENO: checking sys/acl.h presence" >&5
20650 echo $ECHO_N "checking sys/acl.h presence... $ECHO_C" >&6
20651 cat >conftest.$ac_ext <<_ACEOF
20654 cat confdefs.h >>conftest.$ac_ext
20655 cat >>conftest.$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20657 #include <sys/acl.h>
20659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20660 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20662 grep -v '^ *+' conftest.er1 >conftest.err
20664 cat conftest.err >&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); } >/dev/null; then
20667 if test -s conftest.err; then
20668 ac_cpp_err=$ac_c_preproc_warn_flag
20669 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20676 if test -z "$ac_cpp_err"; then
20677 ac_header_preproc=yes
20679 echo "$as_me: failed program was:" >&5
20680 sed 's/^/| /' conftest.$ac_ext >&5
20682 ac_header_preproc=no
20684 rm -f conftest.err conftest.$ac_ext
20685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20686 echo "${ECHO_T}$ac_header_preproc" >&6
20688 # So? What about this header?
20689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20691 { echo "$as_me:$LINENO: WARNING: sys/acl.h: accepted by the compiler, rejected by the preprocessor!" >&5
20692 echo "$as_me: WARNING: sys/acl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20693 { echo "$as_me:$LINENO: WARNING: sys/acl.h: proceeding with the compiler's result" >&5
20694 echo "$as_me: WARNING: sys/acl.h: proceeding with the compiler's result" >&2;}
20695 ac_header_preproc=yes
20698 { echo "$as_me:$LINENO: WARNING: sys/acl.h: present but cannot be compiled" >&5
20699 echo "$as_me: WARNING: sys/acl.h: present but cannot be compiled" >&2;}
20700 { echo "$as_me:$LINENO: WARNING: sys/acl.h: check for missing prerequisite headers?" >&5
20701 echo "$as_me: WARNING: sys/acl.h: check for missing prerequisite headers?" >&2;}
20702 { echo "$as_me:$LINENO: WARNING: sys/acl.h: see the Autoconf documentation" >&5
20703 echo "$as_me: WARNING: sys/acl.h: see the Autoconf documentation" >&2;}
20704 { echo "$as_me:$LINENO: WARNING: sys/acl.h: section \"Present But Cannot Be Compiled\"" >&5
20705 echo "$as_me: WARNING: sys/acl.h: section \"Present But Cannot Be Compiled\"" >&2;}
20706 { echo "$as_me:$LINENO: WARNING: sys/acl.h: proceeding with the preprocessor's result" >&5
20707 echo "$as_me: WARNING: sys/acl.h: proceeding with the preprocessor's result" >&2;}
20708 { echo "$as_me:$LINENO: WARNING: sys/acl.h: in the future, the compiler will take precedence" >&5
20709 echo "$as_me: WARNING: sys/acl.h: in the future, the compiler will take precedence" >&2;}
20712 ## ------------------------------------------ ##
20713 ## Report this to the AC_PACKAGE_NAME lists. ##
20714 ## ------------------------------------------ ##
20717 sed "s/^/$as_me: WARNING: /" >&2
20720 echo "$as_me:$LINENO: checking for sys/acl.h" >&5
20721 echo $ECHO_N "checking for sys/acl.h... $ECHO_C" >&6
20722 if test "${ac_cv_header_sys_acl_h+set}" = set; then
20723 echo $ECHO_N "(cached) $ECHO_C" >&6
20725 ac_cv_header_sys_acl_h=$ac_header_preproc
20727 echo "$as_me:$LINENO: result: $ac_cv_header_sys_acl_h" >&5
20728 echo "${ECHO_T}$ac_cv_header_sys_acl_h" >&6
20733 echo "$as_me:$LINENO: checking for acl_get_file in -lacl" >&5
20734 echo $ECHO_N "checking for acl_get_file in -lacl... $ECHO_C" >&6
20735 if test "${ac_cv_lib_acl_acl_get_file+set}" = set; then
20736 echo $ECHO_N "(cached) $ECHO_C" >&6
20738 ac_check_lib_save_LIBS=$LIBS
20740 cat >conftest.$ac_ext <<_ACEOF
20743 cat confdefs.h >>conftest.$ac_ext
20744 cat >>conftest.$ac_ext <<_ACEOF
20745 /* end confdefs.h. */
20747 /* Override any gcc2 internal prototype to avoid an error. */
20751 /* We use char because int might match the return type of a gcc2
20752 builtin and then its argument prototype would still apply. */
20753 char acl_get_file ();
20762 rm -f conftest.$ac_objext conftest$ac_exeext
20763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20764 (eval $ac_link) 2>conftest.er1
20766 grep -v '^ *+' conftest.er1 >conftest.err
20768 cat conftest.err >&5
20769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20770 (exit $ac_status); } &&
20771 { ac_try='test -z "$ac_c_werror_flag"
20772 || test ! -s conftest.err'
20773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20774 (eval $ac_try) 2>&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; } &&
20778 { ac_try='test -s conftest$ac_exeext'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; }; then
20784 ac_cv_lib_acl_acl_get_file=yes
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20789 ac_cv_lib_acl_acl_get_file=no
20791 rm -f conftest.err conftest.$ac_objext \
20792 conftest$ac_exeext conftest.$ac_ext
20793 LIBS=$ac_check_lib_save_LIBS
20795 echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file" >&5
20796 echo "${ECHO_T}$ac_cv_lib_acl_acl_get_file" >&6
20797 if test $ac_cv_lib_acl_acl_get_file = yes; then
20798 FDLIBS="-lacl $FDLIBS"
20802 if test $ac_cv_lib_acl_acl_get_file = yes; then
20803 cat >>confdefs.h <<\_ACEOF
20811 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
20812 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
20813 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20816 ac_check_lib_save_LIBS=$LIBS
20817 LIBS="-lpthread $LIBS"
20818 cat >conftest.$ac_ext <<_ACEOF
20821 cat confdefs.h >>conftest.$ac_ext
20822 cat >>conftest.$ac_ext <<_ACEOF
20823 /* end confdefs.h. */
20825 /* Override any gcc2 internal prototype to avoid an error. */
20829 /* We use char because int might match the return type of a gcc2
20830 builtin and then its argument prototype would still apply. */
20831 char pthread_create ();
20840 rm -f conftest.$ac_objext conftest$ac_exeext
20841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20842 (eval $ac_link) 2>conftest.er1
20844 grep -v '^ *+' conftest.er1 >conftest.err
20846 cat conftest.err >&5
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); } &&
20849 { ac_try='test -z "$ac_c_werror_flag"
20850 || test ! -s conftest.err'
20851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20852 (eval $ac_try) 2>&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); }; } &&
20856 { ac_try='test -s conftest$ac_exeext'
20857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20858 (eval $ac_try) 2>&5
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); }; }; then
20862 ac_cv_lib_pthread_pthread_create=yes
20864 echo "$as_me: failed program was:" >&5
20865 sed 's/^/| /' conftest.$ac_ext >&5
20867 ac_cv_lib_pthread_pthread_create=no
20869 rm -f conftest.err conftest.$ac_objext \
20870 conftest$ac_exeext conftest.$ac_ext
20871 LIBS=$ac_check_lib_save_LIBS
20873 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
20874 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
20875 if test $ac_cv_lib_pthread_pthread_create = yes; then
20876 PTHREAD_LIB="-lpthread"
20878 echo "$as_me:$LINENO: checking for pthread_create in -lpthreads" >&5
20879 echo $ECHO_N "checking for pthread_create in -lpthreads... $ECHO_C" >&6
20880 if test "${ac_cv_lib_pthreads_pthread_create+set}" = set; then
20881 echo $ECHO_N "(cached) $ECHO_C" >&6
20883 ac_check_lib_save_LIBS=$LIBS
20884 LIBS="-lpthreads $LIBS"
20885 cat >conftest.$ac_ext <<_ACEOF
20888 cat confdefs.h >>conftest.$ac_ext
20889 cat >>conftest.$ac_ext <<_ACEOF
20890 /* end confdefs.h. */
20892 /* Override any gcc2 internal prototype to avoid an error. */
20896 /* We use char because int might match the return type of a gcc2
20897 builtin and then its argument prototype would still apply. */
20898 char pthread_create ();
20907 rm -f conftest.$ac_objext conftest$ac_exeext
20908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20909 (eval $ac_link) 2>conftest.er1
20911 grep -v '^ *+' conftest.er1 >conftest.err
20913 cat conftest.err >&5
20914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20915 (exit $ac_status); } &&
20916 { ac_try='test -z "$ac_c_werror_flag"
20917 || test ! -s conftest.err'
20918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20919 (eval $ac_try) 2>&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); }; } &&
20923 { ac_try='test -s conftest$ac_exeext'
20924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20925 (eval $ac_try) 2>&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); }; }; then
20929 ac_cv_lib_pthreads_pthread_create=yes
20931 echo "$as_me: failed program was:" >&5
20932 sed 's/^/| /' conftest.$ac_ext >&5
20934 ac_cv_lib_pthreads_pthread_create=no
20936 rm -f conftest.err conftest.$ac_objext \
20937 conftest$ac_exeext conftest.$ac_ext
20938 LIBS=$ac_check_lib_save_LIBS
20940 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_create" >&5
20941 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_create" >&6
20942 if test $ac_cv_lib_pthreads_pthread_create = yes; then
20943 PTHREAD_LIB="-lpthreads"
20945 echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
20946 echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6
20947 if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then
20948 echo $ECHO_N "(cached) $ECHO_C" >&6
20950 ac_check_lib_save_LIBS=$LIBS
20952 cat >conftest.$ac_ext <<_ACEOF
20955 cat confdefs.h >>conftest.$ac_ext
20956 cat >>conftest.$ac_ext <<_ACEOF
20957 /* end confdefs.h. */
20959 /* Override any gcc2 internal prototype to avoid an error. */
20963 /* We use char because int might match the return type of a gcc2
20964 builtin and then its argument prototype would still apply. */
20965 char pthread_create ();
20974 rm -f conftest.$ac_objext conftest$ac_exeext
20975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20976 (eval $ac_link) 2>conftest.er1
20978 grep -v '^ *+' conftest.er1 >conftest.err
20980 cat conftest.err >&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } &&
20983 { ac_try='test -z "$ac_c_werror_flag"
20984 || test ! -s conftest.err'
20985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20986 (eval $ac_try) 2>&5
20988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20989 (exit $ac_status); }; } &&
20990 { ac_try='test -s conftest$ac_exeext'
20991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20992 (eval $ac_try) 2>&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); }; }; then
20996 ac_cv_lib_c_r_pthread_create=yes
20998 echo "$as_me: failed program was:" >&5
20999 sed 's/^/| /' conftest.$ac_ext >&5
21001 ac_cv_lib_c_r_pthread_create=no
21003 rm -f conftest.err conftest.$ac_objext \
21004 conftest$ac_exeext conftest.$ac_ext
21005 LIBS=$ac_check_lib_save_LIBS
21007 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_create" >&5
21008 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_create" >&6
21009 if test $ac_cv_lib_c_r_pthread_create = yes; then
21010 PTHREAD_LIB="-lc_r"
21012 echo "$as_me:$LINENO: checking for pthread_create" >&5
21013 echo $ECHO_N "checking for pthread_create... $ECHO_C" >&6
21014 if test "${ac_cv_func_pthread_create+set}" = set; then
21015 echo $ECHO_N "(cached) $ECHO_C" >&6
21017 cat >conftest.$ac_ext <<_ACEOF
21020 cat confdefs.h >>conftest.$ac_ext
21021 cat >>conftest.$ac_ext <<_ACEOF
21022 /* end confdefs.h. */
21023 /* Define pthread_create to an innocuous variant, in case <limits.h> declares pthread_create.
21024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21025 #define pthread_create innocuous_pthread_create
21027 /* System header to define __stub macros and hopefully few prototypes,
21028 which can conflict with char pthread_create (); below.
21029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21030 <limits.h> exists even on freestanding compilers. */
21033 # include <limits.h>
21035 # include <assert.h>
21038 #undef pthread_create
21040 /* Override any gcc2 internal prototype to avoid an error. */
21045 /* We use char because int might match the return type of a gcc2
21046 builtin and then its argument prototype would still apply. */
21047 char pthread_create ();
21048 /* The GNU C library defines this for functions which it implements
21049 to always fail with ENOSYS. Some functions are actually named
21050 something starting with __ and the normal name is an alias. */
21051 #if defined (__stub_pthread_create) || defined (__stub___pthread_create)
21054 char (*f) () = pthread_create;
21063 return f != pthread_create;
21068 rm -f conftest.$ac_objext conftest$ac_exeext
21069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21070 (eval $ac_link) 2>conftest.er1
21072 grep -v '^ *+' conftest.er1 >conftest.err
21074 cat conftest.err >&5
21075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076 (exit $ac_status); } &&
21077 { ac_try='test -z "$ac_c_werror_flag"
21078 || test ! -s conftest.err'
21079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21080 (eval $ac_try) 2>&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); }; } &&
21084 { ac_try='test -s conftest$ac_exeext'
21085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21086 (eval $ac_try) 2>&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); }; }; then
21090 ac_cv_func_pthread_create=yes
21092 echo "$as_me: failed program was:" >&5
21093 sed 's/^/| /' conftest.$ac_ext >&5
21095 ac_cv_func_pthread_create=no
21097 rm -f conftest.err conftest.$ac_objext \
21098 conftest$ac_exeext conftest.$ac_ext
21100 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_create" >&5
21101 echo "${ECHO_T}$ac_cv_func_pthread_create" >&6
21114 cat >>confdefs.h <<\_ACEOF
21120 CFLAGS=${CFLAGS--O}
21121 LDFLAGS=${LDFLAGS--O}
21122 DB_LIBS="${SQL_LFLAGS}"
21124 CPPFLAGS="$CPPFLAGS"
21149 # Finally we set appropriate distribution specific
21150 # variables and defaults
21152 # PFILES are platform specific files
21153 PFILES="platforms/Makefile"
21157 hostname=`uname -n | cut -d '.' -f 1`
21158 case "$DISTNAME" in
21161 PSCMD="ps -e -o pid,comm"
21162 PFILES="${PFILES} \
21163 platforms/aix/Makefile"
21164 TAPEDRIVE="/dev/rmt0.1"
21168 PTHREAD_LIB="-lpthread -lexc"
21169 if test "${CC}" = "gcc" ; then
21176 TAPEDRIVE="/dev/nrmt0"
21179 DISTVER=`uname -a |awk '{print $3}'`
21180 TAPEDRIVE="/dev/nrmt0"
21181 PTHREAD_LIB="-pthread"
21182 CFLAGS="${CFLAGS} -pthread"
21183 PSCMD="ps -x -o pid,command"
21186 PFILES="${PFILES} \
21187 platforms/bsdi/Makefile \
21188 platforms/bsdi/bacula-fd \
21189 platforms/bsdi/bacula-sd \
21190 platforms/bsdi/bacula-dir"
21191 largefile_support="yes"
21194 DISTVER=`uname -a |awk '{print $3}'`
21195 TAPEDRIVE="/dev/nrst0"
21197 WCFLAGS="-mwindows"
21198 WLDFLAGS="-mwindows"
21202 TAPEDRIVE="/dev/nst0"
21203 PSCMD="ps -e -o pid,command"
21205 PFILES="${PFILES} \
21206 platforms/darwin/Makefile"
21209 DISTVER=`cat /etc/debian_version`
21210 TAPEDRIVE="/dev/nrst0"
21211 PSCMD="ps -e -o pid,command"
21214 DISTVER=`uname -a |awk '{print $3}'`
21215 VER=`echo $DISTVER | cut -c 1`
21216 if test x$VER = x4 ; then
21217 PTHREAD_LIB="-pthread"
21218 CFLAGS="${CFLAGS} -pthread"
21222 TAPEDRIVE="/dev/nrsa0"
21223 PSCMD="ps -x -o pid,command"
21224 PFILES="${PFILES} \
21225 platforms/freebsd/Makefile \
21226 platforms/freebsd/bacula-fd \
21227 platforms/freebsd/bacula-sd \
21228 platforms/freebsd/bacula-dir"
21229 largefile_support="yes"
21232 PSCMD="UNIX95=1 ps -e -o pid,comm"
21233 CFLAGS="$(CFLAGS) -D_XOPEN_SOURCE_EXTENDED=1"
21235 TAPEDRIVE="/dev/rmt/0hnb"
21239 TAPEDRIVE="/dev/rmt/0cbn"
21240 PSCMD="ps -e -o pid,comm"
21241 PFILES="${PFILES} \
21242 platforms/irix/Makefile \
21243 platforms/irix/bacula-fd \
21244 platforms/irix/bacula-sd \
21245 platforms/irix/bacula-dir"
21248 DISTVER=`uname -a |awk '{print $3}'`
21251 TAPEDRIVE="/dev/nrst0"
21252 PSCMD="ps -a -o pid,command"
21253 PTHREAD_LIB="-pthread"
21254 CFLAGS="${CFLAGS} -pthread"
21257 DISTVER=`uname -a |awk '{print $3}'`
21260 TAPEDRIVE="/dev/nrst0"
21261 PSCMD="ps -ax -o pid,command"
21262 PTHREAD_LIB="-pthread"
21263 CFLAGS="${CFLAGS} -pthread"
21264 PFILES="${PFILES} \
21265 platforms/openbsd/Makefile \
21266 platforms/openbsd/bacula-fd \
21267 platforms/openbsd/bacula-sd \
21268 platforms/openbsd/bacula-dir"
21271 if test -f /etc/whitebox-release ; then
21272 f=/etc/whitebox-release
21274 f=/etc/redhat-release
21276 if test `cat $f | grep release |\
21277 cut -f 3 -d ' '`x = "Enterprise"x ; then
21278 DISTVER="Enterprise "`cat $f | grep release |\
21281 DISTVER=`cat /etc/redhat-release | grep release |\
21284 TAPEDRIVE="/dev/nst0"
21285 PSCMD="ps -e -o pid,command"
21286 PFILES="${PFILES} \
21287 platforms/redhat/Makefile \
21288 platforms/redhat/bacula-fd \
21289 platforms/redhat/bacula-sd \
21290 platforms/redhat/bacula-dir \
21291 platforms/redhat/bacula.spec \
21293 hostname=`hostname -s`
21296 DISTVER=`cat /etc/mandrake-release | grep release |\
21298 TAPEDRIVE="/dev/nst0"
21299 PSCMD="ps -e -o pid,command"
21300 PFILES="${PFILES} \
21301 platforms/mandrake/Makefile \
21302 platforms/mandrake/bacula-fd \
21303 platforms/mandrake/bacula-sd \
21304 platforms/mandrake/bacula-dir \
21305 platforms/mandrake/bacula.spec \
21309 DISTVER=`awk '/version / {print $5}' < /etc/gentoo-release`
21310 TAPEDRIVE="/dev/nst0"
21311 PSCMD="ps -e -o pid,command"
21312 PFILES="${PFILES} \
21313 platforms/gentoo/Makefile \
21314 platforms/gentoo/bacula-init \
21315 platforms/gentoo/bacula-fd \
21316 platforms/gentoo/bacula-sd \
21317 platforms/gentoo/bacula-dir"
21320 DISTVER=`cat /etc/slackware-version`
21321 TAPEDRIVE="/dev/nst0"
21322 PSCMD="ps -e -o pid,command"
21323 PFILES="${PFILES} \
21324 platforms/slackware/Makefile \
21325 platforms/slackware/rc.bacula-fd \
21326 platforms/slackware/rc.bacula-sd \
21327 platforms/slackware/rc.bacula-dir\
21328 platforms/slackware/functions.bacula"
21332 TAPEDRIVE="/dev/rmt/0cbn"
21333 PSCMD="ps -e -o pid,comm"
21334 PFILES="${PFILES} \
21335 platforms/solaris/Makefile \
21336 platforms/solaris/bacula-fd \
21337 platforms/solaris/bacula-sd \
21338 platforms/solaris/bacula-dir"
21339 if test x$DISTVER = x5.6 ; then
21340 cat >>confdefs.h <<\_ACEOF
21341 #define HAVE_OLD_SOCKOPT 1
21347 DISTVER=`cat /etc/SuSE-release |grep VERSION|\
21349 TAPEDRIVE="/dev/nst0"
21350 PSCMD="ps -e -o pid,command"
21351 PFILES="${PFILES} \
21352 platforms/suse/Makefile \
21353 platforms/suse/bacula-fd \
21354 platforms/suse/bacula-sd \
21355 platforms/suse/bacula-dir \
21356 platforms/suse/bacula \
21357 platforms/suse/bacula.spec"
21362 TAPEDRIVE="/dev/nst0"
21363 PSCMD="ps -e -o pid,command"
21364 PFILES="${PFILES} \
21365 platforms/suse/Makefile \
21366 platforms/suse/bacula-fd \
21367 platforms/suse/bacula-sd \
21368 platforms/suse/bacula-dir"
21372 TAPEDRIVE="/dev/nst0"
21375 echo " === Something went wrong. Unknown DISTNAME $DISTNAME ==="
21381 LIBS="$PTHREAD_LIB $LIBS"
21383 cat >>confdefs.h <<_ACEOF
21387 cat >>confdefs.h <<_ACEOF
21398 MCOMMON=./autoconf/Make.common
21401 if test "x${subsysdir}" = "x${sbindir}" ; then
21404 echo "You have set both --sbindir and --with-subsys-dir"
21405 echo " equal to: ${subsysdir} "
21406 echo "This is not permitted. Please reconfigure."
21408 echo "Aborting configuration ..."
21414 ac_config_files="$ac_config_files autoconf/Make.common Makefile rescue/Makefile rescue/linux/Makefile rescue/linux/floppy/Makefile rescue/linux/cdrom/Makefile rescue/linux/cdrom/bacula/Makefile rescue/freebsd/Makefile rescue/solaris/Makefile scripts/startmysql scripts/stopmysql scripts/btraceback scripts/startit scripts/stopit scripts/bconsole scripts/gconsole scripts/bacula scripts/devel_bacula scripts/Makefile scripts/logrotate scripts/bacula.desktop.gnome1 scripts/bacula.desktop.gnome2 scripts/bacula.desktop.gnome1.consolehelper scripts/bacula.desktop.gnome2.consolehelper scripts/bacula.desktop.gnome1.xsu scripts/bacula.desktop.gnome2.xsu scripts/gnome-console.console_apps scripts/mtx-changer scripts/dvd-writepart scripts/dvd-freespace scripts/bacula-tray-monitor.desktop scripts/logwatch/Makefile scripts/logwatch/logfile.bacula.conf doc/Makefile src/Makefile src/host.h src/console/Makefile src/console/bconsole.conf src/gnome-console/Makefile src/gnome-console/gnome-console.conf src/gnome2-console/Makefile src/gnome2-console/gnome-console.conf src/wx-console/Makefile src/wx-console/wx-console.conf src/tray-monitor/Makefile src/tray-monitor/tray-monitor.conf src/dird/Makefile src/dird/bacula-dir.conf src/lib/Makefile src/stored/Makefile src/stored/bacula-sd.conf src/filed/Makefile src/filed/bacula-fd.conf src/filed/win32/Makefile src/cats/Makefile src/cats/make_catalog_backup src/cats/delete_catalog_backup src/cats/create_postgresql_database src/cats/update_postgresql_tables src/cats/make_postgresql_tables src/cats/grant_postgresql_privileges src/cats/drop_postgresql_tables src/cats/drop_postgresql_database src/cats/create_mysql_database src/cats/update_mysql_tables src/cats/make_mysql_tables src/cats/grant_mysql_privileges src/cats/drop_mysql_tables src/cats/drop_mysql_database src/cats/create_sqlite_database src/cats/update_sqlite_tables src/cats/make_sqlite_tables src/cats/grant_sqlite_privileges src/cats/drop_sqlite_tables src/cats/drop_sqlite_database src/cats/sqlite src/cats/mysql src/cats/create_bdb_database src/cats/update_bdb_tables src/cats/make_bdb_tables src/cats/grant_bdb_privileges src/cats/drop_bdb_tables src/cats/drop_bdb_database src/cats/create_bacula_database src/cats/update_bacula_tables src/cats/grant_bacula_privileges src/cats/make_bacula_tables src/cats/drop_bacula_tables src/cats/drop_bacula_database src/findlib/Makefile src/tools/Makefile src/win32/winbacula.nsi src/win32/baculafd/bacula-fd.conf src/win32/Makefile src/win32/console/bconsole.conf src/win32/wx-console/wx-console.conf src/win32/pebuilder/Makefile src/bimagemgr/Makefile src/bimagemgr/bacula-bimagemgr.spec $PFILES"
21415 ac_config_commands="$ac_config_commands default"
21416 cat >confcache <<\_ACEOF
21417 # This file is a shell script that caches the results of configure
21418 # tests run on this system so they can be shared between configure
21419 # scripts and configure runs, see configure's option --config-cache.
21420 # It is not useful on other systems. If it contains results you don't
21421 # want to keep, you may remove or edit it.
21423 # config.status only pays attention to the cache file if you give it
21424 # the --recheck option to rerun configure.
21426 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21427 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21428 # following values.
21432 # The following way of writing the cache mishandles newlines in values,
21433 # but we know of no workaround that is simple, portable, and efficient.
21434 # So, don't put newlines in cache variables' values.
21435 # Ultrix sh set writes to stderr and can't be redirected directly,
21436 # and sets the high bit in the cache file unless we assign to the vars.
21439 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21441 # `set' does not quote correctly, so add quotes (double-quote
21442 # substitution turns \\\\ into \\, and sed turns \\ into \).
21445 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21448 # `set' quotes correctly as required by POSIX, so do not add quotes.
21450 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21457 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21459 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21461 if diff $cache_file confcache >/dev/null 2>&1; then :; else
21462 if test -w $cache_file; then
21463 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21464 cat confcache >$cache_file
21466 echo "not updating unwritable cache $cache_file"
21471 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21472 # Let make expand exec_prefix.
21473 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21475 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21476 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21477 # trailing colons and then remove the whole line if VPATH becomes empty
21478 # (actually we leave an empty line to preserve line numbers).
21479 if test "x$srcdir" = x.; then
21480 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21481 s/:*\$(srcdir):*/:/;
21482 s/:*\${srcdir}:*/:/;
21484 s/^\([^=]*=[ ]*\):*/\1/;
21490 DEFS=-DHAVE_CONFIG_H
21494 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21495 # 1. Remove the extension, and $U if already installed.
21496 ac_i=`echo "$ac_i" |
21497 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21499 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
21500 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
21502 LIBOBJS=$ac_libobjs
21504 LTLIBOBJS=$ac_ltlibobjs
21508 : ${CONFIG_STATUS=./config.status}
21509 ac_clean_files_save=$ac_clean_files
21510 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21511 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21512 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21513 cat >$CONFIG_STATUS <<_ACEOF
21515 # Generated by $as_me.
21516 # Run this file to recreate the current configuration.
21517 # Compiler output produced by configure, useful for debugging
21518 # configure, is in config.log if it exists.
21521 ac_cs_recheck=false
21523 SHELL=\${CONFIG_SHELL-$SHELL}
21526 cat >>$CONFIG_STATUS <<\_ACEOF
21527 ## --------------------- ##
21528 ## M4sh Initialization. ##
21529 ## --------------------- ##
21531 # Be Bourne compatible
21532 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21535 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21536 # is contrary to our usage. Disable this feature.
21537 alias -g '${1+"$@"}'='"$@"'
21538 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21541 DUALCASE=1; export DUALCASE # for MKS sh
21543 # Support unset when possible.
21544 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21551 # Work around bugs in pre-3.0 UWIN ksh.
21552 $as_unset ENV MAIL MAILPATH
21559 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21560 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21561 LC_TELEPHONE LC_TIME
21563 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21564 eval $as_var=C; export $as_var
21570 # Required to use basename.
21571 if expr a : '\(a\)' >/dev/null 2>&1; then
21577 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
21578 as_basename=basename
21584 # Name of the executable.
21585 as_me=`$as_basename "$0" ||
21586 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21587 X"$0" : 'X\(//\)$' \| \
21588 X"$0" : 'X\(/\)$' \| \
21589 . : '\(.\)' 2>/dev/null ||
21591 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21592 /^X\/\(\/\/\)$/{ s//\1/; q; }
21593 /^X\/\(\/\).*/{ s//\1/; q; }
21597 # PATH needs CR, and LINENO needs CR and PATH.
21598 # Avoid depending upon Character Ranges.
21599 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21600 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21601 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21602 as_cr_digits='0123456789'
21603 as_cr_alnum=$as_cr_Letters$as_cr_digits
21605 # The user is always right.
21606 if test "${PATH_SEPARATOR+set}" != set; then
21607 echo "#! /bin/sh" >conf$$.sh
21608 echo "exit 0" >>conf$$.sh
21610 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21619 as_lineno_1=$LINENO
21620 as_lineno_2=$LINENO
21621 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21622 test "x$as_lineno_1" != "x$as_lineno_2" &&
21623 test "x$as_lineno_3" = "x$as_lineno_2" || {
21624 # Find who we are. Look in the path if we contain no path at all
21627 *[\\/]* ) as_myself=$0 ;;
21628 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21629 for as_dir in $PATH
21632 test -z "$as_dir" && as_dir=.
21633 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21638 # We did not find ourselves, most probably we were run as `sh COMMAND'
21639 # in which case we are not to be found in the path.
21640 if test "x$as_myself" = x; then
21643 if test ! -f "$as_myself"; then
21644 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21645 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21646 { (exit 1); exit 1; }; }
21648 case $CONFIG_SHELL in
21650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21651 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21654 test -z "$as_dir" && as_dir=.
21655 for as_base in sh bash ksh sh5; do
21658 if ("$as_dir/$as_base" -c '
21659 as_lineno_1=$LINENO
21660 as_lineno_2=$LINENO
21661 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21662 test "x$as_lineno_1" != "x$as_lineno_2" &&
21663 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
21664 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21665 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21666 CONFIG_SHELL=$as_dir/$as_base
21667 export CONFIG_SHELL
21668 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21676 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21677 # uniformly replaced by the line number. The first 'sed' inserts a
21678 # line-number line before each line; the second 'sed' does the real
21679 # work. The second script uses 'N' to pair each line-number line
21680 # with the numbered line, and appends trailing '-' during
21681 # substitution so that $LINENO is not a special case at line end.
21682 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21683 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21684 sed '=' <$as_myself |
21689 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21692 s,^['$as_cr_digits']*\n,,
21693 ' >$as_me.lineno &&
21694 chmod +x $as_me.lineno ||
21695 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21696 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21697 { (exit 1); exit 1; }; }
21699 # Don't try to exec as it changes $[0], causing all sort of problems
21700 # (the dirname of $[0] is not the place where we might find the
21701 # original and so on. Autoconf is especially sensible to this).
21703 # Exit status is that of the last command.
21708 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21709 *c*,-n*) ECHO_N= ECHO_C='
21711 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21712 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
21715 if expr a : '\(a\)' >/dev/null 2>&1; then
21721 rm -f conf$$ conf$$.exe conf$$.file
21723 if ln -s conf$$.file conf$$ 2>/dev/null; then
21724 # We could just check for DJGPP; but this test a) works b) is more generic
21725 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21726 if test -f conf$$.exe; then
21727 # Don't use ln at all; we don't have any links
21732 elif ln conf$$.file conf$$ 2>/dev/null; then
21737 rm -f conf$$ conf$$.exe conf$$.file
21739 if mkdir -p . 2>/dev/null; then
21742 test -d ./-p && rmdir ./-p
21746 as_executable_p="test -f"
21748 # Sed expression to map a string onto a valid CPP name.
21749 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21751 # Sed expression to map a string onto a valid variable name.
21752 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21756 # We need space, tab and new line, in precisely that order.
21766 # Open the log real soon, to keep \$[0] and so on meaningful, and to
21767 # report actual input values of CONFIG_FILES etc. instead of their
21768 # values after options handling. Logging --version etc. is OK.
21772 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21773 ## Running $as_me. ##
21778 This file was extended by $as_me, which was
21779 generated by GNU Autoconf 2.59. Invocation command line was
21781 CONFIG_FILES = $CONFIG_FILES
21782 CONFIG_HEADERS = $CONFIG_HEADERS
21783 CONFIG_LINKS = $CONFIG_LINKS
21784 CONFIG_COMMANDS = $CONFIG_COMMANDS
21788 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21792 # Files that config.status was made for.
21793 if test -n "$ac_config_files"; then
21794 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21797 if test -n "$ac_config_headers"; then
21798 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21801 if test -n "$ac_config_links"; then
21802 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21805 if test -n "$ac_config_commands"; then
21806 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21809 cat >>$CONFIG_STATUS <<\_ACEOF
21812 \`$as_me' instantiates files from templates according to the
21813 current configuration.
21815 Usage: $0 [OPTIONS] [FILE]...
21817 -h, --help print this help, then exit
21818 -V, --version print version number, then exit
21819 -q, --quiet do not print progress messages
21820 -d, --debug don't remove temporary files
21821 --recheck update $as_me by reconfiguring in the same conditions
21822 --file=FILE[:TEMPLATE]
21823 instantiate the configuration file FILE
21824 --header=FILE[:TEMPLATE]
21825 instantiate the configuration header FILE
21827 Configuration files:
21830 Configuration headers:
21833 Configuration commands:
21836 Report bugs to <bug-autoconf@gnu.org>."
21839 cat >>$CONFIG_STATUS <<_ACEOF
21842 configured by $0, generated by GNU Autoconf 2.59,
21843 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21845 Copyright (C) 2003 Free Software Foundation, Inc.
21846 This config.status script is free software; the Free Software Foundation
21847 gives unlimited permission to copy, distribute and modify it."
21852 cat >>$CONFIG_STATUS <<\_ACEOF
21853 # If no file are specified by the user, then we need to provide default
21854 # value. By we need to know if files were specified by the user.
21860 ac_option=`expr "x$1" : 'x\([^=]*\)='`
21861 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
21869 *) # This is not an option, so the user has probably given explicit
21872 ac_need_defaults=false;;
21876 # Handling of the options.
21878 cat >>$CONFIG_STATUS <<\_ACEOF
21879 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21881 --version | --vers* | -V )
21882 echo "$ac_cs_version"; exit 0 ;;
21884 # Conflict between --help and --header
21885 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21886 Try \`$0 --help' for more information." >&5
21887 echo "$as_me: error: ambiguous option: $1
21888 Try \`$0 --help' for more information." >&2;}
21889 { (exit 1); exit 1; }; };;
21890 --help | --hel | -h )
21891 echo "$ac_cs_usage"; exit 0 ;;
21892 --debug | --d* | -d )
21894 --file | --fil | --fi | --f )
21896 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21897 ac_need_defaults=false;;
21898 --header | --heade | --head | --hea )
21900 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21901 ac_need_defaults=false;;
21902 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21903 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21906 # This is an error.
21907 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21908 Try \`$0 --help' for more information." >&5
21909 echo "$as_me: error: unrecognized option: $1
21910 Try \`$0 --help' for more information." >&2;}
21911 { (exit 1); exit 1; }; } ;;
21913 *) ac_config_targets="$ac_config_targets $1" ;;
21919 ac_configure_extra_args=
21921 if $ac_cs_silent; then
21923 ac_configure_extra_args="$ac_configure_extra_args --silent"
21927 cat >>$CONFIG_STATUS <<_ACEOF
21928 if \$ac_cs_recheck; then
21929 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21930 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21939 cat >>$CONFIG_STATUS <<\_ACEOF
21940 for ac_config_target in $ac_config_targets
21942 case "$ac_config_target" in
21943 # Handling of arguments.
21944 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
21945 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21946 "rescue/Makefile" ) CONFIG_FILES="$CONFIG_FILES rescue/Makefile" ;;
21947 "rescue/linux/Makefile" ) CONFIG_FILES="$CONFIG_FILES rescue/linux/Makefile" ;;
21948 "rescue/linux/floppy/Makefile" ) CONFIG_FILES="$CONFIG_FILES rescue/linux/floppy/Makefile" ;;
21949 "rescue/linux/cdrom/Makefile" ) CONFIG_FILES="$CONFIG_FILES rescue/linux/cdrom/Makefile" ;;
21950 "rescue/linux/cdrom/bacula/Makefile" ) CONFIG_FILES="$CONFIG_FILES rescue/linux/cdrom/bacula/Makefile" ;;
21951 "rescue/freebsd/Makefile" ) CONFIG_FILES="$CONFIG_FILES rescue/freebsd/Makefile" ;;
21952 "rescue/solaris/Makefile" ) CONFIG_FILES="$CONFIG_FILES rescue/solaris/Makefile" ;;
21953 "scripts/startmysql" ) CONFIG_FILES="$CONFIG_FILES scripts/startmysql" ;;
21954 "scripts/stopmysql" ) CONFIG_FILES="$CONFIG_FILES scripts/stopmysql" ;;
21955 "scripts/btraceback" ) CONFIG_FILES="$CONFIG_FILES scripts/btraceback" ;;
21956 "scripts/startit" ) CONFIG_FILES="$CONFIG_FILES scripts/startit" ;;
21957 "scripts/stopit" ) CONFIG_FILES="$CONFIG_FILES scripts/stopit" ;;
21958 "scripts/bconsole" ) CONFIG_FILES="$CONFIG_FILES scripts/bconsole" ;;
21959 "scripts/gconsole" ) CONFIG_FILES="$CONFIG_FILES scripts/gconsole" ;;
21960 "scripts/bacula" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula" ;;
21961 "scripts/devel_bacula" ) CONFIG_FILES="$CONFIG_FILES scripts/devel_bacula" ;;
21962 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
21963 "scripts/logrotate" ) CONFIG_FILES="$CONFIG_FILES scripts/logrotate" ;;
21964 "scripts/bacula.desktop.gnome1" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula.desktop.gnome1" ;;
21965 "scripts/bacula.desktop.gnome2" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula.desktop.gnome2" ;;
21966 "scripts/bacula.desktop.gnome1.consolehelper" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula.desktop.gnome1.consolehelper" ;;
21967 "scripts/bacula.desktop.gnome2.consolehelper" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula.desktop.gnome2.consolehelper" ;;
21968 "scripts/bacula.desktop.gnome1.xsu" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula.desktop.gnome1.xsu" ;;
21969 "scripts/bacula.desktop.gnome2.xsu" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula.desktop.gnome2.xsu" ;;
21970 "scripts/gnome-console.console_apps" ) CONFIG_FILES="$CONFIG_FILES scripts/gnome-console.console_apps" ;;
21971 "scripts/mtx-changer" ) CONFIG_FILES="$CONFIG_FILES scripts/mtx-changer" ;;
21972 "scripts/dvd-writepart" ) CONFIG_FILES="$CONFIG_FILES scripts/dvd-writepart" ;;
21973 "scripts/dvd-freespace" ) CONFIG_FILES="$CONFIG_FILES scripts/dvd-freespace" ;;
21974 "scripts/bacula-tray-monitor.desktop" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula-tray-monitor.desktop" ;;
21975 "scripts/logwatch/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/logwatch/Makefile" ;;
21976 "scripts/logwatch/logfile.bacula.conf" ) CONFIG_FILES="$CONFIG_FILES scripts/logwatch/logfile.bacula.conf" ;;
21977 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
21978 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
21979 "src/host.h" ) CONFIG_FILES="$CONFIG_FILES src/host.h" ;;
21980 "src/console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/console/Makefile" ;;
21981 "src/console/bconsole.conf" ) CONFIG_FILES="$CONFIG_FILES src/console/bconsole.conf" ;;
21982 "src/gnome-console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gnome-console/Makefile" ;;
21983 "src/gnome-console/gnome-console.conf" ) CONFIG_FILES="$CONFIG_FILES src/gnome-console/gnome-console.conf" ;;
21984 "src/gnome2-console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gnome2-console/Makefile" ;;
21985 "src/gnome2-console/gnome-console.conf" ) CONFIG_FILES="$CONFIG_FILES src/gnome2-console/gnome-console.conf" ;;
21986 "src/wx-console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/wx-console/Makefile" ;;
21987 "src/wx-console/wx-console.conf" ) CONFIG_FILES="$CONFIG_FILES src/wx-console/wx-console.conf" ;;
21988 "src/tray-monitor/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/tray-monitor/Makefile" ;;
21989 "src/tray-monitor/tray-monitor.conf" ) CONFIG_FILES="$CONFIG_FILES src/tray-monitor/tray-monitor.conf" ;;
21990 "src/dird/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/dird/Makefile" ;;
21991 "src/dird/bacula-dir.conf" ) CONFIG_FILES="$CONFIG_FILES src/dird/bacula-dir.conf" ;;
21992 "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
21993 "src/stored/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/stored/Makefile" ;;
21994 "src/stored/bacula-sd.conf" ) CONFIG_FILES="$CONFIG_FILES src/stored/bacula-sd.conf" ;;
21995 "src/filed/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/filed/Makefile" ;;
21996 "src/filed/bacula-fd.conf" ) CONFIG_FILES="$CONFIG_FILES src/filed/bacula-fd.conf" ;;
21997 "src/filed/win32/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/filed/win32/Makefile" ;;
21998 "src/cats/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/cats/Makefile" ;;
21999 "src/cats/make_catalog_backup" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_catalog_backup" ;;
22000 "src/cats/delete_catalog_backup" ) CONFIG_FILES="$CONFIG_FILES src/cats/delete_catalog_backup" ;;
22001 "src/cats/create_postgresql_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_postgresql_database" ;;
22002 "src/cats/update_postgresql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/update_postgresql_tables" ;;
22003 "src/cats/make_postgresql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_postgresql_tables" ;;
22004 "src/cats/grant_postgresql_privileges" ) CONFIG_FILES="$CONFIG_FILES src/cats/grant_postgresql_privileges" ;;
22005 "src/cats/drop_postgresql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_postgresql_tables" ;;
22006 "src/cats/drop_postgresql_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_postgresql_database" ;;
22007 "src/cats/create_mysql_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_mysql_database" ;;
22008 "src/cats/update_mysql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/update_mysql_tables" ;;
22009 "src/cats/make_mysql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_mysql_tables" ;;
22010 "src/cats/grant_mysql_privileges" ) CONFIG_FILES="$CONFIG_FILES src/cats/grant_mysql_privileges" ;;
22011 "src/cats/drop_mysql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_mysql_tables" ;;
22012 "src/cats/drop_mysql_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_mysql_database" ;;
22013 "src/cats/create_sqlite_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_sqlite_database" ;;
22014 "src/cats/update_sqlite_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/update_sqlite_tables" ;;
22015 "src/cats/make_sqlite_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_sqlite_tables" ;;
22016 "src/cats/grant_sqlite_privileges" ) CONFIG_FILES="$CONFIG_FILES src/cats/grant_sqlite_privileges" ;;
22017 "src/cats/drop_sqlite_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_sqlite_tables" ;;
22018 "src/cats/drop_sqlite_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_sqlite_database" ;;
22019 "src/cats/sqlite" ) CONFIG_FILES="$CONFIG_FILES src/cats/sqlite" ;;
22020 "src/cats/mysql" ) CONFIG_FILES="$CONFIG_FILES src/cats/mysql" ;;
22021 "src/cats/create_bdb_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_bdb_database" ;;
22022 "src/cats/update_bdb_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/update_bdb_tables" ;;
22023 "src/cats/make_bdb_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_bdb_tables" ;;
22024 "src/cats/grant_bdb_privileges" ) CONFIG_FILES="$CONFIG_FILES src/cats/grant_bdb_privileges" ;;
22025 "src/cats/drop_bdb_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_bdb_tables" ;;
22026 "src/cats/drop_bdb_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_bdb_database" ;;
22027 "src/cats/create_bacula_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_bacula_database" ;;
22028 "src/cats/update_bacula_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/update_bacula_tables" ;;
22029 "src/cats/grant_bacula_privileges" ) CONFIG_FILES="$CONFIG_FILES src/cats/grant_bacula_privileges" ;;
22030 "src/cats/make_bacula_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_bacula_tables" ;;
22031 "src/cats/drop_bacula_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_bacula_tables" ;;
22032 "src/cats/drop_bacula_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_bacula_database" ;;
22033 "src/findlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/findlib/Makefile" ;;
22034 "src/tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
22035 "src/win32/winbacula.nsi" ) CONFIG_FILES="$CONFIG_FILES src/win32/winbacula.nsi" ;;
22036 "src/win32/baculafd/bacula-fd.conf" ) CONFIG_FILES="$CONFIG_FILES src/win32/baculafd/bacula-fd.conf" ;;
22037 "src/win32/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/win32/Makefile" ;;
22038 "src/win32/console/bconsole.conf" ) CONFIG_FILES="$CONFIG_FILES src/win32/console/bconsole.conf" ;;
22039 "src/win32/wx-console/wx-console.conf" ) CONFIG_FILES="$CONFIG_FILES src/win32/wx-console/wx-console.conf" ;;
22040 "src/win32/pebuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/win32/pebuilder/Makefile" ;;
22041 "src/bimagemgr/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/bimagemgr/Makefile" ;;
22042 "src/bimagemgr/bacula-bimagemgr.spec" ) CONFIG_FILES="$CONFIG_FILES src/bimagemgr/bacula-bimagemgr.spec" ;;
22043 "$PFILES" ) CONFIG_FILES="$CONFIG_FILES $PFILES" ;;
22044 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
22045 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:autoconf/config.h.in" ;;
22046 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22047 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22048 { (exit 1); exit 1; }; };;
22052 # If the user did not use the arguments to specify the items to instantiate,
22053 # then the envvar interface is used. Set only those that are not.
22054 # We use the long form for the default assignment because of an extremely
22055 # bizarre bug on SunOS 4.1.3.
22056 if $ac_need_defaults; then
22057 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22058 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22059 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22062 # Have a temporary directory for convenience. Make it in the build tree
22063 # simply because there is no reason to put it here, and in addition,
22064 # creating and moving files from /tmp can sometimes cause problems.
22065 # Create a temporary directory, and hook for its removal unless debugging.
22068 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22069 trap '{ (exit 1); exit 1; }' 1 2 13 15
22072 # Create a (secure) tmp directory for tmp files.
22075 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22076 test -n "$tmp" && test -d "$tmp"
22079 tmp=./confstat$$-$RANDOM
22080 (umask 077 && mkdir $tmp)
22083 echo "$me: cannot create a temporary directory in ." >&2
22084 { (exit 1); exit 1; }
22089 cat >>$CONFIG_STATUS <<_ACEOF
22092 # CONFIG_FILES section.
22095 # No need to generate the scripts if there are no CONFIG_FILES.
22096 # This happens for instance when ./config.status config.h
22097 if test -n "\$CONFIG_FILES"; then
22098 # Protect against being on the right side of a sed subst in config.status.
22099 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22100 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22101 s,@SHELL@,$SHELL,;t t
22102 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22103 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22104 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22105 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22106 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22107 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22108 s,@exec_prefix@,$exec_prefix,;t t
22109 s,@prefix@,$prefix,;t t
22110 s,@program_transform_name@,$program_transform_name,;t t
22111 s,@bindir@,$bindir,;t t
22112 s,@sbindir@,$sbindir,;t t
22113 s,@libexecdir@,$libexecdir,;t t
22114 s,@datadir@,$datadir,;t t
22115 s,@sysconfdir@,$sysconfdir,;t t
22116 s,@sharedstatedir@,$sharedstatedir,;t t
22117 s,@localstatedir@,$localstatedir,;t t
22118 s,@libdir@,$libdir,;t t
22119 s,@includedir@,$includedir,;t t
22120 s,@oldincludedir@,$oldincludedir,;t t
22121 s,@infodir@,$infodir,;t t
22122 s,@mandir@,$mandir,;t t
22123 s,@build_alias@,$build_alias,;t t
22124 s,@host_alias@,$host_alias,;t t
22125 s,@target_alias@,$target_alias,;t t
22126 s,@DEFS@,$DEFS,;t t
22127 s,@ECHO_C@,$ECHO_C,;t t
22128 s,@ECHO_N@,$ECHO_N,;t t
22129 s,@ECHO_T@,$ECHO_T,;t t
22130 s,@LIBS@,$LIBS,;t t
22131 s,@BUILD_DIR@,$BUILD_DIR,;t t
22132 s,@TRUEPRG@,$TRUEPRG,;t t
22133 s,@FALSEPRG@,$FALSEPRG,;t t
22134 s,@VERSION@,$VERSION,;t t
22135 s,@DATE@,$DATE,;t t
22136 s,@LSMDATE@,$LSMDATE,;t t
22138 s,@CFLAGS@,$CFLAGS,;t t
22139 s,@LDFLAGS@,$LDFLAGS,;t t
22140 s,@CPPFLAGS@,$CPPFLAGS,;t t
22141 s,@ac_ct_CC@,$ac_ct_CC,;t t
22142 s,@EXEEXT@,$EXEEXT,;t t
22143 s,@OBJEXT@,$OBJEXT,;t t
22145 s,@CXXFLAGS@,$CXXFLAGS,;t t
22146 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22148 s,@EGREP@,$EGREP,;t t
22149 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22150 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22151 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22152 s,@RANLIB@,$RANLIB,;t t
22153 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22159 s,@ECHO@,$ECHO,;t t
22163 s,@OPENSSL@,$OPENSSL,;t t
22165 s,@MKISOFS@,$MKISOFS,;t t
22166 s,@PYTHON@,$PYTHON,;t t
22167 s,@GROWISOFS@,$GROWISOFS,;t t
22168 s,@DVDRWMEDIAINFO@,$DVDRWMEDIAINFO,;t t
22169 s,@PKGCONFIG@,$PKGCONFIG,;t t
22170 s,@WXCONFIG@,$WXCONFIG,;t t
22171 s,@CDRECORD@,$CDRECORD,;t t
22172 s,@PIDOF@,$PIDOF,;t t
22173 s,@ARFLAGS@,$ARFLAGS,;t t
22174 s,@MAKE_SHELL@,$MAKE_SHELL,;t t
22175 s,@LOCAL_LIBS@,$LOCAL_LIBS,;t t
22176 s,@LOCAL_CFLAGS@,$LOCAL_CFLAGS,;t t
22177 s,@LOCAL_LDFLAGS@,$LOCAL_LDFLAGS,;t t
22178 s,@LOCAL_DEFS@,$LOCAL_DEFS,;t t
22179 s,@build@,$build,;t t
22180 s,@build_cpu@,$build_cpu,;t t
22181 s,@build_vendor@,$build_vendor,;t t
22182 s,@build_os@,$build_os,;t t
22183 s,@host@,$host,;t t
22184 s,@host_cpu@,$host_cpu,;t t
22185 s,@host_vendor@,$host_vendor,;t t
22186 s,@host_os@,$host_os,;t t
22187 s,@HAVE_SUN_OS_TRUE@,$HAVE_SUN_OS_TRUE,;t t
22188 s,@HAVE_SUN_OS_FALSE@,$HAVE_SUN_OS_FALSE,;t t
22189 s,@HAVE_OSF1_OS_TRUE@,$HAVE_OSF1_OS_TRUE,;t t
22190 s,@HAVE_OSF1_OS_FALSE@,$HAVE_OSF1_OS_FALSE,;t t
22191 s,@HAVE_AIX_OS_TRUE@,$HAVE_AIX_OS_TRUE,;t t
22192 s,@HAVE_AIX_OS_FALSE@,$HAVE_AIX_OS_FALSE,;t t
22193 s,@HAVE_HPUX_OS_TRUE@,$HAVE_HPUX_OS_TRUE,;t t
22194 s,@HAVE_HPUX_OS_FALSE@,$HAVE_HPUX_OS_FALSE,;t t
22195 s,@HAVE_LINUX_OS_TRUE@,$HAVE_LINUX_OS_TRUE,;t t
22196 s,@HAVE_LINUX_OS_FALSE@,$HAVE_LINUX_OS_FALSE,;t t
22197 s,@HAVE_FREEBSD_OS_TRUE@,$HAVE_FREEBSD_OS_TRUE,;t t
22198 s,@HAVE_FREEBSD_OS_FALSE@,$HAVE_FREEBSD_OS_FALSE,;t t
22199 s,@HAVE_NETBSD_OS_TRUE@,$HAVE_NETBSD_OS_TRUE,;t t
22200 s,@HAVE_NETBSD_OS_FALSE@,$HAVE_NETBSD_OS_FALSE,;t t
22201 s,@HAVE_OPENBSD_OS_TRUE@,$HAVE_OPENBSD_OS_TRUE,;t t
22202 s,@HAVE_OPENBSD_OS_FALSE@,$HAVE_OPENBSD_OS_FALSE,;t t
22203 s,@HAVE_BSDI_OS_TRUE@,$HAVE_BSDI_OS_TRUE,;t t
22204 s,@HAVE_BSDI_OS_FALSE@,$HAVE_BSDI_OS_FALSE,;t t
22205 s,@HAVE_SGI_OS_TRUE@,$HAVE_SGI_OS_TRUE,;t t
22206 s,@HAVE_SGI_OS_FALSE@,$HAVE_SGI_OS_FALSE,;t t
22207 s,@HAVE_IRIX_OS_TRUE@,$HAVE_IRIX_OS_TRUE,;t t
22208 s,@HAVE_IRIX_OS_FALSE@,$HAVE_IRIX_OS_FALSE,;t t
22209 s,@HAVE_DARWIN_OS_TRUE@,$HAVE_DARWIN_OS_TRUE,;t t
22210 s,@HAVE_DARWIN_OS_FALSE@,$HAVE_DARWIN_OS_FALSE,;t t
22211 s,@INSIDE_GNOME_COMMON_TRUE@,$INSIDE_GNOME_COMMON_TRUE,;t t
22212 s,@INSIDE_GNOME_COMMON_FALSE@,$INSIDE_GNOME_COMMON_FALSE,;t t
22213 s,@MSGFMT@,$MSGFMT,;t t
22214 s,@GNOME_INCLUDEDIR@,$GNOME_INCLUDEDIR,;t t
22215 s,@GNOMEUI_LIBS@,$GNOMEUI_LIBS,;t t
22216 s,@GNOME_LIBDIR@,$GNOME_LIBDIR,;t t
22217 s,@GNOME_LIBS@,$GNOME_LIBS,;t t
22218 s,@GNOMEGNORBA_LIBS@,$GNOMEGNORBA_LIBS,;t t
22219 s,@GTKXMHTML_LIBS@,$GTKXMHTML_LIBS,;t t
22220 s,@ZVT_LIBS@,$ZVT_LIBS,;t t
22221 s,@GNOME_CONFIG@,$GNOME_CONFIG,;t t
22222 s,@ORBIT_CONFIG@,$ORBIT_CONFIG,;t t
22223 s,@ORBIT_IDL@,$ORBIT_IDL,;t t
22224 s,@HAVE_ORBIT_TRUE@,$HAVE_ORBIT_TRUE,;t t
22225 s,@HAVE_ORBIT_FALSE@,$HAVE_ORBIT_FALSE,;t t
22226 s,@ORBIT_CFLAGS@,$ORBIT_CFLAGS,;t t
22227 s,@ORBIT_LIBS@,$ORBIT_LIBS,;t t
22228 s,@HAVE_GNORBA_TRUE@,$HAVE_GNORBA_TRUE,;t t
22229 s,@HAVE_GNORBA_FALSE@,$HAVE_GNORBA_FALSE,;t t
22230 s,@GNORBA_CFLAGS@,$GNORBA_CFLAGS,;t t
22231 s,@GNORBA_LIBS@,$GNORBA_LIBS,;t t
22232 s,@GNOME_APPLETS_LIBS@,$GNOME_APPLETS_LIBS,;t t
22233 s,@GNOME_DOCKLETS_LIBS@,$GNOME_DOCKLETS_LIBS,;t t
22234 s,@GNOME_CAPPLET_LIBS@,$GNOME_CAPPLET_LIBS,;t t
22235 s,@GNOME_DIR@,$GNOME_DIR,;t t
22236 s,@WXCONS_CPPFLAGS@,$WXCONS_CPPFLAGS,;t t
22237 s,@WXCONS_LDFLAGS@,$WXCONS_LDFLAGS,;t t
22238 s,@WX_DIR@,$WX_DIR,;t t
22239 s,@TRAY_MONITOR_CPPFLAGS@,$TRAY_MONITOR_CPPFLAGS,;t t
22240 s,@TRAY_MONITOR_LDFLAGS@,$TRAY_MONITOR_LDFLAGS,;t t
22241 s,@TRAY_MONITOR_DIR@,$TRAY_MONITOR_DIR,;t t
22242 s,@TTOOL_LDFLAGS@,$TTOOL_LDFLAGS,;t t
22243 s,@STATIC_FD@,$STATIC_FD,;t t
22244 s,@STATIC_SD@,$STATIC_SD,;t t
22245 s,@STATIC_DIR@,$STATIC_DIR,;t t
22246 s,@STATIC_CONS@,$STATIC_CONS,;t t
22247 s,@STATIC_GNOME_CONS@,$STATIC_GNOME_CONS,;t t
22248 s,@STATIC_WX_CONS@,$STATIC_WX_CONS,;t t
22249 s,@ALL_DIRS@,$ALL_DIRS,;t t
22250 s,@CONS_INC@,$CONS_INC,;t t
22251 s,@CONS_OBJ@,$CONS_OBJ,;t t
22252 s,@CONS_SRC@,$CONS_SRC,;t t
22253 s,@CONS_LIBS@,$CONS_LIBS,;t t
22254 s,@CONS_LDFLAGS@,$CONS_LDFLAGS,;t t
22255 s,@READLINE_SRC@,$READLINE_SRC,;t t
22256 s,@PYTHON_LIBS@,$PYTHON_LIBS,;t t
22257 s,@PYTHON_INCDIR@,$PYTHON_INCDIR,;t t
22258 s,@CDSTL@,$CDSTL,;t t
22259 s,@working_dir@,$working_dir,;t t
22260 s,@scriptdir@,$scriptdir,;t t
22261 s,@dump_email@,$dump_email,;t t
22262 s,@job_email@,$job_email,;t t
22263 s,@smtp_host@,$smtp_host,;t t
22264 s,@piddir@,$piddir,;t t
22265 s,@subsysdir@,$subsysdir,;t t
22266 s,@baseport@,$baseport,;t t
22267 s,@dir_port@,$dir_port,;t t
22268 s,@fd_port@,$fd_port,;t t
22269 s,@sd_port@,$sd_port,;t t
22270 s,@dir_password@,$dir_password,;t t
22271 s,@fd_password@,$fd_password,;t t
22272 s,@sd_password@,$sd_password,;t t
22273 s,@mon_dir_password@,$mon_dir_password,;t t
22274 s,@mon_fd_password@,$mon_fd_password,;t t
22275 s,@mon_sd_password@,$mon_sd_password,;t t
22276 s,@bimagemgr_cgidir@,$bimagemgr_cgidir,;t t
22277 s,@bimagemgr_docdir@,$bimagemgr_docdir,;t t
22278 s,@bimagemgr_binowner@,$bimagemgr_binowner,;t t
22279 s,@bimagemgr_bingroup@,$bimagemgr_bingroup,;t t
22280 s,@bimagemgr_dataowner@,$bimagemgr_dataowner,;t t
22281 s,@bimagemgr_datagroup@,$bimagemgr_datagroup,;t t
22282 s,@dir_user@,$dir_user,;t t
22283 s,@dir_group@,$dir_group,;t t
22284 s,@sd_user@,$sd_user,;t t
22285 s,@sd_group@,$sd_group,;t t
22286 s,@fd_user@,$fd_user,;t t
22287 s,@fd_group@,$fd_group,;t t
22288 s,@SBINPERM@,$SBINPERM,;t t
22289 s,@SQL_LFLAGS@,$SQL_LFLAGS,;t t
22290 s,@SQL_INCLUDE@,$SQL_INCLUDE,;t t
22291 s,@SQL_BINDIR@,$SQL_BINDIR,;t t
22292 s,@cats@,$cats,;t t
22293 s,@DB_NAME@,$DB_NAME,;t t
22294 s,@GETCONF@,$GETCONF,;t t
22295 s,@ac_ct_GETCONF@,$ac_ct_GETCONF,;t t
22296 s,@X_CFLAGS@,$X_CFLAGS,;t t
22297 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
22298 s,@X_LIBS@,$X_LIBS,;t t
22299 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
22300 s,@LIBOBJS@,$LIBOBJS,;t t
22301 s,@ALLOCA@,$ALLOCA,;t t
22302 s,@FDLIBS@,$FDLIBS,;t t
22303 s,@DEBUG@,$DEBUG,;t t
22304 s,@DINCLUDE@,$DINCLUDE,;t t
22305 s,@DLIB@,$DLIB,;t t
22306 s,@DB_LIBS@,$DB_LIBS,;t t
22307 s,@WCFLAGS@,$WCFLAGS,;t t
22308 s,@WLDFLAGS@,$WLDFLAGS,;t t
22309 s,@OBJLIST@,$OBJLIST,;t t
22310 s,@hostname@,$hostname,;t t
22311 s,@TAPEDRIVE@,$TAPEDRIVE,;t t
22312 s,@PSCMD@,$PSCMD,;t t
22313 s,@WIN32@,$WIN32,;t t
22314 s,@MACOSX@,$MACOSX,;t t
22315 s,@DISTNAME@,$DISTNAME,;t t
22316 s,@DISTVER@,$DISTVER,;t t
22317 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22318 /@MCOMMON@/r $MCOMMON
22324 cat >>$CONFIG_STATUS <<\_ACEOF
22325 # Split the substitutions into bite-sized pieces for seds with
22326 # small command number limits, like on Digital OSF/1 and HP-UX.
22327 ac_max_sed_lines=48
22328 ac_sed_frag=1 # Number of current file.
22329 ac_beg=1 # First line for current file.
22330 ac_end=$ac_max_sed_lines # Line after last line for current file.
22333 while $ac_more_lines; do
22334 if test $ac_beg -gt 1; then
22335 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22337 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22339 if test ! -s $tmp/subs.frag; then
22340 ac_more_lines=false
22342 # The purpose of the label and of the branching condition is to
22343 # speed up the sed processing (if there are no `@' at all, there
22344 # is no need to browse any of the substitutions).
22345 # These are the two extra sed commands mentioned above.
22347 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
22348 if test -z "$ac_sed_cmds"; then
22349 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
22351 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22353 ac_sed_frag=`expr $ac_sed_frag + 1`
22355 ac_end=`expr $ac_end + $ac_max_sed_lines`
22358 if test -z "$ac_sed_cmds"; then
22361 fi # test -n "$CONFIG_FILES"
22364 cat >>$CONFIG_STATUS <<\_ACEOF
22365 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
22366 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22368 - | *:- | *:-:* ) # input from stdin
22370 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22371 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22372 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22373 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22374 * ) ac_file_in=$ac_file.in ;;
22377 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22378 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22379 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22380 X"$ac_file" : 'X\(//\)[^/]' \| \
22381 X"$ac_file" : 'X\(//\)$' \| \
22382 X"$ac_file" : 'X\(/\)' \| \
22383 . : '\(.\)' 2>/dev/null ||
22385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22386 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22387 /^X\(\/\/\)$/{ s//\1/; q; }
22388 /^X\(\/\).*/{ s//\1/; q; }
22390 { if $as_mkdir_p; then
22395 while test ! -d "$as_dir"; do
22396 as_dirs="$as_dir $as_dirs"
22397 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22398 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22399 X"$as_dir" : 'X\(//\)[^/]' \| \
22400 X"$as_dir" : 'X\(//\)$' \| \
22401 X"$as_dir" : 'X\(/\)' \| \
22402 . : '\(.\)' 2>/dev/null ||
22404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22405 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22406 /^X\(\/\/\)$/{ s//\1/; q; }
22407 /^X\(\/\).*/{ s//\1/; q; }
22410 test ! -n "$as_dirs" || mkdir $as_dirs
22411 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22412 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22413 { (exit 1); exit 1; }; }; }
22417 if test "$ac_dir" != .; then
22418 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22419 # A "../" for each directory in $ac_dir_suffix.
22420 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22422 ac_dir_suffix= ac_top_builddir=
22426 .) # No --srcdir option. We are building in place.
22428 if test -z "$ac_top_builddir"; then
22431 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22433 [\\/]* | ?:[\\/]* ) # Absolute path.
22434 ac_srcdir=$srcdir$ac_dir_suffix;
22435 ac_top_srcdir=$srcdir ;;
22436 *) # Relative path.
22437 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22438 ac_top_srcdir=$ac_top_builddir$srcdir ;;
22441 # Do not use `cd foo && pwd` to compute absolute paths, because
22442 # the directories may not exist.
22444 .) ac_abs_builddir="$ac_dir";;
22447 .) ac_abs_builddir=`pwd`;;
22448 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22449 *) ac_abs_builddir=`pwd`/"$ac_dir";;
22452 case $ac_abs_builddir in
22453 .) ac_abs_top_builddir=${ac_top_builddir}.;;
22455 case ${ac_top_builddir}. in
22456 .) ac_abs_top_builddir=$ac_abs_builddir;;
22457 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22458 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22461 case $ac_abs_builddir in
22462 .) ac_abs_srcdir=$ac_srcdir;;
22465 .) ac_abs_srcdir=$ac_abs_builddir;;
22466 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22467 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22470 case $ac_abs_builddir in
22471 .) ac_abs_top_srcdir=$ac_top_srcdir;;
22473 case $ac_top_srcdir in
22474 .) ac_abs_top_srcdir=$ac_abs_builddir;;
22475 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22476 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22482 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22483 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
22486 if test x"$ac_file" != x-; then
22487 { echo "$as_me:$LINENO: creating $ac_file" >&5
22488 echo "$as_me: creating $ac_file" >&6;}
22491 # Let's still pretend it is `configure' which instantiates (i.e., don't
22492 # use $as_me), people would be surprised to read:
22493 # /* config.h. Generated by config.status. */
22494 if test x"$ac_file" = x-; then
22497 configure_input="$ac_file. "
22499 configure_input=$configure_input"Generated from `echo $ac_file_in |
22500 sed 's,.*/,,'` by configure."
22502 # First look for the input files in the build tree, otherwise in the
22504 ac_file_inputs=`IFS=:
22505 for f in $ac_file_in; do
22507 -) echo $tmp/stdin ;;
22509 # Absolute (can't be DOS-style, as IFS=:)
22510 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22511 echo "$as_me: error: cannot find input file: $f" >&2;}
22512 { (exit 1); exit 1; }; }
22515 if test -f "$f"; then
22518 elif test -f "$srcdir/$f"; then
22523 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22524 echo "$as_me: error: cannot find input file: $f" >&2;}
22525 { (exit 1); exit 1; }; }
22528 done` || { (exit 1); exit 1; }
22530 cat >>$CONFIG_STATUS <<_ACEOF
22534 cat >>$CONFIG_STATUS <<\_ACEOF
22536 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22537 s,@configure_input@,$configure_input,;t t
22538 s,@srcdir@,$ac_srcdir,;t t
22539 s,@abs_srcdir@,$ac_abs_srcdir,;t t
22540 s,@top_srcdir@,$ac_top_srcdir,;t t
22541 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
22542 s,@builddir@,$ac_builddir,;t t
22543 s,@abs_builddir@,$ac_abs_builddir,;t t
22544 s,@top_builddir@,$ac_top_builddir,;t t
22545 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
22546 s,@INSTALL@,$ac_INSTALL,;t t
22547 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22549 if test x"$ac_file" != x-; then
22550 mv $tmp/out $ac_file
22558 cat >>$CONFIG_STATUS <<\_ACEOF
22561 # CONFIG_HEADER section.
22564 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22565 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22567 # ac_d sets the value in "#define NAME VALUE" lines.
22568 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22569 ac_dB='[ ].*$,\1#\2'
22572 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22573 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22574 ac_uB='$,\1#\2define\3'
22578 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
22579 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22581 - | *:- | *:-:* ) # input from stdin
22583 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22584 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22585 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22586 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22587 * ) ac_file_in=$ac_file.in ;;
22590 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
22591 echo "$as_me: creating $ac_file" >&6;}
22593 # First look for the input files in the build tree, otherwise in the
22595 ac_file_inputs=`IFS=:
22596 for f in $ac_file_in; do
22598 -) echo $tmp/stdin ;;
22600 # Absolute (can't be DOS-style, as IFS=:)
22601 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22602 echo "$as_me: error: cannot find input file: $f" >&2;}
22603 { (exit 1); exit 1; }; }
22604 # Do quote $f, to prevent DOS paths from being IFS'd.
22607 if test -f "$f"; then
22610 elif test -f "$srcdir/$f"; then
22615 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22616 echo "$as_me: error: cannot find input file: $f" >&2;}
22617 { (exit 1); exit 1; }; }
22620 done` || { (exit 1); exit 1; }
22621 # Remove the trailing spaces.
22622 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22626 # Transform confdefs.h into two sed scripts, `conftest.defines' and
22627 # `conftest.undefs', that substitutes the proper values into
22628 # config.h.in to produce config.h. The first handles `#define'
22629 # templates, and the second `#undef' templates.
22630 # And first: Protect against being on the right side of a sed subst in
22631 # config.status. Protect against being in an unquoted here document
22632 # in config.status.
22633 rm -f conftest.defines conftest.undefs
22634 # Using a here document instead of a string reduces the quoting nightmare.
22635 # Putting comments in sed scripts is not portable.
22637 # `end' is used to avoid that the second main sed command (meant for
22638 # 0-ary CPP macros) applies to n-ary macro definitions.
22639 # See the Autoconf documentation for `clear'.
22640 cat >confdef2sed.sed <<\_ACEOF
22645 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22647 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22650 # If some macros were called several times there might be several times
22651 # the same #defines, which is useless. Nevertheless, we may not want to
22652 # sort them, since we want the *last* AC-DEFINE to be honored.
22653 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22654 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22655 rm -f confdef2sed.sed
22657 # This sed command replaces #undef with comments. This is necessary, for
22658 # example, in the case of _POSIX_SOURCE, which is predefined and required
22659 # on some systems where configure will not decide to define it.
22660 cat >>conftest.undefs <<\_ACEOF
22661 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22664 # Break up conftest.defines because some shells have a limit on the size
22665 # of here documents, and old seds have small limits too (100 cmds).
22666 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22667 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22668 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22669 echo ' :' >>$CONFIG_STATUS
22670 rm -f conftest.tail
22671 while grep . conftest.defines >/dev/null
22673 # Write a limited-size here document to $tmp/defines.sed.
22674 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22675 # Speed up: don't consider the non `#define' lines.
22676 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22677 # Work around the forget-to-reset-the-flag bug.
22678 echo 't clr' >>$CONFIG_STATUS
22679 echo ': clr' >>$CONFIG_STATUS
22680 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
22682 sed -f $tmp/defines.sed $tmp/in >$tmp/out
22684 mv $tmp/out $tmp/in
22686 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
22687 rm -f conftest.defines
22688 mv conftest.tail conftest.defines
22690 rm -f conftest.defines
22691 echo ' fi # grep' >>$CONFIG_STATUS
22692 echo >>$CONFIG_STATUS
22694 # Break up conftest.undefs because some shells have a limit on the size
22695 # of here documents, and old seds have small limits too (100 cmds).
22696 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22697 rm -f conftest.tail
22698 while grep . conftest.undefs >/dev/null
22700 # Write a limited-size here document to $tmp/undefs.sed.
22701 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22702 # Speed up: don't consider the non `#undef'
22703 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22704 # Work around the forget-to-reset-the-flag bug.
22705 echo 't clr' >>$CONFIG_STATUS
22706 echo ': clr' >>$CONFIG_STATUS
22707 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22709 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22711 mv $tmp/out $tmp/in
22713 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22714 rm -f conftest.undefs
22715 mv conftest.tail conftest.undefs
22717 rm -f conftest.undefs
22719 cat >>$CONFIG_STATUS <<\_ACEOF
22720 # Let's still pretend it is `configure' which instantiates (i.e., don't
22721 # use $as_me), people would be surprised to read:
22722 # /* config.h. Generated by config.status. */
22723 if test x"$ac_file" = x-; then
22724 echo "/* Generated by configure. */" >$tmp/config.h
22726 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22728 cat $tmp/in >>$tmp/config.h
22730 if test x"$ac_file" != x-; then
22731 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
22732 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22733 echo "$as_me: $ac_file is unchanged" >&6;}
22735 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22736 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22737 X"$ac_file" : 'X\(//\)[^/]' \| \
22738 X"$ac_file" : 'X\(//\)$' \| \
22739 X"$ac_file" : 'X\(/\)' \| \
22740 . : '\(.\)' 2>/dev/null ||
22742 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22743 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22744 /^X\(\/\/\)$/{ s//\1/; q; }
22745 /^X\(\/\).*/{ s//\1/; q; }
22747 { if $as_mkdir_p; then
22752 while test ! -d "$as_dir"; do
22753 as_dirs="$as_dir $as_dirs"
22754 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22755 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22756 X"$as_dir" : 'X\(//\)[^/]' \| \
22757 X"$as_dir" : 'X\(//\)$' \| \
22758 X"$as_dir" : 'X\(/\)' \| \
22759 . : '\(.\)' 2>/dev/null ||
22761 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22762 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22763 /^X\(\/\/\)$/{ s//\1/; q; }
22764 /^X\(\/\).*/{ s//\1/; q; }
22767 test ! -n "$as_dirs" || mkdir $as_dirs
22768 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22769 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22770 { (exit 1); exit 1; }; }; }
22773 mv $tmp/config.h $ac_file
22777 rm -f $tmp/config.h
22781 cat >>$CONFIG_STATUS <<\_ACEOF
22784 # CONFIG_COMMANDS section.
22786 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22787 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22788 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22789 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22790 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22791 X"$ac_dest" : 'X\(//\)[^/]' \| \
22792 X"$ac_dest" : 'X\(//\)$' \| \
22793 X"$ac_dest" : 'X\(/\)' \| \
22794 . : '\(.\)' 2>/dev/null ||
22796 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22797 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22798 /^X\(\/\/\)$/{ s//\1/; q; }
22799 /^X\(\/\).*/{ s//\1/; q; }
22801 { if $as_mkdir_p; then
22806 while test ! -d "$as_dir"; do
22807 as_dirs="$as_dir $as_dirs"
22808 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22809 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22810 X"$as_dir" : 'X\(//\)[^/]' \| \
22811 X"$as_dir" : 'X\(//\)$' \| \
22812 X"$as_dir" : 'X\(/\)' \| \
22813 . : '\(.\)' 2>/dev/null ||
22815 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22816 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22817 /^X\(\/\/\)$/{ s//\1/; q; }
22818 /^X\(\/\).*/{ s//\1/; q; }
22821 test ! -n "$as_dirs" || mkdir $as_dirs
22822 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22823 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22824 { (exit 1); exit 1; }; }; }
22828 if test "$ac_dir" != .; then
22829 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22830 # A "../" for each directory in $ac_dir_suffix.
22831 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22833 ac_dir_suffix= ac_top_builddir=
22837 .) # No --srcdir option. We are building in place.
22839 if test -z "$ac_top_builddir"; then
22842 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22844 [\\/]* | ?:[\\/]* ) # Absolute path.
22845 ac_srcdir=$srcdir$ac_dir_suffix;
22846 ac_top_srcdir=$srcdir ;;
22847 *) # Relative path.
22848 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22849 ac_top_srcdir=$ac_top_builddir$srcdir ;;
22852 # Do not use `cd foo && pwd` to compute absolute paths, because
22853 # the directories may not exist.
22855 .) ac_abs_builddir="$ac_dir";;
22858 .) ac_abs_builddir=`pwd`;;
22859 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22860 *) ac_abs_builddir=`pwd`/"$ac_dir";;
22863 case $ac_abs_builddir in
22864 .) ac_abs_top_builddir=${ac_top_builddir}.;;
22866 case ${ac_top_builddir}. in
22867 .) ac_abs_top_builddir=$ac_abs_builddir;;
22868 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22869 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22872 case $ac_abs_builddir in
22873 .) ac_abs_srcdir=$ac_srcdir;;
22876 .) ac_abs_srcdir=$ac_abs_builddir;;
22877 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22878 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22881 case $ac_abs_builddir in
22882 .) ac_abs_top_srcdir=$ac_top_srcdir;;
22884 case $ac_top_srcdir in
22885 .) ac_abs_top_srcdir=$ac_abs_builddir;;
22886 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22887 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22892 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22893 echo "$as_me: executing $ac_dest commands" >&6;}
22895 default ) (echo "Doing make of dependencies"; ${MAKE:-make} depend;)
22901 cat >>$CONFIG_STATUS <<\_ACEOF
22903 { (exit 0); exit 0; }
22905 chmod +x $CONFIG_STATUS
22906 ac_clean_files=$ac_clean_files_save
22909 # configure is writing to config.log, and then calls config.status.
22910 # config.status does its own redirection, appending to config.log.
22911 # Unfortunately, on DOS this fails, as config.log is still kept open
22912 # by configure, so config.status won't be able to write to it; its
22913 # output is simply discarded. So we exec the FD to /dev/null,
22914 # effectively closing config.log, so it can be properly (re)opened and
22915 # appended to by config.status. When coming back to configure, we
22916 # need to make the FD available again.
22917 if test "$no_create" != yes; then
22919 ac_config_status_args=
22920 test "$silent" = yes &&
22921 ac_config_status_args="$ac_config_status_args --quiet"
22923 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22925 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22926 # would make configure fail if this is the last instruction.
22927 $ac_cs_success || { (exit 1); exit 1; }
22932 chmod 755 startmysql stopmysql bacula startit stopit btraceback mtx-changer
22933 chmod 755 bconsole gconsole mtx-changer devel_bacula logrotate
22938 chmod 755 $c/create_bacula_database $c/update_bacula_tables $c/make_bacula_tables
22939 chmod 755 $c/grant_bacula_privileges $c/drop_bacula_tables $c/drop_bacula_database
22941 chmod 755 $c/create_bdb_database $c/update_bdb_tables $c/make_bdb_tables
22942 chmod 755 $c/grant_bdb_privileges $c/drop_bdb_tables $c/drop_bdb_database
22944 chmod 755 $c/create_mysql_database $c/update_mysql_tables $c/make_mysql_tables
22945 chmod 755 $c/grant_mysql_privileges $c/drop_mysql_tables $c/drop_mysql_database
22947 chmod 755 $c/create_sqlite_database $c/update_sqlite_tables $c/make_sqlite_tables
22948 chmod 755 $c/grant_sqlite_privileges $c/drop_sqlite_tables $c/drop_sqlite_database
22950 chmod 755 $c/create_postgresql_database $c/update_postgresql_tables $c/make_postgresql_tables
22951 chmod 755 $c/grant_postgresql_privileges $c/drop_postgresql_tables $c/drop_postgresql_database
22953 chmod 755 $c/make_catalog_backup $c/delete_catalog_backup
22954 chmod 755 $c/sqlite
22957 if test "x$ac_cv_sys_largefile_CFLAGS" != "xno" ; then
22958 largefile_support="yes"
22962 # A whole lot of hand springs to get the compiler version.
22963 # This is because gcc changed the output in version 3.0
22965 CCVERSION=`${CC} --version | tr '\n' ' ' | cut -f 3 -d ' '`
22966 if test "x${CCVERSION}" = "x" ; then
22967 CCVERSION=`${CC} --version | tr '\n' ' ' | cut -f 1 -d ' '`
22969 CXXVERSION=`${CXX} --version | tr '\n' ' ' | cut -f 3 -d ' '`
22970 if test x"${CXXVERSION}" = x ; then
22971 CXXVERSION=`${CXX} --version | tr '\n' ' ' | cut -f 1 -d ' '`
22974 if test "x${subsysdir}" = "x${sbindir}" ; then
22977 echo "You have set --sbindir and --with-subsys-dir"
22978 echo " both equal to: ${subsysdir} "
22979 echo " This is not permitted. Please reconfigure."
22981 echo "Aborting configuration ..."
22987 if test "x${db_name}" = "xInternal" ; then
22990 echo "You have not specified either --enable-client-only or one of the"
22991 echo " supported databases: MySQL, PostgreSQL, or SQLite".
22992 echo " This is not permitted. Please reconfigure."
22994 echo "Aborting the configuration ..."
23001 Configuration on `date`:
23003 Host: $host -- ${DISTNAME} ${DISTVER}
23004 Bacula version: ${VERSION} (${DATE})
23005 Source code location: ${srcdir}
23006 Install binaries: ${sbindir}
23007 Install config files: ${sysconfdir}
23008 Scripts directory: ${scriptdir}
23009 Working directory: ${working_dir}
23010 PID directory: ${piddir}
23011 Subsys directory: ${subsysdir}
23012 C Compiler: ${CC} ${CCVERSION}
23013 C++ Compiler: ${CXX} ${CXXVERSION}
23014 Compiler flags: ${WCFLAGS} ${CFLAGS}
23015 Linker flags: ${WLDFLAGS} ${LDFLAGS}
23017 Statically Linked Tools: ${support_static_tools}
23018 Statically Linked FD: ${support_static_fd}
23019 Statically Linked SD: ${support_static_sd}
23020 Statically Linked DIR: ${support_static_dir}
23021 Statically Linked CONS: ${support_static_cons}
23022 Database type: ${db_name}
23023 Database lib: ${DB_LIBS}
23025 Job Output Email: ${job_email}
23026 Traceback Email: ${dump_email}
23027 SMTP Host Address: ${smtp_host}
23029 Director Port: ${dir_port}
23030 File daemon Port: ${fd_port}
23031 Storage daemon Port: ${sd_port}
23033 Director User: ${dir_user}
23034 Director Group: ${dir_group}
23035 Storage Daemon User: ${sd_user}
23036 Storage DaemonGroup: ${sd_group}
23037 File Daemon User: ${fd_user}
23038 File Daemon Group: ${fd_group}
23040 SQL binaries Directory ${SQL_BINDIR}
23042 Large file support: $largefile_support
23043 Bacula conio support: ${got_conio} ${CONS_LIBS}
23044 readline support: ${got_readline} ${PRTREADLINE_SRC}
23045 TCP Wrappers support: ${TCPW_MSG}
23046 ZLIB support: ${have_zlib}
23047 enable-smartalloc: ${support_smartalloc}
23048 enable-gnome: ${support_gnome} ${gnome_version}
23049 enable-wx-console: ${support_wx_console}
23050 enable-tray-monitor: ${support_tray_monitor}
23051 client-only: ${build_client_only}
23052 ACL support: ${have_acl}
23053 Python support: ${support_python} ${PYTHON_LIBS}
23060 # cweb support: ${got_cweb} ${CWEB_SRC}
23061 # gmp support: ${got_gmp} ${GMP_SRC}