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 ECHO CMP TBL AR OPENSSL MTX MKISOFS PYTHON GROWISOFS DVDRWMEDIAINFO PKGCONFIG WXCONFIG CDRECORD PIDOF AWK 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 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-sqlite3=DIR Include SQLite3 support. DIR is the SQLite3 base
926 install directory, default is to search through
927 a number of common places for the SQLite3 files.
929 --with-sqlite=DIR Include SQLite support. DIR is the SQLite base
930 install directory, default is to search through
931 a number of common places for the SQLite files.
932 --with-x use the X Window System
934 Some influential environment variables:
935 CC C compiler command
936 CFLAGS C compiler flags
937 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
938 nonstandard directory <lib dir>
939 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
940 headers in a nonstandard directory <include dir>
941 CXX C++ compiler command
942 CXXFLAGS C++ compiler flags
945 Use these variables to override the choices made by `configure' or to help
946 it to find libraries and programs with nonstandard names/locations.
951 if test "$ac_init_help" = "recursive"; then
952 # If there are subdirs, report their specific --help.
954 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
955 test -d $ac_dir || continue
958 if test "$ac_dir" != .; then
959 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
960 # A "../" for each directory in $ac_dir_suffix.
961 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
963 ac_dir_suffix= ac_top_builddir=
967 .) # No --srcdir option. We are building in place.
969 if test -z "$ac_top_builddir"; then
972 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
974 [\\/]* | ?:[\\/]* ) # Absolute path.
975 ac_srcdir=$srcdir$ac_dir_suffix;
976 ac_top_srcdir=$srcdir ;;
978 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
979 ac_top_srcdir=$ac_top_builddir$srcdir ;;
982 # Do not use `cd foo && pwd` to compute absolute paths, because
983 # the directories may not exist.
985 .) ac_abs_builddir="$ac_dir";;
988 .) ac_abs_builddir=`pwd`;;
989 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
990 *) ac_abs_builddir=`pwd`/"$ac_dir";;
993 case $ac_abs_builddir in
994 .) ac_abs_top_builddir=${ac_top_builddir}.;;
996 case ${ac_top_builddir}. in
997 .) ac_abs_top_builddir=$ac_abs_builddir;;
998 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
999 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1002 case $ac_abs_builddir in
1003 .) ac_abs_srcdir=$ac_srcdir;;
1006 .) ac_abs_srcdir=$ac_abs_builddir;;
1007 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1008 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1011 case $ac_abs_builddir in
1012 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1014 case $ac_top_srcdir in
1015 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1016 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1017 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1022 # Check for guested configure; otherwise get Cygnus style configure.
1023 if test -f $ac_srcdir/configure.gnu; then
1025 $SHELL $ac_srcdir/configure.gnu --help=recursive
1026 elif test -f $ac_srcdir/configure; then
1028 $SHELL $ac_srcdir/configure --help=recursive
1029 elif test -f $ac_srcdir/configure.ac ||
1030 test -f $ac_srcdir/configure.in; then
1032 $ac_configure --help
1034 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1040 test -n "$ac_init_help" && exit 0
1041 if $ac_init_version; then
1044 Copyright (C) 2003 Free Software Foundation, Inc.
1045 This configure script is free software; the Free Software Foundation
1046 gives unlimited permission to copy, distribute and modify it.
1052 This file contains any messages produced by compilers while
1053 running configure, to aid debugging if configure makes a mistake.
1055 It was created by $as_me, which was
1056 generated by GNU Autoconf 2.59. Invocation command line was
1067 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1068 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1069 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1070 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1071 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1073 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1074 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1076 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1077 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1078 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1079 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1080 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1081 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1082 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1090 test -z "$as_dir" && as_dir=.
1091 echo "PATH: $as_dir"
1106 # Keep a trace of the command line.
1107 # Strip out --no-create and --no-recursion so they do not pile up.
1108 # Strip out --silent because we don't want to record it for future runs.
1109 # Also quote any args containing shell meta-characters.
1110 # Make two passes to allow for proper duplicate-argument suppression.
1115 ac_must_keep_next=false
1121 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1122 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1123 | -silent | --silent | --silen | --sile | --sil)
1125 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1126 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1129 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1131 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1132 if test $ac_must_keep_next = true; then
1133 ac_must_keep_next=false # Got value, back to normal.
1136 *=* | --config-cache | -C | -disable-* | --disable-* \
1137 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1138 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1139 | -with-* | --with-* | -without-* | --without-* | --x)
1140 case "$ac_configure_args0 " in
1141 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1144 -* ) ac_must_keep_next=true ;;
1147 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1148 # Get rid of the leading space.
1154 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1155 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1157 # When interrupted or exit'd, cleanup temporary files, and complete
1158 # config.log. We remove comments because anyway the quotes in there
1159 # would cause problems or look ugly.
1160 # WARNING: Be sure not to use single quotes in there, as some shells,
1161 # such as our DU 5.0 friend, will then `close' the trap.
1162 trap 'exit_status=$?
1163 # Save into config.log some information that might help in debugging.
1168 ## ---------------- ##
1169 ## Cache variables. ##
1170 ## ---------------- ##
1173 # The following way of writing the cache mishandles newlines in values,
1176 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1179 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1180 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1184 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1191 ## ----------------- ##
1192 ## Output variables. ##
1193 ## ----------------- ##
1196 for ac_var in $ac_subst_vars
1198 eval ac_val=$`echo $ac_var`
1199 echo "$ac_var='"'"'$ac_val'"'"'"
1203 if test -n "$ac_subst_files"; then
1210 for ac_var in $ac_subst_files
1212 eval ac_val=$`echo $ac_var`
1213 echo "$ac_var='"'"'$ac_val'"'"'"
1218 if test -s confdefs.h; then
1225 sed "/^$/d" confdefs.h | sort
1228 test "$ac_signal" != 0 &&
1229 echo "$as_me: caught signal $ac_signal"
1230 echo "$as_me: exit $exit_status"
1232 rm -f core *.core &&
1233 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1236 for ac_signal in 1 2 13 15; do
1237 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1241 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1242 rm -rf conftest* confdefs.h
1243 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1246 # Predefined preprocessor variables.
1248 cat >>confdefs.h <<_ACEOF
1249 #define PACKAGE_NAME "$PACKAGE_NAME"
1253 cat >>confdefs.h <<_ACEOF
1254 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1258 cat >>confdefs.h <<_ACEOF
1259 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1263 cat >>confdefs.h <<_ACEOF
1264 #define PACKAGE_STRING "$PACKAGE_STRING"
1268 cat >>confdefs.h <<_ACEOF
1269 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1273 # Let the site file select an alternate cache file if it wants to.
1274 # Prefer explicitly selected file to automatically selected ones.
1275 if test -z "$CONFIG_SITE"; then
1276 if test "x$prefix" != xNONE; then
1277 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1279 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1282 for ac_site_file in $CONFIG_SITE; do
1283 if test -r "$ac_site_file"; then
1284 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1285 echo "$as_me: loading site script $ac_site_file" >&6;}
1286 sed 's/^/| /' "$ac_site_file" >&5
1291 if test -r "$cache_file"; then
1292 # Some versions of bash will fail to source /dev/null (special
1293 # files actually), so we avoid doing that.
1294 if test -f "$cache_file"; then
1295 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1296 echo "$as_me: loading cache $cache_file" >&6;}
1298 [\\/]* | ?:[\\/]* ) . $cache_file;;
1299 *) . ./$cache_file;;
1303 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1304 echo "$as_me: creating cache $cache_file" >&6;}
1308 # Check that the precious variables saved in the cache have kept the same
1310 ac_cache_corrupted=false
1311 for ac_var in `(set) 2>&1 |
1312 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1313 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1314 eval ac_new_set=\$ac_env_${ac_var}_set
1315 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1316 eval ac_new_val="\$ac_env_${ac_var}_value"
1317 case $ac_old_set,$ac_new_set in
1319 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1320 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1321 ac_cache_corrupted=: ;;
1323 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1324 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1325 ac_cache_corrupted=: ;;
1328 if test "x$ac_old_val" != "x$ac_new_val"; then
1329 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1330 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1331 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1332 echo "$as_me: former value: $ac_old_val" >&2;}
1333 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1334 echo "$as_me: current value: $ac_new_val" >&2;}
1335 ac_cache_corrupted=:
1338 # Pass precious variables to config.status.
1339 if test "$ac_new_set" = set; then
1341 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1342 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1343 *) ac_arg=$ac_var=$ac_new_val ;;
1345 case " $ac_configure_args " in
1346 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1347 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1351 if $ac_cache_corrupted; then
1352 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1353 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1354 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1355 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1356 { (exit 1); exit 1; }; }
1360 ac_cpp='$CPP $CPPFLAGS'
1361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1389 for ac_dir in ${BUILD_DIR}/autoconf $srcdir/${BUILD_DIR}/autoconf; do
1390 if test -f $ac_dir/install-sh; then
1392 ac_install_sh="$ac_aux_dir/install-sh -c"
1394 elif test -f $ac_dir/install.sh; then
1396 ac_install_sh="$ac_aux_dir/install.sh -c"
1398 elif test -f $ac_dir/shtool; then
1400 ac_install_sh="$ac_aux_dir/shtool install -c"
1404 if test -z "$ac_aux_dir"; then
1405 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${BUILD_DIR}/autoconf $srcdir/${BUILD_DIR}/autoconf" >&5
1406 echo "$as_me: error: cannot find install-sh or install.sh in ${BUILD_DIR}/autoconf $srcdir/${BUILD_DIR}/autoconf" >&2;}
1407 { (exit 1); exit 1; }; }
1409 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1410 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1411 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1413 ac_config_headers="$ac_config_headers src/config.h:autoconf/config.h.in"
1421 # Extract the first word of "$ac_prog", so it can be a program name with args.
1422 set dummy $ac_prog; ac_word=$2
1423 echo "$as_me:$LINENO: checking for $ac_word" >&5
1424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1425 if test "${ac_cv_path_TRUEPRG+set}" = set; then
1426 echo $ECHO_N "(cached) $ECHO_C" >&6
1430 ac_cv_path_TRUEPRG="$TRUEPRG" # Let the user override the test with a path.
1433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1437 test -z "$as_dir" && as_dir=.
1438 for ac_exec_ext in '' $ac_executable_extensions; do
1439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1440 ac_cv_path_TRUEPRG="$as_dir/$ac_word$ac_exec_ext"
1441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1450 TRUEPRG=$ac_cv_path_TRUEPRG
1452 if test -n "$TRUEPRG"; then
1453 echo "$as_me:$LINENO: result: $TRUEPRG" >&5
1454 echo "${ECHO_T}$TRUEPRG" >&6
1456 echo "$as_me:$LINENO: result: no" >&5
1457 echo "${ECHO_T}no" >&6
1460 test -n "$TRUEPRG" && break
1462 test -n "$TRUEPRG" || TRUEPRG=":"
1464 for ac_prog in false
1466 # Extract the first word of "$ac_prog", so it can be a program name with args.
1467 set dummy $ac_prog; ac_word=$2
1468 echo "$as_me:$LINENO: checking for $ac_word" >&5
1469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1470 if test "${ac_cv_path_FALSEPRG+set}" = set; then
1471 echo $ECHO_N "(cached) $ECHO_C" >&6
1475 ac_cv_path_FALSEPRG="$FALSEPRG" # Let the user override the test with a path.
1478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1482 test -z "$as_dir" && as_dir=.
1483 for ac_exec_ext in '' $ac_executable_extensions; do
1484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1485 ac_cv_path_FALSEPRG="$as_dir/$ac_word$ac_exec_ext"
1486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1495 FALSEPRG=$ac_cv_path_FALSEPRG
1497 if test -n "$FALSEPRG"; then
1498 echo "$as_me:$LINENO: result: $FALSEPRG" >&5
1499 echo "${ECHO_T}$FALSEPRG" >&6
1501 echo "$as_me:$LINENO: result: no" >&5
1502 echo "${ECHO_T}no" >&6
1505 test -n "$FALSEPRG" && break
1507 test -n "$FALSEPRG" || FALSEPRG=":"
1512 VERSION=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1513 DATE=`sed -n -e 's/^.* \t*BDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1514 LSMDATE=`sed -n -e 's/^.*LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1515 echo "configuring for bacula $VERSION ($DATE)"
1520 ac_cpp='$CPP $CPPFLAGS'
1521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1524 if test -n "$ac_tool_prefix"; then
1525 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1526 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1527 echo "$as_me:$LINENO: checking for $ac_word" >&5
1528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1529 if test "${ac_cv_prog_CC+set}" = set; then
1530 echo $ECHO_N "(cached) $ECHO_C" >&6
1532 if test -n "$CC"; then
1533 ac_cv_prog_CC="$CC" # Let the user override the test.
1535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1539 test -z "$as_dir" && as_dir=.
1540 for ac_exec_ext in '' $ac_executable_extensions; do
1541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1542 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1552 if test -n "$CC"; then
1553 echo "$as_me:$LINENO: result: $CC" >&5
1554 echo "${ECHO_T}$CC" >&6
1556 echo "$as_me:$LINENO: result: no" >&5
1557 echo "${ECHO_T}no" >&6
1561 if test -z "$ac_cv_prog_CC"; then
1563 # Extract the first word of "gcc", so it can be a program name with args.
1564 set dummy gcc; ac_word=$2
1565 echo "$as_me:$LINENO: checking for $ac_word" >&5
1566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1567 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1568 echo $ECHO_N "(cached) $ECHO_C" >&6
1570 if test -n "$ac_ct_CC"; then
1571 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1577 test -z "$as_dir" && as_dir=.
1578 for ac_exec_ext in '' $ac_executable_extensions; do
1579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1580 ac_cv_prog_ac_ct_CC="gcc"
1581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1589 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1590 if test -n "$ac_ct_CC"; then
1591 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1592 echo "${ECHO_T}$ac_ct_CC" >&6
1594 echo "$as_me:$LINENO: result: no" >&5
1595 echo "${ECHO_T}no" >&6
1603 if test -z "$CC"; then
1604 if test -n "$ac_tool_prefix"; then
1605 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1606 set dummy ${ac_tool_prefix}cc; ac_word=$2
1607 echo "$as_me:$LINENO: checking for $ac_word" >&5
1608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1609 if test "${ac_cv_prog_CC+set}" = set; then
1610 echo $ECHO_N "(cached) $ECHO_C" >&6
1612 if test -n "$CC"; then
1613 ac_cv_prog_CC="$CC" # Let the user override the test.
1615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1619 test -z "$as_dir" && as_dir=.
1620 for ac_exec_ext in '' $ac_executable_extensions; do
1621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1622 ac_cv_prog_CC="${ac_tool_prefix}cc"
1623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1632 if test -n "$CC"; then
1633 echo "$as_me:$LINENO: result: $CC" >&5
1634 echo "${ECHO_T}$CC" >&6
1636 echo "$as_me:$LINENO: result: no" >&5
1637 echo "${ECHO_T}no" >&6
1641 if test -z "$ac_cv_prog_CC"; then
1643 # Extract the first word of "cc", so it can be a program name with args.
1644 set dummy cc; ac_word=$2
1645 echo "$as_me:$LINENO: checking for $ac_word" >&5
1646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1647 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1648 echo $ECHO_N "(cached) $ECHO_C" >&6
1650 if test -n "$ac_ct_CC"; then
1651 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1657 test -z "$as_dir" && as_dir=.
1658 for ac_exec_ext in '' $ac_executable_extensions; do
1659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1660 ac_cv_prog_ac_ct_CC="cc"
1661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1669 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1670 if test -n "$ac_ct_CC"; then
1671 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1672 echo "${ECHO_T}$ac_ct_CC" >&6
1674 echo "$as_me:$LINENO: result: no" >&5
1675 echo "${ECHO_T}no" >&6
1684 if test -z "$CC"; then
1685 # Extract the first word of "cc", so it can be a program name with args.
1686 set dummy cc; ac_word=$2
1687 echo "$as_me:$LINENO: checking for $ac_word" >&5
1688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1689 if test "${ac_cv_prog_CC+set}" = set; then
1690 echo $ECHO_N "(cached) $ECHO_C" >&6
1692 if test -n "$CC"; then
1693 ac_cv_prog_CC="$CC" # Let the user override the test.
1696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1700 test -z "$as_dir" && as_dir=.
1701 for ac_exec_ext in '' $ac_executable_extensions; do
1702 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1703 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1704 ac_prog_rejected=yes
1708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1714 if test $ac_prog_rejected = yes; then
1715 # We found a bogon in the path, so make sure we never use it.
1716 set dummy $ac_cv_prog_CC
1718 if test $# != 0; then
1719 # We chose a different compiler from the bogus one.
1720 # However, it has the same basename, so the bogon will be chosen
1721 # first if we set CC to just the basename; use the full file name.
1723 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1729 if test -n "$CC"; then
1730 echo "$as_me:$LINENO: result: $CC" >&5
1731 echo "${ECHO_T}$CC" >&6
1733 echo "$as_me:$LINENO: result: no" >&5
1734 echo "${ECHO_T}no" >&6
1738 if test -z "$CC"; then
1739 if test -n "$ac_tool_prefix"; then
1742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1743 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1744 echo "$as_me:$LINENO: checking for $ac_word" >&5
1745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1746 if test "${ac_cv_prog_CC+set}" = set; then
1747 echo $ECHO_N "(cached) $ECHO_C" >&6
1749 if test -n "$CC"; then
1750 ac_cv_prog_CC="$CC" # Let the user override the test.
1752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1756 test -z "$as_dir" && as_dir=.
1757 for ac_exec_ext in '' $ac_executable_extensions; do
1758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1759 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1769 if test -n "$CC"; then
1770 echo "$as_me:$LINENO: result: $CC" >&5
1771 echo "${ECHO_T}$CC" >&6
1773 echo "$as_me:$LINENO: result: no" >&5
1774 echo "${ECHO_T}no" >&6
1777 test -n "$CC" && break
1780 if test -z "$CC"; then
1784 # Extract the first word of "$ac_prog", so it can be a program name with args.
1785 set dummy $ac_prog; ac_word=$2
1786 echo "$as_me:$LINENO: checking for $ac_word" >&5
1787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1788 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1791 if test -n "$ac_ct_CC"; then
1792 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1798 test -z "$as_dir" && as_dir=.
1799 for ac_exec_ext in '' $ac_executable_extensions; do
1800 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1801 ac_cv_prog_ac_ct_CC="$ac_prog"
1802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1810 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1811 if test -n "$ac_ct_CC"; then
1812 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1813 echo "${ECHO_T}$ac_ct_CC" >&6
1815 echo "$as_me:$LINENO: result: no" >&5
1816 echo "${ECHO_T}no" >&6
1819 test -n "$ac_ct_CC" && break
1828 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1829 See \`config.log' for more details." >&5
1830 echo "$as_me: error: no acceptable C compiler found in \$PATH
1831 See \`config.log' for more details." >&2;}
1832 { (exit 1); exit 1; }; }
1834 # Provide some information about the compiler.
1835 echo "$as_me:$LINENO:" \
1836 "checking for C compiler version" >&5
1837 ac_compiler=`set X $ac_compile; echo $2`
1838 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1839 (eval $ac_compiler --version </dev/null >&5) 2>&5
1841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1842 (exit $ac_status); }
1843 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1844 (eval $ac_compiler -v </dev/null >&5) 2>&5
1846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1847 (exit $ac_status); }
1848 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1849 (eval $ac_compiler -V </dev/null >&5) 2>&5
1851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1852 (exit $ac_status); }
1854 cat >conftest.$ac_ext <<_ACEOF
1857 cat confdefs.h >>conftest.$ac_ext
1858 cat >>conftest.$ac_ext <<_ACEOF
1859 /* end confdefs.h. */
1869 ac_clean_files_save=$ac_clean_files
1870 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1871 # Try to create an executable without -o first, disregard a.out.
1872 # It will help us diagnose broken compilers, and finding out an intuition
1874 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1875 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1876 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1877 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1878 (eval $ac_link_default) 2>&5
1880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1881 (exit $ac_status); }; then
1882 # Find the output, starting from the most likely. This scheme is
1883 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1886 # Be careful to initialize this variable, since it used to be cached.
1887 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1889 # b.out is created by i960 compilers.
1890 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1892 test -f "$ac_file" || continue
1894 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1897 # This is the source file.
1900 # We found the default executable, but exeext='' is most
1904 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1905 # FIXME: I believe we export ac_cv_exeext for Libtool,
1906 # but it would be cool to find out if it's true. Does anybody
1907 # maintain Libtool? --akim.
1915 echo "$as_me: failed program was:" >&5
1916 sed 's/^/| /' conftest.$ac_ext >&5
1918 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1919 See \`config.log' for more details." >&5
1920 echo "$as_me: error: C compiler cannot create executables
1921 See \`config.log' for more details." >&2;}
1922 { (exit 77); exit 77; }; }
1925 ac_exeext=$ac_cv_exeext
1926 echo "$as_me:$LINENO: result: $ac_file" >&5
1927 echo "${ECHO_T}$ac_file" >&6
1929 # Check the compiler produces executables we can run. If not, either
1930 # the compiler is broken, or we cross compile.
1931 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1932 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1933 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1934 # If not cross compiling, check that we can run a simple program.
1935 if test "$cross_compiling" != yes; then
1936 if { ac_try='./$ac_file'
1937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1941 (exit $ac_status); }; }; then
1944 if test "$cross_compiling" = maybe; then
1947 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1948 If you meant to cross compile, use \`--host'.
1949 See \`config.log' for more details." >&5
1950 echo "$as_me: error: cannot run C compiled programs.
1951 If you meant to cross compile, use \`--host'.
1952 See \`config.log' for more details." >&2;}
1953 { (exit 1); exit 1; }; }
1957 echo "$as_me:$LINENO: result: yes" >&5
1958 echo "${ECHO_T}yes" >&6
1960 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1961 ac_clean_files=$ac_clean_files_save
1962 # Check the compiler produces executables we can run. If not, either
1963 # the compiler is broken, or we cross compile.
1964 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1965 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1966 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1967 echo "${ECHO_T}$cross_compiling" >&6
1969 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1970 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1972 (eval $ac_link) 2>&5
1974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1975 (exit $ac_status); }; then
1976 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1977 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1978 # work properly (i.e., refer to `conftest.exe'), while it won't with
1980 for ac_file in conftest.exe conftest conftest.*; do
1981 test -f "$ac_file" || continue
1983 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1984 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1991 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1992 See \`config.log' for more details." >&5
1993 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1994 See \`config.log' for more details." >&2;}
1995 { (exit 1); exit 1; }; }
1998 rm -f conftest$ac_cv_exeext
1999 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2000 echo "${ECHO_T}$ac_cv_exeext" >&6
2002 rm -f conftest.$ac_ext
2003 EXEEXT=$ac_cv_exeext
2005 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2006 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2007 if test "${ac_cv_objext+set}" = set; then
2008 echo $ECHO_N "(cached) $ECHO_C" >&6
2010 cat >conftest.$ac_ext <<_ACEOF
2013 cat confdefs.h >>conftest.$ac_ext
2014 cat >>conftest.$ac_ext <<_ACEOF
2015 /* end confdefs.h. */
2025 rm -f conftest.o conftest.obj
2026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2027 (eval $ac_compile) 2>&5
2029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2030 (exit $ac_status); }; then
2031 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2033 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2034 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2039 echo "$as_me: failed program was:" >&5
2040 sed 's/^/| /' conftest.$ac_ext >&5
2042 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2043 See \`config.log' for more details." >&5
2044 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2045 See \`config.log' for more details." >&2;}
2046 { (exit 1); exit 1; }; }
2049 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2051 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2052 echo "${ECHO_T}$ac_cv_objext" >&6
2053 OBJEXT=$ac_cv_objext
2055 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2056 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2057 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2058 echo $ECHO_N "(cached) $ECHO_C" >&6
2060 cat >conftest.$ac_ext <<_ACEOF
2063 cat confdefs.h >>conftest.$ac_ext
2064 cat >>conftest.$ac_ext <<_ACEOF
2065 /* end confdefs.h. */
2078 rm -f conftest.$ac_objext
2079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2080 (eval $ac_compile) 2>conftest.er1
2082 grep -v '^ *+' conftest.er1 >conftest.err
2084 cat conftest.err >&5
2085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086 (exit $ac_status); } &&
2087 { ac_try='test -z "$ac_c_werror_flag"
2088 || test ! -s conftest.err'
2089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2093 (exit $ac_status); }; } &&
2094 { ac_try='test -s conftest.$ac_objext'
2095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2099 (exit $ac_status); }; }; then
2102 echo "$as_me: failed program was:" >&5
2103 sed 's/^/| /' conftest.$ac_ext >&5
2107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2108 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2111 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2112 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2113 GCC=`test $ac_compiler_gnu = yes && echo yes`
2114 ac_test_CFLAGS=${CFLAGS+set}
2115 ac_save_CFLAGS=$CFLAGS
2117 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2118 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2119 if test "${ac_cv_prog_cc_g+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2122 cat >conftest.$ac_ext <<_ACEOF
2125 cat confdefs.h >>conftest.$ac_ext
2126 cat >>conftest.$ac_ext <<_ACEOF
2127 /* end confdefs.h. */
2137 rm -f conftest.$ac_objext
2138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2139 (eval $ac_compile) 2>conftest.er1
2141 grep -v '^ *+' conftest.er1 >conftest.err
2143 cat conftest.err >&5
2144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145 (exit $ac_status); } &&
2146 { ac_try='test -z "$ac_c_werror_flag"
2147 || test ! -s conftest.err'
2148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2152 (exit $ac_status); }; } &&
2153 { ac_try='test -s conftest.$ac_objext'
2154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }; }; then
2161 echo "$as_me: failed program was:" >&5
2162 sed 's/^/| /' conftest.$ac_ext >&5
2166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2168 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2169 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2170 if test "$ac_test_CFLAGS" = set; then
2171 CFLAGS=$ac_save_CFLAGS
2172 elif test $ac_cv_prog_cc_g = yes; then
2173 if test "$GCC" = yes; then
2179 if test "$GCC" = yes; then
2185 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2186 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2187 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2190 ac_cv_prog_cc_stdc=no
2192 cat >conftest.$ac_ext <<_ACEOF
2195 cat confdefs.h >>conftest.$ac_ext
2196 cat >>conftest.$ac_ext <<_ACEOF
2197 /* end confdefs.h. */
2200 #include <sys/types.h>
2201 #include <sys/stat.h>
2202 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2203 struct buf { int x; };
2204 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2205 static char *e (p, i)
2211 static char *f (char * (*g) (char **, int), char **p, ...)
2216 s = g (p, va_arg (v,int));
2221 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2222 function prototypes and stuff, but not '\xHH' hex character constants.
2223 These don't provoke an error unfortunately, instead are silently treated
2224 as 'x'. The following induces an error, until -std1 is added to get
2225 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2226 array size at least. It's necessary to write '\x00'==0 to get something
2227 that's true only with -std1. */
2228 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2230 int test (int i, double x);
2231 struct s1 {int (*f) (int a);};
2232 struct s2 {int (*f) (double a);};
2233 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2239 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2244 # Don't try gcc -ansi; that turns off useful extensions and
2245 # breaks some systems' header files.
2246 # AIX -qlanglvl=ansi
2247 # Ultrix and OSF/1 -std1
2248 # HP-UX 10.20 and later -Ae
2249 # HP-UX older versions -Aa -D_HPUX_SOURCE
2250 # SVR4 -Xc -D__EXTENSIONS__
2251 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2253 CC="$ac_save_CC $ac_arg"
2254 rm -f conftest.$ac_objext
2255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2256 (eval $ac_compile) 2>conftest.er1
2258 grep -v '^ *+' conftest.er1 >conftest.err
2260 cat conftest.err >&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); } &&
2263 { ac_try='test -z "$ac_c_werror_flag"
2264 || test ! -s conftest.err'
2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); }; } &&
2270 { ac_try='test -s conftest.$ac_objext'
2271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); }; }; then
2276 ac_cv_prog_cc_stdc=$ac_arg
2279 echo "$as_me: failed program was:" >&5
2280 sed 's/^/| /' conftest.$ac_ext >&5
2283 rm -f conftest.err conftest.$ac_objext
2285 rm -f conftest.$ac_ext conftest.$ac_objext
2290 case "x$ac_cv_prog_cc_stdc" in
2292 echo "$as_me:$LINENO: result: none needed" >&5
2293 echo "${ECHO_T}none needed" >&6 ;;
2295 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2296 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2297 CC="$CC $ac_cv_prog_cc_stdc" ;;
2300 # Some people use a C++ compiler to compile C. Since we use `exit',
2301 # in C++ we need to declare it. In case someone uses the same compiler
2302 # for both compiling C and C++ we need to have the C++ compiler decide
2303 # the declaration of exit, since it's the most demanding environment.
2304 cat >conftest.$ac_ext <<_ACEOF
2309 rm -f conftest.$ac_objext
2310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2311 (eval $ac_compile) 2>conftest.er1
2313 grep -v '^ *+' conftest.er1 >conftest.err
2315 cat conftest.err >&5
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); } &&
2318 { ac_try='test -z "$ac_c_werror_flag"
2319 || test ! -s conftest.err'
2320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); }; } &&
2325 { ac_try='test -s conftest.$ac_objext'
2326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }; }; then
2331 for ac_declaration in \
2333 'extern "C" void std::exit (int) throw (); using std::exit;' \
2334 'extern "C" void std::exit (int); using std::exit;' \
2335 'extern "C" void exit (int) throw ();' \
2336 'extern "C" void exit (int);' \
2339 cat >conftest.$ac_ext <<_ACEOF
2342 cat confdefs.h >>conftest.$ac_ext
2343 cat >>conftest.$ac_ext <<_ACEOF
2344 /* end confdefs.h. */
2355 rm -f conftest.$ac_objext
2356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2357 (eval $ac_compile) 2>conftest.er1
2359 grep -v '^ *+' conftest.er1 >conftest.err
2361 cat conftest.err >&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); } &&
2364 { ac_try='test -z "$ac_c_werror_flag"
2365 || test ! -s conftest.err'
2366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; } &&
2371 { ac_try='test -s conftest.$ac_objext'
2372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }; }; then
2379 echo "$as_me: failed program was:" >&5
2380 sed 's/^/| /' conftest.$ac_ext >&5
2384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2385 cat >conftest.$ac_ext <<_ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2400 rm -f conftest.$ac_objext
2401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2402 (eval $ac_compile) 2>conftest.er1
2404 grep -v '^ *+' conftest.er1 >conftest.err
2406 cat conftest.err >&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); } &&
2409 { ac_try='test -z "$ac_c_werror_flag"
2410 || test ! -s conftest.err'
2411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 (exit $ac_status); }; } &&
2416 { ac_try='test -s conftest.$ac_objext'
2417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); }; }; then
2424 echo "$as_me: failed program was:" >&5
2425 sed 's/^/| /' conftest.$ac_ext >&5
2428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2431 if test -n "$ac_declaration"; then
2432 echo '#ifdef __cplusplus' >>confdefs.h
2433 echo $ac_declaration >>confdefs.h
2434 echo '#endif' >>confdefs.h
2438 echo "$as_me: failed program was:" >&5
2439 sed 's/^/| /' conftest.$ac_ext >&5
2442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2444 ac_cpp='$CPP $CPPFLAGS'
2445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2450 ac_cpp='$CXXCPP $CPPFLAGS'
2451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2454 if test -n "$ac_tool_prefix"; then
2455 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2457 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2458 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2459 echo "$as_me:$LINENO: checking for $ac_word" >&5
2460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2461 if test "${ac_cv_prog_CXX+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 if test -n "$CXX"; then
2465 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471 test -z "$as_dir" && as_dir=.
2472 for ac_exec_ext in '' $ac_executable_extensions; do
2473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2474 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2484 if test -n "$CXX"; then
2485 echo "$as_me:$LINENO: result: $CXX" >&5
2486 echo "${ECHO_T}$CXX" >&6
2488 echo "$as_me:$LINENO: result: no" >&5
2489 echo "${ECHO_T}no" >&6
2492 test -n "$CXX" && break
2495 if test -z "$CXX"; then
2497 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2499 # Extract the first word of "$ac_prog", so it can be a program name with args.
2500 set dummy $ac_prog; ac_word=$2
2501 echo "$as_me:$LINENO: checking for $ac_word" >&5
2502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2503 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2504 echo $ECHO_N "(cached) $ECHO_C" >&6
2506 if test -n "$ac_ct_CXX"; then
2507 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513 test -z "$as_dir" && as_dir=.
2514 for ac_exec_ext in '' $ac_executable_extensions; do
2515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2516 ac_cv_prog_ac_ct_CXX="$ac_prog"
2517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2525 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2526 if test -n "$ac_ct_CXX"; then
2527 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2528 echo "${ECHO_T}$ac_ct_CXX" >&6
2530 echo "$as_me:$LINENO: result: no" >&5
2531 echo "${ECHO_T}no" >&6
2534 test -n "$ac_ct_CXX" && break
2536 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2542 # Provide some information about the compiler.
2543 echo "$as_me:$LINENO:" \
2544 "checking for C++ compiler version" >&5
2545 ac_compiler=`set X $ac_compile; echo $2`
2546 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2547 (eval $ac_compiler --version </dev/null >&5) 2>&5
2549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2550 (exit $ac_status); }
2551 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2552 (eval $ac_compiler -v </dev/null >&5) 2>&5
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); }
2556 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2557 (eval $ac_compiler -V </dev/null >&5) 2>&5
2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560 (exit $ac_status); }
2562 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2563 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2564 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 cat >conftest.$ac_ext <<_ACEOF
2570 cat confdefs.h >>conftest.$ac_ext
2571 cat >>conftest.$ac_ext <<_ACEOF
2572 /* end confdefs.h. */
2585 rm -f conftest.$ac_objext
2586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2587 (eval $ac_compile) 2>conftest.er1
2589 grep -v '^ *+' conftest.er1 >conftest.err
2591 cat conftest.err >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); } &&
2594 { ac_try='test -z "$ac_cxx_werror_flag"
2595 || test ! -s conftest.err'
2596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; } &&
2601 { ac_try='test -s conftest.$ac_objext'
2602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); }; }; then
2609 echo "$as_me: failed program was:" >&5
2610 sed 's/^/| /' conftest.$ac_ext >&5
2614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2615 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2618 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2619 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2620 GXX=`test $ac_compiler_gnu = yes && echo yes`
2621 ac_test_CXXFLAGS=${CXXFLAGS+set}
2622 ac_save_CXXFLAGS=$CXXFLAGS
2624 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2625 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2626 if test "${ac_cv_prog_cxx_g+set}" = set; then
2627 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 cat >conftest.$ac_ext <<_ACEOF
2632 cat confdefs.h >>conftest.$ac_ext
2633 cat >>conftest.$ac_ext <<_ACEOF
2634 /* end confdefs.h. */
2644 rm -f conftest.$ac_objext
2645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2646 (eval $ac_compile) 2>conftest.er1
2648 grep -v '^ *+' conftest.er1 >conftest.err
2650 cat conftest.err >&5
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); } &&
2653 { ac_try='test -z "$ac_cxx_werror_flag"
2654 || test ! -s conftest.err'
2655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); }; } &&
2660 { ac_try='test -s conftest.$ac_objext'
2661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); }; }; then
2666 ac_cv_prog_cxx_g=yes
2668 echo "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.$ac_ext >&5
2673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2675 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2676 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2677 if test "$ac_test_CXXFLAGS" = set; then
2678 CXXFLAGS=$ac_save_CXXFLAGS
2679 elif test $ac_cv_prog_cxx_g = yes; then
2680 if test "$GXX" = yes; then
2686 if test "$GXX" = yes; then
2692 for ac_declaration in \
2694 'extern "C" void std::exit (int) throw (); using std::exit;' \
2695 'extern "C" void std::exit (int); using std::exit;' \
2696 'extern "C" void exit (int) throw ();' \
2697 'extern "C" void exit (int);' \
2700 cat >conftest.$ac_ext <<_ACEOF
2703 cat confdefs.h >>conftest.$ac_ext
2704 cat >>conftest.$ac_ext <<_ACEOF
2705 /* end confdefs.h. */
2716 rm -f conftest.$ac_objext
2717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2718 (eval $ac_compile) 2>conftest.er1
2720 grep -v '^ *+' conftest.er1 >conftest.err
2722 cat conftest.err >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); } &&
2725 { ac_try='test -z "$ac_cxx_werror_flag"
2726 || test ! -s conftest.err'
2727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); }; } &&
2732 { ac_try='test -s conftest.$ac_objext'
2733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); }; }; then
2740 echo "$as_me: failed program was:" >&5
2741 sed 's/^/| /' conftest.$ac_ext >&5
2745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2746 cat >conftest.$ac_ext <<_ACEOF
2749 cat confdefs.h >>conftest.$ac_ext
2750 cat >>conftest.$ac_ext <<_ACEOF
2751 /* end confdefs.h. */
2761 rm -f conftest.$ac_objext
2762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2763 (eval $ac_compile) 2>conftest.er1
2765 grep -v '^ *+' conftest.er1 >conftest.err
2767 cat conftest.err >&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); } &&
2770 { ac_try='test -z "$ac_cxx_werror_flag"
2771 || test ! -s conftest.err'
2772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); }; } &&
2777 { ac_try='test -s conftest.$ac_objext'
2778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); }; }; then
2785 echo "$as_me: failed program was:" >&5
2786 sed 's/^/| /' conftest.$ac_ext >&5
2789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2792 if test -n "$ac_declaration"; then
2793 echo '#ifdef __cplusplus' >>confdefs.h
2794 echo $ac_declaration >>confdefs.h
2795 echo '#endif' >>confdefs.h
2799 ac_cpp='$CPP $CPPFLAGS'
2800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2804 if test "x$CC" != xcc; then
2805 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
2806 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
2808 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
2809 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
2811 set dummy $CC; ac_cc=`echo $2 |
2812 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
2813 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
2816 cat >conftest.$ac_ext <<_ACEOF
2819 cat confdefs.h >>conftest.$ac_ext
2820 cat >>conftest.$ac_ext <<_ACEOF
2821 /* end confdefs.h. */
2831 # Make sure it works both with $CC and with simple cc.
2832 # We do the test twice because some compilers refuse to overwrite an
2833 # existing .o file with -o, though they will create one.
2834 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
2835 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2839 (exit $ac_status); } &&
2840 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); };
2846 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
2847 if test "x$CC" != xcc; then
2848 # Test first that cc exists at all.
2849 if { ac_try='cc -c conftest.$ac_ext >&5'
2850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); }; }; then
2855 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
2856 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2860 (exit $ac_status); } &&
2861 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); };
2870 # cc exists but doesn't like -o.
2871 eval ac_cv_prog_cc_${ac_cc}_c_o=no
2876 eval ac_cv_prog_cc_${ac_cc}_c_o=no
2881 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
2882 echo "$as_me:$LINENO: result: yes" >&5
2883 echo "${ECHO_T}yes" >&6
2885 echo "$as_me:$LINENO: result: no" >&5
2886 echo "${ECHO_T}no" >&6
2888 cat >>confdefs.h <<\_ACEOF
2889 #define NO_MINUS_C_MINUS_O 1
2895 ac_cpp='$CPP $CPPFLAGS'
2896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2899 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2900 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2901 # On Suns, sometimes $CPP names a directory.
2902 if test -n "$CPP" && test -d "$CPP"; then
2905 if test -z "$CPP"; then
2906 if test "${ac_cv_prog_CPP+set}" = set; then
2907 echo $ECHO_N "(cached) $ECHO_C" >&6
2909 # Double quotes because CPP needs to be expanded
2910 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2913 for ac_c_preproc_warn_flag in '' yes
2915 # Use a header file that comes with gcc, so configuring glibc
2916 # with a fresh cross-compiler works.
2917 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2918 # <limits.h> exists even on freestanding compilers.
2919 # On the NeXT, cc -E runs the code through the compiler's parser,
2920 # not just through cpp. "Syntax error" is here to catch this case.
2921 cat >conftest.$ac_ext <<_ACEOF
2924 cat confdefs.h >>conftest.$ac_ext
2925 cat >>conftest.$ac_ext <<_ACEOF
2926 /* end confdefs.h. */
2928 # include <limits.h>
2930 # include <assert.h>
2934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2935 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2937 grep -v '^ *+' conftest.er1 >conftest.err
2939 cat conftest.err >&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); } >/dev/null; then
2942 if test -s conftest.err; then
2943 ac_cpp_err=$ac_c_preproc_warn_flag
2944 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2951 if test -z "$ac_cpp_err"; then
2954 echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2957 # Broken: fails on valid input.
2960 rm -f conftest.err conftest.$ac_ext
2962 # OK, works on sane cases. Now check whether non-existent headers
2963 # can be detected and how.
2964 cat >conftest.$ac_ext <<_ACEOF
2967 cat confdefs.h >>conftest.$ac_ext
2968 cat >>conftest.$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2970 #include <ac_nonexistent.h>
2972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2973 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2975 grep -v '^ *+' conftest.er1 >conftest.err
2977 cat conftest.err >&5
2978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); } >/dev/null; then
2980 if test -s conftest.err; then
2981 ac_cpp_err=$ac_c_preproc_warn_flag
2982 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2989 if test -z "$ac_cpp_err"; then
2990 # Broken: success on invalid input.
2993 echo "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2996 # Passes both tests.
3000 rm -f conftest.err conftest.$ac_ext
3003 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3004 rm -f conftest.err conftest.$ac_ext
3005 if $ac_preproc_ok; then
3017 echo "$as_me:$LINENO: result: $CPP" >&5
3018 echo "${ECHO_T}$CPP" >&6
3020 for ac_c_preproc_warn_flag in '' yes
3022 # Use a header file that comes with gcc, so configuring glibc
3023 # with a fresh cross-compiler works.
3024 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3025 # <limits.h> exists even on freestanding compilers.
3026 # On the NeXT, cc -E runs the code through the compiler's parser,
3027 # not just through cpp. "Syntax error" is here to catch this case.
3028 cat >conftest.$ac_ext <<_ACEOF
3031 cat confdefs.h >>conftest.$ac_ext
3032 cat >>conftest.$ac_ext <<_ACEOF
3033 /* end confdefs.h. */
3035 # include <limits.h>
3037 # include <assert.h>
3041 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3042 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3044 grep -v '^ *+' conftest.er1 >conftest.err
3046 cat conftest.err >&5
3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048 (exit $ac_status); } >/dev/null; then
3049 if test -s conftest.err; then
3050 ac_cpp_err=$ac_c_preproc_warn_flag
3051 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3058 if test -z "$ac_cpp_err"; then
3061 echo "$as_me: failed program was:" >&5
3062 sed 's/^/| /' conftest.$ac_ext >&5
3064 # Broken: fails on valid input.
3067 rm -f conftest.err conftest.$ac_ext
3069 # OK, works on sane cases. Now check whether non-existent headers
3070 # can be detected and how.
3071 cat >conftest.$ac_ext <<_ACEOF
3074 cat confdefs.h >>conftest.$ac_ext
3075 cat >>conftest.$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3077 #include <ac_nonexistent.h>
3079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3082 grep -v '^ *+' conftest.er1 >conftest.err
3084 cat conftest.err >&5
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); } >/dev/null; then
3087 if test -s conftest.err; then
3088 ac_cpp_err=$ac_c_preproc_warn_flag
3089 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3096 if test -z "$ac_cpp_err"; then
3097 # Broken: success on invalid input.
3100 echo "$as_me: failed program was:" >&5
3101 sed 's/^/| /' conftest.$ac_ext >&5
3103 # Passes both tests.
3107 rm -f conftest.err conftest.$ac_ext
3110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3111 rm -f conftest.err conftest.$ac_ext
3112 if $ac_preproc_ok; then
3115 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3116 See \`config.log' for more details." >&5
3117 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3118 See \`config.log' for more details." >&2;}
3119 { (exit 1); exit 1; }; }
3123 ac_cpp='$CPP $CPPFLAGS'
3124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3129 echo "$as_me:$LINENO: checking for egrep" >&5
3130 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3131 if test "${ac_cv_prog_egrep+set}" = set; then
3132 echo $ECHO_N "(cached) $ECHO_C" >&6
3134 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3135 then ac_cv_prog_egrep='grep -E'
3136 else ac_cv_prog_egrep='egrep'
3139 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3140 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3141 EGREP=$ac_cv_prog_egrep
3144 if test $ac_cv_c_compiler_gnu = yes; then
3145 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3146 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3147 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3148 echo $ECHO_N "(cached) $ECHO_C" >&6
3150 ac_pattern="Autoconf.*'x'"
3151 cat >conftest.$ac_ext <<_ACEOF
3154 cat confdefs.h >>conftest.$ac_ext
3155 cat >>conftest.$ac_ext <<_ACEOF
3156 /* end confdefs.h. */
3160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3161 $EGREP "$ac_pattern" >/dev/null 2>&1; then
3162 ac_cv_prog_gcc_traditional=yes
3164 ac_cv_prog_gcc_traditional=no
3169 if test $ac_cv_prog_gcc_traditional = no; then
3170 cat >conftest.$ac_ext <<_ACEOF
3173 cat confdefs.h >>conftest.$ac_ext
3174 cat >>conftest.$ac_ext <<_ACEOF
3175 /* end confdefs.h. */
3179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3180 $EGREP "$ac_pattern" >/dev/null 2>&1; then
3181 ac_cv_prog_gcc_traditional=yes
3187 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3188 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3189 if test $ac_cv_prog_gcc_traditional = yes; then
3190 CC="$CC -traditional"
3194 if test "x$CC" = xgcc
3196 cat >>confdefs.h <<\_ACEOF
3202 # Find a good install program. We prefer a C program (faster),
3203 # so one script is as good as another. But avoid the broken or
3204 # incompatible versions:
3205 # SysV /etc/install, /usr/sbin/install
3206 # SunOS /usr/etc/install
3207 # IRIX /sbin/install
3209 # AmigaOS /C/install, which installs bootblocks on floppy discs
3210 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3211 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3212 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3213 # OS/2's system install, which has a completely different semantic
3214 # ./install, which can be erroneously created by make from ./install.sh.
3215 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3216 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3217 if test -z "$INSTALL"; then
3218 if test "${ac_cv_path_install+set}" = set; then
3219 echo $ECHO_N "(cached) $ECHO_C" >&6
3221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3225 test -z "$as_dir" && as_dir=.
3226 # Account for people who put trailing slashes in PATH elements.
3228 ./ | .// | /cC/* | \
3229 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3230 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3233 # OSF1 and SCO ODT 3.0 have their own names for install.
3234 # Don't use installbsd from OSF since it installs stuff as root
3236 for ac_prog in ginstall scoinst install; do
3237 for ac_exec_ext in '' $ac_executable_extensions; do
3238 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3239 if test $ac_prog = install &&
3240 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3241 # AIX install. It has an incompatible calling convention.
3243 elif test $ac_prog = install &&
3244 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3245 # program-specific install script used by HP pwplus--don't use.
3248 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3260 if test "${ac_cv_path_install+set}" = set; then
3261 INSTALL=$ac_cv_path_install
3263 # As a last resort, use the slow shell script. We don't cache a
3264 # path for INSTALL within a source directory, because that will
3265 # break other packages using the cache if that directory is
3266 # removed, or if the path is relative.
3267 INSTALL=$ac_install_sh
3270 echo "$as_me:$LINENO: result: $INSTALL" >&5
3271 echo "${ECHO_T}$INSTALL" >&6
3273 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3274 # It thinks the first close brace ends the variable substitution.
3275 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3277 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3279 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3281 if test -n "$ac_tool_prefix"; then
3282 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3283 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3284 echo "$as_me:$LINENO: checking for $ac_word" >&5
3285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3286 if test "${ac_cv_prog_RANLIB+set}" = set; then
3287 echo $ECHO_N "(cached) $ECHO_C" >&6
3289 if test -n "$RANLIB"; then
3290 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296 test -z "$as_dir" && as_dir=.
3297 for ac_exec_ext in '' $ac_executable_extensions; do
3298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3299 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3308 RANLIB=$ac_cv_prog_RANLIB
3309 if test -n "$RANLIB"; then
3310 echo "$as_me:$LINENO: result: $RANLIB" >&5
3311 echo "${ECHO_T}$RANLIB" >&6
3313 echo "$as_me:$LINENO: result: no" >&5
3314 echo "${ECHO_T}no" >&6
3318 if test -z "$ac_cv_prog_RANLIB"; then
3319 ac_ct_RANLIB=$RANLIB
3320 # Extract the first word of "ranlib", so it can be a program name with args.
3321 set dummy ranlib; ac_word=$2
3322 echo "$as_me:$LINENO: checking for $ac_word" >&5
3323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3324 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3325 echo $ECHO_N "(cached) $ECHO_C" >&6
3327 if test -n "$ac_ct_RANLIB"; then
3328 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334 test -z "$as_dir" && as_dir=.
3335 for ac_exec_ext in '' $ac_executable_extensions; do
3336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3337 ac_cv_prog_ac_ct_RANLIB="ranlib"
3338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3344 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3347 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3348 if test -n "$ac_ct_RANLIB"; then
3349 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3350 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3352 echo "$as_me:$LINENO: result: no" >&5
3353 echo "${ECHO_T}no" >&6
3356 RANLIB=$ac_ct_RANLIB
3358 RANLIB="$ac_cv_prog_RANLIB"
3361 # Extract the first word of "mv", so it can be a program name with args.
3362 set dummy mv; ac_word=$2
3363 echo "$as_me:$LINENO: checking for $ac_word" >&5
3364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3365 if test "${ac_cv_path_MV+set}" = set; then
3366 echo $ECHO_N "(cached) $ECHO_C" >&6
3370 ac_cv_path_MV="$MV" # Let the user override the test with a path.
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3380 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
3381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3387 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
3393 if test -n "$MV"; then
3394 echo "$as_me:$LINENO: result: $MV" >&5
3395 echo "${ECHO_T}$MV" >&6
3397 echo "$as_me:$LINENO: result: no" >&5
3398 echo "${ECHO_T}no" >&6
3401 # Extract the first word of "rm", so it can be a program name with args.
3402 set dummy rm; ac_word=$2
3403 echo "$as_me:$LINENO: checking for $ac_word" >&5
3404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3405 if test "${ac_cv_path_RM+set}" = set; then
3406 echo $ECHO_N "(cached) $ECHO_C" >&6
3410 ac_cv_path_RM="$RM" # Let the user override the test with a path.
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3417 test -z "$as_dir" && as_dir=.
3418 for ac_exec_ext in '' $ac_executable_extensions; do
3419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3420 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
3421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3427 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
3433 if test -n "$RM"; then
3434 echo "$as_me:$LINENO: result: $RM" >&5
3435 echo "${ECHO_T}$RM" >&6
3437 echo "$as_me:$LINENO: result: no" >&5
3438 echo "${ECHO_T}no" >&6
3441 # Extract the first word of "cp", so it can be a program name with args.
3442 set dummy cp; ac_word=$2
3443 echo "$as_me:$LINENO: checking for $ac_word" >&5
3444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3445 if test "${ac_cv_path_CP+set}" = set; then
3446 echo $ECHO_N "(cached) $ECHO_C" >&6
3450 ac_cv_path_CP="$CP" # Let the user override the test with a path.
3453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3457 test -z "$as_dir" && as_dir=.
3458 for ac_exec_ext in '' $ac_executable_extensions; do
3459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3460 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
3461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3467 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
3473 if test -n "$CP"; then
3474 echo "$as_me:$LINENO: result: $CP" >&5
3475 echo "${ECHO_T}$CP" >&6
3477 echo "$as_me:$LINENO: result: no" >&5
3478 echo "${ECHO_T}no" >&6
3481 # Extract the first word of "sed", so it can be a program name with args.
3482 set dummy sed; ac_word=$2
3483 echo "$as_me:$LINENO: checking for $ac_word" >&5
3484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3485 if test "${ac_cv_path_SED+set}" = set; then
3486 echo $ECHO_N "(cached) $ECHO_C" >&6
3490 ac_cv_path_SED="$SED" # Let the user override the test with a path.
3493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3497 test -z "$as_dir" && as_dir=.
3498 for ac_exec_ext in '' $ac_executable_extensions; do
3499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3500 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
3501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
3513 if test -n "$SED"; then
3514 echo "$as_me:$LINENO: result: $SED" >&5
3515 echo "${ECHO_T}$SED" >&6
3517 echo "$as_me:$LINENO: result: no" >&5
3518 echo "${ECHO_T}no" >&6
3521 # Extract the first word of "echo", so it can be a program name with args.
3522 set dummy echo; ac_word=$2
3523 echo "$as_me:$LINENO: checking for $ac_word" >&5
3524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3525 if test "${ac_cv_path_ECHO+set}" = set; then
3526 echo $ECHO_N "(cached) $ECHO_C" >&6
3530 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3537 test -z "$as_dir" && as_dir=.
3538 for ac_exec_ext in '' $ac_executable_extensions; do
3539 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3540 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
3541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3547 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
3551 ECHO=$ac_cv_path_ECHO
3553 if test -n "$ECHO"; then
3554 echo "$as_me:$LINENO: result: $ECHO" >&5
3555 echo "${ECHO_T}$ECHO" >&6
3557 echo "$as_me:$LINENO: result: no" >&5
3558 echo "${ECHO_T}no" >&6
3561 # Extract the first word of "cmp", so it can be a program name with args.
3562 set dummy cmp; ac_word=$2
3563 echo "$as_me:$LINENO: checking for $ac_word" >&5
3564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3565 if test "${ac_cv_path_CMP+set}" = set; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3570 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3577 test -z "$as_dir" && as_dir=.
3578 for ac_exec_ext in '' $ac_executable_extensions; do
3579 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3580 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
3581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
3593 if test -n "$CMP"; then
3594 echo "$as_me:$LINENO: result: $CMP" >&5
3595 echo "${ECHO_T}$CMP" >&6
3597 echo "$as_me:$LINENO: result: no" >&5
3598 echo "${ECHO_T}no" >&6
3601 # Extract the first word of "tbl", so it can be a program name with args.
3602 set dummy tbl; ac_word=$2
3603 echo "$as_me:$LINENO: checking for $ac_word" >&5
3604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3605 if test "${ac_cv_path_TBL+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3610 ac_cv_path_TBL="$TBL" # Let the user override the test with a path.
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3620 ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext"
3621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3627 test -z "$ac_cv_path_TBL" && ac_cv_path_TBL="tbl"
3633 if test -n "$TBL"; then
3634 echo "$as_me:$LINENO: result: $TBL" >&5
3635 echo "${ECHO_T}$TBL" >&6
3637 echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6
3641 # Extract the first word of "ar", so it can be a program name with args.
3642 set dummy ar; ac_word=$2
3643 echo "$as_me:$LINENO: checking for $ac_word" >&5
3644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3645 if test "${ac_cv_path_AR+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3650 ac_cv_path_AR="$AR" # Let the user override the test with a path.
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3657 test -z "$as_dir" && as_dir=.
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3660 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
3661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3667 test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar"
3673 if test -n "$AR"; then
3674 echo "$as_me:$LINENO: result: $AR" >&5
3675 echo "${ECHO_T}$AR" >&6
3677 echo "$as_me:$LINENO: result: no" >&5
3678 echo "${ECHO_T}no" >&6
3681 # Extract the first word of "openssl", so it can be a program name with args.
3682 set dummy openssl; ac_word=$2
3683 echo "$as_me:$LINENO: checking for $ac_word" >&5
3684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3685 if test "${ac_cv_path_OPENSSL+set}" = set; then
3686 echo $ECHO_N "(cached) $ECHO_C" >&6
3690 ac_cv_path_OPENSSL="$OPENSSL" # Let the user override the test with a path.
3693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3697 test -z "$as_dir" && as_dir=.
3698 for ac_exec_ext in '' $ac_executable_extensions; do
3699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3700 ac_cv_path_OPENSSL="$as_dir/$ac_word$ac_exec_ext"
3701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 test -z "$ac_cv_path_OPENSSL" && ac_cv_path_OPENSSL="none"
3711 OPENSSL=$ac_cv_path_OPENSSL
3713 if test -n "$OPENSSL"; then
3714 echo "$as_me:$LINENO: result: $OPENSSL" >&5
3715 echo "${ECHO_T}$OPENSSL" >&6
3717 echo "$as_me:$LINENO: result: no" >&5
3718 echo "${ECHO_T}no" >&6
3721 # Extract the first word of "mtx", so it can be a program name with args.
3722 set dummy mtx; ac_word=$2
3723 echo "$as_me:$LINENO: checking for $ac_word" >&5
3724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3725 if test "${ac_cv_path_MTX+set}" = set; then
3726 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 ac_cv_path_MTX="$MTX" # Let the user override the test with a path.
3733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3737 test -z "$as_dir" && as_dir=.
3738 for ac_exec_ext in '' $ac_executable_extensions; do
3739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3740 ac_cv_path_MTX="$as_dir/$ac_word$ac_exec_ext"
3741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3747 test -z "$ac_cv_path_MTX" && ac_cv_path_MTX="mtx"
3753 if test -n "$MTX"; then
3754 echo "$as_me:$LINENO: result: $MTX" >&5
3755 echo "${ECHO_T}$MTX" >&6
3757 echo "$as_me:$LINENO: result: no" >&5
3758 echo "${ECHO_T}no" >&6
3761 # Extract the first word of "mkisofs", so it can be a program name with args.
3762 set dummy mkisofs; ac_word=$2
3763 echo "$as_me:$LINENO: checking for $ac_word" >&5
3764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3765 if test "${ac_cv_path_MKISOFS+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 ac_cv_path_MKISOFS="$MKISOFS" # Let the user override the test with a path.
3773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 test -z "$as_dir" && as_dir=.
3778 for ac_exec_ext in '' $ac_executable_extensions; do
3779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3780 ac_cv_path_MKISOFS="$as_dir/$ac_word$ac_exec_ext"
3781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 test -z "$ac_cv_path_MKISOFS" && ac_cv_path_MKISOFS="mkisofs"
3791 MKISOFS=$ac_cv_path_MKISOFS
3793 if test -n "$MKISOFS"; then
3794 echo "$as_me:$LINENO: result: $MKISOFS" >&5
3795 echo "${ECHO_T}$MKISOFS" >&6
3797 echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6
3801 # Extract the first word of "python", so it can be a program name with args.
3802 set dummy python; ac_word=$2
3803 echo "$as_me:$LINENO: checking for $ac_word" >&5
3804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3805 if test "${ac_cv_path_PYTHON+set}" = set; then
3806 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
3813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3817 test -z "$as_dir" && as_dir=.
3818 for ac_exec_ext in '' $ac_executable_extensions; do
3819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3820 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
3821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3827 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="python"
3831 PYTHON=$ac_cv_path_PYTHON
3833 if test -n "$PYTHON"; then
3834 echo "$as_me:$LINENO: result: $PYTHON" >&5
3835 echo "${ECHO_T}$PYTHON" >&6
3837 echo "$as_me:$LINENO: result: no" >&5
3838 echo "${ECHO_T}no" >&6
3841 # Extract the first word of "growisofs", so it can be a program name with args.
3842 set dummy growisofs; ac_word=$2
3843 echo "$as_me:$LINENO: checking for $ac_word" >&5
3844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3845 if test "${ac_cv_path_GROWISOFS+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3850 ac_cv_path_GROWISOFS="$GROWISOFS" # Let the user override the test with a path.
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3857 test -z "$as_dir" && as_dir=.
3858 for ac_exec_ext in '' $ac_executable_extensions; do
3859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3860 ac_cv_path_GROWISOFS="$as_dir/$ac_word$ac_exec_ext"
3861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3867 test -z "$ac_cv_path_GROWISOFS" && ac_cv_path_GROWISOFS="growisofs"
3871 GROWISOFS=$ac_cv_path_GROWISOFS
3873 if test -n "$GROWISOFS"; then
3874 echo "$as_me:$LINENO: result: $GROWISOFS" >&5
3875 echo "${ECHO_T}$GROWISOFS" >&6
3877 echo "$as_me:$LINENO: result: no" >&5
3878 echo "${ECHO_T}no" >&6
3881 # Extract the first word of "dvd+rw-mediainfo", so it can be a program name with args.
3882 set dummy dvd+rw-mediainfo; ac_word=$2
3883 echo "$as_me:$LINENO: checking for $ac_word" >&5
3884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3885 if test "${ac_cv_path_DVDRWMEDIAINFO+set}" = set; then
3886 echo $ECHO_N "(cached) $ECHO_C" >&6
3888 case $DVDRWMEDIAINFO in
3890 ac_cv_path_DVDRWMEDIAINFO="$DVDRWMEDIAINFO" # Let the user override the test with a path.
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3897 test -z "$as_dir" && as_dir=.
3898 for ac_exec_ext in '' $ac_executable_extensions; do
3899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3900 ac_cv_path_DVDRWMEDIAINFO="$as_dir/$ac_word$ac_exec_ext"
3901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 test -z "$ac_cv_path_DVDRWMEDIAINFO" && ac_cv_path_DVDRWMEDIAINFO="dvd+rw-mediainfo"
3911 DVDRWMEDIAINFO=$ac_cv_path_DVDRWMEDIAINFO
3913 if test -n "$DVDRWMEDIAINFO"; then
3914 echo "$as_me:$LINENO: result: $DVDRWMEDIAINFO" >&5
3915 echo "${ECHO_T}$DVDRWMEDIAINFO" >&6
3917 echo "$as_me:$LINENO: result: no" >&5
3918 echo "${ECHO_T}no" >&6
3921 # Extract the first word of "pkg-config", so it can be a program name with args.
3922 set dummy pkg-config; ac_word=$2
3923 echo "$as_me:$LINENO: checking for $ac_word" >&5
3924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3925 if test "${ac_cv_path_PKGCONFIG+set}" = set; then
3926 echo $ECHO_N "(cached) $ECHO_C" >&6
3930 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
3933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3937 test -z "$as_dir" && as_dir=.
3938 for ac_exec_ext in '' $ac_executable_extensions; do
3939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3940 ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
3941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="pkg-config"
3951 PKGCONFIG=$ac_cv_path_PKGCONFIG
3953 if test -n "$PKGCONFIG"; then
3954 echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
3955 echo "${ECHO_T}$PKGCONFIG" >&6
3957 echo "$as_me:$LINENO: result: no" >&5
3958 echo "${ECHO_T}no" >&6
3961 # Extract the first word of "wx-config", so it can be a program name with args.
3962 set dummy wx-config; ac_word=$2
3963 echo "$as_me:$LINENO: checking for $ac_word" >&5
3964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3965 if test "${ac_cv_path_WXCONFIG+set}" = set; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3970 ac_cv_path_WXCONFIG="$WXCONFIG" # Let the user override the test with a path.
3973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977 test -z "$as_dir" && as_dir=.
3978 for ac_exec_ext in '' $ac_executable_extensions; do
3979 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3980 ac_cv_path_WXCONFIG="$as_dir/$ac_word$ac_exec_ext"
3981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3987 test -z "$ac_cv_path_WXCONFIG" && ac_cv_path_WXCONFIG="wx-config"
3991 WXCONFIG=$ac_cv_path_WXCONFIG
3993 if test -n "$WXCONFIG"; then
3994 echo "$as_me:$LINENO: result: $WXCONFIG" >&5
3995 echo "${ECHO_T}$WXCONFIG" >&6
3997 echo "$as_me:$LINENO: result: no" >&5
3998 echo "${ECHO_T}no" >&6
4001 # Extract the first word of "cdrecord", so it can be a program name with args.
4002 set dummy cdrecord; ac_word=$2
4003 echo "$as_me:$LINENO: checking for $ac_word" >&5
4004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4005 if test "${ac_cv_path_CDRECORD+set}" = set; then
4006 echo $ECHO_N "(cached) $ECHO_C" >&6
4010 ac_cv_path_CDRECORD="$CDRECORD" # Let the user override the test with a path.
4013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4017 test -z "$as_dir" && as_dir=.
4018 for ac_exec_ext in '' $ac_executable_extensions; do
4019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4020 ac_cv_path_CDRECORD="$as_dir/$ac_word$ac_exec_ext"
4021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4027 test -z "$ac_cv_path_CDRECORD" && ac_cv_path_CDRECORD="cdrecord"
4031 CDRECORD=$ac_cv_path_CDRECORD
4033 if test -n "$CDRECORD"; then
4034 echo "$as_me:$LINENO: result: $CDRECORD" >&5
4035 echo "${ECHO_T}$CDRECORD" >&6
4037 echo "$as_me:$LINENO: result: no" >&5
4038 echo "${ECHO_T}no" >&6
4041 # Extract the first word of "pidof", so it can be a program name with args.
4042 set dummy pidof; ac_word=$2
4043 echo "$as_me:$LINENO: checking for $ac_word" >&5
4044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4045 if test "${ac_cv_path_PIDOF+set}" = set; then
4046 echo $ECHO_N "(cached) $ECHO_C" >&6
4050 ac_cv_path_PIDOF="$PIDOF" # Let the user override the test with a path.
4053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4057 test -z "$as_dir" && as_dir=.
4058 for ac_exec_ext in '' $ac_executable_extensions; do
4059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4060 ac_cv_path_PIDOF="$as_dir/$ac_word$ac_exec_ext"
4061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4067 test -z "$ac_cv_path_PIDOF" && ac_cv_path_PIDOF="pidof"
4071 PIDOF=$ac_cv_path_PIDOF
4073 if test -n "$PIDOF"; then
4074 echo "$as_me:$LINENO: result: $PIDOF" >&5
4075 echo "${ECHO_T}$PIDOF" >&6
4077 echo "$as_me:$LINENO: result: no" >&5
4078 echo "${ECHO_T}no" >&6
4081 for ac_prog in gawk mawk nawk awk
4083 # Extract the first word of "$ac_prog", so it can be a program name with args.
4084 set dummy $ac_prog; ac_word=$2
4085 echo "$as_me:$LINENO: checking for $ac_word" >&5
4086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4087 if test "${ac_cv_prog_AWK+set}" = set; then
4088 echo $ECHO_N "(cached) $ECHO_C" >&6
4090 if test -n "$AWK"; then
4091 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir=.
4098 for ac_exec_ext in '' $ac_executable_extensions; do
4099 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4100 ac_cv_prog_AWK="$ac_prog"
4101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4110 if test -n "$AWK"; then
4111 echo "$as_me:$LINENO: result: $AWK" >&5
4112 echo "${ECHO_T}$AWK" >&6
4114 echo "$as_me:$LINENO: result: no" >&5
4115 echo "${ECHO_T}no" >&6
4118 test -n "$AWK" && break
4121 # Some AWK programs fail, so test it and warn the user
4122 if echo xfoo | $AWK 'BEGIN { prog=ARGV1; ARGC=1 }
4123 { if ((prog == $2) || (("(" prog ")") == $2) ||
4124 (("" prog "") == $2) ||
4125 ((prog ":") == $2)) { print $1 ; exit 0 } }' xfoo>/dev/null; then :;
4127 { { echo "$as_me:$LINENO: error: !!!!!!!!! WARNING !!!!!!!!!!!!!!
4128 The regex engine of $AWK is too broken to be used you
4129 might want to install GNU AWK.
4130 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >&5
4131 echo "$as_me: error: !!!!!!!!! WARNING !!!!!!!!!!!!!!
4132 The regex engine of $AWK is too broken to be used you
4133 might want to install GNU AWK.
4134 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" >&2;}
4135 { (exit 1); exit 1; }; }
4138 # Extract the first word of "$THE_AWK", so it can be a program name with args.
4139 set dummy $THE_AWK; ac_word=$2
4140 echo "$as_me:$LINENO: checking for $ac_word" >&5
4141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4142 if test "${ac_cv_path_AWK+set}" = set; then
4143 echo $ECHO_N "(cached) $ECHO_C" >&6
4147 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
4150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4154 test -z "$as_dir" && as_dir=.
4155 for ac_exec_ext in '' $ac_executable_extensions; do
4156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4157 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
4158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4164 test -z "$ac_cv_path_AWK" && ac_cv_path_AWK="$THE_AWK"
4170 if test -n "$AWK"; then
4171 echo "$as_me:$LINENO: result: $AWK" >&5
4172 echo "${ECHO_T}$AWK" >&6
4174 echo "$as_me:$LINENO: result: no" >&5
4175 echo "${ECHO_T}no" >&6
4179 test -n "$ARFLAG" || ARFLAGS="cr"
4192 # Make sure we can run config.sub.
4193 $ac_config_sub sun4 >/dev/null 2>&1 ||
4194 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
4195 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
4196 { (exit 1); exit 1; }; }
4198 echo "$as_me:$LINENO: checking build system type" >&5
4199 echo $ECHO_N "checking build system type... $ECHO_C" >&6
4200 if test "${ac_cv_build+set}" = set; then
4201 echo $ECHO_N "(cached) $ECHO_C" >&6
4203 ac_cv_build_alias=$build_alias
4204 test -z "$ac_cv_build_alias" &&
4205 ac_cv_build_alias=`$ac_config_guess`
4206 test -z "$ac_cv_build_alias" &&
4207 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4208 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4209 { (exit 1); exit 1; }; }
4210 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
4211 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
4212 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
4213 { (exit 1); exit 1; }; }
4216 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4217 echo "${ECHO_T}$ac_cv_build" >&6
4219 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4220 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4221 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4225 echo "$as_me:$LINENO: checking host system type" >&5
4226 echo $ECHO_N "checking host system type... $ECHO_C" >&6
4227 if test "${ac_cv_host+set}" = set; then
4228 echo $ECHO_N "(cached) $ECHO_C" >&6
4230 ac_cv_host_alias=$host_alias
4231 test -z "$ac_cv_host_alias" &&
4232 ac_cv_host_alias=$ac_cv_build_alias
4233 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
4234 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
4235 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
4236 { (exit 1); exit 1; }; }
4239 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4240 echo "${ECHO_T}$ac_cv_host" >&6
4242 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4243 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4244 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4248 *cygwin* ) CYGWIN=yes;;
4252 if test $HAVE_UNAME=yes -a x`uname -s` = xSunOS
4258 HAVE_SUN_OS_FALSE='#'
4260 HAVE_SUN_OS_TRUE='#'
4263 cat >>confdefs.h <<\_ACEOF
4264 #define HAVE_SUN_OS 1
4272 HAVE_SUN_OS_FALSE='#'
4274 HAVE_SUN_OS_TRUE='#'
4279 if test $HAVE_UNAME=yes -a x`uname -s` = xOSF1
4285 HAVE_OSF1_OS_FALSE='#'
4287 HAVE_OSF1_OS_TRUE='#'
4290 cat >>confdefs.h <<\_ACEOF
4291 #define HAVE_OSF1_OS 1
4299 HAVE_OSF1_OS_FALSE='#'
4301 HAVE_OSF1_OS_TRUE='#'
4306 if test $HAVE_UNAME=yes -a x`uname -s` = xAIX
4312 HAVE_AIX_OS_FALSE='#'
4314 HAVE_AIX_OS_TRUE='#'
4317 cat >>confdefs.h <<\_ACEOF
4318 #define HAVE_AIX_OS 1
4326 HAVE_AIX_OS_FALSE='#'
4328 HAVE_AIX_OS_TRUE='#'
4333 if test $HAVE_UNAME=yes -a x`uname -s` = xHP-UX
4339 HAVE_HPUX_OS_FALSE='#'
4341 HAVE_HPUX_OS_TRUE='#'
4344 cat >>confdefs.h <<\_ACEOF
4345 #define HAVE_HPUX_OS 1
4353 HAVE_HPUX_OS_FALSE='#'
4355 HAVE_HPUX_OS_TRUE='#'
4360 if test $HAVE_UNAME=yes -a x`uname -s` = xLinux
4366 HAVE_LINUX_OS_FALSE='#'
4368 HAVE_LINUX_OS_TRUE='#'
4369 HAVE_LINUX_OS_FALSE=
4371 cat >>confdefs.h <<\_ACEOF
4372 #define HAVE_LINUX_OS 1
4380 HAVE_LINUX_OS_FALSE='#'
4382 HAVE_LINUX_OS_TRUE='#'
4383 HAVE_LINUX_OS_FALSE=
4387 if test $HAVE_UNAME=yes -a x`uname -s` = xFreeBSD
4392 HAVE_FREEBSD_OS_TRUE=
4393 HAVE_FREEBSD_OS_FALSE='#'
4395 HAVE_FREEBSD_OS_TRUE='#'
4396 HAVE_FREEBSD_OS_FALSE=
4398 cat >>confdefs.h <<\_ACEOF
4399 #define HAVE_FREEBSD_OS 1
4406 HAVE_FREEBSD_OS_TRUE=
4407 HAVE_FREEBSD_OS_FALSE='#'
4409 HAVE_FREEBSD_OS_TRUE='#'
4410 HAVE_FREEBSD_OS_FALSE=
4414 if test $HAVE_UNAME=yes -a x`uname -s` = xNetBSD
4419 HAVE_NETBSD_OS_TRUE=
4420 HAVE_NETBSD_OS_FALSE='#'
4422 HAVE_NETBSD_OS_TRUE='#'
4423 HAVE_NETBSD_OS_FALSE=
4425 cat >>confdefs.h <<\_ACEOF
4426 #define HAVE_NETBSD_OS 1
4433 HAVE_NETBSD_OS_TRUE=
4434 HAVE_NETBSD_OS_FALSE='#'
4436 HAVE_NETBSD_OS_TRUE='#'
4437 HAVE_NETBSD_OS_FALSE=
4441 if test $HAVE_UNAME=yes -a x`uname -s` = xOpenBSD
4446 HAVE_OPENBSD_OS_TRUE=
4447 HAVE_OPENBSD_OS_FALSE='#'
4449 HAVE_OPENBSD_OS_TRUE='#'
4450 HAVE_OPENBSD_OS_FALSE=
4452 cat >>confdefs.h <<\_ACEOF
4453 #define HAVE_OPENBSD_OS 1
4460 HAVE_OPENBSD_OS_TRUE=
4461 HAVE_OPENBSD_OS_FALSE='#'
4463 HAVE_OPENBSD_OS_TRUE='#'
4464 HAVE_OPENBSD_OS_FALSE=
4468 if test $HAVE_UNAME=yes -a x`uname -s` = xBSD/OS
4474 HAVE_BSDI_OS_FALSE='#'
4476 HAVE_BSDI_OS_TRUE='#'
4479 cat >>confdefs.h <<\_ACEOF
4480 #define HAVE_BSDI_OS 1
4488 HAVE_BSDI_OS_FALSE='#'
4490 HAVE_BSDI_OS_TRUE='#'
4495 if test $HAVE_UNAME=yes -a x`uname -s` = xSGI
4501 HAVE_SGI_OS_FALSE='#'
4503 HAVE_SGI_OS_TRUE='#'
4506 cat >>confdefs.h <<\_ACEOF
4507 #define HAVE_SGI_OS 1
4515 HAVE_SGI_OS_FALSE='#'
4517 HAVE_SGI_OS_TRUE='#'
4522 if test $HAVE_UNAME=yes -a x`uname -s` = xIRIX
4528 HAVE_IRIX_OS_FALSE='#'
4530 HAVE_IRIX_OS_TRUE='#'
4533 cat >>confdefs.h <<\_ACEOF
4534 #define HAVE_IRIX_OS 1
4542 HAVE_IRIX_OS_FALSE='#'
4544 HAVE_IRIX_OS_TRUE='#'
4549 if test $HAVE_UNAME=yes -a x`uname -s` = xDarwin
4554 HAVE_DARWIN_OS_TRUE=
4555 HAVE_DARWIN_OS_FALSE='#'
4557 HAVE_DARWIN_OS_TRUE='#'
4558 HAVE_DARWIN_OS_FALSE=
4560 cat >>confdefs.h <<\_ACEOF
4561 #define HAVE_DARWIN_OS 1
4568 HAVE_DARWIN_OS_TRUE=
4569 HAVE_DARWIN_OS_FALSE='#'
4571 HAVE_DARWIN_OS_TRUE='#'
4572 HAVE_DARWIN_OS_FALSE=
4577 # -----------------------------------------------------------
4578 # ----------------------------------------------------------
4579 echo "$as_me:$LINENO: checking for Operating System Distribution" >&5
4580 echo $ECHO_N "checking for Operating System Distribution... $ECHO_C" >&6
4581 if test "x$DISTNAME" != "x"
4583 echo "distname set to $DISTNAME"
4584 elif test $HAVE_UNAME=yes -a x`uname -s` = xOSF1
4587 elif test $HAVE_UNAME=yes -a x`uname -s` = xAIX
4590 elif test $HAVE_UNAME=yes -a x`uname -s` = xHP-UX
4593 elif test $HAVE_UNAME=yes -a x`uname -s` = xSunOS
4596 elif test $HAVE_UNAME=yes -a x`uname -s` = xFreeBSD
4599 elif test $HAVE_UNAME=yes -a x`uname -s` = xNetBSD
4602 elif test $HAVE_UNAME=yes -a x`uname -s` = xOpenBSD
4605 elif test $HAVE_UNAME=yes -a x`uname -s` = xIRIX
4608 elif test $HAVE_UNAME=yes -a x`uname -s` = xBSD/OS
4611 elif test -f /etc/SuSE-release
4614 elif test -d /etc/SuSEconfig
4617 elif test -f /etc/mandrake-release
4620 elif test -f /etc/whitebox-release
4623 elif test -f /etc/redhat-release
4626 elif test -f /etc/gentoo-release
4629 elif test -f /etc/debian_version
4632 elif test -f /etc/slackware-version
4635 elif test $HAVE_UNAME=yes -a x`uname -s` = xDarwin
4638 elif test -f /etc/engarde-version
4641 elif test "$CYGWIN" = yes
4644 cat >>confdefs.h <<\_ACEOF
4645 #define HAVE_CYGWIN 1
4651 echo "$as_me:$LINENO: result: done" >&5
4652 echo "${ECHO_T}done" >&6
4655 # -----------------------------------------------------------
4656 # ----------------------------------------------------------
4661 INSIDE_GNOME_COMMON_TRUE=
4662 INSIDE_GNOME_COMMON_FALSE='#'
4664 INSIDE_GNOME_COMMON_TRUE='#'
4665 INSIDE_GNOME_COMMON_FALSE=
4668 test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
4670 for k in gnome-macros ; do ACLOCAL="$ACLOCAL -I $k" ; done
4673 # ------------------------------------------------------------------
4674 # If the user has not set --prefix, we set our default to nothing.
4675 # In this case, if the user has not set --sysconfdir, we set it
4676 # to the package default of /etc/bacula. If either --prefix or
4677 # --sysconfdir is set, we leave sysconfdir alone except to eval it.
4678 # ------------------------------------------------------------------
4679 if test x${prefix} = xNONE ; then
4680 if test `eval echo ${sysconfdir}` = NONE/etc ; then
4681 sysconfdir=/etc/bacula
4685 sysconfdir=`eval echo ${sysconfdir}`
4687 # -------------------------------------------------------------------------
4688 # If the user has not set --exec-prefix, we default to ${prefix}
4689 # -------------------------------------------------------------------------
4690 if test x${exec_prefix} = xNONE ; then
4691 exec_prefix=${prefix}
4694 # ------------------------------------------------------------------
4695 # If the user has not set --sbindir, we set our default as /sbin
4696 # ------------------------------------------------------------------
4697 if test x$sbindir = x'${exec_prefix}/sbin' ; then
4698 sbindir=${exec_prefix}/sbin
4700 sbindir=`eval echo ${sbindir}`
4702 # ------------------------------------------------------------------
4703 # All list of languages for which a translation exist. Each
4704 # language is separated by a space.
4705 # ------------------------------------------------------------------
4708 for ac_prog in msgfmt
4710 # Extract the first word of "$ac_prog", so it can be a program name with args.
4711 set dummy $ac_prog; ac_word=$2
4712 echo "$as_me:$LINENO: checking for $ac_word" >&5
4713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4714 if test "${ac_cv_path_MSGFMT+set}" = set; then
4715 echo $ECHO_N "(cached) $ECHO_C" >&6
4719 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4726 test -z "$as_dir" && as_dir=.
4727 for ac_exec_ext in '' $ac_executable_extensions; do
4728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4729 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4739 MSGFMT=$ac_cv_path_MSGFMT
4741 if test -n "$MSGFMT"; then
4742 echo "$as_me:$LINENO: result: $MSGFMT" >&5
4743 echo "${ECHO_T}$MSGFMT" >&6
4745 echo "$as_me:$LINENO: result: no" >&5
4746 echo "${ECHO_T}no" >&6
4749 test -n "$MSGFMT" && break
4751 test -n "$MSGFMT" || MSGFMT="no"
4753 if test "$MSGFMT" = "no"
4755 echo 'msgfmt program not found, disabling NLS !'
4757 USE_INCLUDED_LIBINTL=no
4766 support_postgresql=no
4767 support_smartalloc=yes
4768 support_readline=yes
4771 support_wx_console=no
4773 support_static_tools=no
4774 support_static_fd=no
4775 support_static_sd=no
4776 support_static_dir=no
4777 support_static_cons=no
4779 build_client_only=no
4785 # -------------------------------------------
4786 # gnome (default off)
4787 # -------------------------------------------
4788 # Check whether --enable-gnome or --disable-gnome was given.
4789 if test "${enable_gnome+set}" = set; then
4790 enableval="$enable_gnome"
4791 if test x$enableval = xyes; then
4797 if test x$support_gnome = xyes; then
4798 abc=`$PKGCONFIG --exists libgnomeui-2.0`
4800 if test $pkg = 0; then
4801 GNOME_INCLUDEDIR=`$PKGCONFIG --cflags-only-I libgnomeui-2.0`
4802 GNOMEUI_LIBS=`$PKGCONFIG --libs-only-l libgnomeui-2.0`
4803 GNOME_LIBDIR=`$PKGCONFIG --libs libgnomeui-2.0`
4804 GNOME_LIBS=`$PKGCONFIG --libs-only-l libgnomeui-2.0`
4809 GNOME_DIR=src/gnome2-console
4810 gnome_version="Version 2.x"
4823 # Check whether --with-gnome-includes or --without-gnome-includes was given.
4824 if test "${with_gnome_includes+set}" = set; then
4825 withval="$with_gnome_includes"
4827 CFLAGS="$CFLAGS -I$withval"
4832 # Check whether --with-gnome-libs or --without-gnome-libs was given.
4833 if test "${with_gnome_libs+set}" = set; then
4834 withval="$with_gnome_libs"
4836 LDFLAGS="$LDFLAGS -L$withval"
4837 gnome_prefix=$withval
4842 # Check whether --with-gnome or --without-gnome was given.
4843 if test "${with_gnome+set}" = set; then
4844 withval="$with_gnome"
4845 if test x$withval = xyes; then
4849 if test "x$withval" = xno; then
4853 LDFLAGS="$LDFLAGS -L$withval/lib"
4854 CFLAGS="$CFLAGS -I$withval/include"
4855 gnome_prefix=$withval/lib
4862 if test "x$want_gnome" = xyes; then
4864 # Extract the first word of "gnome-config", so it can be a program name with args.
4865 set dummy gnome-config; ac_word=$2
4866 echo "$as_me:$LINENO: checking for $ac_word" >&5
4867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4868 if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then
4869 echo $ECHO_N "(cached) $ECHO_C" >&6
4871 case $GNOME_CONFIG in
4873 ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a path.
4876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4880 test -z "$as_dir" && as_dir=.
4881 for ac_exec_ext in '' $ac_executable_extensions; do
4882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4883 ac_cv_path_GNOME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4890 test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no"
4894 GNOME_CONFIG=$ac_cv_path_GNOME_CONFIG
4896 if test -n "$GNOME_CONFIG"; then
4897 echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
4898 echo "${ECHO_T}$GNOME_CONFIG" >&6
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4904 if test "$GNOME_CONFIG" = "no"; then
4905 no_gnome_config="yes"
4907 echo "$as_me:$LINENO: checking if $GNOME_CONFIG works" >&5
4908 echo $ECHO_N "checking if $GNOME_CONFIG works... $ECHO_C" >&6
4909 if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then
4910 echo "$as_me:$LINENO: result: yes" >&5
4911 echo "${ECHO_T}yes" >&6
4914 # Extract the first word of "orbit-config", so it can be a program name with args.
4915 set dummy orbit-config; ac_word=$2
4916 echo "$as_me:$LINENO: checking for $ac_word" >&5
4917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4918 if test "${ac_cv_path_ORBIT_CONFIG+set}" = set; then
4919 echo $ECHO_N "(cached) $ECHO_C" >&6
4921 case $ORBIT_CONFIG in
4923 ac_cv_path_ORBIT_CONFIG="$ORBIT_CONFIG" # Let the user override the test with a path.
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir=.
4931 for ac_exec_ext in '' $ac_executable_extensions; do
4932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4933 ac_cv_path_ORBIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 test -z "$ac_cv_path_ORBIT_CONFIG" && ac_cv_path_ORBIT_CONFIG="no"
4944 ORBIT_CONFIG=$ac_cv_path_ORBIT_CONFIG
4946 if test -n "$ORBIT_CONFIG"; then
4947 echo "$as_me:$LINENO: result: $ORBIT_CONFIG" >&5
4948 echo "${ECHO_T}$ORBIT_CONFIG" >&6
4950 echo "$as_me:$LINENO: result: no" >&5
4951 echo "${ECHO_T}no" >&6
4954 # Extract the first word of "orbit-idl", so it can be a program name with args.
4955 set dummy orbit-idl; ac_word=$2
4956 echo "$as_me:$LINENO: checking for $ac_word" >&5
4957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4958 if test "${ac_cv_path_ORBIT_IDL+set}" = set; then
4959 echo $ECHO_N "(cached) $ECHO_C" >&6
4963 ac_cv_path_ORBIT_IDL="$ORBIT_IDL" # Let the user override the test with a path.
4966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970 test -z "$as_dir" && as_dir=.
4971 for ac_exec_ext in '' $ac_executable_extensions; do
4972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4973 ac_cv_path_ORBIT_IDL="$as_dir/$ac_word$ac_exec_ext"
4974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 test -z "$ac_cv_path_ORBIT_IDL" && ac_cv_path_ORBIT_IDL="no"
4984 ORBIT_IDL=$ac_cv_path_ORBIT_IDL
4986 if test -n "$ORBIT_IDL"; then
4987 echo "$as_me:$LINENO: result: $ORBIT_IDL" >&5
4988 echo "${ECHO_T}$ORBIT_IDL" >&6
4990 echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6
4994 echo "$as_me:$LINENO: checking for working ORBit environment" >&5
4995 echo $ECHO_N "checking for working ORBit environment... $ECHO_C" >&6
4996 if test "${gnome_cv_orbit_found+set}" = set; then
4997 echo $ECHO_N "(cached) $ECHO_C" >&6
5000 if test x$ORBIT_CONFIG = xno -o x$ORBIT_IDL = xno; then
5001 gnome_cv_orbit_found=no
5003 gnome_cv_orbit_found=yes
5007 echo "$as_me:$LINENO: result: $gnome_cv_orbit_found" >&5
5008 echo "${ECHO_T}$gnome_cv_orbit_found" >&6
5011 if test x$gnome_cv_orbit_found = xyes; then
5013 HAVE_ORBIT_FALSE='#'
5018 if test x$gnome_cv_orbit_found = xyes; then
5020 ORBIT_CFLAGS=`orbit-config --cflags client server`
5021 ORBIT_LIBS=`orbit-config --use-service=name --libs client server`
5025 if test xfail = xfailure; then
5026 { { echo "$as_me:$LINENO: error: ORBit not installed or installation problem" >&5
5027 echo "$as_me: error: ORBit not installed or installation problem" >&2;}
5028 { (exit 1); exit 1; }; }
5032 echo "$as_me:$LINENO: checking for gnorba libraries" >&5
5033 echo $ECHO_N "checking for gnorba libraries... $ECHO_C" >&6
5034 if test "${gnome_cv_gnorba_found+set}" = set; then
5035 echo $ECHO_N "(cached) $ECHO_C" >&6
5038 gnome_cv_gnorba_found=no
5039 if test x$gnome_cv_orbit_found = xyes; then
5040 GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
5041 GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
5042 if test -n "$GNORBA_LIBS"; then
5043 gnome_cv_gnorba_found=yes
5048 echo "$as_me:$LINENO: result: $gnome_cv_gnorba_found" >&5
5049 echo "${ECHO_T}$gnome_cv_gnorba_found" >&6
5052 if test x$gnome_cv_gnorba_found = xyes; then
5054 HAVE_GNORBA_FALSE='#'
5056 HAVE_GNORBA_TRUE='#'
5059 if test x$gnome_cv_orbit_found = xyes; then
5061 GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
5062 GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
5066 if test xfail = xfailure; then
5067 { { echo "$as_me:$LINENO: error: gnorba library not installed or installation problem" >&5
5068 echo "$as_me: error: gnorba library not installed or installation problem" >&2;}
5069 { (exit 1); exit 1; }; }
5073 GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome`"
5074 GNOMEUI_LIBS="`$GNOME_CONFIG --libs-only-l gnomeui`"
5075 GNOMEGNORBA_LIBS="`$GNOME_CONFIG --libs-only-l gnorba gnomeui`"
5076 GTKXMHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkxmhtml`"
5077 ZVT_LIBS="`$GNOME_CONFIG --libs-only-l zvt`"
5078 GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
5079 GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5084 no_gnome_config="yes"
5088 if test x$exec_prefix = xNONE; then
5089 if test x$prefix = xNONE; then
5090 gnome_prefix=$ac_default_prefix/lib
5092 gnome_prefix=$prefix/lib
5095 gnome_prefix=`eval echo \`echo $libdir\``
5098 if test "$no_gnome_config" = "yes"; then
5099 echo "$as_me:$LINENO: checking for gnomeConf.sh file in $gnome_prefix" >&5
5100 echo $ECHO_N "checking for gnomeConf.sh file in $gnome_prefix... $ECHO_C" >&6
5101 if test -f $gnome_prefix/gnomeConf.sh; then
5102 echo "$as_me:$LINENO: result: found" >&5
5103 echo "${ECHO_T}found" >&6
5104 echo "loading gnome configuration from" \
5105 "$gnome_prefix/gnomeConf.sh"
5106 . $gnome_prefix/gnomeConf.sh
5109 echo "$as_me:$LINENO: result: not found" >&5
5110 echo "${ECHO_T}not found" >&6
5111 if test xfail = xfail; then
5112 { { echo "$as_me:$LINENO: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&5
5113 echo "$as_me: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&2;}
5114 { (exit 1); exit 1; }; }
5123 echo "$as_me:$LINENO: checking extra library \"$i\"" >&5
5124 echo $ECHO_N "checking extra library \"$i\"... $ECHO_C" >&6
5128 GNOME_APPLETS_LIBS=`$GNOME_CONFIG --libs-only-l applets`
5129 echo "$as_me:$LINENO: result: $GNOME_APPLETS_LIBS" >&5
5130 echo "${ECHO_T}$GNOME_APPLETS_LIBS" >&6;;
5133 GNOME_DOCKLETS_LIBS=`$GNOME_CONFIG --libs-only-l docklets`
5134 echo "$as_me:$LINENO: result: $GNOME_DOCKLETS_LIBS" >&5
5135 echo "${ECHO_T}$GNOME_DOCKLETS_LIBS" >&6;;
5138 GNOME_CAPPLET_LIBS=`$GNOME_CONFIG --libs-only-l capplet`
5139 echo "$as_me:$LINENO: result: $GNOME_CAPPLET_LIBS" >&5
5140 echo "${ECHO_T}$GNOME_CAPPLET_LIBS" >&6;;
5142 echo "$as_me:$LINENO: result: unknown library" >&5
5143 echo "${ECHO_T}unknown library" >&6
5145 EXTRA_INCLUDEDIR=`$GNOME_CONFIG --cflags $i`
5146 GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR $EXTRA_INCLUDEDIR"
5151 GNOME_DIR=src/gnome-console
5152 gnome_version="Version 1.4"
5158 # -------------------------------------------
5159 # wx-console (default off)
5160 # -------------------------------------------
5161 # Check whether --enable-wx-console or --disable-wx-console was given.
5162 if test "${enable_wx_console+set}" = set; then
5163 enableval="$enable_wx_console"
5164 if test x$enableval = xyes; then
5165 support_wx_console=yes
5170 if test x$support_wx_console = xyes; then
5171 abc=`$WXCONFIG --cppflags`
5173 if test $pkg = 0; then
5174 WXCONS_CPPFLAGS=`$WXCONFIG --cppflags`
5175 WXCONS_LDFLAGS=`$WXCONFIG --libs`
5178 WX_DIR=src/wx-console
5181 echo "wx-config program not found. wx-console disabled."
5183 support_wx_console=no
5189 # -------------------------------------------
5190 # tray-monitor (default off)
5191 # -------------------------------------------
5192 # Check whether --enable-tray-monitor or --disable-tray-monitor was given.
5193 if test "${enable_tray_monitor+set}" = set; then
5194 enableval="$enable_tray_monitor"
5195 if test x$enableval = xyes; then
5196 support_tray_monitor=yes
5201 if test x$support_tray_monitor = xyes; then
5202 abc=`$PKGCONFIG --exists gtk+-2.0`
5204 if test $pkg = 0; then
5205 TRAY_MONITOR_CPPFLAGS=`$PKGCONFIG --cflags gtk+-2.0`
5206 TRAY_MONITOR_LDFLAGS=`$PKGCONFIG --libs gtk+-2.0`
5209 TRAY_MONITOR_DIR=src/tray-monitor
5210 abc=`$PKGCONFIG --atleast-version=2.4 gtk+-2.0`
5212 if test $pkg = 0; then
5213 cat >>confdefs.h <<\_ACEOF
5214 #define HAVE_GTK_2_4 1
5222 # -------------------------------------------
5223 # smartalloc (default off)
5224 # -------------------------------------------
5225 # Check whether --enable-smartalloc or --disable-smartalloc was given.
5226 if test "${enable_smartalloc+set}" = set; then
5227 enableval="$enable_smartalloc"
5228 if test x$enableval = xno; then
5229 support_smartalloc=no
5233 if test x$support_smartalloc = xyes; then
5234 cat >>confdefs.h <<\_ACEOF
5235 #define SMARTALLOC 1
5240 # -------------------------------------------
5241 # static-tools (default off)
5242 # -------------------------------------------
5243 # Check whether --enable-static-tools or --disable-static-tools was given.
5244 if test "${enable_static_tools+set}" = set; then
5245 enableval="$enable_static_tools"
5246 if test x$enableval = xyes; then
5247 support_static_tools=yes
5252 if test x$support_static_tools = xyes; then
5253 TTOOL_LDFLAGS="-static"
5257 # -------------------------------------------
5258 # static-fd (default off)
5259 # -------------------------------------------
5260 # Check whether --enable-static-fd or --disable-static-fd was given.
5261 if test "${enable_static_fd+set}" = set; then
5262 enableval="$enable_static_fd"
5263 if test x$enableval = xyes; then
5264 support_static_fd=yes
5269 if test x$support_static_fd = xyes; then
5270 STATIC_FD="static-bacula-fd"
5274 # -------------------------------------------
5275 # static-sd (default off)
5276 # -------------------------------------------
5277 # Check whether --enable-static-sd or --disable-static-sd was given.
5278 if test "${enable_static_sd+set}" = set; then
5279 enableval="$enable_static_sd"
5280 if test x$enableval = xyes; then
5281 support_static_sd=yes
5286 if test x$support_static_sd = xyes; then
5287 STATIC_SD="static-bacula-sd"
5291 # -------------------------------------------
5292 # static-dir (default off)
5293 # -------------------------------------------
5294 # Check whether --enable-static-dir or --disable-static-dir was given.
5295 if test "${enable_static_dir+set}" = set; then
5296 enableval="$enable_static_dir"
5297 if test x$enableval = xyes; then
5298 support_static_dir=yes
5303 if test x$support_static_dir = xyes; then
5304 STATIC_DIR="static-bacula-dir"
5308 # -------------------------------------------
5309 # static-cons (default off)
5310 # -------------------------------------------
5311 # Check whether --enable-static-cons or --disable-static-cons was given.
5312 if test "${enable_static_cons+set}" = set; then
5313 enableval="$enable_static_cons"
5314 if test x$enableval = xyes; then
5315 support_static_cons=yes
5322 if test x$support_static_cons = xyes; then
5323 STATIC_CONS="static-bconsole"
5324 STATIC_GNOME_CONS="static-gnome-console"
5325 STATIC_WX_CONS="static-wx-console"
5331 # -------------------------------------------
5332 # client_only (default off)
5333 # -------------------------------------------
5334 # Check whether --enable-client-only or --disable-client-only was given.
5335 if test "${enable_client_only+set}" = set; then
5336 enableval="$enable_client_only"
5337 if test x$enableval = xyes; then
5338 build_client_only=yes
5343 if test x$build_client_only = xno; then
5350 # ---------------------------------------------------
5351 # Check for conio (Bacula readline substitute)(
5352 # ---------------------------------------------------
5353 # this allows you to turn it completely off
5354 # Check whether --enable-conio or --disable-conio was given.
5355 if test "${enable_conio+set}" = set; then
5356 enableval="$enable_conio"
5357 if test x$enableval = xno; then
5363 if test x$support_conio = xyes; then
5364 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5365 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5366 if test "${ac_cv_header_stdc+set}" = set; then
5367 echo $ECHO_N "(cached) $ECHO_C" >&6
5369 cat >conftest.$ac_ext <<_ACEOF
5372 cat confdefs.h >>conftest.$ac_ext
5373 cat >>conftest.$ac_ext <<_ACEOF
5374 /* end confdefs.h. */
5388 rm -f conftest.$ac_objext
5389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5390 (eval $ac_compile) 2>conftest.er1
5392 grep -v '^ *+' conftest.er1 >conftest.err
5394 cat conftest.err >&5
5395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5396 (exit $ac_status); } &&
5397 { ac_try='test -z "$ac_c_werror_flag"
5398 || test ! -s conftest.err'
5399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403 (exit $ac_status); }; } &&
5404 { ac_try='test -s conftest.$ac_objext'
5405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5409 (exit $ac_status); }; }; then
5410 ac_cv_header_stdc=yes
5412 echo "$as_me: failed program was:" >&5
5413 sed 's/^/| /' conftest.$ac_ext >&5
5415 ac_cv_header_stdc=no
5417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5419 if test $ac_cv_header_stdc = yes; then
5420 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5421 cat >conftest.$ac_ext <<_ACEOF
5424 cat confdefs.h >>conftest.$ac_ext
5425 cat >>conftest.$ac_ext <<_ACEOF
5426 /* end confdefs.h. */
5430 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5431 $EGREP "memchr" >/dev/null 2>&1; then
5434 ac_cv_header_stdc=no
5440 if test $ac_cv_header_stdc = yes; then
5441 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5442 cat >conftest.$ac_ext <<_ACEOF
5445 cat confdefs.h >>conftest.$ac_ext
5446 cat >>conftest.$ac_ext <<_ACEOF
5447 /* end confdefs.h. */
5451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5452 $EGREP "free" >/dev/null 2>&1; then
5455 ac_cv_header_stdc=no
5461 if test $ac_cv_header_stdc = yes; then
5462 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5463 if test "$cross_compiling" = yes; then
5466 cat >conftest.$ac_ext <<_ACEOF
5469 cat confdefs.h >>conftest.$ac_ext
5470 cat >>conftest.$ac_ext <<_ACEOF
5471 /* end confdefs.h. */
5473 #if ((' ' & 0x0FF) == 0x020)
5474 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5475 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5477 # define ISLOWER(c) \
5478 (('a' <= (c) && (c) <= 'i') \
5479 || ('j' <= (c) && (c) <= 'r') \
5480 || ('s' <= (c) && (c) <= 'z'))
5481 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5484 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5489 for (i = 0; i < 256; i++)
5490 if (XOR (islower (i), ISLOWER (i))
5491 || toupper (i) != TOUPPER (i))
5496 rm -f conftest$ac_exeext
5497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5498 (eval $ac_link) 2>&5
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); }; }; then
5509 echo "$as_me: program exited with status $ac_status" >&5
5510 echo "$as_me: failed program was:" >&5
5511 sed 's/^/| /' conftest.$ac_ext >&5
5514 ac_cv_header_stdc=no
5516 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5520 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5521 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5522 if test $ac_cv_header_stdc = yes; then
5524 cat >>confdefs.h <<\_ACEOF
5525 #define STDC_HEADERS 1
5530 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5540 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5541 inttypes.h stdint.h unistd.h
5543 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5544 echo "$as_me:$LINENO: checking for $ac_header" >&5
5545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5547 echo $ECHO_N "(cached) $ECHO_C" >&6
5549 cat >conftest.$ac_ext <<_ACEOF
5552 cat confdefs.h >>conftest.$ac_ext
5553 cat >>conftest.$ac_ext <<_ACEOF
5554 /* end confdefs.h. */
5555 $ac_includes_default
5557 #include <$ac_header>
5559 rm -f conftest.$ac_objext
5560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5561 (eval $ac_compile) 2>conftest.er1
5563 grep -v '^ *+' conftest.er1 >conftest.err
5565 cat conftest.err >&5
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); } &&
5568 { ac_try='test -z "$ac_c_werror_flag"
5569 || test ! -s conftest.err'
5570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5574 (exit $ac_status); }; } &&
5575 { ac_try='test -s conftest.$ac_objext'
5576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); }; }; then
5581 eval "$as_ac_Header=yes"
5583 echo "$as_me: failed program was:" >&5
5584 sed 's/^/| /' conftest.$ac_ext >&5
5586 eval "$as_ac_Header=no"
5588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5593 cat >>confdefs.h <<_ACEOF
5594 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5602 if test "${ac_cv_header_termcap_h+set}" = set; then
5603 echo "$as_me:$LINENO: checking for termcap.h" >&5
5604 echo $ECHO_N "checking for termcap.h... $ECHO_C" >&6
5605 if test "${ac_cv_header_termcap_h+set}" = set; then
5606 echo $ECHO_N "(cached) $ECHO_C" >&6
5608 echo "$as_me:$LINENO: result: $ac_cv_header_termcap_h" >&5
5609 echo "${ECHO_T}$ac_cv_header_termcap_h" >&6
5611 # Is the header compilable?
5612 echo "$as_me:$LINENO: checking termcap.h usability" >&5
5613 echo $ECHO_N "checking termcap.h usability... $ECHO_C" >&6
5614 cat >conftest.$ac_ext <<_ACEOF
5617 cat confdefs.h >>conftest.$ac_ext
5618 cat >>conftest.$ac_ext <<_ACEOF
5619 /* end confdefs.h. */
5620 $ac_includes_default
5621 #include <termcap.h>
5623 rm -f conftest.$ac_objext
5624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5625 (eval $ac_compile) 2>conftest.er1
5627 grep -v '^ *+' conftest.er1 >conftest.err
5629 cat conftest.err >&5
5630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631 (exit $ac_status); } &&
5632 { ac_try='test -z "$ac_c_werror_flag"
5633 || test ! -s conftest.err'
5634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638 (exit $ac_status); }; } &&
5639 { ac_try='test -s conftest.$ac_objext'
5640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644 (exit $ac_status); }; }; then
5645 ac_header_compiler=yes
5647 echo "$as_me: failed program was:" >&5
5648 sed 's/^/| /' conftest.$ac_ext >&5
5650 ac_header_compiler=no
5652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5653 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5654 echo "${ECHO_T}$ac_header_compiler" >&6
5656 # Is the header present?
5657 echo "$as_me:$LINENO: checking termcap.h presence" >&5
5658 echo $ECHO_N "checking termcap.h presence... $ECHO_C" >&6
5659 cat >conftest.$ac_ext <<_ACEOF
5662 cat confdefs.h >>conftest.$ac_ext
5663 cat >>conftest.$ac_ext <<_ACEOF
5664 /* end confdefs.h. */
5665 #include <termcap.h>
5667 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5668 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5670 grep -v '^ *+' conftest.er1 >conftest.err
5672 cat conftest.err >&5
5673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674 (exit $ac_status); } >/dev/null; then
5675 if test -s conftest.err; then
5676 ac_cpp_err=$ac_c_preproc_warn_flag
5677 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5684 if test -z "$ac_cpp_err"; then
5685 ac_header_preproc=yes
5687 echo "$as_me: failed program was:" >&5
5688 sed 's/^/| /' conftest.$ac_ext >&5
5690 ac_header_preproc=no
5692 rm -f conftest.err conftest.$ac_ext
5693 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5694 echo "${ECHO_T}$ac_header_preproc" >&6
5696 # So? What about this header?
5697 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5699 { echo "$as_me:$LINENO: WARNING: termcap.h: accepted by the compiler, rejected by the preprocessor!" >&5
5700 echo "$as_me: WARNING: termcap.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5701 { echo "$as_me:$LINENO: WARNING: termcap.h: proceeding with the compiler's result" >&5
5702 echo "$as_me: WARNING: termcap.h: proceeding with the compiler's result" >&2;}
5703 ac_header_preproc=yes
5706 { echo "$as_me:$LINENO: WARNING: termcap.h: present but cannot be compiled" >&5
5707 echo "$as_me: WARNING: termcap.h: present but cannot be compiled" >&2;}
5708 { echo "$as_me:$LINENO: WARNING: termcap.h: check for missing prerequisite headers?" >&5
5709 echo "$as_me: WARNING: termcap.h: check for missing prerequisite headers?" >&2;}
5710 { echo "$as_me:$LINENO: WARNING: termcap.h: see the Autoconf documentation" >&5
5711 echo "$as_me: WARNING: termcap.h: see the Autoconf documentation" >&2;}
5712 { echo "$as_me:$LINENO: WARNING: termcap.h: section \"Present But Cannot Be Compiled\"" >&5
5713 echo "$as_me: WARNING: termcap.h: section \"Present But Cannot Be Compiled\"" >&2;}
5714 { echo "$as_me:$LINENO: WARNING: termcap.h: proceeding with the preprocessor's result" >&5
5715 echo "$as_me: WARNING: termcap.h: proceeding with the preprocessor's result" >&2;}
5716 { echo "$as_me:$LINENO: WARNING: termcap.h: in the future, the compiler will take precedence" >&5
5717 echo "$as_me: WARNING: termcap.h: in the future, the compiler will take precedence" >&2;}
5720 ## ------------------------------------------ ##
5721 ## Report this to the AC_PACKAGE_NAME lists. ##
5722 ## ------------------------------------------ ##
5725 sed "s/^/$as_me: WARNING: /" >&2
5728 echo "$as_me:$LINENO: checking for termcap.h" >&5
5729 echo $ECHO_N "checking for termcap.h... $ECHO_C" >&6
5730 if test "${ac_cv_header_termcap_h+set}" = set; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 ac_cv_header_termcap_h=$ac_header_preproc
5735 echo "$as_me:$LINENO: result: $ac_cv_header_termcap_h" >&5
5736 echo "${ECHO_T}$ac_cv_header_termcap_h" >&6
5739 if test $ac_cv_header_termcap_h = yes; then
5740 echo "$as_me:$LINENO: checking for tgetent in -ltermcap" >&5
5741 echo $ECHO_N "checking for tgetent in -ltermcap... $ECHO_C" >&6
5742 if test "${ac_cv_lib_termcap_tgetent+set}" = set; then
5743 echo $ECHO_N "(cached) $ECHO_C" >&6
5745 ac_check_lib_save_LIBS=$LIBS
5746 LIBS="-ltermcap $LIBS"
5747 cat >conftest.$ac_ext <<_ACEOF
5750 cat confdefs.h >>conftest.$ac_ext
5751 cat >>conftest.$ac_ext <<_ACEOF
5752 /* end confdefs.h. */
5754 /* Override any gcc2 internal prototype to avoid an error. */
5758 /* We use char because int might match the return type of a gcc2
5759 builtin and then its argument prototype would still apply. */
5769 rm -f conftest.$ac_objext conftest$ac_exeext
5770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5771 (eval $ac_link) 2>conftest.er1
5773 grep -v '^ *+' conftest.er1 >conftest.err
5775 cat conftest.err >&5
5776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5777 (exit $ac_status); } &&
5778 { ac_try='test -z "$ac_c_werror_flag"
5779 || test ! -s conftest.err'
5780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); }; } &&
5785 { ac_try='test -s conftest$ac_exeext'
5786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); }; }; then
5791 ac_cv_lib_termcap_tgetent=yes
5793 echo "$as_me: failed program was:" >&5
5794 sed 's/^/| /' conftest.$ac_ext >&5
5796 ac_cv_lib_termcap_tgetent=no
5798 rm -f conftest.err conftest.$ac_objext \
5799 conftest$ac_exeext conftest.$ac_ext
5800 LIBS=$ac_check_lib_save_LIBS
5802 echo "$as_me:$LINENO: result: $ac_cv_lib_termcap_tgetent" >&5
5803 echo "${ECHO_T}$ac_cv_lib_termcap_tgetent" >&6
5804 if test $ac_cv_lib_termcap_tgetent = yes; then
5805 CONS_LIBS="-ltermcap"
5811 cat >>confdefs.h <<\_ACEOF
5812 #define HAVE_CONIO 1
5817 echo "$as_me:$LINENO: checking for tgetent in -lncurses" >&5
5818 echo $ECHO_N "checking for tgetent in -lncurses... $ECHO_C" >&6
5819 if test "${ac_cv_lib_ncurses_tgetent+set}" = set; then
5820 echo $ECHO_N "(cached) $ECHO_C" >&6
5822 ac_check_lib_save_LIBS=$LIBS
5823 LIBS="-lncurses $LIBS"
5824 cat >conftest.$ac_ext <<_ACEOF
5827 cat confdefs.h >>conftest.$ac_ext
5828 cat >>conftest.$ac_ext <<_ACEOF
5829 /* end confdefs.h. */
5831 /* Override any gcc2 internal prototype to avoid an error. */
5835 /* We use char because int might match the return type of a gcc2
5836 builtin and then its argument prototype would still apply. */
5846 rm -f conftest.$ac_objext conftest$ac_exeext
5847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5848 (eval $ac_link) 2>conftest.er1
5850 grep -v '^ *+' conftest.er1 >conftest.err
5852 cat conftest.err >&5
5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); } &&
5855 { ac_try='test -z "$ac_c_werror_flag"
5856 || test ! -s conftest.err'
5857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); }; } &&
5862 { ac_try='test -s conftest$ac_exeext'
5863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); }; }; then
5868 ac_cv_lib_ncurses_tgetent=yes
5870 echo "$as_me: failed program was:" >&5
5871 sed 's/^/| /' conftest.$ac_ext >&5
5873 ac_cv_lib_ncurses_tgetent=no
5875 rm -f conftest.err conftest.$ac_objext \
5876 conftest$ac_exeext conftest.$ac_ext
5877 LIBS=$ac_check_lib_save_LIBS
5879 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tgetent" >&5
5880 echo "${ECHO_T}$ac_cv_lib_ncurses_tgetent" >&6
5881 if test $ac_cv_lib_ncurses_tgetent = yes; then
5882 CONS_LIBS="-lncurses"
5888 cat >>confdefs.h <<\_ACEOF
5889 #define HAVE_CONIO 1
5902 for ac_header in curses.h
5904 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5906 echo "$as_me:$LINENO: checking for $ac_header" >&5
5907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5909 echo $ECHO_N "(cached) $ECHO_C" >&6
5911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5914 # Is the header compilable?
5915 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5916 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5917 cat >conftest.$ac_ext <<_ACEOF
5920 cat confdefs.h >>conftest.$ac_ext
5921 cat >>conftest.$ac_ext <<_ACEOF
5922 /* end confdefs.h. */
5923 $ac_includes_default
5924 #include <$ac_header>
5926 rm -f conftest.$ac_objext
5927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5928 (eval $ac_compile) 2>conftest.er1
5930 grep -v '^ *+' conftest.er1 >conftest.err
5932 cat conftest.err >&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); } &&
5935 { ac_try='test -z "$ac_c_werror_flag"
5936 || test ! -s conftest.err'
5937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5941 (exit $ac_status); }; } &&
5942 { ac_try='test -s conftest.$ac_objext'
5943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); }; }; then
5948 ac_header_compiler=yes
5950 echo "$as_me: failed program was:" >&5
5951 sed 's/^/| /' conftest.$ac_ext >&5
5953 ac_header_compiler=no
5955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5956 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5957 echo "${ECHO_T}$ac_header_compiler" >&6
5959 # Is the header present?
5960 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5961 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5962 cat >conftest.$ac_ext <<_ACEOF
5965 cat confdefs.h >>conftest.$ac_ext
5966 cat >>conftest.$ac_ext <<_ACEOF
5967 /* end confdefs.h. */
5968 #include <$ac_header>
5970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5971 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5973 grep -v '^ *+' conftest.er1 >conftest.err
5975 cat conftest.err >&5
5976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5977 (exit $ac_status); } >/dev/null; then
5978 if test -s conftest.err; then
5979 ac_cpp_err=$ac_c_preproc_warn_flag
5980 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5987 if test -z "$ac_cpp_err"; then
5988 ac_header_preproc=yes
5990 echo "$as_me: failed program was:" >&5
5991 sed 's/^/| /' conftest.$ac_ext >&5
5993 ac_header_preproc=no
5995 rm -f conftest.err conftest.$ac_ext
5996 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5997 echo "${ECHO_T}$ac_header_preproc" >&6
5999 # So? What about this header?
6000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6002 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6003 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6005 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6006 ac_header_preproc=yes
6009 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6010 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6011 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6012 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6013 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6014 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6015 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6016 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6018 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6019 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6020 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6023 ## ------------------------------------------ ##
6024 ## Report this to the AC_PACKAGE_NAME lists. ##
6025 ## ------------------------------------------ ##
6028 sed "s/^/$as_me: WARNING: /" >&2
6031 echo "$as_me:$LINENO: checking for $ac_header" >&5
6032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6034 echo $ECHO_N "(cached) $ECHO_C" >&6
6036 eval "$as_ac_Header=\$ac_header_preproc"
6038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6042 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6043 cat >>confdefs.h <<_ACEOF
6044 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6051 echo "$as_me:$LINENO: checking for term.h" >&5
6052 echo $ECHO_N "checking for term.h... $ECHO_C" >&6
6053 if test "${ac_cv_header_term_h+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 cat >conftest.$ac_ext <<_ACEOF
6059 cat confdefs.h >>conftest.$ac_ext
6060 cat >>conftest.$ac_ext <<_ACEOF
6061 /* end confdefs.h. */
6069 rm -f conftest.$ac_objext
6070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6071 (eval $ac_compile) 2>conftest.er1
6073 grep -v '^ *+' conftest.er1 >conftest.err
6075 cat conftest.err >&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); } &&
6078 { ac_try='test -z "$ac_c_werror_flag"
6079 || test ! -s conftest.err'
6080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6084 (exit $ac_status); }; } &&
6085 { ac_try='test -s conftest.$ac_objext'
6086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); }; }; then
6091 ac_cv_header_term_h=yes
6093 echo "$as_me: failed program was:" >&5
6094 sed 's/^/| /' conftest.$ac_ext >&5
6096 ac_cv_header_term_h=no
6098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6100 echo "$as_me:$LINENO: result: $ac_cv_header_term_h" >&5
6101 echo "${ECHO_T}$ac_cv_header_term_h" >&6
6102 if test $ac_cv_header_term_h = yes; then
6103 echo "$as_me:$LINENO: checking for tgetent in -lcurses" >&5
6104 echo $ECHO_N "checking for tgetent in -lcurses... $ECHO_C" >&6
6105 if test "${ac_cv_lib_curses_tgetent+set}" = set; then
6106 echo $ECHO_N "(cached) $ECHO_C" >&6
6108 ac_check_lib_save_LIBS=$LIBS
6109 LIBS="-lcurses $LIBS"
6110 cat >conftest.$ac_ext <<_ACEOF
6113 cat confdefs.h >>conftest.$ac_ext
6114 cat >>conftest.$ac_ext <<_ACEOF
6115 /* end confdefs.h. */
6117 /* Override any gcc2 internal prototype to avoid an error. */
6121 /* We use char because int might match the return type of a gcc2
6122 builtin and then its argument prototype would still apply. */
6132 rm -f conftest.$ac_objext conftest$ac_exeext
6133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6134 (eval $ac_link) 2>conftest.er1
6136 grep -v '^ *+' conftest.er1 >conftest.err
6138 cat conftest.err >&5
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); } &&
6141 { ac_try='test -z "$ac_c_werror_flag"
6142 || test ! -s conftest.err'
6143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); }; } &&
6148 { ac_try='test -s conftest$ac_exeext'
6149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); }; }; then
6154 ac_cv_lib_curses_tgetent=yes
6156 echo "$as_me: failed program was:" >&5
6157 sed 's/^/| /' conftest.$ac_ext >&5
6159 ac_cv_lib_curses_tgetent=no
6161 rm -f conftest.err conftest.$ac_objext \
6162 conftest$ac_exeext conftest.$ac_ext
6163 LIBS=$ac_check_lib_save_LIBS
6165 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_tgetent" >&5
6166 echo "${ECHO_T}$ac_cv_lib_curses_tgetent" >&6
6167 if test $ac_cv_lib_curses_tgetent = yes; then
6168 CONS_LIBS="-lcurses"
6174 cat >>confdefs.h <<\_ACEOF
6175 #define HAVE_CONIO 1
6183 echo " "; echo "Required libraries not found. CONIO turned off ..."; echo " "
6194 # ---------------------------------------------------
6195 # Check for readline support/directory (default off)
6196 # ---------------------------------------------------
6197 # this allows you to turn it completely off
6198 # Check whether --enable-readline or --disable-readline was given.
6199 if test "${enable_readline+set}" = set; then
6200 enableval="$enable_readline"
6201 if test x$enableval = xno; then
6208 if test x$support_readline = xyes; then
6210 # Check whether --with-readline or --without-readline was given.
6211 if test "${with_readline+set}" = set; then
6212 withval="$with_readline"
6214 case "$with_readline" in
6217 if test "$with_readline" != "yes"; then
6218 CONS_INC="-I${with_readline}"
6219 CONS_LDFLAGS="-L$with_readline"
6221 with_readline="/usr/include/readline"
6223 as_ac_Header=`echo "ac_cv_header_${with_readline}/readline.h" | $as_tr_sh`
6224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6225 echo "$as_me:$LINENO: checking for ${with_readline}/readline.h" >&5
6226 echo $ECHO_N "checking for ${with_readline}/readline.h... $ECHO_C" >&6
6227 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6228 echo $ECHO_N "(cached) $ECHO_C" >&6
6230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6233 # Is the header compilable?
6234 echo "$as_me:$LINENO: checking ${with_readline}/readline.h usability" >&5
6235 echo $ECHO_N "checking ${with_readline}/readline.h usability... $ECHO_C" >&6
6236 cat >conftest.$ac_ext <<_ACEOF
6239 cat confdefs.h >>conftest.$ac_ext
6240 cat >>conftest.$ac_ext <<_ACEOF
6241 /* end confdefs.h. */
6242 $ac_includes_default
6243 #include <${with_readline}/readline.h>
6245 rm -f conftest.$ac_objext
6246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6247 (eval $ac_compile) 2>conftest.er1
6249 grep -v '^ *+' conftest.er1 >conftest.err
6251 cat conftest.err >&5
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } &&
6254 { ac_try='test -z "$ac_c_werror_flag"
6255 || test ! -s conftest.err'
6256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6260 (exit $ac_status); }; } &&
6261 { ac_try='test -s conftest.$ac_objext'
6262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); }; }; then
6267 ac_header_compiler=yes
6269 echo "$as_me: failed program was:" >&5
6270 sed 's/^/| /' conftest.$ac_ext >&5
6272 ac_header_compiler=no
6274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6275 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6276 echo "${ECHO_T}$ac_header_compiler" >&6
6278 # Is the header present?
6279 echo "$as_me:$LINENO: checking ${with_readline}/readline.h presence" >&5
6280 echo $ECHO_N "checking ${with_readline}/readline.h presence... $ECHO_C" >&6
6281 cat >conftest.$ac_ext <<_ACEOF
6284 cat confdefs.h >>conftest.$ac_ext
6285 cat >>conftest.$ac_ext <<_ACEOF
6286 /* end confdefs.h. */
6287 #include <${with_readline}/readline.h>
6289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6292 grep -v '^ *+' conftest.er1 >conftest.err
6294 cat conftest.err >&5
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); } >/dev/null; then
6297 if test -s conftest.err; then
6298 ac_cpp_err=$ac_c_preproc_warn_flag
6299 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6306 if test -z "$ac_cpp_err"; then
6307 ac_header_preproc=yes
6309 echo "$as_me: failed program was:" >&5
6310 sed 's/^/| /' conftest.$ac_ext >&5
6312 ac_header_preproc=no
6314 rm -f conftest.err conftest.$ac_ext
6315 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6316 echo "${ECHO_T}$ac_header_preproc" >&6
6318 # So? What about this header?
6319 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6321 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
6322 echo "$as_me: WARNING: ${with_readline}/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6323 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: proceeding with the compiler's result" >&5
6324 echo "$as_me: WARNING: ${with_readline}/readline.h: proceeding with the compiler's result" >&2;}
6325 ac_header_preproc=yes
6328 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: present but cannot be compiled" >&5
6329 echo "$as_me: WARNING: ${with_readline}/readline.h: present but cannot be compiled" >&2;}
6330 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: check for missing prerequisite headers?" >&5
6331 echo "$as_me: WARNING: ${with_readline}/readline.h: check for missing prerequisite headers?" >&2;}
6332 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: see the Autoconf documentation" >&5
6333 echo "$as_me: WARNING: ${with_readline}/readline.h: see the Autoconf documentation" >&2;}
6334 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: section \"Present But Cannot Be Compiled\"" >&5
6335 echo "$as_me: WARNING: ${with_readline}/readline.h: section \"Present But Cannot Be Compiled\"" >&2;}
6336 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: proceeding with the preprocessor's result" >&5
6337 echo "$as_me: WARNING: ${with_readline}/readline.h: proceeding with the preprocessor's result" >&2;}
6338 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: in the future, the compiler will take precedence" >&5
6339 echo "$as_me: WARNING: ${with_readline}/readline.h: in the future, the compiler will take precedence" >&2;}
6342 ## ------------------------------------------ ##
6343 ## Report this to the AC_PACKAGE_NAME lists. ##
6344 ## ------------------------------------------ ##
6347 sed "s/^/$as_me: WARNING: /" >&2
6350 echo "$as_me:$LINENO: checking for ${with_readline}/readline.h" >&5
6351 echo $ECHO_N "checking for ${with_readline}/readline.h... $ECHO_C" >&6
6352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6353 echo $ECHO_N "(cached) $ECHO_C" >&6
6355 eval "$as_ac_Header=\$ac_header_preproc"
6357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6361 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6362 cat >>confdefs.h <<\_ACEOF
6363 #define HAVE_READLINE 1
6366 CONS_LIBS="-lreadline -ltermcap"
6371 echo "readline.h not found. readline turned off ..."
6383 # check for standard readline library
6384 if test "${ac_cv_header__usr_include_readline_readline_h+set}" = set; then
6385 echo "$as_me:$LINENO: checking for /usr/include/readline/readline.h" >&5
6386 echo $ECHO_N "checking for /usr/include/readline/readline.h... $ECHO_C" >&6
6387 if test "${ac_cv_header__usr_include_readline_readline_h+set}" = set; then
6388 echo $ECHO_N "(cached) $ECHO_C" >&6
6390 echo "$as_me:$LINENO: result: $ac_cv_header__usr_include_readline_readline_h" >&5
6391 echo "${ECHO_T}$ac_cv_header__usr_include_readline_readline_h" >&6
6393 # Is the header compilable?
6394 echo "$as_me:$LINENO: checking /usr/include/readline/readline.h usability" >&5
6395 echo $ECHO_N "checking /usr/include/readline/readline.h usability... $ECHO_C" >&6
6396 cat >conftest.$ac_ext <<_ACEOF
6399 cat confdefs.h >>conftest.$ac_ext
6400 cat >>conftest.$ac_ext <<_ACEOF
6401 /* end confdefs.h. */
6402 $ac_includes_default
6403 #include </usr/include/readline/readline.h>
6405 rm -f conftest.$ac_objext
6406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6407 (eval $ac_compile) 2>conftest.er1
6409 grep -v '^ *+' conftest.er1 >conftest.err
6411 cat conftest.err >&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); } &&
6414 { ac_try='test -z "$ac_c_werror_flag"
6415 || test ! -s conftest.err'
6416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); }; } &&
6421 { ac_try='test -s conftest.$ac_objext'
6422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6426 (exit $ac_status); }; }; then
6427 ac_header_compiler=yes
6429 echo "$as_me: failed program was:" >&5
6430 sed 's/^/| /' conftest.$ac_ext >&5
6432 ac_header_compiler=no
6434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6435 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6436 echo "${ECHO_T}$ac_header_compiler" >&6
6438 # Is the header present?
6439 echo "$as_me:$LINENO: checking /usr/include/readline/readline.h presence" >&5
6440 echo $ECHO_N "checking /usr/include/readline/readline.h presence... $ECHO_C" >&6
6441 cat >conftest.$ac_ext <<_ACEOF
6444 cat confdefs.h >>conftest.$ac_ext
6445 cat >>conftest.$ac_ext <<_ACEOF
6446 /* end confdefs.h. */
6447 #include </usr/include/readline/readline.h>
6449 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6450 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6452 grep -v '^ *+' conftest.er1 >conftest.err
6454 cat conftest.err >&5
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); } >/dev/null; then
6457 if test -s conftest.err; then
6458 ac_cpp_err=$ac_c_preproc_warn_flag
6459 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6466 if test -z "$ac_cpp_err"; then
6467 ac_header_preproc=yes
6469 echo "$as_me: failed program was:" >&5
6470 sed 's/^/| /' conftest.$ac_ext >&5
6472 ac_header_preproc=no
6474 rm -f conftest.err conftest.$ac_ext
6475 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6476 echo "${ECHO_T}$ac_header_preproc" >&6
6478 # So? What about this header?
6479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6481 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
6482 echo "$as_me: WARNING: /usr/include/readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6483 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: proceeding with the compiler's result" >&5
6484 echo "$as_me: WARNING: /usr/include/readline/readline.h: proceeding with the compiler's result" >&2;}
6485 ac_header_preproc=yes
6488 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: present but cannot be compiled" >&5
6489 echo "$as_me: WARNING: /usr/include/readline/readline.h: present but cannot be compiled" >&2;}
6490 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: check for missing prerequisite headers?" >&5
6491 echo "$as_me: WARNING: /usr/include/readline/readline.h: check for missing prerequisite headers?" >&2;}
6492 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: see the Autoconf documentation" >&5
6493 echo "$as_me: WARNING: /usr/include/readline/readline.h: see the Autoconf documentation" >&2;}
6494 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: section \"Present But Cannot Be Compiled\"" >&5
6495 echo "$as_me: WARNING: /usr/include/readline/readline.h: section \"Present But Cannot Be Compiled\"" >&2;}
6496 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: proceeding with the preprocessor's result" >&5
6497 echo "$as_me: WARNING: /usr/include/readline/readline.h: proceeding with the preprocessor's result" >&2;}
6498 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: in the future, the compiler will take precedence" >&5
6499 echo "$as_me: WARNING: /usr/include/readline/readline.h: in the future, the compiler will take precedence" >&2;}
6502 ## ------------------------------------------ ##
6503 ## Report this to the AC_PACKAGE_NAME lists. ##
6504 ## ------------------------------------------ ##
6507 sed "s/^/$as_me: WARNING: /" >&2
6510 echo "$as_me:$LINENO: checking for /usr/include/readline/readline.h" >&5
6511 echo $ECHO_N "checking for /usr/include/readline/readline.h... $ECHO_C" >&6
6512 if test "${ac_cv_header__usr_include_readline_readline_h+set}" = set; then
6513 echo $ECHO_N "(cached) $ECHO_C" >&6
6515 ac_cv_header__usr_include_readline_readline_h=$ac_header_preproc
6517 echo "$as_me:$LINENO: result: $ac_cv_header__usr_include_readline_readline_h" >&5
6518 echo "${ECHO_T}$ac_cv_header__usr_include_readline_readline_h" >&6
6521 if test $ac_cv_header__usr_include_readline_readline_h = yes; then
6522 cat >>confdefs.h <<\_ACEOF
6523 #define HAVE_READLINE 1
6527 CONS_INC="-I/usr/include/readline"
6528 CONS_LIBS="-lreadline -ltermcap"
6532 # Did not find standard library, so try Bacula's default
6533 as_ac_Header=`echo "ac_cv_header_${TOP_DIR}/depkgs/readline/readline.h" | $as_tr_sh`
6534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6535 echo "$as_me:$LINENO: checking for ${TOP_DIR}/depkgs/readline/readline.h" >&5
6536 echo $ECHO_N "checking for ${TOP_DIR}/depkgs/readline/readline.h... $ECHO_C" >&6
6537 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6541 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6543 # Is the header compilable?
6544 echo "$as_me:$LINENO: checking ${TOP_DIR}/depkgs/readline/readline.h usability" >&5
6545 echo $ECHO_N "checking ${TOP_DIR}/depkgs/readline/readline.h usability... $ECHO_C" >&6
6546 cat >conftest.$ac_ext <<_ACEOF
6549 cat confdefs.h >>conftest.$ac_ext
6550 cat >>conftest.$ac_ext <<_ACEOF
6551 /* end confdefs.h. */
6552 $ac_includes_default
6553 #include <${TOP_DIR}/depkgs/readline/readline.h>
6555 rm -f conftest.$ac_objext
6556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6557 (eval $ac_compile) 2>conftest.er1
6559 grep -v '^ *+' conftest.er1 >conftest.err
6561 cat conftest.err >&5
6562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6563 (exit $ac_status); } &&
6564 { ac_try='test -z "$ac_c_werror_flag"
6565 || test ! -s conftest.err'
6566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }; } &&
6571 { ac_try='test -s conftest.$ac_objext'
6572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); }; }; then
6577 ac_header_compiler=yes
6579 echo "$as_me: failed program was:" >&5
6580 sed 's/^/| /' conftest.$ac_ext >&5
6582 ac_header_compiler=no
6584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6585 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6586 echo "${ECHO_T}$ac_header_compiler" >&6
6588 # Is the header present?
6589 echo "$as_me:$LINENO: checking ${TOP_DIR}/depkgs/readline/readline.h presence" >&5
6590 echo $ECHO_N "checking ${TOP_DIR}/depkgs/readline/readline.h presence... $ECHO_C" >&6
6591 cat >conftest.$ac_ext <<_ACEOF
6594 cat confdefs.h >>conftest.$ac_ext
6595 cat >>conftest.$ac_ext <<_ACEOF
6596 /* end confdefs.h. */
6597 #include <${TOP_DIR}/depkgs/readline/readline.h>
6599 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6600 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6602 grep -v '^ *+' conftest.er1 >conftest.err
6604 cat conftest.err >&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); } >/dev/null; then
6607 if test -s conftest.err; then
6608 ac_cpp_err=$ac_c_preproc_warn_flag
6609 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6616 if test -z "$ac_cpp_err"; then
6617 ac_header_preproc=yes
6619 echo "$as_me: failed program was:" >&5
6620 sed 's/^/| /' conftest.$ac_ext >&5
6622 ac_header_preproc=no
6624 rm -f conftest.err conftest.$ac_ext
6625 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6626 echo "${ECHO_T}$ac_header_preproc" >&6
6628 # So? What about this header?
6629 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6631 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
6632 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6633 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: proceeding with the compiler's result" >&5
6634 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: proceeding with the compiler's result" >&2;}
6635 ac_header_preproc=yes
6638 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: present but cannot be compiled" >&5
6639 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: present but cannot be compiled" >&2;}
6640 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: check for missing prerequisite headers?" >&5
6641 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: check for missing prerequisite headers?" >&2;}
6642 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: see the Autoconf documentation" >&5
6643 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: see the Autoconf documentation" >&2;}
6644 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: section \"Present But Cannot Be Compiled\"" >&5
6645 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: section \"Present But Cannot Be Compiled\"" >&2;}
6646 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: proceeding with the preprocessor's result" >&5
6647 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: proceeding with the preprocessor's result" >&2;}
6648 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: in the future, the compiler will take precedence" >&5
6649 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: in the future, the compiler will take precedence" >&2;}
6652 ## ------------------------------------------ ##
6653 ## Report this to the AC_PACKAGE_NAME lists. ##
6654 ## ------------------------------------------ ##
6657 sed "s/^/$as_me: WARNING: /" >&2
6660 echo "$as_me:$LINENO: checking for ${TOP_DIR}/depkgs/readline/readline.h" >&5
6661 echo $ECHO_N "checking for ${TOP_DIR}/depkgs/readline/readline.h... $ECHO_C" >&6
6662 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6663 echo $ECHO_N "(cached) $ECHO_C" >&6
6665 eval "$as_ac_Header=\$ac_header_preproc"
6667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6668 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6672 cat >>confdefs.h <<\_ACEOF
6673 #define HAVE_READLINE 1
6677 CONS_INC="-I${TOP_DIR}/depkgs/readline"
6678 CONS_LIBS="-lreadline -lhistory -ltermcap"
6679 CONS_LDFLAGS="-L${TOP_DIR}/depkgs/readline"
6680 PRTREADLINE_SRC="${TOP_DIR}/depkgs/readline"
6684 echo "readline.h not found. readline turned off ..."
6710 # Minimal stuff for readline Makefile configuration
6713 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6714 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
6715 if test "${ac_cv_header_stat_broken+set}" = set; then
6716 echo $ECHO_N "(cached) $ECHO_C" >&6
6718 cat >conftest.$ac_ext <<_ACEOF
6721 cat confdefs.h >>conftest.$ac_ext
6722 cat >>conftest.$ac_ext <<_ACEOF
6723 /* end confdefs.h. */
6724 #include <sys/types.h>
6725 #include <sys/stat.h>
6727 #if defined(S_ISBLK) && defined(S_IFDIR)
6728 # if S_ISBLK (S_IFDIR)
6733 #if defined(S_ISBLK) && defined(S_IFCHR)
6734 # if S_ISBLK (S_IFCHR)
6739 #if defined(S_ISLNK) && defined(S_IFREG)
6740 # if S_ISLNK (S_IFREG)
6745 #if defined(S_ISSOCK) && defined(S_IFREG)
6746 # if S_ISSOCK (S_IFREG)
6752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6753 $EGREP "You lose" >/dev/null 2>&1; then
6754 ac_cv_header_stat_broken=yes
6756 ac_cv_header_stat_broken=no
6761 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6762 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
6763 if test $ac_cv_header_stat_broken = yes; then
6765 cat >>confdefs.h <<\_ACEOF
6766 #define STAT_MACROS_BROKEN 1
6777 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
6778 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6779 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6780 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
6781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6782 echo $ECHO_N "(cached) $ECHO_C" >&6
6784 cat >conftest.$ac_ext <<_ACEOF
6787 cat confdefs.h >>conftest.$ac_ext
6788 cat >>conftest.$ac_ext <<_ACEOF
6789 /* end confdefs.h. */
6790 #include <sys/types.h>
6802 rm -f conftest.$ac_objext
6803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6804 (eval $ac_compile) 2>conftest.er1
6806 grep -v '^ *+' conftest.er1 >conftest.err
6808 cat conftest.err >&5
6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); } &&
6811 { ac_try='test -z "$ac_c_werror_flag"
6812 || test ! -s conftest.err'
6813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6817 (exit $ac_status); }; } &&
6818 { ac_try='test -s conftest.$ac_objext'
6819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); }; }; then
6824 eval "$as_ac_Header=yes"
6826 echo "$as_me: failed program was:" >&5
6827 sed 's/^/| /' conftest.$ac_ext >&5
6829 eval "$as_ac_Header=no"
6831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6836 cat >>confdefs.h <<_ACEOF
6837 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6840 ac_header_dirent=$ac_hdr; break
6844 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6845 if test $ac_header_dirent = dirent.h; then
6846 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6847 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6848 if test "${ac_cv_search_opendir+set}" = set; then
6849 echo $ECHO_N "(cached) $ECHO_C" >&6
6851 ac_func_search_save_LIBS=$LIBS
6852 ac_cv_search_opendir=no
6853 cat >conftest.$ac_ext <<_ACEOF
6856 cat confdefs.h >>conftest.$ac_ext
6857 cat >>conftest.$ac_ext <<_ACEOF
6858 /* end confdefs.h. */
6860 /* Override any gcc2 internal prototype to avoid an error. */
6864 /* We use char because int might match the return type of a gcc2
6865 builtin and then its argument prototype would still apply. */
6875 rm -f conftest.$ac_objext conftest$ac_exeext
6876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6877 (eval $ac_link) 2>conftest.er1
6879 grep -v '^ *+' conftest.er1 >conftest.err
6881 cat conftest.err >&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); } &&
6884 { ac_try='test -z "$ac_c_werror_flag"
6885 || test ! -s conftest.err'
6886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6890 (exit $ac_status); }; } &&
6891 { ac_try='test -s conftest$ac_exeext'
6892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); }; }; then
6897 ac_cv_search_opendir="none required"
6899 echo "$as_me: failed program was:" >&5
6900 sed 's/^/| /' conftest.$ac_ext >&5
6903 rm -f conftest.err conftest.$ac_objext \
6904 conftest$ac_exeext conftest.$ac_ext
6905 if test "$ac_cv_search_opendir" = no; then
6906 for ac_lib in dir; do
6907 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6908 cat >conftest.$ac_ext <<_ACEOF
6911 cat confdefs.h >>conftest.$ac_ext
6912 cat >>conftest.$ac_ext <<_ACEOF
6913 /* end confdefs.h. */
6915 /* Override any gcc2 internal prototype to avoid an error. */
6919 /* We use char because int might match the return type of a gcc2
6920 builtin and then its argument prototype would still apply. */
6930 rm -f conftest.$ac_objext conftest$ac_exeext
6931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6932 (eval $ac_link) 2>conftest.er1
6934 grep -v '^ *+' conftest.er1 >conftest.err
6936 cat conftest.err >&5
6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938 (exit $ac_status); } &&
6939 { ac_try='test -z "$ac_c_werror_flag"
6940 || test ! -s conftest.err'
6941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6945 (exit $ac_status); }; } &&
6946 { ac_try='test -s conftest$ac_exeext'
6947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951 (exit $ac_status); }; }; then
6952 ac_cv_search_opendir="-l$ac_lib"
6955 echo "$as_me: failed program was:" >&5
6956 sed 's/^/| /' conftest.$ac_ext >&5
6959 rm -f conftest.err conftest.$ac_objext \
6960 conftest$ac_exeext conftest.$ac_ext
6963 LIBS=$ac_func_search_save_LIBS
6965 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6966 echo "${ECHO_T}$ac_cv_search_opendir" >&6
6967 if test "$ac_cv_search_opendir" != no; then
6968 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
6973 echo "$as_me:$LINENO: checking for library containing opendir" >&5
6974 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6975 if test "${ac_cv_search_opendir+set}" = set; then
6976 echo $ECHO_N "(cached) $ECHO_C" >&6
6978 ac_func_search_save_LIBS=$LIBS
6979 ac_cv_search_opendir=no
6980 cat >conftest.$ac_ext <<_ACEOF
6983 cat confdefs.h >>conftest.$ac_ext
6984 cat >>conftest.$ac_ext <<_ACEOF
6985 /* end confdefs.h. */
6987 /* Override any gcc2 internal prototype to avoid an error. */
6991 /* We use char because int might match the return type of a gcc2
6992 builtin and then its argument prototype would still apply. */
7002 rm -f conftest.$ac_objext conftest$ac_exeext
7003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7004 (eval $ac_link) 2>conftest.er1
7006 grep -v '^ *+' conftest.er1 >conftest.err
7008 cat conftest.err >&5
7009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010 (exit $ac_status); } &&
7011 { ac_try='test -z "$ac_c_werror_flag"
7012 || test ! -s conftest.err'
7013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); }; } &&
7018 { ac_try='test -s conftest$ac_exeext'
7019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); }; }; then
7024 ac_cv_search_opendir="none required"
7026 echo "$as_me: failed program was:" >&5
7027 sed 's/^/| /' conftest.$ac_ext >&5
7030 rm -f conftest.err conftest.$ac_objext \
7031 conftest$ac_exeext conftest.$ac_ext
7032 if test "$ac_cv_search_opendir" = no; then
7034 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7035 cat >conftest.$ac_ext <<_ACEOF
7038 cat confdefs.h >>conftest.$ac_ext
7039 cat >>conftest.$ac_ext <<_ACEOF
7040 /* end confdefs.h. */
7042 /* Override any gcc2 internal prototype to avoid an error. */
7046 /* We use char because int might match the return type of a gcc2
7047 builtin and then its argument prototype would still apply. */
7057 rm -f conftest.$ac_objext conftest$ac_exeext
7058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7059 (eval $ac_link) 2>conftest.er1
7061 grep -v '^ *+' conftest.er1 >conftest.err
7063 cat conftest.err >&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); } &&
7066 { ac_try='test -z "$ac_c_werror_flag"
7067 || test ! -s conftest.err'
7068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); }; } &&
7073 { ac_try='test -s conftest$ac_exeext'
7074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); }; }; then
7079 ac_cv_search_opendir="-l$ac_lib"
7082 echo "$as_me: failed program was:" >&5
7083 sed 's/^/| /' conftest.$ac_ext >&5
7086 rm -f conftest.err conftest.$ac_objext \
7087 conftest$ac_exeext conftest.$ac_ext
7090 LIBS=$ac_func_search_save_LIBS
7092 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
7093 echo "${ECHO_T}$ac_cv_search_opendir" >&6
7094 if test "$ac_cv_search_opendir" != no; then
7095 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
7109 for ac_func in strcasecmp select setenv putenv tcgetattr setlocale lstat lchown
7111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7112 echo "$as_me:$LINENO: checking for $ac_func" >&5
7113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7114 if eval "test \"\${$as_ac_var+set}\" = set"; then
7115 echo $ECHO_N "(cached) $ECHO_C" >&6
7117 cat >conftest.$ac_ext <<_ACEOF
7120 cat confdefs.h >>conftest.$ac_ext
7121 cat >>conftest.$ac_ext <<_ACEOF
7122 /* end confdefs.h. */
7123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7125 #define $ac_func innocuous_$ac_func
7127 /* System header to define __stub macros and hopefully few prototypes,
7128 which can conflict with char $ac_func (); below.
7129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7130 <limits.h> exists even on freestanding compilers. */
7133 # include <limits.h>
7135 # include <assert.h>
7140 /* Override any gcc2 internal prototype to avoid an error. */
7145 /* We use char because int might match the return type of a gcc2
7146 builtin and then its argument prototype would still apply. */
7148 /* The GNU C library defines this for functions which it implements
7149 to always fail with ENOSYS. Some functions are actually named
7150 something starting with __ and the normal name is an alias. */
7151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7154 char (*f) () = $ac_func;
7163 return f != $ac_func;
7168 rm -f conftest.$ac_objext conftest$ac_exeext
7169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7170 (eval $ac_link) 2>conftest.er1
7172 grep -v '^ *+' conftest.er1 >conftest.err
7174 cat conftest.err >&5
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); } &&
7177 { ac_try='test -z "$ac_c_werror_flag"
7178 || test ! -s conftest.err'
7179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7183 (exit $ac_status); }; } &&
7184 { ac_try='test -s conftest$ac_exeext'
7185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 (exit $ac_status); }; }; then
7190 eval "$as_ac_var=yes"
7192 echo "$as_me: failed program was:" >&5
7193 sed 's/^/| /' conftest.$ac_ext >&5
7195 eval "$as_ac_var=no"
7197 rm -f conftest.err conftest.$ac_objext \
7198 conftest$ac_exeext conftest.$ac_ext
7200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7202 if test `eval echo '${'$as_ac_var'}'` = yes; then
7203 cat >>confdefs.h <<_ACEOF
7204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7212 for ac_func in nanosleep nl_langinfo
7214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7215 echo "$as_me:$LINENO: checking for $ac_func" >&5
7216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7217 if eval "test \"\${$as_ac_var+set}\" = set"; then
7218 echo $ECHO_N "(cached) $ECHO_C" >&6
7220 cat >conftest.$ac_ext <<_ACEOF
7223 cat confdefs.h >>conftest.$ac_ext
7224 cat >>conftest.$ac_ext <<_ACEOF
7225 /* end confdefs.h. */
7226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7228 #define $ac_func innocuous_$ac_func
7230 /* System header to define __stub macros and hopefully few prototypes,
7231 which can conflict with char $ac_func (); below.
7232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7233 <limits.h> exists even on freestanding compilers. */
7236 # include <limits.h>
7238 # include <assert.h>
7243 /* Override any gcc2 internal prototype to avoid an error. */
7248 /* We use char because int might match the return type of a gcc2
7249 builtin and then its argument prototype would still apply. */
7251 /* The GNU C library defines this for functions which it implements
7252 to always fail with ENOSYS. Some functions are actually named
7253 something starting with __ and the normal name is an alias. */
7254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7257 char (*f) () = $ac_func;
7266 return f != $ac_func;
7271 rm -f conftest.$ac_objext conftest$ac_exeext
7272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7273 (eval $ac_link) 2>conftest.er1
7275 grep -v '^ *+' conftest.er1 >conftest.err
7277 cat conftest.err >&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); } &&
7280 { ac_try='test -z "$ac_c_werror_flag"
7281 || test ! -s conftest.err'
7282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7286 (exit $ac_status); }; } &&
7287 { ac_try='test -s conftest$ac_exeext'
7288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7292 (exit $ac_status); }; }; then
7293 eval "$as_ac_var=yes"
7295 echo "$as_me: failed program was:" >&5
7296 sed 's/^/| /' conftest.$ac_ext >&5
7298 eval "$as_ac_var=no"
7300 rm -f conftest.err conftest.$ac_objext \
7301 conftest$ac_exeext conftest.$ac_ext
7303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7305 if test `eval echo '${'$as_ac_var'}'` = yes; then
7306 cat >>confdefs.h <<_ACEOF
7307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7314 for ac_header in varargs.h
7316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7318 echo "$as_me:$LINENO: checking for $ac_header" >&5
7319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7321 echo $ECHO_N "(cached) $ECHO_C" >&6
7323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7326 # Is the header compilable?
7327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7329 cat >conftest.$ac_ext <<_ACEOF
7332 cat confdefs.h >>conftest.$ac_ext
7333 cat >>conftest.$ac_ext <<_ACEOF
7334 /* end confdefs.h. */
7335 $ac_includes_default
7336 #include <$ac_header>
7338 rm -f conftest.$ac_objext
7339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7340 (eval $ac_compile) 2>conftest.er1
7342 grep -v '^ *+' conftest.er1 >conftest.err
7344 cat conftest.err >&5
7345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346 (exit $ac_status); } &&
7347 { ac_try='test -z "$ac_c_werror_flag"
7348 || test ! -s conftest.err'
7349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7353 (exit $ac_status); }; } &&
7354 { ac_try='test -s conftest.$ac_objext'
7355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359 (exit $ac_status); }; }; then
7360 ac_header_compiler=yes
7362 echo "$as_me: failed program was:" >&5
7363 sed 's/^/| /' conftest.$ac_ext >&5
7365 ac_header_compiler=no
7367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7369 echo "${ECHO_T}$ac_header_compiler" >&6
7371 # Is the header present?
7372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7374 cat >conftest.$ac_ext <<_ACEOF
7377 cat confdefs.h >>conftest.$ac_ext
7378 cat >>conftest.$ac_ext <<_ACEOF
7379 /* end confdefs.h. */
7380 #include <$ac_header>
7382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7383 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7385 grep -v '^ *+' conftest.er1 >conftest.err
7387 cat conftest.err >&5
7388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7389 (exit $ac_status); } >/dev/null; then
7390 if test -s conftest.err; then
7391 ac_cpp_err=$ac_c_preproc_warn_flag
7392 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7399 if test -z "$ac_cpp_err"; then
7400 ac_header_preproc=yes
7402 echo "$as_me: failed program was:" >&5
7403 sed 's/^/| /' conftest.$ac_ext >&5
7405 ac_header_preproc=no
7407 rm -f conftest.err conftest.$ac_ext
7408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7409 echo "${ECHO_T}$ac_header_preproc" >&6
7411 # So? What about this header?
7412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7414 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7417 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7418 ac_header_preproc=yes
7421 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7423 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7424 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7425 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7426 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7427 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7428 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7431 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7432 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7435 ## ------------------------------------------ ##
7436 ## Report this to the AC_PACKAGE_NAME lists. ##
7437 ## ------------------------------------------ ##
7440 sed "s/^/$as_me: WARNING: /" >&2
7443 echo "$as_me:$LINENO: checking for $ac_header" >&5
7444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7446 echo $ECHO_N "(cached) $ECHO_C" >&6
7448 eval "$as_ac_Header=\$ac_header_preproc"
7450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7455 cat >>confdefs.h <<_ACEOF
7456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7464 # End of readline/conio stuff
7465 # -----------------------------------------------------------------------
7467 # -----------------------------------------------------------------------
7468 # Check for Python support
7470 echo "$as_me:$LINENO: checking for Python support" >&5
7471 echo $ECHO_N "checking for Python support... $ECHO_C" >&6
7473 # Check whether --with-python or --without-python was given.
7474 if test "${with_python+set}" = set; then
7475 withval="$with_python"
7479 if test "$withval" != "no"; then
7480 if test "$withval" = "yes"; then
7481 if test -f /usr/include/python2.2/Python.h; then
7482 PYTHON_INCDIR=-I/usr/include/python2.2
7483 PYTHON_LIBS="-L/usr/lib/python2.2/config -lpython2.2 -lutil -ldl"
7484 elif test -f /usr/include/python2.3/Python.h; then
7485 PYTHON_INCDIR=-I/usr/include/python2.3
7486 PYTHON_LIBS="-L/usr/lib/python2.3/config -lpython2.3 -lutil -ldl"
7487 elif test -f /usr/include/python2.4/Python.h; then
7488 PYTHON_INCDIR=-I/usr/include/python2.4
7489 PYTHON_LIBS="-L/usr/lib/python2.4/config -lpython2.4 -lutil -ldl"
7490 elif test -f $prefix/include/Python.h; then
7491 PYTHON_INCDIR=-I$prefix/include
7492 PYTHON_LIBS="-L$prefix/lib/config -lpython -lutil -ldl"
7494 echo "$as_me:$LINENO: result: no" >&5
7495 echo "${ECHO_T}no" >&6
7496 { { echo "$as_me:$LINENO: error: Unable to find Python.h in standard locations" >&5
7497 echo "$as_me: error: Unable to find Python.h in standard locations" >&2;}
7498 { (exit 1); exit 1; }; }
7501 if test -f $withval/Python.h; then
7502 PYTHON_INCDIR=-I$withval
7503 PYTHON_LIBS="-L$withval/config -lpython -lutil -ldl"
7504 elif test -f $withval/include/Python.h; then
7505 PYTHON_INCDIR=-I$withval/include
7506 PYTHON_LIBS="-L$withval/lib/config -lpython -lutil -ldl"
7508 echo "$as_me:$LINENO: result: no" >&5
7509 echo "${ECHO_T}no" >&6
7510 { { echo "$as_me:$LINENO: error: Invalid Python directory $withval - unable to find Python.h under $withval" >&5
7511 echo "$as_me: error: Invalid Python directory $withval - unable to find Python.h under $withval" >&2;}
7512 { (exit 1); exit 1; }; }
7515 cat >>confdefs.h <<\_ACEOF
7516 #define HAVE_PYTHON 1
7519 echo "$as_me:$LINENO: result: yes" >&5
7520 echo "${ECHO_T}yes" >&6
7524 echo "$as_me:$LINENO: result: no" >&5
7525 echo "${ECHO_T}no" >&6
7530 echo "$as_me:$LINENO: result: no" >&5
7531 echo "${ECHO_T}no" >&6
7539 # Find where sockets are (especially for Solaris)
7540 # Do this before the TCP Wrappers test since tcp wrappers
7541 # uses the socket library and some linkers are stupid.
7543 echo "$as_me:$LINENO: checking for socket" >&5
7544 echo $ECHO_N "checking for socket... $ECHO_C" >&6
7545 if test "${ac_cv_func_socket+set}" = set; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7548 cat >conftest.$ac_ext <<_ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
7555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7556 #define socket innocuous_socket
7558 /* System header to define __stub macros and hopefully few prototypes,
7559 which can conflict with char socket (); below.
7560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7561 <limits.h> exists even on freestanding compilers. */
7564 # include <limits.h>
7566 # include <assert.h>
7571 /* Override any gcc2 internal prototype to avoid an error. */
7576 /* We use char because int might match the return type of a gcc2
7577 builtin and then its argument prototype would still apply. */
7579 /* The GNU C library defines this for functions which it implements
7580 to always fail with ENOSYS. Some functions are actually named
7581 something starting with __ and the normal name is an alias. */
7582 #if defined (__stub_socket) || defined (__stub___socket)
7585 char (*f) () = socket;
7599 rm -f conftest.$ac_objext conftest$ac_exeext
7600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7601 (eval $ac_link) 2>conftest.er1
7603 grep -v '^ *+' conftest.er1 >conftest.err
7605 cat conftest.err >&5
7606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); } &&
7608 { ac_try='test -z "$ac_c_werror_flag"
7609 || test ! -s conftest.err'
7610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7614 (exit $ac_status); }; } &&
7615 { ac_try='test -s conftest$ac_exeext'
7616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); }; }; then
7621 ac_cv_func_socket=yes
7623 echo "$as_me: failed program was:" >&5
7624 sed 's/^/| /' conftest.$ac_ext >&5
7626 ac_cv_func_socket=no
7628 rm -f conftest.err conftest.$ac_objext \
7629 conftest$ac_exeext conftest.$ac_ext
7631 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
7632 echo "${ECHO_T}$ac_cv_func_socket" >&6
7633 if test $ac_cv_func_socket = yes; then
7634 echo "$as_me:$LINENO: result: using libc's socket" >&5
7635 echo "${ECHO_T}using libc's socket" >&6
7638 echo "$as_me:$LINENO: checking for socket in -lxnet" >&5
7639 echo $ECHO_N "checking for socket in -lxnet... $ECHO_C" >&6
7640 if test "${ac_cv_lib_xnet_socket+set}" = set; then
7641 echo $ECHO_N "(cached) $ECHO_C" >&6
7643 ac_check_lib_save_LIBS=$LIBS
7645 cat >conftest.$ac_ext <<_ACEOF
7648 cat confdefs.h >>conftest.$ac_ext
7649 cat >>conftest.$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7652 /* Override any gcc2 internal prototype to avoid an error. */
7656 /* We use char because int might match the return type of a gcc2
7657 builtin and then its argument prototype would still apply. */
7667 rm -f conftest.$ac_objext conftest$ac_exeext
7668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7669 (eval $ac_link) 2>conftest.er1
7671 grep -v '^ *+' conftest.er1 >conftest.err
7673 cat conftest.err >&5
7674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7675 (exit $ac_status); } &&
7676 { ac_try='test -z "$ac_c_werror_flag"
7677 || test ! -s conftest.err'
7678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682 (exit $ac_status); }; } &&
7683 { ac_try='test -s conftest$ac_exeext'
7684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7688 (exit $ac_status); }; }; then
7689 ac_cv_lib_xnet_socket=yes
7691 echo "$as_me: failed program was:" >&5
7692 sed 's/^/| /' conftest.$ac_ext >&5
7694 ac_cv_lib_xnet_socket=no
7696 rm -f conftest.err conftest.$ac_objext \
7697 conftest$ac_exeext conftest.$ac_ext
7698 LIBS=$ac_check_lib_save_LIBS
7700 echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_socket" >&5
7701 echo "${ECHO_T}$ac_cv_lib_xnet_socket" >&6
7702 if test $ac_cv_lib_xnet_socket = yes; then
7703 cat >>confdefs.h <<_ACEOF
7704 #define HAVE_LIBXNET 1
7712 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
7713 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
7714 if test "${ac_cv_lib_socket_socket+set}" = set; then
7715 echo $ECHO_N "(cached) $ECHO_C" >&6
7717 ac_check_lib_save_LIBS=$LIBS
7718 LIBS="-lsocket $LIBS"
7719 cat >conftest.$ac_ext <<_ACEOF
7722 cat confdefs.h >>conftest.$ac_ext
7723 cat >>conftest.$ac_ext <<_ACEOF
7724 /* end confdefs.h. */
7726 /* Override any gcc2 internal prototype to avoid an error. */
7730 /* We use char because int might match the return type of a gcc2
7731 builtin and then its argument prototype would still apply. */
7741 rm -f conftest.$ac_objext conftest$ac_exeext
7742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7743 (eval $ac_link) 2>conftest.er1
7745 grep -v '^ *+' conftest.er1 >conftest.err
7747 cat conftest.err >&5
7748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7749 (exit $ac_status); } &&
7750 { ac_try='test -z "$ac_c_werror_flag"
7751 || test ! -s conftest.err'
7752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); }; } &&
7757 { ac_try='test -s conftest$ac_exeext'
7758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7762 (exit $ac_status); }; }; then
7763 ac_cv_lib_socket_socket=yes
7765 echo "$as_me: failed program was:" >&5
7766 sed 's/^/| /' conftest.$ac_ext >&5
7768 ac_cv_lib_socket_socket=no
7770 rm -f conftest.err conftest.$ac_objext \
7771 conftest$ac_exeext conftest.$ac_ext
7772 LIBS=$ac_check_lib_save_LIBS
7774 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
7775 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
7776 if test $ac_cv_lib_socket_socket = yes; then
7777 cat >>confdefs.h <<_ACEOF
7778 #define HAVE_LIBSOCKET 1
7781 LIBS="-lsocket $LIBS"
7786 echo "$as_me:$LINENO: checking for socket in -linet" >&5
7787 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6
7788 if test "${ac_cv_lib_inet_socket+set}" = set; then
7789 echo $ECHO_N "(cached) $ECHO_C" >&6
7791 ac_check_lib_save_LIBS=$LIBS
7793 cat >conftest.$ac_ext <<_ACEOF
7796 cat confdefs.h >>conftest.$ac_ext
7797 cat >>conftest.$ac_ext <<_ACEOF
7798 /* end confdefs.h. */
7800 /* Override any gcc2 internal prototype to avoid an error. */
7804 /* We use char because int might match the return type of a gcc2
7805 builtin and then its argument prototype would still apply. */
7815 rm -f conftest.$ac_objext conftest$ac_exeext
7816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7817 (eval $ac_link) 2>conftest.er1
7819 grep -v '^ *+' conftest.er1 >conftest.err
7821 cat conftest.err >&5
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); } &&
7824 { ac_try='test -z "$ac_c_werror_flag"
7825 || test ! -s conftest.err'
7826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }; } &&
7831 { ac_try='test -s conftest$ac_exeext'
7832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); }; }; then
7837 ac_cv_lib_inet_socket=yes
7839 echo "$as_me: failed program was:" >&5
7840 sed 's/^/| /' conftest.$ac_ext >&5
7842 ac_cv_lib_inet_socket=no
7844 rm -f conftest.err conftest.$ac_objext \
7845 conftest$ac_exeext conftest.$ac_ext
7846 LIBS=$ac_check_lib_save_LIBS
7848 echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5
7849 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6
7850 if test $ac_cv_lib_inet_socket = yes; then
7851 cat >>confdefs.h <<_ACEOF
7852 #define HAVE_LIBINET 1
7863 # -----------------------------------------------------------
7864 # Check whether user wants TCP wrappers support (default off)
7865 # -----------------------------------------------------------
7868 # Check whether --with-tcp-wrappers or --without-tcp-wrappers was given.
7869 if test "${with_tcp_wrappers+set}" = set; then
7870 withval="$with_tcp_wrappers"
7872 if test "x$withval" != "xno" ; then
7874 LIBS="$saved_LIBS -lwrap"
7875 echo "$as_me:$LINENO: checking for libwrap" >&5
7876 echo $ECHO_N "checking for libwrap... $ECHO_C" >&6
7877 cat >conftest.$ac_ext <<_ACEOF
7880 cat confdefs.h >>conftest.$ac_ext
7881 cat >>conftest.$ac_ext <<_ACEOF
7882 /* end confdefs.h. */
7884 int deny_severity = 0;
7885 int allow_severity = 0;
7886 struct request_info *req;
7895 rm -f conftest.$ac_objext conftest$ac_exeext
7896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7897 (eval $ac_link) 2>conftest.er1
7899 grep -v '^ *+' conftest.er1 >conftest.err
7901 cat conftest.err >&5
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); } &&
7904 { ac_try='test -z "$ac_c_werror_flag"
7905 || test ! -s conftest.err'
7906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 (exit $ac_status); }; } &&
7911 { ac_try='test -s conftest$ac_exeext'
7912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 (exit $ac_status); }; }; then
7918 echo "$as_me:$LINENO: result: yes" >&5
7919 echo "${ECHO_T}yes" >&6
7920 cat >>confdefs.h <<\_ACEOF
7921 #define HAVE_LIBWRAP 1
7927 echo "$as_me: failed program was:" >&5
7928 sed 's/^/| /' conftest.$ac_ext >&5
7931 LIBS="$saved_LIBS -lwrap -lnsl"
7932 cat >conftest.$ac_ext <<_ACEOF
7935 cat confdefs.h >>conftest.$ac_ext
7936 cat >>conftest.$ac_ext <<_ACEOF
7937 /* end confdefs.h. */
7939 int deny_severity = 0;
7940 int allow_severity = 0;
7941 struct request_info *req;
7950 rm -f conftest.$ac_objext conftest$ac_exeext
7951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7952 (eval $ac_link) 2>conftest.er1
7954 grep -v '^ *+' conftest.er1 >conftest.err
7956 cat conftest.err >&5
7957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7958 (exit $ac_status); } &&
7959 { ac_try='test -z "$ac_c_werror_flag"
7960 || test ! -s conftest.err'
7961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); }; } &&
7966 { ac_try='test -s conftest$ac_exeext'
7967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7971 (exit $ac_status); }; }; then
7973 echo "$as_me:$LINENO: result: yes" >&5
7974 echo "${ECHO_T}yes" >&6
7975 cat >>confdefs.h <<\_ACEOF
7976 #define HAVE_LIBWRAP 1
7982 echo "$as_me: failed program was:" >&5
7983 sed 's/^/| /' conftest.$ac_ext >&5
7985 { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5
7986 echo "$as_me: error: *** libwrap missing" >&2;}
7987 { (exit 1); exit 1; }; }
7990 rm -f conftest.err conftest.$ac_objext \
7991 conftest$ac_exeext conftest.$ac_ext
7994 rm -f conftest.err conftest.$ac_objext \
7995 conftest$ac_exeext conftest.$ac_ext
8001 # ------------------------------------------
8002 # Where to place working dir
8003 # ------------------------------------------
8004 working_dir=`eval echo ${prefix}/var/bacula/working`
8006 # Check whether --with-working-dir or --without-working-dir was given.
8007 if test "${with_working_dir+set}" = set; then
8008 withval="$with_working_dir"
8010 if test "x$withval" != "xno" ; then
8011 working_dir=$withval
8020 # ------------------------------------------
8021 # Where to place scriptdir (script files)
8022 # ------------------------------------------
8023 scriptdir=`eval echo ${sysconfdir}`
8025 # Check whether --with-scriptdir or --without-scriptdir was given.
8026 if test "${with_scriptdir+set}" = set; then
8027 withval="$with_scriptdir"
8029 if test "x$withval" != "xno" ; then
8039 # ------------------------------------------
8040 # Where to send dump email
8041 # ------------------------------------------
8042 dump_email=root@localhost
8044 # Check whether --with-dump-email or --without-dump-email was given.
8045 if test "${with_dump_email+set}" = set; then
8046 withval="$with_dump_email"
8048 if test "x$withval" != "xno" ; then
8057 # ------------------------------------------
8058 # Where to send job email
8059 # ------------------------------------------
8060 job_email=root@localhost
8062 # Check whether --with-job-email or --without-job-email was given.
8063 if test "${with_job_email+set}" = set; then
8064 withval="$with_job_email"
8066 if test "x$withval" != "xno" ; then
8075 # ------------------------------------------
8076 # Where to find smtp host
8077 # ------------------------------------------
8080 # Check whether --with-smtp_host or --without-smtp_host was given.
8081 if test "${with_smtp_host+set}" = set; then
8082 withval="$with_smtp_host"
8084 if test "x$withval" != "xno" ; then
8094 # ------------------------------------
8095 # Where to place pid files
8096 # ------------------------------------
8099 # Check whether --with-pid-dir or --without-pid-dir was given.
8100 if test "${with_pid_dir+set}" = set; then
8101 withval="$with_pid_dir"
8103 if test "x$withval" != "xno" ; then
8110 cat >>confdefs.h <<_ACEOF
8111 #define _PATH_BACULA_PIDDIR "$piddir"
8117 # ------------------------------------
8118 # Where to place subsys "lock file"
8119 # ------------------------------------
8120 subsysdir=/var/run/subsys
8122 # Check whether --with-subsys-dir or --without-subsys-dir was given.
8123 if test "${with_subsys_dir+set}" = set; then
8124 withval="$with_subsys_dir"
8126 if test "x$withval" != "xno" ; then
8137 # ------------------------------------
8138 # Where to start assigning ports
8139 # ------------------------------------
8142 # Check whether --with-baseport or --without-baseport was given.
8143 if test "${with_baseport+set}" = set; then
8144 withval="$with_baseport"
8146 if test "x$withval" != "xno" ; then
8154 dir_port=`expr $baseport`
8155 fd_port=`expr $baseport + 1`
8156 sd_port=`expr $fd_port + 1`
8163 # ------------------------------------------
8164 # Generate passwords
8165 # ------------------------------------------
8168 # Check whether --with-dir-password or --without-dir-password was given.
8169 if test "${with_dir_password+set}" = set; then
8170 withval="$with_dir_password"
8172 if test "x$withval" != "xno" ; then
8173 dir_password=$withval
8179 if test "x$dir_password" = "x" ; then
8180 if test "x$OPENSSL" = "xnone" ; then
8181 # key=`date | uuencode /dev/stdout | tr "\"@\\\`\\ \\=\\,\\(\\)\\#\\.\\!\\-$'" abcdefghijklmnopqrst | awk '{getline} {print} {exit}'`
8182 key=`autoconf/randpass 33`
8184 key=`openssl rand -base64 33`
8191 # Check whether --with-fd-password or --without-fd-password was given.
8192 if test "${with_fd_password+set}" = set; then
8193 withval="$with_fd_password"
8195 if test "x$withval" != "xno" ; then
8196 fd_password=$withval
8202 if test "x$fd_password" = "x" ; then
8203 if test "x$OPENSSL" = "xnone" ; then
8204 # key=`date | uuencode /dev/stdout | tr "\"@\\\`\\ \\=\\,\\(\\)\\#\\.\\!\\-$'" tsrqponmlkjihgfedcba | awk '{getline} {print} {exit}'`
8205 key=`autoconf/randpass 37`
8207 key=`openssl rand -base64 33`
8214 # Check whether --with-sd-password or --without-sd-password was given.
8215 if test "${with_sd_password+set}" = set; then
8216 withval="$with_sd_password"
8218 if test "x$withval" != "xno" ; then
8219 sd_password=$withval
8225 if test "x$sd_password" = "x" ; then
8226 if test "x$OPENSSL" = "xnone" ; then
8227 # key=`date | uuencode /dev/stdout | tr "\"@\\\`\\ \\=\\,\\(\\)\\#\\.\\!\\-$'" 123456789uvwxyzabcdef | awk '{getline} {print} {exit}'`
8228 key=`autoconf/randpass 41`
8230 key=`openssl rand -base64 33`
8237 # Check whether --with-mon-dir-password or --without-mon-dir-password was given.
8238 if test "${with_mon_dir_password+set}" = set; then
8239 withval="$with_mon_dir_password"
8241 if test "x$withval" != "xno" ; then
8242 mon_dir_password=$withval
8248 if test "x$mon_dir_password" = "x" ; then
8249 if test "x$OPENSSL" = "xnone" ; then
8250 # key=`date | uuencode /dev/stdout | tr "\"@\\\`\\ \\=\\,\\(\\)\\#\\.\\!\\-$'" abcdefghijklmnopqrst | awk '{getline} {print} {exit}'`
8251 key=`autoconf/randpass 33`
8253 key=`openssl rand -base64 33`
8255 mon_dir_password=$key
8260 # Check whether --with-mon-fd-password or --without-mon-fd-password was given.
8261 if test "${with_mon_fd_password+set}" = set; then
8262 withval="$with_mon_fd_password"
8264 if test "x$withval" != "xno" ; then
8265 mon_fd_password=$withval
8271 if test "x$mon_fd_password" = "x" ; then
8272 if test "x$OPENSSL" = "xnone" ; then
8273 # key=`date | uuencode /dev/stdout | tr "\"@\\\`\\ \\=\\,\\(\\)\\#\\.\\!\\-$'" tsrqponmlkjihgfedcba | awk '{getline} {print} {exit}'`
8274 key=`autoconf/randpass 37`
8276 key=`openssl rand -base64 33`
8278 mon_fd_password=$key
8283 # Check whether --with-mon-sd-password or --without-mon-sd-password was given.
8284 if test "${with_mon_sd_password+set}" = set; then
8285 withval="$with_mon_sd_password"
8287 if test "x$withval" != "xno" ; then
8288 mon_sd_password=$withval
8294 if test "x$mon_sd_password" = "x" ; then
8295 if test "x$OPENSSL" = "xnone" ; then
8296 # key=`date | uuencode /dev/stdout | tr "\"@\\\`\\ \\=\\,\\(\\)\\#\\.\\!\\-$'" 123456789uvwxyzabcdef | awk '{getline} {print} {exit}'`
8297 key=`autoconf/randpass 41`
8299 key=`openssl rand -base64 33`
8301 mon_sd_password=$key
8311 # -------------------------------------------------------------------------
8312 # Set variables for bimagemgr installation
8313 # -------------------------------------------------------------------------
8314 bimagemgr_cgidir=/var/www/cgi-bin
8316 # Check whether --with-bimagemgr-cgidir or --without-bimagemgr-cgidir was given.
8317 if test "${with_bimagemgr_cgidir+set}" = set; then
8318 withval="$with_bimagemgr_cgidir"
8320 if test "x$withval" != "xno" ; then
8321 bimagemgr_cgidir=$withval
8327 bimagemgr_docdir=/var/www/html
8329 # Check whether --with-bimagemgr-docdir or --without-bimagemgr-docdir was given.
8330 if test "${with_bimagemgr_docdir+set}" = set; then
8331 withval="$with_bimagemgr_docdir"
8333 if test "x$withval" != "xno" ; then
8334 bimagemgr_docdir=$withval
8340 bimagemgr_binowner=root
8342 # Check whether --with-bimagemgr-binowner or --without-bimagemgr-binowner was given.
8343 if test "${with_bimagemgr_binowner+set}" = set; then
8344 withval="$with_bimagemgr_binowner"
8346 if test "x$withval" != "xno" ; then
8347 bimagemgr_binowner=$withval
8353 bimagemgr_bingroup=root
8355 # Check whether --with-bimagemgr-bingroup or --without-bimagemgr-bingroup was given.
8356 if test "${with_bimagemgr_bingroup+set}" = set; then
8357 withval="$with_bimagemgr_bingroup"
8359 if test "x$withval" != "xno" ; then
8360 bimagemgr_bingroup=$withval
8366 bimagemgr_dataowner=apache
8368 # Check whether --with-bimagemgr-dataowner or --without-bimagemgr-dataowner was given.
8369 if test "${with_bimagemgr_dataowner+set}" = set; then
8370 withval="$with_bimagemgr_dataowner"
8372 if test "x$withval" != "xno" ; then
8373 bimagemgr_dataowner=$withval
8379 bimagemgr_datagroup=apache
8381 # Check whether --with-bimagemgr-datagroup or --without-bimagemgr-datagroup was given.
8382 if test "${with_bimagemgr_datagroup+set}" = set; then
8383 withval="$with_bimagemgr_datagroup"
8385 if test "x$withval" != "xno" ; then
8386 bimagemgr_datagroup=$withval
8400 # Handle users and groups for each daemon
8404 # Check whether --with-dir_user or --without-dir_user was given.
8405 if test "${with_dir_user+set}" = set; then
8406 withval="$with_dir_user"
8408 if test "x$withval" != "x" ; then
8417 # Check whether --with-dir_group or --without-dir_group was given.
8418 if test "${with_dir_group+set}" = set; then
8419 withval="$with_dir_group"
8421 if test "x$withval" != "x" ; then
8430 # Check whether --with-sd_user or --without-sd_user was given.
8431 if test "${with_sd_user+set}" = set; then
8432 withval="$with_sd_user"
8434 if test "x$withval" != "x" ; then
8443 # Check whether --with-sd_group or --without-sd_group was given.
8444 if test "${with_sd_group+set}" = set; then
8445 withval="$with_sd_group"
8447 if test "x$withval" != "x" ; then
8456 # Check whether --with-fd_user or --without-fd_user was given.
8457 if test "${with_fd_user+set}" = set; then
8458 withval="$with_fd_user"
8460 if test "x$withval" != "x" ; then
8469 # Check whether --with-fd_group or --without-fd_group was given.
8470 if test "${with_fd_group+set}" = set; then
8471 withval="$with_fd_group"
8473 if test "x$withval" != "x" ; then
8491 # allow setting default executable permissions
8495 # Check whether --with-sbin-perm or --without-sbin-perm was given.
8496 if test "${with_sbin_perm+set}" = set; then
8497 withval="$with_sbin_perm"
8499 if test "x$withval" != "x" ; then
8508 # ------------------------------------------------
8509 # Bacula check for various SQL database engines
8510 # ------------------------------------------------
8513 echo "$as_me:$LINENO: checking for PostgreSQL support" >&5
8514 echo $ECHO_N "checking for PostgreSQL support... $ECHO_C" >&6
8516 # Check whether --with-postgresql or --without-postgresql was given.
8517 if test "${with_postgresql+set}" = set; then
8518 withval="$with_postgresql"
8520 if test "$withval" != "no"; then
8521 if test "$db_found" = "yes"; then
8522 echo "$as_me:$LINENO: result: error" >&5
8523 echo "${ECHO_T}error" >&6
8524 { { echo "$as_me:$LINENO: error: \"You can configure for only one database.\"" >&5
8525 echo "$as_me: error: \"You can configure for only one database.\"" >&2;}
8526 { (exit 1); exit 1; }; };
8528 if test "$withval" = "yes"; then
8529 if test -f /usr/local/include/libpq-fe.h; then
8530 POSTGRESQL_INCDIR=/usr/local/include
8531 POSTGRESQL_LIBDIR=/usr/local/lib
8532 POSTGRESQL_BINDIR=/usr/local/bin
8533 elif test -f /usr/include/libpq-fe.h; then
8534 POSTGRESQL_INCDIR=/usr/include
8535 POSTGRESQL_LIBDIR=/usr/lib
8536 POSTGRESQL_BINDIR=/usr/bin
8537 elif test -f /usr/include/pgsql/libpq-fe.h; then
8538 POSTGRESQL_INCDIR=/usr/include/pgsql
8539 POSTGRESQL_LIBDIR=/usr/lib/pgsql
8540 POSTGRESQL_BINDIR=/usr/bin
8541 elif test -f /usr/include/postgresql/libpq-fe.h; then
8542 POSTGRESQL_INCDIR=/usr/include/postgresql
8543 POSTGRESQL_LIBDIR=/usr/lib/postgresql
8544 POSTGRESQL_BINDIR=/usr/bin
8546 echo "$as_me:$LINENO: result: no" >&5
8547 echo "${ECHO_T}no" >&6
8548 { { echo "$as_me:$LINENO: error: Unable to find libpq-fe.h in standard locations" >&5
8549 echo "$as_me: error: Unable to find libpq-fe.h in standard locations" >&2;}
8550 { (exit 1); exit 1; }; }
8552 elif test -f $withval/include/libpq-fe.h; then
8553 POSTGRESQL_INCDIR=$withval/include
8554 POSTGRESQL_LIBDIR=$withval/lib
8555 POSTGRESQL_BINDIR=$withval/bin
8556 elif test -f $withval/include/postgresql/libpq-fe.h; then
8557 POSTGRESQL_INCDIR=$withval/include/postgresql
8558 POSTGRESQL_LIBDIR=$withval/lib
8559 POSTGRESQL_BINDIR=$withval/bin
8561 echo "$as_me:$LINENO: result: no" >&5
8562 echo "${ECHO_T}no" >&6
8563 { { echo "$as_me:$LINENO: error: Invalid PostgreSQL directory $withval - unable to find libpq-fe.h under $withval" >&5
8564 echo "$as_me: error: Invalid PostgreSQL directory $withval - unable to find libpq-fe.h under $withval" >&2;}
8565 { (exit 1); exit 1; }; }
8567 POSTGRESQL_LFLAGS="-L$POSTGRESQL_LIBDIR -lpq"
8568 echo "$as_me:$LINENO: checking for crypt" >&5
8569 echo $ECHO_N "checking for crypt... $ECHO_C" >&6
8570 if test "${ac_cv_func_crypt+set}" = set; then
8571 echo $ECHO_N "(cached) $ECHO_C" >&6
8573 cat >conftest.$ac_ext <<_ACEOF
8576 cat confdefs.h >>conftest.$ac_ext
8577 cat >>conftest.$ac_ext <<_ACEOF
8578 /* end confdefs.h. */
8579 /* Define crypt to an innocuous variant, in case <limits.h> declares crypt.
8580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8581 #define crypt innocuous_crypt
8583 /* System header to define __stub macros and hopefully few prototypes,
8584 which can conflict with char crypt (); below.
8585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8586 <limits.h> exists even on freestanding compilers. */
8589 # include <limits.h>
8591 # include <assert.h>
8596 /* Override any gcc2 internal prototype to avoid an error. */
8601 /* We use char because int might match the return type of a gcc2
8602 builtin and then its argument prototype would still apply. */
8604 /* The GNU C library defines this for functions which it implements
8605 to always fail with ENOSYS. Some functions are actually named
8606 something starting with __ and the normal name is an alias. */
8607 #if defined (__stub_crypt) || defined (__stub___crypt)
8610 char (*f) () = crypt;
8624 rm -f conftest.$ac_objext conftest$ac_exeext
8625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8626 (eval $ac_link) 2>conftest.er1
8628 grep -v '^ *+' conftest.er1 >conftest.err
8630 cat conftest.err >&5
8631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8632 (exit $ac_status); } &&
8633 { ac_try='test -z "$ac_c_werror_flag"
8634 || test ! -s conftest.err'
8635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639 (exit $ac_status); }; } &&
8640 { ac_try='test -s conftest$ac_exeext'
8641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 (exit $ac_status); }; }; then
8646 ac_cv_func_crypt=yes
8648 echo "$as_me: failed program was:" >&5
8649 sed 's/^/| /' conftest.$ac_ext >&5
8653 rm -f conftest.err conftest.$ac_objext \
8654 conftest$ac_exeext conftest.$ac_ext
8656 echo "$as_me:$LINENO: result: $ac_cv_func_crypt" >&5
8657 echo "${ECHO_T}$ac_cv_func_crypt" >&6
8658 if test $ac_cv_func_crypt = yes; then
8661 echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
8662 echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
8663 if test "${ac_cv_lib_crypt_crypt+set}" = set; then
8664 echo $ECHO_N "(cached) $ECHO_C" >&6
8666 ac_check_lib_save_LIBS=$LIBS
8667 LIBS="-lcrypt $LIBS"
8668 cat >conftest.$ac_ext <<_ACEOF
8671 cat confdefs.h >>conftest.$ac_ext
8672 cat >>conftest.$ac_ext <<_ACEOF
8673 /* end confdefs.h. */
8675 /* Override any gcc2 internal prototype to avoid an error. */
8679 /* We use char because int might match the return type of a gcc2
8680 builtin and then its argument prototype would still apply. */
8690 rm -f conftest.$ac_objext conftest$ac_exeext
8691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8692 (eval $ac_link) 2>conftest.er1
8694 grep -v '^ *+' conftest.er1 >conftest.err
8696 cat conftest.err >&5
8697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698 (exit $ac_status); } &&
8699 { ac_try='test -z "$ac_c_werror_flag"
8700 || test ! -s conftest.err'
8701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8705 (exit $ac_status); }; } &&
8706 { ac_try='test -s conftest$ac_exeext'
8707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8711 (exit $ac_status); }; }; then
8712 ac_cv_lib_crypt_crypt=yes
8714 echo "$as_me: failed program was:" >&5
8715 sed 's/^/| /' conftest.$ac_ext >&5
8717 ac_cv_lib_crypt_crypt=no
8719 rm -f conftest.err conftest.$ac_objext \
8720 conftest$ac_exeext conftest.$ac_ext
8721 LIBS=$ac_check_lib_save_LIBS
8723 echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
8724 echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
8725 if test $ac_cv_lib_crypt_crypt = yes; then
8726 POSTGRESQL_LFLAGS="-lcrypt $POSTGRESQL_LFLAGS"
8731 SQL_INCLUDE=-I$POSTGRESQL_INCDIR
8732 SQL_LFLAGS=$POSTGRESQL_LFLAGS
8733 SQL_BINDIR=$POSTGRESQL_BINDIR
8734 cat >>confdefs.h <<\_ACEOF
8735 #define HAVE_POSTGRESQL 1
8738 echo "$as_me:$LINENO: result: yes" >&5
8739 echo "${ECHO_T}yes" >&6
8741 support_postgresql=yes
8745 echo "$as_me:$LINENO: result: no" >&5
8746 echo "${ECHO_T}no" >&6
8751 echo "$as_me:$LINENO: result: no" >&5
8752 echo "${ECHO_T}no" >&6
8763 echo "$as_me:$LINENO: checking for MySQL support" >&5
8764 echo $ECHO_N "checking for MySQL support... $ECHO_C" >&6
8766 # Check whether --with-mysql or --without-mysql was given.
8767 if test "${with_mysql+set}" = set; then
8768 withval="$with_mysql"
8770 if test "$withval" != "no"; then
8771 if test "$withval" = "yes"; then
8772 if test -f /usr/local/mysql/include/mysql/mysql.h; then
8773 MYSQL_INCDIR=/usr/local/mysql/include/mysql
8774 MYSQL_LIBDIR=/usr/local/mysql/lib/mysql
8775 MYSQL_BINDIR=/usr/local/mysql/bin
8776 elif test -f /usr/include/mysql/mysql.h; then
8777 MYSQL_INCDIR=/usr/include/mysql
8778 MYSQL_LIBDIR=/usr/lib/mysql
8779 MYSQL_BINDIR=/usr/bin
8780 elif test -f /usr/include/mysql.h; then
8781 MYSQL_INCDIR=/usr/include
8782 MYSQL_LIBDIR=/usr/lib
8783 MYSQL_BINDIR=/usr/bin
8784 elif test -f /usr/local/include/mysql/mysql.h; then
8785 MYSQL_INCDIR=/usr/local/include/mysql
8786 MYSQL_LIBDIR=/usr/local/lib/mysql
8787 MYSQL_BINDIR=/usr/local/bin
8788 elif test -f /usr/local/include/mysql.h; then
8789 MYSQL_INCDIR=/usr/local/include
8790 MYSQL_LIBDIR=/usr/local/lib
8791 MYSQL_BINDIR=/usr/local/bin
8793 echo "$as_me:$LINENO: result: no" >&5
8794 echo "${ECHO_T}no" >&6
8795 { { echo "$as_me:$LINENO: error: Unable to find mysql.h in standard locations" >&5
8796 echo "$as_me: error: Unable to find mysql.h in standard locations" >&2;}
8797 { (exit 1); exit 1; }; }
8800 if test -f $withval/include/mysql/mysql.h; then
8801 MYSQL_INCDIR=$withval/include/mysql
8802 MYSQL_LIBDIR=$withval/lib/mysql
8803 MYSQL_BINDIR=$withval/bin
8804 elif test -f $withval/include/mysql.h; then
8805 MYSQL_INCDIR=$withval/include
8806 MYSQL_LIBDIR=$withval/lib
8807 MYSQL_BINDIR=$withval/bin
8809 echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6
8811 { { echo "$as_me:$LINENO: error: Invalid MySQL directory $withval - unable to find mysql.h under $withval" >&5
8812 echo "$as_me: error: Invalid MySQL directory $withval - unable to find mysql.h under $withval" >&2;}
8813 { (exit 1); exit 1; }; }
8816 SQL_INCLUDE=-I$MYSQL_INCDIR
8817 if test -f $MYSQL_LIBDIR/libmysqlclient_r.a; then
8818 SQL_LFLAGS="-L$MYSQL_LIBDIR -lmysqlclient_r -lz"
8819 cat >>confdefs.h <<\_ACEOF
8820 #define HAVE_THREAD_SAFE_MYSQL 1
8824 SQL_LFLAGS="-L$MYSQL_LIBDIR -lmysqlclient -lz"
8826 SQL_BINDIR=$MYSQL_BINDIR
8828 cat >>confdefs.h <<\_ACEOF
8829 #define HAVE_MYSQL 1
8832 echo "$as_me:$LINENO: result: yes" >&5
8833 echo "${ECHO_T}yes" >&6
8840 echo "$as_me:$LINENO: result: no" >&5
8841 echo "${ECHO_T}no" >&6
8848 # Check whether --with-embedded-mysql or --without-embedded-mysql was given.
8849 if test "${with_embedded_mysql+set}" = set; then
8850 withval="$with_embedded_mysql"
8852 if test "$withval" != "no"; then
8853 if test "$withval" = "yes"; then
8854 if test -f /usr/local/mysql/include/mysql/mysql.h; then
8855 MYSQL_INCDIR=/usr/local/mysql/include/mysql
8856 MYSQL_LIBDIR=/usr/local/mysql/lib/mysql
8857 MYSQL_BINDIR=/usr/local/mysql/bin
8858 elif test -f /usr/include/mysql/mysql.h; then
8859 MYSQL_INCDIR=/usr/include/mysql
8860 MYSQL_LIBDIR=/usr/lib/mysql
8861 MYSQL_BINDIR=/usr/bin
8862 elif test -f /usr/include/mysql.h; then
8863 MYSQL_INCDIR=/usr/include
8864 MYSQL_LIBDIR=/usr/lib
8865 MYSQL_BINDIR=/usr/bin
8866 elif test -f /usr/local/include/mysql/mysql.h; then
8867 MYSQL_INCDIR=/usr/local/include/mysql
8868 MYSQL_LIBDIR=/usr/local/lib/mysql
8869 MYSQL_BINDIR=/usr/local/bin
8870 elif test -f /usr/local/include/mysql.h; then
8871 MYSQL_INCDIR=/usr/local/include
8872 MYSQL_LIBDIR=/usr/local/lib
8873 MYSQL_BINDIR=/usr/local/bin
8875 echo "$as_me:$LINENO: result: no" >&5
8876 echo "${ECHO_T}no" >&6
8877 { { echo "$as_me:$LINENO: error: Unable to find mysql.h in standard locations" >&5
8878 echo "$as_me: error: Unable to find mysql.h in standard locations" >&2;}
8879 { (exit 1); exit 1; }; }
8882 if test -f $withval/include/mysql/mysql.h; then
8883 MYSQL_INCDIR=$withval/include/mysql
8884 MYSQL_LIBDIR=$withval/lib/mysql
8885 MYSQL_BINDIR=$withval/bin
8886 elif test -f $withval/include/mysql.h; then
8887 MYSQL_INCDIR=$withval/include
8888 MYSQL_LIBDIR=$withval/lib
8889 MYSQL_BINDIR=$withval/bin
8891 echo "$as_me:$LINENO: result: no" >&5
8892 echo "${ECHO_T}no" >&6
8893 { { echo "$as_me:$LINENO: error: Invalid MySQL directory $withval - unable to find mysql.h under $withval" >&5
8894 echo "$as_me: error: Invalid MySQL directory $withval - unable to find mysql.h under $withval" >&2;}
8895 { (exit 1); exit 1; }; }
8898 SQL_INCLUDE=-I$MYSQL_INCDIR
8899 SQL_LFLAGS="-L$MYSQL_LIBDIR -lmysqld -lz -lm -lcrypt"
8900 SQL_BINDIR=$MYSQL_BINDIR
8902 cat >>confdefs.h <<\_ACEOF
8903 #define HAVE_MYSQL 1
8906 cat >>confdefs.h <<\_ACEOF
8907 #define HAVE_EMBEDDED_MYSQL 1
8910 echo "$as_me:$LINENO: result: yes" >&5
8911 echo "${ECHO_T}yes" >&6
8918 echo "$as_me:$LINENO: result: no" >&5
8919 echo "${ECHO_T}no" >&6
8934 echo "$as_me:$LINENO: checking for SQLite3 support" >&5
8935 echo $ECHO_N "checking for SQLite3 support... $ECHO_C" >&6
8937 # Check whether --with-sqlite3 or --without-sqlite3 was given.
8938 if test "${with_sqlite3+set}" = set; then
8939 withval="$with_sqlite3"
8941 if test "$withval" != "no"; then
8942 if test "$withval" = "yes"; then
8943 if test -f /usr/local/include/sqlite3.h; then
8944 SQLITE_INCDIR=/usr/local/include
8945 SQLITE_LIBDIR=/usr/local/lib
8946 SQLITE_BINDIR=/usr/local/bin
8947 elif test -f /usr/include/sqlite3.h; then
8948 SQLITE_INCDIR=/usr/include
8949 SQLITE_LIBDIR=/usr/lib
8950 SQLITE_BINDIR=/usr/bin
8951 elif test -f $prefix/include/sqlite3.h; then
8952 SQLITE_INCDIR=$prefix/include
8953 SQLITE_LIBDIR=$prefix/lib
8954 SQLITE_BINDIR=$prefix/bin
8956 echo "$as_me:$LINENO: result: no" >&5
8957 echo "${ECHO_T}no" >&6
8958 { { echo "$as_me:$LINENO: error: Unable to find sqlite3.h in standard locations" >&5
8959 echo "$as_me: error: Unable to find sqlite3.h in standard locations" >&2;}
8960 { (exit 1); exit 1; }; }
8963 if test -f $withval/sqlite3.h; then
8964 SQLITE_INCDIR=$withval
8965 SQLITE_LIBDIR=$withval
8966 SQLITE_BINDIR=$withval
8967 elif test -f $withval/include/sqlite3.h; then
8968 SQLITE_INCDIR=$withval/include
8969 SQLITE_LIBDIR=$withval/lib
8970 SQLITE_BINDIR=$withval/bin
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8974 { { echo "$as_me:$LINENO: error: Invalid SQLite3 directory $withval - unable to find sqlite3.h under $withval" >&5
8975 echo "$as_me: error: Invalid SQLite3 directory $withval - unable to find sqlite3.h under $withval" >&2;}
8976 { (exit 1); exit 1; }; }
8979 SQL_INCLUDE=-I$SQLITE_INCDIR
8980 SQL_LFLAGS="-L$SQLITE_LIBDIR -lsqlite3"
8981 SQL_BINDIR=$SQLITE_BINDIR
8983 cat >>confdefs.h <<\_ACEOF
8984 #define HAVE_SQLITE3 1
8987 echo "$as_me:$LINENO: result: yes" >&5
8988 echo "${ECHO_T}yes" >&6
8995 echo "$as_me:$LINENO: result: no" >&5
8996 echo "${ECHO_T}no" >&6
9001 echo "$as_me:$LINENO: result: no" >&5
9002 echo "${ECHO_T}no" >&6
9013 echo "$as_me:$LINENO: checking for SQLite support" >&5
9014 echo $ECHO_N "checking for SQLite support... $ECHO_C" >&6
9016 # Check whether --with-sqlite or --without-sqlite was given.
9017 if test "${with_sqlite+set}" = set; then
9018 withval="$with_sqlite"
9020 if test "$withval" != "no"; then
9021 if test "$withval" = "yes"; then
9022 if test -f /usr/local/include/sqlite.h; then
9023 SQLITE_INCDIR=/usr/local/include
9024 SQLITE_LIBDIR=/usr/local/lib
9025 SQLITE_BINDIR=/usr/local/bin
9026 elif test -f /usr/include/sqlite.h; then
9027 SQLITE_INCDIR=/usr/include
9028 SQLITE_LIBDIR=/usr/lib
9029 SQLITE_BINDIR=/usr/bin
9030 elif test -f $prefix/include/sqlite.h; then
9031 SQLITE_INCDIR=$prefix/include
9032 SQLITE_LIBDIR=$prefix/lib
9033 SQLITE_BINDIR=$prefix/bin
9035 echo "$as_me:$LINENO: result: no" >&5
9036 echo "${ECHO_T}no" >&6
9037 { { echo "$as_me:$LINENO: error: Unable to find sqlite.h in standard locations" >&5
9038 echo "$as_me: error: Unable to find sqlite.h in standard locations" >&2;}
9039 { (exit 1); exit 1; }; }
9042 if test -f $withval/sqlite.h; then
9043 SQLITE_INCDIR=$withval
9044 SQLITE_LIBDIR=$withval
9045 SQLITE_BINDIR=$withval
9046 elif test -f $withval/include/sqlite.h; then
9047 SQLITE_INCDIR=$withval/include
9048 SQLITE_LIBDIR=$withval/lib
9049 SQLITE_BINDIR=$withval/bin
9051 echo "$as_me:$LINENO: result: no" >&5
9052 echo "${ECHO_T}no" >&6
9053 { { echo "$as_me:$LINENO: error: Invalid SQLite directory $withval - unable to find sqlite.h under $withval" >&5
9054 echo "$as_me: error: Invalid SQLite directory $withval - unable to find sqlite.h under $withval" >&2;}
9055 { (exit 1); exit 1; }; }
9058 SQL_INCLUDE=-I$SQLITE_INCDIR
9059 SQL_LFLAGS="-L$SQLITE_LIBDIR -lsqlite"
9060 SQL_BINDIR=$SQLITE_BINDIR
9062 cat >>confdefs.h <<\_ACEOF
9063 #define HAVE_SQLITE 1
9066 echo "$as_me:$LINENO: result: yes" >&5
9067 echo "${ECHO_T}yes" >&6
9074 echo "$as_me:$LINENO: result: no" >&5
9075 echo "${ECHO_T}no" >&6
9080 echo "$as_me:$LINENO: result: no" >&5
9081 echo "${ECHO_T}no" >&6
9093 cat >>confdefs.h <<\_ACEOF
9094 #define PROTOTYPES 1
9098 if test -z "$CFLAGS" -o "$CFLAGS" = "-g -O2"; then
9099 if test -z "$CCOPTS"; then
9100 CCOPTS='-g -O2 -Wall'
9108 largefile_support="no"
9110 # Check whether --enable-largefile or --disable-largefile was given.
9111 if test "${enable_largefile+set}" = set; then
9112 enableval="$enable_largefile"
9115 if test "$enable_largefile" != no; then
9116 if test -n "$ac_tool_prefix"; then
9117 # Extract the first word of "${ac_tool_prefix}getconf", so it can be a program name with args.
9118 set dummy ${ac_tool_prefix}getconf; ac_word=$2
9119 echo "$as_me:$LINENO: checking for $ac_word" >&5
9120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9121 if test "${ac_cv_prog_GETCONF+set}" = set; then
9122 echo $ECHO_N "(cached) $ECHO_C" >&6
9124 if test -n "$GETCONF"; then
9125 ac_cv_prog_GETCONF="$GETCONF" # Let the user override the test.
9127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9131 test -z "$as_dir" && as_dir=.
9132 for ac_exec_ext in '' $ac_executable_extensions; do
9133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9134 ac_cv_prog_GETCONF="${ac_tool_prefix}getconf"
9135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9143 GETCONF=$ac_cv_prog_GETCONF
9144 if test -n "$GETCONF"; then
9145 echo "$as_me:$LINENO: result: $GETCONF" >&5
9146 echo "${ECHO_T}$GETCONF" >&6
9148 echo "$as_me:$LINENO: result: no" >&5
9149 echo "${ECHO_T}no" >&6
9153 if test -z "$ac_cv_prog_GETCONF"; then
9154 ac_ct_GETCONF=$GETCONF
9155 # Extract the first word of "getconf", so it can be a program name with args.
9156 set dummy getconf; ac_word=$2
9157 echo "$as_me:$LINENO: checking for $ac_word" >&5
9158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9159 if test "${ac_cv_prog_ac_ct_GETCONF+set}" = set; then
9160 echo $ECHO_N "(cached) $ECHO_C" >&6
9162 if test -n "$ac_ct_GETCONF"; then
9163 ac_cv_prog_ac_ct_GETCONF="$ac_ct_GETCONF" # Let the user override the test.
9165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9169 test -z "$as_dir" && as_dir=.
9170 for ac_exec_ext in '' $ac_executable_extensions; do
9171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9172 ac_cv_prog_ac_ct_GETCONF="getconf"
9173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9181 ac_ct_GETCONF=$ac_cv_prog_ac_ct_GETCONF
9182 if test -n "$ac_ct_GETCONF"; then
9183 echo "$as_me:$LINENO: result: $ac_ct_GETCONF" >&5
9184 echo "${ECHO_T}$ac_ct_GETCONF" >&6
9186 echo "$as_me:$LINENO: result: no" >&5
9187 echo "${ECHO_T}no" >&6
9190 GETCONF=$ac_ct_GETCONF
9192 GETCONF="$ac_cv_prog_GETCONF"
9195 echo "$as_me:$LINENO: checking for CFLAGS value to request large file support" >&5
9196 echo $ECHO_N "checking for CFLAGS value to request large file support... $ECHO_C" >&6
9197 if test "${ac_cv_sys_largefile_CFLAGS+set}" = set; then
9198 echo $ECHO_N "(cached) $ECHO_C" >&6
9200 ac_cv_sys_largefile_CFLAGS=`($GETCONF LFS_CFLAGS) 2>/dev/null` || {
9201 ac_cv_sys_largefile_CFLAGS=no
9203 # IRIX 6.2 and later require cc -n32.
9204 irix6.[2-9]* | irix6.1[0-9]* | irix[7-9].* | irix[1-9][0-9]*)
9205 if test "$GCC" != yes; then
9206 ac_cv_sys_largefile_CFLAGS=-n32
9209 CC="$CC $ac_cv_sys_largefile_CFLAGS"
9210 cat >conftest.$ac_ext <<_ACEOF
9213 cat confdefs.h >>conftest.$ac_ext
9214 cat >>conftest.$ac_ext <<_ACEOF
9215 /* end confdefs.h. */
9225 rm -f conftest.$ac_objext conftest$ac_exeext
9226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9227 (eval $ac_link) 2>conftest.er1
9229 grep -v '^ *+' conftest.er1 >conftest.err
9231 cat conftest.err >&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); } &&
9234 { ac_try='test -z "$ac_c_werror_flag"
9235 || test ! -s conftest.err'
9236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9240 (exit $ac_status); }; } &&
9241 { ac_try='test -s conftest$ac_exeext'
9242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246 (exit $ac_status); }; }; then
9249 echo "$as_me: failed program was:" >&5
9250 sed 's/^/| /' conftest.$ac_ext >&5
9252 ac_cv_sys_largefile_CFLAGS=no
9254 rm -f conftest.err conftest.$ac_objext \
9255 conftest$ac_exeext conftest.$ac_ext
9260 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CFLAGS" >&5
9261 echo "${ECHO_T}$ac_cv_sys_largefile_CFLAGS" >&6
9262 echo "$as_me:$LINENO: checking for LDFLAGS value to request large file support" >&5
9263 echo $ECHO_N "checking for LDFLAGS value to request large file support... $ECHO_C" >&6
9264 if test "${ac_cv_sys_largefile_LDFLAGS+set}" = set; then
9265 echo $ECHO_N "(cached) $ECHO_C" >&6
9267 ac_cv_sys_largefile_LDFLAGS=`($GETCONF LFS_LDFLAGS) 2>/dev/null` || {
9268 ac_cv_sys_largefile_LDFLAGS=no
9272 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_LDFLAGS" >&5
9273 echo "${ECHO_T}$ac_cv_sys_largefile_LDFLAGS" >&6
9274 echo "$as_me:$LINENO: checking for LIBS value to request large file support" >&5
9275 echo $ECHO_N "checking for LIBS value to request large file support... $ECHO_C" >&6
9276 if test "${ac_cv_sys_largefile_LIBS+set}" = set; then
9277 echo $ECHO_N "(cached) $ECHO_C" >&6
9279 ac_cv_sys_largefile_LIBS=`($GETCONF LFS_LIBS) 2>/dev/null` || {
9280 ac_cv_sys_largefile_LIBS=no
9284 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_LIBS" >&5
9285 echo "${ECHO_T}$ac_cv_sys_largefile_LIBS" >&6
9287 for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
9290 -D_FILE_OFFSET_BITS=*) ;;
9291 -D_LARGEFILE_SOURCE | -D_LARGEFILE_SOURCE=*) ;;
9292 -D_LARGE_FILES | -D_LARGE_FILES=*) ;;
9298 '') CPPFLAGS="$ac_flag" ;;
9299 *) CPPFLAGS=$CPPFLAGS' '"$ac_flag" ;;
9307 '') CFLAGS="$ac_flag" ;;
9308 *) CFLAGS=$CFLAGS' '"$ac_flag" ;;
9313 case "$ac_cv_sys_largefile_LDFLAGS" in
9317 '') LDFLAGS="$ac_cv_sys_largefile_LDFLAGS" ;;
9318 *) LDFLAGS=$LDFLAGS' '"$ac_cv_sys_largefile_LDFLAGS" ;;
9321 case "$ac_cv_sys_largefile_LIBS" in
9325 '') LIBS="$ac_cv_sys_largefile_LIBS" ;;
9326 *) LIBS=$LIBS' '"$ac_cv_sys_largefile_LIBS" ;;
9329 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS" >&5
9330 echo $ECHO_N "checking for _FILE_OFFSET_BITS... $ECHO_C" >&6
9331 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
9332 echo $ECHO_N "(cached) $ECHO_C" >&6
9334 ac_cv_sys_file_offset_bits=no
9335 ac_cv_sys_file_offset_bits=64
9336 for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
9338 -D_FILE_OFFSET_BITS)
9339 ac_cv_sys_file_offset_bits=1 ;;
9340 -D_FILE_OFFSET_BITS=*)
9341 ac_cv_sys_file_offset_bits=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
9346 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
9347 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
9348 if test "$ac_cv_sys_file_offset_bits" != no; then
9350 cat >>confdefs.h <<_ACEOF
9351 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
9355 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE" >&5
9356 echo $ECHO_N "checking for _LARGEFILE_SOURCE... $ECHO_C" >&6
9357 if test "${ac_cv_sys_largefile_source+set}" = set; then
9358 echo $ECHO_N "(cached) $ECHO_C" >&6
9360 ac_cv_sys_largefile_source=no
9361 ac_cv_sys_largefile_source=1
9362 for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
9364 -D_LARGEFILE_SOURCE)
9365 ac_cv_sys_largefile_source=1 ;;
9366 -D_LARGEFILE_SOURCE=*)
9367 ac_cv_sys_largefile_source=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
9372 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
9373 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
9374 if test "$ac_cv_sys_largefile_source" != no; then
9376 cat >>confdefs.h <<_ACEOF
9377 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
9381 echo "$as_me:$LINENO: checking for _LARGE_FILES" >&5
9382 echo $ECHO_N "checking for _LARGE_FILES... $ECHO_C" >&6
9383 if test "${ac_cv_sys_large_files+set}" = set; then
9384 echo $ECHO_N "(cached) $ECHO_C" >&6
9386 ac_cv_sys_large_files=no
9387 ac_cv_sys_large_files=1
9388 for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
9391 ac_cv_sys_large_files=1 ;;
9393 ac_cv_sys_large_files=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
9398 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
9399 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
9400 if test "$ac_cv_sys_large_files" != no; then
9402 cat >>confdefs.h <<_ACEOF
9403 #define _LARGE_FILES $ac_cv_sys_large_files
9411 echo "$as_me:$LINENO: checking for X" >&5
9412 echo $ECHO_N "checking for X... $ECHO_C" >&6
9415 # Check whether --with-x or --without-x was given.
9416 if test "${with_x+set}" = set; then
9420 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9421 if test "x$with_x" = xno; then
9422 # The user explicitly disabled X.
9425 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
9426 # Both variables are already set.
9429 if test "${ac_cv_have_x+set}" = set; then
9430 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 # One or both of the vars are not set, and there is no cached value.
9433 ac_x_includes=no ac_x_libraries=no
9435 if mkdir conftest.dir; then
9437 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9438 cat >Imakefile <<'_ACEOF'
9440 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9442 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
9443 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9444 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9445 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9446 for ac_extension in a so sl; do
9447 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
9448 test -f $ac_im_libdir/libX11.$ac_extension; then
9449 ac_im_usrlibdir=$ac_im_libdir; break
9452 # Screen out bogus values from the imake configuration. They are
9453 # bogus both because they are the default anyway, and because
9454 # using them would break gcc on systems where it needs fixed includes.
9455 case $ac_im_incroot in
9457 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9459 case $ac_im_usrlibdir in
9461 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9468 # Standard set of common directories for X headers.
9469 # Check X11 before X11Rn because it is often a symlink to the current release.
9481 /usr/local/X11/include
9482 /usr/local/X11R6/include
9483 /usr/local/X11R5/include
9484 /usr/local/X11R4/include
9486 /usr/local/include/X11
9487 /usr/local/include/X11R6
9488 /usr/local/include/X11R5
9489 /usr/local/include/X11R4
9493 /usr/XFree86/include/X11
9497 /usr/unsupported/include
9499 /usr/local/x11r5/include
9500 /usr/lpp/Xamples/include
9502 /usr/openwin/include
9503 /usr/openwin/share/include'
9505 if test "$ac_x_includes" = no; then
9506 # Guess where to find include files, by looking for Intrinsic.h.
9507 # First, try using that file with no special directory specified.
9508 cat >conftest.$ac_ext <<_ACEOF
9511 cat confdefs.h >>conftest.$ac_ext
9512 cat >>conftest.$ac_ext <<_ACEOF
9513 /* end confdefs.h. */
9514 #include <X11/Intrinsic.h>
9516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9519 grep -v '^ *+' conftest.er1 >conftest.err
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } >/dev/null; then
9524 if test -s conftest.err; then
9525 ac_cpp_err=$ac_c_preproc_warn_flag
9526 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9533 if test -z "$ac_cpp_err"; then
9534 # We can compile using X headers with no special include directory.
9537 echo "$as_me: failed program was:" >&5
9538 sed 's/^/| /' conftest.$ac_ext >&5
9540 for ac_dir in $ac_x_header_dirs; do
9541 if test -r "$ac_dir/X11/Intrinsic.h"; then
9542 ac_x_includes=$ac_dir
9547 rm -f conftest.err conftest.$ac_ext
9548 fi # $ac_x_includes = no
9550 if test "$ac_x_libraries" = no; then
9551 # Check for the libraries.
9552 # See if we find them without any special options.
9553 # Don't add to $LIBS permanently.
9556 cat >conftest.$ac_ext <<_ACEOF
9559 cat confdefs.h >>conftest.$ac_ext
9560 cat >>conftest.$ac_ext <<_ACEOF
9561 /* end confdefs.h. */
9562 #include <X11/Intrinsic.h>
9571 rm -f conftest.$ac_objext conftest$ac_exeext
9572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9573 (eval $ac_link) 2>conftest.er1
9575 grep -v '^ *+' conftest.er1 >conftest.err
9577 cat conftest.err >&5
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); } &&
9580 { ac_try='test -z "$ac_c_werror_flag"
9581 || test ! -s conftest.err'
9582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9586 (exit $ac_status); }; } &&
9587 { ac_try='test -s conftest$ac_exeext'
9588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9592 (exit $ac_status); }; }; then
9594 # We can link X programs with no special library path.
9597 echo "$as_me: failed program was:" >&5
9598 sed 's/^/| /' conftest.$ac_ext >&5
9601 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9603 # Don't even attempt the hair of trying to link an X program!
9604 for ac_extension in a so sl; do
9605 if test -r $ac_dir/libXt.$ac_extension; then
9606 ac_x_libraries=$ac_dir
9612 rm -f conftest.err conftest.$ac_objext \
9613 conftest$ac_exeext conftest.$ac_ext
9614 fi # $ac_x_libraries = no
9616 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
9617 # Didn't find X anywhere. Cache the known absence of X.
9618 ac_cv_have_x="have_x=no"
9620 # Record where we found X for the cache.
9621 ac_cv_have_x="have_x=yes \
9622 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9627 eval "$ac_cv_have_x"
9630 if test "$have_x" != yes; then
9631 echo "$as_me:$LINENO: result: $have_x" >&5
9632 echo "${ECHO_T}$have_x" >&6
9635 # If each of the values was on the command line, it overrides each guess.
9636 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9637 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9638 # Update the cache value to reflect the command line values.
9639 ac_cv_have_x="have_x=yes \
9640 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9641 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
9642 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
9645 if test "$no_x" = yes; then
9646 # Not all programs may use this symbol, but it does not hurt to define it.
9648 cat >>confdefs.h <<\_ACEOF
9649 #define X_DISPLAY_MISSING 1
9652 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9654 if test -n "$x_includes"; then
9655 X_CFLAGS="$X_CFLAGS -I$x_includes"
9658 # It would also be nice to do this for all -L options, not just this one.
9659 if test -n "$x_libraries"; then
9660 X_LIBS="$X_LIBS -L$x_libraries"
9661 # For Solaris; some versions of Sun CC require a space after -R and
9662 # others require no space. Words are not sufficient . . . .
9663 case `(uname -sr) 2>/dev/null` in
9665 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
9666 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
9667 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9668 cat >conftest.$ac_ext <<_ACEOF
9671 cat confdefs.h >>conftest.$ac_ext
9672 cat >>conftest.$ac_ext <<_ACEOF
9673 /* end confdefs.h. */
9683 rm -f conftest.$ac_objext conftest$ac_exeext
9684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9685 (eval $ac_link) 2>conftest.er1
9687 grep -v '^ *+' conftest.er1 >conftest.err
9689 cat conftest.err >&5
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); } &&
9692 { ac_try='test -z "$ac_c_werror_flag"
9693 || test ! -s conftest.err'
9694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9698 (exit $ac_status); }; } &&
9699 { ac_try='test -s conftest$ac_exeext'
9700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); }; }; then
9707 echo "$as_me: failed program was:" >&5
9708 sed 's/^/| /' conftest.$ac_ext >&5
9712 rm -f conftest.err conftest.$ac_objext \
9713 conftest$ac_exeext conftest.$ac_ext
9714 if test $ac_R_nospace = yes; then
9715 echo "$as_me:$LINENO: result: no" >&5
9716 echo "${ECHO_T}no" >&6
9717 X_LIBS="$X_LIBS -R$x_libraries"
9719 LIBS="$ac_xsave_LIBS -R $x_libraries"
9720 cat >conftest.$ac_ext <<_ACEOF
9723 cat confdefs.h >>conftest.$ac_ext
9724 cat >>conftest.$ac_ext <<_ACEOF
9725 /* end confdefs.h. */
9735 rm -f conftest.$ac_objext conftest$ac_exeext
9736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9737 (eval $ac_link) 2>conftest.er1
9739 grep -v '^ *+' conftest.er1 >conftest.err
9741 cat conftest.err >&5
9742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9743 (exit $ac_status); } &&
9744 { ac_try='test -z "$ac_c_werror_flag"
9745 || test ! -s conftest.err'
9746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9750 (exit $ac_status); }; } &&
9751 { ac_try='test -s conftest$ac_exeext'
9752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756 (exit $ac_status); }; }; then
9759 echo "$as_me: failed program was:" >&5
9760 sed 's/^/| /' conftest.$ac_ext >&5
9764 rm -f conftest.err conftest.$ac_objext \
9765 conftest$ac_exeext conftest.$ac_ext
9766 if test $ac_R_space = yes; then
9767 echo "$as_me:$LINENO: result: yes" >&5
9768 echo "${ECHO_T}yes" >&6
9769 X_LIBS="$X_LIBS -R $x_libraries"
9771 echo "$as_me:$LINENO: result: neither works" >&5
9772 echo "${ECHO_T}neither works" >&6
9779 # Check for system-dependent libraries X programs must link with.
9780 # Do this before checking for the system-independent R6 libraries
9781 # (-lICE), since we may need -lsocket or whatever for X linking.
9783 if test "$ISC" = yes; then
9784 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9786 # Martyn Johnson says this is needed for Ultrix, if the X
9787 # libraries were built with DECnet support. And Karl Berry says
9788 # the Alpha needs dnet_stub (dnet does not exist).
9789 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9790 cat >conftest.$ac_ext <<_ACEOF
9793 cat confdefs.h >>conftest.$ac_ext
9794 cat >>conftest.$ac_ext <<_ACEOF
9795 /* end confdefs.h. */
9797 /* Override any gcc2 internal prototype to avoid an error. */
9801 /* We use char because int might match the return type of a gcc2
9802 builtin and then its argument prototype would still apply. */
9803 char XOpenDisplay ();
9812 rm -f conftest.$ac_objext conftest$ac_exeext
9813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9814 (eval $ac_link) 2>conftest.er1
9816 grep -v '^ *+' conftest.er1 >conftest.err
9818 cat conftest.err >&5
9819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820 (exit $ac_status); } &&
9821 { ac_try='test -z "$ac_c_werror_flag"
9822 || test ! -s conftest.err'
9823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9827 (exit $ac_status); }; } &&
9828 { ac_try='test -s conftest$ac_exeext'
9829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); }; }; then
9836 echo "$as_me: failed program was:" >&5
9837 sed 's/^/| /' conftest.$ac_ext >&5
9839 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
9840 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
9841 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
9842 echo $ECHO_N "(cached) $ECHO_C" >&6
9844 ac_check_lib_save_LIBS=$LIBS
9846 cat >conftest.$ac_ext <<_ACEOF
9849 cat confdefs.h >>conftest.$ac_ext
9850 cat >>conftest.$ac_ext <<_ACEOF
9851 /* end confdefs.h. */
9853 /* Override any gcc2 internal prototype to avoid an error. */
9857 /* We use char because int might match the return type of a gcc2
9858 builtin and then its argument prototype would still apply. */
9868 rm -f conftest.$ac_objext conftest$ac_exeext
9869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9870 (eval $ac_link) 2>conftest.er1
9872 grep -v '^ *+' conftest.er1 >conftest.err
9874 cat conftest.err >&5
9875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9876 (exit $ac_status); } &&
9877 { ac_try='test -z "$ac_c_werror_flag"
9878 || test ! -s conftest.err'
9879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9883 (exit $ac_status); }; } &&
9884 { ac_try='test -s conftest$ac_exeext'
9885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889 (exit $ac_status); }; }; then
9890 ac_cv_lib_dnet_dnet_ntoa=yes
9892 echo "$as_me: failed program was:" >&5
9893 sed 's/^/| /' conftest.$ac_ext >&5
9895 ac_cv_lib_dnet_dnet_ntoa=no
9897 rm -f conftest.err conftest.$ac_objext \
9898 conftest$ac_exeext conftest.$ac_ext
9899 LIBS=$ac_check_lib_save_LIBS
9901 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9902 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
9903 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
9904 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9907 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9908 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
9909 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
9910 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
9911 echo $ECHO_N "(cached) $ECHO_C" >&6
9913 ac_check_lib_save_LIBS=$LIBS
9914 LIBS="-ldnet_stub $LIBS"
9915 cat >conftest.$ac_ext <<_ACEOF
9918 cat confdefs.h >>conftest.$ac_ext
9919 cat >>conftest.$ac_ext <<_ACEOF
9920 /* end confdefs.h. */
9922 /* Override any gcc2 internal prototype to avoid an error. */
9926 /* We use char because int might match the return type of a gcc2
9927 builtin and then its argument prototype would still apply. */
9937 rm -f conftest.$ac_objext conftest$ac_exeext
9938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9939 (eval $ac_link) 2>conftest.er1
9941 grep -v '^ *+' conftest.er1 >conftest.err
9943 cat conftest.err >&5
9944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945 (exit $ac_status); } &&
9946 { ac_try='test -z "$ac_c_werror_flag"
9947 || test ! -s conftest.err'
9948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952 (exit $ac_status); }; } &&
9953 { ac_try='test -s conftest$ac_exeext'
9954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9958 (exit $ac_status); }; }; then
9959 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9961 echo "$as_me: failed program was:" >&5
9962 sed 's/^/| /' conftest.$ac_ext >&5
9964 ac_cv_lib_dnet_stub_dnet_ntoa=no
9966 rm -f conftest.err conftest.$ac_objext \
9967 conftest$ac_exeext conftest.$ac_ext
9968 LIBS=$ac_check_lib_save_LIBS
9970 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9971 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
9972 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
9973 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9978 rm -f conftest.err conftest.$ac_objext \
9979 conftest$ac_exeext conftest.$ac_ext
9980 LIBS="$ac_xsave_LIBS"
9982 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9983 # to get the SysV transport functions.
9984 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9986 # The nsl library prevents programs from opening the X display
9987 # on Irix 5.2, according to T.E. Dickey.
9988 # The functions gethostbyname, getservbyname, and inet_addr are
9989 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9990 echo "$as_me:$LINENO: checking for gethostbyname" >&5
9991 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
9992 if test "${ac_cv_func_gethostbyname+set}" = set; then
9993 echo $ECHO_N "(cached) $ECHO_C" >&6
9995 cat >conftest.$ac_ext <<_ACEOF
9998 cat confdefs.h >>conftest.$ac_ext
9999 cat >>conftest.$ac_ext <<_ACEOF
10000 /* end confdefs.h. */
10001 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
10002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10003 #define gethostbyname innocuous_gethostbyname
10005 /* System header to define __stub macros and hopefully few prototypes,
10006 which can conflict with char gethostbyname (); below.
10007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10008 <limits.h> exists even on freestanding compilers. */
10011 # include <limits.h>
10013 # include <assert.h>
10016 #undef gethostbyname
10018 /* Override any gcc2 internal prototype to avoid an error. */
10023 /* We use char because int might match the return type of a gcc2
10024 builtin and then its argument prototype would still apply. */
10025 char gethostbyname ();
10026 /* The GNU C library defines this for functions which it implements
10027 to always fail with ENOSYS. Some functions are actually named
10028 something starting with __ and the normal name is an alias. */
10029 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
10032 char (*f) () = gethostbyname;
10041 return f != gethostbyname;
10046 rm -f conftest.$ac_objext conftest$ac_exeext
10047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10048 (eval $ac_link) 2>conftest.er1
10050 grep -v '^ *+' conftest.er1 >conftest.err
10052 cat conftest.err >&5
10053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); } &&
10055 { ac_try='test -z "$ac_c_werror_flag"
10056 || test ! -s conftest.err'
10057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10058 (eval $ac_try) 2>&5
10060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10061 (exit $ac_status); }; } &&
10062 { ac_try='test -s conftest$ac_exeext'
10063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10064 (eval $ac_try) 2>&5
10066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10067 (exit $ac_status); }; }; then
10068 ac_cv_func_gethostbyname=yes
10070 echo "$as_me: failed program was:" >&5
10071 sed 's/^/| /' conftest.$ac_ext >&5
10073 ac_cv_func_gethostbyname=no
10075 rm -f conftest.err conftest.$ac_objext \
10076 conftest$ac_exeext conftest.$ac_ext
10078 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
10079 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
10081 if test $ac_cv_func_gethostbyname = no; then
10082 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
10083 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
10084 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
10085 echo $ECHO_N "(cached) $ECHO_C" >&6
10087 ac_check_lib_save_LIBS=$LIBS
10089 cat >conftest.$ac_ext <<_ACEOF
10092 cat confdefs.h >>conftest.$ac_ext
10093 cat >>conftest.$ac_ext <<_ACEOF
10094 /* end confdefs.h. */
10096 /* Override any gcc2 internal prototype to avoid an error. */
10100 /* We use char because int might match the return type of a gcc2
10101 builtin and then its argument prototype would still apply. */
10102 char gethostbyname ();
10111 rm -f conftest.$ac_objext conftest$ac_exeext
10112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10113 (eval $ac_link) 2>conftest.er1
10115 grep -v '^ *+' conftest.er1 >conftest.err
10117 cat conftest.err >&5
10118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119 (exit $ac_status); } &&
10120 { ac_try='test -z "$ac_c_werror_flag"
10121 || test ! -s conftest.err'
10122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10123 (eval $ac_try) 2>&5
10125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10126 (exit $ac_status); }; } &&
10127 { ac_try='test -s conftest$ac_exeext'
10128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10129 (eval $ac_try) 2>&5
10131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132 (exit $ac_status); }; }; then
10133 ac_cv_lib_nsl_gethostbyname=yes
10135 echo "$as_me: failed program was:" >&5
10136 sed 's/^/| /' conftest.$ac_ext >&5
10138 ac_cv_lib_nsl_gethostbyname=no
10140 rm -f conftest.err conftest.$ac_objext \
10141 conftest$ac_exeext conftest.$ac_ext
10142 LIBS=$ac_check_lib_save_LIBS
10144 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
10145 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
10146 if test $ac_cv_lib_nsl_gethostbyname = yes; then
10147 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10150 if test $ac_cv_lib_nsl_gethostbyname = no; then
10151 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
10152 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
10153 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
10154 echo $ECHO_N "(cached) $ECHO_C" >&6
10156 ac_check_lib_save_LIBS=$LIBS
10158 cat >conftest.$ac_ext <<_ACEOF
10161 cat confdefs.h >>conftest.$ac_ext
10162 cat >>conftest.$ac_ext <<_ACEOF
10163 /* end confdefs.h. */
10165 /* Override any gcc2 internal prototype to avoid an error. */
10169 /* We use char because int might match the return type of a gcc2
10170 builtin and then its argument prototype would still apply. */
10171 char gethostbyname ();
10180 rm -f conftest.$ac_objext conftest$ac_exeext
10181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10182 (eval $ac_link) 2>conftest.er1
10184 grep -v '^ *+' conftest.er1 >conftest.err
10186 cat conftest.err >&5
10187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10188 (exit $ac_status); } &&
10189 { ac_try='test -z "$ac_c_werror_flag"
10190 || test ! -s conftest.err'
10191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10192 (eval $ac_try) 2>&5
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }; } &&
10196 { ac_try='test -s conftest$ac_exeext'
10197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10198 (eval $ac_try) 2>&5
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); }; }; then
10202 ac_cv_lib_bsd_gethostbyname=yes
10204 echo "$as_me: failed program was:" >&5
10205 sed 's/^/| /' conftest.$ac_ext >&5
10207 ac_cv_lib_bsd_gethostbyname=no
10209 rm -f conftest.err conftest.$ac_objext \
10210 conftest$ac_exeext conftest.$ac_ext
10211 LIBS=$ac_check_lib_save_LIBS
10213 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
10214 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
10215 if test $ac_cv_lib_bsd_gethostbyname = yes; then
10216 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
10222 # lieder@skyler.mavd.honeywell.com says without -lsocket,
10223 # socket/setsockopt and other routines are undefined under SCO ODT
10224 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
10225 # on later versions), says Simon Leinen: it contains gethostby*
10226 # variants that don't use the name server (or something). -lsocket
10227 # must be given before -lnsl if both are needed. We assume that
10228 # if connect needs -lnsl, so does gethostbyname.
10229 echo "$as_me:$LINENO: checking for connect" >&5
10230 echo $ECHO_N "checking for connect... $ECHO_C" >&6
10231 if test "${ac_cv_func_connect+set}" = set; then
10232 echo $ECHO_N "(cached) $ECHO_C" >&6
10234 cat >conftest.$ac_ext <<_ACEOF
10237 cat confdefs.h >>conftest.$ac_ext
10238 cat >>conftest.$ac_ext <<_ACEOF
10239 /* end confdefs.h. */
10240 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
10241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10242 #define connect innocuous_connect
10244 /* System header to define __stub macros and hopefully few prototypes,
10245 which can conflict with char connect (); below.
10246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10247 <limits.h> exists even on freestanding compilers. */
10250 # include <limits.h>
10252 # include <assert.h>
10257 /* Override any gcc2 internal prototype to avoid an error. */
10262 /* We use char because int might match the return type of a gcc2
10263 builtin and then its argument prototype would still apply. */
10265 /* The GNU C library defines this for functions which it implements
10266 to always fail with ENOSYS. Some functions are actually named
10267 something starting with __ and the normal name is an alias. */
10268 #if defined (__stub_connect) || defined (__stub___connect)
10271 char (*f) () = connect;
10280 return f != connect;
10285 rm -f conftest.$ac_objext conftest$ac_exeext
10286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10287 (eval $ac_link) 2>conftest.er1
10289 grep -v '^ *+' conftest.er1 >conftest.err
10291 cat conftest.err >&5
10292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293 (exit $ac_status); } &&
10294 { ac_try='test -z "$ac_c_werror_flag"
10295 || test ! -s conftest.err'
10296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10297 (eval $ac_try) 2>&5
10299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10300 (exit $ac_status); }; } &&
10301 { ac_try='test -s conftest$ac_exeext'
10302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303 (eval $ac_try) 2>&5
10305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306 (exit $ac_status); }; }; then
10307 ac_cv_func_connect=yes
10309 echo "$as_me: failed program was:" >&5
10310 sed 's/^/| /' conftest.$ac_ext >&5
10312 ac_cv_func_connect=no
10314 rm -f conftest.err conftest.$ac_objext \
10315 conftest$ac_exeext conftest.$ac_ext
10317 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
10318 echo "${ECHO_T}$ac_cv_func_connect" >&6
10320 if test $ac_cv_func_connect = no; then
10321 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
10322 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
10323 if test "${ac_cv_lib_socket_connect+set}" = set; then
10324 echo $ECHO_N "(cached) $ECHO_C" >&6
10326 ac_check_lib_save_LIBS=$LIBS
10327 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
10328 cat >conftest.$ac_ext <<_ACEOF
10331 cat confdefs.h >>conftest.$ac_ext
10332 cat >>conftest.$ac_ext <<_ACEOF
10333 /* end confdefs.h. */
10335 /* Override any gcc2 internal prototype to avoid an error. */
10339 /* We use char because int might match the return type of a gcc2
10340 builtin and then its argument prototype would still apply. */
10350 rm -f conftest.$ac_objext conftest$ac_exeext
10351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10352 (eval $ac_link) 2>conftest.er1
10354 grep -v '^ *+' conftest.er1 >conftest.err
10356 cat conftest.err >&5
10357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10358 (exit $ac_status); } &&
10359 { ac_try='test -z "$ac_c_werror_flag"
10360 || test ! -s conftest.err'
10361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10362 (eval $ac_try) 2>&5
10364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10365 (exit $ac_status); }; } &&
10366 { ac_try='test -s conftest$ac_exeext'
10367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10368 (eval $ac_try) 2>&5
10370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10371 (exit $ac_status); }; }; then
10372 ac_cv_lib_socket_connect=yes
10374 echo "$as_me: failed program was:" >&5
10375 sed 's/^/| /' conftest.$ac_ext >&5
10377 ac_cv_lib_socket_connect=no
10379 rm -f conftest.err conftest.$ac_objext \
10380 conftest$ac_exeext conftest.$ac_ext
10381 LIBS=$ac_check_lib_save_LIBS
10383 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
10384 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
10385 if test $ac_cv_lib_socket_connect = yes; then
10386 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
10391 # Guillermo Gomez says -lposix is necessary on A/UX.
10392 echo "$as_me:$LINENO: checking for remove" >&5
10393 echo $ECHO_N "checking for remove... $ECHO_C" >&6
10394 if test "${ac_cv_func_remove+set}" = set; then
10395 echo $ECHO_N "(cached) $ECHO_C" >&6
10397 cat >conftest.$ac_ext <<_ACEOF
10400 cat confdefs.h >>conftest.$ac_ext
10401 cat >>conftest.$ac_ext <<_ACEOF
10402 /* end confdefs.h. */
10403 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
10404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10405 #define remove innocuous_remove
10407 /* System header to define __stub macros and hopefully few prototypes,
10408 which can conflict with char remove (); below.
10409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10410 <limits.h> exists even on freestanding compilers. */
10413 # include <limits.h>
10415 # include <assert.h>
10420 /* Override any gcc2 internal prototype to avoid an error. */
10425 /* We use char because int might match the return type of a gcc2
10426 builtin and then its argument prototype would still apply. */
10428 /* The GNU C library defines this for functions which it implements
10429 to always fail with ENOSYS. Some functions are actually named
10430 something starting with __ and the normal name is an alias. */
10431 #if defined (__stub_remove) || defined (__stub___remove)
10434 char (*f) () = remove;
10443 return f != remove;
10448 rm -f conftest.$ac_objext conftest$ac_exeext
10449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10450 (eval $ac_link) 2>conftest.er1
10452 grep -v '^ *+' conftest.er1 >conftest.err
10454 cat conftest.err >&5
10455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10456 (exit $ac_status); } &&
10457 { ac_try='test -z "$ac_c_werror_flag"
10458 || test ! -s conftest.err'
10459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10460 (eval $ac_try) 2>&5
10462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10463 (exit $ac_status); }; } &&
10464 { ac_try='test -s conftest$ac_exeext'
10465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10466 (eval $ac_try) 2>&5
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); }; }; then
10470 ac_cv_func_remove=yes
10472 echo "$as_me: failed program was:" >&5
10473 sed 's/^/| /' conftest.$ac_ext >&5
10475 ac_cv_func_remove=no
10477 rm -f conftest.err conftest.$ac_objext \
10478 conftest$ac_exeext conftest.$ac_ext
10480 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
10481 echo "${ECHO_T}$ac_cv_func_remove" >&6
10483 if test $ac_cv_func_remove = no; then
10484 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
10485 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
10486 if test "${ac_cv_lib_posix_remove+set}" = set; then
10487 echo $ECHO_N "(cached) $ECHO_C" >&6
10489 ac_check_lib_save_LIBS=$LIBS
10490 LIBS="-lposix $LIBS"
10491 cat >conftest.$ac_ext <<_ACEOF
10494 cat confdefs.h >>conftest.$ac_ext
10495 cat >>conftest.$ac_ext <<_ACEOF
10496 /* end confdefs.h. */
10498 /* Override any gcc2 internal prototype to avoid an error. */
10502 /* We use char because int might match the return type of a gcc2
10503 builtin and then its argument prototype would still apply. */
10513 rm -f conftest.$ac_objext conftest$ac_exeext
10514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10515 (eval $ac_link) 2>conftest.er1
10517 grep -v '^ *+' conftest.er1 >conftest.err
10519 cat conftest.err >&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); } &&
10522 { ac_try='test -z "$ac_c_werror_flag"
10523 || test ! -s conftest.err'
10524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10525 (eval $ac_try) 2>&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); }; } &&
10529 { ac_try='test -s conftest$ac_exeext'
10530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10531 (eval $ac_try) 2>&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; }; then
10535 ac_cv_lib_posix_remove=yes
10537 echo "$as_me: failed program was:" >&5
10538 sed 's/^/| /' conftest.$ac_ext >&5
10540 ac_cv_lib_posix_remove=no
10542 rm -f conftest.err conftest.$ac_objext \
10543 conftest$ac_exeext conftest.$ac_ext
10544 LIBS=$ac_check_lib_save_LIBS
10546 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
10547 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
10548 if test $ac_cv_lib_posix_remove = yes; then
10549 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
10554 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
10555 echo "$as_me:$LINENO: checking for shmat" >&5
10556 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
10557 if test "${ac_cv_func_shmat+set}" = set; then
10558 echo $ECHO_N "(cached) $ECHO_C" >&6
10560 cat >conftest.$ac_ext <<_ACEOF
10563 cat confdefs.h >>conftest.$ac_ext
10564 cat >>conftest.$ac_ext <<_ACEOF
10565 /* end confdefs.h. */
10566 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
10567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10568 #define shmat innocuous_shmat
10570 /* System header to define __stub macros and hopefully few prototypes,
10571 which can conflict with char shmat (); below.
10572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10573 <limits.h> exists even on freestanding compilers. */
10576 # include <limits.h>
10578 # include <assert.h>
10583 /* Override any gcc2 internal prototype to avoid an error. */
10588 /* We use char because int might match the return type of a gcc2
10589 builtin and then its argument prototype would still apply. */
10591 /* The GNU C library defines this for functions which it implements
10592 to always fail with ENOSYS. Some functions are actually named
10593 something starting with __ and the normal name is an alias. */
10594 #if defined (__stub_shmat) || defined (__stub___shmat)
10597 char (*f) () = shmat;
10611 rm -f conftest.$ac_objext conftest$ac_exeext
10612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10613 (eval $ac_link) 2>conftest.er1
10615 grep -v '^ *+' conftest.er1 >conftest.err
10617 cat conftest.err >&5
10618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10619 (exit $ac_status); } &&
10620 { ac_try='test -z "$ac_c_werror_flag"
10621 || test ! -s conftest.err'
10622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10623 (eval $ac_try) 2>&5
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); }; } &&
10627 { ac_try='test -s conftest$ac_exeext'
10628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10629 (eval $ac_try) 2>&5
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); }; }; then
10633 ac_cv_func_shmat=yes
10635 echo "$as_me: failed program was:" >&5
10636 sed 's/^/| /' conftest.$ac_ext >&5
10638 ac_cv_func_shmat=no
10640 rm -f conftest.err conftest.$ac_objext \
10641 conftest$ac_exeext conftest.$ac_ext
10643 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
10644 echo "${ECHO_T}$ac_cv_func_shmat" >&6
10646 if test $ac_cv_func_shmat = no; then
10647 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
10648 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
10649 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
10650 echo $ECHO_N "(cached) $ECHO_C" >&6
10652 ac_check_lib_save_LIBS=$LIBS
10654 cat >conftest.$ac_ext <<_ACEOF
10657 cat confdefs.h >>conftest.$ac_ext
10658 cat >>conftest.$ac_ext <<_ACEOF
10659 /* end confdefs.h. */
10661 /* Override any gcc2 internal prototype to avoid an error. */
10665 /* We use char because int might match the return type of a gcc2
10666 builtin and then its argument prototype would still apply. */
10676 rm -f conftest.$ac_objext conftest$ac_exeext
10677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10678 (eval $ac_link) 2>conftest.er1
10680 grep -v '^ *+' conftest.er1 >conftest.err
10682 cat conftest.err >&5
10683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10684 (exit $ac_status); } &&
10685 { ac_try='test -z "$ac_c_werror_flag"
10686 || test ! -s conftest.err'
10687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10688 (eval $ac_try) 2>&5
10690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); }; } &&
10692 { ac_try='test -s conftest$ac_exeext'
10693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10694 (eval $ac_try) 2>&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); }; }; then
10698 ac_cv_lib_ipc_shmat=yes
10700 echo "$as_me: failed program was:" >&5
10701 sed 's/^/| /' conftest.$ac_ext >&5
10703 ac_cv_lib_ipc_shmat=no
10705 rm -f conftest.err conftest.$ac_objext \
10706 conftest$ac_exeext conftest.$ac_ext
10707 LIBS=$ac_check_lib_save_LIBS
10709 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
10710 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
10711 if test $ac_cv_lib_ipc_shmat = yes; then
10712 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
10718 # Check for libraries that X11R6 Xt/Xaw programs need.
10719 ac_save_LDFLAGS=$LDFLAGS
10720 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
10721 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10722 # check for ICE first), but we must link in the order -lSM -lICE or
10723 # we get undefined symbols. So assume we have SM if we have ICE.
10724 # These have to be linked with before -lX11, unlike the other
10725 # libraries we check for below, so use a different variable.
10726 # John Interrante, Karl Berry
10727 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
10728 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
10729 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
10730 echo $ECHO_N "(cached) $ECHO_C" >&6
10732 ac_check_lib_save_LIBS=$LIBS
10733 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
10734 cat >conftest.$ac_ext <<_ACEOF
10737 cat confdefs.h >>conftest.$ac_ext
10738 cat >>conftest.$ac_ext <<_ACEOF
10739 /* end confdefs.h. */
10741 /* Override any gcc2 internal prototype to avoid an error. */
10745 /* We use char because int might match the return type of a gcc2
10746 builtin and then its argument prototype would still apply. */
10747 char IceConnectionNumber ();
10751 IceConnectionNumber ();
10756 rm -f conftest.$ac_objext conftest$ac_exeext
10757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10758 (eval $ac_link) 2>conftest.er1
10760 grep -v '^ *+' conftest.er1 >conftest.err
10762 cat conftest.err >&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); } &&
10765 { ac_try='test -z "$ac_c_werror_flag"
10766 || test ! -s conftest.err'
10767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10768 (eval $ac_try) 2>&5
10770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10771 (exit $ac_status); }; } &&
10772 { ac_try='test -s conftest$ac_exeext'
10773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10774 (eval $ac_try) 2>&5
10776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10777 (exit $ac_status); }; }; then
10778 ac_cv_lib_ICE_IceConnectionNumber=yes
10780 echo "$as_me: failed program was:" >&5
10781 sed 's/^/| /' conftest.$ac_ext >&5
10783 ac_cv_lib_ICE_IceConnectionNumber=no
10785 rm -f conftest.err conftest.$ac_objext \
10786 conftest$ac_exeext conftest.$ac_ext
10787 LIBS=$ac_check_lib_save_LIBS
10789 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
10790 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
10791 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
10792 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
10795 LDFLAGS=$ac_save_LDFLAGS
10857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10859 echo "$as_me:$LINENO: checking for $ac_header" >&5
10860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10862 echo $ECHO_N "(cached) $ECHO_C" >&6
10864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10867 # Is the header compilable?
10868 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10869 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10870 cat >conftest.$ac_ext <<_ACEOF
10873 cat confdefs.h >>conftest.$ac_ext
10874 cat >>conftest.$ac_ext <<_ACEOF
10875 /* end confdefs.h. */
10876 $ac_includes_default
10877 #include <$ac_header>
10879 rm -f conftest.$ac_objext
10880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10881 (eval $ac_compile) 2>conftest.er1
10883 grep -v '^ *+' conftest.er1 >conftest.err
10885 cat conftest.err >&5
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); } &&
10888 { ac_try='test -z "$ac_c_werror_flag"
10889 || test ! -s conftest.err'
10890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10891 (eval $ac_try) 2>&5
10893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10894 (exit $ac_status); }; } &&
10895 { ac_try='test -s conftest.$ac_objext'
10896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10897 (eval $ac_try) 2>&5
10899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); }; }; then
10901 ac_header_compiler=yes
10903 echo "$as_me: failed program was:" >&5
10904 sed 's/^/| /' conftest.$ac_ext >&5
10906 ac_header_compiler=no
10908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10910 echo "${ECHO_T}$ac_header_compiler" >&6
10912 # Is the header present?
10913 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10915 cat >conftest.$ac_ext <<_ACEOF
10918 cat confdefs.h >>conftest.$ac_ext
10919 cat >>conftest.$ac_ext <<_ACEOF
10920 /* end confdefs.h. */
10921 #include <$ac_header>
10923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10926 grep -v '^ *+' conftest.er1 >conftest.err
10928 cat conftest.err >&5
10929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10930 (exit $ac_status); } >/dev/null; then
10931 if test -s conftest.err; then
10932 ac_cpp_err=$ac_c_preproc_warn_flag
10933 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10940 if test -z "$ac_cpp_err"; then
10941 ac_header_preproc=yes
10943 echo "$as_me: failed program was:" >&5
10944 sed 's/^/| /' conftest.$ac_ext >&5
10946 ac_header_preproc=no
10948 rm -f conftest.err conftest.$ac_ext
10949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10950 echo "${ECHO_T}$ac_header_preproc" >&6
10952 # So? What about this header?
10953 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10956 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10958 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10959 ac_header_preproc=yes
10962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10966 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10967 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10968 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10969 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10972 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10976 ## ------------------------------------------ ##
10977 ## Report this to the AC_PACKAGE_NAME lists. ##
10978 ## ------------------------------------------ ##
10981 sed "s/^/$as_me: WARNING: /" >&2
10984 echo "$as_me:$LINENO: checking for $ac_header" >&5
10985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10987 echo $ECHO_N "(cached) $ECHO_C" >&6
10989 eval "$as_ac_Header=\$ac_header_preproc"
10991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10996 cat >>confdefs.h <<_ACEOF
10997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11004 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
11005 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
11006 if test "${ac_cv_header_stdc+set}" = set; then
11007 echo $ECHO_N "(cached) $ECHO_C" >&6
11009 cat >conftest.$ac_ext <<_ACEOF
11012 cat confdefs.h >>conftest.$ac_ext
11013 cat >>conftest.$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11015 #include <stdlib.h>
11016 #include <stdarg.h>
11017 #include <string.h>
11028 rm -f conftest.$ac_objext
11029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11030 (eval $ac_compile) 2>conftest.er1
11032 grep -v '^ *+' conftest.er1 >conftest.err
11034 cat conftest.err >&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); } &&
11037 { ac_try='test -z "$ac_c_werror_flag"
11038 || test ! -s conftest.err'
11039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11040 (eval $ac_try) 2>&5
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); }; } &&
11044 { ac_try='test -s conftest.$ac_objext'
11045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11046 (eval $ac_try) 2>&5
11048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11049 (exit $ac_status); }; }; then
11050 ac_cv_header_stdc=yes
11052 echo "$as_me: failed program was:" >&5
11053 sed 's/^/| /' conftest.$ac_ext >&5
11055 ac_cv_header_stdc=no
11057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11059 if test $ac_cv_header_stdc = yes; then
11060 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11061 cat >conftest.$ac_ext <<_ACEOF
11064 cat confdefs.h >>conftest.$ac_ext
11065 cat >>conftest.$ac_ext <<_ACEOF
11066 /* end confdefs.h. */
11067 #include <string.h>
11070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11071 $EGREP "memchr" >/dev/null 2>&1; then
11074 ac_cv_header_stdc=no
11080 if test $ac_cv_header_stdc = yes; then
11081 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11082 cat >conftest.$ac_ext <<_ACEOF
11085 cat confdefs.h >>conftest.$ac_ext
11086 cat >>conftest.$ac_ext <<_ACEOF
11087 /* end confdefs.h. */
11088 #include <stdlib.h>
11091 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11092 $EGREP "free" >/dev/null 2>&1; then
11095 ac_cv_header_stdc=no
11101 if test $ac_cv_header_stdc = yes; then
11102 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11103 if test "$cross_compiling" = yes; then
11106 cat >conftest.$ac_ext <<_ACEOF
11109 cat confdefs.h >>conftest.$ac_ext
11110 cat >>conftest.$ac_ext <<_ACEOF
11111 /* end confdefs.h. */
11113 #if ((' ' & 0x0FF) == 0x020)
11114 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11115 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11117 # define ISLOWER(c) \
11118 (('a' <= (c) && (c) <= 'i') \
11119 || ('j' <= (c) && (c) <= 'r') \
11120 || ('s' <= (c) && (c) <= 'z'))
11121 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11124 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11129 for (i = 0; i < 256; i++)
11130 if (XOR (islower (i), ISLOWER (i))
11131 || toupper (i) != TOUPPER (i))
11136 rm -f conftest$ac_exeext
11137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11138 (eval $ac_link) 2>&5
11140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11141 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11143 (eval $ac_try) 2>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); }; }; then
11149 echo "$as_me: program exited with status $ac_status" >&5
11150 echo "$as_me: failed program was:" >&5
11151 sed 's/^/| /' conftest.$ac_ext >&5
11153 ( exit $ac_status )
11154 ac_cv_header_stdc=no
11156 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11160 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
11161 echo "${ECHO_T}$ac_cv_header_stdc" >&6
11162 if test $ac_cv_header_stdc = yes; then
11164 cat >>confdefs.h <<\_ACEOF
11165 #define STDC_HEADERS 1
11170 echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5
11171 echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6
11172 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
11173 echo $ECHO_N "(cached) $ECHO_C" >&6
11175 cat >conftest.$ac_ext <<_ACEOF
11178 cat confdefs.h >>conftest.$ac_ext
11179 cat >>conftest.$ac_ext <<_ACEOF
11180 /* end confdefs.h. */
11181 #include <sys/types.h>
11185 return makedev(0, 0);
11190 rm -f conftest.$ac_objext conftest$ac_exeext
11191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11192 (eval $ac_link) 2>conftest.er1
11194 grep -v '^ *+' conftest.er1 >conftest.err
11196 cat conftest.err >&5
11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198 (exit $ac_status); } &&
11199 { ac_try='test -z "$ac_c_werror_flag"
11200 || test ! -s conftest.err'
11201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11202 (eval $ac_try) 2>&5
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); }; } &&
11206 { ac_try='test -s conftest$ac_exeext'
11207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11208 (eval $ac_try) 2>&5
11210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11211 (exit $ac_status); }; }; then
11212 ac_cv_header_sys_types_h_makedev=yes
11214 echo "$as_me: failed program was:" >&5
11215 sed 's/^/| /' conftest.$ac_ext >&5
11217 ac_cv_header_sys_types_h_makedev=no
11219 rm -f conftest.err conftest.$ac_objext \
11220 conftest$ac_exeext conftest.$ac_ext
11223 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5
11224 echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6
11226 if test $ac_cv_header_sys_types_h_makedev = no; then
11227 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
11228 echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
11229 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
11230 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
11231 echo $ECHO_N "(cached) $ECHO_C" >&6
11233 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
11234 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
11236 # Is the header compilable?
11237 echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5
11238 echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6
11239 cat >conftest.$ac_ext <<_ACEOF
11242 cat confdefs.h >>conftest.$ac_ext
11243 cat >>conftest.$ac_ext <<_ACEOF
11244 /* end confdefs.h. */
11245 $ac_includes_default
11246 #include <sys/mkdev.h>
11248 rm -f conftest.$ac_objext
11249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11250 (eval $ac_compile) 2>conftest.er1
11252 grep -v '^ *+' conftest.er1 >conftest.err
11254 cat conftest.err >&5
11255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11256 (exit $ac_status); } &&
11257 { ac_try='test -z "$ac_c_werror_flag"
11258 || test ! -s conftest.err'
11259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11260 (eval $ac_try) 2>&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); }; } &&
11264 { ac_try='test -s conftest.$ac_objext'
11265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11266 (eval $ac_try) 2>&5
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); }; }; then
11270 ac_header_compiler=yes
11272 echo "$as_me: failed program was:" >&5
11273 sed 's/^/| /' conftest.$ac_ext >&5
11275 ac_header_compiler=no
11277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11279 echo "${ECHO_T}$ac_header_compiler" >&6
11281 # Is the header present?
11282 echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5
11283 echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6
11284 cat >conftest.$ac_ext <<_ACEOF
11287 cat confdefs.h >>conftest.$ac_ext
11288 cat >>conftest.$ac_ext <<_ACEOF
11289 /* end confdefs.h. */
11290 #include <sys/mkdev.h>
11292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11295 grep -v '^ *+' conftest.er1 >conftest.err
11297 cat conftest.err >&5
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); } >/dev/null; then
11300 if test -s conftest.err; then
11301 ac_cpp_err=$ac_c_preproc_warn_flag
11302 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11309 if test -z "$ac_cpp_err"; then
11310 ac_header_preproc=yes
11312 echo "$as_me: failed program was:" >&5
11313 sed 's/^/| /' conftest.$ac_ext >&5
11315 ac_header_preproc=no
11317 rm -f conftest.err conftest.$ac_ext
11318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11319 echo "${ECHO_T}$ac_header_preproc" >&6
11321 # So? What about this header?
11322 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11324 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5
11325 echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11326 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&5
11327 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the compiler's result" >&2;}
11328 ac_header_preproc=yes
11331 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5
11332 echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;}
11333 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&5
11334 echo "$as_me: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&2;}
11335 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: see the Autoconf documentation" >&5
11336 echo "$as_me: WARNING: sys/mkdev.h: see the Autoconf documentation" >&2;}
11337 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&5
11338 echo "$as_me: WARNING: sys/mkdev.h: section \"Present But Cannot Be Compiled\"" >&2;}
11339 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
11340 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
11341 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&5
11342 echo "$as_me: WARNING: sys/mkdev.h: in the future, the compiler will take precedence" >&2;}
11345 ## ------------------------------------------ ##
11346 ## Report this to the AC_PACKAGE_NAME lists. ##
11347 ## ------------------------------------------ ##
11350 sed "s/^/$as_me: WARNING: /" >&2
11353 echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
11354 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
11355 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
11356 echo $ECHO_N "(cached) $ECHO_C" >&6
11358 ac_cv_header_sys_mkdev_h=$ac_header_preproc
11360 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
11361 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
11364 if test $ac_cv_header_sys_mkdev_h = yes; then
11366 cat >>confdefs.h <<\_ACEOF
11367 #define MAJOR_IN_MKDEV 1
11374 if test $ac_cv_header_sys_mkdev_h = no; then
11375 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
11376 echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
11377 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
11378 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
11379 echo $ECHO_N "(cached) $ECHO_C" >&6
11381 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
11382 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
11384 # Is the header compilable?
11385 echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5
11386 echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6
11387 cat >conftest.$ac_ext <<_ACEOF
11390 cat confdefs.h >>conftest.$ac_ext
11391 cat >>conftest.$ac_ext <<_ACEOF
11392 /* end confdefs.h. */
11393 $ac_includes_default
11394 #include <sys/sysmacros.h>
11396 rm -f conftest.$ac_objext
11397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11398 (eval $ac_compile) 2>conftest.er1
11400 grep -v '^ *+' conftest.er1 >conftest.err
11402 cat conftest.err >&5
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); } &&
11405 { ac_try='test -z "$ac_c_werror_flag"
11406 || test ! -s conftest.err'
11407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11408 (eval $ac_try) 2>&5
11410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411 (exit $ac_status); }; } &&
11412 { ac_try='test -s conftest.$ac_objext'
11413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11414 (eval $ac_try) 2>&5
11416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11417 (exit $ac_status); }; }; then
11418 ac_header_compiler=yes
11420 echo "$as_me: failed program was:" >&5
11421 sed 's/^/| /' conftest.$ac_ext >&5
11423 ac_header_compiler=no
11425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11426 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11427 echo "${ECHO_T}$ac_header_compiler" >&6
11429 # Is the header present?
11430 echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5
11431 echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6
11432 cat >conftest.$ac_ext <<_ACEOF
11435 cat confdefs.h >>conftest.$ac_ext
11436 cat >>conftest.$ac_ext <<_ACEOF
11437 /* end confdefs.h. */
11438 #include <sys/sysmacros.h>
11440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11441 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11443 grep -v '^ *+' conftest.er1 >conftest.err
11445 cat conftest.err >&5
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 (exit $ac_status); } >/dev/null; then
11448 if test -s conftest.err; then
11449 ac_cpp_err=$ac_c_preproc_warn_flag
11450 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11457 if test -z "$ac_cpp_err"; then
11458 ac_header_preproc=yes
11460 echo "$as_me: failed program was:" >&5
11461 sed 's/^/| /' conftest.$ac_ext >&5
11463 ac_header_preproc=no
11465 rm -f conftest.err conftest.$ac_ext
11466 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11467 echo "${ECHO_T}$ac_header_preproc" >&6
11469 # So? What about this header?
11470 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11472 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5
11473 echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11474 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&5
11475 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the compiler's result" >&2;}
11476 ac_header_preproc=yes
11479 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5
11480 echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;}
11481 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&5
11482 echo "$as_me: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&2;}
11483 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&5
11484 echo "$as_me: WARNING: sys/sysmacros.h: see the Autoconf documentation" >&2;}
11485 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&5
11486 echo "$as_me: WARNING: sys/sysmacros.h: section \"Present But Cannot Be Compiled\"" >&2;}
11487 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
11488 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
11489 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&5
11490 echo "$as_me: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence" >&2;}
11493 ## ------------------------------------------ ##
11494 ## Report this to the AC_PACKAGE_NAME lists. ##
11495 ## ------------------------------------------ ##
11498 sed "s/^/$as_me: WARNING: /" >&2
11501 echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
11502 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
11503 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
11504 echo $ECHO_N "(cached) $ECHO_C" >&6
11506 ac_cv_header_sys_sysmacros_h=$ac_header_preproc
11508 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
11509 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
11512 if test $ac_cv_header_sys_sysmacros_h = yes; then
11514 cat >>confdefs.h <<\_ACEOF
11515 #define MAJOR_IN_SYSMACROS 1
11529 ac_header_dirent=no
11530 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
11531 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
11532 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
11533 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
11534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11535 echo $ECHO_N "(cached) $ECHO_C" >&6
11537 cat >conftest.$ac_ext <<_ACEOF
11540 cat confdefs.h >>conftest.$ac_ext
11541 cat >>conftest.$ac_ext <<_ACEOF
11542 /* end confdefs.h. */
11543 #include <sys/types.h>
11555 rm -f conftest.$ac_objext
11556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11557 (eval $ac_compile) 2>conftest.er1
11559 grep -v '^ *+' conftest.er1 >conftest.err
11561 cat conftest.err >&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); } &&
11564 { ac_try='test -z "$ac_c_werror_flag"
11565 || test ! -s conftest.err'
11566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11567 (eval $ac_try) 2>&5
11569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11570 (exit $ac_status); }; } &&
11571 { ac_try='test -s conftest.$ac_objext'
11572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11573 (eval $ac_try) 2>&5
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); }; }; then
11577 eval "$as_ac_Header=yes"
11579 echo "$as_me: failed program was:" >&5
11580 sed 's/^/| /' conftest.$ac_ext >&5
11582 eval "$as_ac_Header=no"
11584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11589 cat >>confdefs.h <<_ACEOF
11590 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
11593 ac_header_dirent=$ac_hdr; break
11597 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
11598 if test $ac_header_dirent = dirent.h; then
11599 echo "$as_me:$LINENO: checking for library containing opendir" >&5
11600 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
11601 if test "${ac_cv_search_opendir+set}" = set; then
11602 echo $ECHO_N "(cached) $ECHO_C" >&6
11604 ac_func_search_save_LIBS=$LIBS
11605 ac_cv_search_opendir=no
11606 cat >conftest.$ac_ext <<_ACEOF
11609 cat confdefs.h >>conftest.$ac_ext
11610 cat >>conftest.$ac_ext <<_ACEOF
11611 /* end confdefs.h. */
11613 /* Override any gcc2 internal prototype to avoid an error. */
11617 /* We use char because int might match the return type of a gcc2
11618 builtin and then its argument prototype would still apply. */
11628 rm -f conftest.$ac_objext conftest$ac_exeext
11629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11630 (eval $ac_link) 2>conftest.er1
11632 grep -v '^ *+' conftest.er1 >conftest.err
11634 cat conftest.err >&5
11635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11636 (exit $ac_status); } &&
11637 { ac_try='test -z "$ac_c_werror_flag"
11638 || test ! -s conftest.err'
11639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11640 (eval $ac_try) 2>&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); }; } &&
11644 { ac_try='test -s conftest$ac_exeext'
11645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11646 (eval $ac_try) 2>&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); }; }; then
11650 ac_cv_search_opendir="none required"
11652 echo "$as_me: failed program was:" >&5
11653 sed 's/^/| /' conftest.$ac_ext >&5
11656 rm -f conftest.err conftest.$ac_objext \
11657 conftest$ac_exeext conftest.$ac_ext
11658 if test "$ac_cv_search_opendir" = no; then
11659 for ac_lib in dir; do
11660 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11661 cat >conftest.$ac_ext <<_ACEOF
11664 cat confdefs.h >>conftest.$ac_ext
11665 cat >>conftest.$ac_ext <<_ACEOF
11666 /* end confdefs.h. */
11668 /* Override any gcc2 internal prototype to avoid an error. */
11672 /* We use char because int might match the return type of a gcc2
11673 builtin and then its argument prototype would still apply. */
11683 rm -f conftest.$ac_objext conftest$ac_exeext
11684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11685 (eval $ac_link) 2>conftest.er1
11687 grep -v '^ *+' conftest.er1 >conftest.err
11689 cat conftest.err >&5
11690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11691 (exit $ac_status); } &&
11692 { ac_try='test -z "$ac_c_werror_flag"
11693 || test ! -s conftest.err'
11694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11695 (eval $ac_try) 2>&5
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); }; } &&
11699 { ac_try='test -s conftest$ac_exeext'
11700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11701 (eval $ac_try) 2>&5
11703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11704 (exit $ac_status); }; }; then
11705 ac_cv_search_opendir="-l$ac_lib"
11708 echo "$as_me: failed program was:" >&5
11709 sed 's/^/| /' conftest.$ac_ext >&5
11712 rm -f conftest.err conftest.$ac_objext \
11713 conftest$ac_exeext conftest.$ac_ext
11716 LIBS=$ac_func_search_save_LIBS
11718 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11719 echo "${ECHO_T}$ac_cv_search_opendir" >&6
11720 if test "$ac_cv_search_opendir" != no; then
11721 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
11726 echo "$as_me:$LINENO: checking for library containing opendir" >&5
11727 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
11728 if test "${ac_cv_search_opendir+set}" = set; then
11729 echo $ECHO_N "(cached) $ECHO_C" >&6
11731 ac_func_search_save_LIBS=$LIBS
11732 ac_cv_search_opendir=no
11733 cat >conftest.$ac_ext <<_ACEOF
11736 cat confdefs.h >>conftest.$ac_ext
11737 cat >>conftest.$ac_ext <<_ACEOF
11738 /* end confdefs.h. */
11740 /* Override any gcc2 internal prototype to avoid an error. */
11744 /* We use char because int might match the return type of a gcc2
11745 builtin and then its argument prototype would still apply. */
11755 rm -f conftest.$ac_objext conftest$ac_exeext
11756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11757 (eval $ac_link) 2>conftest.er1
11759 grep -v '^ *+' conftest.er1 >conftest.err
11761 cat conftest.err >&5
11762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11763 (exit $ac_status); } &&
11764 { ac_try='test -z "$ac_c_werror_flag"
11765 || test ! -s conftest.err'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; } &&
11771 { ac_try='test -s conftest$ac_exeext'
11772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11773 (eval $ac_try) 2>&5
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); }; }; then
11777 ac_cv_search_opendir="none required"
11779 echo "$as_me: failed program was:" >&5
11780 sed 's/^/| /' conftest.$ac_ext >&5
11783 rm -f conftest.err conftest.$ac_objext \
11784 conftest$ac_exeext conftest.$ac_ext
11785 if test "$ac_cv_search_opendir" = no; then
11786 for ac_lib in x; do
11787 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11788 cat >conftest.$ac_ext <<_ACEOF
11791 cat confdefs.h >>conftest.$ac_ext
11792 cat >>conftest.$ac_ext <<_ACEOF
11793 /* end confdefs.h. */
11795 /* Override any gcc2 internal prototype to avoid an error. */
11799 /* We use char because int might match the return type of a gcc2
11800 builtin and then its argument prototype would still apply. */
11810 rm -f conftest.$ac_objext conftest$ac_exeext
11811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11812 (eval $ac_link) 2>conftest.er1
11814 grep -v '^ *+' conftest.er1 >conftest.err
11816 cat conftest.err >&5
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); } &&
11819 { ac_try='test -z "$ac_c_werror_flag"
11820 || test ! -s conftest.err'
11821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11822 (eval $ac_try) 2>&5
11824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825 (exit $ac_status); }; } &&
11826 { ac_try='test -s conftest$ac_exeext'
11827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11828 (eval $ac_try) 2>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); }; }; then
11832 ac_cv_search_opendir="-l$ac_lib"
11835 echo "$as_me: failed program was:" >&5
11836 sed 's/^/| /' conftest.$ac_ext >&5
11839 rm -f conftest.err conftest.$ac_objext \
11840 conftest$ac_exeext conftest.$ac_ext
11843 LIBS=$ac_func_search_save_LIBS
11845 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11846 echo "${ECHO_T}$ac_cv_search_opendir" >&6
11847 if test "$ac_cv_search_opendir" != no; then
11848 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
11854 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
11855 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
11856 if test "${ac_cv_header_stat_broken+set}" = set; then
11857 echo $ECHO_N "(cached) $ECHO_C" >&6
11859 cat >conftest.$ac_ext <<_ACEOF
11862 cat confdefs.h >>conftest.$ac_ext
11863 cat >>conftest.$ac_ext <<_ACEOF
11864 /* end confdefs.h. */
11865 #include <sys/types.h>
11866 #include <sys/stat.h>
11868 #if defined(S_ISBLK) && defined(S_IFDIR)
11869 # if S_ISBLK (S_IFDIR)
11874 #if defined(S_ISBLK) && defined(S_IFCHR)
11875 # if S_ISBLK (S_IFCHR)
11880 #if defined(S_ISLNK) && defined(S_IFREG)
11881 # if S_ISLNK (S_IFREG)
11886 #if defined(S_ISSOCK) && defined(S_IFREG)
11887 # if S_ISSOCK (S_IFREG)
11893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11894 $EGREP "You lose" >/dev/null 2>&1; then
11895 ac_cv_header_stat_broken=yes
11897 ac_cv_header_stat_broken=no
11902 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
11903 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
11904 if test $ac_cv_header_stat_broken = yes; then
11906 cat >>confdefs.h <<\_ACEOF
11907 #define STAT_MACROS_BROKEN 1
11912 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
11913 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
11914 if test "${ac_cv_header_sys_wait_h+set}" = set; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11917 cat >conftest.$ac_ext <<_ACEOF
11920 cat confdefs.h >>conftest.$ac_ext
11921 cat >>conftest.$ac_ext <<_ACEOF
11922 /* end confdefs.h. */
11923 #include <sys/types.h>
11924 #include <sys/wait.h>
11925 #ifndef WEXITSTATUS
11926 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
11929 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
11937 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
11942 rm -f conftest.$ac_objext
11943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11944 (eval $ac_compile) 2>conftest.er1
11946 grep -v '^ *+' conftest.er1 >conftest.err
11948 cat conftest.err >&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); } &&
11951 { ac_try='test -z "$ac_c_werror_flag"
11952 || test ! -s conftest.err'
11953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11954 (eval $ac_try) 2>&5
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); }; } &&
11958 { ac_try='test -s conftest.$ac_objext'
11959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11960 (eval $ac_try) 2>&5
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); }; }; then
11964 ac_cv_header_sys_wait_h=yes
11966 echo "$as_me: failed program was:" >&5
11967 sed 's/^/| /' conftest.$ac_ext >&5
11969 ac_cv_header_sys_wait_h=no
11971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11973 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
11974 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
11975 if test $ac_cv_header_sys_wait_h = yes; then
11977 cat >>confdefs.h <<\_ACEOF
11978 #define HAVE_SYS_WAIT_H 1
11983 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
11984 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
11985 if test "${ac_cv_header_time+set}" = set; then
11986 echo $ECHO_N "(cached) $ECHO_C" >&6
11988 cat >conftest.$ac_ext <<_ACEOF
11991 cat confdefs.h >>conftest.$ac_ext
11992 cat >>conftest.$ac_ext <<_ACEOF
11993 /* end confdefs.h. */
11994 #include <sys/types.h>
11995 #include <sys/time.h>
12001 if ((struct tm *) 0)
12007 rm -f conftest.$ac_objext
12008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12009 (eval $ac_compile) 2>conftest.er1
12011 grep -v '^ *+' conftest.er1 >conftest.err
12013 cat conftest.err >&5
12014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015 (exit $ac_status); } &&
12016 { ac_try='test -z "$ac_c_werror_flag"
12017 || test ! -s conftest.err'
12018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12019 (eval $ac_try) 2>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); }; } &&
12023 { ac_try='test -s conftest.$ac_objext'
12024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12025 (eval $ac_try) 2>&5
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); }; }; then
12029 ac_cv_header_time=yes
12031 echo "$as_me: failed program was:" >&5
12032 sed 's/^/| /' conftest.$ac_ext >&5
12034 ac_cv_header_time=no
12036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12038 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
12039 echo "${ECHO_T}$ac_cv_header_time" >&6
12040 if test $ac_cv_header_time = yes; then
12042 cat >>confdefs.h <<\_ACEOF
12043 #define TIME_WITH_SYS_TIME 1
12049 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
12050 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
12051 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12054 cat >conftest.$ac_ext <<_ACEOF
12057 cat confdefs.h >>conftest.$ac_ext
12058 cat >>conftest.$ac_ext <<_ACEOF
12059 /* end confdefs.h. */
12060 $ac_includes_default
12064 static struct stat ac_aggr;
12065 if (ac_aggr.st_blksize)
12071 rm -f conftest.$ac_objext
12072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12073 (eval $ac_compile) 2>conftest.er1
12075 grep -v '^ *+' conftest.er1 >conftest.err
12077 cat conftest.err >&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } &&
12080 { ac_try='test -z "$ac_c_werror_flag"
12081 || test ! -s conftest.err'
12082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12083 (eval $ac_try) 2>&5
12085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12086 (exit $ac_status); }; } &&
12087 { ac_try='test -s conftest.$ac_objext'
12088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12089 (eval $ac_try) 2>&5
12091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092 (exit $ac_status); }; }; then
12093 ac_cv_member_struct_stat_st_blksize=yes
12095 echo "$as_me: failed program was:" >&5
12096 sed 's/^/| /' conftest.$ac_ext >&5
12098 cat >conftest.$ac_ext <<_ACEOF
12101 cat confdefs.h >>conftest.$ac_ext
12102 cat >>conftest.$ac_ext <<_ACEOF
12103 /* end confdefs.h. */
12104 $ac_includes_default
12108 static struct stat ac_aggr;
12109 if (sizeof ac_aggr.st_blksize)
12115 rm -f conftest.$ac_objext
12116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12117 (eval $ac_compile) 2>conftest.er1
12119 grep -v '^ *+' conftest.er1 >conftest.err
12121 cat conftest.err >&5
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } &&
12124 { ac_try='test -z "$ac_c_werror_flag"
12125 || test ! -s conftest.err'
12126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12127 (eval $ac_try) 2>&5
12129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12130 (exit $ac_status); }; } &&
12131 { ac_try='test -s conftest.$ac_objext'
12132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12133 (eval $ac_try) 2>&5
12135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); }; }; then
12137 ac_cv_member_struct_stat_st_blksize=yes
12139 echo "$as_me: failed program was:" >&5
12140 sed 's/^/| /' conftest.$ac_ext >&5
12142 ac_cv_member_struct_stat_st_blksize=no
12144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12148 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
12149 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
12150 if test $ac_cv_member_struct_stat_st_blksize = yes; then
12152 cat >>confdefs.h <<_ACEOF
12153 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
12157 cat >>confdefs.h <<\_ACEOF
12158 #define HAVE_ST_BLKSIZE 1
12164 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
12165 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
12166 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
12167 echo $ECHO_N "(cached) $ECHO_C" >&6
12169 cat >conftest.$ac_ext <<_ACEOF
12172 cat confdefs.h >>conftest.$ac_ext
12173 cat >>conftest.$ac_ext <<_ACEOF
12174 /* end confdefs.h. */
12175 $ac_includes_default
12179 static struct stat ac_aggr;
12180 if (ac_aggr.st_blocks)
12186 rm -f conftest.$ac_objext
12187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12188 (eval $ac_compile) 2>conftest.er1
12190 grep -v '^ *+' conftest.er1 >conftest.err
12192 cat conftest.err >&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); } &&
12195 { ac_try='test -z "$ac_c_werror_flag"
12196 || test ! -s conftest.err'
12197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198 (eval $ac_try) 2>&5
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); }; } &&
12202 { ac_try='test -s conftest.$ac_objext'
12203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12204 (eval $ac_try) 2>&5
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 (exit $ac_status); }; }; then
12208 ac_cv_member_struct_stat_st_blocks=yes
12210 echo "$as_me: failed program was:" >&5
12211 sed 's/^/| /' conftest.$ac_ext >&5
12213 cat >conftest.$ac_ext <<_ACEOF
12216 cat confdefs.h >>conftest.$ac_ext
12217 cat >>conftest.$ac_ext <<_ACEOF
12218 /* end confdefs.h. */
12219 $ac_includes_default
12223 static struct stat ac_aggr;
12224 if (sizeof ac_aggr.st_blocks)
12230 rm -f conftest.$ac_objext
12231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12232 (eval $ac_compile) 2>conftest.er1
12234 grep -v '^ *+' conftest.er1 >conftest.err
12236 cat conftest.err >&5
12237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12238 (exit $ac_status); } &&
12239 { ac_try='test -z "$ac_c_werror_flag"
12240 || test ! -s conftest.err'
12241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12242 (eval $ac_try) 2>&5
12244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12245 (exit $ac_status); }; } &&
12246 { ac_try='test -s conftest.$ac_objext'
12247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12248 (eval $ac_try) 2>&5
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); }; }; then
12252 ac_cv_member_struct_stat_st_blocks=yes
12254 echo "$as_me: failed program was:" >&5
12255 sed 's/^/| /' conftest.$ac_ext >&5
12257 ac_cv_member_struct_stat_st_blocks=no
12259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12263 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
12264 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
12265 if test $ac_cv_member_struct_stat_st_blocks = yes; then
12267 cat >>confdefs.h <<_ACEOF
12268 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
12272 cat >>confdefs.h <<\_ACEOF
12273 #define HAVE_ST_BLOCKS 1
12278 "fileblocks.$ac_objext" | \
12279 *" fileblocks.$ac_objext" | \
12280 "fileblocks.$ac_objext "* | \
12281 *" fileblocks.$ac_objext "* ) ;;
12282 *) LIBOBJS="$LIBOBJS fileblocks.$ac_objext" ;;
12288 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
12289 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
12290 if test "${ac_cv_struct_tm+set}" = set; then
12291 echo $ECHO_N "(cached) $ECHO_C" >&6
12293 cat >conftest.$ac_ext <<_ACEOF
12296 cat confdefs.h >>conftest.$ac_ext
12297 cat >>conftest.$ac_ext <<_ACEOF
12298 /* end confdefs.h. */
12299 #include <sys/types.h>
12305 struct tm *tp; tp->tm_sec;
12310 rm -f conftest.$ac_objext
12311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12312 (eval $ac_compile) 2>conftest.er1
12314 grep -v '^ *+' conftest.er1 >conftest.err
12316 cat conftest.err >&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); } &&
12319 { ac_try='test -z "$ac_c_werror_flag"
12320 || test ! -s conftest.err'
12321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12322 (eval $ac_try) 2>&5
12324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12325 (exit $ac_status); }; } &&
12326 { ac_try='test -s conftest.$ac_objext'
12327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12328 (eval $ac_try) 2>&5
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); }; }; then
12332 ac_cv_struct_tm=time.h
12334 echo "$as_me: failed program was:" >&5
12335 sed 's/^/| /' conftest.$ac_ext >&5
12337 ac_cv_struct_tm=sys/time.h
12339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12341 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
12342 echo "${ECHO_T}$ac_cv_struct_tm" >&6
12343 if test $ac_cv_struct_tm = sys/time.h; then
12345 cat >>confdefs.h <<\_ACEOF
12346 #define TM_IN_SYS_TIME 1
12351 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
12352 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
12353 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
12354 echo $ECHO_N "(cached) $ECHO_C" >&6
12356 cat >conftest.$ac_ext <<_ACEOF
12359 cat confdefs.h >>conftest.$ac_ext
12360 cat >>conftest.$ac_ext <<_ACEOF
12361 /* end confdefs.h. */
12362 #include <sys/types.h>
12363 #include <$ac_cv_struct_tm>
12369 static struct tm ac_aggr;
12370 if (ac_aggr.tm_zone)
12376 rm -f conftest.$ac_objext
12377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12378 (eval $ac_compile) 2>conftest.er1
12380 grep -v '^ *+' conftest.er1 >conftest.err
12382 cat conftest.err >&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try='test -z "$ac_c_werror_flag"
12386 || test ! -s conftest.err'
12387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12388 (eval $ac_try) 2>&5
12390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12391 (exit $ac_status); }; } &&
12392 { ac_try='test -s conftest.$ac_objext'
12393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12394 (eval $ac_try) 2>&5
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); }; }; then
12398 ac_cv_member_struct_tm_tm_zone=yes
12400 echo "$as_me: failed program was:" >&5
12401 sed 's/^/| /' conftest.$ac_ext >&5
12403 cat >conftest.$ac_ext <<_ACEOF
12406 cat confdefs.h >>conftest.$ac_ext
12407 cat >>conftest.$ac_ext <<_ACEOF
12408 /* end confdefs.h. */
12409 #include <sys/types.h>
12410 #include <$ac_cv_struct_tm>
12416 static struct tm ac_aggr;
12417 if (sizeof ac_aggr.tm_zone)
12423 rm -f conftest.$ac_objext
12424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12425 (eval $ac_compile) 2>conftest.er1
12427 grep -v '^ *+' conftest.er1 >conftest.err
12429 cat conftest.err >&5
12430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12431 (exit $ac_status); } &&
12432 { ac_try='test -z "$ac_c_werror_flag"
12433 || test ! -s conftest.err'
12434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12435 (eval $ac_try) 2>&5
12437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12438 (exit $ac_status); }; } &&
12439 { ac_try='test -s conftest.$ac_objext'
12440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12441 (eval $ac_try) 2>&5
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); }; }; then
12445 ac_cv_member_struct_tm_tm_zone=yes
12447 echo "$as_me: failed program was:" >&5
12448 sed 's/^/| /' conftest.$ac_ext >&5
12450 ac_cv_member_struct_tm_tm_zone=no
12452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12456 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
12457 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
12458 if test $ac_cv_member_struct_tm_tm_zone = yes; then
12460 cat >>confdefs.h <<_ACEOF
12461 #define HAVE_STRUCT_TM_TM_ZONE 1
12467 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
12469 cat >>confdefs.h <<\_ACEOF
12470 #define HAVE_TM_ZONE 1
12474 echo "$as_me:$LINENO: checking for tzname" >&5
12475 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
12476 if test "${ac_cv_var_tzname+set}" = set; then
12477 echo $ECHO_N "(cached) $ECHO_C" >&6
12479 cat >conftest.$ac_ext <<_ACEOF
12482 cat confdefs.h >>conftest.$ac_ext
12483 cat >>conftest.$ac_ext <<_ACEOF
12484 /* end confdefs.h. */
12486 #ifndef tzname /* For SGI. */
12487 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
12498 rm -f conftest.$ac_objext conftest$ac_exeext
12499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12500 (eval $ac_link) 2>conftest.er1
12502 grep -v '^ *+' conftest.er1 >conftest.err
12504 cat conftest.err >&5
12505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); } &&
12507 { ac_try='test -z "$ac_c_werror_flag"
12508 || test ! -s conftest.err'
12509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12510 (eval $ac_try) 2>&5
12512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12513 (exit $ac_status); }; } &&
12514 { ac_try='test -s conftest$ac_exeext'
12515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12516 (eval $ac_try) 2>&5
12518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12519 (exit $ac_status); }; }; then
12520 ac_cv_var_tzname=yes
12522 echo "$as_me: failed program was:" >&5
12523 sed 's/^/| /' conftest.$ac_ext >&5
12525 ac_cv_var_tzname=no
12527 rm -f conftest.err conftest.$ac_objext \
12528 conftest$ac_exeext conftest.$ac_ext
12530 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
12531 echo "${ECHO_T}$ac_cv_var_tzname" >&6
12532 if test $ac_cv_var_tzname = yes; then
12534 cat >>confdefs.h <<\_ACEOF
12535 #define HAVE_TZNAME 1
12542 echo "$as_me:$LINENO: checking for utime.h" >&5
12543 echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
12544 if test "${ba_cv_header_utime_h+set}" = set; then
12545 echo $ECHO_N "(cached) $ECHO_C" >&6
12547 cat >conftest.$ac_ext <<_ACEOF
12550 cat confdefs.h >>conftest.$ac_ext
12551 cat >>conftest.$ac_ext <<_ACEOF
12552 /* end confdefs.h. */
12554 #include <sys/types.h>
12564 rm -f conftest.$ac_objext
12565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12566 (eval $ac_compile) 2>conftest.er1
12568 grep -v '^ *+' conftest.er1 >conftest.err
12570 cat conftest.err >&5
12571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12572 (exit $ac_status); } &&
12573 { ac_try='test -z "$ac_c_werror_flag"
12574 || test ! -s conftest.err'
12575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12576 (eval $ac_try) 2>&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); }; } &&
12580 { ac_try='test -s conftest.$ac_objext'
12581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12582 (eval $ac_try) 2>&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); }; }; then
12586 ba_cv_header_utime_h=yes
12588 echo "$as_me: failed program was:" >&5
12589 sed 's/^/| /' conftest.$ac_ext >&5
12591 ba_cv_header_utime_h=no
12593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12595 echo "$as_me:$LINENO: result: $ba_cv_header_utime_h" >&5
12596 echo "${ECHO_T}$ba_cv_header_utime_h" >&6
12597 test $ba_cv_header_utime_h = yes && cat >>confdefs.h <<\_ACEOF
12598 #define HAVE_UTIME_H 1
12602 echo "$as_me:$LINENO: checking for socklen_t" >&5
12603 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
12604 if test "${ba_cv_header_socklen_t+set}" = set; then
12605 echo $ECHO_N "(cached) $ECHO_C" >&6
12607 cat >conftest.$ac_ext <<_ACEOF
12610 cat confdefs.h >>conftest.$ac_ext
12611 cat >>conftest.$ac_ext <<_ACEOF
12612 /* end confdefs.h. */
12614 #include <sys/types.h>
12615 #include <sys/socket.h>
12624 rm -f conftest.$ac_objext
12625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12626 (eval $ac_compile) 2>conftest.er1
12628 grep -v '^ *+' conftest.er1 >conftest.err
12630 cat conftest.err >&5
12631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12632 (exit $ac_status); } &&
12633 { ac_try='test -z "$ac_c_werror_flag"
12634 || test ! -s conftest.err'
12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 (eval $ac_try) 2>&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; } &&
12640 { ac_try='test -s conftest.$ac_objext'
12641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12642 (eval $ac_try) 2>&5
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; }; then
12646 ba_cv_header_socklen_t=yes
12648 echo "$as_me: failed program was:" >&5
12649 sed 's/^/| /' conftest.$ac_ext >&5
12651 ba_cv_header_socklen_t=no
12653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12655 echo "$as_me:$LINENO: result: $ba_cv_header_socklen_t" >&5
12656 echo "${ECHO_T}$ba_cv_header_socklen_t" >&6
12657 test $ba_cv_header_socklen_t = yes && cat >>confdefs.h <<\_ACEOF
12658 #define HAVE_SOCKLEN_T 1
12662 echo "$as_me:$LINENO: checking for bigendian" >&5
12663 echo $ECHO_N "checking for bigendian... $ECHO_C" >&6
12664 if test "${ba_cv_bigendian+set}" = set; then
12665 echo $ECHO_N "(cached) $ECHO_C" >&6
12667 if test "$cross_compiling" = yes; then
12670 cat >conftest.$ac_ext <<_ACEOF
12673 cat confdefs.h >>conftest.$ac_ext
12674 cat >>conftest.$ac_ext <<_ACEOF
12675 /* end confdefs.h. */
12676 main(){long a=1L; char *p=(char *)&a; exit(*p);}
12678 rm -f conftest$ac_exeext
12679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12680 (eval $ac_link) 2>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12685 (eval $ac_try) 2>&5
12687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688 (exit $ac_status); }; }; then
12689 ba_cv_bigendian=yes
12691 echo "$as_me: program exited with status $ac_status" >&5
12692 echo "$as_me: failed program was:" >&5
12693 sed 's/^/| /' conftest.$ac_ext >&5
12695 ( exit $ac_status )
12698 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12701 echo "$as_me:$LINENO: result: $ba_cv_bigendian" >&5
12702 echo "${ECHO_T}$ba_cv_bigendian" >&6
12703 test $ba_cv_bigendian = yes && cat >>confdefs.h <<\_ACEOF
12704 #define HAVE_BIGENDIAN 1
12709 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
12710 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
12711 if test "${ac_cv_c_const+set}" = set; then
12712 echo $ECHO_N "(cached) $ECHO_C" >&6
12714 cat >conftest.$ac_ext <<_ACEOF
12717 cat confdefs.h >>conftest.$ac_ext
12718 cat >>conftest.$ac_ext <<_ACEOF
12719 /* end confdefs.h. */
12724 /* FIXME: Include the comments suggested by Paul. */
12725 #ifndef __cplusplus
12726 /* Ultrix mips cc rejects this. */
12727 typedef int charset[2];
12729 /* SunOS 4.1.1 cc rejects this. */
12730 char const *const *ccp;
12732 /* NEC SVR4.0.2 mips cc rejects this. */
12733 struct point {int x, y;};
12734 static struct point const zero = {0,0};
12735 /* AIX XL C 1.02.0.0 rejects this.
12736 It does not let you subtract one const X* pointer from another in
12737 an arm of an if-expression whose if-part is not a constant
12739 const char *g = "string";
12740 ccp = &g + (g ? g-g : 0);
12741 /* HPUX 7.0 cc rejects these. */
12744 ccp = (char const *const *) p;
12745 { /* SCO 3.2v4 cc rejects this. */
12747 char const *s = 0 ? (char *) 0 : (char const *) 0;
12751 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12752 int x[] = {25, 17};
12753 const int *foo = &x[0];
12756 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12757 typedef const int *iptr;
12761 { /* AIX XL C 1.02.0.0 rejects this saying
12762 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12763 struct s { int j; const int *ap[3]; };
12764 struct s *b; b->j = 5;
12766 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12767 const int foo = 10;
12775 rm -f conftest.$ac_objext
12776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12777 (eval $ac_compile) 2>conftest.er1
12779 grep -v '^ *+' conftest.er1 >conftest.err
12781 cat conftest.err >&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); } &&
12784 { ac_try='test -z "$ac_c_werror_flag"
12785 || test ! -s conftest.err'
12786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787 (eval $ac_try) 2>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); }; } &&
12791 { ac_try='test -s conftest.$ac_objext'
12792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12793 (eval $ac_try) 2>&5
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); }; }; then
12799 echo "$as_me: failed program was:" >&5
12800 sed 's/^/| /' conftest.$ac_ext >&5
12804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12806 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
12807 echo "${ECHO_T}$ac_cv_c_const" >&6
12808 if test $ac_cv_c_const = no; then
12810 cat >>confdefs.h <<\_ACEOF
12818 echo "$as_me:$LINENO: checking how to get filesystem type" >&5
12819 echo $ECHO_N "checking how to get filesystem type... $ECHO_C" >&6
12821 # The order of these tests is important.
12822 cat >conftest.$ac_ext <<_ACEOF
12825 cat confdefs.h >>conftest.$ac_ext
12826 cat >>conftest.$ac_ext <<_ACEOF
12827 /* end confdefs.h. */
12828 #include <sys/statvfs.h>
12829 #include <sys/fstyp.h>
12831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12834 grep -v '^ *+' conftest.er1 >conftest.err
12836 cat conftest.err >&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); } >/dev/null; then
12839 if test -s conftest.err; then
12840 ac_cpp_err=$ac_c_preproc_warn_flag
12841 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12848 if test -z "$ac_cpp_err"; then
12849 cat >>confdefs.h <<\_ACEOF
12850 #define FSTYPE_STATVFS 1
12854 echo "$as_me: failed program was:" >&5
12855 sed 's/^/| /' conftest.$ac_ext >&5
12859 rm -f conftest.err conftest.$ac_ext
12860 if test $fstype = no; then
12861 cat >conftest.$ac_ext <<_ACEOF
12864 cat confdefs.h >>conftest.$ac_ext
12865 cat >>conftest.$ac_ext <<_ACEOF
12866 /* end confdefs.h. */
12867 #include <sys/statfs.h>
12868 #include <sys/fstyp.h>
12870 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12871 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12873 grep -v '^ *+' conftest.er1 >conftest.err
12875 cat conftest.err >&5
12876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12877 (exit $ac_status); } >/dev/null; then
12878 if test -s conftest.err; then
12879 ac_cpp_err=$ac_c_preproc_warn_flag
12880 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12887 if test -z "$ac_cpp_err"; then
12888 cat >>confdefs.h <<\_ACEOF
12889 #define FSTYPE_USG_STATFS 1
12893 echo "$as_me: failed program was:" >&5
12894 sed 's/^/| /' conftest.$ac_ext >&5
12898 rm -f conftest.err conftest.$ac_ext
12900 if test $fstype = no; then
12901 cat >conftest.$ac_ext <<_ACEOF
12904 cat confdefs.h >>conftest.$ac_ext
12905 cat >>conftest.$ac_ext <<_ACEOF
12906 /* end confdefs.h. */
12907 #include <sys/statfs.h>
12908 #include <sys/vmount.h>
12910 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12911 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12913 grep -v '^ *+' conftest.er1 >conftest.err
12915 cat conftest.err >&5
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); } >/dev/null; then
12918 if test -s conftest.err; then
12919 ac_cpp_err=$ac_c_preproc_warn_flag
12920 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12927 if test -z "$ac_cpp_err"; then
12928 cat >>confdefs.h <<\_ACEOF
12929 #define FSTYPE_AIX_STATFS 1
12933 echo "$as_me: failed program was:" >&5
12934 sed 's/^/| /' conftest.$ac_ext >&5
12938 rm -f conftest.err conftest.$ac_ext
12940 if test $fstype = no; then
12941 cat >conftest.$ac_ext <<_ACEOF
12944 cat confdefs.h >>conftest.$ac_ext
12945 cat >>conftest.$ac_ext <<_ACEOF
12946 /* end confdefs.h. */
12947 #include <mntent.h>
12949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12950 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
12952 grep -v '^ *+' conftest.er1 >conftest.err
12954 cat conftest.err >&5
12955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956 (exit $ac_status); } >/dev/null; then
12957 if test -s conftest.err; then
12958 ac_cpp_err=$ac_c_preproc_warn_flag
12959 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12966 if test -z "$ac_cpp_err"; then
12967 cat >>confdefs.h <<\_ACEOF
12968 #define FSTYPE_MNTENT 1
12972 echo "$as_me: failed program was:" >&5
12973 sed 's/^/| /' conftest.$ac_ext >&5
12977 rm -f conftest.err conftest.$ac_ext
12979 if test $fstype = no; then
12980 cat >conftest.$ac_ext <<_ACEOF
12983 cat confdefs.h >>conftest.$ac_ext
12984 cat >>conftest.$ac_ext <<_ACEOF
12985 /* end confdefs.h. */
12986 #include <sys/mount.h>
12989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12990 $EGREP "f_type;" >/dev/null 2>&1; then
12991 cat >>confdefs.h <<\_ACEOF
12992 #define FSTYPE_STATFS 1
12999 if test $fstype = no; then
13000 cat >conftest.$ac_ext <<_ACEOF
13003 cat confdefs.h >>conftest.$ac_ext
13004 cat >>conftest.$ac_ext <<_ACEOF
13005 /* end confdefs.h. */
13006 #include <sys/mount.h>
13007 #include <sys/fs_types.h>
13009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13012 grep -v '^ *+' conftest.er1 >conftest.err
13014 cat conftest.err >&5
13015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13016 (exit $ac_status); } >/dev/null; then
13017 if test -s conftest.err; then
13018 ac_cpp_err=$ac_c_preproc_warn_flag
13019 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13026 if test -z "$ac_cpp_err"; then
13027 cat >>confdefs.h <<\_ACEOF
13028 #define FSTYPE_GETMNT 1
13032 echo "$as_me: failed program was:" >&5
13033 sed 's/^/| /' conftest.$ac_ext >&5
13037 rm -f conftest.err conftest.$ac_ext
13039 echo "$as_me:$LINENO: result: $fstype" >&5
13040 echo "${ECHO_T}$fstype" >&6
13042 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
13043 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
13044 if test "${ac_cv_type_signal+set}" = set; then
13045 echo $ECHO_N "(cached) $ECHO_C" >&6
13047 cat >conftest.$ac_ext <<_ACEOF
13050 cat confdefs.h >>conftest.$ac_ext
13051 cat >>conftest.$ac_ext <<_ACEOF
13052 /* end confdefs.h. */
13053 #include <sys/types.h>
13054 #include <signal.h>
13059 extern "C" void (*signal (int, void (*)(int)))(int);
13061 void (*signal ()) ();
13072 rm -f conftest.$ac_objext
13073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13074 (eval $ac_compile) 2>conftest.er1
13076 grep -v '^ *+' conftest.er1 >conftest.err
13078 cat conftest.err >&5
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); } &&
13081 { ac_try='test -z "$ac_c_werror_flag"
13082 || test ! -s conftest.err'
13083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13084 (eval $ac_try) 2>&5
13086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 (exit $ac_status); }; } &&
13088 { ac_try='test -s conftest.$ac_objext'
13089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13090 (eval $ac_try) 2>&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }; }; then
13094 ac_cv_type_signal=void
13096 echo "$as_me: failed program was:" >&5
13097 sed 's/^/| /' conftest.$ac_ext >&5
13099 ac_cv_type_signal=int
13101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13103 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
13104 echo "${ECHO_T}$ac_cv_type_signal" >&6
13106 cat >>confdefs.h <<_ACEOF
13107 #define RETSIGTYPE $ac_cv_type_signal
13112 echo "$as_me:$LINENO: checking for type of signal functions" >&5
13113 echo $ECHO_N "checking for type of signal functions... $ECHO_C" >&6
13114 if test "${bash_cv_signal_vintage+set}" = set; then
13115 echo $ECHO_N "(cached) $ECHO_C" >&6
13118 cat >conftest.$ac_ext <<_ACEOF
13121 cat confdefs.h >>conftest.$ac_ext
13122 cat >>conftest.$ac_ext <<_ACEOF
13123 /* end confdefs.h. */
13124 #include <signal.h>
13130 struct sigaction sa;
13131 sigemptyset(&ss); sigsuspend(&ss);
13132 sigaction(SIGINT, &sa, (struct sigaction *) 0);
13133 sigprocmask(SIG_BLOCK, &ss, (sigset_t *) 0);
13139 rm -f conftest.$ac_objext conftest$ac_exeext
13140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13141 (eval $ac_link) 2>conftest.er1
13143 grep -v '^ *+' conftest.er1 >conftest.err
13145 cat conftest.err >&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); } &&
13148 { ac_try='test -z "$ac_c_werror_flag"
13149 || test ! -s conftest.err'
13150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13151 (eval $ac_try) 2>&5
13153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13154 (exit $ac_status); }; } &&
13155 { ac_try='test -s conftest$ac_exeext'
13156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13157 (eval $ac_try) 2>&5
13159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13160 (exit $ac_status); }; }; then
13161 bash_cv_signal_vintage=posix
13163 echo "$as_me: failed program was:" >&5
13164 sed 's/^/| /' conftest.$ac_ext >&5
13167 cat >conftest.$ac_ext <<_ACEOF
13170 cat confdefs.h >>conftest.$ac_ext
13171 cat >>conftest.$ac_ext <<_ACEOF
13172 /* end confdefs.h. */
13173 #include <signal.h>
13178 int mask = sigmask(SIGINT);
13179 sigsetmask(mask); sigblock(mask); sigpause(mask);
13185 rm -f conftest.$ac_objext conftest$ac_exeext
13186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13187 (eval $ac_link) 2>conftest.er1
13189 grep -v '^ *+' conftest.er1 >conftest.err
13191 cat conftest.err >&5
13192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13193 (exit $ac_status); } &&
13194 { ac_try='test -z "$ac_c_werror_flag"
13195 || test ! -s conftest.err'
13196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13197 (eval $ac_try) 2>&5
13199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200 (exit $ac_status); }; } &&
13201 { ac_try='test -s conftest$ac_exeext'
13202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13203 (eval $ac_try) 2>&5
13205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13206 (exit $ac_status); }; }; then
13207 bash_cv_signal_vintage=4.2bsd
13209 echo "$as_me: failed program was:" >&5
13210 sed 's/^/| /' conftest.$ac_ext >&5
13213 cat >conftest.$ac_ext <<_ACEOF
13216 cat confdefs.h >>conftest.$ac_ext
13217 cat >>conftest.$ac_ext <<_ACEOF
13218 /* end confdefs.h. */
13220 #include <signal.h>
13221 RETSIGTYPE foo() { }
13226 int mask = sigmask(SIGINT);
13227 sigset(SIGINT, foo); sigrelse(SIGINT);
13228 sighold(SIGINT); sigpause(SIGINT);
13234 rm -f conftest.$ac_objext conftest$ac_exeext
13235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13236 (eval $ac_link) 2>conftest.er1
13238 grep -v '^ *+' conftest.er1 >conftest.err
13240 cat conftest.err >&5
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); } &&
13243 { ac_try='test -z "$ac_c_werror_flag"
13244 || test ! -s conftest.err'
13245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13246 (eval $ac_try) 2>&5
13248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13249 (exit $ac_status); }; } &&
13250 { ac_try='test -s conftest$ac_exeext'
13251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13252 (eval $ac_try) 2>&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); }; }; then
13256 bash_cv_signal_vintage=svr3
13258 echo "$as_me: failed program was:" >&5
13259 sed 's/^/| /' conftest.$ac_ext >&5
13261 bash_cv_signal_vintage=v7
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
13272 rm -f conftest.err conftest.$ac_objext \
13273 conftest$ac_exeext conftest.$ac_ext
13277 echo "$as_me:$LINENO: result: $bash_cv_signal_vintage" >&5
13278 echo "${ECHO_T}$bash_cv_signal_vintage" >&6
13279 if test "$bash_cv_signal_vintage" = posix; then
13280 cat >>confdefs.h <<\_ACEOF
13281 #define HAVE_POSIX_SIGNALS 1
13284 elif test "$bash_cv_signal_vintage" = "4.2bsd"; then
13285 cat >>confdefs.h <<\_ACEOF
13286 #define HAVE_BSD_SIGNALS 1
13289 elif test "$bash_cv_signal_vintage" = svr3; then
13290 cat >>confdefs.h <<\_ACEOF
13291 #define HAVE_USG_SIGHOLD 1
13296 echo "$as_me:$LINENO: checking for mode_t" >&5
13297 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
13298 if test "${ac_cv_type_mode_t+set}" = set; then
13299 echo $ECHO_N "(cached) $ECHO_C" >&6
13301 cat >conftest.$ac_ext <<_ACEOF
13304 cat confdefs.h >>conftest.$ac_ext
13305 cat >>conftest.$ac_ext <<_ACEOF
13306 /* end confdefs.h. */
13307 $ac_includes_default
13313 if (sizeof (mode_t))
13319 rm -f conftest.$ac_objext
13320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13321 (eval $ac_compile) 2>conftest.er1
13323 grep -v '^ *+' conftest.er1 >conftest.err
13325 cat conftest.err >&5
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); } &&
13328 { ac_try='test -z "$ac_c_werror_flag"
13329 || test ! -s conftest.err'
13330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13331 (eval $ac_try) 2>&5
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }; } &&
13335 { ac_try='test -s conftest.$ac_objext'
13336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13337 (eval $ac_try) 2>&5
13339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13340 (exit $ac_status); }; }; then
13341 ac_cv_type_mode_t=yes
13343 echo "$as_me: failed program was:" >&5
13344 sed 's/^/| /' conftest.$ac_ext >&5
13346 ac_cv_type_mode_t=no
13348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13350 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
13351 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
13352 if test $ac_cv_type_mode_t = yes; then
13356 cat >>confdefs.h <<_ACEOF
13362 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
13363 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
13364 if test "${ac_cv_type_uid_t+set}" = set; then
13365 echo $ECHO_N "(cached) $ECHO_C" >&6
13367 cat >conftest.$ac_ext <<_ACEOF
13370 cat confdefs.h >>conftest.$ac_ext
13371 cat >>conftest.$ac_ext <<_ACEOF
13372 /* end confdefs.h. */
13373 #include <sys/types.h>
13376 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13377 $EGREP "uid_t" >/dev/null 2>&1; then
13378 ac_cv_type_uid_t=yes
13380 ac_cv_type_uid_t=no
13385 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
13386 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
13387 if test $ac_cv_type_uid_t = no; then
13389 cat >>confdefs.h <<\_ACEOF
13394 cat >>confdefs.h <<\_ACEOF
13400 echo "$as_me:$LINENO: checking for size_t" >&5
13401 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
13402 if test "${ac_cv_type_size_t+set}" = set; then
13403 echo $ECHO_N "(cached) $ECHO_C" >&6
13405 cat >conftest.$ac_ext <<_ACEOF
13408 cat confdefs.h >>conftest.$ac_ext
13409 cat >>conftest.$ac_ext <<_ACEOF
13410 /* end confdefs.h. */
13411 $ac_includes_default
13417 if (sizeof (size_t))
13423 rm -f conftest.$ac_objext
13424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13425 (eval $ac_compile) 2>conftest.er1
13427 grep -v '^ *+' conftest.er1 >conftest.err
13429 cat conftest.err >&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); } &&
13432 { ac_try='test -z "$ac_c_werror_flag"
13433 || test ! -s conftest.err'
13434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13435 (eval $ac_try) 2>&5
13437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13438 (exit $ac_status); }; } &&
13439 { ac_try='test -s conftest.$ac_objext'
13440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13441 (eval $ac_try) 2>&5
13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444 (exit $ac_status); }; }; then
13445 ac_cv_type_size_t=yes
13447 echo "$as_me: failed program was:" >&5
13448 sed 's/^/| /' conftest.$ac_ext >&5
13450 ac_cv_type_size_t=no
13452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13454 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
13455 echo "${ECHO_T}$ac_cv_type_size_t" >&6
13456 if test $ac_cv_type_size_t = yes; then
13460 cat >>confdefs.h <<_ACEOF
13461 #define size_t unsigned
13466 echo "$as_me:$LINENO: checking for pid_t" >&5
13467 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
13468 if test "${ac_cv_type_pid_t+set}" = set; then
13469 echo $ECHO_N "(cached) $ECHO_C" >&6
13471 cat >conftest.$ac_ext <<_ACEOF
13474 cat confdefs.h >>conftest.$ac_ext
13475 cat >>conftest.$ac_ext <<_ACEOF
13476 /* end confdefs.h. */
13477 $ac_includes_default
13483 if (sizeof (pid_t))
13489 rm -f conftest.$ac_objext
13490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13491 (eval $ac_compile) 2>conftest.er1
13493 grep -v '^ *+' conftest.er1 >conftest.err
13495 cat conftest.err >&5
13496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13497 (exit $ac_status); } &&
13498 { ac_try='test -z "$ac_c_werror_flag"
13499 || test ! -s conftest.err'
13500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13501 (eval $ac_try) 2>&5
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); }; } &&
13505 { ac_try='test -s conftest.$ac_objext'
13506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13507 (eval $ac_try) 2>&5
13509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13510 (exit $ac_status); }; }; then
13511 ac_cv_type_pid_t=yes
13513 echo "$as_me: failed program was:" >&5
13514 sed 's/^/| /' conftest.$ac_ext >&5
13516 ac_cv_type_pid_t=no
13518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13520 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
13521 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
13522 if test $ac_cv_type_pid_t = yes; then
13526 cat >>confdefs.h <<_ACEOF
13532 echo "$as_me:$LINENO: checking for off_t" >&5
13533 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13534 if test "${ac_cv_type_off_t+set}" = set; then
13535 echo $ECHO_N "(cached) $ECHO_C" >&6
13537 cat >conftest.$ac_ext <<_ACEOF
13540 cat confdefs.h >>conftest.$ac_ext
13541 cat >>conftest.$ac_ext <<_ACEOF
13542 /* end confdefs.h. */
13543 $ac_includes_default
13549 if (sizeof (off_t))
13555 rm -f conftest.$ac_objext
13556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13557 (eval $ac_compile) 2>conftest.er1
13559 grep -v '^ *+' conftest.er1 >conftest.err
13561 cat conftest.err >&5
13562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13563 (exit $ac_status); } &&
13564 { ac_try='test -z "$ac_c_werror_flag"
13565 || test ! -s conftest.err'
13566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13567 (eval $ac_try) 2>&5
13569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570 (exit $ac_status); }; } &&
13571 { ac_try='test -s conftest.$ac_objext'
13572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13573 (eval $ac_try) 2>&5
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); }; }; then
13577 ac_cv_type_off_t=yes
13579 echo "$as_me: failed program was:" >&5
13580 sed 's/^/| /' conftest.$ac_ext >&5
13582 ac_cv_type_off_t=no
13584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13586 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13587 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13588 if test $ac_cv_type_off_t = yes; then
13592 cat >>confdefs.h <<_ACEOF
13598 echo "$as_me:$LINENO: checking for ino_t" >&5
13599 echo $ECHO_N "checking for ino_t... $ECHO_C" >&6
13600 if test "${ac_cv_type_ino_t+set}" = set; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6
13603 cat >conftest.$ac_ext <<_ACEOF
13606 cat confdefs.h >>conftest.$ac_ext
13607 cat >>conftest.$ac_ext <<_ACEOF
13608 /* end confdefs.h. */
13609 $ac_includes_default
13615 if (sizeof (ino_t))
13621 rm -f conftest.$ac_objext
13622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13623 (eval $ac_compile) 2>conftest.er1
13625 grep -v '^ *+' conftest.er1 >conftest.err
13627 cat conftest.err >&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); } &&
13630 { ac_try='test -z "$ac_c_werror_flag"
13631 || test ! -s conftest.err'
13632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13633 (eval $ac_try) 2>&5
13635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636 (exit $ac_status); }; } &&
13637 { ac_try='test -s conftest.$ac_objext'
13638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13639 (eval $ac_try) 2>&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); }; }; then
13643 ac_cv_type_ino_t=yes
13645 echo "$as_me: failed program was:" >&5
13646 sed 's/^/| /' conftest.$ac_ext >&5
13648 ac_cv_type_ino_t=no
13650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13652 echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
13653 echo "${ECHO_T}$ac_cv_type_ino_t" >&6
13654 if test $ac_cv_type_ino_t = yes; then
13658 cat >>confdefs.h <<_ACEOF
13659 #define ino_t unsigned long
13664 echo "$as_me:$LINENO: checking for dev_t" >&5
13665 echo $ECHO_N "checking for dev_t... $ECHO_C" >&6
13666 if test "${ac_cv_type_dev_t+set}" = set; then
13667 echo $ECHO_N "(cached) $ECHO_C" >&6
13669 cat >conftest.$ac_ext <<_ACEOF
13672 cat confdefs.h >>conftest.$ac_ext
13673 cat >>conftest.$ac_ext <<_ACEOF
13674 /* end confdefs.h. */
13675 $ac_includes_default
13681 if (sizeof (dev_t))
13687 rm -f conftest.$ac_objext
13688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13689 (eval $ac_compile) 2>conftest.er1
13691 grep -v '^ *+' conftest.er1 >conftest.err
13693 cat conftest.err >&5
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); } &&
13696 { ac_try='test -z "$ac_c_werror_flag"
13697 || test ! -s conftest.err'
13698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13699 (eval $ac_try) 2>&5
13701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13702 (exit $ac_status); }; } &&
13703 { ac_try='test -s conftest.$ac_objext'
13704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13705 (eval $ac_try) 2>&5
13707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13708 (exit $ac_status); }; }; then
13709 ac_cv_type_dev_t=yes
13711 echo "$as_me: failed program was:" >&5
13712 sed 's/^/| /' conftest.$ac_ext >&5
13714 ac_cv_type_dev_t=no
13716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13718 echo "$as_me:$LINENO: result: $ac_cv_type_dev_t" >&5
13719 echo "${ECHO_T}$ac_cv_type_dev_t" >&6
13720 if test $ac_cv_type_dev_t = yes; then
13724 cat >>confdefs.h <<_ACEOF
13725 #define dev_t unsigned long
13730 echo "$as_me:$LINENO: checking for daddr_t" >&5
13731 echo $ECHO_N "checking for daddr_t... $ECHO_C" >&6
13732 if test "${ac_cv_type_daddr_t+set}" = set; then
13733 echo $ECHO_N "(cached) $ECHO_C" >&6
13735 cat >conftest.$ac_ext <<_ACEOF
13738 cat confdefs.h >>conftest.$ac_ext
13739 cat >>conftest.$ac_ext <<_ACEOF
13740 /* end confdefs.h. */
13741 $ac_includes_default
13747 if (sizeof (daddr_t))
13753 rm -f conftest.$ac_objext
13754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13755 (eval $ac_compile) 2>conftest.er1
13757 grep -v '^ *+' conftest.er1 >conftest.err
13759 cat conftest.err >&5
13760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); } &&
13762 { ac_try='test -z "$ac_c_werror_flag"
13763 || test ! -s conftest.err'
13764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13765 (eval $ac_try) 2>&5
13767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13768 (exit $ac_status); }; } &&
13769 { ac_try='test -s conftest.$ac_objext'
13770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13771 (eval $ac_try) 2>&5
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); }; }; then
13775 ac_cv_type_daddr_t=yes
13777 echo "$as_me: failed program was:" >&5
13778 sed 's/^/| /' conftest.$ac_ext >&5
13780 ac_cv_type_daddr_t=no
13782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13784 echo "$as_me:$LINENO: result: $ac_cv_type_daddr_t" >&5
13785 echo "${ECHO_T}$ac_cv_type_daddr_t" >&6
13786 if test $ac_cv_type_daddr_t = yes; then
13790 cat >>confdefs.h <<_ACEOF
13791 #define daddr_t long
13796 echo "$as_me:$LINENO: checking for major_t" >&5
13797 echo $ECHO_N "checking for major_t... $ECHO_C" >&6
13798 if test "${ac_cv_type_major_t+set}" = set; then
13799 echo $ECHO_N "(cached) $ECHO_C" >&6
13801 cat >conftest.$ac_ext <<_ACEOF
13804 cat confdefs.h >>conftest.$ac_ext
13805 cat >>conftest.$ac_ext <<_ACEOF
13806 /* end confdefs.h. */
13807 $ac_includes_default
13813 if (sizeof (major_t))
13819 rm -f conftest.$ac_objext
13820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13821 (eval $ac_compile) 2>conftest.er1
13823 grep -v '^ *+' conftest.er1 >conftest.err
13825 cat conftest.err >&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); } &&
13828 { ac_try='test -z "$ac_c_werror_flag"
13829 || test ! -s conftest.err'
13830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13831 (eval $ac_try) 2>&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); }; } &&
13835 { ac_try='test -s conftest.$ac_objext'
13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837 (eval $ac_try) 2>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; }; then
13841 ac_cv_type_major_t=yes
13843 echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.$ac_ext >&5
13846 ac_cv_type_major_t=no
13848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13850 echo "$as_me:$LINENO: result: $ac_cv_type_major_t" >&5
13851 echo "${ECHO_T}$ac_cv_type_major_t" >&6
13852 if test $ac_cv_type_major_t = yes; then
13856 cat >>confdefs.h <<_ACEOF
13857 #define major_t int
13862 echo "$as_me:$LINENO: checking for minor_t" >&5
13863 echo $ECHO_N "checking for minor_t... $ECHO_C" >&6
13864 if test "${ac_cv_type_minor_t+set}" = set; then
13865 echo $ECHO_N "(cached) $ECHO_C" >&6
13867 cat >conftest.$ac_ext <<_ACEOF
13870 cat confdefs.h >>conftest.$ac_ext
13871 cat >>conftest.$ac_ext <<_ACEOF
13872 /* end confdefs.h. */
13873 $ac_includes_default
13879 if (sizeof (minor_t))
13885 rm -f conftest.$ac_objext
13886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13887 (eval $ac_compile) 2>conftest.er1
13889 grep -v '^ *+' conftest.er1 >conftest.err
13891 cat conftest.err >&5
13892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13893 (exit $ac_status); } &&
13894 { ac_try='test -z "$ac_c_werror_flag"
13895 || test ! -s conftest.err'
13896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13897 (eval $ac_try) 2>&5
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); }; } &&
13901 { ac_try='test -s conftest.$ac_objext'
13902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13903 (eval $ac_try) 2>&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 (exit $ac_status); }; }; then
13907 ac_cv_type_minor_t=yes
13909 echo "$as_me: failed program was:" >&5
13910 sed 's/^/| /' conftest.$ac_ext >&5
13912 ac_cv_type_minor_t=no
13914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13916 echo "$as_me:$LINENO: result: $ac_cv_type_minor_t" >&5
13917 echo "${ECHO_T}$ac_cv_type_minor_t" >&6
13918 if test $ac_cv_type_minor_t = yes; then
13922 cat >>confdefs.h <<_ACEOF
13923 #define minor_t int
13928 echo "$as_me:$LINENO: checking for ssize_t" >&5
13929 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
13930 if test "${ac_cv_type_ssize_t+set}" = set; then
13931 echo $ECHO_N "(cached) $ECHO_C" >&6
13933 cat >conftest.$ac_ext <<_ACEOF
13936 cat confdefs.h >>conftest.$ac_ext
13937 cat >>conftest.$ac_ext <<_ACEOF
13938 /* end confdefs.h. */
13939 $ac_includes_default
13945 if (sizeof (ssize_t))
13951 rm -f conftest.$ac_objext
13952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13953 (eval $ac_compile) 2>conftest.er1
13955 grep -v '^ *+' conftest.er1 >conftest.err
13957 cat conftest.err >&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); } &&
13960 { ac_try='test -z "$ac_c_werror_flag"
13961 || test ! -s conftest.err'
13962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13963 (eval $ac_try) 2>&5
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); }; } &&
13967 { ac_try='test -s conftest.$ac_objext'
13968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13969 (eval $ac_try) 2>&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); }; }; then
13973 ac_cv_type_ssize_t=yes
13975 echo "$as_me: failed program was:" >&5
13976 sed 's/^/| /' conftest.$ac_ext >&5
13978 ac_cv_type_ssize_t=no
13980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13982 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
13983 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
13984 if test $ac_cv_type_ssize_t = yes; then
13988 cat >>confdefs.h <<_ACEOF
13989 #define ssize_t int
13994 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
13995 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
13996 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
13997 echo $ECHO_N "(cached) $ECHO_C" >&6
13999 cat >conftest.$ac_ext <<_ACEOF
14002 cat confdefs.h >>conftest.$ac_ext
14003 cat >>conftest.$ac_ext <<_ACEOF
14004 /* end confdefs.h. */
14005 $ac_includes_default
14009 static struct stat ac_aggr;
14010 if (ac_aggr.st_blocks)
14016 rm -f conftest.$ac_objext
14017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14018 (eval $ac_compile) 2>conftest.er1
14020 grep -v '^ *+' conftest.er1 >conftest.err
14022 cat conftest.err >&5
14023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024 (exit $ac_status); } &&
14025 { ac_try='test -z "$ac_c_werror_flag"
14026 || test ! -s conftest.err'
14027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14028 (eval $ac_try) 2>&5
14030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031 (exit $ac_status); }; } &&
14032 { ac_try='test -s conftest.$ac_objext'
14033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14034 (eval $ac_try) 2>&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); }; }; then
14038 ac_cv_member_struct_stat_st_blocks=yes
14040 echo "$as_me: failed program was:" >&5
14041 sed 's/^/| /' conftest.$ac_ext >&5
14043 cat >conftest.$ac_ext <<_ACEOF
14046 cat confdefs.h >>conftest.$ac_ext
14047 cat >>conftest.$ac_ext <<_ACEOF
14048 /* end confdefs.h. */
14049 $ac_includes_default
14053 static struct stat ac_aggr;
14054 if (sizeof ac_aggr.st_blocks)
14060 rm -f conftest.$ac_objext
14061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14062 (eval $ac_compile) 2>conftest.er1
14064 grep -v '^ *+' conftest.er1 >conftest.err
14066 cat conftest.err >&5
14067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); } &&
14069 { ac_try='test -z "$ac_c_werror_flag"
14070 || test ! -s conftest.err'
14071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14072 (eval $ac_try) 2>&5
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); }; } &&
14076 { ac_try='test -s conftest.$ac_objext'
14077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14078 (eval $ac_try) 2>&5
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); }; }; then
14082 ac_cv_member_struct_stat_st_blocks=yes
14084 echo "$as_me: failed program was:" >&5
14085 sed 's/^/| /' conftest.$ac_ext >&5
14087 ac_cv_member_struct_stat_st_blocks=no
14089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14093 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
14094 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
14095 if test $ac_cv_member_struct_stat_st_blocks = yes; then
14097 cat >>confdefs.h <<_ACEOF
14098 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14102 cat >>confdefs.h <<\_ACEOF
14103 #define HAVE_ST_BLOCKS 1
14108 "fileblocks.$ac_objext" | \
14109 *" fileblocks.$ac_objext" | \
14110 "fileblocks.$ac_objext "* | \
14111 *" fileblocks.$ac_objext "* ) ;;
14112 *) LIBOBJS="$LIBOBJS fileblocks.$ac_objext" ;;
14119 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
14120 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
14121 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
14122 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 cat >conftest.$ac_ext <<_ACEOF
14127 cat confdefs.h >>conftest.$ac_ext
14128 cat >>conftest.$ac_ext <<_ACEOF
14129 /* end confdefs.h. */
14130 $ac_includes_default
14134 static struct stat ac_aggr;
14135 if (ac_aggr.st_rdev)
14141 rm -f conftest.$ac_objext
14142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14143 (eval $ac_compile) 2>conftest.er1
14145 grep -v '^ *+' conftest.er1 >conftest.err
14147 cat conftest.err >&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); } &&
14150 { ac_try='test -z "$ac_c_werror_flag"
14151 || test ! -s conftest.err'
14152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14153 (eval $ac_try) 2>&5
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); }; } &&
14157 { ac_try='test -s conftest.$ac_objext'
14158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14159 (eval $ac_try) 2>&5
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); }; }; then
14163 ac_cv_member_struct_stat_st_rdev=yes
14165 echo "$as_me: failed program was:" >&5
14166 sed 's/^/| /' conftest.$ac_ext >&5
14168 cat >conftest.$ac_ext <<_ACEOF
14171 cat confdefs.h >>conftest.$ac_ext
14172 cat >>conftest.$ac_ext <<_ACEOF
14173 /* end confdefs.h. */
14174 $ac_includes_default
14178 static struct stat ac_aggr;
14179 if (sizeof ac_aggr.st_rdev)
14185 rm -f conftest.$ac_objext
14186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14187 (eval $ac_compile) 2>conftest.er1
14189 grep -v '^ *+' conftest.er1 >conftest.err
14191 cat conftest.err >&5
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); } &&
14194 { ac_try='test -z "$ac_c_werror_flag"
14195 || test ! -s conftest.err'
14196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14197 (eval $ac_try) 2>&5
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); }; } &&
14201 { ac_try='test -s conftest.$ac_objext'
14202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14203 (eval $ac_try) 2>&5
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); }; }; then
14207 ac_cv_member_struct_stat_st_rdev=yes
14209 echo "$as_me: failed program was:" >&5
14210 sed 's/^/| /' conftest.$ac_ext >&5
14212 ac_cv_member_struct_stat_st_rdev=no
14214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14218 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
14219 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
14220 if test $ac_cv_member_struct_stat_st_rdev = yes; then
14222 cat >>confdefs.h <<_ACEOF
14223 #define HAVE_STRUCT_STAT_ST_RDEV 1
14227 cat >>confdefs.h <<\_ACEOF
14228 #define HAVE_ST_RDEV 1
14234 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
14235 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
14236 if test "${ac_cv_struct_tm+set}" = set; then
14237 echo $ECHO_N "(cached) $ECHO_C" >&6
14239 cat >conftest.$ac_ext <<_ACEOF
14242 cat confdefs.h >>conftest.$ac_ext
14243 cat >>conftest.$ac_ext <<_ACEOF
14244 /* end confdefs.h. */
14245 #include <sys/types.h>
14251 struct tm *tp; tp->tm_sec;
14256 rm -f conftest.$ac_objext
14257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14258 (eval $ac_compile) 2>conftest.er1
14260 grep -v '^ *+' conftest.er1 >conftest.err
14262 cat conftest.err >&5
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); } &&
14265 { ac_try='test -z "$ac_c_werror_flag"
14266 || test ! -s conftest.err'
14267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14268 (eval $ac_try) 2>&5
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); }; } &&
14272 { ac_try='test -s conftest.$ac_objext'
14273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14274 (eval $ac_try) 2>&5
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); }; }; then
14278 ac_cv_struct_tm=time.h
14280 echo "$as_me: failed program was:" >&5
14281 sed 's/^/| /' conftest.$ac_ext >&5
14283 ac_cv_struct_tm=sys/time.h
14285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14287 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
14288 echo "${ECHO_T}$ac_cv_struct_tm" >&6
14289 if test $ac_cv_struct_tm = sys/time.h; then
14291 cat >>confdefs.h <<\_ACEOF
14292 #define TM_IN_SYS_TIME 1
14297 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14298 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14299 if test "${ac_cv_c_const+set}" = set; then
14300 echo $ECHO_N "(cached) $ECHO_C" >&6
14302 cat >conftest.$ac_ext <<_ACEOF
14305 cat confdefs.h >>conftest.$ac_ext
14306 cat >>conftest.$ac_ext <<_ACEOF
14307 /* end confdefs.h. */
14312 /* FIXME: Include the comments suggested by Paul. */
14313 #ifndef __cplusplus
14314 /* Ultrix mips cc rejects this. */
14315 typedef int charset[2];
14317 /* SunOS 4.1.1 cc rejects this. */
14318 char const *const *ccp;
14320 /* NEC SVR4.0.2 mips cc rejects this. */
14321 struct point {int x, y;};
14322 static struct point const zero = {0,0};
14323 /* AIX XL C 1.02.0.0 rejects this.
14324 It does not let you subtract one const X* pointer from another in
14325 an arm of an if-expression whose if-part is not a constant
14327 const char *g = "string";
14328 ccp = &g + (g ? g-g : 0);
14329 /* HPUX 7.0 cc rejects these. */
14332 ccp = (char const *const *) p;
14333 { /* SCO 3.2v4 cc rejects this. */
14335 char const *s = 0 ? (char *) 0 : (char const *) 0;
14339 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14340 int x[] = {25, 17};
14341 const int *foo = &x[0];
14344 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14345 typedef const int *iptr;
14349 { /* AIX XL C 1.02.0.0 rejects this saying
14350 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14351 struct s { int j; const int *ap[3]; };
14352 struct s *b; b->j = 5;
14354 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14355 const int foo = 10;
14363 rm -f conftest.$ac_objext
14364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14365 (eval $ac_compile) 2>conftest.er1
14367 grep -v '^ *+' conftest.er1 >conftest.err
14369 cat conftest.err >&5
14370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371 (exit $ac_status); } &&
14372 { ac_try='test -z "$ac_c_werror_flag"
14373 || test ! -s conftest.err'
14374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14375 (eval $ac_try) 2>&5
14377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14378 (exit $ac_status); }; } &&
14379 { ac_try='test -s conftest.$ac_objext'
14380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14381 (eval $ac_try) 2>&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); }; }; then
14387 echo "$as_me: failed program was:" >&5
14388 sed 's/^/| /' conftest.$ac_ext >&5
14392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14394 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14395 echo "${ECHO_T}$ac_cv_c_const" >&6
14396 if test $ac_cv_c_const = no; then
14398 cat >>confdefs.h <<\_ACEOF
14406 echo "$as_me:$LINENO: checking for char" >&5
14407 echo $ECHO_N "checking for char... $ECHO_C" >&6
14408 if test "${ac_cv_type_char+set}" = set; then
14409 echo $ECHO_N "(cached) $ECHO_C" >&6
14411 cat >conftest.$ac_ext <<_ACEOF
14414 cat confdefs.h >>conftest.$ac_ext
14415 cat >>conftest.$ac_ext <<_ACEOF
14416 /* end confdefs.h. */
14417 $ac_includes_default
14429 rm -f conftest.$ac_objext
14430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14431 (eval $ac_compile) 2>conftest.er1
14433 grep -v '^ *+' conftest.er1 >conftest.err
14435 cat conftest.err >&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); } &&
14438 { ac_try='test -z "$ac_c_werror_flag"
14439 || test ! -s conftest.err'
14440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14441 (eval $ac_try) 2>&5
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); }; } &&
14445 { ac_try='test -s conftest.$ac_objext'
14446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447 (eval $ac_try) 2>&5
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; }; then
14451 ac_cv_type_char=yes
14453 echo "$as_me: failed program was:" >&5
14454 sed 's/^/| /' conftest.$ac_ext >&5
14458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14460 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
14461 echo "${ECHO_T}$ac_cv_type_char" >&6
14463 echo "$as_me:$LINENO: checking size of char" >&5
14464 echo $ECHO_N "checking size of char... $ECHO_C" >&6
14465 if test "${ac_cv_sizeof_char+set}" = set; then
14466 echo $ECHO_N "(cached) $ECHO_C" >&6
14468 if test "$ac_cv_type_char" = yes; then
14469 # The cast to unsigned long works around a bug in the HP C Compiler
14470 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14471 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14472 # This bug is HP SR number 8606223364.
14473 if test "$cross_compiling" = yes; then
14474 # Depending upon the size, compute the lo and hi bounds.
14475 cat >conftest.$ac_ext <<_ACEOF
14478 cat confdefs.h >>conftest.$ac_ext
14479 cat >>conftest.$ac_ext <<_ACEOF
14480 /* end confdefs.h. */
14481 $ac_includes_default
14485 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
14492 rm -f conftest.$ac_objext
14493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14494 (eval $ac_compile) 2>conftest.er1
14496 grep -v '^ *+' conftest.er1 >conftest.err
14498 cat conftest.err >&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); } &&
14501 { ac_try='test -z "$ac_c_werror_flag"
14502 || test ! -s conftest.err'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; } &&
14508 { ac_try='test -s conftest.$ac_objext'
14509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14510 (eval $ac_try) 2>&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); }; }; then
14516 cat >conftest.$ac_ext <<_ACEOF
14519 cat confdefs.h >>conftest.$ac_ext
14520 cat >>conftest.$ac_ext <<_ACEOF
14521 /* end confdefs.h. */
14522 $ac_includes_default
14526 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14533 rm -f conftest.$ac_objext
14534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14535 (eval $ac_compile) 2>conftest.er1
14537 grep -v '^ *+' conftest.er1 >conftest.err
14539 cat conftest.err >&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } &&
14542 { ac_try='test -z "$ac_c_werror_flag"
14543 || test ! -s conftest.err'
14544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14545 (eval $ac_try) 2>&5
14547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14548 (exit $ac_status); }; } &&
14549 { ac_try='test -s conftest.$ac_objext'
14550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14551 (eval $ac_try) 2>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); }; }; then
14555 ac_hi=$ac_mid; break
14557 echo "$as_me: failed program was:" >&5
14558 sed 's/^/| /' conftest.$ac_ext >&5
14560 ac_lo=`expr $ac_mid + 1`
14561 if test $ac_lo -le $ac_mid; then
14565 ac_mid=`expr 2 '*' $ac_mid + 1`
14567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14570 echo "$as_me: failed program was:" >&5
14571 sed 's/^/| /' conftest.$ac_ext >&5
14573 cat >conftest.$ac_ext <<_ACEOF
14576 cat confdefs.h >>conftest.$ac_ext
14577 cat >>conftest.$ac_ext <<_ACEOF
14578 /* end confdefs.h. */
14579 $ac_includes_default
14583 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
14590 rm -f conftest.$ac_objext
14591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14592 (eval $ac_compile) 2>conftest.er1
14594 grep -v '^ *+' conftest.er1 >conftest.err
14596 cat conftest.err >&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); } &&
14599 { ac_try='test -z "$ac_c_werror_flag"
14600 || test ! -s conftest.err'
14601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14602 (eval $ac_try) 2>&5
14604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14605 (exit $ac_status); }; } &&
14606 { ac_try='test -s conftest.$ac_objext'
14607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14608 (eval $ac_try) 2>&5
14610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14611 (exit $ac_status); }; }; then
14614 cat >conftest.$ac_ext <<_ACEOF
14617 cat confdefs.h >>conftest.$ac_ext
14618 cat >>conftest.$ac_ext <<_ACEOF
14619 /* end confdefs.h. */
14620 $ac_includes_default
14624 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
14631 rm -f conftest.$ac_objext
14632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14633 (eval $ac_compile) 2>conftest.er1
14635 grep -v '^ *+' conftest.er1 >conftest.err
14637 cat conftest.err >&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } &&
14640 { ac_try='test -z "$ac_c_werror_flag"
14641 || test ! -s conftest.err'
14642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14643 (eval $ac_try) 2>&5
14645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14646 (exit $ac_status); }; } &&
14647 { ac_try='test -s conftest.$ac_objext'
14648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14649 (eval $ac_try) 2>&5
14651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14652 (exit $ac_status); }; }; then
14653 ac_lo=$ac_mid; break
14655 echo "$as_me: failed program was:" >&5
14656 sed 's/^/| /' conftest.$ac_ext >&5
14658 ac_hi=`expr '(' $ac_mid ')' - 1`
14659 if test $ac_mid -le $ac_hi; then
14663 ac_mid=`expr 2 '*' $ac_mid`
14665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14668 echo "$as_me: failed program was:" >&5
14669 sed 's/^/| /' conftest.$ac_ext >&5
14673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14676 # Binary search between lo and hi bounds.
14677 while test "x$ac_lo" != "x$ac_hi"; do
14678 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
14679 cat >conftest.$ac_ext <<_ACEOF
14682 cat confdefs.h >>conftest.$ac_ext
14683 cat >>conftest.$ac_ext <<_ACEOF
14684 /* end confdefs.h. */
14685 $ac_includes_default
14689 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
14696 rm -f conftest.$ac_objext
14697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14698 (eval $ac_compile) 2>conftest.er1
14700 grep -v '^ *+' conftest.er1 >conftest.err
14702 cat conftest.err >&5
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); } &&
14705 { ac_try='test -z "$ac_c_werror_flag"
14706 || test ! -s conftest.err'
14707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14708 (eval $ac_try) 2>&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); }; } &&
14712 { ac_try='test -s conftest.$ac_objext'
14713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14714 (eval $ac_try) 2>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); }; }; then
14720 echo "$as_me: failed program was:" >&5
14721 sed 's/^/| /' conftest.$ac_ext >&5
14723 ac_lo=`expr '(' $ac_mid ')' + 1`
14725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14728 ?*) ac_cv_sizeof_char=$ac_lo;;
14729 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14730 See \`config.log' for more details." >&5
14731 echo "$as_me: error: cannot compute sizeof (char), 77
14732 See \`config.log' for more details." >&2;}
14733 { (exit 1); exit 1; }; } ;;
14736 if test "$cross_compiling" = yes; then
14737 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
14738 See \`config.log' for more details." >&5
14739 echo "$as_me: error: cannot run test program while cross compiling
14740 See \`config.log' for more details." >&2;}
14741 { (exit 1); exit 1; }; }
14743 cat >conftest.$ac_ext <<_ACEOF
14746 cat confdefs.h >>conftest.$ac_ext
14747 cat >>conftest.$ac_ext <<_ACEOF
14748 /* end confdefs.h. */
14749 $ac_includes_default
14750 long longval () { return (long) (sizeof (char)); }
14751 unsigned long ulongval () { return (long) (sizeof (char)); }
14753 #include <stdlib.h>
14758 FILE *f = fopen ("conftest.val", "w");
14761 if (((long) (sizeof (char))) < 0)
14763 long i = longval ();
14764 if (i != ((long) (sizeof (char))))
14766 fprintf (f, "%ld\n", i);
14770 unsigned long i = ulongval ();
14771 if (i != ((long) (sizeof (char))))
14773 fprintf (f, "%lu\n", i);
14775 exit (ferror (f) || fclose (f) != 0);
14781 rm -f conftest$ac_exeext
14782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14783 (eval $ac_link) 2>&5
14785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14788 (eval $ac_try) 2>&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); }; }; then
14792 ac_cv_sizeof_char=`cat conftest.val`
14794 echo "$as_me: program exited with status $ac_status" >&5
14795 echo "$as_me: failed program was:" >&5
14796 sed 's/^/| /' conftest.$ac_ext >&5
14798 ( exit $ac_status )
14799 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
14800 See \`config.log' for more details." >&5
14801 echo "$as_me: error: cannot compute sizeof (char), 77
14802 See \`config.log' for more details." >&2;}
14803 { (exit 1); exit 1; }; }
14805 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14810 ac_cv_sizeof_char=0
14813 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
14814 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
14815 cat >>confdefs.h <<_ACEOF
14816 #define SIZEOF_CHAR $ac_cv_sizeof_char
14820 echo "$as_me:$LINENO: checking for short int" >&5
14821 echo $ECHO_N "checking for short int... $ECHO_C" >&6
14822 if test "${ac_cv_type_short_int+set}" = set; then
14823 echo $ECHO_N "(cached) $ECHO_C" >&6
14825 cat >conftest.$ac_ext <<_ACEOF
14828 cat confdefs.h >>conftest.$ac_ext
14829 cat >>conftest.$ac_ext <<_ACEOF
14830 /* end confdefs.h. */
14831 $ac_includes_default
14835 if ((short int *) 0)
14837 if (sizeof (short int))
14843 rm -f conftest.$ac_objext
14844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14845 (eval $ac_compile) 2>conftest.er1
14847 grep -v '^ *+' conftest.er1 >conftest.err
14849 cat conftest.err >&5
14850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14851 (exit $ac_status); } &&
14852 { ac_try='test -z "$ac_c_werror_flag"
14853 || test ! -s conftest.err'
14854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14855 (eval $ac_try) 2>&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); }; } &&
14859 { ac_try='test -s conftest.$ac_objext'
14860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14861 (eval $ac_try) 2>&5
14863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14864 (exit $ac_status); }; }; then
14865 ac_cv_type_short_int=yes
14867 echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.$ac_ext >&5
14870 ac_cv_type_short_int=no
14872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14874 echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5
14875 echo "${ECHO_T}$ac_cv_type_short_int" >&6
14877 echo "$as_me:$LINENO: checking size of short int" >&5
14878 echo $ECHO_N "checking size of short int... $ECHO_C" >&6
14879 if test "${ac_cv_sizeof_short_int+set}" = set; then
14880 echo $ECHO_N "(cached) $ECHO_C" >&6
14882 if test "$ac_cv_type_short_int" = yes; then
14883 # The cast to unsigned long works around a bug in the HP C Compiler
14884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14886 # This bug is HP SR number 8606223364.
14887 if test "$cross_compiling" = yes; then
14888 # Depending upon the size, compute the lo and hi bounds.
14889 cat >conftest.$ac_ext <<_ACEOF
14892 cat confdefs.h >>conftest.$ac_ext
14893 cat >>conftest.$ac_ext <<_ACEOF
14894 /* end confdefs.h. */
14895 $ac_includes_default
14899 static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= 0)];
14906 rm -f conftest.$ac_objext
14907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14908 (eval $ac_compile) 2>conftest.er1
14910 grep -v '^ *+' conftest.er1 >conftest.err
14912 cat conftest.err >&5
14913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914 (exit $ac_status); } &&
14915 { ac_try='test -z "$ac_c_werror_flag"
14916 || test ! -s conftest.err'
14917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14918 (eval $ac_try) 2>&5
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); }; } &&
14922 { ac_try='test -s conftest.$ac_objext'
14923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14924 (eval $ac_try) 2>&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); }; }; then
14930 cat >conftest.$ac_ext <<_ACEOF
14933 cat confdefs.h >>conftest.$ac_ext
14934 cat >>conftest.$ac_ext <<_ACEOF
14935 /* end confdefs.h. */
14936 $ac_includes_default
14940 static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)];
14947 rm -f conftest.$ac_objext
14948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14949 (eval $ac_compile) 2>conftest.er1
14951 grep -v '^ *+' conftest.er1 >conftest.err
14953 cat conftest.err >&5
14954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14955 (exit $ac_status); } &&
14956 { ac_try='test -z "$ac_c_werror_flag"
14957 || test ! -s conftest.err'
14958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959 (eval $ac_try) 2>&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); }; } &&
14963 { ac_try='test -s conftest.$ac_objext'
14964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14965 (eval $ac_try) 2>&5
14967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14968 (exit $ac_status); }; }; then
14969 ac_hi=$ac_mid; break
14971 echo "$as_me: failed program was:" >&5
14972 sed 's/^/| /' conftest.$ac_ext >&5
14974 ac_lo=`expr $ac_mid + 1`
14975 if test $ac_lo -le $ac_mid; then
14979 ac_mid=`expr 2 '*' $ac_mid + 1`
14981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14984 echo "$as_me: failed program was:" >&5
14985 sed 's/^/| /' conftest.$ac_ext >&5
14987 cat >conftest.$ac_ext <<_ACEOF
14990 cat confdefs.h >>conftest.$ac_ext
14991 cat >>conftest.$ac_ext <<_ACEOF
14992 /* end confdefs.h. */
14993 $ac_includes_default
14997 static int test_array [1 - 2 * !(((long) (sizeof (short int))) < 0)];
15004 rm -f conftest.$ac_objext
15005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15006 (eval $ac_compile) 2>conftest.er1
15008 grep -v '^ *+' conftest.er1 >conftest.err
15010 cat conftest.err >&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); } &&
15013 { ac_try='test -z "$ac_c_werror_flag"
15014 || test ! -s conftest.err'
15015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15016 (eval $ac_try) 2>&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); }; } &&
15020 { ac_try='test -s conftest.$ac_objext'
15021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15022 (eval $ac_try) 2>&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); }; }; then
15028 cat >conftest.$ac_ext <<_ACEOF
15031 cat confdefs.h >>conftest.$ac_ext
15032 cat >>conftest.$ac_ext <<_ACEOF
15033 /* end confdefs.h. */
15034 $ac_includes_default
15038 static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= $ac_mid)];
15045 rm -f conftest.$ac_objext
15046 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15047 (eval $ac_compile) 2>conftest.er1
15049 grep -v '^ *+' conftest.er1 >conftest.err
15051 cat conftest.err >&5
15052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15053 (exit $ac_status); } &&
15054 { ac_try='test -z "$ac_c_werror_flag"
15055 || test ! -s conftest.err'
15056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15057 (eval $ac_try) 2>&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); }; } &&
15061 { ac_try='test -s conftest.$ac_objext'
15062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063 (eval $ac_try) 2>&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); }; }; then
15067 ac_lo=$ac_mid; break
15069 echo "$as_me: failed program was:" >&5
15070 sed 's/^/| /' conftest.$ac_ext >&5
15072 ac_hi=`expr '(' $ac_mid ')' - 1`
15073 if test $ac_mid -le $ac_hi; then
15077 ac_mid=`expr 2 '*' $ac_mid`
15079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15082 echo "$as_me: failed program was:" >&5
15083 sed 's/^/| /' conftest.$ac_ext >&5
15087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15090 # Binary search between lo and hi bounds.
15091 while test "x$ac_lo" != "x$ac_hi"; do
15092 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15093 cat >conftest.$ac_ext <<_ACEOF
15096 cat confdefs.h >>conftest.$ac_ext
15097 cat >>conftest.$ac_ext <<_ACEOF
15098 /* end confdefs.h. */
15099 $ac_includes_default
15103 static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)];
15110 rm -f conftest.$ac_objext
15111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15112 (eval $ac_compile) 2>conftest.er1
15114 grep -v '^ *+' conftest.er1 >conftest.err
15116 cat conftest.err >&5
15117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15118 (exit $ac_status); } &&
15119 { ac_try='test -z "$ac_c_werror_flag"
15120 || test ! -s conftest.err'
15121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15122 (eval $ac_try) 2>&5
15124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15125 (exit $ac_status); }; } &&
15126 { ac_try='test -s conftest.$ac_objext'
15127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15128 (eval $ac_try) 2>&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }; }; then
15134 echo "$as_me: failed program was:" >&5
15135 sed 's/^/| /' conftest.$ac_ext >&5
15137 ac_lo=`expr '(' $ac_mid ')' + 1`
15139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15142 ?*) ac_cv_sizeof_short_int=$ac_lo;;
15143 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
15144 See \`config.log' for more details." >&5
15145 echo "$as_me: error: cannot compute sizeof (short int), 77
15146 See \`config.log' for more details." >&2;}
15147 { (exit 1); exit 1; }; } ;;
15150 if test "$cross_compiling" = yes; then
15151 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15152 See \`config.log' for more details." >&5
15153 echo "$as_me: error: cannot run test program while cross compiling
15154 See \`config.log' for more details." >&2;}
15155 { (exit 1); exit 1; }; }
15157 cat >conftest.$ac_ext <<_ACEOF
15160 cat confdefs.h >>conftest.$ac_ext
15161 cat >>conftest.$ac_ext <<_ACEOF
15162 /* end confdefs.h. */
15163 $ac_includes_default
15164 long longval () { return (long) (sizeof (short int)); }
15165 unsigned long ulongval () { return (long) (sizeof (short int)); }
15167 #include <stdlib.h>
15172 FILE *f = fopen ("conftest.val", "w");
15175 if (((long) (sizeof (short int))) < 0)
15177 long i = longval ();
15178 if (i != ((long) (sizeof (short int))))
15180 fprintf (f, "%ld\n", i);
15184 unsigned long i = ulongval ();
15185 if (i != ((long) (sizeof (short int))))
15187 fprintf (f, "%lu\n", i);
15189 exit (ferror (f) || fclose (f) != 0);
15195 rm -f conftest$ac_exeext
15196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15197 (eval $ac_link) 2>&5
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15202 (eval $ac_try) 2>&5
15204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15205 (exit $ac_status); }; }; then
15206 ac_cv_sizeof_short_int=`cat conftest.val`
15208 echo "$as_me: program exited with status $ac_status" >&5
15209 echo "$as_me: failed program was:" >&5
15210 sed 's/^/| /' conftest.$ac_ext >&5
15212 ( exit $ac_status )
15213 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
15214 See \`config.log' for more details." >&5
15215 echo "$as_me: error: cannot compute sizeof (short int), 77
15216 See \`config.log' for more details." >&2;}
15217 { (exit 1); exit 1; }; }
15219 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15224 ac_cv_sizeof_short_int=0
15227 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5
15228 echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6
15229 cat >>confdefs.h <<_ACEOF
15230 #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
15234 echo "$as_me:$LINENO: checking for int" >&5
15235 echo $ECHO_N "checking for int... $ECHO_C" >&6
15236 if test "${ac_cv_type_int+set}" = set; then
15237 echo $ECHO_N "(cached) $ECHO_C" >&6
15239 cat >conftest.$ac_ext <<_ACEOF
15242 cat confdefs.h >>conftest.$ac_ext
15243 cat >>conftest.$ac_ext <<_ACEOF
15244 /* end confdefs.h. */
15245 $ac_includes_default
15257 rm -f conftest.$ac_objext
15258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15259 (eval $ac_compile) 2>conftest.er1
15261 grep -v '^ *+' conftest.er1 >conftest.err
15263 cat conftest.err >&5
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); } &&
15266 { ac_try='test -z "$ac_c_werror_flag"
15267 || test ! -s conftest.err'
15268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15269 (eval $ac_try) 2>&5
15271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15272 (exit $ac_status); }; } &&
15273 { ac_try='test -s conftest.$ac_objext'
15274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15275 (eval $ac_try) 2>&5
15277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278 (exit $ac_status); }; }; then
15281 echo "$as_me: failed program was:" >&5
15282 sed 's/^/| /' conftest.$ac_ext >&5
15286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15288 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15289 echo "${ECHO_T}$ac_cv_type_int" >&6
15291 echo "$as_me:$LINENO: checking size of int" >&5
15292 echo $ECHO_N "checking size of int... $ECHO_C" >&6
15293 if test "${ac_cv_sizeof_int+set}" = set; then
15294 echo $ECHO_N "(cached) $ECHO_C" >&6
15296 if test "$ac_cv_type_int" = yes; then
15297 # The cast to unsigned long works around a bug in the HP C Compiler
15298 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15299 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15300 # This bug is HP SR number 8606223364.
15301 if test "$cross_compiling" = yes; then
15302 # Depending upon the size, compute the lo and hi bounds.
15303 cat >conftest.$ac_ext <<_ACEOF
15306 cat confdefs.h >>conftest.$ac_ext
15307 cat >>conftest.$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15309 $ac_includes_default
15313 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15320 rm -f conftest.$ac_objext
15321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15322 (eval $ac_compile) 2>conftest.er1
15324 grep -v '^ *+' conftest.er1 >conftest.err
15326 cat conftest.err >&5
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); } &&
15329 { ac_try='test -z "$ac_c_werror_flag"
15330 || test ! -s conftest.err'
15331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15332 (eval $ac_try) 2>&5
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); }; } &&
15336 { ac_try='test -s conftest.$ac_objext'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; }; then
15344 cat >conftest.$ac_ext <<_ACEOF
15347 cat confdefs.h >>conftest.$ac_ext
15348 cat >>conftest.$ac_ext <<_ACEOF
15349 /* end confdefs.h. */
15350 $ac_includes_default
15354 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15361 rm -f conftest.$ac_objext
15362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15363 (eval $ac_compile) 2>conftest.er1
15365 grep -v '^ *+' conftest.er1 >conftest.err
15367 cat conftest.err >&5
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); } &&
15370 { ac_try='test -z "$ac_c_werror_flag"
15371 || test ! -s conftest.err'
15372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15373 (eval $ac_try) 2>&5
15375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15376 (exit $ac_status); }; } &&
15377 { ac_try='test -s conftest.$ac_objext'
15378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15379 (eval $ac_try) 2>&5
15381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15382 (exit $ac_status); }; }; then
15383 ac_hi=$ac_mid; break
15385 echo "$as_me: failed program was:" >&5
15386 sed 's/^/| /' conftest.$ac_ext >&5
15388 ac_lo=`expr $ac_mid + 1`
15389 if test $ac_lo -le $ac_mid; then
15393 ac_mid=`expr 2 '*' $ac_mid + 1`
15395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15398 echo "$as_me: failed program was:" >&5
15399 sed 's/^/| /' conftest.$ac_ext >&5
15401 cat >conftest.$ac_ext <<_ACEOF
15404 cat confdefs.h >>conftest.$ac_ext
15405 cat >>conftest.$ac_ext <<_ACEOF
15406 /* end confdefs.h. */
15407 $ac_includes_default
15411 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15418 rm -f conftest.$ac_objext
15419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15420 (eval $ac_compile) 2>conftest.er1
15422 grep -v '^ *+' conftest.er1 >conftest.err
15424 cat conftest.err >&5
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); } &&
15427 { ac_try='test -z "$ac_c_werror_flag"
15428 || test ! -s conftest.err'
15429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15430 (eval $ac_try) 2>&5
15432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15433 (exit $ac_status); }; } &&
15434 { ac_try='test -s conftest.$ac_objext'
15435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15436 (eval $ac_try) 2>&5
15438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15439 (exit $ac_status); }; }; then
15442 cat >conftest.$ac_ext <<_ACEOF
15445 cat confdefs.h >>conftest.$ac_ext
15446 cat >>conftest.$ac_ext <<_ACEOF
15447 /* end confdefs.h. */
15448 $ac_includes_default
15452 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15459 rm -f conftest.$ac_objext
15460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15461 (eval $ac_compile) 2>conftest.er1
15463 grep -v '^ *+' conftest.er1 >conftest.err
15465 cat conftest.err >&5
15466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15467 (exit $ac_status); } &&
15468 { ac_try='test -z "$ac_c_werror_flag"
15469 || test ! -s conftest.err'
15470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15471 (eval $ac_try) 2>&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); }; } &&
15475 { ac_try='test -s conftest.$ac_objext'
15476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15477 (eval $ac_try) 2>&5
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); }; }; then
15481 ac_lo=$ac_mid; break
15483 echo "$as_me: failed program was:" >&5
15484 sed 's/^/| /' conftest.$ac_ext >&5
15486 ac_hi=`expr '(' $ac_mid ')' - 1`
15487 if test $ac_mid -le $ac_hi; then
15491 ac_mid=`expr 2 '*' $ac_mid`
15493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.$ac_ext >&5
15501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15504 # Binary search between lo and hi bounds.
15505 while test "x$ac_lo" != "x$ac_hi"; do
15506 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15507 cat >conftest.$ac_ext <<_ACEOF
15510 cat confdefs.h >>conftest.$ac_ext
15511 cat >>conftest.$ac_ext <<_ACEOF
15512 /* end confdefs.h. */
15513 $ac_includes_default
15517 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15524 rm -f conftest.$ac_objext
15525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15526 (eval $ac_compile) 2>conftest.er1
15528 grep -v '^ *+' conftest.er1 >conftest.err
15530 cat conftest.err >&5
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); } &&
15533 { ac_try='test -z "$ac_c_werror_flag"
15534 || test ! -s conftest.err'
15535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15536 (eval $ac_try) 2>&5
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); }; } &&
15540 { ac_try='test -s conftest.$ac_objext'
15541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542 (eval $ac_try) 2>&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); }; }; then
15548 echo "$as_me: failed program was:" >&5
15549 sed 's/^/| /' conftest.$ac_ext >&5
15551 ac_lo=`expr '(' $ac_mid ')' + 1`
15553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15556 ?*) ac_cv_sizeof_int=$ac_lo;;
15557 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15558 See \`config.log' for more details." >&5
15559 echo "$as_me: error: cannot compute sizeof (int), 77
15560 See \`config.log' for more details." >&2;}
15561 { (exit 1); exit 1; }; } ;;
15564 if test "$cross_compiling" = yes; then
15565 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15566 See \`config.log' for more details." >&5
15567 echo "$as_me: error: cannot run test program while cross compiling
15568 See \`config.log' for more details." >&2;}
15569 { (exit 1); exit 1; }; }
15571 cat >conftest.$ac_ext <<_ACEOF
15574 cat confdefs.h >>conftest.$ac_ext
15575 cat >>conftest.$ac_ext <<_ACEOF
15576 /* end confdefs.h. */
15577 $ac_includes_default
15578 long longval () { return (long) (sizeof (int)); }
15579 unsigned long ulongval () { return (long) (sizeof (int)); }
15581 #include <stdlib.h>
15586 FILE *f = fopen ("conftest.val", "w");
15589 if (((long) (sizeof (int))) < 0)
15591 long i = longval ();
15592 if (i != ((long) (sizeof (int))))
15594 fprintf (f, "%ld\n", i);
15598 unsigned long i = ulongval ();
15599 if (i != ((long) (sizeof (int))))
15601 fprintf (f, "%lu\n", i);
15603 exit (ferror (f) || fclose (f) != 0);
15609 rm -f conftest$ac_exeext
15610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15611 (eval $ac_link) 2>&5
15613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15616 (eval $ac_try) 2>&5
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); }; }; then
15620 ac_cv_sizeof_int=`cat conftest.val`
15622 echo "$as_me: program exited with status $ac_status" >&5
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.$ac_ext >&5
15626 ( exit $ac_status )
15627 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
15628 See \`config.log' for more details." >&5
15629 echo "$as_me: error: cannot compute sizeof (int), 77
15630 See \`config.log' for more details." >&2;}
15631 { (exit 1); exit 1; }; }
15633 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15641 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15642 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
15643 cat >>confdefs.h <<_ACEOF
15644 #define SIZEOF_INT $ac_cv_sizeof_int
15648 echo "$as_me:$LINENO: checking for long int" >&5
15649 echo $ECHO_N "checking for long int... $ECHO_C" >&6
15650 if test "${ac_cv_type_long_int+set}" = set; then
15651 echo $ECHO_N "(cached) $ECHO_C" >&6
15653 cat >conftest.$ac_ext <<_ACEOF
15656 cat confdefs.h >>conftest.$ac_ext
15657 cat >>conftest.$ac_ext <<_ACEOF
15658 /* end confdefs.h. */
15659 $ac_includes_default
15663 if ((long int *) 0)
15665 if (sizeof (long int))
15671 rm -f conftest.$ac_objext
15672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15673 (eval $ac_compile) 2>conftest.er1
15675 grep -v '^ *+' conftest.er1 >conftest.err
15677 cat conftest.err >&5
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); } &&
15680 { ac_try='test -z "$ac_c_werror_flag"
15681 || test ! -s conftest.err'
15682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15683 (eval $ac_try) 2>&5
15685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15686 (exit $ac_status); }; } &&
15687 { ac_try='test -s conftest.$ac_objext'
15688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15689 (eval $ac_try) 2>&5
15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692 (exit $ac_status); }; }; then
15693 ac_cv_type_long_int=yes
15695 echo "$as_me: failed program was:" >&5
15696 sed 's/^/| /' conftest.$ac_ext >&5
15698 ac_cv_type_long_int=no
15700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15702 echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5
15703 echo "${ECHO_T}$ac_cv_type_long_int" >&6
15705 echo "$as_me:$LINENO: checking size of long int" >&5
15706 echo $ECHO_N "checking size of long int... $ECHO_C" >&6
15707 if test "${ac_cv_sizeof_long_int+set}" = set; then
15708 echo $ECHO_N "(cached) $ECHO_C" >&6
15710 if test "$ac_cv_type_long_int" = yes; then
15711 # The cast to unsigned long works around a bug in the HP C Compiler
15712 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15713 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15714 # This bug is HP SR number 8606223364.
15715 if test "$cross_compiling" = yes; then
15716 # Depending upon the size, compute the lo and hi bounds.
15717 cat >conftest.$ac_ext <<_ACEOF
15720 cat confdefs.h >>conftest.$ac_ext
15721 cat >>conftest.$ac_ext <<_ACEOF
15722 /* end confdefs.h. */
15723 $ac_includes_default
15727 static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= 0)];
15734 rm -f conftest.$ac_objext
15735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15736 (eval $ac_compile) 2>conftest.er1
15738 grep -v '^ *+' conftest.er1 >conftest.err
15740 cat conftest.err >&5
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); } &&
15743 { ac_try='test -z "$ac_c_werror_flag"
15744 || test ! -s conftest.err'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; } &&
15750 { ac_try='test -s conftest.$ac_objext'
15751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15752 (eval $ac_try) 2>&5
15754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15755 (exit $ac_status); }; }; then
15758 cat >conftest.$ac_ext <<_ACEOF
15761 cat confdefs.h >>conftest.$ac_ext
15762 cat >>conftest.$ac_ext <<_ACEOF
15763 /* end confdefs.h. */
15764 $ac_includes_default
15768 static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
15775 rm -f conftest.$ac_objext
15776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15777 (eval $ac_compile) 2>conftest.er1
15779 grep -v '^ *+' conftest.er1 >conftest.err
15781 cat conftest.err >&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); } &&
15784 { ac_try='test -z "$ac_c_werror_flag"
15785 || test ! -s conftest.err'
15786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15787 (eval $ac_try) 2>&5
15789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790 (exit $ac_status); }; } &&
15791 { ac_try='test -s conftest.$ac_objext'
15792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15793 (eval $ac_try) 2>&5
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); }; }; then
15797 ac_hi=$ac_mid; break
15799 echo "$as_me: failed program was:" >&5
15800 sed 's/^/| /' conftest.$ac_ext >&5
15802 ac_lo=`expr $ac_mid + 1`
15803 if test $ac_lo -le $ac_mid; then
15807 ac_mid=`expr 2 '*' $ac_mid + 1`
15809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15812 echo "$as_me: failed program was:" >&5
15813 sed 's/^/| /' conftest.$ac_ext >&5
15815 cat >conftest.$ac_ext <<_ACEOF
15818 cat confdefs.h >>conftest.$ac_ext
15819 cat >>conftest.$ac_ext <<_ACEOF
15820 /* end confdefs.h. */
15821 $ac_includes_default
15825 static int test_array [1 - 2 * !(((long) (sizeof (long int))) < 0)];
15832 rm -f conftest.$ac_objext
15833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15834 (eval $ac_compile) 2>conftest.er1
15836 grep -v '^ *+' conftest.er1 >conftest.err
15838 cat conftest.err >&5
15839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15840 (exit $ac_status); } &&
15841 { ac_try='test -z "$ac_c_werror_flag"
15842 || test ! -s conftest.err'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; } &&
15848 { ac_try='test -s conftest.$ac_objext'
15849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15850 (eval $ac_try) 2>&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); }; }; then
15856 cat >conftest.$ac_ext <<_ACEOF
15859 cat confdefs.h >>conftest.$ac_ext
15860 cat >>conftest.$ac_ext <<_ACEOF
15861 /* end confdefs.h. */
15862 $ac_includes_default
15866 static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= $ac_mid)];
15873 rm -f conftest.$ac_objext
15874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15875 (eval $ac_compile) 2>conftest.er1
15877 grep -v '^ *+' conftest.er1 >conftest.err
15879 cat conftest.err >&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); } &&
15882 { ac_try='test -z "$ac_c_werror_flag"
15883 || test ! -s conftest.err'
15884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15885 (eval $ac_try) 2>&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); }; } &&
15889 { ac_try='test -s conftest.$ac_objext'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; }; then
15895 ac_lo=$ac_mid; break
15897 echo "$as_me: failed program was:" >&5
15898 sed 's/^/| /' conftest.$ac_ext >&5
15900 ac_hi=`expr '(' $ac_mid ')' - 1`
15901 if test $ac_mid -le $ac_hi; then
15905 ac_mid=`expr 2 '*' $ac_mid`
15907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.$ac_ext >&5
15915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15918 # Binary search between lo and hi bounds.
15919 while test "x$ac_lo" != "x$ac_hi"; do
15920 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15921 cat >conftest.$ac_ext <<_ACEOF
15924 cat confdefs.h >>conftest.$ac_ext
15925 cat >>conftest.$ac_ext <<_ACEOF
15926 /* end confdefs.h. */
15927 $ac_includes_default
15931 static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
15938 rm -f conftest.$ac_objext
15939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15940 (eval $ac_compile) 2>conftest.er1
15942 grep -v '^ *+' conftest.er1 >conftest.err
15944 cat conftest.err >&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); } &&
15947 { ac_try='test -z "$ac_c_werror_flag"
15948 || test ! -s conftest.err'
15949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15950 (eval $ac_try) 2>&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); }; } &&
15954 { ac_try='test -s conftest.$ac_objext'
15955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15956 (eval $ac_try) 2>&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); }; }; then
15962 echo "$as_me: failed program was:" >&5
15963 sed 's/^/| /' conftest.$ac_ext >&5
15965 ac_lo=`expr '(' $ac_mid ')' + 1`
15967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15970 ?*) ac_cv_sizeof_long_int=$ac_lo;;
15971 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
15972 See \`config.log' for more details." >&5
15973 echo "$as_me: error: cannot compute sizeof (long int), 77
15974 See \`config.log' for more details." >&2;}
15975 { (exit 1); exit 1; }; } ;;
15978 if test "$cross_compiling" = yes; then
15979 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15980 See \`config.log' for more details." >&5
15981 echo "$as_me: error: cannot run test program while cross compiling
15982 See \`config.log' for more details." >&2;}
15983 { (exit 1); exit 1; }; }
15985 cat >conftest.$ac_ext <<_ACEOF
15988 cat confdefs.h >>conftest.$ac_ext
15989 cat >>conftest.$ac_ext <<_ACEOF
15990 /* end confdefs.h. */
15991 $ac_includes_default
15992 long longval () { return (long) (sizeof (long int)); }
15993 unsigned long ulongval () { return (long) (sizeof (long int)); }
15995 #include <stdlib.h>
16000 FILE *f = fopen ("conftest.val", "w");
16003 if (((long) (sizeof (long int))) < 0)
16005 long i = longval ();
16006 if (i != ((long) (sizeof (long int))))
16008 fprintf (f, "%ld\n", i);
16012 unsigned long i = ulongval ();
16013 if (i != ((long) (sizeof (long int))))
16015 fprintf (f, "%lu\n", i);
16017 exit (ferror (f) || fclose (f) != 0);
16023 rm -f conftest$ac_exeext
16024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16025 (eval $ac_link) 2>&5
16027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16028 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16030 (eval $ac_try) 2>&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); }; }; then
16034 ac_cv_sizeof_long_int=`cat conftest.val`
16036 echo "$as_me: program exited with status $ac_status" >&5
16037 echo "$as_me: failed program was:" >&5
16038 sed 's/^/| /' conftest.$ac_ext >&5
16040 ( exit $ac_status )
16041 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
16042 See \`config.log' for more details." >&5
16043 echo "$as_me: error: cannot compute sizeof (long int), 77
16044 See \`config.log' for more details." >&2;}
16045 { (exit 1); exit 1; }; }
16047 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16052 ac_cv_sizeof_long_int=0
16055 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
16056 echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6
16057 cat >>confdefs.h <<_ACEOF
16058 #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
16062 echo "$as_me:$LINENO: checking for long long int" >&5
16063 echo $ECHO_N "checking for long long int... $ECHO_C" >&6
16064 if test "${ac_cv_type_long_long_int+set}" = set; then
16065 echo $ECHO_N "(cached) $ECHO_C" >&6
16067 cat >conftest.$ac_ext <<_ACEOF
16070 cat confdefs.h >>conftest.$ac_ext
16071 cat >>conftest.$ac_ext <<_ACEOF
16072 /* end confdefs.h. */
16073 $ac_includes_default
16077 if ((long long int *) 0)
16079 if (sizeof (long long int))
16085 rm -f conftest.$ac_objext
16086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16087 (eval $ac_compile) 2>conftest.er1
16089 grep -v '^ *+' conftest.er1 >conftest.err
16091 cat conftest.err >&5
16092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093 (exit $ac_status); } &&
16094 { ac_try='test -z "$ac_c_werror_flag"
16095 || test ! -s conftest.err'
16096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16097 (eval $ac_try) 2>&5
16099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16100 (exit $ac_status); }; } &&
16101 { ac_try='test -s conftest.$ac_objext'
16102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16103 (eval $ac_try) 2>&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); }; }; then
16107 ac_cv_type_long_long_int=yes
16109 echo "$as_me: failed program was:" >&5
16110 sed 's/^/| /' conftest.$ac_ext >&5
16112 ac_cv_type_long_long_int=no
16114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16116 echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
16117 echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
16119 echo "$as_me:$LINENO: checking size of long long int" >&5
16120 echo $ECHO_N "checking size of long long int... $ECHO_C" >&6
16121 if test "${ac_cv_sizeof_long_long_int+set}" = set; then
16122 echo $ECHO_N "(cached) $ECHO_C" >&6
16124 if test "$ac_cv_type_long_long_int" = yes; then
16125 # The cast to unsigned long works around a bug in the HP C Compiler
16126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16127 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16128 # This bug is HP SR number 8606223364.
16129 if test "$cross_compiling" = yes; then
16130 # Depending upon the size, compute the lo and hi bounds.
16131 cat >conftest.$ac_ext <<_ACEOF
16134 cat confdefs.h >>conftest.$ac_ext
16135 cat >>conftest.$ac_ext <<_ACEOF
16136 /* end confdefs.h. */
16137 $ac_includes_default
16141 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= 0)];
16148 rm -f conftest.$ac_objext
16149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16150 (eval $ac_compile) 2>conftest.er1
16152 grep -v '^ *+' conftest.er1 >conftest.err
16154 cat conftest.err >&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); } &&
16157 { ac_try='test -z "$ac_c_werror_flag"
16158 || test ! -s conftest.err'
16159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16160 (eval $ac_try) 2>&5
16162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16163 (exit $ac_status); }; } &&
16164 { ac_try='test -s conftest.$ac_objext'
16165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16166 (eval $ac_try) 2>&5
16168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16169 (exit $ac_status); }; }; then
16172 cat >conftest.$ac_ext <<_ACEOF
16175 cat confdefs.h >>conftest.$ac_ext
16176 cat >>conftest.$ac_ext <<_ACEOF
16177 /* end confdefs.h. */
16178 $ac_includes_default
16182 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
16189 rm -f conftest.$ac_objext
16190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16191 (eval $ac_compile) 2>conftest.er1
16193 grep -v '^ *+' conftest.er1 >conftest.err
16195 cat conftest.err >&5
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); } &&
16198 { ac_try='test -z "$ac_c_werror_flag"
16199 || test ! -s conftest.err'
16200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16201 (eval $ac_try) 2>&5
16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204 (exit $ac_status); }; } &&
16205 { ac_try='test -s conftest.$ac_objext'
16206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16207 (eval $ac_try) 2>&5
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); }; }; then
16211 ac_hi=$ac_mid; break
16213 echo "$as_me: failed program was:" >&5
16214 sed 's/^/| /' conftest.$ac_ext >&5
16216 ac_lo=`expr $ac_mid + 1`
16217 if test $ac_lo -le $ac_mid; then
16221 ac_mid=`expr 2 '*' $ac_mid + 1`
16223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16226 echo "$as_me: failed program was:" >&5
16227 sed 's/^/| /' conftest.$ac_ext >&5
16229 cat >conftest.$ac_ext <<_ACEOF
16232 cat confdefs.h >>conftest.$ac_ext
16233 cat >>conftest.$ac_ext <<_ACEOF
16234 /* end confdefs.h. */
16235 $ac_includes_default
16239 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) < 0)];
16246 rm -f conftest.$ac_objext
16247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16248 (eval $ac_compile) 2>conftest.er1
16250 grep -v '^ *+' conftest.er1 >conftest.err
16252 cat conftest.err >&5
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); } &&
16255 { ac_try='test -z "$ac_c_werror_flag"
16256 || test ! -s conftest.err'
16257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16258 (eval $ac_try) 2>&5
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); }; } &&
16262 { ac_try='test -s conftest.$ac_objext'
16263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16264 (eval $ac_try) 2>&5
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }; }; then
16270 cat >conftest.$ac_ext <<_ACEOF
16273 cat confdefs.h >>conftest.$ac_ext
16274 cat >>conftest.$ac_ext <<_ACEOF
16275 /* end confdefs.h. */
16276 $ac_includes_default
16280 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= $ac_mid)];
16287 rm -f conftest.$ac_objext
16288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16289 (eval $ac_compile) 2>conftest.er1
16291 grep -v '^ *+' conftest.er1 >conftest.err
16293 cat conftest.err >&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); } &&
16296 { ac_try='test -z "$ac_c_werror_flag"
16297 || test ! -s conftest.err'
16298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16299 (eval $ac_try) 2>&5
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); }; } &&
16303 { ac_try='test -s conftest.$ac_objext'
16304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16305 (eval $ac_try) 2>&5
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); }; }; then
16309 ac_lo=$ac_mid; break
16311 echo "$as_me: failed program was:" >&5
16312 sed 's/^/| /' conftest.$ac_ext >&5
16314 ac_hi=`expr '(' $ac_mid ')' - 1`
16315 if test $ac_mid -le $ac_hi; then
16319 ac_mid=`expr 2 '*' $ac_mid`
16321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16324 echo "$as_me: failed program was:" >&5
16325 sed 's/^/| /' conftest.$ac_ext >&5
16329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16332 # Binary search between lo and hi bounds.
16333 while test "x$ac_lo" != "x$ac_hi"; do
16334 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16335 cat >conftest.$ac_ext <<_ACEOF
16338 cat confdefs.h >>conftest.$ac_ext
16339 cat >>conftest.$ac_ext <<_ACEOF
16340 /* end confdefs.h. */
16341 $ac_includes_default
16345 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
16352 rm -f conftest.$ac_objext
16353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16354 (eval $ac_compile) 2>conftest.er1
16356 grep -v '^ *+' conftest.er1 >conftest.err
16358 cat conftest.err >&5
16359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16360 (exit $ac_status); } &&
16361 { ac_try='test -z "$ac_c_werror_flag"
16362 || test ! -s conftest.err'
16363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16364 (eval $ac_try) 2>&5
16366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367 (exit $ac_status); }; } &&
16368 { ac_try='test -s conftest.$ac_objext'
16369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16370 (eval $ac_try) 2>&5
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); }; }; then
16376 echo "$as_me: failed program was:" >&5
16377 sed 's/^/| /' conftest.$ac_ext >&5
16379 ac_lo=`expr '(' $ac_mid ')' + 1`
16381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16384 ?*) ac_cv_sizeof_long_long_int=$ac_lo;;
16385 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
16386 See \`config.log' for more details." >&5
16387 echo "$as_me: error: cannot compute sizeof (long long int), 77
16388 See \`config.log' for more details." >&2;}
16389 { (exit 1); exit 1; }; } ;;
16392 if test "$cross_compiling" = yes; then
16393 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16394 See \`config.log' for more details." >&5
16395 echo "$as_me: error: cannot run test program while cross compiling
16396 See \`config.log' for more details." >&2;}
16397 { (exit 1); exit 1; }; }
16399 cat >conftest.$ac_ext <<_ACEOF
16402 cat confdefs.h >>conftest.$ac_ext
16403 cat >>conftest.$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16405 $ac_includes_default
16406 long longval () { return (long) (sizeof (long long int)); }
16407 unsigned long ulongval () { return (long) (sizeof (long long int)); }
16409 #include <stdlib.h>
16414 FILE *f = fopen ("conftest.val", "w");
16417 if (((long) (sizeof (long long int))) < 0)
16419 long i = longval ();
16420 if (i != ((long) (sizeof (long long int))))
16422 fprintf (f, "%ld\n", i);
16426 unsigned long i = ulongval ();
16427 if (i != ((long) (sizeof (long long int))))
16429 fprintf (f, "%lu\n", i);
16431 exit (ferror (f) || fclose (f) != 0);
16437 rm -f conftest$ac_exeext
16438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16439 (eval $ac_link) 2>&5
16441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16442 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16444 (eval $ac_try) 2>&5
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); }; }; then
16448 ac_cv_sizeof_long_long_int=`cat conftest.val`
16450 echo "$as_me: program exited with status $ac_status" >&5
16451 echo "$as_me: failed program was:" >&5
16452 sed 's/^/| /' conftest.$ac_ext >&5
16454 ( exit $ac_status )
16455 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
16456 See \`config.log' for more details." >&5
16457 echo "$as_me: error: cannot compute sizeof (long long int), 77
16458 See \`config.log' for more details." >&2;}
16459 { (exit 1); exit 1; }; }
16461 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16466 ac_cv_sizeof_long_long_int=0
16469 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
16470 echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6
16471 cat >>confdefs.h <<_ACEOF
16472 #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
16476 echo "$as_me:$LINENO: checking for int *" >&5
16477 echo $ECHO_N "checking for int *... $ECHO_C" >&6
16478 if test "${ac_cv_type_int_p+set}" = set; then
16479 echo $ECHO_N "(cached) $ECHO_C" >&6
16481 cat >conftest.$ac_ext <<_ACEOF
16484 cat confdefs.h >>conftest.$ac_ext
16485 cat >>conftest.$ac_ext <<_ACEOF
16486 /* end confdefs.h. */
16487 $ac_includes_default
16493 if (sizeof (int *))
16499 rm -f conftest.$ac_objext
16500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16501 (eval $ac_compile) 2>conftest.er1
16503 grep -v '^ *+' conftest.er1 >conftest.err
16505 cat conftest.err >&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); } &&
16508 { ac_try='test -z "$ac_c_werror_flag"
16509 || test ! -s conftest.err'
16510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16511 (eval $ac_try) 2>&5
16513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514 (exit $ac_status); }; } &&
16515 { ac_try='test -s conftest.$ac_objext'
16516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16517 (eval $ac_try) 2>&5
16519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16520 (exit $ac_status); }; }; then
16521 ac_cv_type_int_p=yes
16523 echo "$as_me: failed program was:" >&5
16524 sed 's/^/| /' conftest.$ac_ext >&5
16526 ac_cv_type_int_p=no
16528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16530 echo "$as_me:$LINENO: result: $ac_cv_type_int_p" >&5
16531 echo "${ECHO_T}$ac_cv_type_int_p" >&6
16533 echo "$as_me:$LINENO: checking size of int *" >&5
16534 echo $ECHO_N "checking size of int *... $ECHO_C" >&6
16535 if test "${ac_cv_sizeof_int_p+set}" = set; then
16536 echo $ECHO_N "(cached) $ECHO_C" >&6
16538 if test "$ac_cv_type_int_p" = yes; then
16539 # The cast to unsigned long works around a bug in the HP C Compiler
16540 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16541 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16542 # This bug is HP SR number 8606223364.
16543 if test "$cross_compiling" = yes; then
16544 # Depending upon the size, compute the lo and hi bounds.
16545 cat >conftest.$ac_ext <<_ACEOF
16548 cat confdefs.h >>conftest.$ac_ext
16549 cat >>conftest.$ac_ext <<_ACEOF
16550 /* end confdefs.h. */
16551 $ac_includes_default
16555 static int test_array [1 - 2 * !(((long) (sizeof (int *))) >= 0)];
16562 rm -f conftest.$ac_objext
16563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16564 (eval $ac_compile) 2>conftest.er1
16566 grep -v '^ *+' conftest.er1 >conftest.err
16568 cat conftest.err >&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); } &&
16571 { ac_try='test -z "$ac_c_werror_flag"
16572 || test ! -s conftest.err'
16573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16574 (eval $ac_try) 2>&5
16576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16577 (exit $ac_status); }; } &&
16578 { ac_try='test -s conftest.$ac_objext'
16579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16580 (eval $ac_try) 2>&5
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); }; }; then
16586 cat >conftest.$ac_ext <<_ACEOF
16589 cat confdefs.h >>conftest.$ac_ext
16590 cat >>conftest.$ac_ext <<_ACEOF
16591 /* end confdefs.h. */
16592 $ac_includes_default
16596 static int test_array [1 - 2 * !(((long) (sizeof (int *))) <= $ac_mid)];
16603 rm -f conftest.$ac_objext
16604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16605 (eval $ac_compile) 2>conftest.er1
16607 grep -v '^ *+' conftest.er1 >conftest.err
16609 cat conftest.err >&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); } &&
16612 { ac_try='test -z "$ac_c_werror_flag"
16613 || test ! -s conftest.err'
16614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16615 (eval $ac_try) 2>&5
16617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16618 (exit $ac_status); }; } &&
16619 { ac_try='test -s conftest.$ac_objext'
16620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16621 (eval $ac_try) 2>&5
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); }; }; then
16625 ac_hi=$ac_mid; break
16627 echo "$as_me: failed program was:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16630 ac_lo=`expr $ac_mid + 1`
16631 if test $ac_lo -le $ac_mid; then
16635 ac_mid=`expr 2 '*' $ac_mid + 1`
16637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16640 echo "$as_me: failed program was:" >&5
16641 sed 's/^/| /' conftest.$ac_ext >&5
16643 cat >conftest.$ac_ext <<_ACEOF
16646 cat confdefs.h >>conftest.$ac_ext
16647 cat >>conftest.$ac_ext <<_ACEOF
16648 /* end confdefs.h. */
16649 $ac_includes_default
16653 static int test_array [1 - 2 * !(((long) (sizeof (int *))) < 0)];
16660 rm -f conftest.$ac_objext
16661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16662 (eval $ac_compile) 2>conftest.er1
16664 grep -v '^ *+' conftest.er1 >conftest.err
16666 cat conftest.err >&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); } &&
16669 { ac_try='test -z "$ac_c_werror_flag"
16670 || test ! -s conftest.err'
16671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16672 (eval $ac_try) 2>&5
16674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); }; } &&
16676 { ac_try='test -s conftest.$ac_objext'
16677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16678 (eval $ac_try) 2>&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; }; then
16684 cat >conftest.$ac_ext <<_ACEOF
16687 cat confdefs.h >>conftest.$ac_ext
16688 cat >>conftest.$ac_ext <<_ACEOF
16689 /* end confdefs.h. */
16690 $ac_includes_default
16694 static int test_array [1 - 2 * !(((long) (sizeof (int *))) >= $ac_mid)];
16701 rm -f conftest.$ac_objext
16702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16703 (eval $ac_compile) 2>conftest.er1
16705 grep -v '^ *+' conftest.er1 >conftest.err
16707 cat conftest.err >&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } &&
16710 { ac_try='test -z "$ac_c_werror_flag"
16711 || test ! -s conftest.err'
16712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16713 (eval $ac_try) 2>&5
16715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16716 (exit $ac_status); }; } &&
16717 { ac_try='test -s conftest.$ac_objext'
16718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16719 (eval $ac_try) 2>&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); }; }; then
16723 ac_lo=$ac_mid; break
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16728 ac_hi=`expr '(' $ac_mid ')' - 1`
16729 if test $ac_mid -le $ac_hi; then
16733 ac_mid=`expr 2 '*' $ac_mid`
16735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16738 echo "$as_me: failed program was:" >&5
16739 sed 's/^/| /' conftest.$ac_ext >&5
16743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16746 # Binary search between lo and hi bounds.
16747 while test "x$ac_lo" != "x$ac_hi"; do
16748 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16749 cat >conftest.$ac_ext <<_ACEOF
16752 cat confdefs.h >>conftest.$ac_ext
16753 cat >>conftest.$ac_ext <<_ACEOF
16754 /* end confdefs.h. */
16755 $ac_includes_default
16759 static int test_array [1 - 2 * !(((long) (sizeof (int *))) <= $ac_mid)];
16766 rm -f conftest.$ac_objext
16767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16768 (eval $ac_compile) 2>conftest.er1
16770 grep -v '^ *+' conftest.er1 >conftest.err
16772 cat conftest.err >&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } &&
16775 { ac_try='test -z "$ac_c_werror_flag"
16776 || test ! -s conftest.err'
16777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16778 (eval $ac_try) 2>&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); }; } &&
16782 { ac_try='test -s conftest.$ac_objext'
16783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16784 (eval $ac_try) 2>&5
16786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16787 (exit $ac_status); }; }; then
16790 echo "$as_me: failed program was:" >&5
16791 sed 's/^/| /' conftest.$ac_ext >&5
16793 ac_lo=`expr '(' $ac_mid ')' + 1`
16795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16798 ?*) ac_cv_sizeof_int_p=$ac_lo;;
16799 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *), 77
16800 See \`config.log' for more details." >&5
16801 echo "$as_me: error: cannot compute sizeof (int *), 77
16802 See \`config.log' for more details." >&2;}
16803 { (exit 1); exit 1; }; } ;;
16806 if test "$cross_compiling" = yes; then
16807 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16808 See \`config.log' for more details." >&5
16809 echo "$as_me: error: cannot run test program while cross compiling
16810 See \`config.log' for more details." >&2;}
16811 { (exit 1); exit 1; }; }
16813 cat >conftest.$ac_ext <<_ACEOF
16816 cat confdefs.h >>conftest.$ac_ext
16817 cat >>conftest.$ac_ext <<_ACEOF
16818 /* end confdefs.h. */
16819 $ac_includes_default
16820 long longval () { return (long) (sizeof (int *)); }
16821 unsigned long ulongval () { return (long) (sizeof (int *)); }
16823 #include <stdlib.h>
16828 FILE *f = fopen ("conftest.val", "w");
16831 if (((long) (sizeof (int *))) < 0)
16833 long i = longval ();
16834 if (i != ((long) (sizeof (int *))))
16836 fprintf (f, "%ld\n", i);
16840 unsigned long i = ulongval ();
16841 if (i != ((long) (sizeof (int *))))
16843 fprintf (f, "%lu\n", i);
16845 exit (ferror (f) || fclose (f) != 0);
16851 rm -f conftest$ac_exeext
16852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16853 (eval $ac_link) 2>&5
16855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16856 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16858 (eval $ac_try) 2>&5
16860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16861 (exit $ac_status); }; }; then
16862 ac_cv_sizeof_int_p=`cat conftest.val`
16864 echo "$as_me: program exited with status $ac_status" >&5
16865 echo "$as_me: failed program was:" >&5
16866 sed 's/^/| /' conftest.$ac_ext >&5
16868 ( exit $ac_status )
16869 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *), 77
16870 See \`config.log' for more details." >&5
16871 echo "$as_me: error: cannot compute sizeof (int *), 77
16872 See \`config.log' for more details." >&2;}
16873 { (exit 1); exit 1; }; }
16875 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16880 ac_cv_sizeof_int_p=0
16883 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int_p" >&5
16884 echo "${ECHO_T}$ac_cv_sizeof_int_p" >&6
16885 cat >>confdefs.h <<_ACEOF
16886 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
16891 # Check for sys/types.h types
16892 echo "$as_me:$LINENO: checking for u_int type" >&5
16893 echo $ECHO_N "checking for u_int type... $ECHO_C" >&6
16894 if test "${ac_cv_have_u_int+set}" = set; then
16895 echo $ECHO_N "(cached) $ECHO_C" >&6
16898 cat >conftest.$ac_ext <<_ACEOF
16901 cat confdefs.h >>conftest.$ac_ext
16902 cat >>conftest.$ac_ext <<_ACEOF
16903 /* end confdefs.h. */
16904 #include <sys/types.h>
16913 rm -f conftest.$ac_objext
16914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16915 (eval $ac_compile) 2>conftest.er1
16917 grep -v '^ *+' conftest.er1 >conftest.err
16919 cat conftest.err >&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); } &&
16922 { ac_try='test -z "$ac_c_werror_flag"
16923 || test ! -s conftest.err'
16924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925 (eval $ac_try) 2>&5
16927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928 (exit $ac_status); }; } &&
16929 { ac_try='test -s conftest.$ac_objext'
16930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16931 (eval $ac_try) 2>&5
16933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16934 (exit $ac_status); }; }; then
16935 ac_cv_have_u_int="yes"
16937 echo "$as_me: failed program was:" >&5
16938 sed 's/^/| /' conftest.$ac_ext >&5
16940 ac_cv_have_u_int="no"
16943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16946 echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5
16947 echo "${ECHO_T}$ac_cv_have_u_int" >&6
16948 if test "x$ac_cv_have_u_int" = "xyes" ; then
16949 cat >>confdefs.h <<\_ACEOF
16950 #define HAVE_U_INT 1
16956 echo "$as_me:$LINENO: checking for intmax_t type" >&5
16957 echo $ECHO_N "checking for intmax_t type... $ECHO_C" >&6
16958 if test "${ac_cv_have_intmax_t+set}" = set; then
16959 echo $ECHO_N "(cached) $ECHO_C" >&6
16962 cat >conftest.$ac_ext <<_ACEOF
16965 cat confdefs.h >>conftest.$ac_ext
16966 cat >>conftest.$ac_ext <<_ACEOF
16967 /* end confdefs.h. */
16968 #include <sys/types.h>
16977 rm -f conftest.$ac_objext
16978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16979 (eval $ac_compile) 2>conftest.er1
16981 grep -v '^ *+' conftest.er1 >conftest.err
16983 cat conftest.err >&5
16984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16985 (exit $ac_status); } &&
16986 { ac_try='test -z "$ac_c_werror_flag"
16987 || test ! -s conftest.err'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; } &&
16993 { ac_try='test -s conftest.$ac_objext'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; }; then
16999 ac_cv_have_intmax_t="yes"
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.$ac_ext >&5
17005 cat >conftest.$ac_ext <<_ACEOF
17008 cat confdefs.h >>conftest.$ac_ext
17009 cat >>conftest.$ac_ext <<_ACEOF
17010 /* end confdefs.h. */
17011 #include <stdint.h>
17020 rm -f conftest.$ac_objext
17021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17022 (eval $ac_compile) 2>conftest.er1
17024 grep -v '^ *+' conftest.er1 >conftest.err
17026 cat conftest.err >&5
17027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17028 (exit $ac_status); } &&
17029 { ac_try='test -z "$ac_c_werror_flag"
17030 || test ! -s conftest.err'
17031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17032 (eval $ac_try) 2>&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); }; } &&
17036 { ac_try='test -s conftest.$ac_objext'
17037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17038 (eval $ac_try) 2>&5
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); }; }; then
17042 ac_cv_have_intmax_t="yes"
17044 echo "$as_me: failed program was:" >&5
17045 sed 's/^/| /' conftest.$ac_ext >&5
17047 ac_cv_have_intmax_t="no"
17050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17058 echo "$as_me:$LINENO: result: $ac_cv_have_intmax_t" >&5
17059 echo "${ECHO_T}$ac_cv_have_intmax_t" >&6
17060 if test "x$ac_cv_have_intmax_t" = "xyes" ; then
17061 cat >>confdefs.h <<\_ACEOF
17062 #define HAVE_INTMAX_T 1
17069 echo "$as_me:$LINENO: checking for u_intmax_t type" >&5
17070 echo $ECHO_N "checking for u_intmax_t type... $ECHO_C" >&6
17071 if test "${ac_cv_have_u_intmax_t+set}" = set; then
17072 echo $ECHO_N "(cached) $ECHO_C" >&6
17075 cat >conftest.$ac_ext <<_ACEOF
17078 cat confdefs.h >>conftest.$ac_ext
17079 cat >>conftest.$ac_ext <<_ACEOF
17080 /* end confdefs.h. */
17081 #include <sys/types.h>
17085 u_intmax_t a; a = 1;
17090 rm -f conftest.$ac_objext
17091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17092 (eval $ac_compile) 2>conftest.er1
17094 grep -v '^ *+' conftest.er1 >conftest.err
17096 cat conftest.err >&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } &&
17099 { ac_try='test -z "$ac_c_werror_flag"
17100 || test ! -s conftest.err'
17101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17102 (eval $ac_try) 2>&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); }; } &&
17106 { ac_try='test -s conftest.$ac_objext'
17107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17108 (eval $ac_try) 2>&5
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); }; }; then
17112 ac_cv_have_u_intmax_t="yes"
17114 echo "$as_me: failed program was:" >&5
17115 sed 's/^/| /' conftest.$ac_ext >&5
17118 cat >conftest.$ac_ext <<_ACEOF
17121 cat confdefs.h >>conftest.$ac_ext
17122 cat >>conftest.$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17124 #include <stdint.h>
17128 u_intmax_t a; a = 1;
17133 rm -f conftest.$ac_objext
17134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17135 (eval $ac_compile) 2>conftest.er1
17137 grep -v '^ *+' conftest.er1 >conftest.err
17139 cat conftest.err >&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); } &&
17142 { ac_try='test -z "$ac_c_werror_flag"
17143 || test ! -s conftest.err'
17144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17145 (eval $ac_try) 2>&5
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); }; } &&
17149 { ac_try='test -s conftest.$ac_objext'
17150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17151 (eval $ac_try) 2>&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); }; }; then
17155 ac_cv_have_u_intmax_t="yes"
17157 echo "$as_me: failed program was:" >&5
17158 sed 's/^/| /' conftest.$ac_ext >&5
17160 ac_cv_have_u_intmax_t="no"
17163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17170 echo "$as_me:$LINENO: result: $ac_cv_have_u_intmax_t" >&5
17171 echo "${ECHO_T}$ac_cv_have_u_intmax_t" >&6
17172 if test "x$ac_cv_have_u_intmax_t" = "xyes" ; then
17173 cat >>confdefs.h <<\_ACEOF
17174 #define HAVE_U_INTMAX_T 1
17181 echo "$as_me:$LINENO: checking for intXX_t types" >&5
17182 echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6
17183 if test "${ac_cv_have_intxx_t+set}" = set; then
17184 echo $ECHO_N "(cached) $ECHO_C" >&6
17187 cat >conftest.$ac_ext <<_ACEOF
17190 cat confdefs.h >>conftest.$ac_ext
17191 cat >>conftest.$ac_ext <<_ACEOF
17192 /* end confdefs.h. */
17193 #include <sys/types.h>
17197 int8_t a; int16_t b; int32_t c; a = b = c = 1;
17202 rm -f conftest.$ac_objext
17203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17204 (eval $ac_compile) 2>conftest.er1
17206 grep -v '^ *+' conftest.er1 >conftest.err
17208 cat conftest.err >&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } &&
17211 { ac_try='test -z "$ac_c_werror_flag"
17212 || test ! -s conftest.err'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; } &&
17218 { ac_try='test -s conftest.$ac_objext'
17219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220 (eval $ac_try) 2>&5
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; }; then
17224 ac_cv_have_intxx_t="yes"
17226 echo "$as_me: failed program was:" >&5
17227 sed 's/^/| /' conftest.$ac_ext >&5
17229 ac_cv_have_intxx_t="no"
17232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17235 echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5
17236 echo "${ECHO_T}$ac_cv_have_intxx_t" >&6
17237 if test "x$ac_cv_have_intxx_t" = "xyes" ; then
17238 cat >>confdefs.h <<\_ACEOF
17239 #define HAVE_INTXX_T 1
17245 echo "$as_me:$LINENO: checking for int64_t type" >&5
17246 echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6
17247 if test "${ac_cv_have_int64_t+set}" = set; then
17248 echo $ECHO_N "(cached) $ECHO_C" >&6
17251 cat >conftest.$ac_ext <<_ACEOF
17254 cat confdefs.h >>conftest.$ac_ext
17255 cat >>conftest.$ac_ext <<_ACEOF
17256 /* end confdefs.h. */
17257 #include <sys/types.h>
17266 rm -f conftest.$ac_objext
17267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17268 (eval $ac_compile) 2>conftest.er1
17270 grep -v '^ *+' conftest.er1 >conftest.err
17272 cat conftest.err >&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } &&
17275 { ac_try='test -z "$ac_c_werror_flag"
17276 || test ! -s conftest.err'
17277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17278 (eval $ac_try) 2>&5
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); }; } &&
17282 { ac_try='test -s conftest.$ac_objext'
17283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17284 (eval $ac_try) 2>&5
17286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287 (exit $ac_status); }; }; then
17288 ac_cv_have_int64_t="yes"
17290 echo "$as_me: failed program was:" >&5
17291 sed 's/^/| /' conftest.$ac_ext >&5
17293 ac_cv_have_int64_t="no"
17296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17299 echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5
17300 echo "${ECHO_T}$ac_cv_have_int64_t" >&6
17301 if test "x$ac_cv_have_int64_t" = "xyes" ; then
17302 cat >>confdefs.h <<\_ACEOF
17303 #define HAVE_INT64_T 1
17309 echo "$as_me:$LINENO: checking for u_intXX_t types" >&5
17310 echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6
17311 if test "${ac_cv_have_u_intxx_t+set}" = set; then
17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17315 cat >conftest.$ac_ext <<_ACEOF
17318 cat confdefs.h >>conftest.$ac_ext
17319 cat >>conftest.$ac_ext <<_ACEOF
17320 /* end confdefs.h. */
17321 #include <sys/types.h>
17325 u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;
17330 rm -f conftest.$ac_objext
17331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17332 (eval $ac_compile) 2>conftest.er1
17334 grep -v '^ *+' conftest.er1 >conftest.err
17336 cat conftest.err >&5
17337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338 (exit $ac_status); } &&
17339 { ac_try='test -z "$ac_c_werror_flag"
17340 || test ! -s conftest.err'
17341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17342 (eval $ac_try) 2>&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); }; } &&
17346 { ac_try='test -s conftest.$ac_objext'
17347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348 (eval $ac_try) 2>&5
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); }; }; then
17352 ac_cv_have_u_intxx_t="yes"
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17357 ac_cv_have_u_intxx_t="no"
17360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17363 echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5
17364 echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6
17365 if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
17366 cat >>confdefs.h <<\_ACEOF
17367 #define HAVE_U_INTXX_T 1
17373 echo "$as_me:$LINENO: checking for u_int64_t types" >&5
17374 echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6
17375 if test "${ac_cv_have_u_int64_t+set}" = set; then
17376 echo $ECHO_N "(cached) $ECHO_C" >&6
17379 cat >conftest.$ac_ext <<_ACEOF
17382 cat confdefs.h >>conftest.$ac_ext
17383 cat >>conftest.$ac_ext <<_ACEOF
17384 /* end confdefs.h. */
17385 #include <sys/types.h>
17389 u_int64_t a; a = 1;
17394 rm -f conftest.$ac_objext
17395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17396 (eval $ac_compile) 2>conftest.er1
17398 grep -v '^ *+' conftest.er1 >conftest.err
17400 cat conftest.err >&5
17401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402 (exit $ac_status); } &&
17403 { ac_try='test -z "$ac_c_werror_flag"
17404 || test ! -s conftest.err'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; } &&
17410 { ac_try='test -s conftest.$ac_objext'
17411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17412 (eval $ac_try) 2>&5
17414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415 (exit $ac_status); }; }; then
17416 ac_cv_have_u_int64_t="yes"
17418 echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.$ac_ext >&5
17421 ac_cv_have_u_int64_t="no"
17424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17427 echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5
17428 echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6
17429 if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
17430 cat >>confdefs.h <<\_ACEOF
17431 #define HAVE_U_INT64_T 1
17437 if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
17438 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
17440 echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5
17441 echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6
17442 cat >conftest.$ac_ext <<_ACEOF
17445 cat confdefs.h >>conftest.$ac_ext
17446 cat >>conftest.$ac_ext <<_ACEOF
17447 /* end confdefs.h. */
17448 #include <sys/bitypes.h>
17452 int8_t a; int16_t b; int32_t c;
17453 u_int8_t e; u_int16_t f; u_int32_t g;
17454 a = b = c = e = f = g = 1;
17459 rm -f conftest.$ac_objext
17460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17461 (eval $ac_compile) 2>conftest.er1
17463 grep -v '^ *+' conftest.er1 >conftest.err
17465 cat conftest.err >&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); } &&
17468 { ac_try='test -z "$ac_c_werror_flag"
17469 || test ! -s conftest.err'
17470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17471 (eval $ac_try) 2>&5
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); }; } &&
17475 { ac_try='test -s conftest.$ac_objext'
17476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17477 (eval $ac_try) 2>&5
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); }; }; then
17481 cat >>confdefs.h <<\_ACEOF
17482 #define HAVE_U_INTXX_T 1
17485 cat >>confdefs.h <<\_ACEOF
17486 #define HAVE_INTXX_T 1
17489 cat >>confdefs.h <<\_ACEOF
17490 #define HAVE_SYS_BITYPES_H 1
17493 echo "$as_me:$LINENO: result: yes" >&5
17494 echo "${ECHO_T}yes" >&6
17496 echo "$as_me: failed program was:" >&5
17497 sed 's/^/| /' conftest.$ac_ext >&5
17499 echo "$as_me:$LINENO: result: no" >&5
17500 echo "${ECHO_T}no" >&6
17503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17506 if test -z "$have_u_intxx_t" ; then
17507 echo "$as_me:$LINENO: checking for uintXX_t types" >&5
17508 echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6
17509 if test "${ac_cv_have_uintxx_t+set}" = set; then
17510 echo $ECHO_N "(cached) $ECHO_C" >&6
17513 cat >conftest.$ac_ext <<_ACEOF
17516 cat confdefs.h >>conftest.$ac_ext
17517 cat >>conftest.$ac_ext <<_ACEOF
17518 /* end confdefs.h. */
17519 #include <sys/types.h>
17523 uint8_t a; uint16_t b;
17524 uint32_t c; a = b = c = 1;
17529 rm -f conftest.$ac_objext
17530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17531 (eval $ac_compile) 2>conftest.er1
17533 grep -v '^ *+' conftest.er1 >conftest.err
17535 cat conftest.err >&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); } &&
17538 { ac_try='test -z "$ac_c_werror_flag"
17539 || test ! -s conftest.err'
17540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17541 (eval $ac_try) 2>&5
17543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17544 (exit $ac_status); }; } &&
17545 { ac_try='test -s conftest.$ac_objext'
17546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17547 (eval $ac_try) 2>&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); }; }; then
17551 ac_cv_have_uintxx_t="yes"
17553 echo "$as_me: failed program was:" >&5
17554 sed 's/^/| /' conftest.$ac_ext >&5
17556 ac_cv_have_uintxx_t="no"
17559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17562 echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5
17563 echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6
17564 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
17565 cat >>confdefs.h <<\_ACEOF
17566 #define HAVE_UINTXX_T 1
17572 if (test -z "$have_u_int64_t" || test -z "$have_int64_t" && \
17573 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
17575 echo "$as_me:$LINENO: checking for int64_t and u_int64_t types in sys/bitypes.h" >&5
17576 echo $ECHO_N "checking for int64_t and u_int64_t types in sys/bitypes.h... $ECHO_C" >&6
17577 cat >conftest.$ac_ext <<_ACEOF
17580 cat confdefs.h >>conftest.$ac_ext
17581 cat >>conftest.$ac_ext <<_ACEOF
17582 /* end confdefs.h. */
17583 #include <sys/bitypes.h>
17587 int64_t a; u_int64_t b;
17593 rm -f conftest.$ac_objext
17594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17595 (eval $ac_compile) 2>conftest.er1
17597 grep -v '^ *+' conftest.er1 >conftest.err
17599 cat conftest.err >&5
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); } &&
17602 { ac_try='test -z "$ac_c_werror_flag"
17603 || test ! -s conftest.err'
17604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17605 (eval $ac_try) 2>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); }; } &&
17609 { ac_try='test -s conftest.$ac_objext'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; }; then
17615 cat >>confdefs.h <<\_ACEOF
17616 #define HAVE_U_INT64_T 1
17619 cat >>confdefs.h <<\_ACEOF
17620 #define HAVE_INT64_T 1
17623 echo "$as_me:$LINENO: result: yes" >&5
17624 echo "${ECHO_T}yes" >&6
17626 echo "$as_me: failed program was:" >&5
17627 sed 's/^/| /' conftest.$ac_ext >&5
17629 echo "$as_me:$LINENO: result: no" >&5
17630 echo "${ECHO_T}no" >&6
17633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17636 if (test -z "$have_uintxx_t" && \
17637 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
17639 echo "$as_me:$LINENO: checking for uintXX_t types in sys/bitypes.h" >&5
17640 echo $ECHO_N "checking for uintXX_t types in sys/bitypes.h... $ECHO_C" >&6
17641 cat >conftest.$ac_ext <<_ACEOF
17644 cat confdefs.h >>conftest.$ac_ext
17645 cat >>conftest.$ac_ext <<_ACEOF
17646 /* end confdefs.h. */
17647 #include <sys/bitypes.h>
17651 uint8_t a; uint16_t b;
17652 uint32_t c; a = b = c = 1;
17657 rm -f conftest.$ac_objext
17658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17659 (eval $ac_compile) 2>conftest.er1
17661 grep -v '^ *+' conftest.er1 >conftest.err
17663 cat conftest.err >&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } &&
17666 { ac_try='test -z "$ac_c_werror_flag"
17667 || test ! -s conftest.err'
17668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17669 (eval $ac_try) 2>&5
17671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672 (exit $ac_status); }; } &&
17673 { ac_try='test -s conftest.$ac_objext'
17674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17675 (eval $ac_try) 2>&5
17677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678 (exit $ac_status); }; }; then
17679 cat >>confdefs.h <<\_ACEOF
17680 #define HAVE_UINTXX_T 1
17683 echo "$as_me:$LINENO: result: yes" >&5
17684 echo "${ECHO_T}yes" >&6
17686 echo "$as_me: failed program was:" >&5
17687 sed 's/^/| /' conftest.$ac_ext >&5
17689 echo "$as_me:$LINENO: result: no" >&5
17690 echo "${ECHO_T}no" >&6
17693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17730 echo "$as_me:$LINENO: checking for $ac_func" >&5
17731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17732 if eval "test \"\${$as_ac_var+set}\" = set"; then
17733 echo $ECHO_N "(cached) $ECHO_C" >&6
17735 cat >conftest.$ac_ext <<_ACEOF
17738 cat confdefs.h >>conftest.$ac_ext
17739 cat >>conftest.$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17743 #define $ac_func innocuous_$ac_func
17745 /* System header to define __stub macros and hopefully few prototypes,
17746 which can conflict with char $ac_func (); below.
17747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17748 <limits.h> exists even on freestanding compilers. */
17751 # include <limits.h>
17753 # include <assert.h>
17758 /* Override any gcc2 internal prototype to avoid an error. */
17763 /* We use char because int might match the return type of a gcc2
17764 builtin and then its argument prototype would still apply. */
17766 /* The GNU C library defines this for functions which it implements
17767 to always fail with ENOSYS. Some functions are actually named
17768 something starting with __ and the normal name is an alias. */
17769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17772 char (*f) () = $ac_func;
17781 return f != $ac_func;
17786 rm -f conftest.$ac_objext conftest$ac_exeext
17787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17788 (eval $ac_link) 2>conftest.er1
17790 grep -v '^ *+' conftest.er1 >conftest.err
17792 cat conftest.err >&5
17793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17794 (exit $ac_status); } &&
17795 { ac_try='test -z "$ac_c_werror_flag"
17796 || test ! -s conftest.err'
17797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17798 (eval $ac_try) 2>&5
17800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17801 (exit $ac_status); }; } &&
17802 { ac_try='test -s conftest$ac_exeext'
17803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17804 (eval $ac_try) 2>&5
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); }; }; then
17808 eval "$as_ac_var=yes"
17810 echo "$as_me: failed program was:" >&5
17811 sed 's/^/| /' conftest.$ac_ext >&5
17813 eval "$as_ac_var=no"
17815 rm -f conftest.err conftest.$ac_objext \
17816 conftest$ac_exeext conftest.$ac_ext
17818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17820 if test `eval echo '${'$as_ac_var'}'` = yes; then
17821 cat >>confdefs.h <<_ACEOF
17822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17826 echo 'configure: cannot find needed function.'; exit 1
17833 for ac_func in fchdir
17835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17836 echo "$as_me:$LINENO: checking for $ac_func" >&5
17837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17838 if eval "test \"\${$as_ac_var+set}\" = set"; then
17839 echo $ECHO_N "(cached) $ECHO_C" >&6
17841 cat >conftest.$ac_ext <<_ACEOF
17844 cat confdefs.h >>conftest.$ac_ext
17845 cat >>conftest.$ac_ext <<_ACEOF
17846 /* end confdefs.h. */
17847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17849 #define $ac_func innocuous_$ac_func
17851 /* System header to define __stub macros and hopefully few prototypes,
17852 which can conflict with char $ac_func (); below.
17853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17854 <limits.h> exists even on freestanding compilers. */
17857 # include <limits.h>
17859 # include <assert.h>
17864 /* Override any gcc2 internal prototype to avoid an error. */
17869 /* We use char because int might match the return type of a gcc2
17870 builtin and then its argument prototype would still apply. */
17872 /* The GNU C library defines this for functions which it implements
17873 to always fail with ENOSYS. Some functions are actually named
17874 something starting with __ and the normal name is an alias. */
17875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17878 char (*f) () = $ac_func;
17887 return f != $ac_func;
17892 rm -f conftest.$ac_objext conftest$ac_exeext
17893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17894 (eval $ac_link) 2>conftest.er1
17896 grep -v '^ *+' conftest.er1 >conftest.err
17898 cat conftest.err >&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } &&
17901 { ac_try='test -z "$ac_c_werror_flag"
17902 || test ! -s conftest.err'
17903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17904 (eval $ac_try) 2>&5
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); }; } &&
17908 { ac_try='test -s conftest$ac_exeext'
17909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910 (eval $ac_try) 2>&5
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; }; then
17914 eval "$as_ac_var=yes"
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.$ac_ext >&5
17919 eval "$as_ac_var=no"
17921 rm -f conftest.err conftest.$ac_objext \
17922 conftest$ac_exeext conftest.$ac_ext
17924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17926 if test `eval echo '${'$as_ac_var'}'` = yes; then
17927 cat >>confdefs.h <<_ACEOF
17928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17930 cat >>confdefs.h <<\_ACEOF
17931 #define HAVE_FCHDIR 1
17938 for ac_func in strtoll
17940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17941 echo "$as_me:$LINENO: checking for $ac_func" >&5
17942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17943 if eval "test \"\${$as_ac_var+set}\" = set"; then
17944 echo $ECHO_N "(cached) $ECHO_C" >&6
17946 cat >conftest.$ac_ext <<_ACEOF
17949 cat confdefs.h >>conftest.$ac_ext
17950 cat >>conftest.$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17954 #define $ac_func innocuous_$ac_func
17956 /* System header to define __stub macros and hopefully few prototypes,
17957 which can conflict with char $ac_func (); below.
17958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17959 <limits.h> exists even on freestanding compilers. */
17962 # include <limits.h>
17964 # include <assert.h>
17969 /* Override any gcc2 internal prototype to avoid an error. */
17974 /* We use char because int might match the return type of a gcc2
17975 builtin and then its argument prototype would still apply. */
17977 /* The GNU C library defines this for functions which it implements
17978 to always fail with ENOSYS. Some functions are actually named
17979 something starting with __ and the normal name is an alias. */
17980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17983 char (*f) () = $ac_func;
17992 return f != $ac_func;
17997 rm -f conftest.$ac_objext conftest$ac_exeext
17998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17999 (eval $ac_link) 2>conftest.er1
18001 grep -v '^ *+' conftest.er1 >conftest.err
18003 cat conftest.err >&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } &&
18006 { ac_try='test -z "$ac_c_werror_flag"
18007 || test ! -s conftest.err'
18008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 (eval $ac_try) 2>&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; } &&
18013 { ac_try='test -s conftest$ac_exeext'
18014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18015 (eval $ac_try) 2>&5
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); }; }; then
18019 eval "$as_ac_var=yes"
18021 echo "$as_me: failed program was:" >&5
18022 sed 's/^/| /' conftest.$ac_ext >&5
18024 eval "$as_ac_var=no"
18026 rm -f conftest.err conftest.$ac_objext \
18027 conftest$ac_exeext conftest.$ac_ext
18029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18031 if test `eval echo '${'$as_ac_var'}'` = yes; then
18032 cat >>confdefs.h <<_ACEOF
18033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18035 cat >>confdefs.h <<\_ACEOF
18036 #define HAVE_STRTOLL 1
18044 for ac_func in chflags
18046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18047 echo "$as_me:$LINENO: checking for $ac_func" >&5
18048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18049 if eval "test \"\${$as_ac_var+set}\" = set"; then
18050 echo $ECHO_N "(cached) $ECHO_C" >&6
18052 cat >conftest.$ac_ext <<_ACEOF
18055 cat confdefs.h >>conftest.$ac_ext
18056 cat >>conftest.$ac_ext <<_ACEOF
18057 /* end confdefs.h. */
18058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18060 #define $ac_func innocuous_$ac_func
18062 /* System header to define __stub macros and hopefully few prototypes,
18063 which can conflict with char $ac_func (); below.
18064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18065 <limits.h> exists even on freestanding compilers. */
18068 # include <limits.h>
18070 # include <assert.h>
18075 /* Override any gcc2 internal prototype to avoid an error. */
18080 /* We use char because int might match the return type of a gcc2
18081 builtin and then its argument prototype would still apply. */
18083 /* The GNU C library defines this for functions which it implements
18084 to always fail with ENOSYS. Some functions are actually named
18085 something starting with __ and the normal name is an alias. */
18086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18089 char (*f) () = $ac_func;
18098 return f != $ac_func;
18103 rm -f conftest.$ac_objext conftest$ac_exeext
18104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18105 (eval $ac_link) 2>conftest.er1
18107 grep -v '^ *+' conftest.er1 >conftest.err
18109 cat conftest.err >&5
18110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18111 (exit $ac_status); } &&
18112 { ac_try='test -z "$ac_c_werror_flag"
18113 || test ! -s conftest.err'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; } &&
18119 { ac_try='test -s conftest$ac_exeext'
18120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18121 (eval $ac_try) 2>&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); }; }; then
18125 eval "$as_ac_var=yes"
18127 echo "$as_me: failed program was:" >&5
18128 sed 's/^/| /' conftest.$ac_ext >&5
18130 eval "$as_ac_var=no"
18132 rm -f conftest.err conftest.$ac_objext \
18133 conftest$ac_exeext conftest.$ac_ext
18135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18137 if test `eval echo '${'$as_ac_var'}'` = yes; then
18138 cat >>confdefs.h <<_ACEOF
18139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18150 for ac_func in snprintf vsnprintf gethostid fseeko
18152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18153 echo "$as_me:$LINENO: checking for $ac_func" >&5
18154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18155 if eval "test \"\${$as_ac_var+set}\" = set"; then
18156 echo $ECHO_N "(cached) $ECHO_C" >&6
18158 cat >conftest.$ac_ext <<_ACEOF
18161 cat confdefs.h >>conftest.$ac_ext
18162 cat >>conftest.$ac_ext <<_ACEOF
18163 /* end confdefs.h. */
18164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18166 #define $ac_func innocuous_$ac_func
18168 /* System header to define __stub macros and hopefully few prototypes,
18169 which can conflict with char $ac_func (); below.
18170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18171 <limits.h> exists even on freestanding compilers. */
18174 # include <limits.h>
18176 # include <assert.h>
18181 /* Override any gcc2 internal prototype to avoid an error. */
18186 /* We use char because int might match the return type of a gcc2
18187 builtin and then its argument prototype would still apply. */
18189 /* The GNU C library defines this for functions which it implements
18190 to always fail with ENOSYS. Some functions are actually named
18191 something starting with __ and the normal name is an alias. */
18192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18195 char (*f) () = $ac_func;
18204 return f != $ac_func;
18209 rm -f conftest.$ac_objext conftest$ac_exeext
18210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18211 (eval $ac_link) 2>conftest.er1
18213 grep -v '^ *+' conftest.er1 >conftest.err
18215 cat conftest.err >&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); } &&
18218 { ac_try='test -z "$ac_c_werror_flag"
18219 || test ! -s conftest.err'
18220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221 (eval $ac_try) 2>&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); }; } &&
18225 { ac_try='test -s conftest$ac_exeext'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; }; then
18231 eval "$as_ac_var=yes"
18233 echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.$ac_ext >&5
18236 eval "$as_ac_var=no"
18238 rm -f conftest.err conftest.$ac_objext \
18239 conftest$ac_exeext conftest.$ac_ext
18241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18243 if test `eval echo '${'$as_ac_var'}'` = yes; then
18244 cat >>confdefs.h <<_ACEOF
18245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18256 for ac_func in localtime_r readdir_r strerror_r gethostbyname_r
18258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18259 echo "$as_me:$LINENO: checking for $ac_func" >&5
18260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18261 if eval "test \"\${$as_ac_var+set}\" = set"; then
18262 echo $ECHO_N "(cached) $ECHO_C" >&6
18264 cat >conftest.$ac_ext <<_ACEOF
18267 cat confdefs.h >>conftest.$ac_ext
18268 cat >>conftest.$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18272 #define $ac_func innocuous_$ac_func
18274 /* System header to define __stub macros and hopefully few prototypes,
18275 which can conflict with char $ac_func (); below.
18276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18277 <limits.h> exists even on freestanding compilers. */
18280 # include <limits.h>
18282 # include <assert.h>
18287 /* Override any gcc2 internal prototype to avoid an error. */
18292 /* We use char because int might match the return type of a gcc2
18293 builtin and then its argument prototype would still apply. */
18295 /* The GNU C library defines this for functions which it implements
18296 to always fail with ENOSYS. Some functions are actually named
18297 something starting with __ and the normal name is an alias. */
18298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18301 char (*f) () = $ac_func;
18310 return f != $ac_func;
18315 rm -f conftest.$ac_objext conftest$ac_exeext
18316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18317 (eval $ac_link) 2>conftest.er1
18319 grep -v '^ *+' conftest.er1 >conftest.err
18321 cat conftest.err >&5
18322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18323 (exit $ac_status); } &&
18324 { ac_try='test -z "$ac_c_werror_flag"
18325 || test ! -s conftest.err'
18326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18327 (eval $ac_try) 2>&5
18329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18330 (exit $ac_status); }; } &&
18331 { ac_try='test -s conftest$ac_exeext'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; }; then
18337 eval "$as_ac_var=yes"
18339 echo "$as_me: failed program was:" >&5
18340 sed 's/^/| /' conftest.$ac_ext >&5
18342 eval "$as_ac_var=no"
18344 rm -f conftest.err conftest.$ac_objext \
18345 conftest$ac_exeext conftest.$ac_ext
18347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18349 if test `eval echo '${'$as_ac_var'}'` = yes; then
18350 cat >>confdefs.h <<_ACEOF
18351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18358 # If resolver functions are not in libc check for -lnsl or -lresolv.
18359 echo "$as_me:$LINENO: checking for gethostbyname_r" >&5
18360 echo $ECHO_N "checking for gethostbyname_r... $ECHO_C" >&6
18361 if test "${ac_cv_func_gethostbyname_r+set}" = set; then
18362 echo $ECHO_N "(cached) $ECHO_C" >&6
18364 cat >conftest.$ac_ext <<_ACEOF
18367 cat confdefs.h >>conftest.$ac_ext
18368 cat >>conftest.$ac_ext <<_ACEOF
18369 /* end confdefs.h. */
18370 /* Define gethostbyname_r to an innocuous variant, in case <limits.h> declares gethostbyname_r.
18371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18372 #define gethostbyname_r innocuous_gethostbyname_r
18374 /* System header to define __stub macros and hopefully few prototypes,
18375 which can conflict with char gethostbyname_r (); below.
18376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18377 <limits.h> exists even on freestanding compilers. */
18380 # include <limits.h>
18382 # include <assert.h>
18385 #undef gethostbyname_r
18387 /* Override any gcc2 internal prototype to avoid an error. */
18392 /* We use char because int might match the return type of a gcc2
18393 builtin and then its argument prototype would still apply. */
18394 char gethostbyname_r ();
18395 /* The GNU C library defines this for functions which it implements
18396 to always fail with ENOSYS. Some functions are actually named
18397 something starting with __ and the normal name is an alias. */
18398 #if defined (__stub_gethostbyname_r) || defined (__stub___gethostbyname_r)
18401 char (*f) () = gethostbyname_r;
18410 return f != gethostbyname_r;
18415 rm -f conftest.$ac_objext conftest$ac_exeext
18416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18417 (eval $ac_link) 2>conftest.er1
18419 grep -v '^ *+' conftest.er1 >conftest.err
18421 cat conftest.err >&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } &&
18424 { ac_try='test -z "$ac_c_werror_flag"
18425 || test ! -s conftest.err'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; } &&
18431 { ac_try='test -s conftest$ac_exeext'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; }; then
18437 ac_cv_func_gethostbyname_r=yes
18439 echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.$ac_ext >&5
18442 ac_cv_func_gethostbyname_r=no
18444 rm -f conftest.err conftest.$ac_objext \
18445 conftest$ac_exeext conftest.$ac_ext
18447 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname_r" >&5
18448 echo "${ECHO_T}$ac_cv_func_gethostbyname_r" >&6
18449 if test $ac_cv_func_gethostbyname_r = yes; then
18450 echo "$as_me:$LINENO: result: using libc's resolver" >&5
18451 echo "${ECHO_T}using libc's resolver" >&6
18454 echo "$as_me:$LINENO: checking for gethostbyname_r in -lnsl" >&5
18455 echo $ECHO_N "checking for gethostbyname_r in -lnsl... $ECHO_C" >&6
18456 if test "${ac_cv_lib_nsl_gethostbyname_r+set}" = set; then
18457 echo $ECHO_N "(cached) $ECHO_C" >&6
18459 ac_check_lib_save_LIBS=$LIBS
18461 cat >conftest.$ac_ext <<_ACEOF
18464 cat confdefs.h >>conftest.$ac_ext
18465 cat >>conftest.$ac_ext <<_ACEOF
18466 /* end confdefs.h. */
18468 /* Override any gcc2 internal prototype to avoid an error. */
18472 /* We use char because int might match the return type of a gcc2
18473 builtin and then its argument prototype would still apply. */
18474 char gethostbyname_r ();
18478 gethostbyname_r ();
18483 rm -f conftest.$ac_objext conftest$ac_exeext
18484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18485 (eval $ac_link) 2>conftest.er1
18487 grep -v '^ *+' conftest.er1 >conftest.err
18489 cat conftest.err >&5
18490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18491 (exit $ac_status); } &&
18492 { ac_try='test -z "$ac_c_werror_flag"
18493 || test ! -s conftest.err'
18494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18495 (eval $ac_try) 2>&5
18497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498 (exit $ac_status); }; } &&
18499 { ac_try='test -s conftest$ac_exeext'
18500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18501 (eval $ac_try) 2>&5
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); }; }; then
18505 ac_cv_lib_nsl_gethostbyname_r=yes
18507 echo "$as_me: failed program was:" >&5
18508 sed 's/^/| /' conftest.$ac_ext >&5
18510 ac_cv_lib_nsl_gethostbyname_r=no
18512 rm -f conftest.err conftest.$ac_objext \
18513 conftest$ac_exeext conftest.$ac_ext
18514 LIBS=$ac_check_lib_save_LIBS
18516 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname_r" >&5
18517 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname_r" >&6
18518 if test $ac_cv_lib_nsl_gethostbyname_r = yes; then
18519 cat >>confdefs.h <<_ACEOF
18520 #define HAVE_LIBNSL 1
18528 echo "$as_me:$LINENO: checking for gethostbyname_r in -lresolv" >&5
18529 echo $ECHO_N "checking for gethostbyname_r in -lresolv... $ECHO_C" >&6
18530 if test "${ac_cv_lib_resolv_gethostbyname_r+set}" = set; then
18531 echo $ECHO_N "(cached) $ECHO_C" >&6
18533 ac_check_lib_save_LIBS=$LIBS
18534 LIBS="-lresolv $LIBS"
18535 cat >conftest.$ac_ext <<_ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18542 /* Override any gcc2 internal prototype to avoid an error. */
18546 /* We use char because int might match the return type of a gcc2
18547 builtin and then its argument prototype would still apply. */
18548 char gethostbyname_r ();
18552 gethostbyname_r ();
18557 rm -f conftest.$ac_objext conftest$ac_exeext
18558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18559 (eval $ac_link) 2>conftest.er1
18561 grep -v '^ *+' conftest.er1 >conftest.err
18563 cat conftest.err >&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); } &&
18566 { ac_try='test -z "$ac_c_werror_flag"
18567 || test ! -s conftest.err'
18568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18569 (eval $ac_try) 2>&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); }; } &&
18573 { ac_try='test -s conftest$ac_exeext'
18574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18575 (eval $ac_try) 2>&5
18577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18578 (exit $ac_status); }; }; then
18579 ac_cv_lib_resolv_gethostbyname_r=yes
18581 echo "$as_me: failed program was:" >&5
18582 sed 's/^/| /' conftest.$ac_ext >&5
18584 ac_cv_lib_resolv_gethostbyname_r=no
18586 rm -f conftest.err conftest.$ac_objext \
18587 conftest$ac_exeext conftest.$ac_ext
18588 LIBS=$ac_check_lib_save_LIBS
18590 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname_r" >&5
18591 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname_r" >&6
18592 if test $ac_cv_lib_resolv_gethostbyname_r = yes; then
18593 cat >>confdefs.h <<_ACEOF
18594 #define HAVE_LIBRESOLV 1
18597 LIBS="-lresolv $LIBS"
18607 for ac_func in inet_pton
18609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18610 echo "$as_me:$LINENO: checking for $ac_func" >&5
18611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18612 if eval "test \"\${$as_ac_var+set}\" = set"; then
18613 echo $ECHO_N "(cached) $ECHO_C" >&6
18615 cat >conftest.$ac_ext <<_ACEOF
18618 cat confdefs.h >>conftest.$ac_ext
18619 cat >>conftest.$ac_ext <<_ACEOF
18620 /* end confdefs.h. */
18621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18622 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18623 #define $ac_func innocuous_$ac_func
18625 /* System header to define __stub macros and hopefully few prototypes,
18626 which can conflict with char $ac_func (); below.
18627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18628 <limits.h> exists even on freestanding compilers. */
18631 # include <limits.h>
18633 # include <assert.h>
18638 /* Override any gcc2 internal prototype to avoid an error. */
18643 /* We use char because int might match the return type of a gcc2
18644 builtin and then its argument prototype would still apply. */
18646 /* The GNU C library defines this for functions which it implements
18647 to always fail with ENOSYS. Some functions are actually named
18648 something starting with __ and the normal name is an alias. */
18649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18652 char (*f) () = $ac_func;
18661 return f != $ac_func;
18666 rm -f conftest.$ac_objext conftest$ac_exeext
18667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18668 (eval $ac_link) 2>conftest.er1
18670 grep -v '^ *+' conftest.er1 >conftest.err
18672 cat conftest.err >&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } &&
18675 { ac_try='test -z "$ac_c_werror_flag"
18676 || test ! -s conftest.err'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; } &&
18682 { ac_try='test -s conftest$ac_exeext'
18683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18684 (eval $ac_try) 2>&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); }; }; then
18688 eval "$as_ac_var=yes"
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.$ac_ext >&5
18693 eval "$as_ac_var=no"
18695 rm -f conftest.err conftest.$ac_objext \
18696 conftest$ac_exeext conftest.$ac_ext
18698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18700 if test `eval echo '${'$as_ac_var'}'` = yes; then
18701 cat >>confdefs.h <<_ACEOF
18702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18704 cat >>confdefs.h <<\_ACEOF
18705 #define HAVE_INET_PTON 1
18712 for ac_func in inet_ntop
18714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18715 echo "$as_me:$LINENO: checking for $ac_func" >&5
18716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18717 if eval "test \"\${$as_ac_var+set}\" = set"; then
18718 echo $ECHO_N "(cached) $ECHO_C" >&6
18720 cat >conftest.$ac_ext <<_ACEOF
18723 cat confdefs.h >>conftest.$ac_ext
18724 cat >>conftest.$ac_ext <<_ACEOF
18725 /* end confdefs.h. */
18726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18728 #define $ac_func innocuous_$ac_func
18730 /* System header to define __stub macros and hopefully few prototypes,
18731 which can conflict with char $ac_func (); below.
18732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18733 <limits.h> exists even on freestanding compilers. */
18736 # include <limits.h>
18738 # include <assert.h>
18743 /* Override any gcc2 internal prototype to avoid an error. */
18748 /* We use char because int might match the return type of a gcc2
18749 builtin and then its argument prototype would still apply. */
18751 /* The GNU C library defines this for functions which it implements
18752 to always fail with ENOSYS. Some functions are actually named
18753 something starting with __ and the normal name is an alias. */
18754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18757 char (*f) () = $ac_func;
18766 return f != $ac_func;
18771 rm -f conftest.$ac_objext conftest$ac_exeext
18772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18773 (eval $ac_link) 2>conftest.er1
18775 grep -v '^ *+' conftest.er1 >conftest.err
18777 cat conftest.err >&5
18778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18779 (exit $ac_status); } &&
18780 { ac_try='test -z "$ac_c_werror_flag"
18781 || test ! -s conftest.err'
18782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18783 (eval $ac_try) 2>&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); }; } &&
18787 { ac_try='test -s conftest$ac_exeext'
18788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18789 (eval $ac_try) 2>&5
18791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18792 (exit $ac_status); }; }; then
18793 eval "$as_ac_var=yes"
18795 echo "$as_me: failed program was:" >&5
18796 sed 's/^/| /' conftest.$ac_ext >&5
18798 eval "$as_ac_var=no"
18800 rm -f conftest.err conftest.$ac_objext \
18801 conftest$ac_exeext conftest.$ac_ext
18803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18805 if test `eval echo '${'$as_ac_var'}'` = yes; then
18806 cat >>confdefs.h <<_ACEOF
18807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18809 cat >>confdefs.h <<\_ACEOF
18810 #define HAVE_INET_NTOP 1
18817 for ac_func in gethostbyname2
18819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18820 echo "$as_me:$LINENO: checking for $ac_func" >&5
18821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18822 if eval "test \"\${$as_ac_var+set}\" = set"; then
18823 echo $ECHO_N "(cached) $ECHO_C" >&6
18825 cat >conftest.$ac_ext <<_ACEOF
18828 cat confdefs.h >>conftest.$ac_ext
18829 cat >>conftest.$ac_ext <<_ACEOF
18830 /* end confdefs.h. */
18831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18833 #define $ac_func innocuous_$ac_func
18835 /* System header to define __stub macros and hopefully few prototypes,
18836 which can conflict with char $ac_func (); below.
18837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18838 <limits.h> exists even on freestanding compilers. */
18841 # include <limits.h>
18843 # include <assert.h>
18848 /* Override any gcc2 internal prototype to avoid an error. */
18853 /* We use char because int might match the return type of a gcc2
18854 builtin and then its argument prototype would still apply. */
18856 /* The GNU C library defines this for functions which it implements
18857 to always fail with ENOSYS. Some functions are actually named
18858 something starting with __ and the normal name is an alias. */
18859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18862 char (*f) () = $ac_func;
18871 return f != $ac_func;
18876 rm -f conftest.$ac_objext conftest$ac_exeext
18877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18878 (eval $ac_link) 2>conftest.er1
18880 grep -v '^ *+' conftest.er1 >conftest.err
18882 cat conftest.err >&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); } &&
18885 { ac_try='test -z "$ac_c_werror_flag"
18886 || test ! -s conftest.err'
18887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18888 (eval $ac_try) 2>&5
18890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18891 (exit $ac_status); }; } &&
18892 { ac_try='test -s conftest$ac_exeext'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; }; then
18898 eval "$as_ac_var=yes"
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18903 eval "$as_ac_var=no"
18905 rm -f conftest.err conftest.$ac_objext \
18906 conftest$ac_exeext conftest.$ac_ext
18908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18910 if test `eval echo '${'$as_ac_var'}'` = yes; then
18911 cat >>confdefs.h <<_ACEOF
18912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18914 cat >>confdefs.h <<\_ACEOF
18915 #define HAVE_GETHOSTBYNAME2 1
18922 echo "$as_me:$LINENO: checking for struct sockaddr has a sa_len field" >&5
18923 echo $ECHO_N "checking for struct sockaddr has a sa_len field... $ECHO_C" >&6
18924 if test "${ac_cv_struct_sockaddr_sa_len+set}" = set; then
18925 echo $ECHO_N "(cached) $ECHO_C" >&6
18927 cat >conftest.$ac_ext <<_ACEOF
18930 cat confdefs.h >>conftest.$ac_ext
18931 cat >>conftest.$ac_ext <<_ACEOF
18932 /* end confdefs.h. */
18933 #include <sys/socket.h>
18937 struct sockaddr s; s.sa_len;
18942 rm -f conftest.$ac_objext
18943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18944 (eval $ac_compile) 2>conftest.er1
18946 grep -v '^ *+' conftest.er1 >conftest.err
18948 cat conftest.err >&5
18949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950 (exit $ac_status); } &&
18951 { ac_try='test -z "$ac_c_werror_flag"
18952 || test ! -s conftest.err'
18953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18954 (eval $ac_try) 2>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); }; } &&
18958 { ac_try='test -s conftest.$ac_objext'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; }; then
18964 ac_cv_struct_sockaddr_sa_len=yes
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.$ac_ext >&5
18969 ac_cv_struct_sockaddr_sa_len=no
18971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18973 echo "$as_me:$LINENO: result: $ac_cv_struct_sockaddr_sa_len" >&5
18974 echo "${ECHO_T}$ac_cv_struct_sockaddr_sa_len" >&6
18976 if test $ac_cv_struct_sockaddr_sa_len = yes; then
18978 cat >>confdefs.h <<\_ACEOF
18979 #define HAVE_SA_LEN 1
18985 echo "$as_me:$LINENO: checking for IPv6 support" >&5
18986 echo $ECHO_N "checking for IPv6 support... $ECHO_C" >&6
18987 if test "${ac_cv_ipv6_support+set}" = set; then
18988 echo $ECHO_N "(cached) $ECHO_C" >&6
18990 cat >conftest.$ac_ext <<_ACEOF
18993 cat confdefs.h >>conftest.$ac_ext
18994 cat >>conftest.$ac_ext <<_ACEOF
18995 /* end confdefs.h. */
18996 #include <sys/types.h>
18997 #include <sys/socket.h>
18998 #include <netinet/in.h>
19002 struct sockaddr_in6 s; struct in6_addr t=in6addr_any; int i=AF_INET6; s; t.s6_addr[0] =
19008 rm -f conftest.$ac_objext conftest$ac_exeext
19009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19010 (eval $ac_link) 2>conftest.er1
19012 grep -v '^ *+' conftest.er1 >conftest.err
19014 cat conftest.err >&5
19015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016 (exit $ac_status); } &&
19017 { ac_try='test -z "$ac_c_werror_flag"
19018 || test ! -s conftest.err'
19019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19020 (eval $ac_try) 2>&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; } &&
19024 { ac_try='test -s conftest$ac_exeext'
19025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19026 (eval $ac_try) 2>&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); }; }; then
19030 ac_cv_ipv6_support=yes
19032 echo "$as_me: failed program was:" >&5
19033 sed 's/^/| /' conftest.$ac_ext >&5
19035 ac_cv_ipv6_support=no
19037 rm -f conftest.err conftest.$ac_objext \
19038 conftest$ac_exeext conftest.$ac_ext
19040 echo "$as_me:$LINENO: result: $ac_cv_ipv6_support" >&5
19041 echo "${ECHO_T}$ac_cv_ipv6_support" >&6
19043 if test "$ac_cv_ipv6_support" = yes; then
19045 cat >>confdefs.h <<\_ACEOF
19046 #define HAVE_IPV6 1
19054 for ac_func in strftime
19056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19057 echo "$as_me:$LINENO: checking for $ac_func" >&5
19058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19059 if eval "test \"\${$as_ac_var+set}\" = set"; then
19060 echo $ECHO_N "(cached) $ECHO_C" >&6
19062 cat >conftest.$ac_ext <<_ACEOF
19065 cat confdefs.h >>conftest.$ac_ext
19066 cat >>conftest.$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19070 #define $ac_func innocuous_$ac_func
19072 /* System header to define __stub macros and hopefully few prototypes,
19073 which can conflict with char $ac_func (); below.
19074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19075 <limits.h> exists even on freestanding compilers. */
19078 # include <limits.h>
19080 # include <assert.h>
19085 /* Override any gcc2 internal prototype to avoid an error. */
19090 /* We use char because int might match the return type of a gcc2
19091 builtin and then its argument prototype would still apply. */
19093 /* The GNU C library defines this for functions which it implements
19094 to always fail with ENOSYS. Some functions are actually named
19095 something starting with __ and the normal name is an alias. */
19096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19099 char (*f) () = $ac_func;
19108 return f != $ac_func;
19113 rm -f conftest.$ac_objext conftest$ac_exeext
19114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19115 (eval $ac_link) 2>conftest.er1
19117 grep -v '^ *+' conftest.er1 >conftest.err
19119 cat conftest.err >&5
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); } &&
19122 { ac_try='test -z "$ac_c_werror_flag"
19123 || test ! -s conftest.err'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; } &&
19129 { ac_try='test -s conftest$ac_exeext'
19130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19131 (eval $ac_try) 2>&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); }; }; then
19135 eval "$as_ac_var=yes"
19137 echo "$as_me: failed program was:" >&5
19138 sed 's/^/| /' conftest.$ac_ext >&5
19140 eval "$as_ac_var=no"
19142 rm -f conftest.err conftest.$ac_objext \
19143 conftest$ac_exeext conftest.$ac_ext
19145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19147 if test `eval echo '${'$as_ac_var'}'` = yes; then
19148 cat >>confdefs.h <<_ACEOF
19149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19153 # strftime is in -lintl on SCO UNIX.
19154 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
19155 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
19156 if test "${ac_cv_lib_intl_strftime+set}" = set; then
19157 echo $ECHO_N "(cached) $ECHO_C" >&6
19159 ac_check_lib_save_LIBS=$LIBS
19160 LIBS="-lintl $LIBS"
19161 cat >conftest.$ac_ext <<_ACEOF
19164 cat confdefs.h >>conftest.$ac_ext
19165 cat >>conftest.$ac_ext <<_ACEOF
19166 /* end confdefs.h. */
19168 /* Override any gcc2 internal prototype to avoid an error. */
19172 /* We use char because int might match the return type of a gcc2
19173 builtin and then its argument prototype would still apply. */
19183 rm -f conftest.$ac_objext conftest$ac_exeext
19184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19185 (eval $ac_link) 2>conftest.er1
19187 grep -v '^ *+' conftest.er1 >conftest.err
19189 cat conftest.err >&5
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); } &&
19192 { ac_try='test -z "$ac_c_werror_flag"
19193 || test ! -s conftest.err'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; } &&
19199 { ac_try='test -s conftest$ac_exeext'
19200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19201 (eval $ac_try) 2>&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); }; }; then
19205 ac_cv_lib_intl_strftime=yes
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.$ac_ext >&5
19210 ac_cv_lib_intl_strftime=no
19212 rm -f conftest.err conftest.$ac_objext \
19213 conftest$ac_exeext conftest.$ac_ext
19214 LIBS=$ac_check_lib_save_LIBS
19216 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
19217 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
19218 if test $ac_cv_lib_intl_strftime = yes; then
19219 cat >>confdefs.h <<\_ACEOF
19220 #define HAVE_STRFTIME 1
19223 LIBS="-lintl $LIBS"
19230 for ac_func in vprintf
19232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19233 echo "$as_me:$LINENO: checking for $ac_func" >&5
19234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19235 if eval "test \"\${$as_ac_var+set}\" = set"; then
19236 echo $ECHO_N "(cached) $ECHO_C" >&6
19238 cat >conftest.$ac_ext <<_ACEOF
19241 cat confdefs.h >>conftest.$ac_ext
19242 cat >>conftest.$ac_ext <<_ACEOF
19243 /* end confdefs.h. */
19244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19246 #define $ac_func innocuous_$ac_func
19248 /* System header to define __stub macros and hopefully few prototypes,
19249 which can conflict with char $ac_func (); below.
19250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19251 <limits.h> exists even on freestanding compilers. */
19254 # include <limits.h>
19256 # include <assert.h>
19261 /* Override any gcc2 internal prototype to avoid an error. */
19266 /* We use char because int might match the return type of a gcc2
19267 builtin and then its argument prototype would still apply. */
19269 /* The GNU C library defines this for functions which it implements
19270 to always fail with ENOSYS. Some functions are actually named
19271 something starting with __ and the normal name is an alias. */
19272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19275 char (*f) () = $ac_func;
19284 return f != $ac_func;
19289 rm -f conftest.$ac_objext conftest$ac_exeext
19290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19291 (eval $ac_link) 2>conftest.er1
19293 grep -v '^ *+' conftest.er1 >conftest.err
19295 cat conftest.err >&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); } &&
19298 { ac_try='test -z "$ac_c_werror_flag"
19299 || test ! -s conftest.err'
19300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19301 (eval $ac_try) 2>&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); }; } &&
19305 { ac_try='test -s conftest$ac_exeext'
19306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19307 (eval $ac_try) 2>&5
19309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19310 (exit $ac_status); }; }; then
19311 eval "$as_ac_var=yes"
19313 echo "$as_me: failed program was:" >&5
19314 sed 's/^/| /' conftest.$ac_ext >&5
19316 eval "$as_ac_var=no"
19318 rm -f conftest.err conftest.$ac_objext \
19319 conftest$ac_exeext conftest.$ac_ext
19321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19323 if test `eval echo '${'$as_ac_var'}'` = yes; then
19324 cat >>confdefs.h <<_ACEOF
19325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19328 echo "$as_me:$LINENO: checking for _doprnt" >&5
19329 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
19330 if test "${ac_cv_func__doprnt+set}" = set; then
19331 echo $ECHO_N "(cached) $ECHO_C" >&6
19333 cat >conftest.$ac_ext <<_ACEOF
19336 cat confdefs.h >>conftest.$ac_ext
19337 cat >>conftest.$ac_ext <<_ACEOF
19338 /* end confdefs.h. */
19339 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
19340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19341 #define _doprnt innocuous__doprnt
19343 /* System header to define __stub macros and hopefully few prototypes,
19344 which can conflict with char _doprnt (); below.
19345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19346 <limits.h> exists even on freestanding compilers. */
19349 # include <limits.h>
19351 # include <assert.h>
19356 /* Override any gcc2 internal prototype to avoid an error. */
19361 /* We use char because int might match the return type of a gcc2
19362 builtin and then its argument prototype would still apply. */
19364 /* The GNU C library defines this for functions which it implements
19365 to always fail with ENOSYS. Some functions are actually named
19366 something starting with __ and the normal name is an alias. */
19367 #if defined (__stub__doprnt) || defined (__stub____doprnt)
19370 char (*f) () = _doprnt;
19379 return f != _doprnt;
19384 rm -f conftest.$ac_objext conftest$ac_exeext
19385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19386 (eval $ac_link) 2>conftest.er1
19388 grep -v '^ *+' conftest.er1 >conftest.err
19390 cat conftest.err >&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); } &&
19393 { ac_try='test -z "$ac_c_werror_flag"
19394 || test ! -s conftest.err'
19395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19396 (eval $ac_try) 2>&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); }; } &&
19400 { ac_try='test -s conftest$ac_exeext'
19401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19402 (eval $ac_try) 2>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); }; }; then
19406 ac_cv_func__doprnt=yes
19408 echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.$ac_ext >&5
19411 ac_cv_func__doprnt=no
19413 rm -f conftest.err conftest.$ac_objext \
19414 conftest$ac_exeext conftest.$ac_ext
19416 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
19417 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
19418 if test $ac_cv_func__doprnt = yes; then
19420 cat >>confdefs.h <<\_ACEOF
19421 #define HAVE_DOPRNT 1
19430 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
19431 # for constant arguments. Useless!
19432 echo "$as_me:$LINENO: checking for working alloca.h" >&5
19433 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
19434 if test "${ac_cv_working_alloca_h+set}" = set; then
19435 echo $ECHO_N "(cached) $ECHO_C" >&6
19437 cat >conftest.$ac_ext <<_ACEOF
19440 cat confdefs.h >>conftest.$ac_ext
19441 cat >>conftest.$ac_ext <<_ACEOF
19442 /* end confdefs.h. */
19443 #include <alloca.h>
19447 char *p = (char *) alloca (2 * sizeof (int));
19452 rm -f conftest.$ac_objext conftest$ac_exeext
19453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19454 (eval $ac_link) 2>conftest.er1
19456 grep -v '^ *+' conftest.er1 >conftest.err
19458 cat conftest.err >&5
19459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460 (exit $ac_status); } &&
19461 { ac_try='test -z "$ac_c_werror_flag"
19462 || test ! -s conftest.err'
19463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19464 (eval $ac_try) 2>&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); }; } &&
19468 { ac_try='test -s conftest$ac_exeext'
19469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19470 (eval $ac_try) 2>&5
19472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19473 (exit $ac_status); }; }; then
19474 ac_cv_working_alloca_h=yes
19476 echo "$as_me: failed program was:" >&5
19477 sed 's/^/| /' conftest.$ac_ext >&5
19479 ac_cv_working_alloca_h=no
19481 rm -f conftest.err conftest.$ac_objext \
19482 conftest$ac_exeext conftest.$ac_ext
19484 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
19485 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
19486 if test $ac_cv_working_alloca_h = yes; then
19488 cat >>confdefs.h <<\_ACEOF
19489 #define HAVE_ALLOCA_H 1
19494 echo "$as_me:$LINENO: checking for alloca" >&5
19495 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
19496 if test "${ac_cv_func_alloca_works+set}" = set; then
19497 echo $ECHO_N "(cached) $ECHO_C" >&6
19499 cat >conftest.$ac_ext <<_ACEOF
19502 cat confdefs.h >>conftest.$ac_ext
19503 cat >>conftest.$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19506 # define alloca __builtin_alloca
19509 # include <malloc.h>
19510 # define alloca _alloca
19513 # include <alloca.h>
19518 # ifndef alloca /* predefined by HP cc +Olibcalls */
19529 char *p = (char *) alloca (1);
19534 rm -f conftest.$ac_objext conftest$ac_exeext
19535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19536 (eval $ac_link) 2>conftest.er1
19538 grep -v '^ *+' conftest.er1 >conftest.err
19540 cat conftest.err >&5
19541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19542 (exit $ac_status); } &&
19543 { ac_try='test -z "$ac_c_werror_flag"
19544 || test ! -s conftest.err'
19545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19546 (eval $ac_try) 2>&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); }; } &&
19550 { ac_try='test -s conftest$ac_exeext'
19551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19552 (eval $ac_try) 2>&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); }; }; then
19556 ac_cv_func_alloca_works=yes
19558 echo "$as_me: failed program was:" >&5
19559 sed 's/^/| /' conftest.$ac_ext >&5
19561 ac_cv_func_alloca_works=no
19563 rm -f conftest.err conftest.$ac_objext \
19564 conftest$ac_exeext conftest.$ac_ext
19566 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
19567 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
19569 if test $ac_cv_func_alloca_works = yes; then
19571 cat >>confdefs.h <<\_ACEOF
19572 #define HAVE_ALLOCA 1
19576 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
19577 # that cause trouble. Some versions do not even contain alloca or
19578 # contain a buggy version. If you still want to use their alloca,
19579 # use ar to extract alloca.o from them instead of compiling alloca.c.
19581 ALLOCA=alloca.$ac_objext
19583 cat >>confdefs.h <<\_ACEOF
19588 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
19589 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
19590 if test "${ac_cv_os_cray+set}" = set; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19593 cat >conftest.$ac_ext <<_ACEOF
19596 cat confdefs.h >>conftest.$ac_ext
19597 cat >>conftest.$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19599 #if defined(CRAY) && ! defined(CRAY2)
19606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19607 $EGREP "webecray" >/dev/null 2>&1; then
19615 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
19616 echo "${ECHO_T}$ac_cv_os_cray" >&6
19617 if test $ac_cv_os_cray = yes; then
19618 for ac_func in _getb67 GETB67 getb67; do
19619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19620 echo "$as_me:$LINENO: checking for $ac_func" >&5
19621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19622 if eval "test \"\${$as_ac_var+set}\" = set"; then
19623 echo $ECHO_N "(cached) $ECHO_C" >&6
19625 cat >conftest.$ac_ext <<_ACEOF
19628 cat confdefs.h >>conftest.$ac_ext
19629 cat >>conftest.$ac_ext <<_ACEOF
19630 /* end confdefs.h. */
19631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19633 #define $ac_func innocuous_$ac_func
19635 /* System header to define __stub macros and hopefully few prototypes,
19636 which can conflict with char $ac_func (); below.
19637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19638 <limits.h> exists even on freestanding compilers. */
19641 # include <limits.h>
19643 # include <assert.h>
19648 /* Override any gcc2 internal prototype to avoid an error. */
19653 /* We use char because int might match the return type of a gcc2
19654 builtin and then its argument prototype would still apply. */
19656 /* The GNU C library defines this for functions which it implements
19657 to always fail with ENOSYS. Some functions are actually named
19658 something starting with __ and the normal name is an alias. */
19659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19662 char (*f) () = $ac_func;
19671 return f != $ac_func;
19676 rm -f conftest.$ac_objext conftest$ac_exeext
19677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19678 (eval $ac_link) 2>conftest.er1
19680 grep -v '^ *+' conftest.er1 >conftest.err
19682 cat conftest.err >&5
19683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19684 (exit $ac_status); } &&
19685 { ac_try='test -z "$ac_c_werror_flag"
19686 || test ! -s conftest.err'
19687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19688 (eval $ac_try) 2>&5
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); }; } &&
19692 { ac_try='test -s conftest$ac_exeext'
19693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19694 (eval $ac_try) 2>&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); }; }; then
19698 eval "$as_ac_var=yes"
19700 echo "$as_me: failed program was:" >&5
19701 sed 's/^/| /' conftest.$ac_ext >&5
19703 eval "$as_ac_var=no"
19705 rm -f conftest.err conftest.$ac_objext \
19706 conftest$ac_exeext conftest.$ac_ext
19708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19710 if test `eval echo '${'$as_ac_var'}'` = yes; then
19712 cat >>confdefs.h <<_ACEOF
19713 #define CRAY_STACKSEG_END $ac_func
19722 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
19723 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
19724 if test "${ac_cv_c_stack_direction+set}" = set; then
19725 echo $ECHO_N "(cached) $ECHO_C" >&6
19727 if test "$cross_compiling" = yes; then
19728 ac_cv_c_stack_direction=0
19730 cat >conftest.$ac_ext <<_ACEOF
19733 cat confdefs.h >>conftest.$ac_ext
19734 cat >>conftest.$ac_ext <<_ACEOF
19735 /* end confdefs.h. */
19737 find_stack_direction ()
19739 static char *addr = 0;
19744 return find_stack_direction ();
19747 return (&dummy > addr) ? 1 : -1;
19753 exit (find_stack_direction () < 0);
19756 rm -f conftest$ac_exeext
19757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19758 (eval $ac_link) 2>&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19763 (eval $ac_try) 2>&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); }; }; then
19767 ac_cv_c_stack_direction=1
19769 echo "$as_me: program exited with status $ac_status" >&5
19770 echo "$as_me: failed program was:" >&5
19771 sed 's/^/| /' conftest.$ac_ext >&5
19773 ( exit $ac_status )
19774 ac_cv_c_stack_direction=-1
19776 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19779 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
19780 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
19782 cat >>confdefs.h <<_ACEOF
19783 #define STACK_DIRECTION $ac_cv_c_stack_direction
19789 # getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
19790 echo "$as_me:$LINENO: checking for getmntent in -lsun" >&5
19791 echo $ECHO_N "checking for getmntent in -lsun... $ECHO_C" >&6
19792 if test "${ac_cv_lib_sun_getmntent+set}" = set; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19795 ac_check_lib_save_LIBS=$LIBS
19797 cat >conftest.$ac_ext <<_ACEOF
19800 cat confdefs.h >>conftest.$ac_ext
19801 cat >>conftest.$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19804 /* Override any gcc2 internal prototype to avoid an error. */
19808 /* We use char because int might match the return type of a gcc2
19809 builtin and then its argument prototype would still apply. */
19819 rm -f conftest.$ac_objext conftest$ac_exeext
19820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19821 (eval $ac_link) 2>conftest.er1
19823 grep -v '^ *+' conftest.er1 >conftest.err
19825 cat conftest.err >&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); } &&
19828 { ac_try='test -z "$ac_c_werror_flag"
19829 || test ! -s conftest.err'
19830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19831 (eval $ac_try) 2>&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); }; } &&
19835 { ac_try='test -s conftest$ac_exeext'
19836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19837 (eval $ac_try) 2>&5
19839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19840 (exit $ac_status); }; }; then
19841 ac_cv_lib_sun_getmntent=yes
19843 echo "$as_me: failed program was:" >&5
19844 sed 's/^/| /' conftest.$ac_ext >&5
19846 ac_cv_lib_sun_getmntent=no
19848 rm -f conftest.err conftest.$ac_objext \
19849 conftest$ac_exeext conftest.$ac_ext
19850 LIBS=$ac_check_lib_save_LIBS
19852 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getmntent" >&5
19853 echo "${ECHO_T}$ac_cv_lib_sun_getmntent" >&6
19854 if test $ac_cv_lib_sun_getmntent = yes; then
19857 echo "$as_me:$LINENO: checking for getmntent in -lseq" >&5
19858 echo $ECHO_N "checking for getmntent in -lseq... $ECHO_C" >&6
19859 if test "${ac_cv_lib_seq_getmntent+set}" = set; then
19860 echo $ECHO_N "(cached) $ECHO_C" >&6
19862 ac_check_lib_save_LIBS=$LIBS
19864 cat >conftest.$ac_ext <<_ACEOF
19867 cat confdefs.h >>conftest.$ac_ext
19868 cat >>conftest.$ac_ext <<_ACEOF
19869 /* end confdefs.h. */
19871 /* Override any gcc2 internal prototype to avoid an error. */
19875 /* We use char because int might match the return type of a gcc2
19876 builtin and then its argument prototype would still apply. */
19886 rm -f conftest.$ac_objext conftest$ac_exeext
19887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19888 (eval $ac_link) 2>conftest.er1
19890 grep -v '^ *+' conftest.er1 >conftest.err
19892 cat conftest.err >&5
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); } &&
19895 { ac_try='test -z "$ac_c_werror_flag"
19896 || test ! -s conftest.err'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; } &&
19902 { ac_try='test -s conftest$ac_exeext'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; }; then
19908 ac_cv_lib_seq_getmntent=yes
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19913 ac_cv_lib_seq_getmntent=no
19915 rm -f conftest.err conftest.$ac_objext \
19916 conftest$ac_exeext conftest.$ac_ext
19917 LIBS=$ac_check_lib_save_LIBS
19919 echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getmntent" >&5
19920 echo "${ECHO_T}$ac_cv_lib_seq_getmntent" >&6
19921 if test $ac_cv_lib_seq_getmntent = yes; then
19924 echo "$as_me:$LINENO: checking for getmntent in -lgen" >&5
19925 echo $ECHO_N "checking for getmntent in -lgen... $ECHO_C" >&6
19926 if test "${ac_cv_lib_gen_getmntent+set}" = set; then
19927 echo $ECHO_N "(cached) $ECHO_C" >&6
19929 ac_check_lib_save_LIBS=$LIBS
19931 cat >conftest.$ac_ext <<_ACEOF
19934 cat confdefs.h >>conftest.$ac_ext
19935 cat >>conftest.$ac_ext <<_ACEOF
19936 /* end confdefs.h. */
19938 /* Override any gcc2 internal prototype to avoid an error. */
19942 /* We use char because int might match the return type of a gcc2
19943 builtin and then its argument prototype would still apply. */
19953 rm -f conftest.$ac_objext conftest$ac_exeext
19954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19955 (eval $ac_link) 2>conftest.er1
19957 grep -v '^ *+' conftest.er1 >conftest.err
19959 cat conftest.err >&5
19960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19961 (exit $ac_status); } &&
19962 { ac_try='test -z "$ac_c_werror_flag"
19963 || test ! -s conftest.err'
19964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19965 (eval $ac_try) 2>&5
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; } &&
19969 { ac_try='test -s conftest$ac_exeext'
19970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19971 (eval $ac_try) 2>&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); }; }; then
19975 ac_cv_lib_gen_getmntent=yes
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.$ac_ext >&5
19980 ac_cv_lib_gen_getmntent=no
19982 rm -f conftest.err conftest.$ac_objext \
19983 conftest$ac_exeext conftest.$ac_ext
19984 LIBS=$ac_check_lib_save_LIBS
19986 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getmntent" >&5
19987 echo "${ECHO_T}$ac_cv_lib_gen_getmntent" >&6
19988 if test $ac_cv_lib_gen_getmntent = yes; then
19997 for ac_func in getmntent
19999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20000 echo "$as_me:$LINENO: checking for $ac_func" >&5
20001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20002 if eval "test \"\${$as_ac_var+set}\" = set"; then
20003 echo $ECHO_N "(cached) $ECHO_C" >&6
20005 cat >conftest.$ac_ext <<_ACEOF
20008 cat confdefs.h >>conftest.$ac_ext
20009 cat >>conftest.$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20013 #define $ac_func innocuous_$ac_func
20015 /* System header to define __stub macros and hopefully few prototypes,
20016 which can conflict with char $ac_func (); below.
20017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20018 <limits.h> exists even on freestanding compilers. */
20021 # include <limits.h>
20023 # include <assert.h>
20028 /* Override any gcc2 internal prototype to avoid an error. */
20033 /* We use char because int might match the return type of a gcc2
20034 builtin and then its argument prototype would still apply. */
20036 /* The GNU C library defines this for functions which it implements
20037 to always fail with ENOSYS. Some functions are actually named
20038 something starting with __ and the normal name is an alias. */
20039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20042 char (*f) () = $ac_func;
20051 return f != $ac_func;
20056 rm -f conftest.$ac_objext conftest$ac_exeext
20057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20058 (eval $ac_link) 2>conftest.er1
20060 grep -v '^ *+' conftest.er1 >conftest.err
20062 cat conftest.err >&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); } &&
20065 { ac_try='test -z "$ac_c_werror_flag"
20066 || test ! -s conftest.err'
20067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20068 (eval $ac_try) 2>&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); }; } &&
20072 { ac_try='test -s conftest$ac_exeext'
20073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20074 (eval $ac_try) 2>&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); }; }; then
20078 eval "$as_ac_var=yes"
20080 echo "$as_me: failed program was:" >&5
20081 sed 's/^/| /' conftest.$ac_ext >&5
20083 eval "$as_ac_var=no"
20085 rm -f conftest.err conftest.$ac_objext \
20086 conftest$ac_exeext conftest.$ac_ext
20088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20090 if test `eval echo '${'$as_ac_var'}'` = yes; then
20091 cat >>confdefs.h <<_ACEOF
20092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20099 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
20100 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
20101 if test "${ac_cv_func_closedir_void+set}" = set; then
20102 echo $ECHO_N "(cached) $ECHO_C" >&6
20104 if test "$cross_compiling" = yes; then
20105 ac_cv_func_closedir_void=yes
20107 cat >conftest.$ac_ext <<_ACEOF
20110 cat confdefs.h >>conftest.$ac_ext
20111 cat >>conftest.$ac_ext <<_ACEOF
20112 /* end confdefs.h. */
20113 $ac_includes_default
20114 #include <$ac_header_dirent>
20115 #ifndef __cplusplus
20122 exit (closedir (opendir (".")) != 0);
20127 rm -f conftest$ac_exeext
20128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20129 (eval $ac_link) 2>&5
20131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20132 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20134 (eval $ac_try) 2>&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); }; }; then
20138 ac_cv_func_closedir_void=no
20140 echo "$as_me: program exited with status $ac_status" >&5
20141 echo "$as_me: failed program was:" >&5
20142 sed 's/^/| /' conftest.$ac_ext >&5
20144 ( exit $ac_status )
20145 ac_cv_func_closedir_void=yes
20147 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20150 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
20151 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
20152 if test $ac_cv_func_closedir_void = yes; then
20154 cat >>confdefs.h <<\_ACEOF
20155 #define CLOSEDIR_VOID 1
20160 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
20161 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
20162 if test "${ac_cv_func_setpgrp_void+set}" = set; then
20163 echo $ECHO_N "(cached) $ECHO_C" >&6
20165 if test "$cross_compiling" = yes; then
20166 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
20167 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
20168 { (exit 1); exit 1; }; }
20170 cat >conftest.$ac_ext <<_ACEOF
20173 cat confdefs.h >>conftest.$ac_ext
20174 cat >>conftest.$ac_ext <<_ACEOF
20175 /* end confdefs.h. */
20177 # include <unistd.h>
20183 /* If this system has a BSD-style setpgrp which takes arguments,
20184 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
20185 exit successfully. */
20186 exit (setpgrp (1,1) == -1 ? 0 : 1);
20191 rm -f conftest$ac_exeext
20192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20193 (eval $ac_link) 2>&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; }; then
20202 ac_cv_func_setpgrp_void=no
20204 echo "$as_me: program exited with status $ac_status" >&5
20205 echo "$as_me: failed program was:" >&5
20206 sed 's/^/| /' conftest.$ac_ext >&5
20208 ( exit $ac_status )
20209 ac_cv_func_setpgrp_void=yes
20211 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20214 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
20215 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
20216 if test $ac_cv_func_setpgrp_void = yes; then
20218 cat >>confdefs.h <<\_ACEOF
20219 #define SETPGRP_VOID 1
20223 # AC_FUNC_FNMATCH dnl use local version
20226 echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
20227 echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
20228 if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
20229 echo $ECHO_N "(cached) $ECHO_C" >&6
20231 ac_check_lib_save_LIBS=$LIBS
20232 LIBS="-lxpg4 $LIBS"
20233 cat >conftest.$ac_ext <<_ACEOF
20236 cat confdefs.h >>conftest.$ac_ext
20237 cat >>conftest.$ac_ext <<_ACEOF
20238 /* end confdefs.h. */
20240 /* Override any gcc2 internal prototype to avoid an error. */
20244 /* We use char because int might match the return type of a gcc2
20245 builtin and then its argument prototype would still apply. */
20255 rm -f conftest.$ac_objext conftest$ac_exeext
20256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20257 (eval $ac_link) 2>conftest.er1
20259 grep -v '^ *+' conftest.er1 >conftest.err
20261 cat conftest.err >&5
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); } &&
20264 { ac_try='test -z "$ac_c_werror_flag"
20265 || test ! -s conftest.err'
20266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20267 (eval $ac_try) 2>&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); }; } &&
20271 { ac_try='test -s conftest$ac_exeext'
20272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20273 (eval $ac_try) 2>&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); }; }; then
20277 ac_cv_lib_xpg4_setlocale=yes
20279 echo "$as_me: failed program was:" >&5
20280 sed 's/^/| /' conftest.$ac_ext >&5
20282 ac_cv_lib_xpg4_setlocale=no
20284 rm -f conftest.err conftest.$ac_objext \
20285 conftest$ac_exeext conftest.$ac_ext
20286 LIBS=$ac_check_lib_save_LIBS
20288 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
20289 echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
20290 if test $ac_cv_lib_xpg4_setlocale = yes; then
20291 LIBS="$LIBS -lxpg4"
20297 echo "$as_me:$LINENO: checking for getpwnam in -lsun" >&5
20298 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6
20299 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then
20300 echo $ECHO_N "(cached) $ECHO_C" >&6
20302 ac_check_lib_save_LIBS=$LIBS
20304 cat >conftest.$ac_ext <<_ACEOF
20307 cat confdefs.h >>conftest.$ac_ext
20308 cat >>conftest.$ac_ext <<_ACEOF
20309 /* end confdefs.h. */
20311 /* Override any gcc2 internal prototype to avoid an error. */
20315 /* We use char because int might match the return type of a gcc2
20316 builtin and then its argument prototype would still apply. */
20326 rm -f conftest.$ac_objext conftest$ac_exeext
20327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20328 (eval $ac_link) 2>conftest.er1
20330 grep -v '^ *+' conftest.er1 >conftest.err
20332 cat conftest.err >&5
20333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20334 (exit $ac_status); } &&
20335 { ac_try='test -z "$ac_c_werror_flag"
20336 || test ! -s conftest.err'
20337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20338 (eval $ac_try) 2>&5
20340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20341 (exit $ac_status); }; } &&
20342 { ac_try='test -s conftest$ac_exeext'
20343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20344 (eval $ac_try) 2>&5
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); }; }; then
20348 ac_cv_lib_sun_getpwnam=yes
20350 echo "$as_me: failed program was:" >&5
20351 sed 's/^/| /' conftest.$ac_ext >&5
20353 ac_cv_lib_sun_getpwnam=no
20355 rm -f conftest.err conftest.$ac_objext \
20356 conftest$ac_exeext conftest.$ac_ext
20357 LIBS=$ac_check_lib_save_LIBS
20359 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5
20360 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6
20361 if test $ac_cv_lib_sun_getpwnam = yes; then
20362 cat >>confdefs.h <<_ACEOF
20363 #define HAVE_LIBSUN 1
20372 for ac_header in zlib.h
20374 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20376 echo "$as_me:$LINENO: checking for $ac_header" >&5
20377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20379 echo $ECHO_N "(cached) $ECHO_C" >&6
20381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20384 # Is the header compilable?
20385 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20386 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20387 cat >conftest.$ac_ext <<_ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 $ac_includes_default
20394 #include <$ac_header>
20396 rm -f conftest.$ac_objext
20397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20398 (eval $ac_compile) 2>conftest.er1
20400 grep -v '^ *+' conftest.er1 >conftest.err
20402 cat conftest.err >&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); } &&
20405 { ac_try='test -z "$ac_c_werror_flag"
20406 || test ! -s conftest.err'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; } &&
20412 { ac_try='test -s conftest.$ac_objext'
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414 (eval $ac_try) 2>&5
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); }; }; then
20418 ac_header_compiler=yes
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.$ac_ext >&5
20423 ac_header_compiler=no
20425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20426 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20427 echo "${ECHO_T}$ac_header_compiler" >&6
20429 # Is the header present?
20430 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20431 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20432 cat >conftest.$ac_ext <<_ACEOF
20435 cat confdefs.h >>conftest.$ac_ext
20436 cat >>conftest.$ac_ext <<_ACEOF
20437 /* end confdefs.h. */
20438 #include <$ac_header>
20440 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20441 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20443 grep -v '^ *+' conftest.er1 >conftest.err
20445 cat conftest.err >&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } >/dev/null; then
20448 if test -s conftest.err; then
20449 ac_cpp_err=$ac_c_preproc_warn_flag
20450 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20457 if test -z "$ac_cpp_err"; then
20458 ac_header_preproc=yes
20460 echo "$as_me: failed program was:" >&5
20461 sed 's/^/| /' conftest.$ac_ext >&5
20463 ac_header_preproc=no
20465 rm -f conftest.err conftest.$ac_ext
20466 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20467 echo "${ECHO_T}$ac_header_preproc" >&6
20469 # So? What about this header?
20470 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20472 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20473 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20474 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20475 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20476 ac_header_preproc=yes
20479 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20480 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20481 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20482 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20483 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20484 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20485 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20486 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20488 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20489 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20490 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20493 ## ------------------------------------------ ##
20494 ## Report this to the AC_PACKAGE_NAME lists. ##
20495 ## ------------------------------------------ ##
20498 sed "s/^/$as_me: WARNING: /" >&2
20501 echo "$as_me:$LINENO: checking for $ac_header" >&5
20502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20504 echo $ECHO_N "(cached) $ECHO_C" >&6
20506 eval "$as_ac_Header=\$ac_header_preproc"
20508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20513 cat >>confdefs.h <<_ACEOF
20514 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20521 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
20522 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
20523 if test "${ac_cv_lib_z_deflate+set}" = set; then
20524 echo $ECHO_N "(cached) $ECHO_C" >&6
20526 ac_check_lib_save_LIBS=$LIBS
20528 cat >conftest.$ac_ext <<_ACEOF
20531 cat confdefs.h >>conftest.$ac_ext
20532 cat >>conftest.$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20535 /* Override any gcc2 internal prototype to avoid an error. */
20539 /* We use char because int might match the return type of a gcc2
20540 builtin and then its argument prototype would still apply. */
20550 rm -f conftest.$ac_objext conftest$ac_exeext
20551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20552 (eval $ac_link) 2>conftest.er1
20554 grep -v '^ *+' conftest.er1 >conftest.err
20556 cat conftest.err >&5
20557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); } &&
20559 { ac_try='test -z "$ac_c_werror_flag"
20560 || test ! -s conftest.err'
20561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562 (eval $ac_try) 2>&5
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); }; } &&
20566 { ac_try='test -s conftest$ac_exeext'
20567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20568 (eval $ac_try) 2>&5
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); }; }; then
20572 ac_cv_lib_z_deflate=yes
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.$ac_ext >&5
20577 ac_cv_lib_z_deflate=no
20579 rm -f conftest.err conftest.$ac_objext \
20580 conftest$ac_exeext conftest.$ac_ext
20581 LIBS=$ac_check_lib_save_LIBS
20583 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
20584 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
20585 if test $ac_cv_lib_z_deflate = yes; then
20590 if test x$FDLIBS = x-lz; then
20591 cat >>confdefs.h <<\_ACEOF
20592 #define HAVE_LIBZ 1
20598 if test "${ac_cv_header_sys_acl_h+set}" = set; then
20599 echo "$as_me:$LINENO: checking for sys/acl.h" >&5
20600 echo $ECHO_N "checking for sys/acl.h... $ECHO_C" >&6
20601 if test "${ac_cv_header_sys_acl_h+set}" = set; then
20602 echo $ECHO_N "(cached) $ECHO_C" >&6
20604 echo "$as_me:$LINENO: result: $ac_cv_header_sys_acl_h" >&5
20605 echo "${ECHO_T}$ac_cv_header_sys_acl_h" >&6
20607 # Is the header compilable?
20608 echo "$as_me:$LINENO: checking sys/acl.h usability" >&5
20609 echo $ECHO_N "checking sys/acl.h usability... $ECHO_C" >&6
20610 cat >conftest.$ac_ext <<_ACEOF
20613 cat confdefs.h >>conftest.$ac_ext
20614 cat >>conftest.$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20616 $ac_includes_default
20617 #include <sys/acl.h>
20619 rm -f conftest.$ac_objext
20620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20621 (eval $ac_compile) 2>conftest.er1
20623 grep -v '^ *+' conftest.er1 >conftest.err
20625 cat conftest.err >&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); } &&
20628 { ac_try='test -z "$ac_c_werror_flag"
20629 || test ! -s conftest.err'
20630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20631 (eval $ac_try) 2>&5
20633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20634 (exit $ac_status); }; } &&
20635 { ac_try='test -s conftest.$ac_objext'
20636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20637 (eval $ac_try) 2>&5
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); }; }; then
20641 ac_header_compiler=yes
20643 echo "$as_me: failed program was:" >&5
20644 sed 's/^/| /' conftest.$ac_ext >&5
20646 ac_header_compiler=no
20648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20650 echo "${ECHO_T}$ac_header_compiler" >&6
20652 # Is the header present?
20653 echo "$as_me:$LINENO: checking sys/acl.h presence" >&5
20654 echo $ECHO_N "checking sys/acl.h presence... $ECHO_C" >&6
20655 cat >conftest.$ac_ext <<_ACEOF
20658 cat confdefs.h >>conftest.$ac_ext
20659 cat >>conftest.$ac_ext <<_ACEOF
20660 /* end confdefs.h. */
20661 #include <sys/acl.h>
20663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20666 grep -v '^ *+' conftest.er1 >conftest.err
20668 cat conftest.err >&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); } >/dev/null; then
20671 if test -s conftest.err; then
20672 ac_cpp_err=$ac_c_preproc_warn_flag
20673 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20680 if test -z "$ac_cpp_err"; then
20681 ac_header_preproc=yes
20683 echo "$as_me: failed program was:" >&5
20684 sed 's/^/| /' conftest.$ac_ext >&5
20686 ac_header_preproc=no
20688 rm -f conftest.err conftest.$ac_ext
20689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20690 echo "${ECHO_T}$ac_header_preproc" >&6
20692 # So? What about this header?
20693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20695 { echo "$as_me:$LINENO: WARNING: sys/acl.h: accepted by the compiler, rejected by the preprocessor!" >&5
20696 echo "$as_me: WARNING: sys/acl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
20697 { echo "$as_me:$LINENO: WARNING: sys/acl.h: proceeding with the compiler's result" >&5
20698 echo "$as_me: WARNING: sys/acl.h: proceeding with the compiler's result" >&2;}
20699 ac_header_preproc=yes
20702 { echo "$as_me:$LINENO: WARNING: sys/acl.h: present but cannot be compiled" >&5
20703 echo "$as_me: WARNING: sys/acl.h: present but cannot be compiled" >&2;}
20704 { echo "$as_me:$LINENO: WARNING: sys/acl.h: check for missing prerequisite headers?" >&5
20705 echo "$as_me: WARNING: sys/acl.h: check for missing prerequisite headers?" >&2;}
20706 { echo "$as_me:$LINENO: WARNING: sys/acl.h: see the Autoconf documentation" >&5
20707 echo "$as_me: WARNING: sys/acl.h: see the Autoconf documentation" >&2;}
20708 { echo "$as_me:$LINENO: WARNING: sys/acl.h: section \"Present But Cannot Be Compiled\"" >&5
20709 echo "$as_me: WARNING: sys/acl.h: section \"Present But Cannot Be Compiled\"" >&2;}
20710 { echo "$as_me:$LINENO: WARNING: sys/acl.h: proceeding with the preprocessor's result" >&5
20711 echo "$as_me: WARNING: sys/acl.h: proceeding with the preprocessor's result" >&2;}
20712 { echo "$as_me:$LINENO: WARNING: sys/acl.h: in the future, the compiler will take precedence" >&5
20713 echo "$as_me: WARNING: sys/acl.h: in the future, the compiler will take precedence" >&2;}
20716 ## ------------------------------------------ ##
20717 ## Report this to the AC_PACKAGE_NAME lists. ##
20718 ## ------------------------------------------ ##
20721 sed "s/^/$as_me: WARNING: /" >&2
20724 echo "$as_me:$LINENO: checking for sys/acl.h" >&5
20725 echo $ECHO_N "checking for sys/acl.h... $ECHO_C" >&6
20726 if test "${ac_cv_header_sys_acl_h+set}" = set; then
20727 echo $ECHO_N "(cached) $ECHO_C" >&6
20729 ac_cv_header_sys_acl_h=$ac_header_preproc
20731 echo "$as_me:$LINENO: result: $ac_cv_header_sys_acl_h" >&5
20732 echo "${ECHO_T}$ac_cv_header_sys_acl_h" >&6
20737 echo "$as_me:$LINENO: checking for acl_get_file in -lacl" >&5
20738 echo $ECHO_N "checking for acl_get_file in -lacl... $ECHO_C" >&6
20739 if test "${ac_cv_lib_acl_acl_get_file+set}" = set; then
20740 echo $ECHO_N "(cached) $ECHO_C" >&6
20742 ac_check_lib_save_LIBS=$LIBS
20744 cat >conftest.$ac_ext <<_ACEOF
20747 cat confdefs.h >>conftest.$ac_ext
20748 cat >>conftest.$ac_ext <<_ACEOF
20749 /* end confdefs.h. */
20751 /* Override any gcc2 internal prototype to avoid an error. */
20755 /* We use char because int might match the return type of a gcc2
20756 builtin and then its argument prototype would still apply. */
20757 char acl_get_file ();
20766 rm -f conftest.$ac_objext conftest$ac_exeext
20767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20768 (eval $ac_link) 2>conftest.er1
20770 grep -v '^ *+' conftest.er1 >conftest.err
20772 cat conftest.err >&5
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); } &&
20775 { ac_try='test -z "$ac_c_werror_flag"
20776 || test ! -s conftest.err'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; } &&
20782 { ac_try='test -s conftest$ac_exeext'
20783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784 (eval $ac_try) 2>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; }; then
20788 ac_cv_lib_acl_acl_get_file=yes
20790 echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.$ac_ext >&5
20793 ac_cv_lib_acl_acl_get_file=no
20795 rm -f conftest.err conftest.$ac_objext \
20796 conftest$ac_exeext conftest.$ac_ext
20797 LIBS=$ac_check_lib_save_LIBS
20799 echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file" >&5
20800 echo "${ECHO_T}$ac_cv_lib_acl_acl_get_file" >&6
20801 if test $ac_cv_lib_acl_acl_get_file = yes; then
20802 FDLIBS="-lacl $FDLIBS"
20806 if test $ac_cv_lib_acl_acl_get_file = yes; then
20807 cat >>confdefs.h <<\_ACEOF
20815 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
20816 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
20817 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
20818 echo $ECHO_N "(cached) $ECHO_C" >&6
20820 ac_check_lib_save_LIBS=$LIBS
20821 LIBS="-lpthread $LIBS"
20822 cat >conftest.$ac_ext <<_ACEOF
20825 cat confdefs.h >>conftest.$ac_ext
20826 cat >>conftest.$ac_ext <<_ACEOF
20827 /* end confdefs.h. */
20829 /* Override any gcc2 internal prototype to avoid an error. */
20833 /* We use char because int might match the return type of a gcc2
20834 builtin and then its argument prototype would still apply. */
20835 char pthread_create ();
20844 rm -f conftest.$ac_objext conftest$ac_exeext
20845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20846 (eval $ac_link) 2>conftest.er1
20848 grep -v '^ *+' conftest.er1 >conftest.err
20850 cat conftest.err >&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); } &&
20853 { ac_try='test -z "$ac_c_werror_flag"
20854 || test ! -s conftest.err'
20855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20856 (eval $ac_try) 2>&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); }; } &&
20860 { ac_try='test -s conftest$ac_exeext'
20861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862 (eval $ac_try) 2>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; }; then
20866 ac_cv_lib_pthread_pthread_create=yes
20868 echo "$as_me: failed program was:" >&5
20869 sed 's/^/| /' conftest.$ac_ext >&5
20871 ac_cv_lib_pthread_pthread_create=no
20873 rm -f conftest.err conftest.$ac_objext \
20874 conftest$ac_exeext conftest.$ac_ext
20875 LIBS=$ac_check_lib_save_LIBS
20877 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
20878 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
20879 if test $ac_cv_lib_pthread_pthread_create = yes; then
20880 PTHREAD_LIB="-lpthread"
20882 echo "$as_me:$LINENO: checking for pthread_create in -lpthreads" >&5
20883 echo $ECHO_N "checking for pthread_create in -lpthreads... $ECHO_C" >&6
20884 if test "${ac_cv_lib_pthreads_pthread_create+set}" = set; then
20885 echo $ECHO_N "(cached) $ECHO_C" >&6
20887 ac_check_lib_save_LIBS=$LIBS
20888 LIBS="-lpthreads $LIBS"
20889 cat >conftest.$ac_ext <<_ACEOF
20892 cat confdefs.h >>conftest.$ac_ext
20893 cat >>conftest.$ac_ext <<_ACEOF
20894 /* end confdefs.h. */
20896 /* Override any gcc2 internal prototype to avoid an error. */
20900 /* We use char because int might match the return type of a gcc2
20901 builtin and then its argument prototype would still apply. */
20902 char pthread_create ();
20911 rm -f conftest.$ac_objext conftest$ac_exeext
20912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20913 (eval $ac_link) 2>conftest.er1
20915 grep -v '^ *+' conftest.er1 >conftest.err
20917 cat conftest.err >&5
20918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20919 (exit $ac_status); } &&
20920 { ac_try='test -z "$ac_c_werror_flag"
20921 || test ! -s conftest.err'
20922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20923 (eval $ac_try) 2>&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); }; } &&
20927 { ac_try='test -s conftest$ac_exeext'
20928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20929 (eval $ac_try) 2>&5
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); }; }; then
20933 ac_cv_lib_pthreads_pthread_create=yes
20935 echo "$as_me: failed program was:" >&5
20936 sed 's/^/| /' conftest.$ac_ext >&5
20938 ac_cv_lib_pthreads_pthread_create=no
20940 rm -f conftest.err conftest.$ac_objext \
20941 conftest$ac_exeext conftest.$ac_ext
20942 LIBS=$ac_check_lib_save_LIBS
20944 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_create" >&5
20945 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_create" >&6
20946 if test $ac_cv_lib_pthreads_pthread_create = yes; then
20947 PTHREAD_LIB="-lpthreads"
20949 echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
20950 echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6
20951 if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then
20952 echo $ECHO_N "(cached) $ECHO_C" >&6
20954 ac_check_lib_save_LIBS=$LIBS
20956 cat >conftest.$ac_ext <<_ACEOF
20959 cat confdefs.h >>conftest.$ac_ext
20960 cat >>conftest.$ac_ext <<_ACEOF
20961 /* end confdefs.h. */
20963 /* Override any gcc2 internal prototype to avoid an error. */
20967 /* We use char because int might match the return type of a gcc2
20968 builtin and then its argument prototype would still apply. */
20969 char pthread_create ();
20978 rm -f conftest.$ac_objext conftest$ac_exeext
20979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20980 (eval $ac_link) 2>conftest.er1
20982 grep -v '^ *+' conftest.er1 >conftest.err
20984 cat conftest.err >&5
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); } &&
20987 { ac_try='test -z "$ac_c_werror_flag"
20988 || test ! -s conftest.err'
20989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20990 (eval $ac_try) 2>&5
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); }; } &&
20994 { ac_try='test -s conftest$ac_exeext'
20995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20996 (eval $ac_try) 2>&5
20998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20999 (exit $ac_status); }; }; then
21000 ac_cv_lib_c_r_pthread_create=yes
21002 echo "$as_me: failed program was:" >&5
21003 sed 's/^/| /' conftest.$ac_ext >&5
21005 ac_cv_lib_c_r_pthread_create=no
21007 rm -f conftest.err conftest.$ac_objext \
21008 conftest$ac_exeext conftest.$ac_ext
21009 LIBS=$ac_check_lib_save_LIBS
21011 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_create" >&5
21012 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_create" >&6
21013 if test $ac_cv_lib_c_r_pthread_create = yes; then
21014 PTHREAD_LIB="-lc_r"
21016 echo "$as_me:$LINENO: checking for pthread_create" >&5
21017 echo $ECHO_N "checking for pthread_create... $ECHO_C" >&6
21018 if test "${ac_cv_func_pthread_create+set}" = set; then
21019 echo $ECHO_N "(cached) $ECHO_C" >&6
21021 cat >conftest.$ac_ext <<_ACEOF
21024 cat confdefs.h >>conftest.$ac_ext
21025 cat >>conftest.$ac_ext <<_ACEOF
21026 /* end confdefs.h. */
21027 /* Define pthread_create to an innocuous variant, in case <limits.h> declares pthread_create.
21028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21029 #define pthread_create innocuous_pthread_create
21031 /* System header to define __stub macros and hopefully few prototypes,
21032 which can conflict with char pthread_create (); below.
21033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21034 <limits.h> exists even on freestanding compilers. */
21037 # include <limits.h>
21039 # include <assert.h>
21042 #undef pthread_create
21044 /* Override any gcc2 internal prototype to avoid an error. */
21049 /* We use char because int might match the return type of a gcc2
21050 builtin and then its argument prototype would still apply. */
21051 char pthread_create ();
21052 /* The GNU C library defines this for functions which it implements
21053 to always fail with ENOSYS. Some functions are actually named
21054 something starting with __ and the normal name is an alias. */
21055 #if defined (__stub_pthread_create) || defined (__stub___pthread_create)
21058 char (*f) () = pthread_create;
21067 return f != pthread_create;
21072 rm -f conftest.$ac_objext conftest$ac_exeext
21073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21074 (eval $ac_link) 2>conftest.er1
21076 grep -v '^ *+' conftest.er1 >conftest.err
21078 cat conftest.err >&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); } &&
21081 { ac_try='test -z "$ac_c_werror_flag"
21082 || test ! -s conftest.err'
21083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21084 (eval $ac_try) 2>&5
21086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); }; } &&
21088 { ac_try='test -s conftest$ac_exeext'
21089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21090 (eval $ac_try) 2>&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); }; }; then
21094 ac_cv_func_pthread_create=yes
21096 echo "$as_me: failed program was:" >&5
21097 sed 's/^/| /' conftest.$ac_ext >&5
21099 ac_cv_func_pthread_create=no
21101 rm -f conftest.err conftest.$ac_objext \
21102 conftest$ac_exeext conftest.$ac_ext
21104 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_create" >&5
21105 echo "${ECHO_T}$ac_cv_func_pthread_create" >&6
21118 cat >>confdefs.h <<\_ACEOF
21124 CFLAGS=${CFLAGS--O}
21125 LDFLAGS=${LDFLAGS--O}
21126 DB_LIBS="${SQL_LFLAGS}"
21128 CPPFLAGS="$CPPFLAGS"
21153 # Finally we set appropriate distribution specific
21154 # variables and defaults
21156 # PFILES are platform specific files
21157 PFILES="platforms/Makefile"
21161 hostname=`uname -n | cut -d '.' -f 1`
21162 case "$DISTNAME" in
21165 PSCMD="ps -e -o pid,comm"
21166 PFILES="${PFILES} \
21167 platforms/aix/Makefile"
21168 TAPEDRIVE="/dev/rmt0.1"
21172 PTHREAD_LIB="-lpthread -lexc"
21173 if test "${CC}" = "gcc" ; then
21180 TAPEDRIVE="/dev/nrmt0"
21183 DISTVER=`uname -a |awk '{print $3}'`
21184 TAPEDRIVE="/dev/nrmt0"
21185 PTHREAD_LIB="-pthread"
21186 CFLAGS="${CFLAGS} -pthread"
21187 PSCMD="ps -x -o pid,command"
21190 PFILES="${PFILES} \
21191 platforms/bsdi/Makefile \
21192 platforms/bsdi/bacula-fd \
21193 platforms/bsdi/bacula-sd \
21194 platforms/bsdi/bacula-dir"
21195 largefile_support="yes"
21198 DISTVER=`uname -a |awk '{print $3}'`
21199 TAPEDRIVE="/dev/nrst0"
21201 WCFLAGS="-mwindows"
21202 WLDFLAGS="-mwindows"
21206 TAPEDRIVE="/dev/nst0"
21207 PSCMD="ps -e -o pid,command"
21209 PFILES="${PFILES} \
21210 platforms/darwin/Makefile"
21213 DISTVER=`cat /etc/debian_version`
21214 TAPEDRIVE="/dev/nrst0"
21215 PSCMD="ps -e -o pid,command"
21218 DISTVER=`uname -a |awk '{print $3}'`
21219 VER=`echo $DISTVER | cut -c 1`
21220 if test x$VER = x4 ; then
21221 PTHREAD_LIB="-pthread"
21222 CFLAGS="${CFLAGS} -pthread"
21226 TAPEDRIVE="/dev/nrsa0"
21227 PSCMD="ps -x -o pid,command"
21228 PFILES="${PFILES} \
21229 platforms/freebsd/Makefile \
21230 platforms/freebsd/bacula-fd \
21231 platforms/freebsd/bacula-sd \
21232 platforms/freebsd/bacula-dir"
21233 largefile_support="yes"
21236 PSCMD="UNIX95=1 ps -e -o pid,comm"
21237 CFLAGS="$(CFLAGS) -D_XOPEN_SOURCE_EXTENDED=1"
21239 TAPEDRIVE="/dev/rmt/0hnb"
21240 PTHREAD_LIB="-lpthread"
21241 cat >>confdefs.h <<\_ACEOF
21242 #define _INCLUDE_LONGLONG 1
21248 TAPEDRIVE="/dev/rmt/0cbn"
21249 PSCMD="ps -e -o pid,comm"
21250 PFILES="${PFILES} \
21251 platforms/irix/Makefile \
21252 platforms/irix/bacula-fd \
21253 platforms/irix/bacula-sd \
21254 platforms/irix/bacula-dir"
21257 DISTVER=`uname -a |awk '{print $3}'`
21260 TAPEDRIVE="/dev/nrst0"
21261 PSCMD="ps -a -o pid,command"
21262 PTHREAD_LIB="-pthread"
21263 CFLAGS="${CFLAGS} -pthread"
21266 DISTVER=`uname -a |awk '{print $3}'`
21269 TAPEDRIVE="/dev/nrst0"
21270 PSCMD="ps -ax -o pid,command"
21271 PTHREAD_LIB="-pthread"
21272 CFLAGS="${CFLAGS} -pthread"
21273 PFILES="${PFILES} \
21274 platforms/openbsd/Makefile \
21275 platforms/openbsd/bacula-fd \
21276 platforms/openbsd/bacula-sd \
21277 platforms/openbsd/bacula-dir"
21280 if test -f /etc/whitebox-release ; then
21281 f=/etc/whitebox-release
21283 f=/etc/redhat-release
21285 if test `cat $f | grep release |\
21286 cut -f 3 -d ' '`x = "Enterprise"x ; then
21287 DISTVER="Enterprise "`cat $f | grep release |\
21290 DISTVER=`cat /etc/redhat-release | grep release |\
21293 TAPEDRIVE="/dev/nst0"
21294 PSCMD="ps -e -o pid,command"
21295 PFILES="${PFILES} \
21296 platforms/redhat/Makefile \
21297 platforms/redhat/bacula-fd \
21298 platforms/redhat/bacula-sd \
21299 platforms/redhat/bacula-dir \
21300 platforms/redhat/bacula.spec \
21302 hostname=`hostname -s`
21305 DISTVER=`cat /etc/mandrake-release | grep release |\
21307 TAPEDRIVE="/dev/nst0"
21308 PSCMD="ps -e -o pid,command"
21309 PFILES="${PFILES} \
21310 platforms/mandrake/Makefile \
21311 platforms/mandrake/bacula-fd \
21312 platforms/mandrake/bacula-sd \
21313 platforms/mandrake/bacula-dir \
21314 platforms/mandrake/bacula.spec \
21318 DISTVER=`awk '/version / {print $5}' < /etc/gentoo-release`
21319 TAPEDRIVE="/dev/nst0"
21320 PSCMD="ps -e -o pid,command"
21321 PFILES="${PFILES} \
21322 platforms/gentoo/Makefile \
21323 platforms/gentoo/bacula-init \
21324 platforms/gentoo/bacula-fd \
21325 platforms/gentoo/bacula-sd \
21326 platforms/gentoo/bacula-dir"
21329 DISTVER=`cat /etc/slackware-version`
21330 TAPEDRIVE="/dev/nst0"
21331 PSCMD="ps -e -o pid,command"
21332 PFILES="${PFILES} \
21333 platforms/slackware/Makefile \
21334 platforms/slackware/rc.bacula-fd \
21335 platforms/slackware/rc.bacula-sd \
21336 platforms/slackware/rc.bacula-dir\
21337 platforms/slackware/functions.bacula"
21341 TAPEDRIVE="/dev/rmt/0cbn"
21342 PSCMD="ps -e -o pid,comm"
21343 PFILES="${PFILES} \
21344 platforms/solaris/Makefile \
21345 platforms/solaris/bacula-fd \
21346 platforms/solaris/bacula-sd \
21347 platforms/solaris/bacula-dir"
21348 if test x$DISTVER = x5.6 ; then
21349 cat >>confdefs.h <<\_ACEOF
21350 #define HAVE_OLD_SOCKOPT 1
21354 LIBS="$LIBS -lresolv"
21357 DISTVER=`cat /etc/SuSE-release |grep VERSION|\
21359 TAPEDRIVE="/dev/nst0"
21360 PSCMD="ps -e -o pid,command"
21361 PFILES="${PFILES} \
21362 platforms/suse/Makefile \
21363 platforms/suse/bacula-fd \
21364 platforms/suse/bacula-sd \
21365 platforms/suse/bacula-dir \
21366 platforms/suse/bacula \
21367 platforms/suse/bacula.spec"
21372 TAPEDRIVE="/dev/nst0"
21373 PSCMD="ps -e -o pid,command"
21374 PFILES="${PFILES} \
21375 platforms/suse/Makefile \
21376 platforms/suse/bacula-fd \
21377 platforms/suse/bacula-sd \
21378 platforms/suse/bacula-dir"
21382 TAPEDRIVE="/dev/nst0"
21385 echo " === Something went wrong. Unknown DISTNAME $DISTNAME ==="
21391 LIBS="$PTHREAD_LIB $LIBS"
21393 cat >>confdefs.h <<_ACEOF
21397 cat >>confdefs.h <<_ACEOF
21408 MCOMMON=./autoconf/Make.common
21411 if test "x${subsysdir}" = "x${sbindir}" ; then
21414 echo "You have set both --sbindir and --with-subsys-dir"
21415 echo " equal to: ${subsysdir} "
21416 echo "This is not permitted. Please reconfigure."
21418 echo "Aborting configuration ..."
21424 ac_config_files="$ac_config_files autoconf/Make.common 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/create_sqlite3_database src/cats/update_sqlite3_tables src/cats/make_sqlite3_tables src/cats/grant_sqlite3_privileges src/cats/drop_sqlite3_tables src/cats/drop_sqlite3_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"
21425 ac_config_commands="$ac_config_commands default"
21426 cat >confcache <<\_ACEOF
21427 # This file is a shell script that caches the results of configure
21428 # tests run on this system so they can be shared between configure
21429 # scripts and configure runs, see configure's option --config-cache.
21430 # It is not useful on other systems. If it contains results you don't
21431 # want to keep, you may remove or edit it.
21433 # config.status only pays attention to the cache file if you give it
21434 # the --recheck option to rerun configure.
21436 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21437 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21438 # following values.
21442 # The following way of writing the cache mishandles newlines in values,
21443 # but we know of no workaround that is simple, portable, and efficient.
21444 # So, don't put newlines in cache variables' values.
21445 # Ultrix sh set writes to stderr and can't be redirected directly,
21446 # and sets the high bit in the cache file unless we assign to the vars.
21449 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21451 # `set' does not quote correctly, so add quotes (double-quote
21452 # substitution turns \\\\ into \\, and sed turns \\ into \).
21455 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21458 # `set' quotes correctly as required by POSIX, so do not add quotes.
21460 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
21467 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21469 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21471 if diff $cache_file confcache >/dev/null 2>&1; then :; else
21472 if test -w $cache_file; then
21473 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
21474 cat confcache >$cache_file
21476 echo "not updating unwritable cache $cache_file"
21481 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21482 # Let make expand exec_prefix.
21483 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21485 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21486 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21487 # trailing colons and then remove the whole line if VPATH becomes empty
21488 # (actually we leave an empty line to preserve line numbers).
21489 if test "x$srcdir" = x.; then
21490 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21491 s/:*\$(srcdir):*/:/;
21492 s/:*\${srcdir}:*/:/;
21494 s/^\([^=]*=[ ]*\):*/\1/;
21500 DEFS=-DHAVE_CONFIG_H
21504 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21505 # 1. Remove the extension, and $U if already installed.
21506 ac_i=`echo "$ac_i" |
21507 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
21509 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
21510 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
21512 LIBOBJS=$ac_libobjs
21514 LTLIBOBJS=$ac_ltlibobjs
21518 : ${CONFIG_STATUS=./config.status}
21519 ac_clean_files_save=$ac_clean_files
21520 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21521 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21522 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21523 cat >$CONFIG_STATUS <<_ACEOF
21525 # Generated by $as_me.
21526 # Run this file to recreate the current configuration.
21527 # Compiler output produced by configure, useful for debugging
21528 # configure, is in config.log if it exists.
21531 ac_cs_recheck=false
21533 SHELL=\${CONFIG_SHELL-$SHELL}
21536 cat >>$CONFIG_STATUS <<\_ACEOF
21537 ## --------------------- ##
21538 ## M4sh Initialization. ##
21539 ## --------------------- ##
21541 # Be Bourne compatible
21542 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21545 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21546 # is contrary to our usage. Disable this feature.
21547 alias -g '${1+"$@"}'='"$@"'
21548 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
21551 DUALCASE=1; export DUALCASE # for MKS sh
21553 # Support unset when possible.
21554 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21561 # Work around bugs in pre-3.0 UWIN ksh.
21562 $as_unset ENV MAIL MAILPATH
21569 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21570 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21571 LC_TELEPHONE LC_TIME
21573 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21574 eval $as_var=C; export $as_var
21580 # Required to use basename.
21581 if expr a : '\(a\)' >/dev/null 2>&1; then
21587 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
21588 as_basename=basename
21594 # Name of the executable.
21595 as_me=`$as_basename "$0" ||
21596 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21597 X"$0" : 'X\(//\)$' \| \
21598 X"$0" : 'X\(/\)$' \| \
21599 . : '\(.\)' 2>/dev/null ||
21601 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21602 /^X\/\(\/\/\)$/{ s//\1/; q; }
21603 /^X\/\(\/\).*/{ s//\1/; q; }
21607 # PATH needs CR, and LINENO needs CR and PATH.
21608 # Avoid depending upon Character Ranges.
21609 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21610 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21611 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21612 as_cr_digits='0123456789'
21613 as_cr_alnum=$as_cr_Letters$as_cr_digits
21615 # The user is always right.
21616 if test "${PATH_SEPARATOR+set}" != set; then
21617 echo "#! /bin/sh" >conf$$.sh
21618 echo "exit 0" >>conf$$.sh
21620 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21629 as_lineno_1=$LINENO
21630 as_lineno_2=$LINENO
21631 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21632 test "x$as_lineno_1" != "x$as_lineno_2" &&
21633 test "x$as_lineno_3" = "x$as_lineno_2" || {
21634 # Find who we are. Look in the path if we contain no path at all
21637 *[\\/]* ) as_myself=$0 ;;
21638 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21639 for as_dir in $PATH
21642 test -z "$as_dir" && as_dir=.
21643 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21648 # We did not find ourselves, most probably we were run as `sh COMMAND'
21649 # in which case we are not to be found in the path.
21650 if test "x$as_myself" = x; then
21653 if test ! -f "$as_myself"; then
21654 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21655 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21656 { (exit 1); exit 1; }; }
21658 case $CONFIG_SHELL in
21660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21661 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21664 test -z "$as_dir" && as_dir=.
21665 for as_base in sh bash ksh sh5; do
21668 if ("$as_dir/$as_base" -c '
21669 as_lineno_1=$LINENO
21670 as_lineno_2=$LINENO
21671 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21672 test "x$as_lineno_1" != "x$as_lineno_2" &&
21673 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
21674 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21675 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21676 CONFIG_SHELL=$as_dir/$as_base
21677 export CONFIG_SHELL
21678 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21686 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21687 # uniformly replaced by the line number. The first 'sed' inserts a
21688 # line-number line before each line; the second 'sed' does the real
21689 # work. The second script uses 'N' to pair each line-number line
21690 # with the numbered line, and appends trailing '-' during
21691 # substitution so that $LINENO is not a special case at line end.
21692 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21693 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21694 sed '=' <$as_myself |
21699 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21702 s,^['$as_cr_digits']*\n,,
21703 ' >$as_me.lineno &&
21704 chmod +x $as_me.lineno ||
21705 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21706 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21707 { (exit 1); exit 1; }; }
21709 # Don't try to exec as it changes $[0], causing all sort of problems
21710 # (the dirname of $[0] is not the place where we might find the
21711 # original and so on. Autoconf is especially sensible to this).
21713 # Exit status is that of the last command.
21718 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21719 *c*,-n*) ECHO_N= ECHO_C='
21721 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21722 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
21725 if expr a : '\(a\)' >/dev/null 2>&1; then
21731 rm -f conf$$ conf$$.exe conf$$.file
21733 if ln -s conf$$.file conf$$ 2>/dev/null; then
21734 # We could just check for DJGPP; but this test a) works b) is more generic
21735 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21736 if test -f conf$$.exe; then
21737 # Don't use ln at all; we don't have any links
21742 elif ln conf$$.file conf$$ 2>/dev/null; then
21747 rm -f conf$$ conf$$.exe conf$$.file
21749 if mkdir -p . 2>/dev/null; then
21752 test -d ./-p && rmdir ./-p
21756 as_executable_p="test -f"
21758 # Sed expression to map a string onto a valid CPP name.
21759 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21761 # Sed expression to map a string onto a valid variable name.
21762 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21766 # We need space, tab and new line, in precisely that order.
21776 # Open the log real soon, to keep \$[0] and so on meaningful, and to
21777 # report actual input values of CONFIG_FILES etc. instead of their
21778 # values after options handling. Logging --version etc. is OK.
21782 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21783 ## Running $as_me. ##
21788 This file was extended by $as_me, which was
21789 generated by GNU Autoconf 2.59. Invocation command line was
21791 CONFIG_FILES = $CONFIG_FILES
21792 CONFIG_HEADERS = $CONFIG_HEADERS
21793 CONFIG_LINKS = $CONFIG_LINKS
21794 CONFIG_COMMANDS = $CONFIG_COMMANDS
21798 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
21802 # Files that config.status was made for.
21803 if test -n "$ac_config_files"; then
21804 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
21807 if test -n "$ac_config_headers"; then
21808 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
21811 if test -n "$ac_config_links"; then
21812 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
21815 if test -n "$ac_config_commands"; then
21816 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
21819 cat >>$CONFIG_STATUS <<\_ACEOF
21822 \`$as_me' instantiates files from templates according to the
21823 current configuration.
21825 Usage: $0 [OPTIONS] [FILE]...
21827 -h, --help print this help, then exit
21828 -V, --version print version number, then exit
21829 -q, --quiet do not print progress messages
21830 -d, --debug don't remove temporary files
21831 --recheck update $as_me by reconfiguring in the same conditions
21832 --file=FILE[:TEMPLATE]
21833 instantiate the configuration file FILE
21834 --header=FILE[:TEMPLATE]
21835 instantiate the configuration header FILE
21837 Configuration files:
21840 Configuration headers:
21843 Configuration commands:
21846 Report bugs to <bug-autoconf@gnu.org>."
21849 cat >>$CONFIG_STATUS <<_ACEOF
21852 configured by $0, generated by GNU Autoconf 2.59,
21853 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
21855 Copyright (C) 2003 Free Software Foundation, Inc.
21856 This config.status script is free software; the Free Software Foundation
21857 gives unlimited permission to copy, distribute and modify it."
21862 cat >>$CONFIG_STATUS <<\_ACEOF
21863 # If no file are specified by the user, then we need to provide default
21864 # value. By we need to know if files were specified by the user.
21870 ac_option=`expr "x$1" : 'x\([^=]*\)='`
21871 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
21879 *) # This is not an option, so the user has probably given explicit
21882 ac_need_defaults=false;;
21886 # Handling of the options.
21888 cat >>$CONFIG_STATUS <<\_ACEOF
21889 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21891 --version | --vers* | -V )
21892 echo "$ac_cs_version"; exit 0 ;;
21894 # Conflict between --help and --header
21895 { { echo "$as_me:$LINENO: error: ambiguous option: $1
21896 Try \`$0 --help' for more information." >&5
21897 echo "$as_me: error: ambiguous option: $1
21898 Try \`$0 --help' for more information." >&2;}
21899 { (exit 1); exit 1; }; };;
21900 --help | --hel | -h )
21901 echo "$ac_cs_usage"; exit 0 ;;
21902 --debug | --d* | -d )
21904 --file | --fil | --fi | --f )
21906 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21907 ac_need_defaults=false;;
21908 --header | --heade | --head | --hea )
21910 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21911 ac_need_defaults=false;;
21912 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21913 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21916 # This is an error.
21917 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
21918 Try \`$0 --help' for more information." >&5
21919 echo "$as_me: error: unrecognized option: $1
21920 Try \`$0 --help' for more information." >&2;}
21921 { (exit 1); exit 1; }; } ;;
21923 *) ac_config_targets="$ac_config_targets $1" ;;
21929 ac_configure_extra_args=
21931 if $ac_cs_silent; then
21933 ac_configure_extra_args="$ac_configure_extra_args --silent"
21937 cat >>$CONFIG_STATUS <<_ACEOF
21938 if \$ac_cs_recheck; then
21939 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21940 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21949 cat >>$CONFIG_STATUS <<\_ACEOF
21950 for ac_config_target in $ac_config_targets
21952 case "$ac_config_target" in
21953 # Handling of arguments.
21954 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
21955 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21956 "scripts/startmysql" ) CONFIG_FILES="$CONFIG_FILES scripts/startmysql" ;;
21957 "scripts/stopmysql" ) CONFIG_FILES="$CONFIG_FILES scripts/stopmysql" ;;
21958 "scripts/btraceback" ) CONFIG_FILES="$CONFIG_FILES scripts/btraceback" ;;
21959 "scripts/startit" ) CONFIG_FILES="$CONFIG_FILES scripts/startit" ;;
21960 "scripts/stopit" ) CONFIG_FILES="$CONFIG_FILES scripts/stopit" ;;
21961 "scripts/bconsole" ) CONFIG_FILES="$CONFIG_FILES scripts/bconsole" ;;
21962 "scripts/gconsole" ) CONFIG_FILES="$CONFIG_FILES scripts/gconsole" ;;
21963 "scripts/bacula" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula" ;;
21964 "scripts/devel_bacula" ) CONFIG_FILES="$CONFIG_FILES scripts/devel_bacula" ;;
21965 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
21966 "scripts/logrotate" ) CONFIG_FILES="$CONFIG_FILES scripts/logrotate" ;;
21967 "scripts/bacula.desktop.gnome1" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula.desktop.gnome1" ;;
21968 "scripts/bacula.desktop.gnome2" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula.desktop.gnome2" ;;
21969 "scripts/bacula.desktop.gnome1.consolehelper" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula.desktop.gnome1.consolehelper" ;;
21970 "scripts/bacula.desktop.gnome2.consolehelper" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula.desktop.gnome2.consolehelper" ;;
21971 "scripts/bacula.desktop.gnome1.xsu" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula.desktop.gnome1.xsu" ;;
21972 "scripts/bacula.desktop.gnome2.xsu" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula.desktop.gnome2.xsu" ;;
21973 "scripts/gnome-console.console_apps" ) CONFIG_FILES="$CONFIG_FILES scripts/gnome-console.console_apps" ;;
21974 "scripts/mtx-changer" ) CONFIG_FILES="$CONFIG_FILES scripts/mtx-changer" ;;
21975 "scripts/dvd-writepart" ) CONFIG_FILES="$CONFIG_FILES scripts/dvd-writepart" ;;
21976 "scripts/dvd-freespace" ) CONFIG_FILES="$CONFIG_FILES scripts/dvd-freespace" ;;
21977 "scripts/bacula-tray-monitor.desktop" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula-tray-monitor.desktop" ;;
21978 "scripts/logwatch/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/logwatch/Makefile" ;;
21979 "scripts/logwatch/logfile.bacula.conf" ) CONFIG_FILES="$CONFIG_FILES scripts/logwatch/logfile.bacula.conf" ;;
21980 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
21981 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
21982 "src/host.h" ) CONFIG_FILES="$CONFIG_FILES src/host.h" ;;
21983 "src/console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/console/Makefile" ;;
21984 "src/console/bconsole.conf" ) CONFIG_FILES="$CONFIG_FILES src/console/bconsole.conf" ;;
21985 "src/gnome-console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gnome-console/Makefile" ;;
21986 "src/gnome-console/gnome-console.conf" ) CONFIG_FILES="$CONFIG_FILES src/gnome-console/gnome-console.conf" ;;
21987 "src/gnome2-console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gnome2-console/Makefile" ;;
21988 "src/gnome2-console/gnome-console.conf" ) CONFIG_FILES="$CONFIG_FILES src/gnome2-console/gnome-console.conf" ;;
21989 "src/wx-console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/wx-console/Makefile" ;;
21990 "src/wx-console/wx-console.conf" ) CONFIG_FILES="$CONFIG_FILES src/wx-console/wx-console.conf" ;;
21991 "src/tray-monitor/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/tray-monitor/Makefile" ;;
21992 "src/tray-monitor/tray-monitor.conf" ) CONFIG_FILES="$CONFIG_FILES src/tray-monitor/tray-monitor.conf" ;;
21993 "src/dird/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/dird/Makefile" ;;
21994 "src/dird/bacula-dir.conf" ) CONFIG_FILES="$CONFIG_FILES src/dird/bacula-dir.conf" ;;
21995 "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
21996 "src/stored/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/stored/Makefile" ;;
21997 "src/stored/bacula-sd.conf" ) CONFIG_FILES="$CONFIG_FILES src/stored/bacula-sd.conf" ;;
21998 "src/filed/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/filed/Makefile" ;;
21999 "src/filed/bacula-fd.conf" ) CONFIG_FILES="$CONFIG_FILES src/filed/bacula-fd.conf" ;;
22000 "src/filed/win32/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/filed/win32/Makefile" ;;
22001 "src/cats/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/cats/Makefile" ;;
22002 "src/cats/make_catalog_backup" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_catalog_backup" ;;
22003 "src/cats/delete_catalog_backup" ) CONFIG_FILES="$CONFIG_FILES src/cats/delete_catalog_backup" ;;
22004 "src/cats/create_postgresql_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_postgresql_database" ;;
22005 "src/cats/update_postgresql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/update_postgresql_tables" ;;
22006 "src/cats/make_postgresql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_postgresql_tables" ;;
22007 "src/cats/grant_postgresql_privileges" ) CONFIG_FILES="$CONFIG_FILES src/cats/grant_postgresql_privileges" ;;
22008 "src/cats/drop_postgresql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_postgresql_tables" ;;
22009 "src/cats/drop_postgresql_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_postgresql_database" ;;
22010 "src/cats/create_mysql_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_mysql_database" ;;
22011 "src/cats/update_mysql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/update_mysql_tables" ;;
22012 "src/cats/make_mysql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_mysql_tables" ;;
22013 "src/cats/grant_mysql_privileges" ) CONFIG_FILES="$CONFIG_FILES src/cats/grant_mysql_privileges" ;;
22014 "src/cats/drop_mysql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_mysql_tables" ;;
22015 "src/cats/drop_mysql_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_mysql_database" ;;
22016 "src/cats/create_sqlite_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_sqlite_database" ;;
22017 "src/cats/update_sqlite_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/update_sqlite_tables" ;;
22018 "src/cats/make_sqlite_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_sqlite_tables" ;;
22019 "src/cats/grant_sqlite_privileges" ) CONFIG_FILES="$CONFIG_FILES src/cats/grant_sqlite_privileges" ;;
22020 "src/cats/drop_sqlite_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_sqlite_tables" ;;
22021 "src/cats/drop_sqlite_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_sqlite_database" ;;
22022 "src/cats/create_sqlite3_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_sqlite3_database" ;;
22023 "src/cats/update_sqlite3_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/update_sqlite3_tables" ;;
22024 "src/cats/make_sqlite3_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_sqlite3_tables" ;;
22025 "src/cats/grant_sqlite3_privileges" ) CONFIG_FILES="$CONFIG_FILES src/cats/grant_sqlite3_privileges" ;;
22026 "src/cats/drop_sqlite3_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_sqlite3_tables" ;;
22027 "src/cats/drop_sqlite3_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_sqlite3_database" ;;
22028 "src/cats/sqlite" ) CONFIG_FILES="$CONFIG_FILES src/cats/sqlite" ;;
22029 "src/cats/mysql" ) CONFIG_FILES="$CONFIG_FILES src/cats/mysql" ;;
22030 "src/cats/create_bdb_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_bdb_database" ;;
22031 "src/cats/update_bdb_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/update_bdb_tables" ;;
22032 "src/cats/make_bdb_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_bdb_tables" ;;
22033 "src/cats/grant_bdb_privileges" ) CONFIG_FILES="$CONFIG_FILES src/cats/grant_bdb_privileges" ;;
22034 "src/cats/drop_bdb_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_bdb_tables" ;;
22035 "src/cats/drop_bdb_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_bdb_database" ;;
22036 "src/cats/create_bacula_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_bacula_database" ;;
22037 "src/cats/update_bacula_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/update_bacula_tables" ;;
22038 "src/cats/grant_bacula_privileges" ) CONFIG_FILES="$CONFIG_FILES src/cats/grant_bacula_privileges" ;;
22039 "src/cats/make_bacula_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_bacula_tables" ;;
22040 "src/cats/drop_bacula_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_bacula_tables" ;;
22041 "src/cats/drop_bacula_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_bacula_database" ;;
22042 "src/findlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/findlib/Makefile" ;;
22043 "src/tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
22044 "src/win32/winbacula.nsi" ) CONFIG_FILES="$CONFIG_FILES src/win32/winbacula.nsi" ;;
22045 "src/win32/baculafd/bacula-fd.conf" ) CONFIG_FILES="$CONFIG_FILES src/win32/baculafd/bacula-fd.conf" ;;
22046 "src/win32/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/win32/Makefile" ;;
22047 "src/win32/console/bconsole.conf" ) CONFIG_FILES="$CONFIG_FILES src/win32/console/bconsole.conf" ;;
22048 "src/win32/wx-console/wx-console.conf" ) CONFIG_FILES="$CONFIG_FILES src/win32/wx-console/wx-console.conf" ;;
22049 "src/win32/pebuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/win32/pebuilder/Makefile" ;;
22050 "src/bimagemgr/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/bimagemgr/Makefile" ;;
22051 "src/bimagemgr/bacula-bimagemgr.spec" ) CONFIG_FILES="$CONFIG_FILES src/bimagemgr/bacula-bimagemgr.spec" ;;
22052 "$PFILES" ) CONFIG_FILES="$CONFIG_FILES $PFILES" ;;
22053 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
22054 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:autoconf/config.h.in" ;;
22055 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22056 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22057 { (exit 1); exit 1; }; };;
22061 # If the user did not use the arguments to specify the items to instantiate,
22062 # then the envvar interface is used. Set only those that are not.
22063 # We use the long form for the default assignment because of an extremely
22064 # bizarre bug on SunOS 4.1.3.
22065 if $ac_need_defaults; then
22066 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22067 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22068 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22071 # Have a temporary directory for convenience. Make it in the build tree
22072 # simply because there is no reason to put it here, and in addition,
22073 # creating and moving files from /tmp can sometimes cause problems.
22074 # Create a temporary directory, and hook for its removal unless debugging.
22077 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22078 trap '{ (exit 1); exit 1; }' 1 2 13 15
22081 # Create a (secure) tmp directory for tmp files.
22084 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22085 test -n "$tmp" && test -d "$tmp"
22088 tmp=./confstat$$-$RANDOM
22089 (umask 077 && mkdir $tmp)
22092 echo "$me: cannot create a temporary directory in ." >&2
22093 { (exit 1); exit 1; }
22098 cat >>$CONFIG_STATUS <<_ACEOF
22101 # CONFIG_FILES section.
22104 # No need to generate the scripts if there are no CONFIG_FILES.
22105 # This happens for instance when ./config.status config.h
22106 if test -n "\$CONFIG_FILES"; then
22107 # Protect against being on the right side of a sed subst in config.status.
22108 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22109 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22110 s,@SHELL@,$SHELL,;t t
22111 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22112 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22113 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22114 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22115 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22116 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22117 s,@exec_prefix@,$exec_prefix,;t t
22118 s,@prefix@,$prefix,;t t
22119 s,@program_transform_name@,$program_transform_name,;t t
22120 s,@bindir@,$bindir,;t t
22121 s,@sbindir@,$sbindir,;t t
22122 s,@libexecdir@,$libexecdir,;t t
22123 s,@datadir@,$datadir,;t t
22124 s,@sysconfdir@,$sysconfdir,;t t
22125 s,@sharedstatedir@,$sharedstatedir,;t t
22126 s,@localstatedir@,$localstatedir,;t t
22127 s,@libdir@,$libdir,;t t
22128 s,@includedir@,$includedir,;t t
22129 s,@oldincludedir@,$oldincludedir,;t t
22130 s,@infodir@,$infodir,;t t
22131 s,@mandir@,$mandir,;t t
22132 s,@build_alias@,$build_alias,;t t
22133 s,@host_alias@,$host_alias,;t t
22134 s,@target_alias@,$target_alias,;t t
22135 s,@DEFS@,$DEFS,;t t
22136 s,@ECHO_C@,$ECHO_C,;t t
22137 s,@ECHO_N@,$ECHO_N,;t t
22138 s,@ECHO_T@,$ECHO_T,;t t
22139 s,@LIBS@,$LIBS,;t t
22140 s,@BUILD_DIR@,$BUILD_DIR,;t t
22141 s,@TRUEPRG@,$TRUEPRG,;t t
22142 s,@FALSEPRG@,$FALSEPRG,;t t
22143 s,@VERSION@,$VERSION,;t t
22144 s,@DATE@,$DATE,;t t
22145 s,@LSMDATE@,$LSMDATE,;t t
22147 s,@CFLAGS@,$CFLAGS,;t t
22148 s,@LDFLAGS@,$LDFLAGS,;t t
22149 s,@CPPFLAGS@,$CPPFLAGS,;t t
22150 s,@ac_ct_CC@,$ac_ct_CC,;t t
22151 s,@EXEEXT@,$EXEEXT,;t t
22152 s,@OBJEXT@,$OBJEXT,;t t
22154 s,@CXXFLAGS@,$CXXFLAGS,;t t
22155 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22157 s,@EGREP@,$EGREP,;t t
22158 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22159 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22160 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22161 s,@RANLIB@,$RANLIB,;t t
22162 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22167 s,@ECHO@,$ECHO,;t t
22171 s,@OPENSSL@,$OPENSSL,;t t
22173 s,@MKISOFS@,$MKISOFS,;t t
22174 s,@PYTHON@,$PYTHON,;t t
22175 s,@GROWISOFS@,$GROWISOFS,;t t
22176 s,@DVDRWMEDIAINFO@,$DVDRWMEDIAINFO,;t t
22177 s,@PKGCONFIG@,$PKGCONFIG,;t t
22178 s,@WXCONFIG@,$WXCONFIG,;t t
22179 s,@CDRECORD@,$CDRECORD,;t t
22180 s,@PIDOF@,$PIDOF,;t t
22182 s,@ARFLAGS@,$ARFLAGS,;t t
22183 s,@MAKE_SHELL@,$MAKE_SHELL,;t t
22184 s,@LOCAL_LIBS@,$LOCAL_LIBS,;t t
22185 s,@LOCAL_CFLAGS@,$LOCAL_CFLAGS,;t t
22186 s,@LOCAL_LDFLAGS@,$LOCAL_LDFLAGS,;t t
22187 s,@LOCAL_DEFS@,$LOCAL_DEFS,;t t
22188 s,@build@,$build,;t t
22189 s,@build_cpu@,$build_cpu,;t t
22190 s,@build_vendor@,$build_vendor,;t t
22191 s,@build_os@,$build_os,;t t
22192 s,@host@,$host,;t t
22193 s,@host_cpu@,$host_cpu,;t t
22194 s,@host_vendor@,$host_vendor,;t t
22195 s,@host_os@,$host_os,;t t
22196 s,@HAVE_SUN_OS_TRUE@,$HAVE_SUN_OS_TRUE,;t t
22197 s,@HAVE_SUN_OS_FALSE@,$HAVE_SUN_OS_FALSE,;t t
22198 s,@HAVE_OSF1_OS_TRUE@,$HAVE_OSF1_OS_TRUE,;t t
22199 s,@HAVE_OSF1_OS_FALSE@,$HAVE_OSF1_OS_FALSE,;t t
22200 s,@HAVE_AIX_OS_TRUE@,$HAVE_AIX_OS_TRUE,;t t
22201 s,@HAVE_AIX_OS_FALSE@,$HAVE_AIX_OS_FALSE,;t t
22202 s,@HAVE_HPUX_OS_TRUE@,$HAVE_HPUX_OS_TRUE,;t t
22203 s,@HAVE_HPUX_OS_FALSE@,$HAVE_HPUX_OS_FALSE,;t t
22204 s,@HAVE_LINUX_OS_TRUE@,$HAVE_LINUX_OS_TRUE,;t t
22205 s,@HAVE_LINUX_OS_FALSE@,$HAVE_LINUX_OS_FALSE,;t t
22206 s,@HAVE_FREEBSD_OS_TRUE@,$HAVE_FREEBSD_OS_TRUE,;t t
22207 s,@HAVE_FREEBSD_OS_FALSE@,$HAVE_FREEBSD_OS_FALSE,;t t
22208 s,@HAVE_NETBSD_OS_TRUE@,$HAVE_NETBSD_OS_TRUE,;t t
22209 s,@HAVE_NETBSD_OS_FALSE@,$HAVE_NETBSD_OS_FALSE,;t t
22210 s,@HAVE_OPENBSD_OS_TRUE@,$HAVE_OPENBSD_OS_TRUE,;t t
22211 s,@HAVE_OPENBSD_OS_FALSE@,$HAVE_OPENBSD_OS_FALSE,;t t
22212 s,@HAVE_BSDI_OS_TRUE@,$HAVE_BSDI_OS_TRUE,;t t
22213 s,@HAVE_BSDI_OS_FALSE@,$HAVE_BSDI_OS_FALSE,;t t
22214 s,@HAVE_SGI_OS_TRUE@,$HAVE_SGI_OS_TRUE,;t t
22215 s,@HAVE_SGI_OS_FALSE@,$HAVE_SGI_OS_FALSE,;t t
22216 s,@HAVE_IRIX_OS_TRUE@,$HAVE_IRIX_OS_TRUE,;t t
22217 s,@HAVE_IRIX_OS_FALSE@,$HAVE_IRIX_OS_FALSE,;t t
22218 s,@HAVE_DARWIN_OS_TRUE@,$HAVE_DARWIN_OS_TRUE,;t t
22219 s,@HAVE_DARWIN_OS_FALSE@,$HAVE_DARWIN_OS_FALSE,;t t
22220 s,@INSIDE_GNOME_COMMON_TRUE@,$INSIDE_GNOME_COMMON_TRUE,;t t
22221 s,@INSIDE_GNOME_COMMON_FALSE@,$INSIDE_GNOME_COMMON_FALSE,;t t
22222 s,@MSGFMT@,$MSGFMT,;t t
22223 s,@GNOME_INCLUDEDIR@,$GNOME_INCLUDEDIR,;t t
22224 s,@GNOMEUI_LIBS@,$GNOMEUI_LIBS,;t t
22225 s,@GNOME_LIBDIR@,$GNOME_LIBDIR,;t t
22226 s,@GNOME_LIBS@,$GNOME_LIBS,;t t
22227 s,@GNOMEGNORBA_LIBS@,$GNOMEGNORBA_LIBS,;t t
22228 s,@GTKXMHTML_LIBS@,$GTKXMHTML_LIBS,;t t
22229 s,@ZVT_LIBS@,$ZVT_LIBS,;t t
22230 s,@GNOME_CONFIG@,$GNOME_CONFIG,;t t
22231 s,@ORBIT_CONFIG@,$ORBIT_CONFIG,;t t
22232 s,@ORBIT_IDL@,$ORBIT_IDL,;t t
22233 s,@HAVE_ORBIT_TRUE@,$HAVE_ORBIT_TRUE,;t t
22234 s,@HAVE_ORBIT_FALSE@,$HAVE_ORBIT_FALSE,;t t
22235 s,@ORBIT_CFLAGS@,$ORBIT_CFLAGS,;t t
22236 s,@ORBIT_LIBS@,$ORBIT_LIBS,;t t
22237 s,@HAVE_GNORBA_TRUE@,$HAVE_GNORBA_TRUE,;t t
22238 s,@HAVE_GNORBA_FALSE@,$HAVE_GNORBA_FALSE,;t t
22239 s,@GNORBA_CFLAGS@,$GNORBA_CFLAGS,;t t
22240 s,@GNORBA_LIBS@,$GNORBA_LIBS,;t t
22241 s,@GNOME_APPLETS_LIBS@,$GNOME_APPLETS_LIBS,;t t
22242 s,@GNOME_DOCKLETS_LIBS@,$GNOME_DOCKLETS_LIBS,;t t
22243 s,@GNOME_CAPPLET_LIBS@,$GNOME_CAPPLET_LIBS,;t t
22244 s,@GNOME_DIR@,$GNOME_DIR,;t t
22245 s,@WXCONS_CPPFLAGS@,$WXCONS_CPPFLAGS,;t t
22246 s,@WXCONS_LDFLAGS@,$WXCONS_LDFLAGS,;t t
22247 s,@WX_DIR@,$WX_DIR,;t t
22248 s,@TRAY_MONITOR_CPPFLAGS@,$TRAY_MONITOR_CPPFLAGS,;t t
22249 s,@TRAY_MONITOR_LDFLAGS@,$TRAY_MONITOR_LDFLAGS,;t t
22250 s,@TRAY_MONITOR_DIR@,$TRAY_MONITOR_DIR,;t t
22251 s,@TTOOL_LDFLAGS@,$TTOOL_LDFLAGS,;t t
22252 s,@STATIC_FD@,$STATIC_FD,;t t
22253 s,@STATIC_SD@,$STATIC_SD,;t t
22254 s,@STATIC_DIR@,$STATIC_DIR,;t t
22255 s,@STATIC_CONS@,$STATIC_CONS,;t t
22256 s,@STATIC_GNOME_CONS@,$STATIC_GNOME_CONS,;t t
22257 s,@STATIC_WX_CONS@,$STATIC_WX_CONS,;t t
22258 s,@ALL_DIRS@,$ALL_DIRS,;t t
22259 s,@CONS_INC@,$CONS_INC,;t t
22260 s,@CONS_OBJ@,$CONS_OBJ,;t t
22261 s,@CONS_SRC@,$CONS_SRC,;t t
22262 s,@CONS_LIBS@,$CONS_LIBS,;t t
22263 s,@CONS_LDFLAGS@,$CONS_LDFLAGS,;t t
22264 s,@READLINE_SRC@,$READLINE_SRC,;t t
22265 s,@PYTHON_LIBS@,$PYTHON_LIBS,;t t
22266 s,@PYTHON_INCDIR@,$PYTHON_INCDIR,;t t
22267 s,@working_dir@,$working_dir,;t t
22268 s,@scriptdir@,$scriptdir,;t t
22269 s,@dump_email@,$dump_email,;t t
22270 s,@job_email@,$job_email,;t t
22271 s,@smtp_host@,$smtp_host,;t t
22272 s,@piddir@,$piddir,;t t
22273 s,@subsysdir@,$subsysdir,;t t
22274 s,@baseport@,$baseport,;t t
22275 s,@dir_port@,$dir_port,;t t
22276 s,@fd_port@,$fd_port,;t t
22277 s,@sd_port@,$sd_port,;t t
22278 s,@dir_password@,$dir_password,;t t
22279 s,@fd_password@,$fd_password,;t t
22280 s,@sd_password@,$sd_password,;t t
22281 s,@mon_dir_password@,$mon_dir_password,;t t
22282 s,@mon_fd_password@,$mon_fd_password,;t t
22283 s,@mon_sd_password@,$mon_sd_password,;t t
22284 s,@bimagemgr_cgidir@,$bimagemgr_cgidir,;t t
22285 s,@bimagemgr_docdir@,$bimagemgr_docdir,;t t
22286 s,@bimagemgr_binowner@,$bimagemgr_binowner,;t t
22287 s,@bimagemgr_bingroup@,$bimagemgr_bingroup,;t t
22288 s,@bimagemgr_dataowner@,$bimagemgr_dataowner,;t t
22289 s,@bimagemgr_datagroup@,$bimagemgr_datagroup,;t t
22290 s,@dir_user@,$dir_user,;t t
22291 s,@dir_group@,$dir_group,;t t
22292 s,@sd_user@,$sd_user,;t t
22293 s,@sd_group@,$sd_group,;t t
22294 s,@fd_user@,$fd_user,;t t
22295 s,@fd_group@,$fd_group,;t t
22296 s,@SBINPERM@,$SBINPERM,;t t
22297 s,@SQL_LFLAGS@,$SQL_LFLAGS,;t t
22298 s,@SQL_INCLUDE@,$SQL_INCLUDE,;t t
22299 s,@SQL_BINDIR@,$SQL_BINDIR,;t t
22300 s,@cats@,$cats,;t t
22301 s,@DB_NAME@,$DB_NAME,;t t
22302 s,@GETCONF@,$GETCONF,;t t
22303 s,@ac_ct_GETCONF@,$ac_ct_GETCONF,;t t
22304 s,@X_CFLAGS@,$X_CFLAGS,;t t
22305 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
22306 s,@X_LIBS@,$X_LIBS,;t t
22307 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
22308 s,@LIBOBJS@,$LIBOBJS,;t t
22309 s,@ALLOCA@,$ALLOCA,;t t
22310 s,@FDLIBS@,$FDLIBS,;t t
22311 s,@DEBUG@,$DEBUG,;t t
22312 s,@DINCLUDE@,$DINCLUDE,;t t
22313 s,@DLIB@,$DLIB,;t t
22314 s,@DB_LIBS@,$DB_LIBS,;t t
22315 s,@WCFLAGS@,$WCFLAGS,;t t
22316 s,@WLDFLAGS@,$WLDFLAGS,;t t
22317 s,@OBJLIST@,$OBJLIST,;t t
22318 s,@hostname@,$hostname,;t t
22319 s,@TAPEDRIVE@,$TAPEDRIVE,;t t
22320 s,@PSCMD@,$PSCMD,;t t
22321 s,@WIN32@,$WIN32,;t t
22322 s,@MACOSX@,$MACOSX,;t t
22323 s,@DISTNAME@,$DISTNAME,;t t
22324 s,@DISTVER@,$DISTVER,;t t
22325 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22326 /@MCOMMON@/r $MCOMMON
22332 cat >>$CONFIG_STATUS <<\_ACEOF
22333 # Split the substitutions into bite-sized pieces for seds with
22334 # small command number limits, like on Digital OSF/1 and HP-UX.
22335 ac_max_sed_lines=48
22336 ac_sed_frag=1 # Number of current file.
22337 ac_beg=1 # First line for current file.
22338 ac_end=$ac_max_sed_lines # Line after last line for current file.
22341 while $ac_more_lines; do
22342 if test $ac_beg -gt 1; then
22343 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22345 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22347 if test ! -s $tmp/subs.frag; then
22348 ac_more_lines=false
22350 # The purpose of the label and of the branching condition is to
22351 # speed up the sed processing (if there are no `@' at all, there
22352 # is no need to browse any of the substitutions).
22353 # These are the two extra sed commands mentioned above.
22355 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
22356 if test -z "$ac_sed_cmds"; then
22357 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
22359 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22361 ac_sed_frag=`expr $ac_sed_frag + 1`
22363 ac_end=`expr $ac_end + $ac_max_sed_lines`
22366 if test -z "$ac_sed_cmds"; then
22369 fi # test -n "$CONFIG_FILES"
22372 cat >>$CONFIG_STATUS <<\_ACEOF
22373 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
22374 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22376 - | *:- | *:-:* ) # input from stdin
22378 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22379 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22380 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22381 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22382 * ) ac_file_in=$ac_file.in ;;
22385 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22386 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22387 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22388 X"$ac_file" : 'X\(//\)[^/]' \| \
22389 X"$ac_file" : 'X\(//\)$' \| \
22390 X"$ac_file" : 'X\(/\)' \| \
22391 . : '\(.\)' 2>/dev/null ||
22393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22394 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22395 /^X\(\/\/\)$/{ s//\1/; q; }
22396 /^X\(\/\).*/{ s//\1/; q; }
22398 { if $as_mkdir_p; then
22403 while test ! -d "$as_dir"; do
22404 as_dirs="$as_dir $as_dirs"
22405 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22406 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22407 X"$as_dir" : 'X\(//\)[^/]' \| \
22408 X"$as_dir" : 'X\(//\)$' \| \
22409 X"$as_dir" : 'X\(/\)' \| \
22410 . : '\(.\)' 2>/dev/null ||
22412 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22413 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22414 /^X\(\/\/\)$/{ s//\1/; q; }
22415 /^X\(\/\).*/{ s//\1/; q; }
22418 test ! -n "$as_dirs" || mkdir $as_dirs
22419 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22420 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22421 { (exit 1); exit 1; }; }; }
22425 if test "$ac_dir" != .; then
22426 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22427 # A "../" for each directory in $ac_dir_suffix.
22428 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22430 ac_dir_suffix= ac_top_builddir=
22434 .) # No --srcdir option. We are building in place.
22436 if test -z "$ac_top_builddir"; then
22439 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22441 [\\/]* | ?:[\\/]* ) # Absolute path.
22442 ac_srcdir=$srcdir$ac_dir_suffix;
22443 ac_top_srcdir=$srcdir ;;
22444 *) # Relative path.
22445 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22446 ac_top_srcdir=$ac_top_builddir$srcdir ;;
22449 # Do not use `cd foo && pwd` to compute absolute paths, because
22450 # the directories may not exist.
22452 .) ac_abs_builddir="$ac_dir";;
22455 .) ac_abs_builddir=`pwd`;;
22456 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22457 *) ac_abs_builddir=`pwd`/"$ac_dir";;
22460 case $ac_abs_builddir in
22461 .) ac_abs_top_builddir=${ac_top_builddir}.;;
22463 case ${ac_top_builddir}. in
22464 .) ac_abs_top_builddir=$ac_abs_builddir;;
22465 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22466 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22469 case $ac_abs_builddir in
22470 .) ac_abs_srcdir=$ac_srcdir;;
22473 .) ac_abs_srcdir=$ac_abs_builddir;;
22474 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22475 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22478 case $ac_abs_builddir in
22479 .) ac_abs_top_srcdir=$ac_top_srcdir;;
22481 case $ac_top_srcdir in
22482 .) ac_abs_top_srcdir=$ac_abs_builddir;;
22483 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22484 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22490 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22491 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
22494 if test x"$ac_file" != x-; then
22495 { echo "$as_me:$LINENO: creating $ac_file" >&5
22496 echo "$as_me: creating $ac_file" >&6;}
22499 # Let's still pretend it is `configure' which instantiates (i.e., don't
22500 # use $as_me), people would be surprised to read:
22501 # /* config.h. Generated by config.status. */
22502 if test x"$ac_file" = x-; then
22505 configure_input="$ac_file. "
22507 configure_input=$configure_input"Generated from `echo $ac_file_in |
22508 sed 's,.*/,,'` by configure."
22510 # First look for the input files in the build tree, otherwise in the
22512 ac_file_inputs=`IFS=:
22513 for f in $ac_file_in; do
22515 -) echo $tmp/stdin ;;
22517 # Absolute (can't be DOS-style, as IFS=:)
22518 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22519 echo "$as_me: error: cannot find input file: $f" >&2;}
22520 { (exit 1); exit 1; }; }
22523 if test -f "$f"; then
22526 elif test -f "$srcdir/$f"; then
22531 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22532 echo "$as_me: error: cannot find input file: $f" >&2;}
22533 { (exit 1); exit 1; }; }
22536 done` || { (exit 1); exit 1; }
22538 cat >>$CONFIG_STATUS <<_ACEOF
22542 cat >>$CONFIG_STATUS <<\_ACEOF
22544 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22545 s,@configure_input@,$configure_input,;t t
22546 s,@srcdir@,$ac_srcdir,;t t
22547 s,@abs_srcdir@,$ac_abs_srcdir,;t t
22548 s,@top_srcdir@,$ac_top_srcdir,;t t
22549 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
22550 s,@builddir@,$ac_builddir,;t t
22551 s,@abs_builddir@,$ac_abs_builddir,;t t
22552 s,@top_builddir@,$ac_top_builddir,;t t
22553 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
22554 s,@INSTALL@,$ac_INSTALL,;t t
22555 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22557 if test x"$ac_file" != x-; then
22558 mv $tmp/out $ac_file
22566 cat >>$CONFIG_STATUS <<\_ACEOF
22569 # CONFIG_HEADER section.
22572 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22573 # NAME is the cpp macro being defined and VALUE is the value it is being given.
22575 # ac_d sets the value in "#define NAME VALUE" lines.
22576 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22577 ac_dB='[ ].*$,\1#\2'
22580 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22581 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22582 ac_uB='$,\1#\2define\3'
22586 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
22587 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22589 - | *:- | *:-:* ) # input from stdin
22591 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22592 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22593 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22594 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22595 * ) ac_file_in=$ac_file.in ;;
22598 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
22599 echo "$as_me: creating $ac_file" >&6;}
22601 # First look for the input files in the build tree, otherwise in the
22603 ac_file_inputs=`IFS=:
22604 for f in $ac_file_in; do
22606 -) echo $tmp/stdin ;;
22608 # Absolute (can't be DOS-style, as IFS=:)
22609 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22610 echo "$as_me: error: cannot find input file: $f" >&2;}
22611 { (exit 1); exit 1; }; }
22612 # Do quote $f, to prevent DOS paths from being IFS'd.
22615 if test -f "$f"; then
22618 elif test -f "$srcdir/$f"; then
22623 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22624 echo "$as_me: error: cannot find input file: $f" >&2;}
22625 { (exit 1); exit 1; }; }
22628 done` || { (exit 1); exit 1; }
22629 # Remove the trailing spaces.
22630 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22634 # Transform confdefs.h into two sed scripts, `conftest.defines' and
22635 # `conftest.undefs', that substitutes the proper values into
22636 # config.h.in to produce config.h. The first handles `#define'
22637 # templates, and the second `#undef' templates.
22638 # And first: Protect against being on the right side of a sed subst in
22639 # config.status. Protect against being in an unquoted here document
22640 # in config.status.
22641 rm -f conftest.defines conftest.undefs
22642 # Using a here document instead of a string reduces the quoting nightmare.
22643 # Putting comments in sed scripts is not portable.
22645 # `end' is used to avoid that the second main sed command (meant for
22646 # 0-ary CPP macros) applies to n-ary macro definitions.
22647 # See the Autoconf documentation for `clear'.
22648 cat >confdef2sed.sed <<\_ACEOF
22653 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22655 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22658 # If some macros were called several times there might be several times
22659 # the same #defines, which is useless. Nevertheless, we may not want to
22660 # sort them, since we want the *last* AC-DEFINE to be honored.
22661 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22662 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22663 rm -f confdef2sed.sed
22665 # This sed command replaces #undef with comments. This is necessary, for
22666 # example, in the case of _POSIX_SOURCE, which is predefined and required
22667 # on some systems where configure will not decide to define it.
22668 cat >>conftest.undefs <<\_ACEOF
22669 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22672 # Break up conftest.defines because some shells have a limit on the size
22673 # of here documents, and old seds have small limits too (100 cmds).
22674 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22675 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22676 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22677 echo ' :' >>$CONFIG_STATUS
22678 rm -f conftest.tail
22679 while grep . conftest.defines >/dev/null
22681 # Write a limited-size here document to $tmp/defines.sed.
22682 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22683 # Speed up: don't consider the non `#define' lines.
22684 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22685 # Work around the forget-to-reset-the-flag bug.
22686 echo 't clr' >>$CONFIG_STATUS
22687 echo ': clr' >>$CONFIG_STATUS
22688 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
22690 sed -f $tmp/defines.sed $tmp/in >$tmp/out
22692 mv $tmp/out $tmp/in
22694 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
22695 rm -f conftest.defines
22696 mv conftest.tail conftest.defines
22698 rm -f conftest.defines
22699 echo ' fi # grep' >>$CONFIG_STATUS
22700 echo >>$CONFIG_STATUS
22702 # Break up conftest.undefs because some shells have a limit on the size
22703 # of here documents, and old seds have small limits too (100 cmds).
22704 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22705 rm -f conftest.tail
22706 while grep . conftest.undefs >/dev/null
22708 # Write a limited-size here document to $tmp/undefs.sed.
22709 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22710 # Speed up: don't consider the non `#undef'
22711 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22712 # Work around the forget-to-reset-the-flag bug.
22713 echo 't clr' >>$CONFIG_STATUS
22714 echo ': clr' >>$CONFIG_STATUS
22715 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22717 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22719 mv $tmp/out $tmp/in
22721 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22722 rm -f conftest.undefs
22723 mv conftest.tail conftest.undefs
22725 rm -f conftest.undefs
22727 cat >>$CONFIG_STATUS <<\_ACEOF
22728 # Let's still pretend it is `configure' which instantiates (i.e., don't
22729 # use $as_me), people would be surprised to read:
22730 # /* config.h. Generated by config.status. */
22731 if test x"$ac_file" = x-; then
22732 echo "/* Generated by configure. */" >$tmp/config.h
22734 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22736 cat $tmp/in >>$tmp/config.h
22738 if test x"$ac_file" != x-; then
22739 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
22740 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22741 echo "$as_me: $ac_file is unchanged" >&6;}
22743 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22744 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22745 X"$ac_file" : 'X\(//\)[^/]' \| \
22746 X"$ac_file" : 'X\(//\)$' \| \
22747 X"$ac_file" : 'X\(/\)' \| \
22748 . : '\(.\)' 2>/dev/null ||
22750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22751 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22752 /^X\(\/\/\)$/{ s//\1/; q; }
22753 /^X\(\/\).*/{ s//\1/; q; }
22755 { if $as_mkdir_p; then
22760 while test ! -d "$as_dir"; do
22761 as_dirs="$as_dir $as_dirs"
22762 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22763 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22764 X"$as_dir" : 'X\(//\)[^/]' \| \
22765 X"$as_dir" : 'X\(//\)$' \| \
22766 X"$as_dir" : 'X\(/\)' \| \
22767 . : '\(.\)' 2>/dev/null ||
22769 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22770 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22771 /^X\(\/\/\)$/{ s//\1/; q; }
22772 /^X\(\/\).*/{ s//\1/; q; }
22775 test ! -n "$as_dirs" || mkdir $as_dirs
22776 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22777 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22778 { (exit 1); exit 1; }; }; }
22781 mv $tmp/config.h $ac_file
22785 rm -f $tmp/config.h
22789 cat >>$CONFIG_STATUS <<\_ACEOF
22792 # CONFIG_COMMANDS section.
22794 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22795 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22796 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22797 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22798 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22799 X"$ac_dest" : 'X\(//\)[^/]' \| \
22800 X"$ac_dest" : 'X\(//\)$' \| \
22801 X"$ac_dest" : 'X\(/\)' \| \
22802 . : '\(.\)' 2>/dev/null ||
22804 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22805 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22806 /^X\(\/\/\)$/{ s//\1/; q; }
22807 /^X\(\/\).*/{ s//\1/; q; }
22809 { if $as_mkdir_p; then
22814 while test ! -d "$as_dir"; do
22815 as_dirs="$as_dir $as_dirs"
22816 as_dir=`(dirname "$as_dir") 2>/dev/null ||
22817 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22818 X"$as_dir" : 'X\(//\)[^/]' \| \
22819 X"$as_dir" : 'X\(//\)$' \| \
22820 X"$as_dir" : 'X\(/\)' \| \
22821 . : '\(.\)' 2>/dev/null ||
22823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22824 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
22825 /^X\(\/\/\)$/{ s//\1/; q; }
22826 /^X\(\/\).*/{ s//\1/; q; }
22829 test ! -n "$as_dirs" || mkdir $as_dirs
22830 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22831 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22832 { (exit 1); exit 1; }; }; }
22836 if test "$ac_dir" != .; then
22837 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22838 # A "../" for each directory in $ac_dir_suffix.
22839 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22841 ac_dir_suffix= ac_top_builddir=
22845 .) # No --srcdir option. We are building in place.
22847 if test -z "$ac_top_builddir"; then
22850 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22852 [\\/]* | ?:[\\/]* ) # Absolute path.
22853 ac_srcdir=$srcdir$ac_dir_suffix;
22854 ac_top_srcdir=$srcdir ;;
22855 *) # Relative path.
22856 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22857 ac_top_srcdir=$ac_top_builddir$srcdir ;;
22860 # Do not use `cd foo && pwd` to compute absolute paths, because
22861 # the directories may not exist.
22863 .) ac_abs_builddir="$ac_dir";;
22866 .) ac_abs_builddir=`pwd`;;
22867 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22868 *) ac_abs_builddir=`pwd`/"$ac_dir";;
22871 case $ac_abs_builddir in
22872 .) ac_abs_top_builddir=${ac_top_builddir}.;;
22874 case ${ac_top_builddir}. in
22875 .) ac_abs_top_builddir=$ac_abs_builddir;;
22876 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22877 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22880 case $ac_abs_builddir in
22881 .) ac_abs_srcdir=$ac_srcdir;;
22884 .) ac_abs_srcdir=$ac_abs_builddir;;
22885 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22886 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22889 case $ac_abs_builddir in
22890 .) ac_abs_top_srcdir=$ac_top_srcdir;;
22892 case $ac_top_srcdir in
22893 .) ac_abs_top_srcdir=$ac_abs_builddir;;
22894 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22895 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22900 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22901 echo "$as_me: executing $ac_dest commands" >&6;}
22903 default ) (echo "Doing make of dependencies"; ${MAKE:-make} depend;)
22909 cat >>$CONFIG_STATUS <<\_ACEOF
22911 { (exit 0); exit 0; }
22913 chmod +x $CONFIG_STATUS
22914 ac_clean_files=$ac_clean_files_save
22917 # configure is writing to config.log, and then calls config.status.
22918 # config.status does its own redirection, appending to config.log.
22919 # Unfortunately, on DOS this fails, as config.log is still kept open
22920 # by configure, so config.status won't be able to write to it; its
22921 # output is simply discarded. So we exec the FD to /dev/null,
22922 # effectively closing config.log, so it can be properly (re)opened and
22923 # appended to by config.status. When coming back to configure, we
22924 # need to make the FD available again.
22925 if test "$no_create" != yes; then
22927 ac_config_status_args=
22928 test "$silent" = yes &&
22929 ac_config_status_args="$ac_config_status_args --quiet"
22931 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22933 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22934 # would make configure fail if this is the last instruction.
22935 $ac_cs_success || { (exit 1); exit 1; }
22940 chmod 755 startmysql stopmysql bacula startit stopit btraceback mtx-changer
22941 chmod 755 bconsole gconsole mtx-changer devel_bacula logrotate
22946 chmod 755 $c/create_bacula_database $c/update_bacula_tables $c/make_bacula_tables
22947 chmod 755 $c/grant_bacula_privileges $c/drop_bacula_tables $c/drop_bacula_database
22949 chmod 755 $c/create_bdb_database $c/update_bdb_tables $c/make_bdb_tables
22950 chmod 755 $c/grant_bdb_privileges $c/drop_bdb_tables $c/drop_bdb_database
22952 chmod 755 $c/create_mysql_database $c/update_mysql_tables $c/make_mysql_tables
22953 chmod 755 $c/grant_mysql_privileges $c/drop_mysql_tables $c/drop_mysql_database
22955 chmod 755 $c/create_sqlite_database $c/update_sqlite_tables $c/make_sqlite_tables
22956 chmod 755 $c/grant_sqlite_privileges $c/drop_sqlite_tables $c/drop_sqlite_database
22958 chmod 755 $c/create_postgresql_database $c/update_postgresql_tables $c/make_postgresql_tables
22959 chmod 755 $c/grant_postgresql_privileges $c/drop_postgresql_tables $c/drop_postgresql_database
22961 chmod 755 $c/make_catalog_backup $c/delete_catalog_backup
22962 chmod 755 $c/sqlite
22965 if test "x$ac_cv_sys_largefile_CFLAGS" != "xno" ; then
22966 largefile_support="yes"
22970 # A whole lot of hand springs to get the compiler version.
22971 # This is because gcc changed the output in version 3.0
22973 CCVERSION=`${CC} --version | tr '\n' ' ' | cut -f 3 -d ' '`
22974 if test "x${CCVERSION}" = "x" ; then
22975 CCVERSION=`${CC} --version | tr '\n' ' ' | cut -f 1 -d ' '`
22977 CXXVERSION=`${CXX} --version | tr '\n' ' ' | cut -f 3 -d ' '`
22978 if test x"${CXXVERSION}" = x ; then
22979 CXXVERSION=`${CXX} --version | tr '\n' ' ' | cut -f 1 -d ' '`
22982 if test "x${subsysdir}" = "x${sbindir}" ; then
22985 echo "You have set --sbindir and --with-subsys-dir"
22986 echo " both equal to: ${subsysdir} "
22987 echo " This is not permitted. Please reconfigure."
22989 echo "Aborting configuration ..."
22995 if test "x${db_name}" = "xInternal" ; then
22998 echo "You have not specified either --enable-client-only or one of the"
22999 echo " supported databases: MySQL, PostgreSQL, SQLite3 or SQLite."
23000 echo " This is not permitted. Please reconfigure."
23002 echo "Aborting the configuration ..."
23009 Configuration on `date`:
23011 Host: $host -- ${DISTNAME} ${DISTVER}
23012 Bacula version: ${VERSION} (${DATE})
23013 Source code location: ${srcdir}
23014 Install binaries: ${sbindir}
23015 Install config files: ${sysconfdir}
23016 Scripts directory: ${scriptdir}
23017 Working directory: ${working_dir}
23018 PID directory: ${piddir}
23019 Subsys directory: ${subsysdir}
23020 C Compiler: ${CC} ${CCVERSION}
23021 C++ Compiler: ${CXX} ${CXXVERSION}
23022 Compiler flags: ${WCFLAGS} ${CFLAGS}
23023 Linker flags: ${WLDFLAGS} ${LDFLAGS}
23025 Statically Linked Tools: ${support_static_tools}
23026 Statically Linked FD: ${support_static_fd}
23027 Statically Linked SD: ${support_static_sd}
23028 Statically Linked DIR: ${support_static_dir}
23029 Statically Linked CONS: ${support_static_cons}
23030 Database type: ${db_name}
23031 Database lib: ${DB_LIBS}
23033 Job Output Email: ${job_email}
23034 Traceback Email: ${dump_email}
23035 SMTP Host Address: ${smtp_host}
23037 Director Port: ${dir_port}
23038 File daemon Port: ${fd_port}
23039 Storage daemon Port: ${sd_port}
23041 Director User: ${dir_user}
23042 Director Group: ${dir_group}
23043 Storage Daemon User: ${sd_user}
23044 Storage DaemonGroup: ${sd_group}
23045 File Daemon User: ${fd_user}
23046 File Daemon Group: ${fd_group}
23048 SQL binaries Directory ${SQL_BINDIR}
23050 Large file support: $largefile_support
23051 Bacula conio support: ${got_conio} ${CONS_LIBS}
23052 readline support: ${got_readline} ${PRTREADLINE_SRC}
23053 TCP Wrappers support: ${TCPW_MSG}
23054 ZLIB support: ${have_zlib}
23055 enable-smartalloc: ${support_smartalloc}
23056 enable-gnome: ${support_gnome} ${gnome_version}
23057 enable-wx-console: ${support_wx_console}
23058 enable-tray-monitor: ${support_tray_monitor}
23059 client-only: ${build_client_only}
23060 ACL support: ${have_acl}
23061 Python support: ${support_python} ${PYTHON_LIBS}