2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24 # Support unset when possible.
25 if (FOO=FOO; unset FOO) >/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 -n "`(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
224 as_executable_p="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix=/usr/local
254 ac_config_libobj_dir=.
259 SHELL=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file="src/version.h"
274 # Factoring default headers for most tests.
275 ac_includes_default="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 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 build build_cpu build_vendor build_os host host_cpu host_vendor host_os VERSION DATE LSMDATE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP EGREP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB MV RM CP SED AWK ECHO CMP TBL AR OPENSSL MTX PKGCONFIG ARFLAGS MAKE_SHELL LOCAL_LIBS LOCAL_CFLAGS LOCAL_LDFLAGS LOCAL_DEFS 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 TTOOL_LDFLAGS STATIC_FD STATIC_SD STATIC_DIR STATIC_CONS ALL_DIRS CONS_INC CONS_LIBS CONS_LDFLAGS READLINE_SRC working_dir scriptdir dump_email job_email smtp_host piddir subsysdir baseport dir_port fd_port sd_port dir_password fd_password sd_password dir_user dir_group sd_user sd_group fd_user fd_group 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 DISTNAME DISTVER LTLIBOBJS'
312 ac_subst_files='MCOMMON'
314 # Initialize some variables set by options.
316 ac_init_version=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name=s,x,x,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir='${exec_prefix}/bin'
340 sbindir='${exec_prefix}/sbin'
341 libexecdir='${exec_prefix}/libexec'
342 datadir='${prefix}/share'
343 sysconfdir='${prefix}/etc'
344 sharedstatedir='${prefix}/com'
345 localstatedir='${prefix}/var'
346 libdir='${exec_prefix}/lib'
347 includedir='${prefix}/include'
348 oldincludedir='/usr/include'
349 infodir='${prefix}/info'
350 mandir='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
373 -build | --build | --buil | --bui | --bu)
374 ac_prev=build_alias ;;
375 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
376 build_alias=$ac_optarg ;;
378 -cache-file | --cache-file | --cache-fil | --cache-fi \
379 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
380 ac_prev=cache_file ;;
381 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
382 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
383 cache_file=$ac_optarg ;;
386 cache_file=config.cache ;;
388 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 datadir=$ac_optarg ;;
394 -disable-* | --disable-*)
395 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* | --enable-*)
404 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
417 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
418 | --exec | --exe | --ex)
419 ac_prev=exec_prefix ;;
420 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
421 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
422 | --exec=* | --exe=* | --ex=*)
423 exec_prefix=$ac_optarg ;;
425 -gas | --gas | --ga | --g)
426 # Obsolete; use --with-gas.
429 -help | --help | --hel | --he | -h)
431 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
432 ac_init_help=recursive ;;
433 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
434 ac_init_help=short ;;
436 -host | --host | --hos | --ho)
437 ac_prev=host_alias ;;
438 -host=* | --host=* | --hos=* | --ho=*)
439 host_alias=$ac_optarg ;;
441 -includedir | --includedir | --includedi | --included | --include \
442 | --includ | --inclu | --incl | --inc)
443 ac_prev=includedir ;;
444 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
445 | --includ=* | --inclu=* | --incl=* | --inc=*)
446 includedir=$ac_optarg ;;
448 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
451 infodir=$ac_optarg ;;
453 -libdir | --libdir | --libdi | --libd)
455 -libdir=* | --libdir=* | --libdi=* | --libd=*)
458 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
459 | --libexe | --libex | --libe)
460 ac_prev=libexecdir ;;
461 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
462 | --libexe=* | --libex=* | --libe=*)
463 libexecdir=$ac_optarg ;;
465 -localstatedir | --localstatedir | --localstatedi | --localstated \
466 | --localstate | --localstat | --localsta | --localst \
467 | --locals | --local | --loca | --loc | --lo)
468 ac_prev=localstatedir ;;
469 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
470 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
471 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
472 localstatedir=$ac_optarg ;;
474 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 # Obsolete; use --without-fp.
483 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
484 | --no-cr | --no-c | -n)
487 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
488 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
491 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
492 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
493 | --oldin | --oldi | --old | --ol | --o)
494 ac_prev=oldincludedir ;;
495 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
496 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
497 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
498 oldincludedir=$ac_optarg ;;
500 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
505 -program-prefix | --program-prefix | --program-prefi | --program-pref \
506 | --program-pre | --program-pr | --program-p)
507 ac_prev=program_prefix ;;
508 -program-prefix=* | --program-prefix=* | --program-prefi=* \
509 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
510 program_prefix=$ac_optarg ;;
512 -program-suffix | --program-suffix | --program-suffi | --program-suff \
513 | --program-suf | --program-su | --program-s)
514 ac_prev=program_suffix ;;
515 -program-suffix=* | --program-suffix=* | --program-suffi=* \
516 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
517 program_suffix=$ac_optarg ;;
519 -program-transform-name | --program-transform-name \
520 | --program-transform-nam | --program-transform-na \
521 | --program-transform-n | --program-transform- \
522 | --program-transform | --program-transfor \
523 | --program-transfo | --program-transf \
524 | --program-trans | --program-tran \
525 | --progr-tra | --program-tr | --program-t)
526 ac_prev=program_transform_name ;;
527 -program-transform-name=* | --program-transform-name=* \
528 | --program-transform-nam=* | --program-transform-na=* \
529 | --program-transform-n=* | --program-transform-=* \
530 | --program-transform=* | --program-transfor=* \
531 | --program-transfo=* | --program-transf=* \
532 | --program-trans=* | --program-tran=* \
533 | --progr-tra=* | --program-tr=* | --program-t=*)
534 program_transform_name=$ac_optarg ;;
536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
537 | -silent | --silent | --silen | --sile | --sil)
540 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 sbindir=$ac_optarg ;;
546 -sharedstatedir | --sharedstatedir | --sharedstatedi \
547 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
548 | --sharedst | --shareds | --shared | --share | --shar \
550 ac_prev=sharedstatedir ;;
551 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
552 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
553 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 sharedstatedir=$ac_optarg ;;
557 -site | --site | --sit)
559 -site=* | --site=* | --sit=*)
562 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
567 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
568 | --syscon | --sysco | --sysc | --sys | --sy)
569 ac_prev=sysconfdir ;;
570 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
571 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
572 sysconfdir=$ac_optarg ;;
574 -target | --target | --targe | --targ | --tar | --ta | --t)
575 ac_prev=target_alias ;;
576 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
577 target_alias=$ac_optarg ;;
579 -v | -verbose | --verbose | --verbos | --verbo | --verb)
582 -version | --version | --versio | --versi | --vers | -V)
586 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* | --without-*)
599 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
612 | --x-incl | --x-inc | --x-in | --x-i)
613 ac_prev=x_includes ;;
614 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
615 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
616 x_includes=$ac_optarg ;;
618 -x-libraries | --x-libraries | --x-librarie | --x-librari \
619 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
620 ac_prev=x_libraries ;;
621 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
622 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
623 x_libraries=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var in exec_prefix prefix
660 eval ac_val=$`echo $ac_var`
662 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val=$`echo $ac_var`
674 [\\/$]* | ?:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x; then
689 if test "x$build_alias" = x; then
690 cross_compiling=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701 test "$silent" = yes && exec 6>/dev/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set=${build_alias+set}
741 ac_env_build_alias_value=$build_alias
742 ac_cv_env_build_alias_set=${build_alias+set}
743 ac_cv_env_build_alias_value=$build_alias
744 ac_env_host_alias_set=${host_alias+set}
745 ac_env_host_alias_value=$host_alias
746 ac_cv_env_host_alias_set=${host_alias+set}
747 ac_cv_env_host_alias_value=$host_alias
748 ac_env_target_alias_set=${target_alias+set}
749 ac_env_target_alias_value=$target_alias
750 ac_cv_env_target_alias_set=${target_alias+set}
751 ac_cv_env_target_alias_value=$target_alias
752 ac_env_CC_set=${CC+set}
754 ac_cv_env_CC_set=${CC+set}
755 ac_cv_env_CC_value=$CC
756 ac_env_CFLAGS_set=${CFLAGS+set}
757 ac_env_CFLAGS_value=$CFLAGS
758 ac_cv_env_CFLAGS_set=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value=$CFLAGS
760 ac_env_LDFLAGS_set=${LDFLAGS+set}
761 ac_env_LDFLAGS_value=$LDFLAGS
762 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value=$LDFLAGS
764 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
768 ac_env_CXX_set=${CXX+set}
769 ac_env_CXX_value=$CXX
770 ac_cv_env_CXX_set=${CXX+set}
771 ac_cv_env_CXX_value=$CXX
772 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
773 ac_env_CXXFLAGS_value=$CXXFLAGS
774 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
775 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
776 ac_env_CPP_set=${CPP+set}
777 ac_env_CPP_value=$CPP
778 ac_cv_env_CPP_set=${CPP+set}
779 ac_cv_env_CPP_value=$CPP
782 # Report the --help message.
784 if test "$ac_init_help" = "long"; then
785 # Omit some internal or obsolete options to make the list less imposing.
786 # This message is too long to be a string in the A/UX 3.1 sh.
788 \`configure' configures this package to adapt to many kinds of systems.
790 Usage: $0 [OPTION]... [VAR=VALUE]...
792 To assign environment variables (e.g., CC, CFLAGS...), specify them as
793 VAR=VALUE. See below for descriptions of some of the useful variables.
795 Defaults for the options are specified in brackets.
798 -h, --help display this help and exit
799 --help=short display options specific to this package
800 --help=recursive display the short help of all the included packages
801 -V, --version display version information and exit
802 -q, --quiet, --silent do not print \`checking...' messages
803 --cache-file=FILE cache test results in FILE [disabled]
804 -C, --config-cache alias for \`--cache-file=config.cache'
805 -n, --no-create do not create output files
806 --srcdir=DIR find the sources in DIR [configure dir or \`..']
811 Installation directories:
812 --prefix=PREFIX install architecture-independent files in PREFIX
814 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
817 By default, \`make install' will install all the files in
818 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
819 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
820 for instance \`--prefix=\$HOME'.
822 For better control, use the options below.
824 Fine tuning of the installation directories:
825 --bindir=DIR user executables [EPREFIX/bin]
826 --sbindir=DIR system admin executables [EPREFIX/sbin]
827 --libexecdir=DIR program executables [EPREFIX/libexec]
828 --datadir=DIR read-only architecture-independent data [PREFIX/share]
829 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
830 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
831 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
832 --libdir=DIR object code libraries [EPREFIX/lib]
833 --includedir=DIR C header files [PREFIX/include]
834 --oldincludedir=DIR C header files for non-gcc [/usr/include]
835 --infodir=DIR info documentation [PREFIX/info]
836 --mandir=DIR man documentation [PREFIX/man]
842 --x-includes=DIR X include files are in DIR
843 --x-libraries=DIR X library files are in DIR
846 --build=BUILD configure for building on BUILD [guessed]
847 --host=HOST cross-compile to build programs to run on HOST [BUILD]
851 if test -n "$ac_init_help"; then
856 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
857 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
858 --enable-gnome enable build of gnome-console GUI disabled
859 --enable-smartalloc enable smartalloc debugging support disabled
860 --enable-static-tools enable static tape tools disabled
861 --enable-static-fd enable static File daemon disabled
862 --enable-static-sd enable static Storage daemon disabled
863 --enable-static-dir enable static Director disabled
864 --enable-static-cons enable static Console disabled
865 --enable-client-only build client (File daemon) only disabled
866 --disable-readline disable readline support enabled
868 --disable-largefile omit support for large files
871 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
872 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
873 --with-gnome-includes Specify location of GNOME headers
874 --with-gnome-libs Specify location of GNOME libs
875 --with-gnome Specify prefix for GNOME files
876 --with-readline=DIR specify readline library directory
877 --with-tcp-wrappers=DIR enable tcpwrappers support
878 --with-working-dir=PATH specify path of Bacula working directory
879 --with-scriptdir=PATH specify path of Bacula scripts directory
880 --with-dump-email=EMAIL dump email address
881 --with-job-email=EMAIL job output email address
882 --with-smtp-host=HOST SMTP mail host address
883 --with-pid-dir=PATH specify location of Bacula pid files
884 --with-subsys-dir=PATH specify location of Bacula subsys file
885 --with-baseport=PORT specify base port address for daemons
886 --with-dir-password=PASSWORD specify Director's password
887 --with-fd-password=PASSWORD specify Client's password
888 --with-sd-password=PASSWORD specify Storage daemon's password
889 --with-dir-user=USER specify user for Director daemon
890 --with-dir-group=GROUP specify group for Director daemon
891 --with-sd-user=USER specify user for Storage daemon
892 --with-sd-group=GROUP specify group for Storage daemon
893 --with-fd-user=USER specify user for File daemon
894 --with-fd-group=GROUP specify group for File daemon
896 Which DBMS do you want to use (please select only one):
897 --with-mysql=DIR Include MySQL support. DIR is the MySQL base
898 install directory, default is to search through
899 a number of common places for the MySQL files.
901 Which DBMS do you want to use (please select only one):
902 --with-postgresql=DIR Include PostgreSQL support. DIR is the PostgreSQL base
903 install directory, default is to search through
904 a number of common places for the PostgreSQL files.
906 Which DBMS do you want to use (please select only one):
907 --with-embedded-mysql=DIR Include MySQL support. DIR is the MySQL base
908 install directory, default is to search through
909 a number of common places for the MySQL files.
911 Which DBMS do you want to use (please select only one):
912 --with-sqlite=DIR Include SQLite support. DIR is the SQLite base
913 install directory, default is to search through
914 a number of common places for the SQLite files.
915 --with-x use the X Window System
917 Some influential environment variables:
918 CC C compiler command
919 CFLAGS C compiler flags
920 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
921 nonstandard directory <lib dir>
922 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
923 headers in a nonstandard directory <include dir>
924 CXX C++ compiler command
925 CXXFLAGS C++ compiler flags
928 Use these variables to override the choices made by `configure' or to help
929 it to find libraries and programs with nonstandard names/locations.
934 if test "$ac_init_help" = "recursive"; then
935 # If there are subdirs, report their specific --help.
937 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
938 test -d $ac_dir || continue
941 if test "$ac_dir" != .; then
942 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
943 # A "../" for each directory in $ac_dir_suffix.
944 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
946 ac_dir_suffix= ac_top_builddir=
950 .) # No --srcdir option. We are building in place.
952 if test -z "$ac_top_builddir"; then
955 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
957 [\\/]* | ?:[\\/]* ) # Absolute path.
958 ac_srcdir=$srcdir$ac_dir_suffix;
959 ac_top_srcdir=$srcdir ;;
961 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
962 ac_top_srcdir=$ac_top_builddir$srcdir ;;
964 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
966 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
967 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
968 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
969 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
972 # Check for guested configure; otherwise get Cygnus style configure.
973 if test -f $ac_srcdir/configure.gnu; then
975 $SHELL $ac_srcdir/configure.gnu --help=recursive
976 elif test -f $ac_srcdir/configure; then
978 $SHELL $ac_srcdir/configure --help=recursive
979 elif test -f $ac_srcdir/configure.ac ||
980 test -f $ac_srcdir/configure.in; then
984 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
990 test -n "$ac_init_help" && exit 0
991 if $ac_init_version; then
994 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
995 Free Software Foundation, Inc.
996 This configure script is free software; the Free Software Foundation
997 gives unlimited permission to copy, distribute and modify it.
1003 This file contains any messages produced by compilers while
1004 running configure, to aid debugging if configure makes a mistake.
1006 It was created by $as_me, which was
1007 generated by GNU Autoconf 2.57. Invocation command line was
1018 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1019 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1020 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1021 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1022 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1024 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1025 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1027 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1028 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1029 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1030 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1031 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1032 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1033 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1041 test -z "$as_dir" && as_dir=.
1042 echo "PATH: $as_dir"
1057 # Keep a trace of the command line.
1058 # Strip out --no-create and --no-recursion so they do not pile up.
1059 # Strip out --silent because we don't want to record it for future runs.
1060 # Also quote any args containing shell meta-characters.
1061 # Make two passes to allow for proper duplicate-argument suppression.
1066 ac_must_keep_next=false
1072 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1073 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1074 | -silent | --silent | --silen | --sile | --sil)
1076 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1077 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1080 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1082 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1083 if test $ac_must_keep_next = true; then
1084 ac_must_keep_next=false # Got value, back to normal.
1087 *=* | --config-cache | -C | -disable-* | --disable-* \
1088 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1089 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1090 | -with-* | --with-* | -without-* | --without-* | --x)
1091 case "$ac_configure_args0 " in
1092 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1095 -* ) ac_must_keep_next=true ;;
1098 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1099 # Get rid of the leading space.
1105 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1106 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1108 # When interrupted or exit'd, cleanup temporary files, and complete
1109 # config.log. We remove comments because anyway the quotes in there
1110 # would cause problems or look ugly.
1111 # WARNING: Be sure not to use single quotes in there, as some shells,
1112 # such as our DU 5.0 friend, will then `close' the trap.
1113 trap 'exit_status=$?
1114 # Save into config.log some information that might help in debugging.
1119 ## ---------------- ##
1120 ## Cache variables. ##
1121 ## ---------------- ##
1124 # The following way of writing the cache mishandles newlines in values,
1127 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1130 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1135 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1142 ## ----------------- ##
1143 ## Output variables. ##
1144 ## ----------------- ##
1147 for ac_var in $ac_subst_vars
1149 eval ac_val=$`echo $ac_var`
1150 echo "$ac_var='"'"'$ac_val'"'"'"
1154 if test -n "$ac_subst_files"; then
1161 for ac_var in $ac_subst_files
1163 eval ac_val=$`echo $ac_var`
1164 echo "$ac_var='"'"'$ac_val'"'"'"
1169 if test -s confdefs.h; then
1176 sed "/^$/d" confdefs.h | sort
1179 test "$ac_signal" != 0 &&
1180 echo "$as_me: caught signal $ac_signal"
1181 echo "$as_me: exit $exit_status"
1183 rm -f core core.* *.core &&
1184 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1187 for ac_signal in 1 2 13 15; do
1188 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1192 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1193 rm -rf conftest* confdefs.h
1194 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1197 # Predefined preprocessor variables.
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_NAME "$PACKAGE_NAME"
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1214 cat >>confdefs.h <<_ACEOF
1215 #define PACKAGE_STRING "$PACKAGE_STRING"
1219 cat >>confdefs.h <<_ACEOF
1220 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1224 # Let the site file select an alternate cache file if it wants to.
1225 # Prefer explicitly selected file to automatically selected ones.
1226 if test -z "$CONFIG_SITE"; then
1227 if test "x$prefix" != xNONE; then
1228 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1230 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1233 for ac_site_file in $CONFIG_SITE; do
1234 if test -r "$ac_site_file"; then
1235 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1236 echo "$as_me: loading site script $ac_site_file" >&6;}
1237 sed 's/^/| /' "$ac_site_file" >&5
1242 if test -r "$cache_file"; then
1243 # Some versions of bash will fail to source /dev/null (special
1244 # files actually), so we avoid doing that.
1245 if test -f "$cache_file"; then
1246 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1247 echo "$as_me: loading cache $cache_file" >&6;}
1249 [\\/]* | ?:[\\/]* ) . $cache_file;;
1250 *) . ./$cache_file;;
1254 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1255 echo "$as_me: creating cache $cache_file" >&6;}
1259 # Check that the precious variables saved in the cache have kept the same
1261 ac_cache_corrupted=false
1262 for ac_var in `(set) 2>&1 |
1263 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1264 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1265 eval ac_new_set=\$ac_env_${ac_var}_set
1266 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1267 eval ac_new_val="\$ac_env_${ac_var}_value"
1268 case $ac_old_set,$ac_new_set in
1270 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1271 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1272 ac_cache_corrupted=: ;;
1274 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1275 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1276 ac_cache_corrupted=: ;;
1279 if test "x$ac_old_val" != "x$ac_new_val"; then
1280 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1281 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1282 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1283 echo "$as_me: former value: $ac_old_val" >&2;}
1284 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1285 echo "$as_me: current value: $ac_new_val" >&2;}
1286 ac_cache_corrupted=:
1289 # Pass precious variables to config.status.
1290 if test "$ac_new_set" = set; then
1292 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1293 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1294 *) ac_arg=$ac_var=$ac_new_val ;;
1296 case " $ac_configure_args " in
1297 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1298 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1302 if $ac_cache_corrupted; then
1303 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1304 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1305 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1306 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1307 { (exit 1); exit 1; }; }
1311 ac_cpp='$CPP $CPPFLAGS'
1312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1340 for ac_dir in ${BUILD_DIR}/autoconf $srcdir/${BUILD_DIR}/autoconf; do
1341 if test -f $ac_dir/install-sh; then
1343 ac_install_sh="$ac_aux_dir/install-sh -c"
1345 elif test -f $ac_dir/install.sh; then
1347 ac_install_sh="$ac_aux_dir/install.sh -c"
1349 elif test -f $ac_dir/shtool; then
1351 ac_install_sh="$ac_aux_dir/shtool install -c"
1355 if test -z "$ac_aux_dir"; then
1356 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ${BUILD_DIR}/autoconf $srcdir/${BUILD_DIR}/autoconf" >&5
1357 echo "$as_me: error: cannot find install-sh or install.sh in ${BUILD_DIR}/autoconf $srcdir/${BUILD_DIR}/autoconf" >&2;}
1358 { (exit 1); exit 1; }; }
1360 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1361 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1362 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1364 ac_config_headers="$ac_config_headers src/config.h:autoconf/config.h.in"
1372 # Extract the first word of "$ac_prog", so it can be a program name with args.
1373 set dummy $ac_prog; ac_word=$2
1374 echo "$as_me:$LINENO: checking for $ac_word" >&5
1375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1376 if test "${ac_cv_path_TRUEPRG+set}" = set; then
1377 echo $ECHO_N "(cached) $ECHO_C" >&6
1381 ac_cv_path_TRUEPRG="$TRUEPRG" # Let the user override the test with a path.
1384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1388 test -z "$as_dir" && as_dir=.
1389 for ac_exec_ext in '' $ac_executable_extensions; do
1390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1391 ac_cv_path_TRUEPRG="$as_dir/$ac_word$ac_exec_ext"
1392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1401 TRUEPRG=$ac_cv_path_TRUEPRG
1403 if test -n "$TRUEPRG"; then
1404 echo "$as_me:$LINENO: result: $TRUEPRG" >&5
1405 echo "${ECHO_T}$TRUEPRG" >&6
1407 echo "$as_me:$LINENO: result: no" >&5
1408 echo "${ECHO_T}no" >&6
1411 test -n "$TRUEPRG" && break
1413 test -n "$TRUEPRG" || TRUEPRG=":"
1415 for ac_prog in false
1417 # Extract the first word of "$ac_prog", so it can be a program name with args.
1418 set dummy $ac_prog; ac_word=$2
1419 echo "$as_me:$LINENO: checking for $ac_word" >&5
1420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1421 if test "${ac_cv_path_FALSEPRG+set}" = set; then
1422 echo $ECHO_N "(cached) $ECHO_C" >&6
1426 ac_cv_path_FALSEPRG="$FALSEPRG" # Let the user override the test with a path.
1429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1433 test -z "$as_dir" && as_dir=.
1434 for ac_exec_ext in '' $ac_executable_extensions; do
1435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1436 ac_cv_path_FALSEPRG="$as_dir/$ac_word$ac_exec_ext"
1437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1446 FALSEPRG=$ac_cv_path_FALSEPRG
1448 if test -n "$FALSEPRG"; then
1449 echo "$as_me:$LINENO: result: $FALSEPRG" >&5
1450 echo "${ECHO_T}$FALSEPRG" >&6
1452 echo "$as_me:$LINENO: result: no" >&5
1453 echo "${ECHO_T}no" >&6
1456 test -n "$FALSEPRG" && break
1458 test -n "$FALSEPRG" || FALSEPRG=":"
1461 # Make sure we can run config.sub.
1462 $ac_config_sub sun4 >/dev/null 2>&1 ||
1463 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1464 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1465 { (exit 1); exit 1; }; }
1467 echo "$as_me:$LINENO: checking build system type" >&5
1468 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1469 if test "${ac_cv_build+set}" = set; then
1470 echo $ECHO_N "(cached) $ECHO_C" >&6
1472 ac_cv_build_alias=$build_alias
1473 test -z "$ac_cv_build_alias" &&
1474 ac_cv_build_alias=`$ac_config_guess`
1475 test -z "$ac_cv_build_alias" &&
1476 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1477 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1478 { (exit 1); exit 1; }; }
1479 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1480 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1481 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1482 { (exit 1); exit 1; }; }
1485 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1486 echo "${ECHO_T}$ac_cv_build" >&6
1488 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1489 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1490 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1493 echo "$as_me:$LINENO: checking host system type" >&5
1494 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1495 if test "${ac_cv_host+set}" = set; then
1496 echo $ECHO_N "(cached) $ECHO_C" >&6
1498 ac_cv_host_alias=$host_alias
1499 test -z "$ac_cv_host_alias" &&
1500 ac_cv_host_alias=$ac_cv_build_alias
1501 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1502 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1503 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1504 { (exit 1); exit 1; }; }
1507 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1508 echo "${ECHO_T}$ac_cv_host" >&6
1510 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1511 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1512 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1516 VERSION=`sed -n -e 's/^.*VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1517 DATE=`sed -n -e 's/^.* \t*BDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1518 LSMDATE=`sed -n -e 's/^.*LSMDATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h`
1519 echo "configuring for bacula $VERSION ($DATE)"
1524 ac_cpp='$CPP $CPPFLAGS'
1525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1528 if test -n "$ac_tool_prefix"; then
1529 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1530 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1531 echo "$as_me:$LINENO: checking for $ac_word" >&5
1532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1533 if test "${ac_cv_prog_CC+set}" = set; then
1534 echo $ECHO_N "(cached) $ECHO_C" >&6
1536 if test -n "$CC"; then
1537 ac_cv_prog_CC="$CC" # Let the user override the test.
1539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1543 test -z "$as_dir" && as_dir=.
1544 for ac_exec_ext in '' $ac_executable_extensions; do
1545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1546 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1556 if test -n "$CC"; then
1557 echo "$as_me:$LINENO: result: $CC" >&5
1558 echo "${ECHO_T}$CC" >&6
1560 echo "$as_me:$LINENO: result: no" >&5
1561 echo "${ECHO_T}no" >&6
1565 if test -z "$ac_cv_prog_CC"; then
1567 # Extract the first word of "gcc", so it can be a program name with args.
1568 set dummy gcc; ac_word=$2
1569 echo "$as_me:$LINENO: checking for $ac_word" >&5
1570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1571 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1572 echo $ECHO_N "(cached) $ECHO_C" >&6
1574 if test -n "$ac_ct_CC"; then
1575 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1581 test -z "$as_dir" && as_dir=.
1582 for ac_exec_ext in '' $ac_executable_extensions; do
1583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1584 ac_cv_prog_ac_ct_CC="gcc"
1585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1593 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1594 if test -n "$ac_ct_CC"; then
1595 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1596 echo "${ECHO_T}$ac_ct_CC" >&6
1598 echo "$as_me:$LINENO: result: no" >&5
1599 echo "${ECHO_T}no" >&6
1607 if test -z "$CC"; then
1608 if test -n "$ac_tool_prefix"; then
1609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1610 set dummy ${ac_tool_prefix}cc; ac_word=$2
1611 echo "$as_me:$LINENO: checking for $ac_word" >&5
1612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1613 if test "${ac_cv_prog_CC+set}" = set; then
1614 echo $ECHO_N "(cached) $ECHO_C" >&6
1616 if test -n "$CC"; then
1617 ac_cv_prog_CC="$CC" # Let the user override the test.
1619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1623 test -z "$as_dir" && as_dir=.
1624 for ac_exec_ext in '' $ac_executable_extensions; do
1625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1626 ac_cv_prog_CC="${ac_tool_prefix}cc"
1627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1636 if test -n "$CC"; then
1637 echo "$as_me:$LINENO: result: $CC" >&5
1638 echo "${ECHO_T}$CC" >&6
1640 echo "$as_me:$LINENO: result: no" >&5
1641 echo "${ECHO_T}no" >&6
1645 if test -z "$ac_cv_prog_CC"; then
1647 # Extract the first word of "cc", so it can be a program name with args.
1648 set dummy cc; ac_word=$2
1649 echo "$as_me:$LINENO: checking for $ac_word" >&5
1650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1651 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1652 echo $ECHO_N "(cached) $ECHO_C" >&6
1654 if test -n "$ac_ct_CC"; then
1655 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1661 test -z "$as_dir" && as_dir=.
1662 for ac_exec_ext in '' $ac_executable_extensions; do
1663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1664 ac_cv_prog_ac_ct_CC="cc"
1665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1673 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1674 if test -n "$ac_ct_CC"; then
1675 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1676 echo "${ECHO_T}$ac_ct_CC" >&6
1678 echo "$as_me:$LINENO: result: no" >&5
1679 echo "${ECHO_T}no" >&6
1688 if test -z "$CC"; then
1689 # Extract the first word of "cc", so it can be a program name with args.
1690 set dummy cc; ac_word=$2
1691 echo "$as_me:$LINENO: checking for $ac_word" >&5
1692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1693 if test "${ac_cv_prog_CC+set}" = set; then
1694 echo $ECHO_N "(cached) $ECHO_C" >&6
1696 if test -n "$CC"; then
1697 ac_cv_prog_CC="$CC" # Let the user override the test.
1700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1704 test -z "$as_dir" && as_dir=.
1705 for ac_exec_ext in '' $ac_executable_extensions; do
1706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1707 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1708 ac_prog_rejected=yes
1712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1718 if test $ac_prog_rejected = yes; then
1719 # We found a bogon in the path, so make sure we never use it.
1720 set dummy $ac_cv_prog_CC
1722 if test $# != 0; then
1723 # We chose a different compiler from the bogus one.
1724 # However, it has the same basename, so the bogon will be chosen
1725 # first if we set CC to just the basename; use the full file name.
1727 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1733 if test -n "$CC"; then
1734 echo "$as_me:$LINENO: result: $CC" >&5
1735 echo "${ECHO_T}$CC" >&6
1737 echo "$as_me:$LINENO: result: no" >&5
1738 echo "${ECHO_T}no" >&6
1742 if test -z "$CC"; then
1743 if test -n "$ac_tool_prefix"; then
1746 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1747 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1748 echo "$as_me:$LINENO: checking for $ac_word" >&5
1749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1750 if test "${ac_cv_prog_CC+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 if test -n "$CC"; then
1754 ac_cv_prog_CC="$CC" # Let the user override the test.
1756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1760 test -z "$as_dir" && as_dir=.
1761 for ac_exec_ext in '' $ac_executable_extensions; do
1762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1763 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1773 if test -n "$CC"; then
1774 echo "$as_me:$LINENO: result: $CC" >&5
1775 echo "${ECHO_T}$CC" >&6
1777 echo "$as_me:$LINENO: result: no" >&5
1778 echo "${ECHO_T}no" >&6
1781 test -n "$CC" && break
1784 if test -z "$CC"; then
1788 # Extract the first word of "$ac_prog", so it can be a program name with args.
1789 set dummy $ac_prog; ac_word=$2
1790 echo "$as_me:$LINENO: checking for $ac_word" >&5
1791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1792 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1793 echo $ECHO_N "(cached) $ECHO_C" >&6
1795 if test -n "$ac_ct_CC"; then
1796 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1802 test -z "$as_dir" && as_dir=.
1803 for ac_exec_ext in '' $ac_executable_extensions; do
1804 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1805 ac_cv_prog_ac_ct_CC="$ac_prog"
1806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1814 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1815 if test -n "$ac_ct_CC"; then
1816 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1817 echo "${ECHO_T}$ac_ct_CC" >&6
1819 echo "$as_me:$LINENO: result: no" >&5
1820 echo "${ECHO_T}no" >&6
1823 test -n "$ac_ct_CC" && break
1832 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1833 See \`config.log' for more details." >&5
1834 echo "$as_me: error: no acceptable C compiler found in \$PATH
1835 See \`config.log' for more details." >&2;}
1836 { (exit 1); exit 1; }; }
1838 # Provide some information about the compiler.
1839 echo "$as_me:$LINENO:" \
1840 "checking for C compiler version" >&5
1841 ac_compiler=`set X $ac_compile; echo $2`
1842 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1843 (eval $ac_compiler --version </dev/null >&5) 2>&5
1845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1846 (exit $ac_status); }
1847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1848 (eval $ac_compiler -v </dev/null >&5) 2>&5
1850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1851 (exit $ac_status); }
1852 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1853 (eval $ac_compiler -V </dev/null >&5) 2>&5
1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856 (exit $ac_status); }
1858 cat >conftest.$ac_ext <<_ACEOF
1859 #line $LINENO "configure"
1862 cat confdefs.h >>conftest.$ac_ext
1863 cat >>conftest.$ac_ext <<_ACEOF
1864 /* end confdefs.h. */
1874 ac_clean_files_save=$ac_clean_files
1875 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1876 # Try to create an executable without -o first, disregard a.out.
1877 # It will help us diagnose broken compilers, and finding out an intuition
1879 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1880 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1881 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1882 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1883 (eval $ac_link_default) 2>&5
1885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1886 (exit $ac_status); }; then
1887 # Find the output, starting from the most likely. This scheme is
1888 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1891 # Be careful to initialize this variable, since it used to be cached.
1892 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1894 # b.out is created by i960 compilers.
1895 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1897 test -f "$ac_file" || continue
1899 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1902 # This is the source file.
1905 # We found the default executable, but exeext='' is most
1909 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1910 # FIXME: I believe we export ac_cv_exeext for Libtool,
1911 # but it would be cool to find out if it's true. Does anybody
1912 # maintain Libtool? --akim.
1920 echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.$ac_ext >&5
1923 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1924 See \`config.log' for more details." >&5
1925 echo "$as_me: error: C compiler cannot create executables
1926 See \`config.log' for more details." >&2;}
1927 { (exit 77); exit 77; }; }
1930 ac_exeext=$ac_cv_exeext
1931 echo "$as_me:$LINENO: result: $ac_file" >&5
1932 echo "${ECHO_T}$ac_file" >&6
1934 # Check the compiler produces executables we can run. If not, either
1935 # the compiler is broken, or we cross compile.
1936 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1937 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1938 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1939 # If not cross compiling, check that we can run a simple program.
1940 if test "$cross_compiling" != yes; then
1941 if { ac_try='./$ac_file'
1942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1946 (exit $ac_status); }; }; then
1949 if test "$cross_compiling" = maybe; then
1952 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1953 If you meant to cross compile, use \`--host'.
1954 See \`config.log' for more details." >&5
1955 echo "$as_me: error: cannot run C compiled programs.
1956 If you meant to cross compile, use \`--host'.
1957 See \`config.log' for more details." >&2;}
1958 { (exit 1); exit 1; }; }
1962 echo "$as_me:$LINENO: result: yes" >&5
1963 echo "${ECHO_T}yes" >&6
1965 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1966 ac_clean_files=$ac_clean_files_save
1967 # Check the compiler produces executables we can run. If not, either
1968 # the compiler is broken, or we cross compile.
1969 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1970 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1971 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1972 echo "${ECHO_T}$cross_compiling" >&6
1974 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1975 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1977 (eval $ac_link) 2>&5
1979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1980 (exit $ac_status); }; then
1981 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1982 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1983 # work properly (i.e., refer to `conftest.exe'), while it won't with
1985 for ac_file in conftest.exe conftest conftest.*; do
1986 test -f "$ac_file" || continue
1988 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1989 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1996 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1997 See \`config.log' for more details." >&5
1998 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1999 See \`config.log' for more details." >&2;}
2000 { (exit 1); exit 1; }; }
2003 rm -f conftest$ac_cv_exeext
2004 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2005 echo "${ECHO_T}$ac_cv_exeext" >&6
2007 rm -f conftest.$ac_ext
2008 EXEEXT=$ac_cv_exeext
2010 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2011 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2012 if test "${ac_cv_objext+set}" = set; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2015 cat >conftest.$ac_ext <<_ACEOF
2016 #line $LINENO "configure"
2019 cat confdefs.h >>conftest.$ac_ext
2020 cat >>conftest.$ac_ext <<_ACEOF
2021 /* end confdefs.h. */
2031 rm -f conftest.o conftest.obj
2032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2033 (eval $ac_compile) 2>&5
2035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2036 (exit $ac_status); }; then
2037 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2039 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2040 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2045 echo "$as_me: failed program was:" >&5
2046 sed 's/^/| /' conftest.$ac_ext >&5
2048 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2049 See \`config.log' for more details." >&5
2050 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2051 See \`config.log' for more details." >&2;}
2052 { (exit 1); exit 1; }; }
2055 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2057 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2058 echo "${ECHO_T}$ac_cv_objext" >&6
2059 OBJEXT=$ac_cv_objext
2061 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2062 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2063 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2066 cat >conftest.$ac_ext <<_ACEOF
2067 #line $LINENO "configure"
2070 cat confdefs.h >>conftest.$ac_ext
2071 cat >>conftest.$ac_ext <<_ACEOF
2072 /* end confdefs.h. */
2085 rm -f conftest.$ac_objext
2086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2087 (eval $ac_compile) 2>&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); } &&
2091 { ac_try='test -s conftest.$ac_objext'
2092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096 (exit $ac_status); }; }; then
2099 echo "$as_me: failed program was:" >&5
2100 sed 's/^/| /' conftest.$ac_ext >&5
2104 rm -f conftest.$ac_objext conftest.$ac_ext
2105 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2108 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2109 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2110 GCC=`test $ac_compiler_gnu = yes && echo yes`
2111 ac_test_CFLAGS=${CFLAGS+set}
2112 ac_save_CFLAGS=$CFLAGS
2114 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2115 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2116 if test "${ac_cv_prog_cc_g+set}" = set; then
2117 echo $ECHO_N "(cached) $ECHO_C" >&6
2119 cat >conftest.$ac_ext <<_ACEOF
2120 #line $LINENO "configure"
2123 cat confdefs.h >>conftest.$ac_ext
2124 cat >>conftest.$ac_ext <<_ACEOF
2125 /* end confdefs.h. */
2135 rm -f conftest.$ac_objext
2136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2137 (eval $ac_compile) 2>&5
2139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2140 (exit $ac_status); } &&
2141 { ac_try='test -s conftest.$ac_objext'
2142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2146 (exit $ac_status); }; }; then
2149 echo "$as_me: failed program was:" >&5
2150 sed 's/^/| /' conftest.$ac_ext >&5
2154 rm -f conftest.$ac_objext conftest.$ac_ext
2156 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2157 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2158 if test "$ac_test_CFLAGS" = set; then
2159 CFLAGS=$ac_save_CFLAGS
2160 elif test $ac_cv_prog_cc_g = yes; then
2161 if test "$GCC" = yes; then
2167 if test "$GCC" = yes; then
2173 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2174 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2175 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2176 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 ac_cv_prog_cc_stdc=no
2180 cat >conftest.$ac_ext <<_ACEOF
2181 #line $LINENO "configure"
2184 cat confdefs.h >>conftest.$ac_ext
2185 cat >>conftest.$ac_ext <<_ACEOF
2186 /* end confdefs.h. */
2189 #include <sys/types.h>
2190 #include <sys/stat.h>
2191 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2192 struct buf { int x; };
2193 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2194 static char *e (p, i)
2200 static char *f (char * (*g) (char **, int), char **p, ...)
2205 s = g (p, va_arg (v,int));
2209 int test (int i, double x);
2210 struct s1 {int (*f) (int a);};
2211 struct s2 {int (*f) (double a);};
2212 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2218 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2223 # Don't try gcc -ansi; that turns off useful extensions and
2224 # breaks some systems' header files.
2225 # AIX -qlanglvl=ansi
2226 # Ultrix and OSF/1 -std1
2227 # HP-UX 10.20 and later -Ae
2228 # HP-UX older versions -Aa -D_HPUX_SOURCE
2229 # SVR4 -Xc -D__EXTENSIONS__
2230 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2232 CC="$ac_save_CC $ac_arg"
2233 rm -f conftest.$ac_objext
2234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2235 (eval $ac_compile) 2>&5
2237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2238 (exit $ac_status); } &&
2239 { ac_try='test -s conftest.$ac_objext'
2240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2244 (exit $ac_status); }; }; then
2245 ac_cv_prog_cc_stdc=$ac_arg
2248 echo "$as_me: failed program was:" >&5
2249 sed 's/^/| /' conftest.$ac_ext >&5
2252 rm -f conftest.$ac_objext
2254 rm -f conftest.$ac_ext conftest.$ac_objext
2259 case "x$ac_cv_prog_cc_stdc" in
2261 echo "$as_me:$LINENO: result: none needed" >&5
2262 echo "${ECHO_T}none needed" >&6 ;;
2264 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2265 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2266 CC="$CC $ac_cv_prog_cc_stdc" ;;
2269 # Some people use a C++ compiler to compile C. Since we use `exit',
2270 # in C++ we need to declare it. In case someone uses the same compiler
2271 # for both compiling C and C++ we need to have the C++ compiler decide
2272 # the declaration of exit, since it's the most demanding environment.
2273 cat >conftest.$ac_ext <<_ACEOF
2278 rm -f conftest.$ac_objext
2279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2280 (eval $ac_compile) 2>&5
2282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2283 (exit $ac_status); } &&
2284 { ac_try='test -s conftest.$ac_objext'
2285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2289 (exit $ac_status); }; }; then
2290 for ac_declaration in \
2292 '#include <stdlib.h>' \
2293 'extern "C" void std::exit (int) throw (); using std::exit;' \
2294 'extern "C" void std::exit (int); using std::exit;' \
2295 'extern "C" void exit (int) throw ();' \
2296 'extern "C" void exit (int);' \
2299 cat >conftest.$ac_ext <<_ACEOF
2300 #line $LINENO "configure"
2303 cat confdefs.h >>conftest.$ac_ext
2304 cat >>conftest.$ac_ext <<_ACEOF
2305 /* end confdefs.h. */
2316 rm -f conftest.$ac_objext
2317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2318 (eval $ac_compile) 2>&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); } &&
2322 { ac_try='test -s conftest.$ac_objext'
2323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2327 (exit $ac_status); }; }; then
2330 echo "$as_me: failed program was:" >&5
2331 sed 's/^/| /' conftest.$ac_ext >&5
2335 rm -f conftest.$ac_objext conftest.$ac_ext
2336 cat >conftest.$ac_ext <<_ACEOF
2337 #line $LINENO "configure"
2340 cat confdefs.h >>conftest.$ac_ext
2341 cat >>conftest.$ac_ext <<_ACEOF
2342 /* end confdefs.h. */
2352 rm -f conftest.$ac_objext
2353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2354 (eval $ac_compile) 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); } &&
2358 { ac_try='test -s conftest.$ac_objext'
2359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }; }; then
2366 echo "$as_me: failed program was:" >&5
2367 sed 's/^/| /' conftest.$ac_ext >&5
2370 rm -f conftest.$ac_objext conftest.$ac_ext
2373 if test -n "$ac_declaration"; then
2374 echo '#ifdef __cplusplus' >>confdefs.h
2375 echo $ac_declaration >>confdefs.h
2376 echo '#endif' >>confdefs.h
2380 echo "$as_me: failed program was:" >&5
2381 sed 's/^/| /' conftest.$ac_ext >&5
2384 rm -f conftest.$ac_objext conftest.$ac_ext
2386 ac_cpp='$CPP $CPPFLAGS'
2387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2392 ac_cpp='$CXXCPP $CPPFLAGS'
2393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2396 if test -n "$ac_tool_prefix"; then
2397 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2399 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2400 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2401 echo "$as_me:$LINENO: checking for $ac_word" >&5
2402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2403 if test "${ac_cv_prog_CXX+set}" = set; then
2404 echo $ECHO_N "(cached) $ECHO_C" >&6
2406 if test -n "$CXX"; then
2407 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 test -z "$as_dir" && as_dir=.
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2416 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2426 if test -n "$CXX"; then
2427 echo "$as_me:$LINENO: result: $CXX" >&5
2428 echo "${ECHO_T}$CXX" >&6
2430 echo "$as_me:$LINENO: result: no" >&5
2431 echo "${ECHO_T}no" >&6
2434 test -n "$CXX" && break
2437 if test -z "$CXX"; then
2439 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2441 # Extract the first word of "$ac_prog", so it can be a program name with args.
2442 set dummy $ac_prog; ac_word=$2
2443 echo "$as_me:$LINENO: checking for $ac_word" >&5
2444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2445 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2446 echo $ECHO_N "(cached) $ECHO_C" >&6
2448 if test -n "$ac_ct_CXX"; then
2449 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2455 test -z "$as_dir" && as_dir=.
2456 for ac_exec_ext in '' $ac_executable_extensions; do
2457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2458 ac_cv_prog_ac_ct_CXX="$ac_prog"
2459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2468 if test -n "$ac_ct_CXX"; then
2469 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2470 echo "${ECHO_T}$ac_ct_CXX" >&6
2472 echo "$as_me:$LINENO: result: no" >&5
2473 echo "${ECHO_T}no" >&6
2476 test -n "$ac_ct_CXX" && break
2478 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2484 # Provide some information about the compiler.
2485 echo "$as_me:$LINENO:" \
2486 "checking for C++ compiler version" >&5
2487 ac_compiler=`set X $ac_compile; echo $2`
2488 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2489 (eval $ac_compiler --version </dev/null >&5) 2>&5
2491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2492 (exit $ac_status); }
2493 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2494 (eval $ac_compiler -v </dev/null >&5) 2>&5
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); }
2498 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2499 (eval $ac_compiler -V </dev/null >&5) 2>&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }
2504 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2505 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2506 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 cat >conftest.$ac_ext <<_ACEOF
2510 #line $LINENO "configure"
2513 cat confdefs.h >>conftest.$ac_ext
2514 cat >>conftest.$ac_ext <<_ACEOF
2515 /* end confdefs.h. */
2528 rm -f conftest.$ac_objext
2529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2530 (eval $ac_compile) 2>&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); } &&
2534 { ac_try='test -s conftest.$ac_objext'
2535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2539 (exit $ac_status); }; }; then
2542 echo "$as_me: failed program was:" >&5
2543 sed 's/^/| /' conftest.$ac_ext >&5
2547 rm -f conftest.$ac_objext conftest.$ac_ext
2548 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2551 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2552 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2553 GXX=`test $ac_compiler_gnu = yes && echo yes`
2554 ac_test_CXXFLAGS=${CXXFLAGS+set}
2555 ac_save_CXXFLAGS=$CXXFLAGS
2557 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2558 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2559 if test "${ac_cv_prog_cxx_g+set}" = set; then
2560 echo $ECHO_N "(cached) $ECHO_C" >&6
2562 cat >conftest.$ac_ext <<_ACEOF
2563 #line $LINENO "configure"
2566 cat confdefs.h >>conftest.$ac_ext
2567 cat >>conftest.$ac_ext <<_ACEOF
2568 /* end confdefs.h. */
2578 rm -f conftest.$ac_objext
2579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2580 (eval $ac_compile) 2>&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); } &&
2584 { ac_try='test -s conftest.$ac_objext'
2585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); }; }; then
2590 ac_cv_prog_cxx_g=yes
2592 echo "$as_me: failed program was:" >&5
2593 sed 's/^/| /' conftest.$ac_ext >&5
2597 rm -f conftest.$ac_objext conftest.$ac_ext
2599 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2600 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2601 if test "$ac_test_CXXFLAGS" = set; then
2602 CXXFLAGS=$ac_save_CXXFLAGS
2603 elif test $ac_cv_prog_cxx_g = yes; then
2604 if test "$GXX" = yes; then
2610 if test "$GXX" = yes; then
2616 for ac_declaration in \
2618 '#include <stdlib.h>' \
2619 'extern "C" void std::exit (int) throw (); using std::exit;' \
2620 'extern "C" void std::exit (int); using std::exit;' \
2621 'extern "C" void exit (int) throw ();' \
2622 'extern "C" void exit (int);' \
2625 cat >conftest.$ac_ext <<_ACEOF
2626 #line $LINENO "configure"
2629 cat confdefs.h >>conftest.$ac_ext
2630 cat >>conftest.$ac_ext <<_ACEOF
2631 /* end confdefs.h. */
2642 rm -f conftest.$ac_objext
2643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2644 (eval $ac_compile) 2>&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); } &&
2648 { ac_try='test -s conftest.$ac_objext'
2649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); }; }; then
2656 echo "$as_me: failed program was:" >&5
2657 sed 's/^/| /' conftest.$ac_ext >&5
2661 rm -f conftest.$ac_objext conftest.$ac_ext
2662 cat >conftest.$ac_ext <<_ACEOF
2663 #line $LINENO "configure"
2666 cat confdefs.h >>conftest.$ac_ext
2667 cat >>conftest.$ac_ext <<_ACEOF
2668 /* end confdefs.h. */
2678 rm -f conftest.$ac_objext
2679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2680 (eval $ac_compile) 2>&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); } &&
2684 { ac_try='test -s conftest.$ac_objext'
2685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2689 (exit $ac_status); }; }; then
2692 echo "$as_me: failed program was:" >&5
2693 sed 's/^/| /' conftest.$ac_ext >&5
2696 rm -f conftest.$ac_objext conftest.$ac_ext
2699 if test -n "$ac_declaration"; then
2700 echo '#ifdef __cplusplus' >>confdefs.h
2701 echo $ac_declaration >>confdefs.h
2702 echo '#endif' >>confdefs.h
2706 ac_cpp='$CPP $CPPFLAGS'
2707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2711 if test "x$CC" != xcc; then
2712 echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
2713 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6
2715 echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
2716 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6
2718 set dummy $CC; ac_cc=`echo $2 |
2719 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
2720 if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\" = set"; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 cat >conftest.$ac_ext <<_ACEOF
2724 #line $LINENO "configure"
2727 cat confdefs.h >>conftest.$ac_ext
2728 cat >>conftest.$ac_ext <<_ACEOF
2729 /* end confdefs.h. */
2739 # Make sure it works both with $CC and with simple cc.
2740 # We do the test twice because some compilers refuse to overwrite an
2741 # existing .o file with -o, though they will create one.
2742 ac_try='$CC -c conftest.$ac_ext -o conftest.$ac_objext >&5'
2743 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); } &&
2748 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); };
2754 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
2755 if test "x$CC" != xcc; then
2756 # Test first that cc exists at all.
2757 if { ac_try='cc -c conftest.$ac_ext >&5'
2758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); }; }; then
2763 ac_try='cc -c conftest.$ac_ext -o conftest.$ac_objext >&5'
2764 if { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); } &&
2769 test -f conftest.$ac_objext && { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2773 (exit $ac_status); };
2778 # cc exists but doesn't like -o.
2779 eval ac_cv_prog_cc_${ac_cc}_c_o=no
2784 eval ac_cv_prog_cc_${ac_cc}_c_o=no
2789 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
2790 echo "$as_me:$LINENO: result: yes" >&5
2791 echo "${ECHO_T}yes" >&6
2793 echo "$as_me:$LINENO: result: no" >&5
2794 echo "${ECHO_T}no" >&6
2796 cat >>confdefs.h <<\_ACEOF
2797 #define NO_MINUS_C_MINUS_O 1
2803 ac_cpp='$CPP $CPPFLAGS'
2804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2807 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2808 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2809 # On Suns, sometimes $CPP names a directory.
2810 if test -n "$CPP" && test -d "$CPP"; then
2813 if test -z "$CPP"; then
2814 if test "${ac_cv_prog_CPP+set}" = set; then
2815 echo $ECHO_N "(cached) $ECHO_C" >&6
2817 # Double quotes because CPP needs to be expanded
2818 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2821 for ac_c_preproc_warn_flag in '' yes
2823 # Use a header file that comes with gcc, so configuring glibc
2824 # with a fresh cross-compiler works.
2825 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2826 # <limits.h> exists even on freestanding compilers.
2827 # On the NeXT, cc -E runs the code through the compiler's parser,
2828 # not just through cpp. "Syntax error" is here to catch this case.
2829 cat >conftest.$ac_ext <<_ACEOF
2830 #line $LINENO "configure"
2833 cat confdefs.h >>conftest.$ac_ext
2834 cat >>conftest.$ac_ext <<_ACEOF
2835 /* end confdefs.h. */
2837 # include <limits.h>
2839 # include <assert.h>
2843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2844 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2846 grep -v '^ *+' conftest.er1 >conftest.err
2848 cat conftest.err >&5
2849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2850 (exit $ac_status); } >/dev/null; then
2851 if test -s conftest.err; then
2852 ac_cpp_err=$ac_c_preproc_warn_flag
2859 if test -z "$ac_cpp_err"; then
2862 echo "$as_me: failed program was:" >&5
2863 sed 's/^/| /' conftest.$ac_ext >&5
2865 # Broken: fails on valid input.
2868 rm -f conftest.err conftest.$ac_ext
2870 # OK, works on sane cases. Now check whether non-existent headers
2871 # can be detected and how.
2872 cat >conftest.$ac_ext <<_ACEOF
2873 #line $LINENO "configure"
2876 cat confdefs.h >>conftest.$ac_ext
2877 cat >>conftest.$ac_ext <<_ACEOF
2878 /* end confdefs.h. */
2879 #include <ac_nonexistent.h>
2881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2882 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2884 grep -v '^ *+' conftest.er1 >conftest.err
2886 cat conftest.err >&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); } >/dev/null; then
2889 if test -s conftest.err; then
2890 ac_cpp_err=$ac_c_preproc_warn_flag
2897 if test -z "$ac_cpp_err"; then
2898 # Broken: success on invalid input.
2901 echo "$as_me: failed program was:" >&5
2902 sed 's/^/| /' conftest.$ac_ext >&5
2904 # Passes both tests.
2908 rm -f conftest.err conftest.$ac_ext
2911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2912 rm -f conftest.err conftest.$ac_ext
2913 if $ac_preproc_ok; then
2925 echo "$as_me:$LINENO: result: $CPP" >&5
2926 echo "${ECHO_T}$CPP" >&6
2928 for ac_c_preproc_warn_flag in '' yes
2930 # Use a header file that comes with gcc, so configuring glibc
2931 # with a fresh cross-compiler works.
2932 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2933 # <limits.h> exists even on freestanding compilers.
2934 # On the NeXT, cc -E runs the code through the compiler's parser,
2935 # not just through cpp. "Syntax error" is here to catch this case.
2936 cat >conftest.$ac_ext <<_ACEOF
2937 #line $LINENO "configure"
2940 cat confdefs.h >>conftest.$ac_ext
2941 cat >>conftest.$ac_ext <<_ACEOF
2942 /* end confdefs.h. */
2944 # include <limits.h>
2946 # include <assert.h>
2950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2953 grep -v '^ *+' conftest.er1 >conftest.err
2955 cat conftest.err >&5
2956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957 (exit $ac_status); } >/dev/null; then
2958 if test -s conftest.err; then
2959 ac_cpp_err=$ac_c_preproc_warn_flag
2966 if test -z "$ac_cpp_err"; then
2969 echo "$as_me: failed program was:" >&5
2970 sed 's/^/| /' conftest.$ac_ext >&5
2972 # Broken: fails on valid input.
2975 rm -f conftest.err conftest.$ac_ext
2977 # OK, works on sane cases. Now check whether non-existent headers
2978 # can be detected and how.
2979 cat >conftest.$ac_ext <<_ACEOF
2980 #line $LINENO "configure"
2983 cat confdefs.h >>conftest.$ac_ext
2984 cat >>conftest.$ac_ext <<_ACEOF
2985 /* end confdefs.h. */
2986 #include <ac_nonexistent.h>
2988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2989 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2991 grep -v '^ *+' conftest.er1 >conftest.err
2993 cat conftest.err >&5
2994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); } >/dev/null; then
2996 if test -s conftest.err; then
2997 ac_cpp_err=$ac_c_preproc_warn_flag
3004 if test -z "$ac_cpp_err"; then
3005 # Broken: success on invalid input.
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3011 # Passes both tests.
3015 rm -f conftest.err conftest.$ac_ext
3018 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3019 rm -f conftest.err conftest.$ac_ext
3020 if $ac_preproc_ok; then
3023 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3024 See \`config.log' for more details." >&5
3025 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3026 See \`config.log' for more details." >&2;}
3027 { (exit 1); exit 1; }; }
3031 ac_cpp='$CPP $CPPFLAGS'
3032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3037 echo "$as_me:$LINENO: checking for egrep" >&5
3038 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3039 if test "${ac_cv_prog_egrep+set}" = set; then
3040 echo $ECHO_N "(cached) $ECHO_C" >&6
3042 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3043 then ac_cv_prog_egrep='grep -E'
3044 else ac_cv_prog_egrep='egrep'
3047 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3048 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3049 EGREP=$ac_cv_prog_egrep
3052 if test $ac_cv_c_compiler_gnu = yes; then
3053 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3054 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3055 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3056 echo $ECHO_N "(cached) $ECHO_C" >&6
3058 ac_pattern="Autoconf.*'x'"
3059 cat >conftest.$ac_ext <<_ACEOF
3060 #line $LINENO "configure"
3063 cat confdefs.h >>conftest.$ac_ext
3064 cat >>conftest.$ac_ext <<_ACEOF
3065 /* end confdefs.h. */
3069 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3070 $EGREP "$ac_pattern" >/dev/null 2>&1; then
3071 ac_cv_prog_gcc_traditional=yes
3073 ac_cv_prog_gcc_traditional=no
3078 if test $ac_cv_prog_gcc_traditional = no; then
3079 cat >conftest.$ac_ext <<_ACEOF
3080 #line $LINENO "configure"
3083 cat confdefs.h >>conftest.$ac_ext
3084 cat >>conftest.$ac_ext <<_ACEOF
3085 /* end confdefs.h. */
3089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3090 $EGREP "$ac_pattern" >/dev/null 2>&1; then
3091 ac_cv_prog_gcc_traditional=yes
3097 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3098 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3099 if test $ac_cv_prog_gcc_traditional = yes; then
3100 CC="$CC -traditional"
3106 cat >>confdefs.h <<\_ACEOF
3112 # Find a good install program. We prefer a C program (faster),
3113 # so one script is as good as another. But avoid the broken or
3114 # incompatible versions:
3115 # SysV /etc/install, /usr/sbin/install
3116 # SunOS /usr/etc/install
3117 # IRIX /sbin/install
3119 # AmigaOS /C/install, which installs bootblocks on floppy discs
3120 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3121 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3122 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3123 # ./install, which can be erroneously created by make from ./install.sh.
3124 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3125 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3126 if test -z "$INSTALL"; then
3127 if test "${ac_cv_path_install+set}" = set; then
3128 echo $ECHO_N "(cached) $ECHO_C" >&6
3130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3134 test -z "$as_dir" && as_dir=.
3135 # Account for people who put trailing slashes in PATH elements.
3137 ./ | .// | /cC/* | \
3138 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3141 # OSF1 and SCO ODT 3.0 have their own names for install.
3142 # Don't use installbsd from OSF since it installs stuff as root
3144 for ac_prog in ginstall scoinst install; do
3145 for ac_exec_ext in '' $ac_executable_extensions; do
3146 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3147 if test $ac_prog = install &&
3148 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3149 # AIX install. It has an incompatible calling convention.
3151 elif test $ac_prog = install &&
3152 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3153 # program-specific install script used by HP pwplus--don't use.
3156 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3168 if test "${ac_cv_path_install+set}" = set; then
3169 INSTALL=$ac_cv_path_install
3171 # As a last resort, use the slow shell script. We don't cache a
3172 # path for INSTALL within a source directory, because that will
3173 # break other packages using the cache if that directory is
3174 # removed, or if the path is relative.
3175 INSTALL=$ac_install_sh
3178 echo "$as_me:$LINENO: result: $INSTALL" >&5
3179 echo "${ECHO_T}$INSTALL" >&6
3181 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3182 # It thinks the first close brace ends the variable substitution.
3183 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3185 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3187 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3189 if test -n "$ac_tool_prefix"; then
3190 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3191 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3192 echo "$as_me:$LINENO: checking for $ac_word" >&5
3193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3194 if test "${ac_cv_prog_RANLIB+set}" = set; then
3195 echo $ECHO_N "(cached) $ECHO_C" >&6
3197 if test -n "$RANLIB"; then
3198 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3204 test -z "$as_dir" && as_dir=.
3205 for ac_exec_ext in '' $ac_executable_extensions; do
3206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3207 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3216 RANLIB=$ac_cv_prog_RANLIB
3217 if test -n "$RANLIB"; then
3218 echo "$as_me:$LINENO: result: $RANLIB" >&5
3219 echo "${ECHO_T}$RANLIB" >&6
3221 echo "$as_me:$LINENO: result: no" >&5
3222 echo "${ECHO_T}no" >&6
3226 if test -z "$ac_cv_prog_RANLIB"; then
3227 ac_ct_RANLIB=$RANLIB
3228 # Extract the first word of "ranlib", so it can be a program name with args.
3229 set dummy ranlib; ac_word=$2
3230 echo "$as_me:$LINENO: checking for $ac_word" >&5
3231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3232 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3233 echo $ECHO_N "(cached) $ECHO_C" >&6
3235 if test -n "$ac_ct_RANLIB"; then
3236 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3242 test -z "$as_dir" && as_dir=.
3243 for ac_exec_ext in '' $ac_executable_extensions; do
3244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3245 ac_cv_prog_ac_ct_RANLIB="ranlib"
3246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3252 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3255 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3256 if test -n "$ac_ct_RANLIB"; then
3257 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3258 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3260 echo "$as_me:$LINENO: result: no" >&5
3261 echo "${ECHO_T}no" >&6
3264 RANLIB=$ac_ct_RANLIB
3266 RANLIB="$ac_cv_prog_RANLIB"
3269 # Extract the first word of "mv", so it can be a program name with args.
3270 set dummy mv; ac_word=$2
3271 echo "$as_me:$LINENO: checking for $ac_word" >&5
3272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3273 if test "${ac_cv_path_MV+set}" = set; then
3274 echo $ECHO_N "(cached) $ECHO_C" >&6
3278 ac_cv_path_MV="$MV" # Let the user override the test with a path.
3281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3285 test -z "$as_dir" && as_dir=.
3286 for ac_exec_ext in '' $ac_executable_extensions; do
3287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3288 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
3289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3295 test -z "$ac_cv_path_MV" && ac_cv_path_MV="mv"
3301 if test -n "$MV"; then
3302 echo "$as_me:$LINENO: result: $MV" >&5
3303 echo "${ECHO_T}$MV" >&6
3305 echo "$as_me:$LINENO: result: no" >&5
3306 echo "${ECHO_T}no" >&6
3309 # Extract the first word of "rm", so it can be a program name with args.
3310 set dummy rm; ac_word=$2
3311 echo "$as_me:$LINENO: checking for $ac_word" >&5
3312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3313 if test "${ac_cv_path_RM+set}" = set; then
3314 echo $ECHO_N "(cached) $ECHO_C" >&6
3318 ac_cv_path_RM="$RM" # Let the user override the test with a path.
3321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3325 test -z "$as_dir" && as_dir=.
3326 for ac_exec_ext in '' $ac_executable_extensions; do
3327 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3328 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
3329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3335 test -z "$ac_cv_path_RM" && ac_cv_path_RM="rm"
3341 if test -n "$RM"; then
3342 echo "$as_me:$LINENO: result: $RM" >&5
3343 echo "${ECHO_T}$RM" >&6
3345 echo "$as_me:$LINENO: result: no" >&5
3346 echo "${ECHO_T}no" >&6
3349 # Extract the first word of "cp", so it can be a program name with args.
3350 set dummy cp; ac_word=$2
3351 echo "$as_me:$LINENO: checking for $ac_word" >&5
3352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3353 if test "${ac_cv_path_CP+set}" = set; then
3354 echo $ECHO_N "(cached) $ECHO_C" >&6
3358 ac_cv_path_CP="$CP" # Let the user override the test with a path.
3361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3365 test -z "$as_dir" && as_dir=.
3366 for ac_exec_ext in '' $ac_executable_extensions; do
3367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3368 ac_cv_path_CP="$as_dir/$ac_word$ac_exec_ext"
3369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3375 test -z "$ac_cv_path_CP" && ac_cv_path_CP="cp"
3381 if test -n "$CP"; then
3382 echo "$as_me:$LINENO: result: $CP" >&5
3383 echo "${ECHO_T}$CP" >&6
3385 echo "$as_me:$LINENO: result: no" >&5
3386 echo "${ECHO_T}no" >&6
3389 # Extract the first word of "sed", so it can be a program name with args.
3390 set dummy sed; ac_word=$2
3391 echo "$as_me:$LINENO: checking for $ac_word" >&5
3392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3393 if test "${ac_cv_path_SED+set}" = set; then
3394 echo $ECHO_N "(cached) $ECHO_C" >&6
3398 ac_cv_path_SED="$SED" # Let the user override the test with a path.
3401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 test -z "$as_dir" && as_dir=.
3406 for ac_exec_ext in '' $ac_executable_extensions; do
3407 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3408 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
3409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3415 test -z "$ac_cv_path_SED" && ac_cv_path_SED="sed"
3421 if test -n "$SED"; then
3422 echo "$as_me:$LINENO: result: $SED" >&5
3423 echo "${ECHO_T}$SED" >&6
3425 echo "$as_me:$LINENO: result: no" >&5
3426 echo "${ECHO_T}no" >&6
3429 # Extract the first word of "awk", so it can be a program name with args.
3430 set dummy awk; ac_word=$2
3431 echo "$as_me:$LINENO: checking for $ac_word" >&5
3432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3433 if test "${ac_cv_path_AWK+set}" = set; then
3434 echo $ECHO_N "(cached) $ECHO_C" >&6
3438 ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 test -z "$as_dir" && as_dir=.
3446 for ac_exec_ext in '' $ac_executable_extensions; do
3447 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3448 ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
3449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3455 test -z "$ac_cv_path_AWK" && ac_cv_path_AWK="awk"
3461 if test -n "$AWK"; then
3462 echo "$as_me:$LINENO: result: $AWK" >&5
3463 echo "${ECHO_T}$AWK" >&6
3465 echo "$as_me:$LINENO: result: no" >&5
3466 echo "${ECHO_T}no" >&6
3469 # Extract the first word of "echo", so it can be a program name with args.
3470 set dummy echo; ac_word=$2
3471 echo "$as_me:$LINENO: checking for $ac_word" >&5
3472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3473 if test "${ac_cv_path_ECHO+set}" = set; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3478 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
3481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3485 test -z "$as_dir" && as_dir=.
3486 for ac_exec_ext in '' $ac_executable_extensions; do
3487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3488 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
3489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3495 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="echo"
3499 ECHO=$ac_cv_path_ECHO
3501 if test -n "$ECHO"; then
3502 echo "$as_me:$LINENO: result: $ECHO" >&5
3503 echo "${ECHO_T}$ECHO" >&6
3505 echo "$as_me:$LINENO: result: no" >&5
3506 echo "${ECHO_T}no" >&6
3509 # Extract the first word of "cmp", so it can be a program name with args.
3510 set dummy cmp; ac_word=$2
3511 echo "$as_me:$LINENO: checking for $ac_word" >&5
3512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3513 if test "${ac_cv_path_CMP+set}" = set; then
3514 echo $ECHO_N "(cached) $ECHO_C" >&6
3518 ac_cv_path_CMP="$CMP" # Let the user override the test with a path.
3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 test -z "$as_dir" && as_dir=.
3526 for ac_exec_ext in '' $ac_executable_extensions; do
3527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3528 ac_cv_path_CMP="$as_dir/$ac_word$ac_exec_ext"
3529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3535 test -z "$ac_cv_path_CMP" && ac_cv_path_CMP="cmp"
3541 if test -n "$CMP"; then
3542 echo "$as_me:$LINENO: result: $CMP" >&5
3543 echo "${ECHO_T}$CMP" >&6
3545 echo "$as_me:$LINENO: result: no" >&5
3546 echo "${ECHO_T}no" >&6
3549 # Extract the first word of "tbl", so it can be a program name with args.
3550 set dummy tbl; ac_word=$2
3551 echo "$as_me:$LINENO: checking for $ac_word" >&5
3552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3553 if test "${ac_cv_path_TBL+set}" = set; then
3554 echo $ECHO_N "(cached) $ECHO_C" >&6
3558 ac_cv_path_TBL="$TBL" # Let the user override the test with a path.
3561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3565 test -z "$as_dir" && as_dir=.
3566 for ac_exec_ext in '' $ac_executable_extensions; do
3567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3568 ac_cv_path_TBL="$as_dir/$ac_word$ac_exec_ext"
3569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 test -z "$ac_cv_path_TBL" && ac_cv_path_TBL="tbl"
3581 if test -n "$TBL"; then
3582 echo "$as_me:$LINENO: result: $TBL" >&5
3583 echo "${ECHO_T}$TBL" >&6
3585 echo "$as_me:$LINENO: result: no" >&5
3586 echo "${ECHO_T}no" >&6
3589 # Extract the first word of "ar", so it can be a program name with args.
3590 set dummy ar; ac_word=$2
3591 echo "$as_me:$LINENO: checking for $ac_word" >&5
3592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3593 if test "${ac_cv_path_AR+set}" = set; then
3594 echo $ECHO_N "(cached) $ECHO_C" >&6
3598 ac_cv_path_AR="$AR" # Let the user override the test with a path.
3601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3605 test -z "$as_dir" && as_dir=.
3606 for ac_exec_ext in '' $ac_executable_extensions; do
3607 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3608 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
3609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 test -z "$ac_cv_path_AR" && ac_cv_path_AR="ar"
3621 if test -n "$AR"; then
3622 echo "$as_me:$LINENO: result: $AR" >&5
3623 echo "${ECHO_T}$AR" >&6
3625 echo "$as_me:$LINENO: result: no" >&5
3626 echo "${ECHO_T}no" >&6
3629 # Extract the first word of "ranlib", so it can be a program name with args.
3630 set dummy ranlib; ac_word=$2
3631 echo "$as_me:$LINENO: checking for $ac_word" >&5
3632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3633 if test "${ac_cv_path_RANLIB+set}" = set; then
3634 echo $ECHO_N "(cached) $ECHO_C" >&6
3638 ac_cv_path_RANLIB="$RANLIB" # Let the user override the test with a path.
3641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 test -z "$as_dir" && as_dir=.
3646 for ac_exec_ext in '' $ac_executable_extensions; do
3647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3648 ac_cv_path_RANLIB="$as_dir/$ac_word$ac_exec_ext"
3649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3655 test -z "$ac_cv_path_RANLIB" && ac_cv_path_RANLIB="ranlib"
3659 RANLIB=$ac_cv_path_RANLIB
3661 if test -n "$RANLIB"; then
3662 echo "$as_me:$LINENO: result: $RANLIB" >&5
3663 echo "${ECHO_T}$RANLIB" >&6
3665 echo "$as_me:$LINENO: result: no" >&5
3666 echo "${ECHO_T}no" >&6
3669 # Extract the first word of "openssl", so it can be a program name with args.
3670 set dummy openssl; ac_word=$2
3671 echo "$as_me:$LINENO: checking for $ac_word" >&5
3672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3673 if test "${ac_cv_path_OPENSSL+set}" = set; then
3674 echo $ECHO_N "(cached) $ECHO_C" >&6
3678 ac_cv_path_OPENSSL="$OPENSSL" # Let the user override the test with a path.
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 test -z "$as_dir" && as_dir=.
3686 for ac_exec_ext in '' $ac_executable_extensions; do
3687 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3688 ac_cv_path_OPENSSL="$as_dir/$ac_word$ac_exec_ext"
3689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 test -z "$ac_cv_path_OPENSSL" && ac_cv_path_OPENSSL="none"
3699 OPENSSL=$ac_cv_path_OPENSSL
3701 if test -n "$OPENSSL"; then
3702 echo "$as_me:$LINENO: result: $OPENSSL" >&5
3703 echo "${ECHO_T}$OPENSSL" >&6
3705 echo "$as_me:$LINENO: result: no" >&5
3706 echo "${ECHO_T}no" >&6
3709 # Extract the first word of "mtx", so it can be a program name with args.
3710 set dummy mtx; ac_word=$2
3711 echo "$as_me:$LINENO: checking for $ac_word" >&5
3712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3713 if test "${ac_cv_path_MTX+set}" = set; then
3714 echo $ECHO_N "(cached) $ECHO_C" >&6
3718 ac_cv_path_MTX="$MTX" # Let the user override the test with a path.
3721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3725 test -z "$as_dir" && as_dir=.
3726 for ac_exec_ext in '' $ac_executable_extensions; do
3727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3728 ac_cv_path_MTX="$as_dir/$ac_word$ac_exec_ext"
3729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3735 test -z "$ac_cv_path_MTX" && ac_cv_path_MTX="mtx"
3741 if test -n "$MTX"; then
3742 echo "$as_me:$LINENO: result: $MTX" >&5
3743 echo "${ECHO_T}$MTX" >&6
3745 echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6
3749 # Extract the first word of "pkg-config", so it can be a program name with args.
3750 set dummy pkg-config; ac_word=$2
3751 echo "$as_me:$LINENO: checking for $ac_word" >&5
3752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3753 if test "${ac_cv_path_PKGCONFIG+set}" = set; then
3754 echo $ECHO_N "(cached) $ECHO_C" >&6
3758 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path.
3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765 test -z "$as_dir" && as_dir=.
3766 for ac_exec_ext in '' $ac_executable_extensions; do
3767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3768 ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext"
3769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 test -z "$ac_cv_path_PKGCONFIG" && ac_cv_path_PKGCONFIG="pkg-config"
3779 PKGCONFIG=$ac_cv_path_PKGCONFIG
3781 if test -n "$PKGCONFIG"; then
3782 echo "$as_me:$LINENO: result: $PKGCONFIG" >&5
3783 echo "${ECHO_T}$PKGCONFIG" >&6
3785 echo "$as_me:$LINENO: result: no" >&5
3786 echo "${ECHO_T}no" >&6
3790 test -n "$ARFLAG" || ARFLAGS="cr"
3803 echo "$as_me:$LINENO: checking for Operating System" >&5
3804 echo $ECHO_N "checking for Operating System... $ECHO_C" >&6
3807 *cygwin* ) CYGWIN=yes;;
3811 if test $HAVE_UNAME=yes -a x`uname -s` = xSunOS
3817 HAVE_SUN_OS_FALSE='#'
3819 HAVE_SUN_OS_TRUE='#'
3822 cat >>confdefs.h <<\_ACEOF
3823 #define HAVE_SUN_OS 1
3831 HAVE_SUN_OS_FALSE='#'
3833 HAVE_SUN_OS_TRUE='#'
3838 if test $HAVE_UNAME=yes -a x`uname -s` = xOSF1
3844 HAVE_OSF1_OS_FALSE='#'
3846 HAVE_OSF1_OS_TRUE='#'
3849 cat >>confdefs.h <<\_ACEOF
3850 #define HAVE_OSF1_OS 1
3858 HAVE_OSF1_OS_FALSE='#'
3860 HAVE_OSF1_OS_TRUE='#'
3865 if test $HAVE_UNAME=yes -a x`uname -s` = xAIX
3871 HAVE_AIX_OS_FALSE='#'
3873 HAVE_AIX_OS_TRUE='#'
3876 cat >>confdefs.h <<\_ACEOF
3877 #define HAVE_AIX_OS 1
3885 HAVE_AIX_OS_FALSE='#'
3887 HAVE_AIX_OS_TRUE='#'
3892 if test $HAVE_UNAME=yes -a x`uname -s` = xHP-UX
3898 HAVE_HPUX_OS_FALSE='#'
3900 HAVE_HPUX_OS_TRUE='#'
3903 cat >>confdefs.h <<\_ACEOF
3904 #define HAVE_HPUX_OS 1
3912 HAVE_HPUX_OS_FALSE='#'
3914 HAVE_HPUX_OS_TRUE='#'
3919 if test $HAVE_UNAME=yes -a x`uname -s` = xLinux
3925 HAVE_LINUX_OS_FALSE='#'
3927 HAVE_LINUX_OS_TRUE='#'
3928 HAVE_LINUX_OS_FALSE=
3930 cat >>confdefs.h <<\_ACEOF
3931 #define HAVE_LINUX_OS 1
3939 HAVE_LINUX_OS_FALSE='#'
3941 HAVE_LINUX_OS_TRUE='#'
3942 HAVE_LINUX_OS_FALSE=
3946 if test $HAVE_UNAME=yes -a x`uname -s` = xFreeBSD
3951 HAVE_FREEBSD_OS_TRUE=
3952 HAVE_FREEBSD_OS_FALSE='#'
3954 HAVE_FREEBSD_OS_TRUE='#'
3955 HAVE_FREEBSD_OS_FALSE=
3957 cat >>confdefs.h <<\_ACEOF
3958 #define HAVE_FREEBSD_OS 1
3965 HAVE_FREEBSD_OS_TRUE=
3966 HAVE_FREEBSD_OS_FALSE='#'
3968 HAVE_FREEBSD_OS_TRUE='#'
3969 HAVE_FREEBSD_OS_FALSE=
3973 if test $HAVE_UNAME=yes -a x`uname -s` = xNetBSD
3978 HAVE_NETBSD_OS_TRUE=
3979 HAVE_NETBSD_OS_FALSE='#'
3981 HAVE_NETBSD_OS_TRUE='#'
3982 HAVE_NETBSD_OS_FALSE=
3984 cat >>confdefs.h <<\_ACEOF
3985 #define HAVE_NETBSD_OS 1
3992 HAVE_NETBSD_OS_TRUE=
3993 HAVE_NETBSD_OS_FALSE='#'
3995 HAVE_NETBSD_OS_TRUE='#'
3996 HAVE_NETBSD_OS_FALSE=
4000 if test $HAVE_UNAME=yes -a x`uname -s` = xOpenBSD
4005 HAVE_OPENBSD_OS_TRUE=
4006 HAVE_OPENBSD_OS_FALSE='#'
4008 HAVE_OPENBSD_OS_TRUE='#'
4009 HAVE_OPENBSD_OS_FALSE=
4011 cat >>confdefs.h <<\_ACEOF
4012 #define HAVE_OPENBSD_OS 1
4019 HAVE_OPENBSD_OS_TRUE=
4020 HAVE_OPENBSD_OS_FALSE='#'
4022 HAVE_OPENBSD_OS_TRUE='#'
4023 HAVE_OPENBSD_OS_FALSE=
4027 if test $HAVE_UNAME=yes -a x`uname -s` = xBSD/OS
4033 HAVE_BSDI_OS_FALSE='#'
4035 HAVE_BSDI_OS_TRUE='#'
4038 cat >>confdefs.h <<\_ACEOF
4039 #define HAVE_BSDI_OS 1
4047 HAVE_BSDI_OS_FALSE='#'
4049 HAVE_BSDI_OS_TRUE='#'
4054 if test $HAVE_UNAME=yes -a x`uname -s` = xSGI
4060 HAVE_SGI_OS_FALSE='#'
4062 HAVE_SGI_OS_TRUE='#'
4065 cat >>confdefs.h <<\_ACEOF
4066 #define HAVE_SGI_OS 1
4074 HAVE_SGI_OS_FALSE='#'
4076 HAVE_SGI_OS_TRUE='#'
4081 if test $HAVE_UNAME=yes -a x`uname -s` = xIRIX
4087 HAVE_IRIX_OS_FALSE='#'
4089 HAVE_IRIX_OS_TRUE='#'
4092 cat >>confdefs.h <<\_ACEOF
4093 #define HAVE_IRIX_OS 1
4101 HAVE_IRIX_OS_FALSE='#'
4103 HAVE_IRIX_OS_TRUE='#'
4108 if test $HAVE_UNAME=yes -a x`uname -s` = xDarwin
4113 HAVE_DARWIN_OS_TRUE=
4114 HAVE_DARWIN_OS_FALSE='#'
4116 HAVE_DARWIN_OS_TRUE='#'
4117 HAVE_DARWIN_OS_FALSE=
4119 cat >>confdefs.h <<\_ACEOF
4120 #define HAVE_DARWIN_OS 1
4127 HAVE_DARWIN_OS_TRUE=
4128 HAVE_DARWIN_OS_FALSE='#'
4130 HAVE_DARWIN_OS_TRUE='#'
4131 HAVE_DARWIN_OS_FALSE=
4135 echo "$as_me:$LINENO: result: \" \"" >&5
4136 echo "${ECHO_T}\" \"" >&6
4139 # -----------------------------------------------------------
4140 # ----------------------------------------------------------
4141 echo "$as_me:$LINENO: checking for Operating System Distribution" >&5
4142 echo $ECHO_N "checking for Operating System Distribution... $ECHO_C" >&6
4143 if test "x$DISTNAME" != "x"
4145 echo "distname set to $DISTNAME"
4146 elif test $HAVE_UNAME=yes -a x`uname -s` = xOSF1
4149 elif test $HAVE_UNAME=yes -a x`uname -s` = xAIX
4152 elif test $HAVE_UNAME=yes -a x`uname -s` = xHP-UX
4155 elif test $HAVE_UNAME=yes -a x`uname -s` = xSunOS
4158 elif test $HAVE_UNAME=yes -a x`uname -s` = xFreeBSD
4161 elif test $HAVE_UNAME=yes -a x`uname -s` = xNetBSD
4164 elif test $HAVE_UNAME=yes -a x`uname -s` = xOpenBSD
4167 elif test $HAVE_UNAME=yes -a x`uname -s` = xIRIX
4170 elif test $HAVE_UNAME=yes -a x`uname -s` = xBSD/OS
4173 elif test -f /etc/SuSE-release
4176 elif test -d /etc/SuSEconfig
4179 elif test -f /etc/mandrake-release
4182 elif test -f /etc/redhat-release
4185 elif test -f /etc/gentoo-release
4188 elif test -f /etc/debian_version
4191 elif test -f /etc/slackware-version
4194 elif test $HAVE_UNAME=yes -a x`uname -s` = xDarwin
4197 elif test -f /etc/engarde-version
4200 elif test "$CYGWIN" = yes
4203 cat >>confdefs.h <<\_ACEOF
4204 #define HAVE_CYGWIN 1
4210 echo "$as_me:$LINENO: result: \" \"" >&5
4211 echo "${ECHO_T}\" \"" >&6
4214 # -----------------------------------------------------------
4215 # ----------------------------------------------------------
4220 INSIDE_GNOME_COMMON_TRUE=
4221 INSIDE_GNOME_COMMON_FALSE='#'
4223 INSIDE_GNOME_COMMON_TRUE='#'
4224 INSIDE_GNOME_COMMON_FALSE=
4227 test -n "$ACLOCAL_FLAGS" && ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
4229 for k in gnome-macros ; do ACLOCAL="$ACLOCAL -I $k" ; done
4232 # ------------------------------------------------------------------
4233 # If the user has not set --prefix, we set our default to nothing.
4234 # In this case, if the user has not set --sysconfdir, we set it
4235 # to the package default of /etc/bacula. If either --prefix or
4236 # --sysconfdir is set, we leave sysconfdir alone except to eval it.
4237 # ------------------------------------------------------------------
4238 if test x${prefix} = xNONE ; then
4239 if test `eval echo ${sysconfdir}` = NONE/etc ; then
4240 sysconfdir=/etc/bacula
4244 sysconfdir=`eval echo ${sysconfdir}`
4246 # -------------------------------------------------------------------------
4247 # If the user has not set --exec-prefix, we default to ${prefix}
4248 # -------------------------------------------------------------------------
4249 if test x${exec_prefix} = xNONE ; then
4250 exec_prefix=${prefix}
4253 # ------------------------------------------------------------------
4254 # If the user has not set --sbindir, we set our default as /sbin
4255 # ------------------------------------------------------------------
4256 if test x$sbindir = x'${exec_prefix}/sbin' ; then
4257 sbindir=${exec_prefix}/sbin
4259 sbindir=`eval echo ${sbindir}`
4261 # ------------------------------------------------------------------
4262 # All list of languages for which a translation exist. Each
4263 # language is separated by a space.
4264 # ------------------------------------------------------------------
4267 for ac_prog in msgfmt
4269 # Extract the first word of "$ac_prog", so it can be a program name with args.
4270 set dummy $ac_prog; ac_word=$2
4271 echo "$as_me:$LINENO: checking for $ac_word" >&5
4272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4273 if test "${ac_cv_path_MSGFMT+set}" = set; then
4274 echo $ECHO_N "(cached) $ECHO_C" >&6
4278 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4285 test -z "$as_dir" && as_dir=.
4286 for ac_exec_ext in '' $ac_executable_extensions; do
4287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4288 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4298 MSGFMT=$ac_cv_path_MSGFMT
4300 if test -n "$MSGFMT"; then
4301 echo "$as_me:$LINENO: result: $MSGFMT" >&5
4302 echo "${ECHO_T}$MSGFMT" >&6
4304 echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6
4308 test -n "$MSGFMT" && break
4310 test -n "$MSGFMT" || MSGFMT="no"
4312 if test "$MSGFMT" = "no"
4314 echo 'msgfmt program not found, disabling NLS !'
4316 USE_INCLUDED_LIBINTL=no
4324 support_postgresql=no
4325 support_smartalloc=yes
4326 support_readline=yes
4328 support_static_tools=no
4329 support_static_fd=no
4330 support_static_sd=no
4331 support_static_dir=no
4332 support_static_cons=no
4333 build_client_only=no
4339 # -------------------------------------------
4340 # gnome (default off)
4341 # -------------------------------------------
4342 # Check whether --enable-gnome or --disable-gnome was given.
4343 if test "${enable_gnome+set}" = set; then
4344 enableval="$enable_gnome"
4345 if test x$enableval = xyes; then
4351 if test x$support_gnome = xyes; then
4352 abc=`$PKGCONFIG --exists libgnomeui-2.0`
4354 if test $pkg = 0; then
4355 GNOME_INCLUDEDIR=`pkg-config --cflags-only-I libgnomeui-2.0`
4356 GNOMEUI_LIBS=`pkg-config --libs-only-l libgnomeui-2.0`
4357 GNOME_LIBDIR=`pkg-config --libs libgnomeui-2.0`
4358 GNOME_LIBS=`pkg-config --libs-only-l libgnomeui-2.0`
4363 GNOME_DIR=src/gnome2-console
4376 # Check whether --with-gnome-includes or --without-gnome-includes was given.
4377 if test "${with_gnome_includes+set}" = set; then
4378 withval="$with_gnome_includes"
4380 CFLAGS="$CFLAGS -I$withval"
4385 # Check whether --with-gnome-libs or --without-gnome-libs was given.
4386 if test "${with_gnome_libs+set}" = set; then
4387 withval="$with_gnome_libs"
4389 LDFLAGS="$LDFLAGS -L$withval"
4390 gnome_prefix=$withval
4395 # Check whether --with-gnome or --without-gnome was given.
4396 if test "${with_gnome+set}" = set; then
4397 withval="$with_gnome"
4398 if test x$withval = xyes; then
4402 if test "x$withval" = xno; then
4406 LDFLAGS="$LDFLAGS -L$withval/lib"
4407 CFLAGS="$CFLAGS -I$withval/include"
4408 gnome_prefix=$withval/lib
4415 if test "x$want_gnome" = xyes; then
4417 # Extract the first word of "gnome-config", so it can be a program name with args.
4418 set dummy gnome-config; ac_word=$2
4419 echo "$as_me:$LINENO: checking for $ac_word" >&5
4420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4421 if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then
4422 echo $ECHO_N "(cached) $ECHO_C" >&6
4424 case $GNOME_CONFIG in
4426 ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a path.
4429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433 test -z "$as_dir" && as_dir=.
4434 for ac_exec_ext in '' $ac_executable_extensions; do
4435 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4436 ac_cv_path_GNOME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4443 test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no"
4447 GNOME_CONFIG=$ac_cv_path_GNOME_CONFIG
4449 if test -n "$GNOME_CONFIG"; then
4450 echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
4451 echo "${ECHO_T}$GNOME_CONFIG" >&6
4453 echo "$as_me:$LINENO: result: no" >&5
4454 echo "${ECHO_T}no" >&6
4457 if test "$GNOME_CONFIG" = "no"; then
4458 no_gnome_config="yes"
4460 echo "$as_me:$LINENO: checking if $GNOME_CONFIG works" >&5
4461 echo $ECHO_N "checking if $GNOME_CONFIG works... $ECHO_C" >&6
4462 if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then
4463 echo "$as_me:$LINENO: result: yes" >&5
4464 echo "${ECHO_T}yes" >&6
4467 # Extract the first word of "orbit-config", so it can be a program name with args.
4468 set dummy orbit-config; ac_word=$2
4469 echo "$as_me:$LINENO: checking for $ac_word" >&5
4470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4471 if test "${ac_cv_path_ORBIT_CONFIG+set}" = set; then
4472 echo $ECHO_N "(cached) $ECHO_C" >&6
4474 case $ORBIT_CONFIG in
4476 ac_cv_path_ORBIT_CONFIG="$ORBIT_CONFIG" # Let the user override the test with a path.
4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4483 test -z "$as_dir" && as_dir=.
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4486 ac_cv_path_ORBIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4493 test -z "$ac_cv_path_ORBIT_CONFIG" && ac_cv_path_ORBIT_CONFIG="no"
4497 ORBIT_CONFIG=$ac_cv_path_ORBIT_CONFIG
4499 if test -n "$ORBIT_CONFIG"; then
4500 echo "$as_me:$LINENO: result: $ORBIT_CONFIG" >&5
4501 echo "${ECHO_T}$ORBIT_CONFIG" >&6
4503 echo "$as_me:$LINENO: result: no" >&5
4504 echo "${ECHO_T}no" >&6
4507 # Extract the first word of "orbit-idl", so it can be a program name with args.
4508 set dummy orbit-idl; ac_word=$2
4509 echo "$as_me:$LINENO: checking for $ac_word" >&5
4510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4511 if test "${ac_cv_path_ORBIT_IDL+set}" = set; then
4512 echo $ECHO_N "(cached) $ECHO_C" >&6
4516 ac_cv_path_ORBIT_IDL="$ORBIT_IDL" # Let the user override the test with a path.
4519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4523 test -z "$as_dir" && as_dir=.
4524 for ac_exec_ext in '' $ac_executable_extensions; do
4525 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4526 ac_cv_path_ORBIT_IDL="$as_dir/$ac_word$ac_exec_ext"
4527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4533 test -z "$ac_cv_path_ORBIT_IDL" && ac_cv_path_ORBIT_IDL="no"
4537 ORBIT_IDL=$ac_cv_path_ORBIT_IDL
4539 if test -n "$ORBIT_IDL"; then
4540 echo "$as_me:$LINENO: result: $ORBIT_IDL" >&5
4541 echo "${ECHO_T}$ORBIT_IDL" >&6
4543 echo "$as_me:$LINENO: result: no" >&5
4544 echo "${ECHO_T}no" >&6
4547 echo "$as_me:$LINENO: checking for working ORBit environment" >&5
4548 echo $ECHO_N "checking for working ORBit environment... $ECHO_C" >&6
4549 if test "${gnome_cv_orbit_found+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 if test x$ORBIT_CONFIG = xno -o x$ORBIT_IDL = xno; then
4554 gnome_cv_orbit_found=no
4556 gnome_cv_orbit_found=yes
4560 echo "$as_me:$LINENO: result: $gnome_cv_orbit_found" >&5
4561 echo "${ECHO_T}$gnome_cv_orbit_found" >&6
4564 if test x$gnome_cv_orbit_found = xyes; then
4566 HAVE_ORBIT_FALSE='#'
4571 if test x$gnome_cv_orbit_found = xyes; then
4573 ORBIT_CFLAGS=`orbit-config --cflags client server`
4574 ORBIT_LIBS=`orbit-config --use-service=name --libs client server`
4578 if test xfail = xfailure; then
4579 { { echo "$as_me:$LINENO: error: ORBit not installed or installation problem" >&5
4580 echo "$as_me: error: ORBit not installed or installation problem" >&2;}
4581 { (exit 1); exit 1; }; }
4585 echo "$as_me:$LINENO: checking for gnorba libraries" >&5
4586 echo $ECHO_N "checking for gnorba libraries... $ECHO_C" >&6
4587 if test "${gnome_cv_gnorba_found+set}" = set; then
4588 echo $ECHO_N "(cached) $ECHO_C" >&6
4591 gnome_cv_gnorba_found=no
4592 if test x$gnome_cv_orbit_found = xyes; then
4593 GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
4594 GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
4595 if test -n "$GNORBA_LIBS"; then
4596 gnome_cv_gnorba_found=yes
4601 echo "$as_me:$LINENO: result: $gnome_cv_gnorba_found" >&5
4602 echo "${ECHO_T}$gnome_cv_gnorba_found" >&6
4605 if test x$gnome_cv_gnorba_found = xyes; then
4607 HAVE_GNORBA_FALSE='#'
4609 HAVE_GNORBA_TRUE='#'
4612 if test x$gnome_cv_orbit_found = xyes; then
4614 GNORBA_CFLAGS="`gnome-config --cflags gnorba gnomeui`"
4615 GNORBA_LIBS="`gnome-config --libs gnorba gnomeui`"
4619 if test xfail = xfailure; then
4620 { { echo "$as_me:$LINENO: error: gnorba library not installed or installation problem" >&5
4621 echo "$as_me: error: gnorba library not installed or installation problem" >&2;}
4622 { (exit 1); exit 1; }; }
4626 GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome`"
4627 GNOMEUI_LIBS="`$GNOME_CONFIG --libs-only-l gnomeui`"
4628 GNOMEGNORBA_LIBS="`$GNOME_CONFIG --libs-only-l gnorba gnomeui`"
4629 GTKXMHTML_LIBS="`$GNOME_CONFIG --libs-only-l gtkxmhtml`"
4630 ZVT_LIBS="`$GNOME_CONFIG --libs-only-l zvt`"
4631 GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
4632 GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`"
4635 echo "$as_me:$LINENO: result: no" >&5
4636 echo "${ECHO_T}no" >&6
4637 no_gnome_config="yes"
4641 if test x$exec_prefix = xNONE; then
4642 if test x$prefix = xNONE; then
4643 gnome_prefix=$ac_default_prefix/lib
4645 gnome_prefix=$prefix/lib
4648 gnome_prefix=`eval echo \`echo $libdir\``
4651 if test "$no_gnome_config" = "yes"; then
4652 echo "$as_me:$LINENO: checking for gnomeConf.sh file in $gnome_prefix" >&5
4653 echo $ECHO_N "checking for gnomeConf.sh file in $gnome_prefix... $ECHO_C" >&6
4654 if test -f $gnome_prefix/gnomeConf.sh; then
4655 echo "$as_me:$LINENO: result: found" >&5
4656 echo "${ECHO_T}found" >&6
4657 echo "loading gnome configuration from" \
4658 "$gnome_prefix/gnomeConf.sh"
4659 . $gnome_prefix/gnomeConf.sh
4662 echo "$as_me:$LINENO: result: not found" >&5
4663 echo "${ECHO_T}not found" >&6
4664 if test xfail = xfail; then
4665 { { echo "$as_me:$LINENO: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&5
4666 echo "$as_me: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&2;}
4667 { (exit 1); exit 1; }; }
4676 echo "$as_me:$LINENO: checking extra library \"$i\"" >&5
4677 echo $ECHO_N "checking extra library \"$i\"... $ECHO_C" >&6
4681 GNOME_APPLETS_LIBS=`$GNOME_CONFIG --libs-only-l applets`
4682 echo "$as_me:$LINENO: result: $GNOME_APPLETS_LIBS" >&5
4683 echo "${ECHO_T}$GNOME_APPLETS_LIBS" >&6;;
4686 GNOME_DOCKLETS_LIBS=`$GNOME_CONFIG --libs-only-l docklets`
4687 echo "$as_me:$LINENO: result: $GNOME_DOCKLETS_LIBS" >&5
4688 echo "${ECHO_T}$GNOME_DOCKLETS_LIBS" >&6;;
4691 GNOME_CAPPLET_LIBS=`$GNOME_CONFIG --libs-only-l capplet`
4692 echo "$as_me:$LINENO: result: $GNOME_CAPPLET_LIBS" >&5
4693 echo "${ECHO_T}$GNOME_CAPPLET_LIBS" >&6;;
4695 echo "$as_me:$LINENO: result: unknown library" >&5
4696 echo "${ECHO_T}unknown library" >&6
4698 EXTRA_INCLUDEDIR=`$GNOME_CONFIG --cflags $i`
4699 GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR $EXTRA_INCLUDEDIR"
4704 GNOME_DIR=src/gnome-console
4710 # -------------------------------------------
4711 # smartalloc (default off)
4712 # -------------------------------------------
4713 # Check whether --enable-smartalloc or --disable-smartalloc was given.
4714 if test "${enable_smartalloc+set}" = set; then
4715 enableval="$enable_smartalloc"
4716 if test x$enableval = xno; then
4717 support_smartalloc=no
4721 if test x$support_smartalloc = xyes; then
4722 cat >>confdefs.h <<\_ACEOF
4723 #define SMARTALLOC 1
4728 # -------------------------------------------
4729 # static-tools (default off)
4730 # -------------------------------------------
4731 # Check whether --enable-static-tools or --disable-static-tools was given.
4732 if test "${enable_static_tools+set}" = set; then
4733 enableval="$enable_static_tools"
4734 if test x$enableval = xyes; then
4735 support_static_tools=yes
4740 if test x$support_static_tools = xyes; then
4741 TTOOL_LDFLAGS="-static"
4745 # -------------------------------------------
4746 # static-fd (default off)
4747 # -------------------------------------------
4748 # Check whether --enable-static-fd or --disable-static-fd was given.
4749 if test "${enable_static_fd+set}" = set; then
4750 enableval="$enable_static_fd"
4751 if test x$enableval = xyes; then
4752 support_static_fd=yes
4757 if test x$support_static_fd = xyes; then
4758 STATIC_FD="static-bacula-fd"
4762 # -------------------------------------------
4763 # static-sd (default off)
4764 # -------------------------------------------
4765 # Check whether --enable-static-sd or --disable-static-sd was given.
4766 if test "${enable_static_sd+set}" = set; then
4767 enableval="$enable_static_sd"
4768 if test x$enableval = xyes; then
4769 support_static_sd=yes
4774 if test x$support_static_sd = xyes; then
4775 STATIC_SD="static-bacula-sd"
4779 # -------------------------------------------
4780 # static-dir (default off)
4781 # -------------------------------------------
4782 # Check whether --enable-static-dir or --disable-static-dir was given.
4783 if test "${enable_static_dir+set}" = set; then
4784 enableval="$enable_static_dir"
4785 if test x$enableval = xyes; then
4786 support_static_dir=yes
4791 if test x$support_static_dir = xyes; then
4792 STATIC_DIR="static-bacula-dir"
4796 # -------------------------------------------
4797 # static-cons (default off)
4798 # -------------------------------------------
4799 # Check whether --enable-static-cons or --disable-static-cons was given.
4800 if test "${enable_static_cons+set}" = set; then
4801 enableval="$enable_static_cons"
4802 if test x$enableval = xyes; then
4803 support_static_cons=yes
4808 if test x$support_static_cons = xyes; then
4809 STATIC_CONS="static-bconsole"
4813 # -------------------------------------------
4814 # client_only (default off)
4815 # -------------------------------------------
4816 # Check whether --enable-client-only or --disable-client-only was given.
4817 if test "${enable_client_only+set}" = set; then
4818 enableval="$enable_client_only"
4819 if test x$enableval = xyes; then
4820 build_client_only=yes
4823 if test x$build_client_only = xno; then
4830 # ---------------------------------------------------
4831 # Check for readline support/directory (default on)
4832 # ---------------------------------------------------
4833 # this allows you to turn it completely off
4834 # Check whether --enable-readline or --disable-readline was given.
4835 if test "${enable_readline+set}" = set; then
4836 enableval="$enable_readline"
4837 if test x$enableval = xno; then
4844 if test x$support_readline = xyes; then
4845 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4846 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4847 if test "${ac_cv_header_stdc+set}" = set; then
4848 echo $ECHO_N "(cached) $ECHO_C" >&6
4850 cat >conftest.$ac_ext <<_ACEOF
4851 #line $LINENO "configure"
4854 cat confdefs.h >>conftest.$ac_ext
4855 cat >>conftest.$ac_ext <<_ACEOF
4856 /* end confdefs.h. */
4870 rm -f conftest.$ac_objext
4871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4872 (eval $ac_compile) 2>&5
4874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4875 (exit $ac_status); } &&
4876 { ac_try='test -s conftest.$ac_objext'
4877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); }; }; then
4882 ac_cv_header_stdc=yes
4884 echo "$as_me: failed program was:" >&5
4885 sed 's/^/| /' conftest.$ac_ext >&5
4887 ac_cv_header_stdc=no
4889 rm -f conftest.$ac_objext conftest.$ac_ext
4891 if test $ac_cv_header_stdc = yes; then
4892 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4893 cat >conftest.$ac_ext <<_ACEOF
4894 #line $LINENO "configure"
4897 cat confdefs.h >>conftest.$ac_ext
4898 cat >>conftest.$ac_ext <<_ACEOF
4899 /* end confdefs.h. */
4903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4904 $EGREP "memchr" >/dev/null 2>&1; then
4907 ac_cv_header_stdc=no
4913 if test $ac_cv_header_stdc = yes; then
4914 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4915 cat >conftest.$ac_ext <<_ACEOF
4916 #line $LINENO "configure"
4919 cat confdefs.h >>conftest.$ac_ext
4920 cat >>conftest.$ac_ext <<_ACEOF
4921 /* end confdefs.h. */
4925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4926 $EGREP "free" >/dev/null 2>&1; then
4929 ac_cv_header_stdc=no
4935 if test $ac_cv_header_stdc = yes; then
4936 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4937 if test "$cross_compiling" = yes; then
4940 cat >conftest.$ac_ext <<_ACEOF
4941 #line $LINENO "configure"
4944 cat confdefs.h >>conftest.$ac_ext
4945 cat >>conftest.$ac_ext <<_ACEOF
4946 /* end confdefs.h. */
4948 #if ((' ' & 0x0FF) == 0x020)
4949 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4950 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4952 # define ISLOWER(c) \
4953 (('a' <= (c) && (c) <= 'i') \
4954 || ('j' <= (c) && (c) <= 'r') \
4955 || ('s' <= (c) && (c) <= 'z'))
4956 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4959 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4964 for (i = 0; i < 256; i++)
4965 if (XOR (islower (i), ISLOWER (i))
4966 || toupper (i) != TOUPPER (i))
4971 rm -f conftest$ac_exeext
4972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4973 (eval $ac_link) 2>&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); }; }; then
4984 echo "$as_me: program exited with status $ac_status" >&5
4985 echo "$as_me: failed program was:" >&5
4986 sed 's/^/| /' conftest.$ac_ext >&5
4989 ac_cv_header_stdc=no
4991 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4995 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4996 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4997 if test $ac_cv_header_stdc = yes; then
4999 cat >>confdefs.h <<\_ACEOF
5000 #define STDC_HEADERS 1
5005 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5015 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5016 inttypes.h stdint.h unistd.h
5018 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5019 echo "$as_me:$LINENO: checking for $ac_header" >&5
5020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5022 echo $ECHO_N "(cached) $ECHO_C" >&6
5024 cat >conftest.$ac_ext <<_ACEOF
5025 #line $LINENO "configure"
5028 cat confdefs.h >>conftest.$ac_ext
5029 cat >>conftest.$ac_ext <<_ACEOF
5030 /* end confdefs.h. */
5031 $ac_includes_default
5033 #include <$ac_header>
5035 rm -f conftest.$ac_objext
5036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5037 (eval $ac_compile) 2>&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); } &&
5041 { ac_try='test -s conftest.$ac_objext'
5042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; }; then
5047 eval "$as_ac_Header=yes"
5049 echo "$as_me: failed program was:" >&5
5050 sed 's/^/| /' conftest.$ac_ext >&5
5052 eval "$as_ac_Header=no"
5054 rm -f conftest.$ac_objext conftest.$ac_ext
5056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5058 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5059 cat >>confdefs.h <<_ACEOF
5060 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5069 # Check whether --with-readline or --without-readline was given.
5070 if test "${with_readline+set}" = set; then
5071 withval="$with_readline"
5073 case "$with_readline" in
5076 if test "$with_readline" != "yes"; then
5077 CONS_INC="-I${with_readline}"
5078 CONS_LDFLAGS="-L$with_readline"
5080 with_readline="/usr/include/readline"
5082 as_ac_Header=`echo "ac_cv_header_${with_readline}/readline.h" | $as_tr_sh`
5083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5084 echo "$as_me:$LINENO: checking for ${with_readline}/readline.h" >&5
5085 echo $ECHO_N "checking for ${with_readline}/readline.h... $ECHO_C" >&6
5086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5087 echo $ECHO_N "(cached) $ECHO_C" >&6
5089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5090 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5092 # Is the header compilable?
5093 echo "$as_me:$LINENO: checking ${with_readline}/readline.h usability" >&5
5094 echo $ECHO_N "checking ${with_readline}/readline.h usability... $ECHO_C" >&6
5095 cat >conftest.$ac_ext <<_ACEOF
5096 #line $LINENO "configure"
5099 cat confdefs.h >>conftest.$ac_ext
5100 cat >>conftest.$ac_ext <<_ACEOF
5101 /* end confdefs.h. */
5102 $ac_includes_default
5103 #include <${with_readline}/readline.h>
5105 rm -f conftest.$ac_objext
5106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5107 (eval $ac_compile) 2>&5
5109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5110 (exit $ac_status); } &&
5111 { ac_try='test -s conftest.$ac_objext'
5112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116 (exit $ac_status); }; }; then
5117 ac_header_compiler=yes
5119 echo "$as_me: failed program was:" >&5
5120 sed 's/^/| /' conftest.$ac_ext >&5
5122 ac_header_compiler=no
5124 rm -f conftest.$ac_objext conftest.$ac_ext
5125 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5126 echo "${ECHO_T}$ac_header_compiler" >&6
5128 # Is the header present?
5129 echo "$as_me:$LINENO: checking ${with_readline}/readline.h presence" >&5
5130 echo $ECHO_N "checking ${with_readline}/readline.h presence... $ECHO_C" >&6
5131 cat >conftest.$ac_ext <<_ACEOF
5132 #line $LINENO "configure"
5135 cat confdefs.h >>conftest.$ac_ext
5136 cat >>conftest.$ac_ext <<_ACEOF
5137 /* end confdefs.h. */
5138 #include <${with_readline}/readline.h>
5140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5141 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5143 grep -v '^ *+' conftest.er1 >conftest.err
5145 cat conftest.err >&5
5146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5147 (exit $ac_status); } >/dev/null; then
5148 if test -s conftest.err; then
5149 ac_cpp_err=$ac_c_preproc_warn_flag
5156 if test -z "$ac_cpp_err"; then
5157 ac_header_preproc=yes
5159 echo "$as_me: failed program was:" >&5
5160 sed 's/^/| /' conftest.$ac_ext >&5
5162 ac_header_preproc=no
5164 rm -f conftest.err conftest.$ac_ext
5165 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5166 echo "${ECHO_T}$ac_header_preproc" >&6
5168 # So? What about this header?
5169 case $ac_header_compiler:$ac_header_preproc in
5171 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
5172 echo "$as_me: WARNING: ${with_readline}/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5173 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: proceeding with the preprocessor's result" >&5
5174 echo "$as_me: WARNING: ${with_readline}/readline.h: proceeding with the preprocessor's result" >&2;}
5177 ## ------------------------------------ ##
5178 ## Report this to bug-autoconf@gnu.org. ##
5179 ## ------------------------------------ ##
5182 sed "s/^/$as_me: WARNING: /" >&2
5185 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: present but cannot be compiled" >&5
5186 echo "$as_me: WARNING: ${with_readline}/readline.h: present but cannot be compiled" >&2;}
5187 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: check for missing prerequisite headers?" >&5
5188 echo "$as_me: WARNING: ${with_readline}/readline.h: check for missing prerequisite headers?" >&2;}
5189 { echo "$as_me:$LINENO: WARNING: ${with_readline}/readline.h: proceeding with the preprocessor's result" >&5
5190 echo "$as_me: WARNING: ${with_readline}/readline.h: proceeding with the preprocessor's result" >&2;}
5193 ## ------------------------------------ ##
5194 ## Report this to bug-autoconf@gnu.org. ##
5195 ## ------------------------------------ ##
5198 sed "s/^/$as_me: WARNING: /" >&2
5201 echo "$as_me:$LINENO: checking for ${with_readline}/readline.h" >&5
5202 echo $ECHO_N "checking for ${with_readline}/readline.h... $ECHO_C" >&6
5203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 eval "$as_ac_Header=$ac_header_preproc"
5208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5213 cat >>confdefs.h <<\_ACEOF
5214 #define HAVE_READLINE 1
5217 CONS_LIBS="-lreadline -ltermcap"
5221 { { echo "$as_me:$LINENO: error: *** readline library missing" >&5
5222 echo "$as_me: error: *** readline library missing" >&2;}
5223 { (exit 1); exit 1; }; }
5234 # check for standard readline library
5235 if test "${ac_cv_header__usr_include_readline_readline_h+set}" = set; then
5236 echo "$as_me:$LINENO: checking for /usr/include/readline/readline.h" >&5
5237 echo $ECHO_N "checking for /usr/include/readline/readline.h... $ECHO_C" >&6
5238 if test "${ac_cv_header__usr_include_readline_readline_h+set}" = set; then
5239 echo $ECHO_N "(cached) $ECHO_C" >&6
5241 echo "$as_me:$LINENO: result: $ac_cv_header__usr_include_readline_readline_h" >&5
5242 echo "${ECHO_T}$ac_cv_header__usr_include_readline_readline_h" >&6
5244 # Is the header compilable?
5245 echo "$as_me:$LINENO: checking /usr/include/readline/readline.h usability" >&5
5246 echo $ECHO_N "checking /usr/include/readline/readline.h usability... $ECHO_C" >&6
5247 cat >conftest.$ac_ext <<_ACEOF
5248 #line $LINENO "configure"
5251 cat confdefs.h >>conftest.$ac_ext
5252 cat >>conftest.$ac_ext <<_ACEOF
5253 /* end confdefs.h. */
5254 $ac_includes_default
5255 #include </usr/include/readline/readline.h>
5257 rm -f conftest.$ac_objext
5258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5259 (eval $ac_compile) 2>&5
5261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5262 (exit $ac_status); } &&
5263 { ac_try='test -s conftest.$ac_objext'
5264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268 (exit $ac_status); }; }; then
5269 ac_header_compiler=yes
5271 echo "$as_me: failed program was:" >&5
5272 sed 's/^/| /' conftest.$ac_ext >&5
5274 ac_header_compiler=no
5276 rm -f conftest.$ac_objext conftest.$ac_ext
5277 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5278 echo "${ECHO_T}$ac_header_compiler" >&6
5280 # Is the header present?
5281 echo "$as_me:$LINENO: checking /usr/include/readline/readline.h presence" >&5
5282 echo $ECHO_N "checking /usr/include/readline/readline.h presence... $ECHO_C" >&6
5283 cat >conftest.$ac_ext <<_ACEOF
5284 #line $LINENO "configure"
5287 cat confdefs.h >>conftest.$ac_ext
5288 cat >>conftest.$ac_ext <<_ACEOF
5289 /* end confdefs.h. */
5290 #include </usr/include/readline/readline.h>
5292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5293 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5295 grep -v '^ *+' conftest.er1 >conftest.err
5297 cat conftest.err >&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); } >/dev/null; then
5300 if test -s conftest.err; then
5301 ac_cpp_err=$ac_c_preproc_warn_flag
5308 if test -z "$ac_cpp_err"; then
5309 ac_header_preproc=yes
5311 echo "$as_me: failed program was:" >&5
5312 sed 's/^/| /' conftest.$ac_ext >&5
5314 ac_header_preproc=no
5316 rm -f conftest.err conftest.$ac_ext
5317 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5318 echo "${ECHO_T}$ac_header_preproc" >&6
5320 # So? What about this header?
5321 case $ac_header_compiler:$ac_header_preproc in
5323 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
5324 echo "$as_me: WARNING: /usr/include/readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5325 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: proceeding with the preprocessor's result" >&5
5326 echo "$as_me: WARNING: /usr/include/readline/readline.h: proceeding with the preprocessor's result" >&2;}
5329 ## ------------------------------------ ##
5330 ## Report this to bug-autoconf@gnu.org. ##
5331 ## ------------------------------------ ##
5334 sed "s/^/$as_me: WARNING: /" >&2
5337 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: present but cannot be compiled" >&5
5338 echo "$as_me: WARNING: /usr/include/readline/readline.h: present but cannot be compiled" >&2;}
5339 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: check for missing prerequisite headers?" >&5
5340 echo "$as_me: WARNING: /usr/include/readline/readline.h: check for missing prerequisite headers?" >&2;}
5341 { echo "$as_me:$LINENO: WARNING: /usr/include/readline/readline.h: proceeding with the preprocessor's result" >&5
5342 echo "$as_me: WARNING: /usr/include/readline/readline.h: proceeding with the preprocessor's result" >&2;}
5345 ## ------------------------------------ ##
5346 ## Report this to bug-autoconf@gnu.org. ##
5347 ## ------------------------------------ ##
5350 sed "s/^/$as_me: WARNING: /" >&2
5353 echo "$as_me:$LINENO: checking for /usr/include/readline/readline.h" >&5
5354 echo $ECHO_N "checking for /usr/include/readline/readline.h... $ECHO_C" >&6
5355 if test "${ac_cv_header__usr_include_readline_readline_h+set}" = set; then
5356 echo $ECHO_N "(cached) $ECHO_C" >&6
5358 ac_cv_header__usr_include_readline_readline_h=$ac_header_preproc
5360 echo "$as_me:$LINENO: result: $ac_cv_header__usr_include_readline_readline_h" >&5
5361 echo "${ECHO_T}$ac_cv_header__usr_include_readline_readline_h" >&6
5364 if test $ac_cv_header__usr_include_readline_readline_h = yes; then
5365 cat >>confdefs.h <<\_ACEOF
5366 #define HAVE_READLINE 1
5370 CONS_INC="-I/usr/include/readline"
5371 CONS_LIBS="-lreadline -ltermcap"
5375 # Did not find standard library, so try Bacula's default
5376 as_ac_Header=`echo "ac_cv_header_${TOP_DIR}/depkgs/readline/readline.h" | $as_tr_sh`
5377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5378 echo "$as_me:$LINENO: checking for ${TOP_DIR}/depkgs/readline/readline.h" >&5
5379 echo $ECHO_N "checking for ${TOP_DIR}/depkgs/readline/readline.h... $ECHO_C" >&6
5380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5381 echo $ECHO_N "(cached) $ECHO_C" >&6
5383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5386 # Is the header compilable?
5387 echo "$as_me:$LINENO: checking ${TOP_DIR}/depkgs/readline/readline.h usability" >&5
5388 echo $ECHO_N "checking ${TOP_DIR}/depkgs/readline/readline.h usability... $ECHO_C" >&6
5389 cat >conftest.$ac_ext <<_ACEOF
5390 #line $LINENO "configure"
5393 cat confdefs.h >>conftest.$ac_ext
5394 cat >>conftest.$ac_ext <<_ACEOF
5395 /* end confdefs.h. */
5396 $ac_includes_default
5397 #include <${TOP_DIR}/depkgs/readline/readline.h>
5399 rm -f conftest.$ac_objext
5400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5401 (eval $ac_compile) 2>&5
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); } &&
5405 { ac_try='test -s conftest.$ac_objext'
5406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5410 (exit $ac_status); }; }; then
5411 ac_header_compiler=yes
5413 echo "$as_me: failed program was:" >&5
5414 sed 's/^/| /' conftest.$ac_ext >&5
5416 ac_header_compiler=no
5418 rm -f conftest.$ac_objext conftest.$ac_ext
5419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5420 echo "${ECHO_T}$ac_header_compiler" >&6
5422 # Is the header present?
5423 echo "$as_me:$LINENO: checking ${TOP_DIR}/depkgs/readline/readline.h presence" >&5
5424 echo $ECHO_N "checking ${TOP_DIR}/depkgs/readline/readline.h presence... $ECHO_C" >&6
5425 cat >conftest.$ac_ext <<_ACEOF
5426 #line $LINENO "configure"
5429 cat confdefs.h >>conftest.$ac_ext
5430 cat >>conftest.$ac_ext <<_ACEOF
5431 /* end confdefs.h. */
5432 #include <${TOP_DIR}/depkgs/readline/readline.h>
5434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5437 grep -v '^ *+' conftest.er1 >conftest.err
5439 cat conftest.err >&5
5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441 (exit $ac_status); } >/dev/null; then
5442 if test -s conftest.err; then
5443 ac_cpp_err=$ac_c_preproc_warn_flag
5450 if test -z "$ac_cpp_err"; then
5451 ac_header_preproc=yes
5453 echo "$as_me: failed program was:" >&5
5454 sed 's/^/| /' conftest.$ac_ext >&5
5456 ac_header_preproc=no
5458 rm -f conftest.err conftest.$ac_ext
5459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5460 echo "${ECHO_T}$ac_header_preproc" >&6
5462 # So? What about this header?
5463 case $ac_header_compiler:$ac_header_preproc in
5465 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
5466 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5467 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: proceeding with the preprocessor's result" >&5
5468 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: proceeding with the preprocessor's result" >&2;}
5471 ## ------------------------------------ ##
5472 ## Report this to bug-autoconf@gnu.org. ##
5473 ## ------------------------------------ ##
5476 sed "s/^/$as_me: WARNING: /" >&2
5479 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: present but cannot be compiled" >&5
5480 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: present but cannot be compiled" >&2;}
5481 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: check for missing prerequisite headers?" >&5
5482 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: check for missing prerequisite headers?" >&2;}
5483 { echo "$as_me:$LINENO: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: proceeding with the preprocessor's result" >&5
5484 echo "$as_me: WARNING: ${TOP_DIR}/depkgs/readline/readline.h: proceeding with the preprocessor's result" >&2;}
5487 ## ------------------------------------ ##
5488 ## Report this to bug-autoconf@gnu.org. ##
5489 ## ------------------------------------ ##
5492 sed "s/^/$as_me: WARNING: /" >&2
5495 echo "$as_me:$LINENO: checking for ${TOP_DIR}/depkgs/readline/readline.h" >&5
5496 echo $ECHO_N "checking for ${TOP_DIR}/depkgs/readline/readline.h... $ECHO_C" >&6
5497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5500 eval "$as_ac_Header=$ac_header_preproc"
5502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5507 cat >>confdefs.h <<\_ACEOF
5508 #define HAVE_READLINE 1
5512 CONS_INC="-I${TOP_DIR}/depkgs/readline"
5513 CONS_LIBS="-lreadline -lhistory -ltermcap"
5514 CONS_LDFLAGS="-L${TOP_DIR}/depkgs/readline"
5515 PRTREADLINE_SRC="${TOP_DIR}/depkgs/readline"
5518 { { echo "$as_me:$LINENO: error: *** readline library missing" >&5
5519 echo "$as_me: error: *** readline library missing" >&2;}
5520 { (exit 1); exit 1; }; }
5540 # Minimal stuff for readline Makefile configuration
5544 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
5545 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
5546 if test "${ac_cv_header_stat_broken+set}" = set; then
5547 echo $ECHO_N "(cached) $ECHO_C" >&6
5549 cat >conftest.$ac_ext <<_ACEOF
5550 #line $LINENO "configure"
5553 cat confdefs.h >>conftest.$ac_ext
5554 cat >>conftest.$ac_ext <<_ACEOF
5555 /* end confdefs.h. */
5556 #include <sys/types.h>
5557 #include <sys/stat.h>
5559 #if defined(S_ISBLK) && defined(S_IFDIR)
5560 # if S_ISBLK (S_IFDIR)
5565 #if defined(S_ISBLK) && defined(S_IFCHR)
5566 # if S_ISBLK (S_IFCHR)
5571 #if defined(S_ISLNK) && defined(S_IFREG)
5572 # if S_ISLNK (S_IFREG)
5577 #if defined(S_ISSOCK) && defined(S_IFREG)
5578 # if S_ISSOCK (S_IFREG)
5584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5585 $EGREP "You lose" >/dev/null 2>&1; then
5586 ac_cv_header_stat_broken=yes
5588 ac_cv_header_stat_broken=no
5593 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
5594 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
5595 if test $ac_cv_header_stat_broken = yes; then
5597 cat >>confdefs.h <<\_ACEOF
5598 #define STAT_MACROS_BROKEN 1
5609 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5610 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5611 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5612 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
5613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 cat >conftest.$ac_ext <<_ACEOF
5617 #line $LINENO "configure"
5620 cat confdefs.h >>conftest.$ac_ext
5621 cat >>conftest.$ac_ext <<_ACEOF
5622 /* end confdefs.h. */
5623 #include <sys/types.h>
5635 rm -f conftest.$ac_objext
5636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5637 (eval $ac_compile) 2>&5
5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); } &&
5641 { ac_try='test -s conftest.$ac_objext'
5642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); }; }; then
5647 eval "$as_ac_Header=yes"
5649 echo "$as_me: failed program was:" >&5
5650 sed 's/^/| /' conftest.$ac_ext >&5
5652 eval "$as_ac_Header=no"
5654 rm -f conftest.$ac_objext conftest.$ac_ext
5656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5659 cat >>confdefs.h <<_ACEOF
5660 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5663 ac_header_dirent=$ac_hdr; break
5667 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5668 if test $ac_header_dirent = dirent.h; then
5669 echo "$as_me:$LINENO: checking for library containing opendir" >&5
5670 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5671 if test "${ac_cv_search_opendir+set}" = set; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6
5674 ac_func_search_save_LIBS=$LIBS
5675 ac_cv_search_opendir=no
5676 cat >conftest.$ac_ext <<_ACEOF
5677 #line $LINENO "configure"
5680 cat confdefs.h >>conftest.$ac_ext
5681 cat >>conftest.$ac_ext <<_ACEOF
5682 /* end confdefs.h. */
5684 /* Override any gcc2 internal prototype to avoid an error. */
5688 /* We use char because int might match the return type of a gcc2
5689 builtin and then its argument prototype would still apply. */
5699 rm -f conftest.$ac_objext conftest$ac_exeext
5700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5701 (eval $ac_link) 2>&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); } &&
5705 { ac_try='test -s conftest$ac_exeext'
5706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); }; }; then
5711 ac_cv_search_opendir="none required"
5713 echo "$as_me: failed program was:" >&5
5714 sed 's/^/| /' conftest.$ac_ext >&5
5717 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5718 if test "$ac_cv_search_opendir" = no; then
5719 for ac_lib in dir; do
5720 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5721 cat >conftest.$ac_ext <<_ACEOF
5722 #line $LINENO "configure"
5725 cat confdefs.h >>conftest.$ac_ext
5726 cat >>conftest.$ac_ext <<_ACEOF
5727 /* end confdefs.h. */
5729 /* Override any gcc2 internal prototype to avoid an error. */
5733 /* We use char because int might match the return type of a gcc2
5734 builtin and then its argument prototype would still apply. */
5744 rm -f conftest.$ac_objext conftest$ac_exeext
5745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5746 (eval $ac_link) 2>&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); } &&
5750 { ac_try='test -s conftest$ac_exeext'
5751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5755 (exit $ac_status); }; }; then
5756 ac_cv_search_opendir="-l$ac_lib"
5759 echo "$as_me: failed program was:" >&5
5760 sed 's/^/| /' conftest.$ac_ext >&5
5763 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5766 LIBS=$ac_func_search_save_LIBS
5768 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5769 echo "${ECHO_T}$ac_cv_search_opendir" >&6
5770 if test "$ac_cv_search_opendir" != no; then
5771 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
5776 echo "$as_me:$LINENO: checking for library containing opendir" >&5
5777 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
5778 if test "${ac_cv_search_opendir+set}" = set; then
5779 echo $ECHO_N "(cached) $ECHO_C" >&6
5781 ac_func_search_save_LIBS=$LIBS
5782 ac_cv_search_opendir=no
5783 cat >conftest.$ac_ext <<_ACEOF
5784 #line $LINENO "configure"
5787 cat confdefs.h >>conftest.$ac_ext
5788 cat >>conftest.$ac_ext <<_ACEOF
5789 /* end confdefs.h. */
5791 /* Override any gcc2 internal prototype to avoid an error. */
5795 /* We use char because int might match the return type of a gcc2
5796 builtin and then its argument prototype would still apply. */
5806 rm -f conftest.$ac_objext conftest$ac_exeext
5807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5808 (eval $ac_link) 2>&5
5810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 (exit $ac_status); } &&
5812 { ac_try='test -s conftest$ac_exeext'
5813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817 (exit $ac_status); }; }; then
5818 ac_cv_search_opendir="none required"
5820 echo "$as_me: failed program was:" >&5
5821 sed 's/^/| /' conftest.$ac_ext >&5
5824 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5825 if test "$ac_cv_search_opendir" = no; then
5827 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5828 cat >conftest.$ac_ext <<_ACEOF
5829 #line $LINENO "configure"
5832 cat confdefs.h >>conftest.$ac_ext
5833 cat >>conftest.$ac_ext <<_ACEOF
5834 /* end confdefs.h. */
5836 /* Override any gcc2 internal prototype to avoid an error. */
5840 /* We use char because int might match the return type of a gcc2
5841 builtin and then its argument prototype would still apply. */
5851 rm -f conftest.$ac_objext conftest$ac_exeext
5852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5853 (eval $ac_link) 2>&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); } &&
5857 { ac_try='test -s conftest$ac_exeext'
5858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); }; }; then
5863 ac_cv_search_opendir="-l$ac_lib"
5866 echo "$as_me: failed program was:" >&5
5867 sed 's/^/| /' conftest.$ac_ext >&5
5870 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5873 LIBS=$ac_func_search_save_LIBS
5875 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5876 echo "${ECHO_T}$ac_cv_search_opendir" >&6
5877 if test "$ac_cv_search_opendir" != no; then
5878 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
5893 for ac_func in strcasecmp select setenv putenv tcgetattr setlocale lstat lchown
5895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5896 echo "$as_me:$LINENO: checking for $ac_func" >&5
5897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5898 if eval "test \"\${$as_ac_var+set}\" = set"; then
5899 echo $ECHO_N "(cached) $ECHO_C" >&6
5901 cat >conftest.$ac_ext <<_ACEOF
5902 #line $LINENO "configure"
5905 cat confdefs.h >>conftest.$ac_ext
5906 cat >>conftest.$ac_ext <<_ACEOF
5907 /* end confdefs.h. */
5908 /* System header to define __stub macros and hopefully few prototypes,
5909 which can conflict with char $ac_func (); below.
5910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5911 <limits.h> exists even on freestanding compilers. */
5913 # include <limits.h>
5915 # include <assert.h>
5917 /* Override any gcc2 internal prototype to avoid an error. */
5922 /* We use char because int might match the return type of a gcc2
5923 builtin and then its argument prototype would still apply. */
5925 /* The GNU C library defines this for functions which it implements
5926 to always fail with ENOSYS. Some functions are actually named
5927 something starting with __ and the normal name is an alias. */
5928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5931 char (*f) () = $ac_func;
5940 return f != $ac_func;
5945 rm -f conftest.$ac_objext conftest$ac_exeext
5946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5947 (eval $ac_link) 2>&5
5949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5950 (exit $ac_status); } &&
5951 { ac_try='test -s conftest$ac_exeext'
5952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); }; }; then
5957 eval "$as_ac_var=yes"
5959 echo "$as_me: failed program was:" >&5
5960 sed 's/^/| /' conftest.$ac_ext >&5
5962 eval "$as_ac_var=no"
5964 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
5966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5968 if test `eval echo '${'$as_ac_var'}'` = yes; then
5969 cat >>confdefs.h <<_ACEOF
5970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5977 for ac_func in nanosleep
5979 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5980 echo "$as_me:$LINENO: checking for $ac_func" >&5
5981 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5982 if eval "test \"\${$as_ac_var+set}\" = set"; then
5983 echo $ECHO_N "(cached) $ECHO_C" >&6
5985 cat >conftest.$ac_ext <<_ACEOF
5986 #line $LINENO "configure"
5989 cat confdefs.h >>conftest.$ac_ext
5990 cat >>conftest.$ac_ext <<_ACEOF
5991 /* end confdefs.h. */
5992 /* System header to define __stub macros and hopefully few prototypes,
5993 which can conflict with char $ac_func (); below.
5994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5995 <limits.h> exists even on freestanding compilers. */
5997 # include <limits.h>
5999 # include <assert.h>
6001 /* Override any gcc2 internal prototype to avoid an error. */
6006 /* We use char because int might match the return type of a gcc2
6007 builtin and then its argument prototype would still apply. */
6009 /* The GNU C library defines this for functions which it implements
6010 to always fail with ENOSYS. Some functions are actually named
6011 something starting with __ and the normal name is an alias. */
6012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6015 char (*f) () = $ac_func;
6024 return f != $ac_func;
6029 rm -f conftest.$ac_objext conftest$ac_exeext
6030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6031 (eval $ac_link) 2>&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); } &&
6035 { ac_try='test -s conftest$ac_exeext'
6036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6040 (exit $ac_status); }; }; then
6041 eval "$as_ac_var=yes"
6043 echo "$as_me: failed program was:" >&5
6044 sed 's/^/| /' conftest.$ac_ext >&5
6046 eval "$as_ac_var=no"
6048 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6052 if test `eval echo '${'$as_ac_var'}'` = yes; then
6053 cat >>confdefs.h <<_ACEOF
6054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6062 for ac_header in varargs.h
6064 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6066 echo "$as_me:$LINENO: checking for $ac_header" >&5
6067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6069 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6074 # Is the header compilable?
6075 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6076 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6077 cat >conftest.$ac_ext <<_ACEOF
6078 #line $LINENO "configure"
6081 cat confdefs.h >>conftest.$ac_ext
6082 cat >>conftest.$ac_ext <<_ACEOF
6083 /* end confdefs.h. */
6084 $ac_includes_default
6085 #include <$ac_header>
6087 rm -f conftest.$ac_objext
6088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6089 (eval $ac_compile) 2>&5
6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 (exit $ac_status); } &&
6093 { ac_try='test -s conftest.$ac_objext'
6094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); }; }; then
6099 ac_header_compiler=yes
6101 echo "$as_me: failed program was:" >&5
6102 sed 's/^/| /' conftest.$ac_ext >&5
6104 ac_header_compiler=no
6106 rm -f conftest.$ac_objext conftest.$ac_ext
6107 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6108 echo "${ECHO_T}$ac_header_compiler" >&6
6110 # Is the header present?
6111 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6112 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6113 cat >conftest.$ac_ext <<_ACEOF
6114 #line $LINENO "configure"
6117 cat confdefs.h >>conftest.$ac_ext
6118 cat >>conftest.$ac_ext <<_ACEOF
6119 /* end confdefs.h. */
6120 #include <$ac_header>
6122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6123 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6125 grep -v '^ *+' conftest.er1 >conftest.err
6127 cat conftest.err >&5
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); } >/dev/null; then
6130 if test -s conftest.err; then
6131 ac_cpp_err=$ac_c_preproc_warn_flag
6138 if test -z "$ac_cpp_err"; then
6139 ac_header_preproc=yes
6141 echo "$as_me: failed program was:" >&5
6142 sed 's/^/| /' conftest.$ac_ext >&5
6144 ac_header_preproc=no
6146 rm -f conftest.err conftest.$ac_ext
6147 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6148 echo "${ECHO_T}$ac_header_preproc" >&6
6150 # So? What about this header?
6151 case $ac_header_compiler:$ac_header_preproc in
6153 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6154 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6159 ## ------------------------------------ ##
6160 ## Report this to bug-autoconf@gnu.org. ##
6161 ## ------------------------------------ ##
6164 sed "s/^/$as_me: WARNING: /" >&2
6167 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6168 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6169 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6170 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6172 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6175 ## ------------------------------------ ##
6176 ## Report this to bug-autoconf@gnu.org. ##
6177 ## ------------------------------------ ##
6180 sed "s/^/$as_me: WARNING: /" >&2
6183 echo "$as_me:$LINENO: checking for $ac_header" >&5
6184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6186 echo $ECHO_N "(cached) $ECHO_C" >&6
6188 eval "$as_ac_Header=$ac_header_preproc"
6190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6194 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6195 cat >>confdefs.h <<_ACEOF
6196 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6204 # End of readline stuff
6205 # -----------------------------------------------------------------------
6208 # ---------------------------------------------------
6209 # Check for GMP support/directory
6210 # ---------------------------------------------------
6214 # [ --with-gmp[=DIR] Specify gmp library directory],
6216 # case "$with_gmp" in
6219 # if test "$with_gmp" != "yes"; then
6220 # GMP_INC="-I$with_gmp"
6222 # GMP_LDFLAGS="-L$with_gmp"
6224 # with_gmp="/usr/include"
6226 # AC_CHECK_HEADER($with_gmp/gmp.h,
6227 # [ AC_MSG_RESULT(yes)
6228 # AC_DEFINE(HAVE_GMP)
6232 # [ AC_MSG_ERROR([*** gmp library missing])
6238 # # check for standard gmp library
6239 # AC_CHECK_HEADER(/usr/include/gmp.h,
6240 # [ AC_MSG_RESULT(yes)
6241 # AC_DEFINE(HAVE_GMP)
6246 # # Did not find standard library, so use our own
6247 # AC_MSG_RESULT(yes)
6248 # AC_DEFINE(HAVE_GMP)
6251 # GMP_INC="-I${TOP_DIR}/depkgs/gmp"
6253 # GMP_LDFLAGS="-L${TOP_DIR}/depkgs/gmp"
6254 # GMP_SRC="${TOP_DIR}/depkgs/gmp"
6260 #AC_SUBST(GMP_LDFLAGS)
6264 # -----------------------------------------------------------------------
6267 # ---------------------------------------------------
6268 # Check for CWEB support/directory
6269 # ---------------------------------------------------
6274 # [ --with-cweb[=DIR] Specify cweb library directory],
6276 # case "$with_cweb" in
6279 # if test "$with_cweb" != "yes"; then
6280 # CWEB_INC="-I$with_cweb"
6281 # CWEB_LIBS="-lcweb"
6282 # CWEB_LDFLAGS="-L$with_cweb"
6284 # with_cweb="/usr/include"
6286 # AC_CHECK_HEADER($with_cweb/cweb.h,
6287 # [ AC_MSG_RESULT(yes)
6288 # AC_DEFINE(HAVE_CWEB)
6289 # CWEB_LIBS="-lcweb"
6292 # [ AC_MSG_ERROR([*** cweb library missing])
6298 # # check for standard cweb library
6299 # AC_CHECK_HEADER(/usr/include/cweb.h,
6300 # [ AC_MSG_RESULT(yes)
6301 # AC_DEFINE(HAVE_CWEB)
6304 # CWEB_LIBS="-lcweb"
6306 # # Did not find starndard library, so use our own
6307 # AC_MSG_RESULT(yes)
6308 # AC_DEFINE(HAVE_CWEB)
6311 # CWEB=${TOP_DIR}/depkgs/cweb
6312 # CWEB_INC="-I${TOP_DIR}/depkgs/cweb"
6313 # CWEB_LIBS="-lcweb"
6314 # CWEB_LDFLAGS="-L${TOP_DIR}/depkgs/cweb"
6315 # CWEB_SRC="${TOP_DIR}/depkgs/cweb"
6321 #AC_SUBST(CWEB_LIBS)
6322 #AC_SUBST(CWEB_LDFLAGS)
6326 # -----------------------------------------------------------------------
6330 # -----------------------------------------------------------
6331 # Check whether user wants TCP wrappers support (default off)
6332 # -----------------------------------------------------------
6335 # Check whether --with-tcp-wrappers or --without-tcp-wrappers was given.
6336 if test "${with_tcp_wrappers+set}" = set; then
6337 withval="$with_tcp_wrappers"
6339 if test "x$withval" != "xno" ; then
6341 LIBS="$saved_LIBS -lwrap"
6342 echo "$as_me:$LINENO: checking for libwrap" >&5
6343 echo $ECHO_N "checking for libwrap... $ECHO_C" >&6
6344 cat >conftest.$ac_ext <<_ACEOF
6345 #line $LINENO "configure"
6348 cat confdefs.h >>conftest.$ac_ext
6349 cat >>conftest.$ac_ext <<_ACEOF
6350 /* end confdefs.h. */
6352 int deny_severity = 0;
6353 int allow_severity = 0;
6354 struct request_info *req;
6363 rm -f conftest.$ac_objext conftest$ac_exeext
6364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6365 (eval $ac_link) 2>&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); } &&
6369 { ac_try='test -s conftest$ac_exeext'
6370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); }; }; then
6376 echo "$as_me:$LINENO: result: yes" >&5
6377 echo "${ECHO_T}yes" >&6
6378 cat >>confdefs.h <<\_ACEOF
6379 #define HAVE_LIBWRAP 1
6385 echo "$as_me: failed program was:" >&5
6386 sed 's/^/| /' conftest.$ac_ext >&5
6389 LIBS="$saved_LIBS -lwrap -lnsl"
6390 cat >conftest.$ac_ext <<_ACEOF
6391 #line $LINENO "configure"
6394 cat confdefs.h >>conftest.$ac_ext
6395 cat >>conftest.$ac_ext <<_ACEOF
6396 /* end confdefs.h. */
6398 int deny_severity = 0;
6399 int allow_severity = 0;
6400 struct request_info *req;
6409 rm -f conftest.$ac_objext conftest$ac_exeext
6410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6411 (eval $ac_link) 2>&5
6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414 (exit $ac_status); } &&
6415 { ac_try='test -s conftest$ac_exeext'
6416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); }; }; then
6422 echo "$as_me:$LINENO: result: yes" >&5
6423 echo "${ECHO_T}yes" >&6
6424 cat >>confdefs.h <<\_ACEOF
6425 #define HAVE_LIBWRAP 1
6431 echo "$as_me: failed program was:" >&5
6432 sed 's/^/| /' conftest.$ac_ext >&5
6434 { { echo "$as_me:$LINENO: error: *** libwrap missing" >&5
6435 echo "$as_me: error: *** libwrap missing" >&2;}
6436 { (exit 1); exit 1; }; }
6439 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6442 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6448 # ------------------------------------------
6449 # Where to place working dir
6450 # ------------------------------------------
6451 working_dir=`eval echo ${sysconfdir}/working`
6453 # Check whether --with-working-dir or --without-working-dir was given.
6454 if test "${with_working_dir+set}" = set; then
6455 withval="$with_working_dir"
6457 if test "x$withval" != "xno" ; then
6458 working_dir=$withval
6467 # ------------------------------------------
6468 # Where to place scriptdir (script files)
6469 # ------------------------------------------
6470 scriptdir=`eval echo ${sysconfdir}`
6472 # Check whether --with-scriptdir or --without-scriptdir was given.
6473 if test "${with_scriptdir+set}" = set; then
6474 withval="$with_scriptdir"
6476 if test "x$withval" != "xno" ; then
6486 # ------------------------------------------
6487 # Where to send dump email
6488 # ------------------------------------------
6489 dump_email=root@localhost
6491 # Check whether --with-dump-email or --without-dump-email was given.
6492 if test "${with_dump_email+set}" = set; then
6493 withval="$with_dump_email"
6495 if test "x$withval" != "xno" ; then
6504 # ------------------------------------------
6505 # Where to send job email
6506 # ------------------------------------------
6507 job_email=root@localhost
6509 # Check whether --with-job-email or --without-job-email was given.
6510 if test "${with_job_email+set}" = set; then
6511 withval="$with_job_email"
6513 if test "x$withval" != "xno" ; then
6522 # ------------------------------------------
6523 # Where to find smtp host
6524 # ------------------------------------------
6527 # Check whether --with-smtp_host or --without-smtp_host was given.
6528 if test "${with_smtp_host+set}" = set; then
6529 withval="$with_smtp_host"
6531 if test "x$withval" != "xno" ; then
6541 # ------------------------------------
6542 # Where to place pid files
6543 # ------------------------------------
6546 # Check whether --with-pid-dir or --without-pid-dir was given.
6547 if test "${with_pid_dir+set}" = set; then
6548 withval="$with_pid_dir"
6550 if test "x$withval" != "xno" ; then
6557 cat >>confdefs.h <<_ACEOF
6558 #define _PATH_BACULA_PIDDIR "$piddir"
6564 # ------------------------------------
6565 # Where to place subsys "lock file"
6566 # ------------------------------------
6567 subsysdir=/var/run/subsys
6569 # Check whether --with-subsys-dir or --without-subsys-dir was given.
6570 if test "${with_subsys_dir+set}" = set; then
6571 withval="$with_subsys_dir"
6573 if test "x$withval" != "xno" ; then
6584 # ------------------------------------
6585 # Where to start assigning ports
6586 # ------------------------------------
6589 # Check whether --with-baseport or --without-baseport was given.
6590 if test "${with_baseport+set}" = set; then
6591 withval="$with_baseport"
6593 if test "x$withval" != "xno" ; then
6601 dir_port=`expr $baseport`
6602 fd_port=`expr $baseport + 1`
6603 sd_port=`expr $fd_port + 1`
6610 # ------------------------------------------
6611 # Generate passwords
6612 # ------------------------------------------
6615 # Check whether --with-dir-password or --without-dir-password was given.
6616 if test "${with_dir_password+set}" = set; then
6617 withval="$with_dir_password"
6619 if test "x$withval" != "xno" ; then
6620 dir_password=$withval
6626 if test "x$dir_password" = "x" ; then
6627 if test "x$OPENSSL" = "xnone" ; then
6628 # key=`date | uuencode /dev/stdout | tr "\"@\\\`\\ \\=\\,\\(\\)\\#\\.\\!\\-$'" abcdefghijklmnopqrst | awk '{getline} {print} {exit}'`
6629 key=`autoconf/randpass 33`
6631 key=`openssl rand -base64 33`
6638 # Check whether --with-fd-password or --without-fd-password was given.
6639 if test "${with_fd_password+set}" = set; then
6640 withval="$with_fd_password"
6642 if test "x$withval" != "xno" ; then
6643 fd_password=$withval
6649 if test "x$fd_password" = "x" ; then
6650 if test "x$OPENSSL" = "xnone" ; then
6651 # key=`date | uuencode /dev/stdout | tr "\"@\\\`\\ \\=\\,\\(\\)\\#\\.\\!\\-$'" tsrqponmlkjihgfedcba | awk '{getline} {print} {exit}'`
6652 key=`autoconf/randpass 37`
6654 key=`openssl rand -base64 33`
6661 # Check whether --with-sd-password or --without-sd-password was given.
6662 if test "${with_sd_password+set}" = set; then
6663 withval="$with_sd_password"
6665 if test "x$withval" != "xno" ; then
6666 sd_password=$withval
6672 if test "x$sd_password" = "x" ; then
6673 if test "x$OPENSSL" = "xnone" ; then
6674 # key=`date | uuencode /dev/stdout | tr "\"@\\\`\\ \\=\\,\\(\\)\\#\\.\\!\\-$'" 123456789uvwxyzabcdef | awk '{getline} {print} {exit}'`
6675 key=`autoconf/randpass 41`
6677 key=`openssl rand -base64 33`
6689 # Handle users and groups for each daemon
6693 # Check whether --with-dir_user or --without-dir_user was given.
6694 if test "${with_dir_user+set}" = set; then
6695 withval="$with_dir_user"
6697 if test "x$withval" != "x" ; then
6706 # Check whether --with-dir_group or --without-dir_group was given.
6707 if test "${with_dir_group+set}" = set; then
6708 withval="$with_dir_group"
6710 if test "x$withval" != "x" ; then
6719 # Check whether --with-sd_user or --without-sd_user was given.
6720 if test "${with_sd_user+set}" = set; then
6721 withval="$with_sd_user"
6723 if test "x$withval" != "x" ; then
6732 # Check whether --with-sd_group or --without-sd_group was given.
6733 if test "${with_sd_group+set}" = set; then
6734 withval="$with_sd_group"
6736 if test "x$withval" != "x" ; then
6745 # Check whether --with-fd_user or --without-fd_user was given.
6746 if test "${with_fd_user+set}" = set; then
6747 withval="$with_fd_user"
6749 if test "x$withval" != "x" ; then
6758 # Check whether --with-fd_group or --without-fd_group was given.
6759 if test "${with_fd_group+set}" = set; then
6760 withval="$with_fd_group"
6762 if test "x$withval" != "x" ; then
6779 # ------------------------------------------------
6780 # Bacula check for various SQL database engines
6781 # ------------------------------------------------
6784 echo "$as_me:$LINENO: checking for PostgreSQL support" >&5
6785 echo $ECHO_N "checking for PostgreSQL support... $ECHO_C" >&6
6787 # Check whether --with-postgresql was given.
6788 if test "${with_postgresql+set}" = set; then
6789 withval="$with_postgresql"
6791 if test "$withval" != "no"; then
6792 if test "$withval" = "yes"; then
6793 if test -f /usr/local/postgresql/include/postgresql/libpq-fe.h; then
6794 POSTGRESQL_INCDIR=/usr/local/postgresql/include/postgresql
6795 POSTGRESQL_LIBDIR=/usr/local/postgresql/lib/postgresql
6796 POSTGRESQL_BINDIR=/usr/local/postgresql/bin
6797 elif test -f /usr/include/postgresql/libpq-fe.h; then
6798 POSTGRESQL_INCDIR=/usr/include/postgresql
6799 POSTGRESQL_LIBDIR=/usr/lib/postgresql
6800 POSTGRESQL_BINDIR=/usr/bin
6801 elif test -f /usr/include/libpq-fe.h; then
6802 POSTGRESQL_INCDIR=/usr/include
6803 POSTGRESQL_LIBDIR=/usr/lib
6804 POSTGRESQL_BINDIR=/usr/bin
6805 elif test -f /usr/local/include/postgresql/libpq-fe.h; then
6806 POSTGRESQL_INCDIR=/usr/local/include/postgresql
6807 POSTGRESQL_LIBDIR=/usr/local/lib/postgresql
6808 POSTGRESQL_BINDIR=/usr/local/bin
6809 elif test -f /usr/local/include/libpq-fe.h; then
6810 POSTGRESQL_INCDIR=/usr/local/include
6811 POSTGRESQL_LIBDIR=/usr/local/lib
6812 POSTGRESQL_BINDIR=/usr/local/bin
6814 echo "$as_me:$LINENO: result: no" >&5
6815 echo "${ECHO_T}no" >&6
6816 { { echo "$as_me:$LINENO: error: Unable to find libpq-fe.h in standard locations" >&5
6817 echo "$as_me: error: Unable to find libpq-fe.h in standard locations" >&2;}
6818 { (exit 1); exit 1; }; }
6821 if test -f $withval/include/postgresql/libpq-fe.h; then
6822 POSTGRESQL_INCDIR=$withval/include/postgresql
6823 POSTGRESQL_LIBDIR=$withval/lib/postgresql
6824 POSTGRESQL_BINDIR=$withval/bin
6825 elif test -f $withval/include/libpq-fe.h; then
6826 POSTGRESQL_INCDIR=$withval/include
6827 POSTGRESQL_LIBDIR=$withval/lib
6828 POSTGRESQL_BINDIR=$withval/bin
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6832 { { echo "$as_me:$LINENO: error: Invalid PostgreSQL directory $withval - unable to find libpq-fe.h under $withval" >&5
6833 echo "$as_me: error: Invalid PostgreSQL directory $withval - unable to find libpq-fe.h under $withval" >&2;}
6834 { (exit 1); exit 1; }; }
6837 SQL_INCLUDE=-I$POSTGRESQL_INCDIR
6838 SQL_LFLAGS="-L$POSTGRESQL_LIBDIR -lpq -lz"
6839 SQL_BINDIR=$POSTGRESQL_BINDIR
6841 cat >>confdefs.h <<\_ACEOF
6842 #define HAVE_POSTGRESQL 1
6845 echo "$as_me:$LINENO: result: yes" >&5
6846 echo "${ECHO_T}yes" >&6
6848 support_postgresql=yes
6853 echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6
6859 echo "$as_me:$LINENO: result: no" >&5
6860 echo "${ECHO_T}no" >&6
6865 echo "$as_me:$LINENO: checking for MySQL support" >&5
6866 echo $ECHO_N "checking for MySQL support... $ECHO_C" >&6
6868 # Check whether --with-mysql or --without-mysql was given.
6869 if test "${with_mysql+set}" = set; then
6870 withval="$with_mysql"
6872 if test "$withval" != "no"; then
6873 if test "$withval" = "yes"; then
6874 if test -f /usr/local/mysql/include/mysql/mysql.h; then
6875 MYSQL_INCDIR=/usr/local/mysql/include/mysql
6876 MYSQL_LIBDIR=/usr/local/mysql/lib/mysql
6877 MYSQL_BINDIR=/usr/local/mysql/bin
6878 elif test -f /usr/include/mysql/mysql.h; then
6879 MYSQL_INCDIR=/usr/include/mysql
6880 MYSQL_LIBDIR=/usr/lib/mysql
6881 MYSQL_BINDIR=/usr/bin
6882 elif test -f /usr/include/mysql.h; then
6883 MYSQL_INCDIR=/usr/include
6884 MYSQL_LIBDIR=/usr/lib
6885 MYSQL_BINDIR=/usr/bin
6886 elif test -f /usr/local/include/mysql/mysql.h; then
6887 MYSQL_INCDIR=/usr/local/include/mysql
6888 MYSQL_LIBDIR=/usr/local/lib/mysql
6889 MYSQL_BINDIR=/usr/local/bin
6890 elif test -f /usr/local/include/mysql.h; then
6891 MYSQL_INCDIR=/usr/local/include
6892 MYSQL_LIBDIR=/usr/local/lib
6893 MYSQL_BINDIR=/usr/local/bin
6895 echo "$as_me:$LINENO: result: no" >&5
6896 echo "${ECHO_T}no" >&6
6897 { { echo "$as_me:$LINENO: error: Unable to find mysql.h in standard locations" >&5
6898 echo "$as_me: error: Unable to find mysql.h in standard locations" >&2;}
6899 { (exit 1); exit 1; }; }
6902 if test -f $withval/include/mysql/mysql.h; then
6903 MYSQL_INCDIR=$withval/include/mysql
6904 MYSQL_LIBDIR=$withval/lib/mysql
6905 MYSQL_BINDIR=$withval/bin
6906 elif test -f $withval/include/mysql.h; then
6907 MYSQL_INCDIR=$withval/include
6908 MYSQL_LIBDIR=$withval/lib
6909 MYSQL_BINDIR=$withval/bin
6911 echo "$as_me:$LINENO: result: no" >&5
6912 echo "${ECHO_T}no" >&6
6913 { { echo "$as_me:$LINENO: error: Invalid MySQL directory $withval - unable to find mysql.h under $withval" >&5
6914 echo "$as_me: error: Invalid MySQL directory $withval - unable to find mysql.h under $withval" >&2;}
6915 { (exit 1); exit 1; }; }
6918 SQL_INCLUDE=-I$MYSQL_INCDIR
6919 if test -f $MYSQL_LIBDIR/libmysqlclient_r.a; then
6920 SQL_LFLAGS="-L$MYSQL_LIBDIR -lmysqlclient_r -lz"
6921 cat >>confdefs.h <<\_ACEOF
6922 #define HAVE_THREAD_SAFE_MYSQL 1
6926 SQL_LFLAGS="-L$MYSQL_LIBDIR -lmysqlclient -lz"
6928 SQL_BINDIR=$MYSQL_BINDIR
6930 cat >>confdefs.h <<\_ACEOF
6931 #define HAVE_MYSQL 1
6934 echo "$as_me:$LINENO: result: yes" >&5
6935 echo "${ECHO_T}yes" >&6
6942 echo "$as_me:$LINENO: result: no" >&5
6943 echo "${ECHO_T}no" >&6
6948 echo "$as_me:$LINENO: result: no" >&5
6949 echo "${ECHO_T}no" >&6
6954 # Check whether --with-embedded-mysql or --without-embedded-mysql was given.
6955 if test "${with_embedded_mysql+set}" = set; then
6956 withval="$with_embedded_mysql"
6958 if test "$withval" != "no"; then
6959 if test "$withval" = "yes"; then
6960 if test -f /usr/local/mysql/include/mysql/mysql.h; then
6961 MYSQL_INCDIR=/usr/local/mysql/include/mysql
6962 MYSQL_LIBDIR=/usr/local/mysql/lib/mysql
6963 MYSQL_BINDIR=/usr/local/mysql/bin
6964 elif test -f /usr/include/mysql/mysql.h; then
6965 MYSQL_INCDIR=/usr/include/mysql
6966 MYSQL_LIBDIR=/usr/lib/mysql
6967 MYSQL_BINDIR=/usr/bin
6968 elif test -f /usr/include/mysql.h; then
6969 MYSQL_INCDIR=/usr/include
6970 MYSQL_LIBDIR=/usr/lib
6971 MYSQL_BINDIR=/usr/bin
6972 elif test -f /usr/local/include/mysql/mysql.h; then
6973 MYSQL_INCDIR=/usr/local/include/mysql
6974 MYSQL_LIBDIR=/usr/local/lib/mysql
6975 MYSQL_BINDIR=/usr/local/bin
6976 elif test -f /usr/local/include/mysql.h; then
6977 MYSQL_INCDIR=/usr/local/include
6978 MYSQL_LIBDIR=/usr/local/lib
6979 MYSQL_BINDIR=/usr/local/bin
6981 echo "$as_me:$LINENO: result: no" >&5
6982 echo "${ECHO_T}no" >&6
6983 { { echo "$as_me:$LINENO: error: Unable to find mysql.h in standard locations" >&5
6984 echo "$as_me: error: Unable to find mysql.h in standard locations" >&2;}
6985 { (exit 1); exit 1; }; }
6988 if test -f $withval/include/mysql/mysql.h; then
6989 MYSQL_INCDIR=$withval/include/mysql
6990 MYSQL_LIBDIR=$withval/lib/mysql
6991 MYSQL_BINDIR=$withval/bin
6992 elif test -f $withval/include/mysql.h; then
6993 MYSQL_INCDIR=$withval/include
6994 MYSQL_LIBDIR=$withval/lib
6995 MYSQL_BINDIR=$withval/bin
6997 echo "$as_me:$LINENO: result: no" >&5
6998 echo "${ECHO_T}no" >&6
6999 { { echo "$as_me:$LINENO: error: Invalid MySQL directory $withval - unable to find mysql.h under $withval" >&5
7000 echo "$as_me: error: Invalid MySQL directory $withval - unable to find mysql.h under $withval" >&2;}
7001 { (exit 1); exit 1; }; }
7004 SQL_INCLUDE=-I$MYSQL_INCDIR
7005 SQL_LFLAGS="-L$MYSQL_LIBDIR -lmysqld -lz -lm -lcrypt"
7006 SQL_BINDIR=$MYSQL_BINDIR
7008 cat >>confdefs.h <<\_ACEOF
7009 #define HAVE_MYSQL 1
7012 cat >>confdefs.h <<\_ACEOF
7013 #define HAVE_EMBEDDED_MYSQL 1
7016 echo "$as_me:$LINENO: result: yes" >&5
7017 echo "${ECHO_T}yes" >&6
7024 echo "$as_me:$LINENO: result: no" >&5
7025 echo "${ECHO_T}no" >&6
7030 echo "$as_me:$LINENO: result: no" >&5
7031 echo "${ECHO_T}no" >&6
7043 # ------------------------------------------------
7044 # Bacula check for various SQL database engines
7045 # ------------------------------------------------
7048 echo "$as_me:$LINENO: checking for SQLite support" >&5
7049 echo $ECHO_N "checking for SQLite support... $ECHO_C" >&6
7051 # Check whether --with-sqlite or --without-sqlite was given.
7052 if test "${with_sqlite+set}" = set; then
7053 withval="$with_sqlite"
7055 if test "$withval" != "no"; then
7056 if test "$withval" = "yes"; then
7057 if test -f /usr/local/include/sqlite.h; then
7058 SQLITE_INCDIR=/usr/local/include
7059 SQLITE_LIBDIR=/usr/local/lib
7060 SQLITE_BINDIR=/usr/local/bin
7061 elif test -f /usr/include/sqlite.h; then
7062 SQLITE_INCDIR=/usr/include
7063 SQLITE_LIBDIR=/usr/lib
7064 SQLITE_BINDIR=/usr/bin
7066 echo "$as_me:$LINENO: result: no" >&5
7067 echo "${ECHO_T}no" >&6
7068 { { echo "$as_me:$LINENO: error: Unable to find sqlite.h in standard locations" >&5
7069 echo "$as_me: error: Unable to find sqlite.h in standard locations" >&2;}
7070 { (exit 1); exit 1; }; }
7073 if test -f $withval/sqlite.h; then
7074 SQLITE_INCDIR=$withval
7075 SQLITE_LIBDIR=$withval
7076 SQLITE_BINDIR=$withval
7078 echo "$as_me:$LINENO: result: no" >&5
7079 echo "${ECHO_T}no" >&6
7080 { { echo "$as_me:$LINENO: error: Invalid SQLite directory $withval - unable to find sqlite.h under $withval" >&5
7081 echo "$as_me: error: Invalid SQLite directory $withval - unable to find sqlite.h under $withval" >&2;}
7082 { (exit 1); exit 1; }; }
7085 SQL_INCLUDE=-I$SQLITE_INCDIR
7086 SQL_LFLAGS="-L$SQLITE_LIBDIR -lsqlite"
7087 SQL_BINDIR=$SQLITE_BINDIR
7089 cat >>confdefs.h <<\_ACEOF
7090 #define HAVE_SQLITE 1
7093 echo "$as_me:$LINENO: result: yes" >&5
7094 echo "${ECHO_T}yes" >&6
7101 echo "$as_me:$LINENO: result: no" >&5
7102 echo "${ECHO_T}no" >&6
7107 echo "$as_me:$LINENO: result: no" >&5
7108 echo "${ECHO_T}no" >&6
7120 cat >>confdefs.h <<\_ACEOF
7121 #define PROTOTYPES 1
7125 if test -z "$CFLAGS"; then
7126 if test -z "$CCOPTS"; then
7135 largefile_support="no"
7137 # Check whether --enable-largefile or --disable-largefile was given.
7138 if test "${enable_largefile+set}" = set; then
7139 enableval="$enable_largefile"
7142 if test "$enable_largefile" != no; then
7143 if test -n "$ac_tool_prefix"; then
7144 # Extract the first word of "${ac_tool_prefix}getconf", so it can be a program name with args.
7145 set dummy ${ac_tool_prefix}getconf; ac_word=$2
7146 echo "$as_me:$LINENO: checking for $ac_word" >&5
7147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7148 if test "${ac_cv_prog_GETCONF+set}" = set; then
7149 echo $ECHO_N "(cached) $ECHO_C" >&6
7151 if test -n "$GETCONF"; then
7152 ac_cv_prog_GETCONF="$GETCONF" # Let the user override the test.
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7158 test -z "$as_dir" && as_dir=.
7159 for ac_exec_ext in '' $ac_executable_extensions; do
7160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7161 ac_cv_prog_GETCONF="${ac_tool_prefix}getconf"
7162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7170 GETCONF=$ac_cv_prog_GETCONF
7171 if test -n "$GETCONF"; then
7172 echo "$as_me:$LINENO: result: $GETCONF" >&5
7173 echo "${ECHO_T}$GETCONF" >&6
7175 echo "$as_me:$LINENO: result: no" >&5
7176 echo "${ECHO_T}no" >&6
7180 if test -z "$ac_cv_prog_GETCONF"; then
7181 ac_ct_GETCONF=$GETCONF
7182 # Extract the first word of "getconf", so it can be a program name with args.
7183 set dummy getconf; ac_word=$2
7184 echo "$as_me:$LINENO: checking for $ac_word" >&5
7185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7186 if test "${ac_cv_prog_ac_ct_GETCONF+set}" = set; then
7187 echo $ECHO_N "(cached) $ECHO_C" >&6
7189 if test -n "$ac_ct_GETCONF"; then
7190 ac_cv_prog_ac_ct_GETCONF="$ac_ct_GETCONF" # Let the user override the test.
7192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196 test -z "$as_dir" && as_dir=.
7197 for ac_exec_ext in '' $ac_executable_extensions; do
7198 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7199 ac_cv_prog_ac_ct_GETCONF="getconf"
7200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7208 ac_ct_GETCONF=$ac_cv_prog_ac_ct_GETCONF
7209 if test -n "$ac_ct_GETCONF"; then
7210 echo "$as_me:$LINENO: result: $ac_ct_GETCONF" >&5
7211 echo "${ECHO_T}$ac_ct_GETCONF" >&6
7213 echo "$as_me:$LINENO: result: no" >&5
7214 echo "${ECHO_T}no" >&6
7217 GETCONF=$ac_ct_GETCONF
7219 GETCONF="$ac_cv_prog_GETCONF"
7222 echo "$as_me:$LINENO: checking for CFLAGS value to request large file support" >&5
7223 echo $ECHO_N "checking for CFLAGS value to request large file support... $ECHO_C" >&6
7224 if test "${ac_cv_sys_largefile_CFLAGS+set}" = set; then
7225 echo $ECHO_N "(cached) $ECHO_C" >&6
7227 ac_cv_sys_largefile_CFLAGS=`($GETCONF LFS_CFLAGS) 2>/dev/null` || {
7228 ac_cv_sys_largefile_CFLAGS=no
7230 # IRIX 6.2 and later require cc -n32.
7231 irix6.[2-9]* | irix6.1[0-9]* | irix[7-9].* | irix[1-9][0-9]*)
7232 if test "$GCC" != yes; then
7233 ac_cv_sys_largefile_CFLAGS=-n32
7236 CC="$CC $ac_cv_sys_largefile_CFLAGS"
7237 cat >conftest.$ac_ext <<_ACEOF
7238 #line $LINENO "configure"
7241 cat confdefs.h >>conftest.$ac_ext
7242 cat >>conftest.$ac_ext <<_ACEOF
7243 /* end confdefs.h. */
7253 rm -f conftest.$ac_objext conftest$ac_exeext
7254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7255 (eval $ac_link) 2>&5
7257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7258 (exit $ac_status); } &&
7259 { ac_try='test -s conftest$ac_exeext'
7260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); }; }; then
7267 echo "$as_me: failed program was:" >&5
7268 sed 's/^/| /' conftest.$ac_ext >&5
7270 ac_cv_sys_largefile_CFLAGS=no
7272 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7277 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CFLAGS" >&5
7278 echo "${ECHO_T}$ac_cv_sys_largefile_CFLAGS" >&6
7279 echo "$as_me:$LINENO: checking for LDFLAGS value to request large file support" >&5
7280 echo $ECHO_N "checking for LDFLAGS value to request large file support... $ECHO_C" >&6
7281 if test "${ac_cv_sys_largefile_LDFLAGS+set}" = set; then
7282 echo $ECHO_N "(cached) $ECHO_C" >&6
7284 ac_cv_sys_largefile_LDFLAGS=`($GETCONF LFS_LDFLAGS) 2>/dev/null` || {
7285 ac_cv_sys_largefile_LDFLAGS=no
7289 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_LDFLAGS" >&5
7290 echo "${ECHO_T}$ac_cv_sys_largefile_LDFLAGS" >&6
7291 echo "$as_me:$LINENO: checking for LIBS value to request large file support" >&5
7292 echo $ECHO_N "checking for LIBS value to request large file support... $ECHO_C" >&6
7293 if test "${ac_cv_sys_largefile_LIBS+set}" = set; then
7294 echo $ECHO_N "(cached) $ECHO_C" >&6
7296 ac_cv_sys_largefile_LIBS=`($GETCONF LFS_LIBS) 2>/dev/null` || {
7297 ac_cv_sys_largefile_LIBS=no
7301 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_LIBS" >&5
7302 echo "${ECHO_T}$ac_cv_sys_largefile_LIBS" >&6
7304 for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
7307 -D_FILE_OFFSET_BITS=*) ;;
7308 -D_LARGEFILE_SOURCE | -D_LARGEFILE_SOURCE=*) ;;
7309 -D_LARGE_FILES | -D_LARGE_FILES=*) ;;
7315 '') CPPFLAGS="$ac_flag" ;;
7316 *) CPPFLAGS=$CPPFLAGS' '"$ac_flag" ;;
7324 '') CFLAGS="$ac_flag" ;;
7325 *) CFLAGS=$CFLAGS' '"$ac_flag" ;;
7330 case "$ac_cv_sys_largefile_LDFLAGS" in
7334 '') LDFLAGS="$ac_cv_sys_largefile_LDFLAGS" ;;
7335 *) LDFLAGS=$LDFLAGS' '"$ac_cv_sys_largefile_LDFLAGS" ;;
7338 case "$ac_cv_sys_largefile_LIBS" in
7342 '') LIBS="$ac_cv_sys_largefile_LIBS" ;;
7343 *) LIBS=$LIBS' '"$ac_cv_sys_largefile_LIBS" ;;
7346 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS" >&5
7347 echo $ECHO_N "checking for _FILE_OFFSET_BITS... $ECHO_C" >&6
7348 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
7349 echo $ECHO_N "(cached) $ECHO_C" >&6
7351 ac_cv_sys_file_offset_bits=no
7353 # HP-UX 10.20 and later
7354 hpux10.[2-9][0-9]* | hpux1[1-9]* | hpux[2-9][0-9]*)
7355 ac_cv_sys_file_offset_bits=64 ;;
7357 for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
7359 -D_FILE_OFFSET_BITS)
7360 ac_cv_sys_file_offset_bits=1 ;;
7361 -D_FILE_OFFSET_BITS=*)
7362 ac_cv_sys_file_offset_bits=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
7367 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
7368 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
7369 if test "$ac_cv_sys_file_offset_bits" != no; then
7371 cat >>confdefs.h <<_ACEOF
7372 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7376 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE" >&5
7377 echo $ECHO_N "checking for _LARGEFILE_SOURCE... $ECHO_C" >&6
7378 if test "${ac_cv_sys_largefile_source+set}" = set; then
7379 echo $ECHO_N "(cached) $ECHO_C" >&6
7381 ac_cv_sys_largefile_source=no
7383 # HP-UX 10.20 and later
7384 hpux10.[2-9][0-9]* | hpux1[1-9]* | hpux[2-9][0-9]*)
7385 ac_cv_sys_largefile_source=1 ;;
7387 for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
7389 -D_LARGEFILE_SOURCE)
7390 ac_cv_sys_largefile_source=1 ;;
7391 -D_LARGEFILE_SOURCE=*)
7392 ac_cv_sys_largefile_source=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
7397 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
7398 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
7399 if test "$ac_cv_sys_largefile_source" != no; then
7401 cat >>confdefs.h <<_ACEOF
7402 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
7406 echo "$as_me:$LINENO: checking for _LARGE_FILES" >&5
7407 echo $ECHO_N "checking for _LARGE_FILES... $ECHO_C" >&6
7408 if test "${ac_cv_sys_large_files+set}" = set; then
7409 echo $ECHO_N "(cached) $ECHO_C" >&6
7411 ac_cv_sys_large_files=no
7414 aix4.[2-9]* | aix4.1[0-9]* | aix[5-9].* | aix[1-9][0-9]*)
7415 ac_cv_sys_large_files=1 ;;
7417 for ac_flag in $ac_cv_sys_largefile_CFLAGS no; do
7420 ac_cv_sys_large_files=1 ;;
7422 ac_cv_sys_large_files=`expr " $ac_flag" : '[^=]*=\(.*\)'` ;;
7427 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
7428 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
7429 if test "$ac_cv_sys_large_files" != no; then
7431 cat >>confdefs.h <<_ACEOF
7432 #define _LARGE_FILES $ac_cv_sys_large_files
7440 echo "$as_me:$LINENO: checking for X" >&5
7441 echo $ECHO_N "checking for X... $ECHO_C" >&6
7444 # Check whether --with-x or --without-x was given.
7445 if test "${with_x+set}" = set; then
7449 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7450 if test "x$with_x" = xno; then
7451 # The user explicitly disabled X.
7454 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
7455 # Both variables are already set.
7458 if test "${ac_cv_have_x+set}" = set; then
7459 echo $ECHO_N "(cached) $ECHO_C" >&6
7461 # One or both of the vars are not set, and there is no cached value.
7462 ac_x_includes=no ac_x_libraries=no
7464 if mkdir conftest.dir; then
7466 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7467 cat >Imakefile <<'_ACEOF'
7469 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7471 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
7472 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7473 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7474 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7475 for ac_extension in a so sl; do
7476 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
7477 test -f $ac_im_libdir/libX11.$ac_extension; then
7478 ac_im_usrlibdir=$ac_im_libdir; break
7481 # Screen out bogus values from the imake configuration. They are
7482 # bogus both because they are the default anyway, and because
7483 # using them would break gcc on systems where it needs fixed includes.
7484 case $ac_im_incroot in
7486 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7488 case $ac_im_usrlibdir in
7490 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7497 # Standard set of common directories for X headers.
7498 # Check X11 before X11Rn because it is often a symlink to the current release.
7510 /usr/local/X11/include
7511 /usr/local/X11R6/include
7512 /usr/local/X11R5/include
7513 /usr/local/X11R4/include
7515 /usr/local/include/X11
7516 /usr/local/include/X11R6
7517 /usr/local/include/X11R5
7518 /usr/local/include/X11R4
7522 /usr/XFree86/include/X11
7526 /usr/unsupported/include
7528 /usr/local/x11r5/include
7529 /usr/lpp/Xamples/include
7531 /usr/openwin/include
7532 /usr/openwin/share/include'
7534 if test "$ac_x_includes" = no; then
7535 # Guess where to find include files, by looking for Intrinsic.h.
7536 # First, try using that file with no special directory specified.
7537 cat >conftest.$ac_ext <<_ACEOF
7538 #line $LINENO "configure"
7541 cat confdefs.h >>conftest.$ac_ext
7542 cat >>conftest.$ac_ext <<_ACEOF
7543 /* end confdefs.h. */
7544 #include <X11/Intrinsic.h>
7546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7547 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7549 grep -v '^ *+' conftest.er1 >conftest.err
7551 cat conftest.err >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); } >/dev/null; then
7554 if test -s conftest.err; then
7555 ac_cpp_err=$ac_c_preproc_warn_flag
7562 if test -z "$ac_cpp_err"; then
7563 # We can compile using X headers with no special include directory.
7566 echo "$as_me: failed program was:" >&5
7567 sed 's/^/| /' conftest.$ac_ext >&5
7569 for ac_dir in $ac_x_header_dirs; do
7570 if test -r "$ac_dir/X11/Intrinsic.h"; then
7571 ac_x_includes=$ac_dir
7576 rm -f conftest.err conftest.$ac_ext
7577 fi # $ac_x_includes = no
7579 if test "$ac_x_libraries" = no; then
7580 # Check for the libraries.
7581 # See if we find them without any special options.
7582 # Don't add to $LIBS permanently.
7585 cat >conftest.$ac_ext <<_ACEOF
7586 #line $LINENO "configure"
7589 cat confdefs.h >>conftest.$ac_ext
7590 cat >>conftest.$ac_ext <<_ACEOF
7591 /* end confdefs.h. */
7592 #include <X11/Intrinsic.h>
7601 rm -f conftest.$ac_objext conftest$ac_exeext
7602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7603 (eval $ac_link) 2>&5
7605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606 (exit $ac_status); } &&
7607 { ac_try='test -s conftest$ac_exeext'
7608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7612 (exit $ac_status); }; }; then
7614 # We can link X programs with no special library path.
7617 echo "$as_me: failed program was:" >&5
7618 sed 's/^/| /' conftest.$ac_ext >&5
7621 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7623 # Don't even attempt the hair of trying to link an X program!
7624 for ac_extension in a so sl; do
7625 if test -r $ac_dir/libXt.$ac_extension; then
7626 ac_x_libraries=$ac_dir
7632 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7633 fi # $ac_x_libraries = no
7635 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
7636 # Didn't find X anywhere. Cache the known absence of X.
7637 ac_cv_have_x="have_x=no"
7639 # Record where we found X for the cache.
7640 ac_cv_have_x="have_x=yes \
7641 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7646 eval "$ac_cv_have_x"
7649 if test "$have_x" != yes; then
7650 echo "$as_me:$LINENO: result: $have_x" >&5
7651 echo "${ECHO_T}$have_x" >&6
7654 # If each of the values was on the command line, it overrides each guess.
7655 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7656 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7657 # Update the cache value to reflect the command line values.
7658 ac_cv_have_x="have_x=yes \
7659 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7660 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
7661 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
7664 if test "$no_x" = yes; then
7665 # Not all programs may use this symbol, but it does not hurt to define it.
7667 cat >>confdefs.h <<\_ACEOF
7668 #define X_DISPLAY_MISSING 1
7671 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7673 if test -n "$x_includes"; then
7674 X_CFLAGS="$X_CFLAGS -I$x_includes"
7677 # It would also be nice to do this for all -L options, not just this one.
7678 if test -n "$x_libraries"; then
7679 X_LIBS="$X_LIBS -L$x_libraries"
7680 # For Solaris; some versions of Sun CC require a space after -R and
7681 # others require no space. Words are not sufficient . . . .
7682 case `(uname -sr) 2>/dev/null` in
7684 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
7685 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
7686 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7687 cat >conftest.$ac_ext <<_ACEOF
7688 #line $LINENO "configure"
7691 cat confdefs.h >>conftest.$ac_ext
7692 cat >>conftest.$ac_ext <<_ACEOF
7693 /* end confdefs.h. */
7703 rm -f conftest.$ac_objext conftest$ac_exeext
7704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7705 (eval $ac_link) 2>&5
7707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708 (exit $ac_status); } &&
7709 { ac_try='test -s conftest$ac_exeext'
7710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); }; }; then
7717 echo "$as_me: failed program was:" >&5
7718 sed 's/^/| /' conftest.$ac_ext >&5
7722 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7723 if test $ac_R_nospace = yes; then
7724 echo "$as_me:$LINENO: result: no" >&5
7725 echo "${ECHO_T}no" >&6
7726 X_LIBS="$X_LIBS -R$x_libraries"
7728 LIBS="$ac_xsave_LIBS -R $x_libraries"
7729 cat >conftest.$ac_ext <<_ACEOF
7730 #line $LINENO "configure"
7733 cat confdefs.h >>conftest.$ac_ext
7734 cat >>conftest.$ac_ext <<_ACEOF
7735 /* end confdefs.h. */
7745 rm -f conftest.$ac_objext conftest$ac_exeext
7746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7747 (eval $ac_link) 2>&5
7749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750 (exit $ac_status); } &&
7751 { ac_try='test -s conftest$ac_exeext'
7752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7756 (exit $ac_status); }; }; then
7759 echo "$as_me: failed program was:" >&5
7760 sed 's/^/| /' conftest.$ac_ext >&5
7764 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7765 if test $ac_R_space = yes; then
7766 echo "$as_me:$LINENO: result: yes" >&5
7767 echo "${ECHO_T}yes" >&6
7768 X_LIBS="$X_LIBS -R $x_libraries"
7770 echo "$as_me:$LINENO: result: neither works" >&5
7771 echo "${ECHO_T}neither works" >&6
7778 # Check for system-dependent libraries X programs must link with.
7779 # Do this before checking for the system-independent R6 libraries
7780 # (-lICE), since we may need -lsocket or whatever for X linking.
7782 if test "$ISC" = yes; then
7783 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7785 # Martyn Johnson says this is needed for Ultrix, if the X
7786 # libraries were built with DECnet support. And Karl Berry says
7787 # the Alpha needs dnet_stub (dnet does not exist).
7788 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
7789 cat >conftest.$ac_ext <<_ACEOF
7790 #line $LINENO "configure"
7793 cat confdefs.h >>conftest.$ac_ext
7794 cat >>conftest.$ac_ext <<_ACEOF
7795 /* end confdefs.h. */
7797 /* Override any gcc2 internal prototype to avoid an error. */
7801 /* We use char because int might match the return type of a gcc2
7802 builtin and then its argument prototype would still apply. */
7803 char XOpenDisplay ();
7812 rm -f conftest.$ac_objext conftest$ac_exeext
7813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7814 (eval $ac_link) 2>&5
7816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7817 (exit $ac_status); } &&
7818 { ac_try='test -s conftest$ac_exeext'
7819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7823 (exit $ac_status); }; }; then
7826 echo "$as_me: failed program was:" >&5
7827 sed 's/^/| /' conftest.$ac_ext >&5
7829 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
7830 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
7831 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
7832 echo $ECHO_N "(cached) $ECHO_C" >&6
7834 ac_check_lib_save_LIBS=$LIBS
7836 cat >conftest.$ac_ext <<_ACEOF
7837 #line $LINENO "configure"
7840 cat confdefs.h >>conftest.$ac_ext
7841 cat >>conftest.$ac_ext <<_ACEOF
7842 /* end confdefs.h. */
7844 /* Override any gcc2 internal prototype to avoid an error. */
7848 /* We use char because int might match the return type of a gcc2
7849 builtin and then its argument prototype would still apply. */
7859 rm -f conftest.$ac_objext conftest$ac_exeext
7860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7861 (eval $ac_link) 2>&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } &&
7865 { ac_try='test -s conftest$ac_exeext'
7866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7870 (exit $ac_status); }; }; then
7871 ac_cv_lib_dnet_dnet_ntoa=yes
7873 echo "$as_me: failed program was:" >&5
7874 sed 's/^/| /' conftest.$ac_ext >&5
7876 ac_cv_lib_dnet_dnet_ntoa=no
7878 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7879 LIBS=$ac_check_lib_save_LIBS
7881 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7882 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
7883 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
7884 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7887 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
7888 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
7889 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
7890 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
7891 echo $ECHO_N "(cached) $ECHO_C" >&6
7893 ac_check_lib_save_LIBS=$LIBS
7894 LIBS="-ldnet_stub $LIBS"
7895 cat >conftest.$ac_ext <<_ACEOF
7896 #line $LINENO "configure"
7899 cat confdefs.h >>conftest.$ac_ext
7900 cat >>conftest.$ac_ext <<_ACEOF
7901 /* end confdefs.h. */
7903 /* Override any gcc2 internal prototype to avoid an error. */
7907 /* We use char because int might match the return type of a gcc2
7908 builtin and then its argument prototype would still apply. */
7918 rm -f conftest.$ac_objext conftest$ac_exeext
7919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7920 (eval $ac_link) 2>&5
7922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7923 (exit $ac_status); } &&
7924 { ac_try='test -s conftest$ac_exeext'
7925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7929 (exit $ac_status); }; }; then
7930 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7932 echo "$as_me: failed program was:" >&5
7933 sed 's/^/| /' conftest.$ac_ext >&5
7935 ac_cv_lib_dnet_stub_dnet_ntoa=no
7937 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7938 LIBS=$ac_check_lib_save_LIBS
7940 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7941 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
7942 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
7943 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7948 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7949 LIBS="$ac_xsave_LIBS"
7951 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7952 # to get the SysV transport functions.
7953 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7955 # The nsl library prevents programs from opening the X display
7956 # on Irix 5.2, according to T.E. Dickey.
7957 # The functions gethostbyname, getservbyname, and inet_addr are
7958 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7959 echo "$as_me:$LINENO: checking for gethostbyname" >&5
7960 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
7961 if test "${ac_cv_func_gethostbyname+set}" = set; then
7962 echo $ECHO_N "(cached) $ECHO_C" >&6
7964 cat >conftest.$ac_ext <<_ACEOF
7965 #line $LINENO "configure"
7968 cat confdefs.h >>conftest.$ac_ext
7969 cat >>conftest.$ac_ext <<_ACEOF
7970 /* end confdefs.h. */
7971 /* System header to define __stub macros and hopefully few prototypes,
7972 which can conflict with char gethostbyname (); below.
7973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7974 <limits.h> exists even on freestanding compilers. */
7976 # include <limits.h>
7978 # include <assert.h>
7980 /* Override any gcc2 internal prototype to avoid an error. */
7985 /* We use char because int might match the return type of a gcc2
7986 builtin and then its argument prototype would still apply. */
7987 char gethostbyname ();
7988 /* The GNU C library defines this for functions which it implements
7989 to always fail with ENOSYS. Some functions are actually named
7990 something starting with __ and the normal name is an alias. */
7991 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7994 char (*f) () = gethostbyname;
8003 return f != gethostbyname;
8008 rm -f conftest.$ac_objext conftest$ac_exeext
8009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8010 (eval $ac_link) 2>&5
8012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8013 (exit $ac_status); } &&
8014 { ac_try='test -s conftest$ac_exeext'
8015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); }; }; then
8020 ac_cv_func_gethostbyname=yes
8022 echo "$as_me: failed program was:" >&5
8023 sed 's/^/| /' conftest.$ac_ext >&5
8025 ac_cv_func_gethostbyname=no
8027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8029 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
8030 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
8032 if test $ac_cv_func_gethostbyname = no; then
8033 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
8034 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
8035 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
8036 echo $ECHO_N "(cached) $ECHO_C" >&6
8038 ac_check_lib_save_LIBS=$LIBS
8040 cat >conftest.$ac_ext <<_ACEOF
8041 #line $LINENO "configure"
8044 cat confdefs.h >>conftest.$ac_ext
8045 cat >>conftest.$ac_ext <<_ACEOF
8046 /* end confdefs.h. */
8048 /* Override any gcc2 internal prototype to avoid an error. */
8052 /* We use char because int might match the return type of a gcc2
8053 builtin and then its argument prototype would still apply. */
8054 char gethostbyname ();
8063 rm -f conftest.$ac_objext conftest$ac_exeext
8064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8065 (eval $ac_link) 2>&5
8067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068 (exit $ac_status); } &&
8069 { ac_try='test -s conftest$ac_exeext'
8070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 (exit $ac_status); }; }; then
8075 ac_cv_lib_nsl_gethostbyname=yes
8077 echo "$as_me: failed program was:" >&5
8078 sed 's/^/| /' conftest.$ac_ext >&5
8080 ac_cv_lib_nsl_gethostbyname=no
8082 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8083 LIBS=$ac_check_lib_save_LIBS
8085 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
8086 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
8087 if test $ac_cv_lib_nsl_gethostbyname = yes; then
8088 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
8091 if test $ac_cv_lib_nsl_gethostbyname = no; then
8092 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
8093 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
8094 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
8095 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 ac_check_lib_save_LIBS=$LIBS
8099 cat >conftest.$ac_ext <<_ACEOF
8100 #line $LINENO "configure"
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8107 /* Override any gcc2 internal prototype to avoid an error. */
8111 /* We use char because int might match the return type of a gcc2
8112 builtin and then its argument prototype would still apply. */
8113 char gethostbyname ();
8122 rm -f conftest.$ac_objext conftest$ac_exeext
8123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8124 (eval $ac_link) 2>&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); } &&
8128 { ac_try='test -s conftest$ac_exeext'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; }; then
8134 ac_cv_lib_bsd_gethostbyname=yes
8136 echo "$as_me: failed program was:" >&5
8137 sed 's/^/| /' conftest.$ac_ext >&5
8139 ac_cv_lib_bsd_gethostbyname=no
8141 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8142 LIBS=$ac_check_lib_save_LIBS
8144 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
8145 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
8146 if test $ac_cv_lib_bsd_gethostbyname = yes; then
8147 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
8153 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8154 # socket/setsockopt and other routines are undefined under SCO ODT
8155 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8156 # on later versions), says Simon Leinen: it contains gethostby*
8157 # variants that don't use the name server (or something). -lsocket
8158 # must be given before -lnsl if both are needed. We assume that
8159 # if connect needs -lnsl, so does gethostbyname.
8160 echo "$as_me:$LINENO: checking for connect" >&5
8161 echo $ECHO_N "checking for connect... $ECHO_C" >&6
8162 if test "${ac_cv_func_connect+set}" = set; then
8163 echo $ECHO_N "(cached) $ECHO_C" >&6
8165 cat >conftest.$ac_ext <<_ACEOF
8166 #line $LINENO "configure"
8169 cat confdefs.h >>conftest.$ac_ext
8170 cat >>conftest.$ac_ext <<_ACEOF
8171 /* end confdefs.h. */
8172 /* System header to define __stub macros and hopefully few prototypes,
8173 which can conflict with char connect (); below.
8174 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8175 <limits.h> exists even on freestanding compilers. */
8177 # include <limits.h>
8179 # include <assert.h>
8181 /* Override any gcc2 internal prototype to avoid an error. */
8186 /* We use char because int might match the return type of a gcc2
8187 builtin and then its argument prototype would still apply. */
8189 /* The GNU C library defines this for functions which it implements
8190 to always fail with ENOSYS. Some functions are actually named
8191 something starting with __ and the normal name is an alias. */
8192 #if defined (__stub_connect) || defined (__stub___connect)
8195 char (*f) () = connect;
8204 return f != connect;
8209 rm -f conftest.$ac_objext conftest$ac_exeext
8210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8211 (eval $ac_link) 2>&5
8213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8214 (exit $ac_status); } &&
8215 { ac_try='test -s conftest$ac_exeext'
8216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); }; }; then
8221 ac_cv_func_connect=yes
8223 echo "$as_me: failed program was:" >&5
8224 sed 's/^/| /' conftest.$ac_ext >&5
8226 ac_cv_func_connect=no
8228 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8230 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
8231 echo "${ECHO_T}$ac_cv_func_connect" >&6
8233 if test $ac_cv_func_connect = no; then
8234 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
8235 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
8236 if test "${ac_cv_lib_socket_connect+set}" = set; then
8237 echo $ECHO_N "(cached) $ECHO_C" >&6
8239 ac_check_lib_save_LIBS=$LIBS
8240 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
8241 cat >conftest.$ac_ext <<_ACEOF
8242 #line $LINENO "configure"
8245 cat confdefs.h >>conftest.$ac_ext
8246 cat >>conftest.$ac_ext <<_ACEOF
8247 /* end confdefs.h. */
8249 /* Override any gcc2 internal prototype to avoid an error. */
8253 /* We use char because int might match the return type of a gcc2
8254 builtin and then its argument prototype would still apply. */
8264 rm -f conftest.$ac_objext conftest$ac_exeext
8265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8266 (eval $ac_link) 2>&5
8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269 (exit $ac_status); } &&
8270 { ac_try='test -s conftest$ac_exeext'
8271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275 (exit $ac_status); }; }; then
8276 ac_cv_lib_socket_connect=yes
8278 echo "$as_me: failed program was:" >&5
8279 sed 's/^/| /' conftest.$ac_ext >&5
8281 ac_cv_lib_socket_connect=no
8283 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8284 LIBS=$ac_check_lib_save_LIBS
8286 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
8287 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
8288 if test $ac_cv_lib_socket_connect = yes; then
8289 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
8294 # Guillermo Gomez says -lposix is necessary on A/UX.
8295 echo "$as_me:$LINENO: checking for remove" >&5
8296 echo $ECHO_N "checking for remove... $ECHO_C" >&6
8297 if test "${ac_cv_func_remove+set}" = set; then
8298 echo $ECHO_N "(cached) $ECHO_C" >&6
8300 cat >conftest.$ac_ext <<_ACEOF
8301 #line $LINENO "configure"
8304 cat confdefs.h >>conftest.$ac_ext
8305 cat >>conftest.$ac_ext <<_ACEOF
8306 /* end confdefs.h. */
8307 /* System header to define __stub macros and hopefully few prototypes,
8308 which can conflict with char remove (); below.
8309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8310 <limits.h> exists even on freestanding compilers. */
8312 # include <limits.h>
8314 # include <assert.h>
8316 /* Override any gcc2 internal prototype to avoid an error. */
8321 /* We use char because int might match the return type of a gcc2
8322 builtin and then its argument prototype would still apply. */
8324 /* The GNU C library defines this for functions which it implements
8325 to always fail with ENOSYS. Some functions are actually named
8326 something starting with __ and the normal name is an alias. */
8327 #if defined (__stub_remove) || defined (__stub___remove)
8330 char (*f) () = remove;
8344 rm -f conftest.$ac_objext conftest$ac_exeext
8345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8346 (eval $ac_link) 2>&5
8348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349 (exit $ac_status); } &&
8350 { ac_try='test -s conftest$ac_exeext'
8351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355 (exit $ac_status); }; }; then
8356 ac_cv_func_remove=yes
8358 echo "$as_me: failed program was:" >&5
8359 sed 's/^/| /' conftest.$ac_ext >&5
8361 ac_cv_func_remove=no
8363 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8365 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
8366 echo "${ECHO_T}$ac_cv_func_remove" >&6
8368 if test $ac_cv_func_remove = no; then
8369 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
8370 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
8371 if test "${ac_cv_lib_posix_remove+set}" = set; then
8372 echo $ECHO_N "(cached) $ECHO_C" >&6
8374 ac_check_lib_save_LIBS=$LIBS
8375 LIBS="-lposix $LIBS"
8376 cat >conftest.$ac_ext <<_ACEOF
8377 #line $LINENO "configure"
8380 cat confdefs.h >>conftest.$ac_ext
8381 cat >>conftest.$ac_ext <<_ACEOF
8382 /* end confdefs.h. */
8384 /* Override any gcc2 internal prototype to avoid an error. */
8388 /* We use char because int might match the return type of a gcc2
8389 builtin and then its argument prototype would still apply. */
8399 rm -f conftest.$ac_objext conftest$ac_exeext
8400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8401 (eval $ac_link) 2>&5
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); } &&
8405 { ac_try='test -s conftest$ac_exeext'
8406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); }; }; then
8411 ac_cv_lib_posix_remove=yes
8413 echo "$as_me: failed program was:" >&5
8414 sed 's/^/| /' conftest.$ac_ext >&5
8416 ac_cv_lib_posix_remove=no
8418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8419 LIBS=$ac_check_lib_save_LIBS
8421 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
8422 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
8423 if test $ac_cv_lib_posix_remove = yes; then
8424 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
8429 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8430 echo "$as_me:$LINENO: checking for shmat" >&5
8431 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
8432 if test "${ac_cv_func_shmat+set}" = set; then
8433 echo $ECHO_N "(cached) $ECHO_C" >&6
8435 cat >conftest.$ac_ext <<_ACEOF
8436 #line $LINENO "configure"
8439 cat confdefs.h >>conftest.$ac_ext
8440 cat >>conftest.$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8442 /* System header to define __stub macros and hopefully few prototypes,
8443 which can conflict with char shmat (); below.
8444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8445 <limits.h> exists even on freestanding compilers. */
8447 # include <limits.h>
8449 # include <assert.h>
8451 /* Override any gcc2 internal prototype to avoid an error. */
8456 /* We use char because int might match the return type of a gcc2
8457 builtin and then its argument prototype would still apply. */
8459 /* The GNU C library defines this for functions which it implements
8460 to always fail with ENOSYS. Some functions are actually named
8461 something starting with __ and the normal name is an alias. */
8462 #if defined (__stub_shmat) || defined (__stub___shmat)
8465 char (*f) () = shmat;
8479 rm -f conftest.$ac_objext conftest$ac_exeext
8480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8481 (eval $ac_link) 2>&5
8483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8484 (exit $ac_status); } &&
8485 { ac_try='test -s conftest$ac_exeext'
8486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8490 (exit $ac_status); }; }; then
8491 ac_cv_func_shmat=yes
8493 echo "$as_me: failed program was:" >&5
8494 sed 's/^/| /' conftest.$ac_ext >&5
8498 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8500 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
8501 echo "${ECHO_T}$ac_cv_func_shmat" >&6
8503 if test $ac_cv_func_shmat = no; then
8504 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
8505 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
8506 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
8507 echo $ECHO_N "(cached) $ECHO_C" >&6
8509 ac_check_lib_save_LIBS=$LIBS
8511 cat >conftest.$ac_ext <<_ACEOF
8512 #line $LINENO "configure"
8515 cat confdefs.h >>conftest.$ac_ext
8516 cat >>conftest.$ac_ext <<_ACEOF
8517 /* end confdefs.h. */
8519 /* Override any gcc2 internal prototype to avoid an error. */
8523 /* We use char because int might match the return type of a gcc2
8524 builtin and then its argument prototype would still apply. */
8534 rm -f conftest.$ac_objext conftest$ac_exeext
8535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8536 (eval $ac_link) 2>&5
8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); } &&
8540 { ac_try='test -s conftest$ac_exeext'
8541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 (exit $ac_status); }; }; then
8546 ac_cv_lib_ipc_shmat=yes
8548 echo "$as_me: failed program was:" >&5
8549 sed 's/^/| /' conftest.$ac_ext >&5
8551 ac_cv_lib_ipc_shmat=no
8553 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8554 LIBS=$ac_check_lib_save_LIBS
8556 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
8557 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
8558 if test $ac_cv_lib_ipc_shmat = yes; then
8559 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
8565 # Check for libraries that X11R6 Xt/Xaw programs need.
8566 ac_save_LDFLAGS=$LDFLAGS
8567 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
8568 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8569 # check for ICE first), but we must link in the order -lSM -lICE or
8570 # we get undefined symbols. So assume we have SM if we have ICE.
8571 # These have to be linked with before -lX11, unlike the other
8572 # libraries we check for below, so use a different variable.
8573 # John Interrante, Karl Berry
8574 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
8575 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
8576 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
8577 echo $ECHO_N "(cached) $ECHO_C" >&6
8579 ac_check_lib_save_LIBS=$LIBS
8580 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
8581 cat >conftest.$ac_ext <<_ACEOF
8582 #line $LINENO "configure"
8585 cat confdefs.h >>conftest.$ac_ext
8586 cat >>conftest.$ac_ext <<_ACEOF
8587 /* end confdefs.h. */
8589 /* Override any gcc2 internal prototype to avoid an error. */
8593 /* We use char because int might match the return type of a gcc2
8594 builtin and then its argument prototype would still apply. */
8595 char IceConnectionNumber ();
8599 IceConnectionNumber ();
8604 rm -f conftest.$ac_objext conftest$ac_exeext
8605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8606 (eval $ac_link) 2>&5
8608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8609 (exit $ac_status); } &&
8610 { ac_try='test -s conftest$ac_exeext'
8611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); }; }; then
8616 ac_cv_lib_ICE_IceConnectionNumber=yes
8618 echo "$as_me: failed program was:" >&5
8619 sed 's/^/| /' conftest.$ac_ext >&5
8621 ac_cv_lib_ICE_IceConnectionNumber=no
8623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8624 LIBS=$ac_check_lib_save_LIBS
8626 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8627 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
8628 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
8629 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
8632 LDFLAGS=$ac_save_LDFLAGS
8684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8686 echo "$as_me:$LINENO: checking for $ac_header" >&5
8687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8689 echo $ECHO_N "(cached) $ECHO_C" >&6
8691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8694 # Is the header compilable?
8695 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8696 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8697 cat >conftest.$ac_ext <<_ACEOF
8698 #line $LINENO "configure"
8701 cat confdefs.h >>conftest.$ac_ext
8702 cat >>conftest.$ac_ext <<_ACEOF
8703 /* end confdefs.h. */
8704 $ac_includes_default
8705 #include <$ac_header>
8707 rm -f conftest.$ac_objext
8708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8709 (eval $ac_compile) 2>&5
8711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8712 (exit $ac_status); } &&
8713 { ac_try='test -s conftest.$ac_objext'
8714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); }; }; then
8719 ac_header_compiler=yes
8721 echo "$as_me: failed program was:" >&5
8722 sed 's/^/| /' conftest.$ac_ext >&5
8724 ac_header_compiler=no
8726 rm -f conftest.$ac_objext conftest.$ac_ext
8727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8728 echo "${ECHO_T}$ac_header_compiler" >&6
8730 # Is the header present?
8731 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8732 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8733 cat >conftest.$ac_ext <<_ACEOF
8734 #line $LINENO "configure"
8737 cat confdefs.h >>conftest.$ac_ext
8738 cat >>conftest.$ac_ext <<_ACEOF
8739 /* end confdefs.h. */
8740 #include <$ac_header>
8742 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8743 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8745 grep -v '^ *+' conftest.er1 >conftest.err
8747 cat conftest.err >&5
8748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749 (exit $ac_status); } >/dev/null; then
8750 if test -s conftest.err; then
8751 ac_cpp_err=$ac_c_preproc_warn_flag
8758 if test -z "$ac_cpp_err"; then
8759 ac_header_preproc=yes
8761 echo "$as_me: failed program was:" >&5
8762 sed 's/^/| /' conftest.$ac_ext >&5
8764 ac_header_preproc=no
8766 rm -f conftest.err conftest.$ac_ext
8767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8768 echo "${ECHO_T}$ac_header_preproc" >&6
8770 # So? What about this header?
8771 case $ac_header_compiler:$ac_header_preproc in
8773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8774 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8779 ## ------------------------------------ ##
8780 ## Report this to bug-autoconf@gnu.org. ##
8781 ## ------------------------------------ ##
8784 sed "s/^/$as_me: WARNING: /" >&2
8787 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8788 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8789 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8790 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8792 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8795 ## ------------------------------------ ##
8796 ## Report this to bug-autoconf@gnu.org. ##
8797 ## ------------------------------------ ##
8800 sed "s/^/$as_me: WARNING: /" >&2
8803 echo "$as_me:$LINENO: checking for $ac_header" >&5
8804 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8805 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8806 echo $ECHO_N "(cached) $ECHO_C" >&6
8808 eval "$as_ac_Header=$ac_header_preproc"
8810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8814 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8815 cat >>confdefs.h <<_ACEOF
8816 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8823 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
8824 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
8825 if test "${ac_cv_header_stdc+set}" = set; then
8826 echo $ECHO_N "(cached) $ECHO_C" >&6
8828 cat >conftest.$ac_ext <<_ACEOF
8829 #line $LINENO "configure"
8832 cat confdefs.h >>conftest.$ac_ext
8833 cat >>conftest.$ac_ext <<_ACEOF
8834 /* end confdefs.h. */
8848 rm -f conftest.$ac_objext
8849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8850 (eval $ac_compile) 2>&5
8852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8853 (exit $ac_status); } &&
8854 { ac_try='test -s conftest.$ac_objext'
8855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 (exit $ac_status); }; }; then
8860 ac_cv_header_stdc=yes
8862 echo "$as_me: failed program was:" >&5
8863 sed 's/^/| /' conftest.$ac_ext >&5
8865 ac_cv_header_stdc=no
8867 rm -f conftest.$ac_objext conftest.$ac_ext
8869 if test $ac_cv_header_stdc = yes; then
8870 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8871 cat >conftest.$ac_ext <<_ACEOF
8872 #line $LINENO "configure"
8875 cat confdefs.h >>conftest.$ac_ext
8876 cat >>conftest.$ac_ext <<_ACEOF
8877 /* end confdefs.h. */
8881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8882 $EGREP "memchr" >/dev/null 2>&1; then
8885 ac_cv_header_stdc=no
8891 if test $ac_cv_header_stdc = yes; then
8892 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8893 cat >conftest.$ac_ext <<_ACEOF
8894 #line $LINENO "configure"
8897 cat confdefs.h >>conftest.$ac_ext
8898 cat >>conftest.$ac_ext <<_ACEOF
8899 /* end confdefs.h. */
8903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8904 $EGREP "free" >/dev/null 2>&1; then
8907 ac_cv_header_stdc=no
8913 if test $ac_cv_header_stdc = yes; then
8914 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8915 if test "$cross_compiling" = yes; then
8918 cat >conftest.$ac_ext <<_ACEOF
8919 #line $LINENO "configure"
8922 cat confdefs.h >>conftest.$ac_ext
8923 cat >>conftest.$ac_ext <<_ACEOF
8924 /* end confdefs.h. */
8926 #if ((' ' & 0x0FF) == 0x020)
8927 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8928 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8930 # define ISLOWER(c) \
8931 (('a' <= (c) && (c) <= 'i') \
8932 || ('j' <= (c) && (c) <= 'r') \
8933 || ('s' <= (c) && (c) <= 'z'))
8934 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8937 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8942 for (i = 0; i < 256; i++)
8943 if (XOR (islower (i), ISLOWER (i))
8944 || toupper (i) != TOUPPER (i))
8949 rm -f conftest$ac_exeext
8950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8951 (eval $ac_link) 2>&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8959 (exit $ac_status); }; }; then
8962 echo "$as_me: program exited with status $ac_status" >&5
8963 echo "$as_me: failed program was:" >&5
8964 sed 's/^/| /' conftest.$ac_ext >&5
8967 ac_cv_header_stdc=no
8969 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8973 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
8974 echo "${ECHO_T}$ac_cv_header_stdc" >&6
8975 if test $ac_cv_header_stdc = yes; then
8977 cat >>confdefs.h <<\_ACEOF
8978 #define STDC_HEADERS 1
8983 echo "$as_me:$LINENO: checking whether sys/types.h defines makedev" >&5
8984 echo $ECHO_N "checking whether sys/types.h defines makedev... $ECHO_C" >&6
8985 if test "${ac_cv_header_sys_types_h_makedev+set}" = set; then
8986 echo $ECHO_N "(cached) $ECHO_C" >&6
8988 cat >conftest.$ac_ext <<_ACEOF
8989 #line $LINENO "configure"
8992 cat confdefs.h >>conftest.$ac_ext
8993 cat >>conftest.$ac_ext <<_ACEOF
8994 /* end confdefs.h. */
8995 #include <sys/types.h>
8999 return makedev(0, 0);
9004 rm -f conftest.$ac_objext conftest$ac_exeext
9005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9006 (eval $ac_link) 2>&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 (exit $ac_status); } &&
9010 { ac_try='test -s conftest$ac_exeext'
9011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015 (exit $ac_status); }; }; then
9016 ac_cv_header_sys_types_h_makedev=yes
9018 echo "$as_me: failed program was:" >&5
9019 sed 's/^/| /' conftest.$ac_ext >&5
9021 ac_cv_header_sys_types_h_makedev=no
9023 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9026 echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h_makedev" >&5
9027 echo "${ECHO_T}$ac_cv_header_sys_types_h_makedev" >&6
9029 if test $ac_cv_header_sys_types_h_makedev = no; then
9030 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
9031 echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
9032 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
9033 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
9034 echo $ECHO_N "(cached) $ECHO_C" >&6
9036 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
9037 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
9039 # Is the header compilable?
9040 echo "$as_me:$LINENO: checking sys/mkdev.h usability" >&5
9041 echo $ECHO_N "checking sys/mkdev.h usability... $ECHO_C" >&6
9042 cat >conftest.$ac_ext <<_ACEOF
9043 #line $LINENO "configure"
9046 cat confdefs.h >>conftest.$ac_ext
9047 cat >>conftest.$ac_ext <<_ACEOF
9048 /* end confdefs.h. */
9049 $ac_includes_default
9050 #include <sys/mkdev.h>
9052 rm -f conftest.$ac_objext
9053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9054 (eval $ac_compile) 2>&5
9056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9057 (exit $ac_status); } &&
9058 { ac_try='test -s conftest.$ac_objext'
9059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063 (exit $ac_status); }; }; then
9064 ac_header_compiler=yes
9066 echo "$as_me: failed program was:" >&5
9067 sed 's/^/| /' conftest.$ac_ext >&5
9069 ac_header_compiler=no
9071 rm -f conftest.$ac_objext conftest.$ac_ext
9072 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9073 echo "${ECHO_T}$ac_header_compiler" >&6
9075 # Is the header present?
9076 echo "$as_me:$LINENO: checking sys/mkdev.h presence" >&5
9077 echo $ECHO_N "checking sys/mkdev.h presence... $ECHO_C" >&6
9078 cat >conftest.$ac_ext <<_ACEOF
9079 #line $LINENO "configure"
9082 cat confdefs.h >>conftest.$ac_ext
9083 cat >>conftest.$ac_ext <<_ACEOF
9084 /* end confdefs.h. */
9085 #include <sys/mkdev.h>
9087 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9088 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9090 grep -v '^ *+' conftest.er1 >conftest.err
9092 cat conftest.err >&5
9093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9094 (exit $ac_status); } >/dev/null; then
9095 if test -s conftest.err; then
9096 ac_cpp_err=$ac_c_preproc_warn_flag
9103 if test -z "$ac_cpp_err"; then
9104 ac_header_preproc=yes
9106 echo "$as_me: failed program was:" >&5
9107 sed 's/^/| /' conftest.$ac_ext >&5
9109 ac_header_preproc=no
9111 rm -f conftest.err conftest.$ac_ext
9112 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9113 echo "${ECHO_T}$ac_header_preproc" >&6
9115 # So? What about this header?
9116 case $ac_header_compiler:$ac_header_preproc in
9118 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&5
9119 echo "$as_me: WARNING: sys/mkdev.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9120 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
9121 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
9124 ## ------------------------------------ ##
9125 ## Report this to bug-autoconf@gnu.org. ##
9126 ## ------------------------------------ ##
9129 sed "s/^/$as_me: WARNING: /" >&2
9132 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: present but cannot be compiled" >&5
9133 echo "$as_me: WARNING: sys/mkdev.h: present but cannot be compiled" >&2;}
9134 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&5
9135 echo "$as_me: WARNING: sys/mkdev.h: check for missing prerequisite headers?" >&2;}
9136 { echo "$as_me:$LINENO: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&5
9137 echo "$as_me: WARNING: sys/mkdev.h: proceeding with the preprocessor's result" >&2;}
9140 ## ------------------------------------ ##
9141 ## Report this to bug-autoconf@gnu.org. ##
9142 ## ------------------------------------ ##
9145 sed "s/^/$as_me: WARNING: /" >&2
9148 echo "$as_me:$LINENO: checking for sys/mkdev.h" >&5
9149 echo $ECHO_N "checking for sys/mkdev.h... $ECHO_C" >&6
9150 if test "${ac_cv_header_sys_mkdev_h+set}" = set; then
9151 echo $ECHO_N "(cached) $ECHO_C" >&6
9153 ac_cv_header_sys_mkdev_h=$ac_header_preproc
9155 echo "$as_me:$LINENO: result: $ac_cv_header_sys_mkdev_h" >&5
9156 echo "${ECHO_T}$ac_cv_header_sys_mkdev_h" >&6
9159 if test $ac_cv_header_sys_mkdev_h = yes; then
9161 cat >>confdefs.h <<\_ACEOF
9162 #define MAJOR_IN_MKDEV 1
9169 if test $ac_cv_header_sys_mkdev_h = no; then
9170 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
9171 echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
9172 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
9173 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
9174 echo $ECHO_N "(cached) $ECHO_C" >&6
9176 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
9177 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
9179 # Is the header compilable?
9180 echo "$as_me:$LINENO: checking sys/sysmacros.h usability" >&5
9181 echo $ECHO_N "checking sys/sysmacros.h usability... $ECHO_C" >&6
9182 cat >conftest.$ac_ext <<_ACEOF
9183 #line $LINENO "configure"
9186 cat confdefs.h >>conftest.$ac_ext
9187 cat >>conftest.$ac_ext <<_ACEOF
9188 /* end confdefs.h. */
9189 $ac_includes_default
9190 #include <sys/sysmacros.h>
9192 rm -f conftest.$ac_objext
9193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9194 (eval $ac_compile) 2>&5
9196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197 (exit $ac_status); } &&
9198 { ac_try='test -s conftest.$ac_objext'
9199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9203 (exit $ac_status); }; }; then
9204 ac_header_compiler=yes
9206 echo "$as_me: failed program was:" >&5
9207 sed 's/^/| /' conftest.$ac_ext >&5
9209 ac_header_compiler=no
9211 rm -f conftest.$ac_objext conftest.$ac_ext
9212 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9213 echo "${ECHO_T}$ac_header_compiler" >&6
9215 # Is the header present?
9216 echo "$as_me:$LINENO: checking sys/sysmacros.h presence" >&5
9217 echo $ECHO_N "checking sys/sysmacros.h presence... $ECHO_C" >&6
9218 cat >conftest.$ac_ext <<_ACEOF
9219 #line $LINENO "configure"
9222 cat confdefs.h >>conftest.$ac_ext
9223 cat >>conftest.$ac_ext <<_ACEOF
9224 /* end confdefs.h. */
9225 #include <sys/sysmacros.h>
9227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9230 grep -v '^ *+' conftest.er1 >conftest.err
9232 cat conftest.err >&5
9233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9234 (exit $ac_status); } >/dev/null; then
9235 if test -s conftest.err; then
9236 ac_cpp_err=$ac_c_preproc_warn_flag
9243 if test -z "$ac_cpp_err"; then
9244 ac_header_preproc=yes
9246 echo "$as_me: failed program was:" >&5
9247 sed 's/^/| /' conftest.$ac_ext >&5
9249 ac_header_preproc=no
9251 rm -f conftest.err conftest.$ac_ext
9252 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9253 echo "${ECHO_T}$ac_header_preproc" >&6
9255 # So? What about this header?
9256 case $ac_header_compiler:$ac_header_preproc in
9258 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&5
9259 echo "$as_me: WARNING: sys/sysmacros.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9260 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
9261 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
9264 ## ------------------------------------ ##
9265 ## Report this to bug-autoconf@gnu.org. ##
9266 ## ------------------------------------ ##
9269 sed "s/^/$as_me: WARNING: /" >&2
9272 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: present but cannot be compiled" >&5
9273 echo "$as_me: WARNING: sys/sysmacros.h: present but cannot be compiled" >&2;}
9274 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&5
9275 echo "$as_me: WARNING: sys/sysmacros.h: check for missing prerequisite headers?" >&2;}
9276 { echo "$as_me:$LINENO: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&5
9277 echo "$as_me: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result" >&2;}
9280 ## ------------------------------------ ##
9281 ## Report this to bug-autoconf@gnu.org. ##
9282 ## ------------------------------------ ##
9285 sed "s/^/$as_me: WARNING: /" >&2
9288 echo "$as_me:$LINENO: checking for sys/sysmacros.h" >&5
9289 echo $ECHO_N "checking for sys/sysmacros.h... $ECHO_C" >&6
9290 if test "${ac_cv_header_sys_sysmacros_h+set}" = set; then
9291 echo $ECHO_N "(cached) $ECHO_C" >&6
9293 ac_cv_header_sys_sysmacros_h=$ac_header_preproc
9295 echo "$as_me:$LINENO: result: $ac_cv_header_sys_sysmacros_h" >&5
9296 echo "${ECHO_T}$ac_cv_header_sys_sysmacros_h" >&6
9299 if test $ac_cv_header_sys_sysmacros_h = yes; then
9301 cat >>confdefs.h <<\_ACEOF
9302 #define MAJOR_IN_SYSMACROS 1
9317 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
9318 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9319 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9320 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
9321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9322 echo $ECHO_N "(cached) $ECHO_C" >&6
9324 cat >conftest.$ac_ext <<_ACEOF
9325 #line $LINENO "configure"
9328 cat confdefs.h >>conftest.$ac_ext
9329 cat >>conftest.$ac_ext <<_ACEOF
9330 /* end confdefs.h. */
9331 #include <sys/types.h>
9343 rm -f conftest.$ac_objext
9344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9345 (eval $ac_compile) 2>&5
9347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9348 (exit $ac_status); } &&
9349 { ac_try='test -s conftest.$ac_objext'
9350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9354 (exit $ac_status); }; }; then
9355 eval "$as_ac_Header=yes"
9357 echo "$as_me: failed program was:" >&5
9358 sed 's/^/| /' conftest.$ac_ext >&5
9360 eval "$as_ac_Header=no"
9362 rm -f conftest.$ac_objext conftest.$ac_ext
9364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9366 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9367 cat >>confdefs.h <<_ACEOF
9368 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9371 ac_header_dirent=$ac_hdr; break
9375 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9376 if test $ac_header_dirent = dirent.h; then
9377 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9378 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9379 if test "${ac_cv_search_opendir+set}" = set; then
9380 echo $ECHO_N "(cached) $ECHO_C" >&6
9382 ac_func_search_save_LIBS=$LIBS
9383 ac_cv_search_opendir=no
9384 cat >conftest.$ac_ext <<_ACEOF
9385 #line $LINENO "configure"
9388 cat confdefs.h >>conftest.$ac_ext
9389 cat >>conftest.$ac_ext <<_ACEOF
9390 /* end confdefs.h. */
9392 /* Override any gcc2 internal prototype to avoid an error. */
9396 /* We use char because int might match the return type of a gcc2
9397 builtin and then its argument prototype would still apply. */
9407 rm -f conftest.$ac_objext conftest$ac_exeext
9408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9409 (eval $ac_link) 2>&5
9411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9412 (exit $ac_status); } &&
9413 { ac_try='test -s conftest$ac_exeext'
9414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9418 (exit $ac_status); }; }; then
9419 ac_cv_search_opendir="none required"
9421 echo "$as_me: failed program was:" >&5
9422 sed 's/^/| /' conftest.$ac_ext >&5
9425 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9426 if test "$ac_cv_search_opendir" = no; then
9427 for ac_lib in dir; do
9428 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9429 cat >conftest.$ac_ext <<_ACEOF
9430 #line $LINENO "configure"
9433 cat confdefs.h >>conftest.$ac_ext
9434 cat >>conftest.$ac_ext <<_ACEOF
9435 /* end confdefs.h. */
9437 /* Override any gcc2 internal prototype to avoid an error. */
9441 /* We use char because int might match the return type of a gcc2
9442 builtin and then its argument prototype would still apply. */
9452 rm -f conftest.$ac_objext conftest$ac_exeext
9453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9454 (eval $ac_link) 2>&5
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); } &&
9458 { ac_try='test -s conftest$ac_exeext'
9459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); }; }; then
9464 ac_cv_search_opendir="-l$ac_lib"
9467 echo "$as_me: failed program was:" >&5
9468 sed 's/^/| /' conftest.$ac_ext >&5
9471 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9474 LIBS=$ac_func_search_save_LIBS
9476 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9477 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9478 if test "$ac_cv_search_opendir" != no; then
9479 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
9484 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9485 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9486 if test "${ac_cv_search_opendir+set}" = set; then
9487 echo $ECHO_N "(cached) $ECHO_C" >&6
9489 ac_func_search_save_LIBS=$LIBS
9490 ac_cv_search_opendir=no
9491 cat >conftest.$ac_ext <<_ACEOF
9492 #line $LINENO "configure"
9495 cat confdefs.h >>conftest.$ac_ext
9496 cat >>conftest.$ac_ext <<_ACEOF
9497 /* end confdefs.h. */
9499 /* Override any gcc2 internal prototype to avoid an error. */
9503 /* We use char because int might match the return type of a gcc2
9504 builtin and then its argument prototype would still apply. */
9514 rm -f conftest.$ac_objext conftest$ac_exeext
9515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9516 (eval $ac_link) 2>&5
9518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9519 (exit $ac_status); } &&
9520 { ac_try='test -s conftest$ac_exeext'
9521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9525 (exit $ac_status); }; }; then
9526 ac_cv_search_opendir="none required"
9528 echo "$as_me: failed program was:" >&5
9529 sed 's/^/| /' conftest.$ac_ext >&5
9532 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9533 if test "$ac_cv_search_opendir" = no; then
9535 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
9536 cat >conftest.$ac_ext <<_ACEOF
9537 #line $LINENO "configure"
9540 cat confdefs.h >>conftest.$ac_ext
9541 cat >>conftest.$ac_ext <<_ACEOF
9542 /* end confdefs.h. */
9544 /* Override any gcc2 internal prototype to avoid an error. */
9548 /* We use char because int might match the return type of a gcc2
9549 builtin and then its argument prototype would still apply. */
9559 rm -f conftest.$ac_objext conftest$ac_exeext
9560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9561 (eval $ac_link) 2>&5
9563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9564 (exit $ac_status); } &&
9565 { ac_try='test -s conftest$ac_exeext'
9566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 (exit $ac_status); }; }; then
9571 ac_cv_search_opendir="-l$ac_lib"
9574 echo "$as_me: failed program was:" >&5
9575 sed 's/^/| /' conftest.$ac_ext >&5
9578 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9581 LIBS=$ac_func_search_save_LIBS
9583 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9584 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9585 if test "$ac_cv_search_opendir" != no; then
9586 test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
9592 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
9593 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
9594 if test "${ac_cv_header_stat_broken+set}" = set; then
9595 echo $ECHO_N "(cached) $ECHO_C" >&6
9597 cat >conftest.$ac_ext <<_ACEOF
9598 #line $LINENO "configure"
9601 cat confdefs.h >>conftest.$ac_ext
9602 cat >>conftest.$ac_ext <<_ACEOF
9603 /* end confdefs.h. */
9604 #include <sys/types.h>
9605 #include <sys/stat.h>
9607 #if defined(S_ISBLK) && defined(S_IFDIR)
9608 # if S_ISBLK (S_IFDIR)
9613 #if defined(S_ISBLK) && defined(S_IFCHR)
9614 # if S_ISBLK (S_IFCHR)
9619 #if defined(S_ISLNK) && defined(S_IFREG)
9620 # if S_ISLNK (S_IFREG)
9625 #if defined(S_ISSOCK) && defined(S_IFREG)
9626 # if S_ISSOCK (S_IFREG)
9632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9633 $EGREP "You lose" >/dev/null 2>&1; then
9634 ac_cv_header_stat_broken=yes
9636 ac_cv_header_stat_broken=no
9641 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
9642 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
9643 if test $ac_cv_header_stat_broken = yes; then
9645 cat >>confdefs.h <<\_ACEOF
9646 #define STAT_MACROS_BROKEN 1
9651 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
9652 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
9653 if test "${ac_cv_header_sys_wait_h+set}" = set; then
9654 echo $ECHO_N "(cached) $ECHO_C" >&6
9656 cat >conftest.$ac_ext <<_ACEOF
9657 #line $LINENO "configure"
9660 cat confdefs.h >>conftest.$ac_ext
9661 cat >>conftest.$ac_ext <<_ACEOF
9662 /* end confdefs.h. */
9663 #include <sys/types.h>
9664 #include <sys/wait.h>
9666 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
9669 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
9677 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
9682 rm -f conftest.$ac_objext
9683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9684 (eval $ac_compile) 2>&5
9686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9687 (exit $ac_status); } &&
9688 { ac_try='test -s conftest.$ac_objext'
9689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9693 (exit $ac_status); }; }; then
9694 ac_cv_header_sys_wait_h=yes
9696 echo "$as_me: failed program was:" >&5
9697 sed 's/^/| /' conftest.$ac_ext >&5
9699 ac_cv_header_sys_wait_h=no
9701 rm -f conftest.$ac_objext conftest.$ac_ext
9703 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
9704 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
9705 if test $ac_cv_header_sys_wait_h = yes; then
9707 cat >>confdefs.h <<\_ACEOF
9708 #define HAVE_SYS_WAIT_H 1
9713 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
9714 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
9715 if test "${ac_cv_header_time+set}" = set; then
9716 echo $ECHO_N "(cached) $ECHO_C" >&6
9718 cat >conftest.$ac_ext <<_ACEOF
9719 #line $LINENO "configure"
9722 cat confdefs.h >>conftest.$ac_ext
9723 cat >>conftest.$ac_ext <<_ACEOF
9724 /* end confdefs.h. */
9725 #include <sys/types.h>
9726 #include <sys/time.h>
9732 if ((struct tm *) 0)
9738 rm -f conftest.$ac_objext
9739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9740 (eval $ac_compile) 2>&5
9742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9743 (exit $ac_status); } &&
9744 { ac_try='test -s conftest.$ac_objext'
9745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9749 (exit $ac_status); }; }; then
9750 ac_cv_header_time=yes
9752 echo "$as_me: failed program was:" >&5
9753 sed 's/^/| /' conftest.$ac_ext >&5
9755 ac_cv_header_time=no
9757 rm -f conftest.$ac_objext conftest.$ac_ext
9759 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
9760 echo "${ECHO_T}$ac_cv_header_time" >&6
9761 if test $ac_cv_header_time = yes; then
9763 cat >>confdefs.h <<\_ACEOF
9764 #define TIME_WITH_SYS_TIME 1
9770 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
9771 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
9772 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
9773 echo $ECHO_N "(cached) $ECHO_C" >&6
9775 cat >conftest.$ac_ext <<_ACEOF
9776 #line $LINENO "configure"
9779 cat confdefs.h >>conftest.$ac_ext
9780 cat >>conftest.$ac_ext <<_ACEOF
9781 /* end confdefs.h. */
9782 $ac_includes_default
9786 static struct stat ac_aggr;
9787 if (ac_aggr.st_blksize)
9793 rm -f conftest.$ac_objext
9794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9795 (eval $ac_compile) 2>&5
9797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9798 (exit $ac_status); } &&
9799 { ac_try='test -s conftest.$ac_objext'
9800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 (exit $ac_status); }; }; then
9805 ac_cv_member_struct_stat_st_blksize=yes
9807 echo "$as_me: failed program was:" >&5
9808 sed 's/^/| /' conftest.$ac_ext >&5
9810 cat >conftest.$ac_ext <<_ACEOF
9811 #line $LINENO "configure"
9814 cat confdefs.h >>conftest.$ac_ext
9815 cat >>conftest.$ac_ext <<_ACEOF
9816 /* end confdefs.h. */
9817 $ac_includes_default
9821 static struct stat ac_aggr;
9822 if (sizeof ac_aggr.st_blksize)
9828 rm -f conftest.$ac_objext
9829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9830 (eval $ac_compile) 2>&5
9832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9833 (exit $ac_status); } &&
9834 { ac_try='test -s conftest.$ac_objext'
9835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839 (exit $ac_status); }; }; then
9840 ac_cv_member_struct_stat_st_blksize=yes
9842 echo "$as_me: failed program was:" >&5
9843 sed 's/^/| /' conftest.$ac_ext >&5
9845 ac_cv_member_struct_stat_st_blksize=no
9847 rm -f conftest.$ac_objext conftest.$ac_ext
9849 rm -f conftest.$ac_objext conftest.$ac_ext
9851 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
9852 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
9853 if test $ac_cv_member_struct_stat_st_blksize = yes; then
9855 cat >>confdefs.h <<_ACEOF
9856 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
9860 cat >>confdefs.h <<\_ACEOF
9861 #define HAVE_ST_BLKSIZE 1
9867 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
9868 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
9869 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
9870 echo $ECHO_N "(cached) $ECHO_C" >&6
9872 cat >conftest.$ac_ext <<_ACEOF
9873 #line $LINENO "configure"
9876 cat confdefs.h >>conftest.$ac_ext
9877 cat >>conftest.$ac_ext <<_ACEOF
9878 /* end confdefs.h. */
9879 $ac_includes_default
9883 static struct stat ac_aggr;
9884 if (ac_aggr.st_blocks)
9890 rm -f conftest.$ac_objext
9891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9892 (eval $ac_compile) 2>&5
9894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9895 (exit $ac_status); } &&
9896 { ac_try='test -s conftest.$ac_objext'
9897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9901 (exit $ac_status); }; }; then
9902 ac_cv_member_struct_stat_st_blocks=yes
9904 echo "$as_me: failed program was:" >&5
9905 sed 's/^/| /' conftest.$ac_ext >&5
9907 cat >conftest.$ac_ext <<_ACEOF
9908 #line $LINENO "configure"
9911 cat confdefs.h >>conftest.$ac_ext
9912 cat >>conftest.$ac_ext <<_ACEOF
9913 /* end confdefs.h. */
9914 $ac_includes_default
9918 static struct stat ac_aggr;
9919 if (sizeof ac_aggr.st_blocks)
9925 rm -f conftest.$ac_objext
9926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9927 (eval $ac_compile) 2>&5
9929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930 (exit $ac_status); } &&
9931 { ac_try='test -s conftest.$ac_objext'
9932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936 (exit $ac_status); }; }; then
9937 ac_cv_member_struct_stat_st_blocks=yes
9939 echo "$as_me: failed program was:" >&5
9940 sed 's/^/| /' conftest.$ac_ext >&5
9942 ac_cv_member_struct_stat_st_blocks=no
9944 rm -f conftest.$ac_objext conftest.$ac_ext
9946 rm -f conftest.$ac_objext conftest.$ac_ext
9948 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
9949 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
9950 if test $ac_cv_member_struct_stat_st_blocks = yes; then
9952 cat >>confdefs.h <<_ACEOF
9953 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
9957 cat >>confdefs.h <<\_ACEOF
9958 #define HAVE_ST_BLOCKS 1
9962 LIBOBJS="$LIBOBJS fileblocks.$ac_objext"
9966 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
9967 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
9968 if test "${ac_cv_struct_tm+set}" = set; then
9969 echo $ECHO_N "(cached) $ECHO_C" >&6
9971 cat >conftest.$ac_ext <<_ACEOF
9972 #line $LINENO "configure"
9975 cat confdefs.h >>conftest.$ac_ext
9976 cat >>conftest.$ac_ext <<_ACEOF
9977 /* end confdefs.h. */
9978 #include <sys/types.h>
9984 struct tm *tp; tp->tm_sec;
9989 rm -f conftest.$ac_objext
9990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9991 (eval $ac_compile) 2>&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); } &&
9995 { ac_try='test -s conftest.$ac_objext'
9996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 (exit $ac_status); }; }; then
10001 ac_cv_struct_tm=time.h
10003 echo "$as_me: failed program was:" >&5
10004 sed 's/^/| /' conftest.$ac_ext >&5
10006 ac_cv_struct_tm=sys/time.h
10008 rm -f conftest.$ac_objext conftest.$ac_ext
10010 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
10011 echo "${ECHO_T}$ac_cv_struct_tm" >&6
10012 if test $ac_cv_struct_tm = sys/time.h; then
10014 cat >>confdefs.h <<\_ACEOF
10015 #define TM_IN_SYS_TIME 1
10020 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
10021 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
10022 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
10023 echo $ECHO_N "(cached) $ECHO_C" >&6
10025 cat >conftest.$ac_ext <<_ACEOF
10026 #line $LINENO "configure"
10029 cat confdefs.h >>conftest.$ac_ext
10030 cat >>conftest.$ac_ext <<_ACEOF
10031 /* end confdefs.h. */
10032 #include <sys/types.h>
10033 #include <$ac_cv_struct_tm>
10039 static struct tm ac_aggr;
10040 if (ac_aggr.tm_zone)
10046 rm -f conftest.$ac_objext
10047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10048 (eval $ac_compile) 2>&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 (exit $ac_status); } &&
10052 { ac_try='test -s conftest.$ac_objext'
10053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054 (eval $ac_try) 2>&5
10056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057 (exit $ac_status); }; }; then
10058 ac_cv_member_struct_tm_tm_zone=yes
10060 echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.$ac_ext >&5
10063 cat >conftest.$ac_ext <<_ACEOF
10064 #line $LINENO "configure"
10067 cat confdefs.h >>conftest.$ac_ext
10068 cat >>conftest.$ac_ext <<_ACEOF
10069 /* end confdefs.h. */
10070 #include <sys/types.h>
10071 #include <$ac_cv_struct_tm>
10077 static struct tm ac_aggr;
10078 if (sizeof ac_aggr.tm_zone)
10084 rm -f conftest.$ac_objext
10085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10086 (eval $ac_compile) 2>&5
10088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10089 (exit $ac_status); } &&
10090 { ac_try='test -s conftest.$ac_objext'
10091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10092 (eval $ac_try) 2>&5
10094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10095 (exit $ac_status); }; }; then
10096 ac_cv_member_struct_tm_tm_zone=yes
10098 echo "$as_me: failed program was:" >&5
10099 sed 's/^/| /' conftest.$ac_ext >&5
10101 ac_cv_member_struct_tm_tm_zone=no
10103 rm -f conftest.$ac_objext conftest.$ac_ext
10105 rm -f conftest.$ac_objext conftest.$ac_ext
10107 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
10108 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
10109 if test $ac_cv_member_struct_tm_tm_zone = yes; then
10111 cat >>confdefs.h <<_ACEOF
10112 #define HAVE_STRUCT_TM_TM_ZONE 1
10118 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
10120 cat >>confdefs.h <<\_ACEOF
10121 #define HAVE_TM_ZONE 1
10125 echo "$as_me:$LINENO: checking for tzname" >&5
10126 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
10127 if test "${ac_cv_var_tzname+set}" = set; then
10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10130 cat >conftest.$ac_ext <<_ACEOF
10131 #line $LINENO "configure"
10134 cat confdefs.h >>conftest.$ac_ext
10135 cat >>conftest.$ac_ext <<_ACEOF
10136 /* end confdefs.h. */
10138 #ifndef tzname /* For SGI. */
10139 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
10150 rm -f conftest.$ac_objext conftest$ac_exeext
10151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10152 (eval $ac_link) 2>&5
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); } &&
10156 { ac_try='test -s conftest$ac_exeext'
10157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10158 (eval $ac_try) 2>&5
10160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161 (exit $ac_status); }; }; then
10162 ac_cv_var_tzname=yes
10164 echo "$as_me: failed program was:" >&5
10165 sed 's/^/| /' conftest.$ac_ext >&5
10167 ac_cv_var_tzname=no
10169 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10171 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
10172 echo "${ECHO_T}$ac_cv_var_tzname" >&6
10173 if test $ac_cv_var_tzname = yes; then
10175 cat >>confdefs.h <<\_ACEOF
10176 #define HAVE_TZNAME 1
10183 echo "$as_me:$LINENO: checking for utime.h" >&5
10184 echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
10185 if test "${ba_cv_header_utime_h+set}" = set; then
10186 echo $ECHO_N "(cached) $ECHO_C" >&6
10188 cat >conftest.$ac_ext <<_ACEOF
10189 #line $LINENO "configure"
10192 cat confdefs.h >>conftest.$ac_ext
10193 cat >>conftest.$ac_ext <<_ACEOF
10194 /* end confdefs.h. */
10196 #include <sys/types.h>
10206 rm -f conftest.$ac_objext
10207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10208 (eval $ac_compile) 2>&5
10210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10211 (exit $ac_status); } &&
10212 { ac_try='test -s conftest.$ac_objext'
10213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10214 (eval $ac_try) 2>&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); }; }; then
10218 ba_cv_header_utime_h=yes
10220 echo "$as_me: failed program was:" >&5
10221 sed 's/^/| /' conftest.$ac_ext >&5
10223 ba_cv_header_utime_h=no
10225 rm -f conftest.$ac_objext conftest.$ac_ext
10227 echo "$as_me:$LINENO: result: $ba_cv_header_utime_h" >&5
10228 echo "${ECHO_T}$ba_cv_header_utime_h" >&6
10229 test $ba_cv_header_utime_h = yes && cat >>confdefs.h <<\_ACEOF
10230 #define HAVE_UTIME_H 1
10234 echo "$as_me:$LINENO: checking for socklen_t" >&5
10235 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
10236 if test "${ba_cv_header_socklen_t+set}" = set; then
10237 echo $ECHO_N "(cached) $ECHO_C" >&6
10239 cat >conftest.$ac_ext <<_ACEOF
10240 #line $LINENO "configure"
10243 cat confdefs.h >>conftest.$ac_ext
10244 cat >>conftest.$ac_ext <<_ACEOF
10245 /* end confdefs.h. */
10247 #include <sys/types.h>
10248 #include <sys/socket.h>
10257 rm -f conftest.$ac_objext
10258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10259 (eval $ac_compile) 2>&5
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); } &&
10263 { ac_try='test -s conftest.$ac_objext'
10264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10265 (eval $ac_try) 2>&5
10267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10268 (exit $ac_status); }; }; then
10269 ba_cv_header_socklen_t=yes
10271 echo "$as_me: failed program was:" >&5
10272 sed 's/^/| /' conftest.$ac_ext >&5
10274 ba_cv_header_socklen_t=no
10276 rm -f conftest.$ac_objext conftest.$ac_ext
10278 echo "$as_me:$LINENO: result: $ba_cv_header_socklen_t" >&5
10279 echo "${ECHO_T}$ba_cv_header_socklen_t" >&6
10280 test $ba_cv_header_socklen_t = yes && cat >>confdefs.h <<\_ACEOF
10281 #define HAVE_SOCKLEN_T 1
10285 echo "$as_me:$LINENO: checking for bigendian" >&5
10286 echo $ECHO_N "checking for bigendian... $ECHO_C" >&6
10287 if test "${ba_cv_bigendian+set}" = set; then
10288 echo $ECHO_N "(cached) $ECHO_C" >&6
10290 if test "$cross_compiling" = yes; then
10293 cat >conftest.$ac_ext <<_ACEOF
10294 #line $LINENO "configure"
10297 cat confdefs.h >>conftest.$ac_ext
10298 cat >>conftest.$ac_ext <<_ACEOF
10299 /* end confdefs.h. */
10300 main(){long a=1L; char *p=(char *)&a; exit(*p);}
10302 rm -f conftest$ac_exeext
10303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10304 (eval $ac_link) 2>&5
10306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10307 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10309 (eval $ac_try) 2>&5
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); }; }; then
10313 ba_cv_bigendian=yes
10315 echo "$as_me: program exited with status $ac_status" >&5
10316 echo "$as_me: failed program was:" >&5
10317 sed 's/^/| /' conftest.$ac_ext >&5
10319 ( exit $ac_status )
10322 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10325 echo "$as_me:$LINENO: result: $ba_cv_bigendian" >&5
10326 echo "${ECHO_T}$ba_cv_bigendian" >&6
10327 test $ba_cv_bigendian = yes && cat >>confdefs.h <<\_ACEOF
10328 #define HAVE_BIGENDIAN 1
10333 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10334 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
10335 if test "${ac_cv_c_const+set}" = set; then
10336 echo $ECHO_N "(cached) $ECHO_C" >&6
10338 cat >conftest.$ac_ext <<_ACEOF
10339 #line $LINENO "configure"
10342 cat confdefs.h >>conftest.$ac_ext
10343 cat >>conftest.$ac_ext <<_ACEOF
10344 /* end confdefs.h. */
10349 /* FIXME: Include the comments suggested by Paul. */
10350 #ifndef __cplusplus
10351 /* Ultrix mips cc rejects this. */
10352 typedef int charset[2];
10354 /* SunOS 4.1.1 cc rejects this. */
10355 char const *const *ccp;
10357 /* NEC SVR4.0.2 mips cc rejects this. */
10358 struct point {int x, y;};
10359 static struct point const zero = {0,0};
10360 /* AIX XL C 1.02.0.0 rejects this.
10361 It does not let you subtract one const X* pointer from another in
10362 an arm of an if-expression whose if-part is not a constant
10364 const char *g = "string";
10365 ccp = &g + (g ? g-g : 0);
10366 /* HPUX 7.0 cc rejects these. */
10369 ccp = (char const *const *) p;
10370 { /* SCO 3.2v4 cc rejects this. */
10372 char const *s = 0 ? (char *) 0 : (char const *) 0;
10376 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10377 int x[] = {25, 17};
10378 const int *foo = &x[0];
10381 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10382 typedef const int *iptr;
10386 { /* AIX XL C 1.02.0.0 rejects this saying
10387 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10388 struct s { int j; const int *ap[3]; };
10389 struct s *b; b->j = 5;
10391 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10392 const int foo = 10;
10400 rm -f conftest.$ac_objext
10401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10402 (eval $ac_compile) 2>&5
10404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10405 (exit $ac_status); } &&
10406 { ac_try='test -s conftest.$ac_objext'
10407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10408 (eval $ac_try) 2>&5
10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); }; }; then
10414 echo "$as_me: failed program was:" >&5
10415 sed 's/^/| /' conftest.$ac_ext >&5
10419 rm -f conftest.$ac_objext conftest.$ac_ext
10421 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10422 echo "${ECHO_T}$ac_cv_c_const" >&6
10423 if test $ac_cv_c_const = no; then
10425 cat >>confdefs.h <<\_ACEOF
10433 echo "$as_me:$LINENO: checking how to get filesystem type" >&5
10434 echo $ECHO_N "checking how to get filesystem type... $ECHO_C" >&6
10436 # The order of these tests is important.
10437 cat >conftest.$ac_ext <<_ACEOF
10438 #line $LINENO "configure"
10441 cat confdefs.h >>conftest.$ac_ext
10442 cat >>conftest.$ac_ext <<_ACEOF
10443 /* end confdefs.h. */
10444 #include <sys/statvfs.h>
10445 #include <sys/fstyp.h>
10447 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10448 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10450 grep -v '^ *+' conftest.er1 >conftest.err
10452 cat conftest.err >&5
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); } >/dev/null; then
10455 if test -s conftest.err; then
10456 ac_cpp_err=$ac_c_preproc_warn_flag
10463 if test -z "$ac_cpp_err"; then
10464 cat >>confdefs.h <<\_ACEOF
10465 #define FSTYPE_STATVFS 1
10469 echo "$as_me: failed program was:" >&5
10470 sed 's/^/| /' conftest.$ac_ext >&5
10474 rm -f conftest.err conftest.$ac_ext
10475 if test $fstype = no; then
10476 cat >conftest.$ac_ext <<_ACEOF
10477 #line $LINENO "configure"
10480 cat confdefs.h >>conftest.$ac_ext
10481 cat >>conftest.$ac_ext <<_ACEOF
10482 /* end confdefs.h. */
10483 #include <sys/statfs.h>
10484 #include <sys/fstyp.h>
10486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10487 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10489 grep -v '^ *+' conftest.er1 >conftest.err
10491 cat conftest.err >&5
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); } >/dev/null; then
10494 if test -s conftest.err; then
10495 ac_cpp_err=$ac_c_preproc_warn_flag
10502 if test -z "$ac_cpp_err"; then
10503 cat >>confdefs.h <<\_ACEOF
10504 #define FSTYPE_USG_STATFS 1
10508 echo "$as_me: failed program was:" >&5
10509 sed 's/^/| /' conftest.$ac_ext >&5
10513 rm -f conftest.err conftest.$ac_ext
10515 if test $fstype = no; then
10516 cat >conftest.$ac_ext <<_ACEOF
10517 #line $LINENO "configure"
10520 cat confdefs.h >>conftest.$ac_ext
10521 cat >>conftest.$ac_ext <<_ACEOF
10522 /* end confdefs.h. */
10523 #include <sys/statfs.h>
10524 #include <sys/vmount.h>
10526 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10527 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10529 grep -v '^ *+' conftest.er1 >conftest.err
10531 cat conftest.err >&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); } >/dev/null; then
10534 if test -s conftest.err; then
10535 ac_cpp_err=$ac_c_preproc_warn_flag
10542 if test -z "$ac_cpp_err"; then
10543 cat >>confdefs.h <<\_ACEOF
10544 #define FSTYPE_AIX_STATFS 1
10548 echo "$as_me: failed program was:" >&5
10549 sed 's/^/| /' conftest.$ac_ext >&5
10553 rm -f conftest.err conftest.$ac_ext
10555 if test $fstype = no; then
10556 cat >conftest.$ac_ext <<_ACEOF
10557 #line $LINENO "configure"
10560 cat confdefs.h >>conftest.$ac_ext
10561 cat >>conftest.$ac_ext <<_ACEOF
10562 /* end confdefs.h. */
10563 #include <mntent.h>
10565 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10566 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10568 grep -v '^ *+' conftest.er1 >conftest.err
10570 cat conftest.err >&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); } >/dev/null; then
10573 if test -s conftest.err; then
10574 ac_cpp_err=$ac_c_preproc_warn_flag
10581 if test -z "$ac_cpp_err"; then
10582 cat >>confdefs.h <<\_ACEOF
10583 #define FSTYPE_MNTENT 1
10587 echo "$as_me: failed program was:" >&5
10588 sed 's/^/| /' conftest.$ac_ext >&5
10592 rm -f conftest.err conftest.$ac_ext
10594 if test $fstype = no; then
10595 cat >conftest.$ac_ext <<_ACEOF
10596 #line $LINENO "configure"
10599 cat confdefs.h >>conftest.$ac_ext
10600 cat >>conftest.$ac_ext <<_ACEOF
10601 /* end confdefs.h. */
10602 #include <sys/mount.h>
10605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10606 $EGREP "f_type;" >/dev/null 2>&1; then
10607 cat >>confdefs.h <<\_ACEOF
10608 #define FSTYPE_STATFS 1
10615 if test $fstype = no; then
10616 cat >conftest.$ac_ext <<_ACEOF
10617 #line $LINENO "configure"
10620 cat confdefs.h >>conftest.$ac_ext
10621 cat >>conftest.$ac_ext <<_ACEOF
10622 /* end confdefs.h. */
10623 #include <sys/mount.h>
10624 #include <sys/fs_types.h>
10626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10627 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10629 grep -v '^ *+' conftest.er1 >conftest.err
10631 cat conftest.err >&5
10632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10633 (exit $ac_status); } >/dev/null; then
10634 if test -s conftest.err; then
10635 ac_cpp_err=$ac_c_preproc_warn_flag
10642 if test -z "$ac_cpp_err"; then
10643 cat >>confdefs.h <<\_ACEOF
10644 #define FSTYPE_GETMNT 1
10648 echo "$as_me: failed program was:" >&5
10649 sed 's/^/| /' conftest.$ac_ext >&5
10653 rm -f conftest.err conftest.$ac_ext
10655 echo "$as_me:$LINENO: result: $fstype" >&5
10656 echo "${ECHO_T}$fstype" >&6
10658 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
10659 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
10660 if test "${ac_cv_type_signal+set}" = set; then
10661 echo $ECHO_N "(cached) $ECHO_C" >&6
10663 cat >conftest.$ac_ext <<_ACEOF
10664 #line $LINENO "configure"
10667 cat confdefs.h >>conftest.$ac_ext
10668 cat >>conftest.$ac_ext <<_ACEOF
10669 /* end confdefs.h. */
10670 #include <sys/types.h>
10671 #include <signal.h>
10676 extern "C" void (*signal (int, void (*)(int)))(int);
10678 void (*signal ()) ();
10689 rm -f conftest.$ac_objext
10690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10691 (eval $ac_compile) 2>&5
10693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10694 (exit $ac_status); } &&
10695 { ac_try='test -s conftest.$ac_objext'
10696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10697 (eval $ac_try) 2>&5
10699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10700 (exit $ac_status); }; }; then
10701 ac_cv_type_signal=void
10703 echo "$as_me: failed program was:" >&5
10704 sed 's/^/| /' conftest.$ac_ext >&5
10706 ac_cv_type_signal=int
10708 rm -f conftest.$ac_objext conftest.$ac_ext
10710 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
10711 echo "${ECHO_T}$ac_cv_type_signal" >&6
10713 cat >>confdefs.h <<_ACEOF
10714 #define RETSIGTYPE $ac_cv_type_signal
10719 echo "$as_me:$LINENO: checking for type of signal functions" >&5
10720 echo $ECHO_N "checking for type of signal functions... $ECHO_C" >&6
10721 if test "${bash_cv_signal_vintage+set}" = set; then
10722 echo $ECHO_N "(cached) $ECHO_C" >&6
10725 cat >conftest.$ac_ext <<_ACEOF
10726 #line $LINENO "configure"
10729 cat confdefs.h >>conftest.$ac_ext
10730 cat >>conftest.$ac_ext <<_ACEOF
10731 /* end confdefs.h. */
10732 #include <signal.h>
10738 struct sigaction sa;
10739 sigemptyset(&ss); sigsuspend(&ss);
10740 sigaction(SIGINT, &sa, (struct sigaction *) 0);
10741 sigprocmask(SIG_BLOCK, &ss, (sigset_t *) 0);
10747 rm -f conftest.$ac_objext conftest$ac_exeext
10748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10749 (eval $ac_link) 2>&5
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); } &&
10753 { ac_try='test -s conftest$ac_exeext'
10754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10755 (eval $ac_try) 2>&5
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); }; }; then
10759 bash_cv_signal_vintage=posix
10761 echo "$as_me: failed program was:" >&5
10762 sed 's/^/| /' conftest.$ac_ext >&5
10765 cat >conftest.$ac_ext <<_ACEOF
10766 #line $LINENO "configure"
10769 cat confdefs.h >>conftest.$ac_ext
10770 cat >>conftest.$ac_ext <<_ACEOF
10771 /* end confdefs.h. */
10772 #include <signal.h>
10777 int mask = sigmask(SIGINT);
10778 sigsetmask(mask); sigblock(mask); sigpause(mask);
10784 rm -f conftest.$ac_objext conftest$ac_exeext
10785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10786 (eval $ac_link) 2>&5
10788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10789 (exit $ac_status); } &&
10790 { ac_try='test -s conftest$ac_exeext'
10791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10792 (eval $ac_try) 2>&5
10794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10795 (exit $ac_status); }; }; then
10796 bash_cv_signal_vintage=4.2bsd
10798 echo "$as_me: failed program was:" >&5
10799 sed 's/^/| /' conftest.$ac_ext >&5
10802 cat >conftest.$ac_ext <<_ACEOF
10803 #line $LINENO "configure"
10806 cat confdefs.h >>conftest.$ac_ext
10807 cat >>conftest.$ac_ext <<_ACEOF
10808 /* end confdefs.h. */
10810 #include <signal.h>
10811 RETSIGTYPE foo() { }
10816 int mask = sigmask(SIGINT);
10817 sigset(SIGINT, foo); sigrelse(SIGINT);
10818 sighold(SIGINT); sigpause(SIGINT);
10824 rm -f conftest.$ac_objext conftest$ac_exeext
10825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10826 (eval $ac_link) 2>&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); } &&
10830 { ac_try='test -s conftest$ac_exeext'
10831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10832 (eval $ac_try) 2>&5
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); }; }; then
10836 bash_cv_signal_vintage=svr3
10838 echo "$as_me: failed program was:" >&5
10839 sed 's/^/| /' conftest.$ac_ext >&5
10841 bash_cv_signal_vintage=v7
10844 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10847 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10850 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10854 echo "$as_me:$LINENO: result: $bash_cv_signal_vintage" >&5
10855 echo "${ECHO_T}$bash_cv_signal_vintage" >&6
10856 if test "$bash_cv_signal_vintage" = posix; then
10857 cat >>confdefs.h <<\_ACEOF
10858 #define HAVE_POSIX_SIGNALS 1
10861 elif test "$bash_cv_signal_vintage" = "4.2bsd"; then
10862 cat >>confdefs.h <<\_ACEOF
10863 #define HAVE_BSD_SIGNALS 1
10866 elif test "$bash_cv_signal_vintage" = svr3; then
10867 cat >>confdefs.h <<\_ACEOF
10868 #define HAVE_USG_SIGHOLD 1
10873 echo "$as_me:$LINENO: checking for mode_t" >&5
10874 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
10875 if test "${ac_cv_type_mode_t+set}" = set; then
10876 echo $ECHO_N "(cached) $ECHO_C" >&6
10878 cat >conftest.$ac_ext <<_ACEOF
10879 #line $LINENO "configure"
10882 cat confdefs.h >>conftest.$ac_ext
10883 cat >>conftest.$ac_ext <<_ACEOF
10884 /* end confdefs.h. */
10885 $ac_includes_default
10891 if (sizeof (mode_t))
10897 rm -f conftest.$ac_objext
10898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10899 (eval $ac_compile) 2>&5
10901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902 (exit $ac_status); } &&
10903 { ac_try='test -s conftest.$ac_objext'
10904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10905 (eval $ac_try) 2>&5
10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908 (exit $ac_status); }; }; then
10909 ac_cv_type_mode_t=yes
10911 echo "$as_me: failed program was:" >&5
10912 sed 's/^/| /' conftest.$ac_ext >&5
10914 ac_cv_type_mode_t=no
10916 rm -f conftest.$ac_objext conftest.$ac_ext
10918 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
10919 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
10920 if test $ac_cv_type_mode_t = yes; then
10924 cat >>confdefs.h <<_ACEOF
10930 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
10931 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
10932 if test "${ac_cv_type_uid_t+set}" = set; then
10933 echo $ECHO_N "(cached) $ECHO_C" >&6
10935 cat >conftest.$ac_ext <<_ACEOF
10936 #line $LINENO "configure"
10939 cat confdefs.h >>conftest.$ac_ext
10940 cat >>conftest.$ac_ext <<_ACEOF
10941 /* end confdefs.h. */
10942 #include <sys/types.h>
10945 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10946 $EGREP "uid_t" >/dev/null 2>&1; then
10947 ac_cv_type_uid_t=yes
10949 ac_cv_type_uid_t=no
10954 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
10955 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
10956 if test $ac_cv_type_uid_t = no; then
10958 cat >>confdefs.h <<\_ACEOF
10963 cat >>confdefs.h <<\_ACEOF
10969 echo "$as_me:$LINENO: checking for size_t" >&5
10970 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
10971 if test "${ac_cv_type_size_t+set}" = set; then
10972 echo $ECHO_N "(cached) $ECHO_C" >&6
10974 cat >conftest.$ac_ext <<_ACEOF
10975 #line $LINENO "configure"
10978 cat confdefs.h >>conftest.$ac_ext
10979 cat >>conftest.$ac_ext <<_ACEOF
10980 /* end confdefs.h. */
10981 $ac_includes_default
10987 if (sizeof (size_t))
10993 rm -f conftest.$ac_objext
10994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10995 (eval $ac_compile) 2>&5
10997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10998 (exit $ac_status); } &&
10999 { ac_try='test -s conftest.$ac_objext'
11000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11001 (eval $ac_try) 2>&5
11003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11004 (exit $ac_status); }; }; then
11005 ac_cv_type_size_t=yes
11007 echo "$as_me: failed program was:" >&5
11008 sed 's/^/| /' conftest.$ac_ext >&5
11010 ac_cv_type_size_t=no
11012 rm -f conftest.$ac_objext conftest.$ac_ext
11014 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
11015 echo "${ECHO_T}$ac_cv_type_size_t" >&6
11016 if test $ac_cv_type_size_t = yes; then
11020 cat >>confdefs.h <<_ACEOF
11021 #define size_t unsigned
11026 echo "$as_me:$LINENO: checking for pid_t" >&5
11027 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11028 if test "${ac_cv_type_pid_t+set}" = set; then
11029 echo $ECHO_N "(cached) $ECHO_C" >&6
11031 cat >conftest.$ac_ext <<_ACEOF
11032 #line $LINENO "configure"
11035 cat confdefs.h >>conftest.$ac_ext
11036 cat >>conftest.$ac_ext <<_ACEOF
11037 /* end confdefs.h. */
11038 $ac_includes_default
11044 if (sizeof (pid_t))
11050 rm -f conftest.$ac_objext
11051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11052 (eval $ac_compile) 2>&5
11054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11055 (exit $ac_status); } &&
11056 { ac_try='test -s conftest.$ac_objext'
11057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11058 (eval $ac_try) 2>&5
11060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); }; }; then
11062 ac_cv_type_pid_t=yes
11064 echo "$as_me: failed program was:" >&5
11065 sed 's/^/| /' conftest.$ac_ext >&5
11067 ac_cv_type_pid_t=no
11069 rm -f conftest.$ac_objext conftest.$ac_ext
11071 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
11072 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11073 if test $ac_cv_type_pid_t = yes; then
11077 cat >>confdefs.h <<_ACEOF
11083 echo "$as_me:$LINENO: checking for off_t" >&5
11084 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
11085 if test "${ac_cv_type_off_t+set}" = set; then
11086 echo $ECHO_N "(cached) $ECHO_C" >&6
11088 cat >conftest.$ac_ext <<_ACEOF
11089 #line $LINENO "configure"
11092 cat confdefs.h >>conftest.$ac_ext
11093 cat >>conftest.$ac_ext <<_ACEOF
11094 /* end confdefs.h. */
11095 $ac_includes_default
11101 if (sizeof (off_t))
11107 rm -f conftest.$ac_objext
11108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11109 (eval $ac_compile) 2>&5
11111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11112 (exit $ac_status); } &&
11113 { ac_try='test -s conftest.$ac_objext'
11114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11115 (eval $ac_try) 2>&5
11117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11118 (exit $ac_status); }; }; then
11119 ac_cv_type_off_t=yes
11121 echo "$as_me: failed program was:" >&5
11122 sed 's/^/| /' conftest.$ac_ext >&5
11124 ac_cv_type_off_t=no
11126 rm -f conftest.$ac_objext conftest.$ac_ext
11128 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
11129 echo "${ECHO_T}$ac_cv_type_off_t" >&6
11130 if test $ac_cv_type_off_t = yes; then
11134 cat >>confdefs.h <<_ACEOF
11140 echo "$as_me:$LINENO: checking for ino_t" >&5
11141 echo $ECHO_N "checking for ino_t... $ECHO_C" >&6
11142 if test "${ac_cv_type_ino_t+set}" = set; then
11143 echo $ECHO_N "(cached) $ECHO_C" >&6
11145 cat >conftest.$ac_ext <<_ACEOF
11146 #line $LINENO "configure"
11149 cat confdefs.h >>conftest.$ac_ext
11150 cat >>conftest.$ac_ext <<_ACEOF
11151 /* end confdefs.h. */
11152 $ac_includes_default
11158 if (sizeof (ino_t))
11164 rm -f conftest.$ac_objext
11165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11166 (eval $ac_compile) 2>&5
11168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11169 (exit $ac_status); } &&
11170 { ac_try='test -s conftest.$ac_objext'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; }; then
11176 ac_cv_type_ino_t=yes
11178 echo "$as_me: failed program was:" >&5
11179 sed 's/^/| /' conftest.$ac_ext >&5
11181 ac_cv_type_ino_t=no
11183 rm -f conftest.$ac_objext conftest.$ac_ext
11185 echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
11186 echo "${ECHO_T}$ac_cv_type_ino_t" >&6
11187 if test $ac_cv_type_ino_t = yes; then
11191 cat >>confdefs.h <<_ACEOF
11192 #define ino_t unsigned long
11197 echo "$as_me:$LINENO: checking for dev_t" >&5
11198 echo $ECHO_N "checking for dev_t... $ECHO_C" >&6
11199 if test "${ac_cv_type_dev_t+set}" = set; then
11200 echo $ECHO_N "(cached) $ECHO_C" >&6
11202 cat >conftest.$ac_ext <<_ACEOF
11203 #line $LINENO "configure"
11206 cat confdefs.h >>conftest.$ac_ext
11207 cat >>conftest.$ac_ext <<_ACEOF
11208 /* end confdefs.h. */
11209 $ac_includes_default
11215 if (sizeof (dev_t))
11221 rm -f conftest.$ac_objext
11222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11223 (eval $ac_compile) 2>&5
11225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226 (exit $ac_status); } &&
11227 { ac_try='test -s conftest.$ac_objext'
11228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11229 (eval $ac_try) 2>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); }; }; then
11233 ac_cv_type_dev_t=yes
11235 echo "$as_me: failed program was:" >&5
11236 sed 's/^/| /' conftest.$ac_ext >&5
11238 ac_cv_type_dev_t=no
11240 rm -f conftest.$ac_objext conftest.$ac_ext
11242 echo "$as_me:$LINENO: result: $ac_cv_type_dev_t" >&5
11243 echo "${ECHO_T}$ac_cv_type_dev_t" >&6
11244 if test $ac_cv_type_dev_t = yes; then
11248 cat >>confdefs.h <<_ACEOF
11249 #define dev_t unsigned long
11254 echo "$as_me:$LINENO: checking for daddr_t" >&5
11255 echo $ECHO_N "checking for daddr_t... $ECHO_C" >&6
11256 if test "${ac_cv_type_daddr_t+set}" = set; then
11257 echo $ECHO_N "(cached) $ECHO_C" >&6
11259 cat >conftest.$ac_ext <<_ACEOF
11260 #line $LINENO "configure"
11263 cat confdefs.h >>conftest.$ac_ext
11264 cat >>conftest.$ac_ext <<_ACEOF
11265 /* end confdefs.h. */
11266 $ac_includes_default
11272 if (sizeof (daddr_t))
11278 rm -f conftest.$ac_objext
11279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11280 (eval $ac_compile) 2>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); } &&
11284 { ac_try='test -s conftest.$ac_objext'
11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286 (eval $ac_try) 2>&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; }; then
11290 ac_cv_type_daddr_t=yes
11292 echo "$as_me: failed program was:" >&5
11293 sed 's/^/| /' conftest.$ac_ext >&5
11295 ac_cv_type_daddr_t=no
11297 rm -f conftest.$ac_objext conftest.$ac_ext
11299 echo "$as_me:$LINENO: result: $ac_cv_type_daddr_t" >&5
11300 echo "${ECHO_T}$ac_cv_type_daddr_t" >&6
11301 if test $ac_cv_type_daddr_t = yes; then
11305 cat >>confdefs.h <<_ACEOF
11306 #define daddr_t long
11311 echo "$as_me:$LINENO: checking for major_t" >&5
11312 echo $ECHO_N "checking for major_t... $ECHO_C" >&6
11313 if test "${ac_cv_type_major_t+set}" = set; then
11314 echo $ECHO_N "(cached) $ECHO_C" >&6
11316 cat >conftest.$ac_ext <<_ACEOF
11317 #line $LINENO "configure"
11320 cat confdefs.h >>conftest.$ac_ext
11321 cat >>conftest.$ac_ext <<_ACEOF
11322 /* end confdefs.h. */
11323 $ac_includes_default
11329 if (sizeof (major_t))
11335 rm -f conftest.$ac_objext
11336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11337 (eval $ac_compile) 2>&5
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); } &&
11341 { ac_try='test -s conftest.$ac_objext'
11342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11343 (eval $ac_try) 2>&5
11345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11346 (exit $ac_status); }; }; then
11347 ac_cv_type_major_t=yes
11349 echo "$as_me: failed program was:" >&5
11350 sed 's/^/| /' conftest.$ac_ext >&5
11352 ac_cv_type_major_t=no
11354 rm -f conftest.$ac_objext conftest.$ac_ext
11356 echo "$as_me:$LINENO: result: $ac_cv_type_major_t" >&5
11357 echo "${ECHO_T}$ac_cv_type_major_t" >&6
11358 if test $ac_cv_type_major_t = yes; then
11362 cat >>confdefs.h <<_ACEOF
11363 #define major_t int
11368 echo "$as_me:$LINENO: checking for minor_t" >&5
11369 echo $ECHO_N "checking for minor_t... $ECHO_C" >&6
11370 if test "${ac_cv_type_minor_t+set}" = set; then
11371 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 cat >conftest.$ac_ext <<_ACEOF
11374 #line $LINENO "configure"
11377 cat confdefs.h >>conftest.$ac_ext
11378 cat >>conftest.$ac_ext <<_ACEOF
11379 /* end confdefs.h. */
11380 $ac_includes_default
11386 if (sizeof (minor_t))
11392 rm -f conftest.$ac_objext
11393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11394 (eval $ac_compile) 2>&5
11396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397 (exit $ac_status); } &&
11398 { ac_try='test -s conftest.$ac_objext'
11399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11400 (eval $ac_try) 2>&5
11402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11403 (exit $ac_status); }; }; then
11404 ac_cv_type_minor_t=yes
11406 echo "$as_me: failed program was:" >&5
11407 sed 's/^/| /' conftest.$ac_ext >&5
11409 ac_cv_type_minor_t=no
11411 rm -f conftest.$ac_objext conftest.$ac_ext
11413 echo "$as_me:$LINENO: result: $ac_cv_type_minor_t" >&5
11414 echo "${ECHO_T}$ac_cv_type_minor_t" >&6
11415 if test $ac_cv_type_minor_t = yes; then
11419 cat >>confdefs.h <<_ACEOF
11420 #define minor_t int
11425 echo "$as_me:$LINENO: checking for ssize_t" >&5
11426 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
11427 if test "${ac_cv_type_ssize_t+set}" = set; then
11428 echo $ECHO_N "(cached) $ECHO_C" >&6
11430 cat >conftest.$ac_ext <<_ACEOF
11431 #line $LINENO "configure"
11434 cat confdefs.h >>conftest.$ac_ext
11435 cat >>conftest.$ac_ext <<_ACEOF
11436 /* end confdefs.h. */
11437 $ac_includes_default
11443 if (sizeof (ssize_t))
11449 rm -f conftest.$ac_objext
11450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11451 (eval $ac_compile) 2>&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); } &&
11455 { ac_try='test -s conftest.$ac_objext'
11456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11457 (eval $ac_try) 2>&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); }; }; then
11461 ac_cv_type_ssize_t=yes
11463 echo "$as_me: failed program was:" >&5
11464 sed 's/^/| /' conftest.$ac_ext >&5
11466 ac_cv_type_ssize_t=no
11468 rm -f conftest.$ac_objext conftest.$ac_ext
11470 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
11471 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
11472 if test $ac_cv_type_ssize_t = yes; then
11476 cat >>confdefs.h <<_ACEOF
11477 #define ssize_t int
11482 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
11483 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
11484 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
11485 echo $ECHO_N "(cached) $ECHO_C" >&6
11487 cat >conftest.$ac_ext <<_ACEOF
11488 #line $LINENO "configure"
11491 cat confdefs.h >>conftest.$ac_ext
11492 cat >>conftest.$ac_ext <<_ACEOF
11493 /* end confdefs.h. */
11494 $ac_includes_default
11498 static struct stat ac_aggr;
11499 if (ac_aggr.st_blocks)
11505 rm -f conftest.$ac_objext
11506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11507 (eval $ac_compile) 2>&5
11509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11510 (exit $ac_status); } &&
11511 { ac_try='test -s conftest.$ac_objext'
11512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11513 (eval $ac_try) 2>&5
11515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11516 (exit $ac_status); }; }; then
11517 ac_cv_member_struct_stat_st_blocks=yes
11519 echo "$as_me: failed program was:" >&5
11520 sed 's/^/| /' conftest.$ac_ext >&5
11522 cat >conftest.$ac_ext <<_ACEOF
11523 #line $LINENO "configure"
11526 cat confdefs.h >>conftest.$ac_ext
11527 cat >>conftest.$ac_ext <<_ACEOF
11528 /* end confdefs.h. */
11529 $ac_includes_default
11533 static struct stat ac_aggr;
11534 if (sizeof ac_aggr.st_blocks)
11540 rm -f conftest.$ac_objext
11541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11542 (eval $ac_compile) 2>&5
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); } &&
11546 { ac_try='test -s conftest.$ac_objext'
11547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11548 (eval $ac_try) 2>&5
11550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551 (exit $ac_status); }; }; then
11552 ac_cv_member_struct_stat_st_blocks=yes
11554 echo "$as_me: failed program was:" >&5
11555 sed 's/^/| /' conftest.$ac_ext >&5
11557 ac_cv_member_struct_stat_st_blocks=no
11559 rm -f conftest.$ac_objext conftest.$ac_ext
11561 rm -f conftest.$ac_objext conftest.$ac_ext
11563 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
11564 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
11565 if test $ac_cv_member_struct_stat_st_blocks = yes; then
11567 cat >>confdefs.h <<_ACEOF
11568 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
11572 cat >>confdefs.h <<\_ACEOF
11573 #define HAVE_ST_BLOCKS 1
11577 LIBOBJS="$LIBOBJS fileblocks.$ac_objext"
11582 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
11583 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
11584 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
11585 echo $ECHO_N "(cached) $ECHO_C" >&6
11587 cat >conftest.$ac_ext <<_ACEOF
11588 #line $LINENO "configure"
11591 cat confdefs.h >>conftest.$ac_ext
11592 cat >>conftest.$ac_ext <<_ACEOF
11593 /* end confdefs.h. */
11594 $ac_includes_default
11598 static struct stat ac_aggr;
11599 if (ac_aggr.st_rdev)
11605 rm -f conftest.$ac_objext
11606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11607 (eval $ac_compile) 2>&5
11609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11610 (exit $ac_status); } &&
11611 { ac_try='test -s conftest.$ac_objext'
11612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11613 (eval $ac_try) 2>&5
11615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11616 (exit $ac_status); }; }; then
11617 ac_cv_member_struct_stat_st_rdev=yes
11619 echo "$as_me: failed program was:" >&5
11620 sed 's/^/| /' conftest.$ac_ext >&5
11622 cat >conftest.$ac_ext <<_ACEOF
11623 #line $LINENO "configure"
11626 cat confdefs.h >>conftest.$ac_ext
11627 cat >>conftest.$ac_ext <<_ACEOF
11628 /* end confdefs.h. */
11629 $ac_includes_default
11633 static struct stat ac_aggr;
11634 if (sizeof ac_aggr.st_rdev)
11640 rm -f conftest.$ac_objext
11641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11642 (eval $ac_compile) 2>&5
11644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11645 (exit $ac_status); } &&
11646 { ac_try='test -s conftest.$ac_objext'
11647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11648 (eval $ac_try) 2>&5
11650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11651 (exit $ac_status); }; }; then
11652 ac_cv_member_struct_stat_st_rdev=yes
11654 echo "$as_me: failed program was:" >&5
11655 sed 's/^/| /' conftest.$ac_ext >&5
11657 ac_cv_member_struct_stat_st_rdev=no
11659 rm -f conftest.$ac_objext conftest.$ac_ext
11661 rm -f conftest.$ac_objext conftest.$ac_ext
11663 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
11664 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
11665 if test $ac_cv_member_struct_stat_st_rdev = yes; then
11667 cat >>confdefs.h <<_ACEOF
11668 #define HAVE_STRUCT_STAT_ST_RDEV 1
11672 cat >>confdefs.h <<\_ACEOF
11673 #define HAVE_ST_RDEV 1
11679 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
11680 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
11681 if test "${ac_cv_struct_tm+set}" = set; then
11682 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 cat >conftest.$ac_ext <<_ACEOF
11685 #line $LINENO "configure"
11688 cat confdefs.h >>conftest.$ac_ext
11689 cat >>conftest.$ac_ext <<_ACEOF
11690 /* end confdefs.h. */
11691 #include <sys/types.h>
11697 struct tm *tp; tp->tm_sec;
11702 rm -f conftest.$ac_objext
11703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11704 (eval $ac_compile) 2>&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); } &&
11708 { ac_try='test -s conftest.$ac_objext'
11709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11710 (eval $ac_try) 2>&5
11712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11713 (exit $ac_status); }; }; then
11714 ac_cv_struct_tm=time.h
11716 echo "$as_me: failed program was:" >&5
11717 sed 's/^/| /' conftest.$ac_ext >&5
11719 ac_cv_struct_tm=sys/time.h
11721 rm -f conftest.$ac_objext conftest.$ac_ext
11723 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
11724 echo "${ECHO_T}$ac_cv_struct_tm" >&6
11725 if test $ac_cv_struct_tm = sys/time.h; then
11727 cat >>confdefs.h <<\_ACEOF
11728 #define TM_IN_SYS_TIME 1
11733 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11734 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
11735 if test "${ac_cv_c_const+set}" = set; then
11736 echo $ECHO_N "(cached) $ECHO_C" >&6
11738 cat >conftest.$ac_ext <<_ACEOF
11739 #line $LINENO "configure"
11742 cat confdefs.h >>conftest.$ac_ext
11743 cat >>conftest.$ac_ext <<_ACEOF
11744 /* end confdefs.h. */
11749 /* FIXME: Include the comments suggested by Paul. */
11750 #ifndef __cplusplus
11751 /* Ultrix mips cc rejects this. */
11752 typedef int charset[2];
11754 /* SunOS 4.1.1 cc rejects this. */
11755 char const *const *ccp;
11757 /* NEC SVR4.0.2 mips cc rejects this. */
11758 struct point {int x, y;};
11759 static struct point const zero = {0,0};
11760 /* AIX XL C 1.02.0.0 rejects this.
11761 It does not let you subtract one const X* pointer from another in
11762 an arm of an if-expression whose if-part is not a constant
11764 const char *g = "string";
11765 ccp = &g + (g ? g-g : 0);
11766 /* HPUX 7.0 cc rejects these. */
11769 ccp = (char const *const *) p;
11770 { /* SCO 3.2v4 cc rejects this. */
11772 char const *s = 0 ? (char *) 0 : (char const *) 0;
11776 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11777 int x[] = {25, 17};
11778 const int *foo = &x[0];
11781 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11782 typedef const int *iptr;
11786 { /* AIX XL C 1.02.0.0 rejects this saying
11787 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11788 struct s { int j; const int *ap[3]; };
11789 struct s *b; b->j = 5;
11791 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11792 const int foo = 10;
11800 rm -f conftest.$ac_objext
11801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11802 (eval $ac_compile) 2>&5
11804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11805 (exit $ac_status); } &&
11806 { ac_try='test -s conftest.$ac_objext'
11807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11808 (eval $ac_try) 2>&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); }; }; then
11814 echo "$as_me: failed program was:" >&5
11815 sed 's/^/| /' conftest.$ac_ext >&5
11819 rm -f conftest.$ac_objext conftest.$ac_ext
11821 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11822 echo "${ECHO_T}$ac_cv_c_const" >&6
11823 if test $ac_cv_c_const = no; then
11825 cat >>confdefs.h <<\_ACEOF
11833 echo "$as_me:$LINENO: checking for char" >&5
11834 echo $ECHO_N "checking for char... $ECHO_C" >&6
11835 if test "${ac_cv_type_char+set}" = set; then
11836 echo $ECHO_N "(cached) $ECHO_C" >&6
11838 cat >conftest.$ac_ext <<_ACEOF
11839 #line $LINENO "configure"
11842 cat confdefs.h >>conftest.$ac_ext
11843 cat >>conftest.$ac_ext <<_ACEOF
11844 /* end confdefs.h. */
11845 $ac_includes_default
11857 rm -f conftest.$ac_objext
11858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11859 (eval $ac_compile) 2>&5
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); } &&
11863 { ac_try='test -s conftest.$ac_objext'
11864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11865 (eval $ac_try) 2>&5
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); }; }; then
11869 ac_cv_type_char=yes
11871 echo "$as_me: failed program was:" >&5
11872 sed 's/^/| /' conftest.$ac_ext >&5
11876 rm -f conftest.$ac_objext conftest.$ac_ext
11878 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
11879 echo "${ECHO_T}$ac_cv_type_char" >&6
11881 echo "$as_me:$LINENO: checking size of char" >&5
11882 echo $ECHO_N "checking size of char... $ECHO_C" >&6
11883 if test "${ac_cv_sizeof_char+set}" = set; then
11884 echo $ECHO_N "(cached) $ECHO_C" >&6
11886 if test "$ac_cv_type_char" = yes; then
11887 # The cast to unsigned long works around a bug in the HP C Compiler
11888 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
11889 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
11890 # This bug is HP SR number 8606223364.
11891 if test "$cross_compiling" = yes; then
11892 # Depending upon the size, compute the lo and hi bounds.
11893 cat >conftest.$ac_ext <<_ACEOF
11894 #line $LINENO "configure"
11897 cat confdefs.h >>conftest.$ac_ext
11898 cat >>conftest.$ac_ext <<_ACEOF
11899 /* end confdefs.h. */
11900 $ac_includes_default
11904 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
11911 rm -f conftest.$ac_objext
11912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11913 (eval $ac_compile) 2>&5
11915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); } &&
11917 { ac_try='test -s conftest.$ac_objext'
11918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11919 (eval $ac_try) 2>&5
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); }; }; then
11925 cat >conftest.$ac_ext <<_ACEOF
11926 #line $LINENO "configure"
11929 cat confdefs.h >>conftest.$ac_ext
11930 cat >>conftest.$ac_ext <<_ACEOF
11931 /* end confdefs.h. */
11932 $ac_includes_default
11936 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
11943 rm -f conftest.$ac_objext
11944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11945 (eval $ac_compile) 2>&5
11947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11948 (exit $ac_status); } &&
11949 { ac_try='test -s conftest.$ac_objext'
11950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11951 (eval $ac_try) 2>&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); }; }; then
11955 ac_hi=$ac_mid; break
11957 echo "$as_me: failed program was:" >&5
11958 sed 's/^/| /' conftest.$ac_ext >&5
11960 ac_lo=`expr $ac_mid + 1`
11961 if test $ac_lo -le $ac_mid; then
11965 ac_mid=`expr 2 '*' $ac_mid + 1`
11967 rm -f conftest.$ac_objext conftest.$ac_ext
11970 echo "$as_me: failed program was:" >&5
11971 sed 's/^/| /' conftest.$ac_ext >&5
11973 cat >conftest.$ac_ext <<_ACEOF
11974 #line $LINENO "configure"
11977 cat confdefs.h >>conftest.$ac_ext
11978 cat >>conftest.$ac_ext <<_ACEOF
11979 /* end confdefs.h. */
11980 $ac_includes_default
11984 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
11991 rm -f conftest.$ac_objext
11992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11993 (eval $ac_compile) 2>&5
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); } &&
11997 { ac_try='test -s conftest.$ac_objext'
11998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11999 (eval $ac_try) 2>&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); }; }; then
12005 cat >conftest.$ac_ext <<_ACEOF
12006 #line $LINENO "configure"
12009 cat confdefs.h >>conftest.$ac_ext
12010 cat >>conftest.$ac_ext <<_ACEOF
12011 /* end confdefs.h. */
12012 $ac_includes_default
12016 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
12023 rm -f conftest.$ac_objext
12024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12025 (eval $ac_compile) 2>&5
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); } &&
12029 { ac_try='test -s conftest.$ac_objext'
12030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12031 (eval $ac_try) 2>&5
12033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12034 (exit $ac_status); }; }; then
12035 ac_lo=$ac_mid; break
12037 echo "$as_me: failed program was:" >&5
12038 sed 's/^/| /' conftest.$ac_ext >&5
12040 ac_hi=`expr '(' $ac_mid ')' - 1`
12041 if test $ac_mid -le $ac_hi; then
12045 ac_mid=`expr 2 '*' $ac_mid`
12047 rm -f conftest.$ac_objext conftest.$ac_ext
12050 echo "$as_me: failed program was:" >&5
12051 sed 's/^/| /' conftest.$ac_ext >&5
12055 rm -f conftest.$ac_objext conftest.$ac_ext
12057 rm -f conftest.$ac_objext conftest.$ac_ext
12058 # Binary search between lo and hi bounds.
12059 while test "x$ac_lo" != "x$ac_hi"; do
12060 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12061 cat >conftest.$ac_ext <<_ACEOF
12062 #line $LINENO "configure"
12065 cat confdefs.h >>conftest.$ac_ext
12066 cat >>conftest.$ac_ext <<_ACEOF
12067 /* end confdefs.h. */
12068 $ac_includes_default
12072 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
12079 rm -f conftest.$ac_objext
12080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12081 (eval $ac_compile) 2>&5
12083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084 (exit $ac_status); } &&
12085 { ac_try='test -s conftest.$ac_objext'
12086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12087 (eval $ac_try) 2>&5
12089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12090 (exit $ac_status); }; }; then
12093 echo "$as_me: failed program was:" >&5
12094 sed 's/^/| /' conftest.$ac_ext >&5
12096 ac_lo=`expr '(' $ac_mid ')' + 1`
12098 rm -f conftest.$ac_objext conftest.$ac_ext
12101 ?*) ac_cv_sizeof_char=$ac_lo;;
12102 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
12103 See \`config.log' for more details." >&5
12104 echo "$as_me: error: cannot compute sizeof (char), 77
12105 See \`config.log' for more details." >&2;}
12106 { (exit 1); exit 1; }; } ;;
12109 if test "$cross_compiling" = yes; then
12110 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12111 See \`config.log' for more details." >&5
12112 echo "$as_me: error: cannot run test program while cross compiling
12113 See \`config.log' for more details." >&2;}
12114 { (exit 1); exit 1; }; }
12116 cat >conftest.$ac_ext <<_ACEOF
12117 #line $LINENO "configure"
12120 cat confdefs.h >>conftest.$ac_ext
12121 cat >>conftest.$ac_ext <<_ACEOF
12122 /* end confdefs.h. */
12123 $ac_includes_default
12124 long longval () { return (long) (sizeof (char)); }
12125 unsigned long ulongval () { return (long) (sizeof (char)); }
12127 #include <stdlib.h>
12132 FILE *f = fopen ("conftest.val", "w");
12135 if (((long) (sizeof (char))) < 0)
12137 long i = longval ();
12138 if (i != ((long) (sizeof (char))))
12140 fprintf (f, "%ld\n", i);
12144 unsigned long i = ulongval ();
12145 if (i != ((long) (sizeof (char))))
12147 fprintf (f, "%lu\n", i);
12149 exit (ferror (f) || fclose (f) != 0);
12155 rm -f conftest$ac_exeext
12156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12157 (eval $ac_link) 2>&5
12159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12160 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12162 (eval $ac_try) 2>&5
12164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12165 (exit $ac_status); }; }; then
12166 ac_cv_sizeof_char=`cat conftest.val`
12168 echo "$as_me: program exited with status $ac_status" >&5
12169 echo "$as_me: failed program was:" >&5
12170 sed 's/^/| /' conftest.$ac_ext >&5
12172 ( exit $ac_status )
12173 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
12174 See \`config.log' for more details." >&5
12175 echo "$as_me: error: cannot compute sizeof (char), 77
12176 See \`config.log' for more details." >&2;}
12177 { (exit 1); exit 1; }; }
12179 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12184 ac_cv_sizeof_char=0
12187 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
12188 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
12189 cat >>confdefs.h <<_ACEOF
12190 #define SIZEOF_CHAR $ac_cv_sizeof_char
12194 echo "$as_me:$LINENO: checking for short int" >&5
12195 echo $ECHO_N "checking for short int... $ECHO_C" >&6
12196 if test "${ac_cv_type_short_int+set}" = set; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12199 cat >conftest.$ac_ext <<_ACEOF
12200 #line $LINENO "configure"
12203 cat confdefs.h >>conftest.$ac_ext
12204 cat >>conftest.$ac_ext <<_ACEOF
12205 /* end confdefs.h. */
12206 $ac_includes_default
12210 if ((short int *) 0)
12212 if (sizeof (short int))
12218 rm -f conftest.$ac_objext
12219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12220 (eval $ac_compile) 2>&5
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); } &&
12224 { ac_try='test -s conftest.$ac_objext'
12225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12226 (eval $ac_try) 2>&5
12228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229 (exit $ac_status); }; }; then
12230 ac_cv_type_short_int=yes
12232 echo "$as_me: failed program was:" >&5
12233 sed 's/^/| /' conftest.$ac_ext >&5
12235 ac_cv_type_short_int=no
12237 rm -f conftest.$ac_objext conftest.$ac_ext
12239 echo "$as_me:$LINENO: result: $ac_cv_type_short_int" >&5
12240 echo "${ECHO_T}$ac_cv_type_short_int" >&6
12242 echo "$as_me:$LINENO: checking size of short int" >&5
12243 echo $ECHO_N "checking size of short int... $ECHO_C" >&6
12244 if test "${ac_cv_sizeof_short_int+set}" = set; then
12245 echo $ECHO_N "(cached) $ECHO_C" >&6
12247 if test "$ac_cv_type_short_int" = yes; then
12248 # The cast to unsigned long works around a bug in the HP C Compiler
12249 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12250 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12251 # This bug is HP SR number 8606223364.
12252 if test "$cross_compiling" = yes; then
12253 # Depending upon the size, compute the lo and hi bounds.
12254 cat >conftest.$ac_ext <<_ACEOF
12255 #line $LINENO "configure"
12258 cat confdefs.h >>conftest.$ac_ext
12259 cat >>conftest.$ac_ext <<_ACEOF
12260 /* end confdefs.h. */
12261 $ac_includes_default
12265 static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= 0)];
12272 rm -f conftest.$ac_objext
12273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12274 (eval $ac_compile) 2>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); } &&
12278 { ac_try='test -s conftest.$ac_objext'
12279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12280 (eval $ac_try) 2>&5
12282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12283 (exit $ac_status); }; }; then
12286 cat >conftest.$ac_ext <<_ACEOF
12287 #line $LINENO "configure"
12290 cat confdefs.h >>conftest.$ac_ext
12291 cat >>conftest.$ac_ext <<_ACEOF
12292 /* end confdefs.h. */
12293 $ac_includes_default
12297 static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)];
12304 rm -f conftest.$ac_objext
12305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12306 (eval $ac_compile) 2>&5
12308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 (exit $ac_status); } &&
12310 { ac_try='test -s conftest.$ac_objext'
12311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12312 (eval $ac_try) 2>&5
12314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12315 (exit $ac_status); }; }; then
12316 ac_hi=$ac_mid; break
12318 echo "$as_me: failed program was:" >&5
12319 sed 's/^/| /' conftest.$ac_ext >&5
12321 ac_lo=`expr $ac_mid + 1`
12322 if test $ac_lo -le $ac_mid; then
12326 ac_mid=`expr 2 '*' $ac_mid + 1`
12328 rm -f conftest.$ac_objext conftest.$ac_ext
12331 echo "$as_me: failed program was:" >&5
12332 sed 's/^/| /' conftest.$ac_ext >&5
12334 cat >conftest.$ac_ext <<_ACEOF
12335 #line $LINENO "configure"
12338 cat confdefs.h >>conftest.$ac_ext
12339 cat >>conftest.$ac_ext <<_ACEOF
12340 /* end confdefs.h. */
12341 $ac_includes_default
12345 static int test_array [1 - 2 * !(((long) (sizeof (short int))) < 0)];
12352 rm -f conftest.$ac_objext
12353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12354 (eval $ac_compile) 2>&5
12356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12357 (exit $ac_status); } &&
12358 { ac_try='test -s conftest.$ac_objext'
12359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12360 (eval $ac_try) 2>&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); }; }; then
12366 cat >conftest.$ac_ext <<_ACEOF
12367 #line $LINENO "configure"
12370 cat confdefs.h >>conftest.$ac_ext
12371 cat >>conftest.$ac_ext <<_ACEOF
12372 /* end confdefs.h. */
12373 $ac_includes_default
12377 static int test_array [1 - 2 * !(((long) (sizeof (short int))) >= $ac_mid)];
12384 rm -f conftest.$ac_objext
12385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12386 (eval $ac_compile) 2>&5
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); } &&
12390 { ac_try='test -s conftest.$ac_objext'
12391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12392 (eval $ac_try) 2>&5
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }; }; then
12396 ac_lo=$ac_mid; break
12398 echo "$as_me: failed program was:" >&5
12399 sed 's/^/| /' conftest.$ac_ext >&5
12401 ac_hi=`expr '(' $ac_mid ')' - 1`
12402 if test $ac_mid -le $ac_hi; then
12406 ac_mid=`expr 2 '*' $ac_mid`
12408 rm -f conftest.$ac_objext conftest.$ac_ext
12411 echo "$as_me: failed program was:" >&5
12412 sed 's/^/| /' conftest.$ac_ext >&5
12416 rm -f conftest.$ac_objext conftest.$ac_ext
12418 rm -f conftest.$ac_objext conftest.$ac_ext
12419 # Binary search between lo and hi bounds.
12420 while test "x$ac_lo" != "x$ac_hi"; do
12421 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12422 cat >conftest.$ac_ext <<_ACEOF
12423 #line $LINENO "configure"
12426 cat confdefs.h >>conftest.$ac_ext
12427 cat >>conftest.$ac_ext <<_ACEOF
12428 /* end confdefs.h. */
12429 $ac_includes_default
12433 static int test_array [1 - 2 * !(((long) (sizeof (short int))) <= $ac_mid)];
12440 rm -f conftest.$ac_objext
12441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12442 (eval $ac_compile) 2>&5
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); } &&
12446 { ac_try='test -s conftest.$ac_objext'
12447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12448 (eval $ac_try) 2>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); }; }; then
12454 echo "$as_me: failed program was:" >&5
12455 sed 's/^/| /' conftest.$ac_ext >&5
12457 ac_lo=`expr '(' $ac_mid ')' + 1`
12459 rm -f conftest.$ac_objext conftest.$ac_ext
12462 ?*) ac_cv_sizeof_short_int=$ac_lo;;
12463 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
12464 See \`config.log' for more details." >&5
12465 echo "$as_me: error: cannot compute sizeof (short int), 77
12466 See \`config.log' for more details." >&2;}
12467 { (exit 1); exit 1; }; } ;;
12470 if test "$cross_compiling" = yes; then
12471 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12472 See \`config.log' for more details." >&5
12473 echo "$as_me: error: cannot run test program while cross compiling
12474 See \`config.log' for more details." >&2;}
12475 { (exit 1); exit 1; }; }
12477 cat >conftest.$ac_ext <<_ACEOF
12478 #line $LINENO "configure"
12481 cat confdefs.h >>conftest.$ac_ext
12482 cat >>conftest.$ac_ext <<_ACEOF
12483 /* end confdefs.h. */
12484 $ac_includes_default
12485 long longval () { return (long) (sizeof (short int)); }
12486 unsigned long ulongval () { return (long) (sizeof (short int)); }
12488 #include <stdlib.h>
12493 FILE *f = fopen ("conftest.val", "w");
12496 if (((long) (sizeof (short int))) < 0)
12498 long i = longval ();
12499 if (i != ((long) (sizeof (short int))))
12501 fprintf (f, "%ld\n", i);
12505 unsigned long i = ulongval ();
12506 if (i != ((long) (sizeof (short int))))
12508 fprintf (f, "%lu\n", i);
12510 exit (ferror (f) || fclose (f) != 0);
12516 rm -f conftest$ac_exeext
12517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12518 (eval $ac_link) 2>&5
12520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12521 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12523 (eval $ac_try) 2>&5
12525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12526 (exit $ac_status); }; }; then
12527 ac_cv_sizeof_short_int=`cat conftest.val`
12529 echo "$as_me: program exited with status $ac_status" >&5
12530 echo "$as_me: failed program was:" >&5
12531 sed 's/^/| /' conftest.$ac_ext >&5
12533 ( exit $ac_status )
12534 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short int), 77
12535 See \`config.log' for more details." >&5
12536 echo "$as_me: error: cannot compute sizeof (short int), 77
12537 See \`config.log' for more details." >&2;}
12538 { (exit 1); exit 1; }; }
12540 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12545 ac_cv_sizeof_short_int=0
12548 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short_int" >&5
12549 echo "${ECHO_T}$ac_cv_sizeof_short_int" >&6
12550 cat >>confdefs.h <<_ACEOF
12551 #define SIZEOF_SHORT_INT $ac_cv_sizeof_short_int
12555 echo "$as_me:$LINENO: checking for int" >&5
12556 echo $ECHO_N "checking for int... $ECHO_C" >&6
12557 if test "${ac_cv_type_int+set}" = set; then
12558 echo $ECHO_N "(cached) $ECHO_C" >&6
12560 cat >conftest.$ac_ext <<_ACEOF
12561 #line $LINENO "configure"
12564 cat confdefs.h >>conftest.$ac_ext
12565 cat >>conftest.$ac_ext <<_ACEOF
12566 /* end confdefs.h. */
12567 $ac_includes_default
12579 rm -f conftest.$ac_objext
12580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12581 (eval $ac_compile) 2>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } &&
12585 { ac_try='test -s conftest.$ac_objext'
12586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12587 (eval $ac_try) 2>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }; }; then
12593 echo "$as_me: failed program was:" >&5
12594 sed 's/^/| /' conftest.$ac_ext >&5
12598 rm -f conftest.$ac_objext conftest.$ac_ext
12600 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
12601 echo "${ECHO_T}$ac_cv_type_int" >&6
12603 echo "$as_me:$LINENO: checking size of int" >&5
12604 echo $ECHO_N "checking size of int... $ECHO_C" >&6
12605 if test "${ac_cv_sizeof_int+set}" = set; then
12606 echo $ECHO_N "(cached) $ECHO_C" >&6
12608 if test "$ac_cv_type_int" = yes; then
12609 # The cast to unsigned long works around a bug in the HP C Compiler
12610 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12611 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12612 # This bug is HP SR number 8606223364.
12613 if test "$cross_compiling" = yes; then
12614 # Depending upon the size, compute the lo and hi bounds.
12615 cat >conftest.$ac_ext <<_ACEOF
12616 #line $LINENO "configure"
12619 cat confdefs.h >>conftest.$ac_ext
12620 cat >>conftest.$ac_ext <<_ACEOF
12621 /* end confdefs.h. */
12622 $ac_includes_default
12626 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
12633 rm -f conftest.$ac_objext
12634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12635 (eval $ac_compile) 2>&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); } &&
12639 { ac_try='test -s conftest.$ac_objext'
12640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12641 (eval $ac_try) 2>&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); }; }; then
12647 cat >conftest.$ac_ext <<_ACEOF
12648 #line $LINENO "configure"
12651 cat confdefs.h >>conftest.$ac_ext
12652 cat >>conftest.$ac_ext <<_ACEOF
12653 /* end confdefs.h. */
12654 $ac_includes_default
12658 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
12665 rm -f conftest.$ac_objext
12666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12667 (eval $ac_compile) 2>&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); } &&
12671 { ac_try='test -s conftest.$ac_objext'
12672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12673 (eval $ac_try) 2>&5
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); }; }; then
12677 ac_hi=$ac_mid; break
12679 echo "$as_me: failed program was:" >&5
12680 sed 's/^/| /' conftest.$ac_ext >&5
12682 ac_lo=`expr $ac_mid + 1`
12683 if test $ac_lo -le $ac_mid; then
12687 ac_mid=`expr 2 '*' $ac_mid + 1`
12689 rm -f conftest.$ac_objext conftest.$ac_ext
12692 echo "$as_me: failed program was:" >&5
12693 sed 's/^/| /' conftest.$ac_ext >&5
12695 cat >conftest.$ac_ext <<_ACEOF
12696 #line $LINENO "configure"
12699 cat confdefs.h >>conftest.$ac_ext
12700 cat >>conftest.$ac_ext <<_ACEOF
12701 /* end confdefs.h. */
12702 $ac_includes_default
12706 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
12713 rm -f conftest.$ac_objext
12714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12715 (eval $ac_compile) 2>&5
12717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12718 (exit $ac_status); } &&
12719 { ac_try='test -s conftest.$ac_objext'
12720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12721 (eval $ac_try) 2>&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); }; }; then
12727 cat >conftest.$ac_ext <<_ACEOF
12728 #line $LINENO "configure"
12731 cat confdefs.h >>conftest.$ac_ext
12732 cat >>conftest.$ac_ext <<_ACEOF
12733 /* end confdefs.h. */
12734 $ac_includes_default
12738 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
12745 rm -f conftest.$ac_objext
12746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12747 (eval $ac_compile) 2>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } &&
12751 { ac_try='test -s conftest.$ac_objext'
12752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); }; }; then
12757 ac_lo=$ac_mid; break
12759 echo "$as_me: failed program was:" >&5
12760 sed 's/^/| /' conftest.$ac_ext >&5
12762 ac_hi=`expr '(' $ac_mid ')' - 1`
12763 if test $ac_mid -le $ac_hi; then
12767 ac_mid=`expr 2 '*' $ac_mid`
12769 rm -f conftest.$ac_objext conftest.$ac_ext
12772 echo "$as_me: failed program was:" >&5
12773 sed 's/^/| /' conftest.$ac_ext >&5
12777 rm -f conftest.$ac_objext conftest.$ac_ext
12779 rm -f conftest.$ac_objext conftest.$ac_ext
12780 # Binary search between lo and hi bounds.
12781 while test "x$ac_lo" != "x$ac_hi"; do
12782 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
12783 cat >conftest.$ac_ext <<_ACEOF
12784 #line $LINENO "configure"
12787 cat confdefs.h >>conftest.$ac_ext
12788 cat >>conftest.$ac_ext <<_ACEOF
12789 /* end confdefs.h. */
12790 $ac_includes_default
12794 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
12801 rm -f conftest.$ac_objext
12802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12803 (eval $ac_compile) 2>&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); } &&
12807 { ac_try='test -s conftest.$ac_objext'
12808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12809 (eval $ac_try) 2>&5
12811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12812 (exit $ac_status); }; }; then
12815 echo "$as_me: failed program was:" >&5
12816 sed 's/^/| /' conftest.$ac_ext >&5
12818 ac_lo=`expr '(' $ac_mid ')' + 1`
12820 rm -f conftest.$ac_objext conftest.$ac_ext
12823 ?*) ac_cv_sizeof_int=$ac_lo;;
12824 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
12825 See \`config.log' for more details." >&5
12826 echo "$as_me: error: cannot compute sizeof (int), 77
12827 See \`config.log' for more details." >&2;}
12828 { (exit 1); exit 1; }; } ;;
12831 if test "$cross_compiling" = yes; then
12832 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
12833 See \`config.log' for more details." >&5
12834 echo "$as_me: error: cannot run test program while cross compiling
12835 See \`config.log' for more details." >&2;}
12836 { (exit 1); exit 1; }; }
12838 cat >conftest.$ac_ext <<_ACEOF
12839 #line $LINENO "configure"
12842 cat confdefs.h >>conftest.$ac_ext
12843 cat >>conftest.$ac_ext <<_ACEOF
12844 /* end confdefs.h. */
12845 $ac_includes_default
12846 long longval () { return (long) (sizeof (int)); }
12847 unsigned long ulongval () { return (long) (sizeof (int)); }
12849 #include <stdlib.h>
12854 FILE *f = fopen ("conftest.val", "w");
12857 if (((long) (sizeof (int))) < 0)
12859 long i = longval ();
12860 if (i != ((long) (sizeof (int))))
12862 fprintf (f, "%ld\n", i);
12866 unsigned long i = ulongval ();
12867 if (i != ((long) (sizeof (int))))
12869 fprintf (f, "%lu\n", i);
12871 exit (ferror (f) || fclose (f) != 0);
12877 rm -f conftest$ac_exeext
12878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12879 (eval $ac_link) 2>&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12884 (eval $ac_try) 2>&5
12886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12887 (exit $ac_status); }; }; then
12888 ac_cv_sizeof_int=`cat conftest.val`
12890 echo "$as_me: program exited with status $ac_status" >&5
12891 echo "$as_me: failed program was:" >&5
12892 sed 's/^/| /' conftest.$ac_ext >&5
12894 ( exit $ac_status )
12895 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
12896 See \`config.log' for more details." >&5
12897 echo "$as_me: error: cannot compute sizeof (int), 77
12898 See \`config.log' for more details." >&2;}
12899 { (exit 1); exit 1; }; }
12901 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12909 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
12910 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
12911 cat >>confdefs.h <<_ACEOF
12912 #define SIZEOF_INT $ac_cv_sizeof_int
12916 echo "$as_me:$LINENO: checking for long int" >&5
12917 echo $ECHO_N "checking for long int... $ECHO_C" >&6
12918 if test "${ac_cv_type_long_int+set}" = set; then
12919 echo $ECHO_N "(cached) $ECHO_C" >&6
12921 cat >conftest.$ac_ext <<_ACEOF
12922 #line $LINENO "configure"
12925 cat confdefs.h >>conftest.$ac_ext
12926 cat >>conftest.$ac_ext <<_ACEOF
12927 /* end confdefs.h. */
12928 $ac_includes_default
12932 if ((long int *) 0)
12934 if (sizeof (long int))
12940 rm -f conftest.$ac_objext
12941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12942 (eval $ac_compile) 2>&5
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); } &&
12946 { ac_try='test -s conftest.$ac_objext'
12947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12948 (eval $ac_try) 2>&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); }; }; then
12952 ac_cv_type_long_int=yes
12954 echo "$as_me: failed program was:" >&5
12955 sed 's/^/| /' conftest.$ac_ext >&5
12957 ac_cv_type_long_int=no
12959 rm -f conftest.$ac_objext conftest.$ac_ext
12961 echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5
12962 echo "${ECHO_T}$ac_cv_type_long_int" >&6
12964 echo "$as_me:$LINENO: checking size of long int" >&5
12965 echo $ECHO_N "checking size of long int... $ECHO_C" >&6
12966 if test "${ac_cv_sizeof_long_int+set}" = set; then
12967 echo $ECHO_N "(cached) $ECHO_C" >&6
12969 if test "$ac_cv_type_long_int" = yes; then
12970 # The cast to unsigned long works around a bug in the HP C Compiler
12971 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12972 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12973 # This bug is HP SR number 8606223364.
12974 if test "$cross_compiling" = yes; then
12975 # Depending upon the size, compute the lo and hi bounds.
12976 cat >conftest.$ac_ext <<_ACEOF
12977 #line $LINENO "configure"
12980 cat confdefs.h >>conftest.$ac_ext
12981 cat >>conftest.$ac_ext <<_ACEOF
12982 /* end confdefs.h. */
12983 $ac_includes_default
12987 static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= 0)];
12994 rm -f conftest.$ac_objext
12995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12996 (eval $ac_compile) 2>&5
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); } &&
13000 { ac_try='test -s conftest.$ac_objext'
13001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13002 (eval $ac_try) 2>&5
13004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005 (exit $ac_status); }; }; then
13008 cat >conftest.$ac_ext <<_ACEOF
13009 #line $LINENO "configure"
13012 cat confdefs.h >>conftest.$ac_ext
13013 cat >>conftest.$ac_ext <<_ACEOF
13014 /* end confdefs.h. */
13015 $ac_includes_default
13019 static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
13026 rm -f conftest.$ac_objext
13027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13028 (eval $ac_compile) 2>&5
13030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13031 (exit $ac_status); } &&
13032 { ac_try='test -s conftest.$ac_objext'
13033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13034 (eval $ac_try) 2>&5
13036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13037 (exit $ac_status); }; }; then
13038 ac_hi=$ac_mid; break
13040 echo "$as_me: failed program was:" >&5
13041 sed 's/^/| /' conftest.$ac_ext >&5
13043 ac_lo=`expr $ac_mid + 1`
13044 if test $ac_lo -le $ac_mid; then
13048 ac_mid=`expr 2 '*' $ac_mid + 1`
13050 rm -f conftest.$ac_objext conftest.$ac_ext
13053 echo "$as_me: failed program was:" >&5
13054 sed 's/^/| /' conftest.$ac_ext >&5
13056 cat >conftest.$ac_ext <<_ACEOF
13057 #line $LINENO "configure"
13060 cat confdefs.h >>conftest.$ac_ext
13061 cat >>conftest.$ac_ext <<_ACEOF
13062 /* end confdefs.h. */
13063 $ac_includes_default
13067 static int test_array [1 - 2 * !(((long) (sizeof (long int))) < 0)];
13074 rm -f conftest.$ac_objext
13075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13076 (eval $ac_compile) 2>&5
13078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079 (exit $ac_status); } &&
13080 { ac_try='test -s conftest.$ac_objext'
13081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13082 (eval $ac_try) 2>&5
13084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13085 (exit $ac_status); }; }; then
13088 cat >conftest.$ac_ext <<_ACEOF
13089 #line $LINENO "configure"
13092 cat confdefs.h >>conftest.$ac_ext
13093 cat >>conftest.$ac_ext <<_ACEOF
13094 /* end confdefs.h. */
13095 $ac_includes_default
13099 static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= $ac_mid)];
13106 rm -f conftest.$ac_objext
13107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13108 (eval $ac_compile) 2>&5
13110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13111 (exit $ac_status); } &&
13112 { ac_try='test -s conftest.$ac_objext'
13113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13114 (eval $ac_try) 2>&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); }; }; then
13118 ac_lo=$ac_mid; break
13120 echo "$as_me: failed program was:" >&5
13121 sed 's/^/| /' conftest.$ac_ext >&5
13123 ac_hi=`expr '(' $ac_mid ')' - 1`
13124 if test $ac_mid -le $ac_hi; then
13128 ac_mid=`expr 2 '*' $ac_mid`
13130 rm -f conftest.$ac_objext conftest.$ac_ext
13133 echo "$as_me: failed program was:" >&5
13134 sed 's/^/| /' conftest.$ac_ext >&5
13138 rm -f conftest.$ac_objext conftest.$ac_ext
13140 rm -f conftest.$ac_objext conftest.$ac_ext
13141 # Binary search between lo and hi bounds.
13142 while test "x$ac_lo" != "x$ac_hi"; do
13143 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13144 cat >conftest.$ac_ext <<_ACEOF
13145 #line $LINENO "configure"
13148 cat confdefs.h >>conftest.$ac_ext
13149 cat >>conftest.$ac_ext <<_ACEOF
13150 /* end confdefs.h. */
13151 $ac_includes_default
13155 static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
13162 rm -f conftest.$ac_objext
13163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13164 (eval $ac_compile) 2>&5
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); } &&
13168 { ac_try='test -s conftest.$ac_objext'
13169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13170 (eval $ac_try) 2>&5
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); }; }; then
13176 echo "$as_me: failed program was:" >&5
13177 sed 's/^/| /' conftest.$ac_ext >&5
13179 ac_lo=`expr '(' $ac_mid ')' + 1`
13181 rm -f conftest.$ac_objext conftest.$ac_ext
13184 ?*) ac_cv_sizeof_long_int=$ac_lo;;
13185 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
13186 See \`config.log' for more details." >&5
13187 echo "$as_me: error: cannot compute sizeof (long int), 77
13188 See \`config.log' for more details." >&2;}
13189 { (exit 1); exit 1; }; } ;;
13192 if test "$cross_compiling" = yes; then
13193 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13194 See \`config.log' for more details." >&5
13195 echo "$as_me: error: cannot run test program while cross compiling
13196 See \`config.log' for more details." >&2;}
13197 { (exit 1); exit 1; }; }
13199 cat >conftest.$ac_ext <<_ACEOF
13200 #line $LINENO "configure"
13203 cat confdefs.h >>conftest.$ac_ext
13204 cat >>conftest.$ac_ext <<_ACEOF
13205 /* end confdefs.h. */
13206 $ac_includes_default
13207 long longval () { return (long) (sizeof (long int)); }
13208 unsigned long ulongval () { return (long) (sizeof (long int)); }
13210 #include <stdlib.h>
13215 FILE *f = fopen ("conftest.val", "w");
13218 if (((long) (sizeof (long int))) < 0)
13220 long i = longval ();
13221 if (i != ((long) (sizeof (long int))))
13223 fprintf (f, "%ld\n", i);
13227 unsigned long i = ulongval ();
13228 if (i != ((long) (sizeof (long int))))
13230 fprintf (f, "%lu\n", i);
13232 exit (ferror (f) || fclose (f) != 0);
13238 rm -f conftest$ac_exeext
13239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13240 (eval $ac_link) 2>&5
13242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13243 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13245 (eval $ac_try) 2>&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); }; }; then
13249 ac_cv_sizeof_long_int=`cat conftest.val`
13251 echo "$as_me: program exited with status $ac_status" >&5
13252 echo "$as_me: failed program was:" >&5
13253 sed 's/^/| /' conftest.$ac_ext >&5
13255 ( exit $ac_status )
13256 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77
13257 See \`config.log' for more details." >&5
13258 echo "$as_me: error: cannot compute sizeof (long int), 77
13259 See \`config.log' for more details." >&2;}
13260 { (exit 1); exit 1; }; }
13262 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13267 ac_cv_sizeof_long_int=0
13270 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
13271 echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6
13272 cat >>confdefs.h <<_ACEOF
13273 #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
13277 echo "$as_me:$LINENO: checking for long long int" >&5
13278 echo $ECHO_N "checking for long long int... $ECHO_C" >&6
13279 if test "${ac_cv_type_long_long_int+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13282 cat >conftest.$ac_ext <<_ACEOF
13283 #line $LINENO "configure"
13286 cat confdefs.h >>conftest.$ac_ext
13287 cat >>conftest.$ac_ext <<_ACEOF
13288 /* end confdefs.h. */
13289 $ac_includes_default
13293 if ((long long int *) 0)
13295 if (sizeof (long long int))
13301 rm -f conftest.$ac_objext
13302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13303 (eval $ac_compile) 2>&5
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); } &&
13307 { ac_try='test -s conftest.$ac_objext'
13308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13309 (eval $ac_try) 2>&5
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); }; }; then
13313 ac_cv_type_long_long_int=yes
13315 echo "$as_me: failed program was:" >&5
13316 sed 's/^/| /' conftest.$ac_ext >&5
13318 ac_cv_type_long_long_int=no
13320 rm -f conftest.$ac_objext conftest.$ac_ext
13322 echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
13323 echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
13325 echo "$as_me:$LINENO: checking size of long long int" >&5
13326 echo $ECHO_N "checking size of long long int... $ECHO_C" >&6
13327 if test "${ac_cv_sizeof_long_long_int+set}" = set; then
13328 echo $ECHO_N "(cached) $ECHO_C" >&6
13330 if test "$ac_cv_type_long_long_int" = yes; then
13331 # The cast to unsigned long works around a bug in the HP C Compiler
13332 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13333 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13334 # This bug is HP SR number 8606223364.
13335 if test "$cross_compiling" = yes; then
13336 # Depending upon the size, compute the lo and hi bounds.
13337 cat >conftest.$ac_ext <<_ACEOF
13338 #line $LINENO "configure"
13341 cat confdefs.h >>conftest.$ac_ext
13342 cat >>conftest.$ac_ext <<_ACEOF
13343 /* end confdefs.h. */
13344 $ac_includes_default
13348 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= 0)];
13355 rm -f conftest.$ac_objext
13356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13357 (eval $ac_compile) 2>&5
13359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13360 (exit $ac_status); } &&
13361 { ac_try='test -s conftest.$ac_objext'
13362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13363 (eval $ac_try) 2>&5
13365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13366 (exit $ac_status); }; }; then
13369 cat >conftest.$ac_ext <<_ACEOF
13370 #line $LINENO "configure"
13373 cat confdefs.h >>conftest.$ac_ext
13374 cat >>conftest.$ac_ext <<_ACEOF
13375 /* end confdefs.h. */
13376 $ac_includes_default
13380 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
13387 rm -f conftest.$ac_objext
13388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13389 (eval $ac_compile) 2>&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } &&
13393 { ac_try='test -s conftest.$ac_objext'
13394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395 (eval $ac_try) 2>&5
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; }; then
13399 ac_hi=$ac_mid; break
13401 echo "$as_me: failed program was:" >&5
13402 sed 's/^/| /' conftest.$ac_ext >&5
13404 ac_lo=`expr $ac_mid + 1`
13405 if test $ac_lo -le $ac_mid; then
13409 ac_mid=`expr 2 '*' $ac_mid + 1`
13411 rm -f conftest.$ac_objext conftest.$ac_ext
13414 echo "$as_me: failed program was:" >&5
13415 sed 's/^/| /' conftest.$ac_ext >&5
13417 cat >conftest.$ac_ext <<_ACEOF
13418 #line $LINENO "configure"
13421 cat confdefs.h >>conftest.$ac_ext
13422 cat >>conftest.$ac_ext <<_ACEOF
13423 /* end confdefs.h. */
13424 $ac_includes_default
13428 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) < 0)];
13435 rm -f conftest.$ac_objext
13436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13437 (eval $ac_compile) 2>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } &&
13441 { ac_try='test -s conftest.$ac_objext'
13442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; }; then
13449 cat >conftest.$ac_ext <<_ACEOF
13450 #line $LINENO "configure"
13453 cat confdefs.h >>conftest.$ac_ext
13454 cat >>conftest.$ac_ext <<_ACEOF
13455 /* end confdefs.h. */
13456 $ac_includes_default
13460 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= $ac_mid)];
13467 rm -f conftest.$ac_objext
13468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13469 (eval $ac_compile) 2>&5
13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13472 (exit $ac_status); } &&
13473 { ac_try='test -s conftest.$ac_objext'
13474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13475 (eval $ac_try) 2>&5
13477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13478 (exit $ac_status); }; }; then
13479 ac_lo=$ac_mid; break
13481 echo "$as_me: failed program was:" >&5
13482 sed 's/^/| /' conftest.$ac_ext >&5
13484 ac_hi=`expr '(' $ac_mid ')' - 1`
13485 if test $ac_mid -le $ac_hi; then
13489 ac_mid=`expr 2 '*' $ac_mid`
13491 rm -f conftest.$ac_objext conftest.$ac_ext
13494 echo "$as_me: failed program was:" >&5
13495 sed 's/^/| /' conftest.$ac_ext >&5
13499 rm -f conftest.$ac_objext conftest.$ac_ext
13501 rm -f conftest.$ac_objext conftest.$ac_ext
13502 # Binary search between lo and hi bounds.
13503 while test "x$ac_lo" != "x$ac_hi"; do
13504 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13505 cat >conftest.$ac_ext <<_ACEOF
13506 #line $LINENO "configure"
13509 cat confdefs.h >>conftest.$ac_ext
13510 cat >>conftest.$ac_ext <<_ACEOF
13511 /* end confdefs.h. */
13512 $ac_includes_default
13516 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
13523 rm -f conftest.$ac_objext
13524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13525 (eval $ac_compile) 2>&5
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); } &&
13529 { ac_try='test -s conftest.$ac_objext'
13530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13531 (eval $ac_try) 2>&5
13533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13534 (exit $ac_status); }; }; then
13537 echo "$as_me: failed program was:" >&5
13538 sed 's/^/| /' conftest.$ac_ext >&5
13540 ac_lo=`expr '(' $ac_mid ')' + 1`
13542 rm -f conftest.$ac_objext conftest.$ac_ext
13545 ?*) ac_cv_sizeof_long_long_int=$ac_lo;;
13546 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
13547 See \`config.log' for more details." >&5
13548 echo "$as_me: error: cannot compute sizeof (long long int), 77
13549 See \`config.log' for more details." >&2;}
13550 { (exit 1); exit 1; }; } ;;
13553 if test "$cross_compiling" = yes; then
13554 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13555 See \`config.log' for more details." >&5
13556 echo "$as_me: error: cannot run test program while cross compiling
13557 See \`config.log' for more details." >&2;}
13558 { (exit 1); exit 1; }; }
13560 cat >conftest.$ac_ext <<_ACEOF
13561 #line $LINENO "configure"
13564 cat confdefs.h >>conftest.$ac_ext
13565 cat >>conftest.$ac_ext <<_ACEOF
13566 /* end confdefs.h. */
13567 $ac_includes_default
13568 long longval () { return (long) (sizeof (long long int)); }
13569 unsigned long ulongval () { return (long) (sizeof (long long int)); }
13571 #include <stdlib.h>
13576 FILE *f = fopen ("conftest.val", "w");
13579 if (((long) (sizeof (long long int))) < 0)
13581 long i = longval ();
13582 if (i != ((long) (sizeof (long long int))))
13584 fprintf (f, "%ld\n", i);
13588 unsigned long i = ulongval ();
13589 if (i != ((long) (sizeof (long long int))))
13591 fprintf (f, "%lu\n", i);
13593 exit (ferror (f) || fclose (f) != 0);
13599 rm -f conftest$ac_exeext
13600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13601 (eval $ac_link) 2>&5
13603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13606 (eval $ac_try) 2>&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); }; }; then
13610 ac_cv_sizeof_long_long_int=`cat conftest.val`
13612 echo "$as_me: program exited with status $ac_status" >&5
13613 echo "$as_me: failed program was:" >&5
13614 sed 's/^/| /' conftest.$ac_ext >&5
13616 ( exit $ac_status )
13617 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77
13618 See \`config.log' for more details." >&5
13619 echo "$as_me: error: cannot compute sizeof (long long int), 77
13620 See \`config.log' for more details." >&2;}
13621 { (exit 1); exit 1; }; }
13623 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13628 ac_cv_sizeof_long_long_int=0
13631 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
13632 echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6
13633 cat >>confdefs.h <<_ACEOF
13634 #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
13638 echo "$as_me:$LINENO: checking for int *" >&5
13639 echo $ECHO_N "checking for int *... $ECHO_C" >&6
13640 if test "${ac_cv_type_int_p+set}" = set; then
13641 echo $ECHO_N "(cached) $ECHO_C" >&6
13643 cat >conftest.$ac_ext <<_ACEOF
13644 #line $LINENO "configure"
13647 cat confdefs.h >>conftest.$ac_ext
13648 cat >>conftest.$ac_ext <<_ACEOF
13649 /* end confdefs.h. */
13650 $ac_includes_default
13656 if (sizeof (int *))
13662 rm -f conftest.$ac_objext
13663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13664 (eval $ac_compile) 2>&5
13666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13667 (exit $ac_status); } &&
13668 { ac_try='test -s conftest.$ac_objext'
13669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13670 (eval $ac_try) 2>&5
13672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13673 (exit $ac_status); }; }; then
13674 ac_cv_type_int_p=yes
13676 echo "$as_me: failed program was:" >&5
13677 sed 's/^/| /' conftest.$ac_ext >&5
13679 ac_cv_type_int_p=no
13681 rm -f conftest.$ac_objext conftest.$ac_ext
13683 echo "$as_me:$LINENO: result: $ac_cv_type_int_p" >&5
13684 echo "${ECHO_T}$ac_cv_type_int_p" >&6
13686 echo "$as_me:$LINENO: checking size of int *" >&5
13687 echo $ECHO_N "checking size of int *... $ECHO_C" >&6
13688 if test "${ac_cv_sizeof_int_p+set}" = set; then
13689 echo $ECHO_N "(cached) $ECHO_C" >&6
13691 if test "$ac_cv_type_int_p" = yes; then
13692 # The cast to unsigned long works around a bug in the HP C Compiler
13693 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
13694 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
13695 # This bug is HP SR number 8606223364.
13696 if test "$cross_compiling" = yes; then
13697 # Depending upon the size, compute the lo and hi bounds.
13698 cat >conftest.$ac_ext <<_ACEOF
13699 #line $LINENO "configure"
13702 cat confdefs.h >>conftest.$ac_ext
13703 cat >>conftest.$ac_ext <<_ACEOF
13704 /* end confdefs.h. */
13705 $ac_includes_default
13709 static int test_array [1 - 2 * !(((long) (sizeof (int *))) >= 0)];
13716 rm -f conftest.$ac_objext
13717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13718 (eval $ac_compile) 2>&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); } &&
13722 { ac_try='test -s conftest.$ac_objext'
13723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13724 (eval $ac_try) 2>&5
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); }; }; then
13730 cat >conftest.$ac_ext <<_ACEOF
13731 #line $LINENO "configure"
13734 cat confdefs.h >>conftest.$ac_ext
13735 cat >>conftest.$ac_ext <<_ACEOF
13736 /* end confdefs.h. */
13737 $ac_includes_default
13741 static int test_array [1 - 2 * !(((long) (sizeof (int *))) <= $ac_mid)];
13748 rm -f conftest.$ac_objext
13749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13750 (eval $ac_compile) 2>&5
13752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13753 (exit $ac_status); } &&
13754 { ac_try='test -s conftest.$ac_objext'
13755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13756 (eval $ac_try) 2>&5
13758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13759 (exit $ac_status); }; }; then
13760 ac_hi=$ac_mid; break
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.$ac_ext >&5
13765 ac_lo=`expr $ac_mid + 1`
13766 if test $ac_lo -le $ac_mid; then
13770 ac_mid=`expr 2 '*' $ac_mid + 1`
13772 rm -f conftest.$ac_objext conftest.$ac_ext
13775 echo "$as_me: failed program was:" >&5
13776 sed 's/^/| /' conftest.$ac_ext >&5
13778 cat >conftest.$ac_ext <<_ACEOF
13779 #line $LINENO "configure"
13782 cat confdefs.h >>conftest.$ac_ext
13783 cat >>conftest.$ac_ext <<_ACEOF
13784 /* end confdefs.h. */
13785 $ac_includes_default
13789 static int test_array [1 - 2 * !(((long) (sizeof (int *))) < 0)];
13796 rm -f conftest.$ac_objext
13797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13798 (eval $ac_compile) 2>&5
13800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13801 (exit $ac_status); } &&
13802 { ac_try='test -s conftest.$ac_objext'
13803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13804 (eval $ac_try) 2>&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); }; }; then
13810 cat >conftest.$ac_ext <<_ACEOF
13811 #line $LINENO "configure"
13814 cat confdefs.h >>conftest.$ac_ext
13815 cat >>conftest.$ac_ext <<_ACEOF
13816 /* end confdefs.h. */
13817 $ac_includes_default
13821 static int test_array [1 - 2 * !(((long) (sizeof (int *))) >= $ac_mid)];
13828 rm -f conftest.$ac_objext
13829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13830 (eval $ac_compile) 2>&5
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); } &&
13834 { ac_try='test -s conftest.$ac_objext'
13835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13836 (eval $ac_try) 2>&5
13838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13839 (exit $ac_status); }; }; then
13840 ac_lo=$ac_mid; break
13842 echo "$as_me: failed program was:" >&5
13843 sed 's/^/| /' conftest.$ac_ext >&5
13845 ac_hi=`expr '(' $ac_mid ')' - 1`
13846 if test $ac_mid -le $ac_hi; then
13850 ac_mid=`expr 2 '*' $ac_mid`
13852 rm -f conftest.$ac_objext conftest.$ac_ext
13855 echo "$as_me: failed program was:" >&5
13856 sed 's/^/| /' conftest.$ac_ext >&5
13860 rm -f conftest.$ac_objext conftest.$ac_ext
13862 rm -f conftest.$ac_objext conftest.$ac_ext
13863 # Binary search between lo and hi bounds.
13864 while test "x$ac_lo" != "x$ac_hi"; do
13865 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
13866 cat >conftest.$ac_ext <<_ACEOF
13867 #line $LINENO "configure"
13870 cat confdefs.h >>conftest.$ac_ext
13871 cat >>conftest.$ac_ext <<_ACEOF
13872 /* end confdefs.h. */
13873 $ac_includes_default
13877 static int test_array [1 - 2 * !(((long) (sizeof (int *))) <= $ac_mid)];
13884 rm -f conftest.$ac_objext
13885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13886 (eval $ac_compile) 2>&5
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); } &&
13890 { ac_try='test -s conftest.$ac_objext'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; }; then
13898 echo "$as_me: failed program was:" >&5
13899 sed 's/^/| /' conftest.$ac_ext >&5
13901 ac_lo=`expr '(' $ac_mid ')' + 1`
13903 rm -f conftest.$ac_objext conftest.$ac_ext
13906 ?*) ac_cv_sizeof_int_p=$ac_lo;;
13907 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *), 77
13908 See \`config.log' for more details." >&5
13909 echo "$as_me: error: cannot compute sizeof (int *), 77
13910 See \`config.log' for more details." >&2;}
13911 { (exit 1); exit 1; }; } ;;
13914 if test "$cross_compiling" = yes; then
13915 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
13916 See \`config.log' for more details." >&5
13917 echo "$as_me: error: cannot run test program while cross compiling
13918 See \`config.log' for more details." >&2;}
13919 { (exit 1); exit 1; }; }
13921 cat >conftest.$ac_ext <<_ACEOF
13922 #line $LINENO "configure"
13925 cat confdefs.h >>conftest.$ac_ext
13926 cat >>conftest.$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13928 $ac_includes_default
13929 long longval () { return (long) (sizeof (int *)); }
13930 unsigned long ulongval () { return (long) (sizeof (int *)); }
13932 #include <stdlib.h>
13937 FILE *f = fopen ("conftest.val", "w");
13940 if (((long) (sizeof (int *))) < 0)
13942 long i = longval ();
13943 if (i != ((long) (sizeof (int *))))
13945 fprintf (f, "%ld\n", i);
13949 unsigned long i = ulongval ();
13950 if (i != ((long) (sizeof (int *))))
13952 fprintf (f, "%lu\n", i);
13954 exit (ferror (f) || fclose (f) != 0);
13960 rm -f conftest$ac_exeext
13961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13962 (eval $ac_link) 2>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13967 (eval $ac_try) 2>&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); }; }; then
13971 ac_cv_sizeof_int_p=`cat conftest.val`
13973 echo "$as_me: program exited with status $ac_status" >&5
13974 echo "$as_me: failed program was:" >&5
13975 sed 's/^/| /' conftest.$ac_ext >&5
13977 ( exit $ac_status )
13978 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *), 77
13979 See \`config.log' for more details." >&5
13980 echo "$as_me: error: cannot compute sizeof (int *), 77
13981 See \`config.log' for more details." >&2;}
13982 { (exit 1); exit 1; }; }
13984 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13989 ac_cv_sizeof_int_p=0
13992 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int_p" >&5
13993 echo "${ECHO_T}$ac_cv_sizeof_int_p" >&6
13994 cat >>confdefs.h <<_ACEOF
13995 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
14000 # Check for sys/types.h types
14001 echo "$as_me:$LINENO: checking for u_int type" >&5
14002 echo $ECHO_N "checking for u_int type... $ECHO_C" >&6
14003 if test "${ac_cv_have_u_int+set}" = set; then
14004 echo $ECHO_N "(cached) $ECHO_C" >&6
14007 cat >conftest.$ac_ext <<_ACEOF
14008 #line $LINENO "configure"
14011 cat confdefs.h >>conftest.$ac_ext
14012 cat >>conftest.$ac_ext <<_ACEOF
14013 /* end confdefs.h. */
14014 #include <sys/types.h>
14023 rm -f conftest.$ac_objext
14024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14025 (eval $ac_compile) 2>&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); } &&
14029 { ac_try='test -s conftest.$ac_objext'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; }; then
14035 ac_cv_have_u_int="yes"
14037 echo "$as_me: failed program was:" >&5
14038 sed 's/^/| /' conftest.$ac_ext >&5
14040 ac_cv_have_u_int="no"
14043 rm -f conftest.$ac_objext conftest.$ac_ext
14046 echo "$as_me:$LINENO: result: $ac_cv_have_u_int" >&5
14047 echo "${ECHO_T}$ac_cv_have_u_int" >&6
14048 if test "x$ac_cv_have_u_int" = "xyes" ; then
14049 cat >>confdefs.h <<\_ACEOF
14050 #define HAVE_U_INT 1
14056 echo "$as_me:$LINENO: checking for intmax_t type" >&5
14057 echo $ECHO_N "checking for intmax_t type... $ECHO_C" >&6
14058 if test "${ac_cv_have_intmax_t+set}" = set; then
14059 echo $ECHO_N "(cached) $ECHO_C" >&6
14062 cat >conftest.$ac_ext <<_ACEOF
14063 #line $LINENO "configure"
14066 cat confdefs.h >>conftest.$ac_ext
14067 cat >>conftest.$ac_ext <<_ACEOF
14068 /* end confdefs.h. */
14069 #include <sys/types.h>
14078 rm -f conftest.$ac_objext
14079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14080 (eval $ac_compile) 2>&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); } &&
14084 { ac_try='test -s conftest.$ac_objext'
14085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14086 (eval $ac_try) 2>&5
14088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14089 (exit $ac_status); }; }; then
14090 ac_cv_have_intmax_t="yes"
14092 echo "$as_me: failed program was:" >&5
14093 sed 's/^/| /' conftest.$ac_ext >&5
14096 cat >conftest.$ac_ext <<_ACEOF
14097 #line $LINENO "configure"
14100 cat confdefs.h >>conftest.$ac_ext
14101 cat >>conftest.$ac_ext <<_ACEOF
14102 /* end confdefs.h. */
14103 #include <stdint.h>
14112 rm -f conftest.$ac_objext
14113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14114 (eval $ac_compile) 2>&5
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); } &&
14118 { ac_try='test -s conftest.$ac_objext'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; }; then
14124 ac_cv_have_intmax_t="yes"
14126 echo "$as_me: failed program was:" >&5
14127 sed 's/^/| /' conftest.$ac_ext >&5
14129 ac_cv_have_intmax_t="no"
14132 rm -f conftest.$ac_objext conftest.$ac_ext
14136 rm -f conftest.$ac_objext conftest.$ac_ext
14140 echo "$as_me:$LINENO: result: $ac_cv_have_intmax_t" >&5
14141 echo "${ECHO_T}$ac_cv_have_intmax_t" >&6
14142 if test "x$ac_cv_have_intmax_t" = "xyes" ; then
14143 cat >>confdefs.h <<\_ACEOF
14144 #define HAVE_INTMAX_T 1
14151 echo "$as_me:$LINENO: checking for u_intmax_t type" >&5
14152 echo $ECHO_N "checking for u_intmax_t type... $ECHO_C" >&6
14153 if test "${ac_cv_have_u_intmax_t+set}" = set; then
14154 echo $ECHO_N "(cached) $ECHO_C" >&6
14157 cat >conftest.$ac_ext <<_ACEOF
14158 #line $LINENO "configure"
14161 cat confdefs.h >>conftest.$ac_ext
14162 cat >>conftest.$ac_ext <<_ACEOF
14163 /* end confdefs.h. */
14164 #include <sys/types.h>
14168 u_intmax_t a; a = 1;
14173 rm -f conftest.$ac_objext
14174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14175 (eval $ac_compile) 2>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); } &&
14179 { ac_try='test -s conftest.$ac_objext'
14180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14181 (eval $ac_try) 2>&5
14183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14184 (exit $ac_status); }; }; then
14185 ac_cv_have_u_intmax_t="yes"
14187 echo "$as_me: failed program was:" >&5
14188 sed 's/^/| /' conftest.$ac_ext >&5
14191 cat >conftest.$ac_ext <<_ACEOF
14192 #line $LINENO "configure"
14195 cat confdefs.h >>conftest.$ac_ext
14196 cat >>conftest.$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14198 #include <stdint.h>
14202 u_intmax_t a; a = 1;
14207 rm -f conftest.$ac_objext
14208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14209 (eval $ac_compile) 2>&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); } &&
14213 { ac_try='test -s conftest.$ac_objext'
14214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14215 (eval $ac_try) 2>&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); }; }; then
14219 ac_cv_have_u_intmax_t="yes"
14221 echo "$as_me: failed program was:" >&5
14222 sed 's/^/| /' conftest.$ac_ext >&5
14224 ac_cv_have_u_intmax_t="no"
14227 rm -f conftest.$ac_objext conftest.$ac_ext
14231 rm -f conftest.$ac_objext conftest.$ac_ext
14234 echo "$as_me:$LINENO: result: $ac_cv_have_u_intmax_t" >&5
14235 echo "${ECHO_T}$ac_cv_have_u_intmax_t" >&6
14236 if test "x$ac_cv_have_u_intmax_t" = "xyes" ; then
14237 cat >>confdefs.h <<\_ACEOF
14238 #define HAVE_U_INTMAX_T 1
14245 echo "$as_me:$LINENO: checking for intXX_t types" >&5
14246 echo $ECHO_N "checking for intXX_t types... $ECHO_C" >&6
14247 if test "${ac_cv_have_intxx_t+set}" = set; then
14248 echo $ECHO_N "(cached) $ECHO_C" >&6
14251 cat >conftest.$ac_ext <<_ACEOF
14252 #line $LINENO "configure"
14255 cat confdefs.h >>conftest.$ac_ext
14256 cat >>conftest.$ac_ext <<_ACEOF
14257 /* end confdefs.h. */
14258 #include <sys/types.h>
14262 int8_t a; int16_t b; int32_t c; a = b = c = 1;
14267 rm -f conftest.$ac_objext
14268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14269 (eval $ac_compile) 2>&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); } &&
14273 { ac_try='test -s conftest.$ac_objext'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; }; then
14279 ac_cv_have_intxx_t="yes"
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.$ac_ext >&5
14284 ac_cv_have_intxx_t="no"
14287 rm -f conftest.$ac_objext conftest.$ac_ext
14290 echo "$as_me:$LINENO: result: $ac_cv_have_intxx_t" >&5
14291 echo "${ECHO_T}$ac_cv_have_intxx_t" >&6
14292 if test "x$ac_cv_have_intxx_t" = "xyes" ; then
14293 cat >>confdefs.h <<\_ACEOF
14294 #define HAVE_INTXX_T 1
14300 echo "$as_me:$LINENO: checking for int64_t type" >&5
14301 echo $ECHO_N "checking for int64_t type... $ECHO_C" >&6
14302 if test "${ac_cv_have_int64_t+set}" = set; then
14303 echo $ECHO_N "(cached) $ECHO_C" >&6
14306 cat >conftest.$ac_ext <<_ACEOF
14307 #line $LINENO "configure"
14310 cat confdefs.h >>conftest.$ac_ext
14311 cat >>conftest.$ac_ext <<_ACEOF
14312 /* end confdefs.h. */
14313 #include <sys/types.h>
14322 rm -f conftest.$ac_objext
14323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14324 (eval $ac_compile) 2>&5
14326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327 (exit $ac_status); } &&
14328 { ac_try='test -s conftest.$ac_objext'
14329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14330 (eval $ac_try) 2>&5
14332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14333 (exit $ac_status); }; }; then
14334 ac_cv_have_int64_t="yes"
14336 echo "$as_me: failed program was:" >&5
14337 sed 's/^/| /' conftest.$ac_ext >&5
14339 ac_cv_have_int64_t="no"
14342 rm -f conftest.$ac_objext conftest.$ac_ext
14345 echo "$as_me:$LINENO: result: $ac_cv_have_int64_t" >&5
14346 echo "${ECHO_T}$ac_cv_have_int64_t" >&6
14347 if test "x$ac_cv_have_int64_t" = "xyes" ; then
14348 cat >>confdefs.h <<\_ACEOF
14349 #define HAVE_INT64_T 1
14355 echo "$as_me:$LINENO: checking for u_intXX_t types" >&5
14356 echo $ECHO_N "checking for u_intXX_t types... $ECHO_C" >&6
14357 if test "${ac_cv_have_u_intxx_t+set}" = set; then
14358 echo $ECHO_N "(cached) $ECHO_C" >&6
14361 cat >conftest.$ac_ext <<_ACEOF
14362 #line $LINENO "configure"
14365 cat confdefs.h >>conftest.$ac_ext
14366 cat >>conftest.$ac_ext <<_ACEOF
14367 /* end confdefs.h. */
14368 #include <sys/types.h>
14372 u_int8_t a; u_int16_t b; u_int32_t c; a = b = c = 1;
14377 rm -f conftest.$ac_objext
14378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14379 (eval $ac_compile) 2>&5
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 (exit $ac_status); } &&
14383 { ac_try='test -s conftest.$ac_objext'
14384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14385 (eval $ac_try) 2>&5
14387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14388 (exit $ac_status); }; }; then
14389 ac_cv_have_u_intxx_t="yes"
14391 echo "$as_me: failed program was:" >&5
14392 sed 's/^/| /' conftest.$ac_ext >&5
14394 ac_cv_have_u_intxx_t="no"
14397 rm -f conftest.$ac_objext conftest.$ac_ext
14400 echo "$as_me:$LINENO: result: $ac_cv_have_u_intxx_t" >&5
14401 echo "${ECHO_T}$ac_cv_have_u_intxx_t" >&6
14402 if test "x$ac_cv_have_u_intxx_t" = "xyes" ; then
14403 cat >>confdefs.h <<\_ACEOF
14404 #define HAVE_U_INTXX_T 1
14410 echo "$as_me:$LINENO: checking for u_int64_t types" >&5
14411 echo $ECHO_N "checking for u_int64_t types... $ECHO_C" >&6
14412 if test "${ac_cv_have_u_int64_t+set}" = set; then
14413 echo $ECHO_N "(cached) $ECHO_C" >&6
14416 cat >conftest.$ac_ext <<_ACEOF
14417 #line $LINENO "configure"
14420 cat confdefs.h >>conftest.$ac_ext
14421 cat >>conftest.$ac_ext <<_ACEOF
14422 /* end confdefs.h. */
14423 #include <sys/types.h>
14427 u_int64_t a; a = 1;
14432 rm -f conftest.$ac_objext
14433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14434 (eval $ac_compile) 2>&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); } &&
14438 { ac_try='test -s conftest.$ac_objext'
14439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14440 (eval $ac_try) 2>&5
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); }; }; then
14444 ac_cv_have_u_int64_t="yes"
14446 echo "$as_me: failed program was:" >&5
14447 sed 's/^/| /' conftest.$ac_ext >&5
14449 ac_cv_have_u_int64_t="no"
14452 rm -f conftest.$ac_objext conftest.$ac_ext
14455 echo "$as_me:$LINENO: result: $ac_cv_have_u_int64_t" >&5
14456 echo "${ECHO_T}$ac_cv_have_u_int64_t" >&6
14457 if test "x$ac_cv_have_u_int64_t" = "xyes" ; then
14458 cat >>confdefs.h <<\_ACEOF
14459 #define HAVE_U_INT64_T 1
14465 if (test -z "$have_u_intxx_t" || test -z "$have_intxx_t" && \
14466 test "x$ac_cv_header_sys_bitypes_h" = "xyes")
14468 echo "$as_me:$LINENO: checking for intXX_t and u_intXX_t types in sys/bitypes.h" >&5
14469 echo $ECHO_N "checking for intXX_t and u_intXX_t types in sys/bitypes.h... $ECHO_C" >&6
14470 cat >conftest.$ac_ext <<_ACEOF
14471 #line $LINENO "configure"
14474 cat confdefs.h >>conftest.$ac_ext
14475 cat >>conftest.$ac_ext <<_ACEOF
14476 /* end confdefs.h. */
14477 #include <sys/bitypes.h>
14481 int8_t a; int16_t b; int32_t c;
14482 u_int8_t e; u_int16_t f; u_int32_t g;
14483 a = b = c = e = f = g = 1;
14488 rm -f conftest.$ac_objext
14489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14490 (eval $ac_compile) 2>&5
14492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14493 (exit $ac_status); } &&
14494 { ac_try='test -s conftest.$ac_objext'
14495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14496 (eval $ac_try) 2>&5
14498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14499 (exit $ac_status); }; }; then
14500 cat >>confdefs.h <<\_ACEOF
14501 #define HAVE_U_INTXX_T 1
14504 cat >>confdefs.h <<\_ACEOF
14505 #define HAVE_INTXX_T 1
14508 cat >>confdefs.h <<\_ACEOF
14509 #define HAVE_SYS_BITYPES_H 1
14512 echo "$as_me:$LINENO: result: yes" >&5
14513 echo "${ECHO_T}yes" >&6
14515 echo "$as_me: failed program was:" >&5
14516 sed 's/^/| /' conftest.$ac_ext >&5
14518 echo "$as_me:$LINENO: result: no" >&5
14519 echo "${ECHO_T}no" >&6
14522 rm -f conftest.$ac_objext conftest.$ac_ext
14525 if test -z "$have_u_intxx_t" ; then
14526 echo "$as_me:$LINENO: checking for uintXX_t types" >&5
14527 echo $ECHO_N "checking for uintXX_t types... $ECHO_C" >&6
14528 if test "${ac_cv_have_uintxx_t+set}" = set; then
14529 echo $ECHO_N "(cached) $ECHO_C" >&6
14532 cat >conftest.$ac_ext <<_ACEOF
14533 #line $LINENO "configure"
14536 cat confdefs.h >>conftest.$ac_ext
14537 cat >>conftest.$ac_ext <<_ACEOF
14538 /* end confdefs.h. */
14539 #include <sys/types.h>
14543 uint8_t a; uint16_t b;
14544 uint32_t c; a = b = c = 1;
14549 rm -f conftest.$ac_objext
14550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14551 (eval $ac_compile) 2>&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } &&
14555 { ac_try='test -s conftest.$ac_objext'
14556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14557 (eval $ac_try) 2>&5
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; }; then
14561 ac_cv_have_uintxx_t="yes"
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14566 ac_cv_have_uintxx_t="no"
14569 rm -f conftest.$ac_objext conftest.$ac_ext
14572 echo "$as_me:$LINENO: result: $ac_cv_have_uintxx_t" >&5
14573 echo "${ECHO_T}$ac_cv_have_uintxx_t" >&6
14574 if test "x$ac_cv_have_uintxx_t" = "xyes" ; then
14575 cat >>confdefs.h <<\_ACEOF
14576 #define HAVE_UINTXX_T 1
14612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14613 echo "$as_me:$LINENO: checking for $ac_func" >&5
14614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14615 if eval "test \"\${$as_ac_var+set}\" = set"; then
14616 echo $ECHO_N "(cached) $ECHO_C" >&6
14618 cat >conftest.$ac_ext <<_ACEOF
14619 #line $LINENO "configure"
14622 cat confdefs.h >>conftest.$ac_ext
14623 cat >>conftest.$ac_ext <<_ACEOF
14624 /* end confdefs.h. */
14625 /* System header to define __stub macros and hopefully few prototypes,
14626 which can conflict with char $ac_func (); below.
14627 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14628 <limits.h> exists even on freestanding compilers. */
14630 # include <limits.h>
14632 # include <assert.h>
14634 /* Override any gcc2 internal prototype to avoid an error. */
14639 /* We use char because int might match the return type of a gcc2
14640 builtin and then its argument prototype would still apply. */
14642 /* The GNU C library defines this for functions which it implements
14643 to always fail with ENOSYS. Some functions are actually named
14644 something starting with __ and the normal name is an alias. */
14645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14648 char (*f) () = $ac_func;
14657 return f != $ac_func;
14662 rm -f conftest.$ac_objext conftest$ac_exeext
14663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14664 (eval $ac_link) 2>&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); } &&
14668 { ac_try='test -s conftest$ac_exeext'
14669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14670 (eval $ac_try) 2>&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }; }; then
14674 eval "$as_ac_var=yes"
14676 echo "$as_me: failed program was:" >&5
14677 sed 's/^/| /' conftest.$ac_ext >&5
14679 eval "$as_ac_var=no"
14681 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14685 if test `eval echo '${'$as_ac_var'}'` = yes; then
14686 cat >>confdefs.h <<_ACEOF
14687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14691 echo 'configure: cannot find needed function.'; exit 1
14698 for ac_func in fchdir
14700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14701 echo "$as_me:$LINENO: checking for $ac_func" >&5
14702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14703 if eval "test \"\${$as_ac_var+set}\" = set"; then
14704 echo $ECHO_N "(cached) $ECHO_C" >&6
14706 cat >conftest.$ac_ext <<_ACEOF
14707 #line $LINENO "configure"
14710 cat confdefs.h >>conftest.$ac_ext
14711 cat >>conftest.$ac_ext <<_ACEOF
14712 /* end confdefs.h. */
14713 /* System header to define __stub macros and hopefully few prototypes,
14714 which can conflict with char $ac_func (); below.
14715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14716 <limits.h> exists even on freestanding compilers. */
14718 # include <limits.h>
14720 # include <assert.h>
14722 /* Override any gcc2 internal prototype to avoid an error. */
14727 /* We use char because int might match the return type of a gcc2
14728 builtin and then its argument prototype would still apply. */
14730 /* The GNU C library defines this for functions which it implements
14731 to always fail with ENOSYS. Some functions are actually named
14732 something starting with __ and the normal name is an alias. */
14733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14736 char (*f) () = $ac_func;
14745 return f != $ac_func;
14750 rm -f conftest.$ac_objext conftest$ac_exeext
14751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14752 (eval $ac_link) 2>&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); } &&
14756 { ac_try='test -s conftest$ac_exeext'
14757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14758 (eval $ac_try) 2>&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); }; }; then
14762 eval "$as_ac_var=yes"
14764 echo "$as_me: failed program was:" >&5
14765 sed 's/^/| /' conftest.$ac_ext >&5
14767 eval "$as_ac_var=no"
14769 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14773 if test `eval echo '${'$as_ac_var'}'` = yes; then
14774 cat >>confdefs.h <<_ACEOF
14775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14777 cat >>confdefs.h <<\_ACEOF
14778 #define HAVE_FCHDIR 1
14785 for ac_func in strtoll
14787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14788 echo "$as_me:$LINENO: checking for $ac_func" >&5
14789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14790 if eval "test \"\${$as_ac_var+set}\" = set"; then
14791 echo $ECHO_N "(cached) $ECHO_C" >&6
14793 cat >conftest.$ac_ext <<_ACEOF
14794 #line $LINENO "configure"
14797 cat confdefs.h >>conftest.$ac_ext
14798 cat >>conftest.$ac_ext <<_ACEOF
14799 /* end confdefs.h. */
14800 /* System header to define __stub macros and hopefully few prototypes,
14801 which can conflict with char $ac_func (); below.
14802 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14803 <limits.h> exists even on freestanding compilers. */
14805 # include <limits.h>
14807 # include <assert.h>
14809 /* Override any gcc2 internal prototype to avoid an error. */
14814 /* We use char because int might match the return type of a gcc2
14815 builtin and then its argument prototype would still apply. */
14817 /* The GNU C library defines this for functions which it implements
14818 to always fail with ENOSYS. Some functions are actually named
14819 something starting with __ and the normal name is an alias. */
14820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14823 char (*f) () = $ac_func;
14832 return f != $ac_func;
14837 rm -f conftest.$ac_objext conftest$ac_exeext
14838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14839 (eval $ac_link) 2>&5
14841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14842 (exit $ac_status); } &&
14843 { ac_try='test -s conftest$ac_exeext'
14844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14845 (eval $ac_try) 2>&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); }; }; then
14849 eval "$as_ac_var=yes"
14851 echo "$as_me: failed program was:" >&5
14852 sed 's/^/| /' conftest.$ac_ext >&5
14854 eval "$as_ac_var=no"
14856 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14860 if test `eval echo '${'$as_ac_var'}'` = yes; then
14861 cat >>confdefs.h <<_ACEOF
14862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14864 cat >>confdefs.h <<\_ACEOF
14865 #define HAVE_STRTOLL 1
14873 for ac_func in chflags
14875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14876 echo "$as_me:$LINENO: checking for $ac_func" >&5
14877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14878 if eval "test \"\${$as_ac_var+set}\" = set"; then
14879 echo $ECHO_N "(cached) $ECHO_C" >&6
14881 cat >conftest.$ac_ext <<_ACEOF
14882 #line $LINENO "configure"
14885 cat confdefs.h >>conftest.$ac_ext
14886 cat >>conftest.$ac_ext <<_ACEOF
14887 /* end confdefs.h. */
14888 /* System header to define __stub macros and hopefully few prototypes,
14889 which can conflict with char $ac_func (); below.
14890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14891 <limits.h> exists even on freestanding compilers. */
14893 # include <limits.h>
14895 # include <assert.h>
14897 /* Override any gcc2 internal prototype to avoid an error. */
14902 /* We use char because int might match the return type of a gcc2
14903 builtin and then its argument prototype would still apply. */
14905 /* The GNU C library defines this for functions which it implements
14906 to always fail with ENOSYS. Some functions are actually named
14907 something starting with __ and the normal name is an alias. */
14908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14911 char (*f) () = $ac_func;
14920 return f != $ac_func;
14925 rm -f conftest.$ac_objext conftest$ac_exeext
14926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14927 (eval $ac_link) 2>&5
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); } &&
14931 { ac_try='test -s conftest$ac_exeext'
14932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14933 (eval $ac_try) 2>&5
14935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14936 (exit $ac_status); }; }; then
14937 eval "$as_ac_var=yes"
14939 echo "$as_me: failed program was:" >&5
14940 sed 's/^/| /' conftest.$ac_ext >&5
14942 eval "$as_ac_var=no"
14944 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
14946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14948 if test `eval echo '${'$as_ac_var'}'` = yes; then
14949 cat >>confdefs.h <<_ACEOF
14950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14961 for ac_func in snprintf vsnprintf gethostid getdomainname
14963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14964 echo "$as_me:$LINENO: checking for $ac_func" >&5
14965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14966 if eval "test \"\${$as_ac_var+set}\" = set"; then
14967 echo $ECHO_N "(cached) $ECHO_C" >&6
14969 cat >conftest.$ac_ext <<_ACEOF
14970 #line $LINENO "configure"
14973 cat confdefs.h >>conftest.$ac_ext
14974 cat >>conftest.$ac_ext <<_ACEOF
14975 /* end confdefs.h. */
14976 /* System header to define __stub macros and hopefully few prototypes,
14977 which can conflict with char $ac_func (); below.
14978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14979 <limits.h> exists even on freestanding compilers. */
14981 # include <limits.h>
14983 # include <assert.h>
14985 /* Override any gcc2 internal prototype to avoid an error. */
14990 /* We use char because int might match the return type of a gcc2
14991 builtin and then its argument prototype would still apply. */
14993 /* The GNU C library defines this for functions which it implements
14994 to always fail with ENOSYS. Some functions are actually named
14995 something starting with __ and the normal name is an alias. */
14996 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14999 char (*f) () = $ac_func;
15008 return f != $ac_func;
15013 rm -f conftest.$ac_objext conftest$ac_exeext
15014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15015 (eval $ac_link) 2>&5
15017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15018 (exit $ac_status); } &&
15019 { ac_try='test -s conftest$ac_exeext'
15020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15021 (eval $ac_try) 2>&5
15023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15024 (exit $ac_status); }; }; then
15025 eval "$as_ac_var=yes"
15027 echo "$as_me: failed program was:" >&5
15028 sed 's/^/| /' conftest.$ac_ext >&5
15030 eval "$as_ac_var=no"
15032 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15036 if test `eval echo '${'$as_ac_var'}'` = yes; then
15037 cat >>confdefs.h <<_ACEOF
15038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15049 for ac_func in localtime_r readdir_r strerror_r gethostbyname_r
15051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15052 echo "$as_me:$LINENO: checking for $ac_func" >&5
15053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15054 if eval "test \"\${$as_ac_var+set}\" = set"; then
15055 echo $ECHO_N "(cached) $ECHO_C" >&6
15057 cat >conftest.$ac_ext <<_ACEOF
15058 #line $LINENO "configure"
15061 cat confdefs.h >>conftest.$ac_ext
15062 cat >>conftest.$ac_ext <<_ACEOF
15063 /* end confdefs.h. */
15064 /* System header to define __stub macros and hopefully few prototypes,
15065 which can conflict with char $ac_func (); below.
15066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15067 <limits.h> exists even on freestanding compilers. */
15069 # include <limits.h>
15071 # include <assert.h>
15073 /* Override any gcc2 internal prototype to avoid an error. */
15078 /* We use char because int might match the return type of a gcc2
15079 builtin and then its argument prototype would still apply. */
15081 /* The GNU C library defines this for functions which it implements
15082 to always fail with ENOSYS. Some functions are actually named
15083 something starting with __ and the normal name is an alias. */
15084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15087 char (*f) () = $ac_func;
15096 return f != $ac_func;
15101 rm -f conftest.$ac_objext conftest$ac_exeext
15102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15103 (eval $ac_link) 2>&5
15105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); } &&
15107 { ac_try='test -s conftest$ac_exeext'
15108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15109 (eval $ac_try) 2>&5
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); }; }; then
15113 eval "$as_ac_var=yes"
15115 echo "$as_me: failed program was:" >&5
15116 sed 's/^/| /' conftest.$ac_ext >&5
15118 eval "$as_ac_var=no"
15120 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15124 if test `eval echo '${'$as_ac_var'}'` = yes; then
15125 cat >>confdefs.h <<_ACEOF
15126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15133 # If resolver functions are not in libc check for -lnsl or -lresolv.
15134 echo "$as_me:$LINENO: checking for gethostbyname_r" >&5
15135 echo $ECHO_N "checking for gethostbyname_r... $ECHO_C" >&6
15136 if test "${ac_cv_func_gethostbyname_r+set}" = set; then
15137 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 cat >conftest.$ac_ext <<_ACEOF
15140 #line $LINENO "configure"
15143 cat confdefs.h >>conftest.$ac_ext
15144 cat >>conftest.$ac_ext <<_ACEOF
15145 /* end confdefs.h. */
15146 /* System header to define __stub macros and hopefully few prototypes,
15147 which can conflict with char gethostbyname_r (); below.
15148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15149 <limits.h> exists even on freestanding compilers. */
15151 # include <limits.h>
15153 # include <assert.h>
15155 /* Override any gcc2 internal prototype to avoid an error. */
15160 /* We use char because int might match the return type of a gcc2
15161 builtin and then its argument prototype would still apply. */
15162 char gethostbyname_r ();
15163 /* The GNU C library defines this for functions which it implements
15164 to always fail with ENOSYS. Some functions are actually named
15165 something starting with __ and the normal name is an alias. */
15166 #if defined (__stub_gethostbyname_r) || defined (__stub___gethostbyname_r)
15169 char (*f) () = gethostbyname_r;
15178 return f != gethostbyname_r;
15183 rm -f conftest.$ac_objext conftest$ac_exeext
15184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15185 (eval $ac_link) 2>&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); } &&
15189 { ac_try='test -s conftest$ac_exeext'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; }; then
15195 ac_cv_func_gethostbyname_r=yes
15197 echo "$as_me: failed program was:" >&5
15198 sed 's/^/| /' conftest.$ac_ext >&5
15200 ac_cv_func_gethostbyname_r=no
15202 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15204 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname_r" >&5
15205 echo "${ECHO_T}$ac_cv_func_gethostbyname_r" >&6
15206 if test $ac_cv_func_gethostbyname_r = yes; then
15207 echo "$as_me:$LINENO: result: using libc's resolver" >&5
15208 echo "${ECHO_T}using libc's resolver" >&6
15211 echo "$as_me:$LINENO: checking for gethostbyname_r in -lnsl" >&5
15212 echo $ECHO_N "checking for gethostbyname_r in -lnsl... $ECHO_C" >&6
15213 if test "${ac_cv_lib_nsl_gethostbyname_r+set}" = set; then
15214 echo $ECHO_N "(cached) $ECHO_C" >&6
15216 ac_check_lib_save_LIBS=$LIBS
15218 cat >conftest.$ac_ext <<_ACEOF
15219 #line $LINENO "configure"
15222 cat confdefs.h >>conftest.$ac_ext
15223 cat >>conftest.$ac_ext <<_ACEOF
15224 /* end confdefs.h. */
15226 /* Override any gcc2 internal prototype to avoid an error. */
15230 /* We use char because int might match the return type of a gcc2
15231 builtin and then its argument prototype would still apply. */
15232 char gethostbyname_r ();
15236 gethostbyname_r ();
15241 rm -f conftest.$ac_objext conftest$ac_exeext
15242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15243 (eval $ac_link) 2>&5
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); } &&
15247 { ac_try='test -s conftest$ac_exeext'
15248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15249 (eval $ac_try) 2>&5
15251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15252 (exit $ac_status); }; }; then
15253 ac_cv_lib_nsl_gethostbyname_r=yes
15255 echo "$as_me: failed program was:" >&5
15256 sed 's/^/| /' conftest.$ac_ext >&5
15258 ac_cv_lib_nsl_gethostbyname_r=no
15260 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15261 LIBS=$ac_check_lib_save_LIBS
15263 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname_r" >&5
15264 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname_r" >&6
15265 if test $ac_cv_lib_nsl_gethostbyname_r = yes; then
15266 cat >>confdefs.h <<_ACEOF
15267 #define HAVE_LIBNSL 1
15275 echo "$as_me:$LINENO: checking for gethostbyname_r in -lresolv" >&5
15276 echo $ECHO_N "checking for gethostbyname_r in -lresolv... $ECHO_C" >&6
15277 if test "${ac_cv_lib_resolv_gethostbyname_r+set}" = set; then
15278 echo $ECHO_N "(cached) $ECHO_C" >&6
15280 ac_check_lib_save_LIBS=$LIBS
15281 LIBS="-lresolv $LIBS"
15282 cat >conftest.$ac_ext <<_ACEOF
15283 #line $LINENO "configure"
15286 cat confdefs.h >>conftest.$ac_ext
15287 cat >>conftest.$ac_ext <<_ACEOF
15288 /* end confdefs.h. */
15290 /* Override any gcc2 internal prototype to avoid an error. */
15294 /* We use char because int might match the return type of a gcc2
15295 builtin and then its argument prototype would still apply. */
15296 char gethostbyname_r ();
15300 gethostbyname_r ();
15305 rm -f conftest.$ac_objext conftest$ac_exeext
15306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15307 (eval $ac_link) 2>&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); } &&
15311 { ac_try='test -s conftest$ac_exeext'
15312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15313 (eval $ac_try) 2>&5
15315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 (exit $ac_status); }; }; then
15317 ac_cv_lib_resolv_gethostbyname_r=yes
15319 echo "$as_me: failed program was:" >&5
15320 sed 's/^/| /' conftest.$ac_ext >&5
15322 ac_cv_lib_resolv_gethostbyname_r=no
15324 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15325 LIBS=$ac_check_lib_save_LIBS
15327 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname_r" >&5
15328 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname_r" >&6
15329 if test $ac_cv_lib_resolv_gethostbyname_r = yes; then
15330 cat >>confdefs.h <<_ACEOF
15331 #define HAVE_LIBRESOLV 1
15334 LIBS="-lresolv $LIBS"
15342 # Find where sockets are (especially for Solaris)
15343 echo "$as_me:$LINENO: checking for socket" >&5
15344 echo $ECHO_N "checking for socket... $ECHO_C" >&6
15345 if test "${ac_cv_func_socket+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15348 cat >conftest.$ac_ext <<_ACEOF
15349 #line $LINENO "configure"
15352 cat confdefs.h >>conftest.$ac_ext
15353 cat >>conftest.$ac_ext <<_ACEOF
15354 /* end confdefs.h. */
15355 /* System header to define __stub macros and hopefully few prototypes,
15356 which can conflict with char socket (); below.
15357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15358 <limits.h> exists even on freestanding compilers. */
15360 # include <limits.h>
15362 # include <assert.h>
15364 /* Override any gcc2 internal prototype to avoid an error. */
15369 /* We use char because int might match the return type of a gcc2
15370 builtin and then its argument prototype would still apply. */
15372 /* The GNU C library defines this for functions which it implements
15373 to always fail with ENOSYS. Some functions are actually named
15374 something starting with __ and the normal name is an alias. */
15375 #if defined (__stub_socket) || defined (__stub___socket)
15378 char (*f) () = socket;
15387 return f != socket;
15392 rm -f conftest.$ac_objext conftest$ac_exeext
15393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15394 (eval $ac_link) 2>&5
15396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15397 (exit $ac_status); } &&
15398 { ac_try='test -s conftest$ac_exeext'
15399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15400 (eval $ac_try) 2>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); }; }; then
15404 ac_cv_func_socket=yes
15406 echo "$as_me: failed program was:" >&5
15407 sed 's/^/| /' conftest.$ac_ext >&5
15409 ac_cv_func_socket=no
15411 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15413 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
15414 echo "${ECHO_T}$ac_cv_func_socket" >&6
15415 if test $ac_cv_func_socket = yes; then
15416 echo "$as_me:$LINENO: result: using libc's socket" >&5
15417 echo "${ECHO_T}using libc's socket" >&6
15420 echo "$as_me:$LINENO: checking for socket in -lxnet" >&5
15421 echo $ECHO_N "checking for socket in -lxnet... $ECHO_C" >&6
15422 if test "${ac_cv_lib_xnet_socket+set}" = set; then
15423 echo $ECHO_N "(cached) $ECHO_C" >&6
15425 ac_check_lib_save_LIBS=$LIBS
15426 LIBS="-lxnet $LIBS"
15427 cat >conftest.$ac_ext <<_ACEOF
15428 #line $LINENO "configure"
15431 cat confdefs.h >>conftest.$ac_ext
15432 cat >>conftest.$ac_ext <<_ACEOF
15433 /* end confdefs.h. */
15435 /* Override any gcc2 internal prototype to avoid an error. */
15439 /* We use char because int might match the return type of a gcc2
15440 builtin and then its argument prototype would still apply. */
15450 rm -f conftest.$ac_objext conftest$ac_exeext
15451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15452 (eval $ac_link) 2>&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); } &&
15456 { ac_try='test -s conftest$ac_exeext'
15457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15458 (eval $ac_try) 2>&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); }; }; then
15462 ac_cv_lib_xnet_socket=yes
15464 echo "$as_me: failed program was:" >&5
15465 sed 's/^/| /' conftest.$ac_ext >&5
15467 ac_cv_lib_xnet_socket=no
15469 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15470 LIBS=$ac_check_lib_save_LIBS
15472 echo "$as_me:$LINENO: result: $ac_cv_lib_xnet_socket" >&5
15473 echo "${ECHO_T}$ac_cv_lib_xnet_socket" >&6
15474 if test $ac_cv_lib_xnet_socket = yes; then
15475 cat >>confdefs.h <<_ACEOF
15476 #define HAVE_LIBXNET 1
15479 LIBS="-lxnet $LIBS"
15484 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
15485 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
15486 if test "${ac_cv_lib_socket_socket+set}" = set; then
15487 echo $ECHO_N "(cached) $ECHO_C" >&6
15489 ac_check_lib_save_LIBS=$LIBS
15490 LIBS="-lsocket $LIBS"
15491 cat >conftest.$ac_ext <<_ACEOF
15492 #line $LINENO "configure"
15495 cat confdefs.h >>conftest.$ac_ext
15496 cat >>conftest.$ac_ext <<_ACEOF
15497 /* end confdefs.h. */
15499 /* Override any gcc2 internal prototype to avoid an error. */
15503 /* We use char because int might match the return type of a gcc2
15504 builtin and then its argument prototype would still apply. */
15514 rm -f conftest.$ac_objext conftest$ac_exeext
15515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15516 (eval $ac_link) 2>&5
15518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15519 (exit $ac_status); } &&
15520 { ac_try='test -s conftest$ac_exeext'
15521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15522 (eval $ac_try) 2>&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); }; }; then
15526 ac_cv_lib_socket_socket=yes
15528 echo "$as_me: failed program was:" >&5
15529 sed 's/^/| /' conftest.$ac_ext >&5
15531 ac_cv_lib_socket_socket=no
15533 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15534 LIBS=$ac_check_lib_save_LIBS
15536 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
15537 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
15538 if test $ac_cv_lib_socket_socket = yes; then
15539 cat >>confdefs.h <<_ACEOF
15540 #define HAVE_LIBSOCKET 1
15543 LIBS="-lsocket $LIBS"
15548 echo "$as_me:$LINENO: checking for socket in -linet" >&5
15549 echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6
15550 if test "${ac_cv_lib_inet_socket+set}" = set; then
15551 echo $ECHO_N "(cached) $ECHO_C" >&6
15553 ac_check_lib_save_LIBS=$LIBS
15554 LIBS="-linet $LIBS"
15555 cat >conftest.$ac_ext <<_ACEOF
15556 #line $LINENO "configure"
15559 cat confdefs.h >>conftest.$ac_ext
15560 cat >>conftest.$ac_ext <<_ACEOF
15561 /* end confdefs.h. */
15563 /* Override any gcc2 internal prototype to avoid an error. */
15567 /* We use char because int might match the return type of a gcc2
15568 builtin and then its argument prototype would still apply. */
15578 rm -f conftest.$ac_objext conftest$ac_exeext
15579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15580 (eval $ac_link) 2>&5
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); } &&
15584 { ac_try='test -s conftest$ac_exeext'
15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15586 (eval $ac_try) 2>&5
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; }; then
15590 ac_cv_lib_inet_socket=yes
15592 echo "$as_me: failed program was:" >&5
15593 sed 's/^/| /' conftest.$ac_ext >&5
15595 ac_cv_lib_inet_socket=no
15597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15598 LIBS=$ac_check_lib_save_LIBS
15600 echo "$as_me:$LINENO: result: $ac_cv_lib_inet_socket" >&5
15601 echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6
15602 if test $ac_cv_lib_inet_socket = yes; then
15603 cat >>confdefs.h <<_ACEOF
15604 #define HAVE_LIBINET 1
15607 LIBS="-linet $LIBS"
15615 for ac_func in inet_pton
15617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15618 echo "$as_me:$LINENO: checking for $ac_func" >&5
15619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15620 if eval "test \"\${$as_ac_var+set}\" = set"; then
15621 echo $ECHO_N "(cached) $ECHO_C" >&6
15623 cat >conftest.$ac_ext <<_ACEOF
15624 #line $LINENO "configure"
15627 cat confdefs.h >>conftest.$ac_ext
15628 cat >>conftest.$ac_ext <<_ACEOF
15629 /* end confdefs.h. */
15630 /* System header to define __stub macros and hopefully few prototypes,
15631 which can conflict with char $ac_func (); below.
15632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15633 <limits.h> exists even on freestanding compilers. */
15635 # include <limits.h>
15637 # include <assert.h>
15639 /* Override any gcc2 internal prototype to avoid an error. */
15644 /* We use char because int might match the return type of a gcc2
15645 builtin and then its argument prototype would still apply. */
15647 /* The GNU C library defines this for functions which it implements
15648 to always fail with ENOSYS. Some functions are actually named
15649 something starting with __ and the normal name is an alias. */
15650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15653 char (*f) () = $ac_func;
15662 return f != $ac_func;
15667 rm -f conftest.$ac_objext conftest$ac_exeext
15668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15669 (eval $ac_link) 2>&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); } &&
15673 { ac_try='test -s conftest$ac_exeext'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; }; then
15679 eval "$as_ac_var=yes"
15681 echo "$as_me: failed program was:" >&5
15682 sed 's/^/| /' conftest.$ac_ext >&5
15684 eval "$as_ac_var=no"
15686 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15690 if test `eval echo '${'$as_ac_var'}'` = yes; then
15691 cat >>confdefs.h <<_ACEOF
15692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15694 cat >>confdefs.h <<\_ACEOF
15695 #define HAVE_INET_PTON 1
15703 for ac_func in strftime
15705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15706 echo "$as_me:$LINENO: checking for $ac_func" >&5
15707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15708 if eval "test \"\${$as_ac_var+set}\" = set"; then
15709 echo $ECHO_N "(cached) $ECHO_C" >&6
15711 cat >conftest.$ac_ext <<_ACEOF
15712 #line $LINENO "configure"
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15718 /* System header to define __stub macros and hopefully few prototypes,
15719 which can conflict with char $ac_func (); below.
15720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15721 <limits.h> exists even on freestanding compilers. */
15723 # include <limits.h>
15725 # include <assert.h>
15727 /* Override any gcc2 internal prototype to avoid an error. */
15732 /* We use char because int might match the return type of a gcc2
15733 builtin and then its argument prototype would still apply. */
15735 /* The GNU C library defines this for functions which it implements
15736 to always fail with ENOSYS. Some functions are actually named
15737 something starting with __ and the normal name is an alias. */
15738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15741 char (*f) () = $ac_func;
15750 return f != $ac_func;
15755 rm -f conftest.$ac_objext conftest$ac_exeext
15756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15757 (eval $ac_link) 2>&5
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); } &&
15761 { ac_try='test -s conftest$ac_exeext'
15762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15763 (eval $ac_try) 2>&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); }; }; then
15767 eval "$as_ac_var=yes"
15769 echo "$as_me: failed program was:" >&5
15770 sed 's/^/| /' conftest.$ac_ext >&5
15772 eval "$as_ac_var=no"
15774 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15778 if test `eval echo '${'$as_ac_var'}'` = yes; then
15779 cat >>confdefs.h <<_ACEOF
15780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15784 # strftime is in -lintl on SCO UNIX.
15785 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
15786 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
15787 if test "${ac_cv_lib_intl_strftime+set}" = set; then
15788 echo $ECHO_N "(cached) $ECHO_C" >&6
15790 ac_check_lib_save_LIBS=$LIBS
15791 LIBS="-lintl $LIBS"
15792 cat >conftest.$ac_ext <<_ACEOF
15793 #line $LINENO "configure"
15796 cat confdefs.h >>conftest.$ac_ext
15797 cat >>conftest.$ac_ext <<_ACEOF
15798 /* end confdefs.h. */
15800 /* Override any gcc2 internal prototype to avoid an error. */
15804 /* We use char because int might match the return type of a gcc2
15805 builtin and then its argument prototype would still apply. */
15815 rm -f conftest.$ac_objext conftest$ac_exeext
15816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15817 (eval $ac_link) 2>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } &&
15821 { ac_try='test -s conftest$ac_exeext'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; }; then
15827 ac_cv_lib_intl_strftime=yes
15829 echo "$as_me: failed program was:" >&5
15830 sed 's/^/| /' conftest.$ac_ext >&5
15832 ac_cv_lib_intl_strftime=no
15834 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15835 LIBS=$ac_check_lib_save_LIBS
15837 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
15838 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
15839 if test $ac_cv_lib_intl_strftime = yes; then
15840 cat >>confdefs.h <<\_ACEOF
15841 #define HAVE_STRFTIME 1
15844 LIBS="-lintl $LIBS"
15851 for ac_func in vprintf
15853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15854 echo "$as_me:$LINENO: checking for $ac_func" >&5
15855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15856 if eval "test \"\${$as_ac_var+set}\" = set"; then
15857 echo $ECHO_N "(cached) $ECHO_C" >&6
15859 cat >conftest.$ac_ext <<_ACEOF
15860 #line $LINENO "configure"
15863 cat confdefs.h >>conftest.$ac_ext
15864 cat >>conftest.$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15866 /* System header to define __stub macros and hopefully few prototypes,
15867 which can conflict with char $ac_func (); below.
15868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15869 <limits.h> exists even on freestanding compilers. */
15871 # include <limits.h>
15873 # include <assert.h>
15875 /* Override any gcc2 internal prototype to avoid an error. */
15880 /* We use char because int might match the return type of a gcc2
15881 builtin and then its argument prototype would still apply. */
15883 /* The GNU C library defines this for functions which it implements
15884 to always fail with ENOSYS. Some functions are actually named
15885 something starting with __ and the normal name is an alias. */
15886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15889 char (*f) () = $ac_func;
15898 return f != $ac_func;
15903 rm -f conftest.$ac_objext conftest$ac_exeext
15904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15905 (eval $ac_link) 2>&5
15907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15908 (exit $ac_status); } &&
15909 { ac_try='test -s conftest$ac_exeext'
15910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15911 (eval $ac_try) 2>&5
15913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15914 (exit $ac_status); }; }; then
15915 eval "$as_ac_var=yes"
15917 echo "$as_me: failed program was:" >&5
15918 sed 's/^/| /' conftest.$ac_ext >&5
15920 eval "$as_ac_var=no"
15922 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15926 if test `eval echo '${'$as_ac_var'}'` = yes; then
15927 cat >>confdefs.h <<_ACEOF
15928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15931 echo "$as_me:$LINENO: checking for _doprnt" >&5
15932 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
15933 if test "${ac_cv_func__doprnt+set}" = set; then
15934 echo $ECHO_N "(cached) $ECHO_C" >&6
15936 cat >conftest.$ac_ext <<_ACEOF
15937 #line $LINENO "configure"
15940 cat confdefs.h >>conftest.$ac_ext
15941 cat >>conftest.$ac_ext <<_ACEOF
15942 /* end confdefs.h. */
15943 /* System header to define __stub macros and hopefully few prototypes,
15944 which can conflict with char _doprnt (); below.
15945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15946 <limits.h> exists even on freestanding compilers. */
15948 # include <limits.h>
15950 # include <assert.h>
15952 /* Override any gcc2 internal prototype to avoid an error. */
15957 /* We use char because int might match the return type of a gcc2
15958 builtin and then its argument prototype would still apply. */
15960 /* The GNU C library defines this for functions which it implements
15961 to always fail with ENOSYS. Some functions are actually named
15962 something starting with __ and the normal name is an alias. */
15963 #if defined (__stub__doprnt) || defined (__stub____doprnt)
15966 char (*f) () = _doprnt;
15975 return f != _doprnt;
15980 rm -f conftest.$ac_objext conftest$ac_exeext
15981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15982 (eval $ac_link) 2>&5
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } &&
15986 { ac_try='test -s conftest$ac_exeext'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; }; then
15992 ac_cv_func__doprnt=yes
15994 echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.$ac_ext >&5
15997 ac_cv_func__doprnt=no
15999 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16001 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
16002 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
16003 if test $ac_cv_func__doprnt = yes; then
16005 cat >>confdefs.h <<\_ACEOF
16006 #define HAVE_DOPRNT 1
16015 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
16016 # for constant arguments. Useless!
16017 echo "$as_me:$LINENO: checking for working alloca.h" >&5
16018 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
16019 if test "${ac_cv_working_alloca_h+set}" = set; then
16020 echo $ECHO_N "(cached) $ECHO_C" >&6
16022 cat >conftest.$ac_ext <<_ACEOF
16023 #line $LINENO "configure"
16026 cat confdefs.h >>conftest.$ac_ext
16027 cat >>conftest.$ac_ext <<_ACEOF
16028 /* end confdefs.h. */
16029 #include <alloca.h>
16033 char *p = (char *) alloca (2 * sizeof (int));
16038 rm -f conftest.$ac_objext conftest$ac_exeext
16039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16040 (eval $ac_link) 2>&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); } &&
16044 { ac_try='test -s conftest$ac_exeext'
16045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16046 (eval $ac_try) 2>&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); }; }; then
16050 ac_cv_working_alloca_h=yes
16052 echo "$as_me: failed program was:" >&5
16053 sed 's/^/| /' conftest.$ac_ext >&5
16055 ac_cv_working_alloca_h=no
16057 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16059 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
16060 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
16061 if test $ac_cv_working_alloca_h = yes; then
16063 cat >>confdefs.h <<\_ACEOF
16064 #define HAVE_ALLOCA_H 1
16069 echo "$as_me:$LINENO: checking for alloca" >&5
16070 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
16071 if test "${ac_cv_func_alloca_works+set}" = set; then
16072 echo $ECHO_N "(cached) $ECHO_C" >&6
16074 cat >conftest.$ac_ext <<_ACEOF
16075 #line $LINENO "configure"
16078 cat confdefs.h >>conftest.$ac_ext
16079 cat >>conftest.$ac_ext <<_ACEOF
16080 /* end confdefs.h. */
16082 # define alloca __builtin_alloca
16085 # include <malloc.h>
16086 # define alloca _alloca
16089 # include <alloca.h>
16094 # ifndef alloca /* predefined by HP cc +Olibcalls */
16105 char *p = (char *) alloca (1);
16110 rm -f conftest.$ac_objext conftest$ac_exeext
16111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16112 (eval $ac_link) 2>&5
16114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16115 (exit $ac_status); } &&
16116 { ac_try='test -s conftest$ac_exeext'
16117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16118 (eval $ac_try) 2>&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); }; }; then
16122 ac_cv_func_alloca_works=yes
16124 echo "$as_me: failed program was:" >&5
16125 sed 's/^/| /' conftest.$ac_ext >&5
16127 ac_cv_func_alloca_works=no
16129 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16131 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
16132 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
16134 if test $ac_cv_func_alloca_works = yes; then
16136 cat >>confdefs.h <<\_ACEOF
16137 #define HAVE_ALLOCA 1
16141 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
16142 # that cause trouble. Some versions do not even contain alloca or
16143 # contain a buggy version. If you still want to use their alloca,
16144 # use ar to extract alloca.o from them instead of compiling alloca.c.
16146 ALLOCA=alloca.$ac_objext
16148 cat >>confdefs.h <<\_ACEOF
16153 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
16154 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
16155 if test "${ac_cv_os_cray+set}" = set; then
16156 echo $ECHO_N "(cached) $ECHO_C" >&6
16158 cat >conftest.$ac_ext <<_ACEOF
16159 #line $LINENO "configure"
16162 cat confdefs.h >>conftest.$ac_ext
16163 cat >>conftest.$ac_ext <<_ACEOF
16164 /* end confdefs.h. */
16165 #if defined(CRAY) && ! defined(CRAY2)
16172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16173 $EGREP "webecray" >/dev/null 2>&1; then
16181 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
16182 echo "${ECHO_T}$ac_cv_os_cray" >&6
16183 if test $ac_cv_os_cray = yes; then
16184 for ac_func in _getb67 GETB67 getb67; do
16185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16186 echo "$as_me:$LINENO: checking for $ac_func" >&5
16187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16188 if eval "test \"\${$as_ac_var+set}\" = set"; then
16189 echo $ECHO_N "(cached) $ECHO_C" >&6
16191 cat >conftest.$ac_ext <<_ACEOF
16192 #line $LINENO "configure"
16195 cat confdefs.h >>conftest.$ac_ext
16196 cat >>conftest.$ac_ext <<_ACEOF
16197 /* end confdefs.h. */
16198 /* System header to define __stub macros and hopefully few prototypes,
16199 which can conflict with char $ac_func (); below.
16200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16201 <limits.h> exists even on freestanding compilers. */
16203 # include <limits.h>
16205 # include <assert.h>
16207 /* Override any gcc2 internal prototype to avoid an error. */
16212 /* We use char because int might match the return type of a gcc2
16213 builtin and then its argument prototype would still apply. */
16215 /* The GNU C library defines this for functions which it implements
16216 to always fail with ENOSYS. Some functions are actually named
16217 something starting with __ and the normal name is an alias. */
16218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16221 char (*f) () = $ac_func;
16230 return f != $ac_func;
16235 rm -f conftest.$ac_objext conftest$ac_exeext
16236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16237 (eval $ac_link) 2>&5
16239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16240 (exit $ac_status); } &&
16241 { ac_try='test -s conftest$ac_exeext'
16242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16243 (eval $ac_try) 2>&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); }; }; then
16247 eval "$as_ac_var=yes"
16249 echo "$as_me: failed program was:" >&5
16250 sed 's/^/| /' conftest.$ac_ext >&5
16252 eval "$as_ac_var=no"
16254 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16258 if test `eval echo '${'$as_ac_var'}'` = yes; then
16260 cat >>confdefs.h <<_ACEOF
16261 #define CRAY_STACKSEG_END $ac_func
16270 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16271 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16272 if test "${ac_cv_c_stack_direction+set}" = set; then
16273 echo $ECHO_N "(cached) $ECHO_C" >&6
16275 if test "$cross_compiling" = yes; then
16276 ac_cv_c_stack_direction=0
16278 cat >conftest.$ac_ext <<_ACEOF
16279 #line $LINENO "configure"
16282 cat confdefs.h >>conftest.$ac_ext
16283 cat >>conftest.$ac_ext <<_ACEOF
16284 /* end confdefs.h. */
16286 find_stack_direction ()
16288 static char *addr = 0;
16293 return find_stack_direction ();
16296 return (&dummy > addr) ? 1 : -1;
16302 exit (find_stack_direction () < 0);
16305 rm -f conftest$ac_exeext
16306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16307 (eval $ac_link) 2>&5
16309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16312 (eval $ac_try) 2>&5
16314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16315 (exit $ac_status); }; }; then
16316 ac_cv_c_stack_direction=1
16318 echo "$as_me: program exited with status $ac_status" >&5
16319 echo "$as_me: failed program was:" >&5
16320 sed 's/^/| /' conftest.$ac_ext >&5
16322 ( exit $ac_status )
16323 ac_cv_c_stack_direction=-1
16325 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16328 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16329 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16331 cat >>confdefs.h <<_ACEOF
16332 #define STACK_DIRECTION $ac_cv_c_stack_direction
16338 # getmntent is in -lsun on Irix 4, -lseq on Dynix/PTX, -lgen on Unixware.
16339 echo "$as_me:$LINENO: checking for getmntent in -lsun" >&5
16340 echo $ECHO_N "checking for getmntent in -lsun... $ECHO_C" >&6
16341 if test "${ac_cv_lib_sun_getmntent+set}" = set; then
16342 echo $ECHO_N "(cached) $ECHO_C" >&6
16344 ac_check_lib_save_LIBS=$LIBS
16346 cat >conftest.$ac_ext <<_ACEOF
16347 #line $LINENO "configure"
16350 cat confdefs.h >>conftest.$ac_ext
16351 cat >>conftest.$ac_ext <<_ACEOF
16352 /* end confdefs.h. */
16354 /* Override any gcc2 internal prototype to avoid an error. */
16358 /* We use char because int might match the return type of a gcc2
16359 builtin and then its argument prototype would still apply. */
16369 rm -f conftest.$ac_objext conftest$ac_exeext
16370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16371 (eval $ac_link) 2>&5
16373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16374 (exit $ac_status); } &&
16375 { ac_try='test -s conftest$ac_exeext'
16376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16377 (eval $ac_try) 2>&5
16379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16380 (exit $ac_status); }; }; then
16381 ac_cv_lib_sun_getmntent=yes
16383 echo "$as_me: failed program was:" >&5
16384 sed 's/^/| /' conftest.$ac_ext >&5
16386 ac_cv_lib_sun_getmntent=no
16388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16389 LIBS=$ac_check_lib_save_LIBS
16391 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getmntent" >&5
16392 echo "${ECHO_T}$ac_cv_lib_sun_getmntent" >&6
16393 if test $ac_cv_lib_sun_getmntent = yes; then
16396 echo "$as_me:$LINENO: checking for getmntent in -lseq" >&5
16397 echo $ECHO_N "checking for getmntent in -lseq... $ECHO_C" >&6
16398 if test "${ac_cv_lib_seq_getmntent+set}" = set; then
16399 echo $ECHO_N "(cached) $ECHO_C" >&6
16401 ac_check_lib_save_LIBS=$LIBS
16403 cat >conftest.$ac_ext <<_ACEOF
16404 #line $LINENO "configure"
16407 cat confdefs.h >>conftest.$ac_ext
16408 cat >>conftest.$ac_ext <<_ACEOF
16409 /* end confdefs.h. */
16411 /* Override any gcc2 internal prototype to avoid an error. */
16415 /* We use char because int might match the return type of a gcc2
16416 builtin and then its argument prototype would still apply. */
16426 rm -f conftest.$ac_objext conftest$ac_exeext
16427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16428 (eval $ac_link) 2>&5
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); } &&
16432 { ac_try='test -s conftest$ac_exeext'
16433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16434 (eval $ac_try) 2>&5
16436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16437 (exit $ac_status); }; }; then
16438 ac_cv_lib_seq_getmntent=yes
16440 echo "$as_me: failed program was:" >&5
16441 sed 's/^/| /' conftest.$ac_ext >&5
16443 ac_cv_lib_seq_getmntent=no
16445 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16446 LIBS=$ac_check_lib_save_LIBS
16448 echo "$as_me:$LINENO: result: $ac_cv_lib_seq_getmntent" >&5
16449 echo "${ECHO_T}$ac_cv_lib_seq_getmntent" >&6
16450 if test $ac_cv_lib_seq_getmntent = yes; then
16453 echo "$as_me:$LINENO: checking for getmntent in -lgen" >&5
16454 echo $ECHO_N "checking for getmntent in -lgen... $ECHO_C" >&6
16455 if test "${ac_cv_lib_gen_getmntent+set}" = set; then
16456 echo $ECHO_N "(cached) $ECHO_C" >&6
16458 ac_check_lib_save_LIBS=$LIBS
16460 cat >conftest.$ac_ext <<_ACEOF
16461 #line $LINENO "configure"
16464 cat confdefs.h >>conftest.$ac_ext
16465 cat >>conftest.$ac_ext <<_ACEOF
16466 /* end confdefs.h. */
16468 /* Override any gcc2 internal prototype to avoid an error. */
16472 /* We use char because int might match the return type of a gcc2
16473 builtin and then its argument prototype would still apply. */
16483 rm -f conftest.$ac_objext conftest$ac_exeext
16484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16485 (eval $ac_link) 2>&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } &&
16489 { ac_try='test -s conftest$ac_exeext'
16490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16491 (eval $ac_try) 2>&5
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); }; }; then
16495 ac_cv_lib_gen_getmntent=yes
16497 echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.$ac_ext >&5
16500 ac_cv_lib_gen_getmntent=no
16502 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16503 LIBS=$ac_check_lib_save_LIBS
16505 echo "$as_me:$LINENO: result: $ac_cv_lib_gen_getmntent" >&5
16506 echo "${ECHO_T}$ac_cv_lib_gen_getmntent" >&6
16507 if test $ac_cv_lib_gen_getmntent = yes; then
16516 for ac_func in getmntent
16518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16519 echo "$as_me:$LINENO: checking for $ac_func" >&5
16520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16521 if eval "test \"\${$as_ac_var+set}\" = set"; then
16522 echo $ECHO_N "(cached) $ECHO_C" >&6
16524 cat >conftest.$ac_ext <<_ACEOF
16525 #line $LINENO "configure"
16528 cat confdefs.h >>conftest.$ac_ext
16529 cat >>conftest.$ac_ext <<_ACEOF
16530 /* end confdefs.h. */
16531 /* System header to define __stub macros and hopefully few prototypes,
16532 which can conflict with char $ac_func (); below.
16533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16534 <limits.h> exists even on freestanding compilers. */
16536 # include <limits.h>
16538 # include <assert.h>
16540 /* Override any gcc2 internal prototype to avoid an error. */
16545 /* We use char because int might match the return type of a gcc2
16546 builtin and then its argument prototype would still apply. */
16548 /* The GNU C library defines this for functions which it implements
16549 to always fail with ENOSYS. Some functions are actually named
16550 something starting with __ and the normal name is an alias. */
16551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16554 char (*f) () = $ac_func;
16563 return f != $ac_func;
16568 rm -f conftest.$ac_objext conftest$ac_exeext
16569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16570 (eval $ac_link) 2>&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); } &&
16574 { ac_try='test -s conftest$ac_exeext'
16575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16576 (eval $ac_try) 2>&5
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); }; }; then
16580 eval "$as_ac_var=yes"
16582 echo "$as_me: failed program was:" >&5
16583 sed 's/^/| /' conftest.$ac_ext >&5
16585 eval "$as_ac_var=no"
16587 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16591 if test `eval echo '${'$as_ac_var'}'` = yes; then
16592 cat >>confdefs.h <<_ACEOF
16593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16600 echo "$as_me:$LINENO: checking whether closedir returns void" >&5
16601 echo $ECHO_N "checking whether closedir returns void... $ECHO_C" >&6
16602 if test "${ac_cv_func_closedir_void+set}" = set; then
16603 echo $ECHO_N "(cached) $ECHO_C" >&6
16605 if test "$cross_compiling" = yes; then
16606 ac_cv_func_closedir_void=yes
16608 cat >conftest.$ac_ext <<_ACEOF
16609 #line $LINENO "configure"
16612 cat confdefs.h >>conftest.$ac_ext
16613 cat >>conftest.$ac_ext <<_ACEOF
16614 /* end confdefs.h. */
16615 $ac_includes_default
16616 #include <$ac_header_dirent>
16617 #ifndef __cplusplus
16624 exit (closedir (opendir (".")) != 0);
16629 rm -f conftest$ac_exeext
16630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16631 (eval $ac_link) 2>&5
16633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16636 (eval $ac_try) 2>&5
16638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16639 (exit $ac_status); }; }; then
16640 ac_cv_func_closedir_void=no
16642 echo "$as_me: program exited with status $ac_status" >&5
16643 echo "$as_me: failed program was:" >&5
16644 sed 's/^/| /' conftest.$ac_ext >&5
16646 ( exit $ac_status )
16647 ac_cv_func_closedir_void=yes
16649 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16652 echo "$as_me:$LINENO: result: $ac_cv_func_closedir_void" >&5
16653 echo "${ECHO_T}$ac_cv_func_closedir_void" >&6
16654 if test $ac_cv_func_closedir_void = yes; then
16656 cat >>confdefs.h <<\_ACEOF
16657 #define CLOSEDIR_VOID 1
16662 echo "$as_me:$LINENO: checking whether setpgrp takes no argument" >&5
16663 echo $ECHO_N "checking whether setpgrp takes no argument... $ECHO_C" >&6
16664 if test "${ac_cv_func_setpgrp_void+set}" = set; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16667 if test "$cross_compiling" = yes; then
16668 { { echo "$as_me:$LINENO: error: cannot check setpgrp when cross compiling" >&5
16669 echo "$as_me: error: cannot check setpgrp when cross compiling" >&2;}
16670 { (exit 1); exit 1; }; }
16672 cat >conftest.$ac_ext <<_ACEOF
16673 #line $LINENO "configure"
16676 cat confdefs.h >>conftest.$ac_ext
16677 cat >>conftest.$ac_ext <<_ACEOF
16678 /* end confdefs.h. */
16680 # include <unistd.h>
16686 /* If this system has a BSD-style setpgrp which takes arguments,
16687 setpgrp(1, 1) will fail with ESRCH and return -1, in that case
16688 exit successfully. */
16689 exit (setpgrp (1,1) == -1 ? 0 : 1);
16694 rm -f conftest$ac_exeext
16695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16696 (eval $ac_link) 2>&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16701 (eval $ac_try) 2>&5
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); }; }; then
16705 ac_cv_func_setpgrp_void=no
16707 echo "$as_me: program exited with status $ac_status" >&5
16708 echo "$as_me: failed program was:" >&5
16709 sed 's/^/| /' conftest.$ac_ext >&5
16711 ( exit $ac_status )
16712 ac_cv_func_setpgrp_void=yes
16714 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16717 echo "$as_me:$LINENO: result: $ac_cv_func_setpgrp_void" >&5
16718 echo "${ECHO_T}$ac_cv_func_setpgrp_void" >&6
16719 if test $ac_cv_func_setpgrp_void = yes; then
16721 cat >>confdefs.h <<\_ACEOF
16722 #define SETPGRP_VOID 1
16726 echo "$as_me:$LINENO: checking for working POSIX fnmatch" >&5
16727 echo $ECHO_N "checking for working POSIX fnmatch... $ECHO_C" >&6
16728 if test "${ac_cv_func_fnmatch_works+set}" = set; then
16729 echo $ECHO_N "(cached) $ECHO_C" >&6
16731 # Some versions of Solaris, SCO, and the GNU C Library
16732 # have a broken or incompatible fnmatch.
16733 # So we run a test program. If we are cross-compiling, take no chance.
16734 # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
16735 if test "$cross_compiling" = yes; then
16736 ac_cv_func_fnmatch_works=cross
16738 cat >conftest.$ac_ext <<_ACEOF
16739 #line $LINENO "configure"
16742 cat confdefs.h >>conftest.$ac_ext
16743 cat >>conftest.$ac_ext <<_ACEOF
16744 /* end confdefs.h. */
16745 #include <fnmatch.h>
16746 # define y(a, b, c) (fnmatch (a, b, c) == 0)
16747 # define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
16753 (!(y ("a*", "abc", 0)
16754 && n ("d*/*1", "d/s/1", FNM_PATHNAME)
16755 && y ("a\\\\bc", "abc", 0)
16756 && n ("a\\\\bc", "abc", FNM_NOESCAPE)
16757 && y ("*x", ".x", 0)
16758 && n ("*x", ".x", FNM_PERIOD)
16764 rm -f conftest$ac_exeext
16765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16766 (eval $ac_link) 2>&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16771 (eval $ac_try) 2>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); }; }; then
16775 ac_cv_func_fnmatch_works=yes
16777 echo "$as_me: program exited with status $ac_status" >&5
16778 echo "$as_me: failed program was:" >&5
16779 sed 's/^/| /' conftest.$ac_ext >&5
16781 ( exit $ac_status )
16782 ac_cv_func_fnmatch_works=no
16784 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16787 echo "$as_me:$LINENO: result: $ac_cv_func_fnmatch_works" >&5
16788 echo "${ECHO_T}$ac_cv_func_fnmatch_works" >&6
16789 if test $ac_cv_func_fnmatch_works = yes; then
16791 cat >>confdefs.h <<\_ACEOF
16792 #define HAVE_FNMATCH 1
16801 echo "$as_me:$LINENO: checking for setlocale in -lxpg4" >&5
16802 echo $ECHO_N "checking for setlocale in -lxpg4... $ECHO_C" >&6
16803 if test "${ac_cv_lib_xpg4_setlocale+set}" = set; then
16804 echo $ECHO_N "(cached) $ECHO_C" >&6
16806 ac_check_lib_save_LIBS=$LIBS
16807 LIBS="-lxpg4 $LIBS"
16808 cat >conftest.$ac_ext <<_ACEOF
16809 #line $LINENO "configure"
16812 cat confdefs.h >>conftest.$ac_ext
16813 cat >>conftest.$ac_ext <<_ACEOF
16814 /* end confdefs.h. */
16816 /* Override any gcc2 internal prototype to avoid an error. */
16820 /* We use char because int might match the return type of a gcc2
16821 builtin and then its argument prototype would still apply. */
16831 rm -f conftest.$ac_objext conftest$ac_exeext
16832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16833 (eval $ac_link) 2>&5
16835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16836 (exit $ac_status); } &&
16837 { ac_try='test -s conftest$ac_exeext'
16838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16839 (eval $ac_try) 2>&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); }; }; then
16843 ac_cv_lib_xpg4_setlocale=yes
16845 echo "$as_me: failed program was:" >&5
16846 sed 's/^/| /' conftest.$ac_ext >&5
16848 ac_cv_lib_xpg4_setlocale=no
16850 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16851 LIBS=$ac_check_lib_save_LIBS
16853 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4_setlocale" >&5
16854 echo "${ECHO_T}$ac_cv_lib_xpg4_setlocale" >&6
16855 if test $ac_cv_lib_xpg4_setlocale = yes; then
16856 LIBS="$LIBS -lxpg4"
16862 echo "$as_me:$LINENO: checking for getpwnam in -lsun" >&5
16863 echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6
16864 if test "${ac_cv_lib_sun_getpwnam+set}" = set; then
16865 echo $ECHO_N "(cached) $ECHO_C" >&6
16867 ac_check_lib_save_LIBS=$LIBS
16869 cat >conftest.$ac_ext <<_ACEOF
16870 #line $LINENO "configure"
16873 cat confdefs.h >>conftest.$ac_ext
16874 cat >>conftest.$ac_ext <<_ACEOF
16875 /* end confdefs.h. */
16877 /* Override any gcc2 internal prototype to avoid an error. */
16881 /* We use char because int might match the return type of a gcc2
16882 builtin and then its argument prototype would still apply. */
16892 rm -f conftest.$ac_objext conftest$ac_exeext
16893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16894 (eval $ac_link) 2>&5
16896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16897 (exit $ac_status); } &&
16898 { ac_try='test -s conftest$ac_exeext'
16899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16900 (eval $ac_try) 2>&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); }; }; then
16904 ac_cv_lib_sun_getpwnam=yes
16906 echo "$as_me: failed program was:" >&5
16907 sed 's/^/| /' conftest.$ac_ext >&5
16909 ac_cv_lib_sun_getpwnam=no
16911 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16912 LIBS=$ac_check_lib_save_LIBS
16914 echo "$as_me:$LINENO: result: $ac_cv_lib_sun_getpwnam" >&5
16915 echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6
16916 if test $ac_cv_lib_sun_getpwnam = yes; then
16917 cat >>confdefs.h <<_ACEOF
16918 #define HAVE_LIBSUN 1
16927 for ac_header in zlib.h
16929 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16930 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16931 echo "$as_me:$LINENO: checking for $ac_header" >&5
16932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16933 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16934 echo $ECHO_N "(cached) $ECHO_C" >&6
16936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16939 # Is the header compilable?
16940 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16941 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16942 cat >conftest.$ac_ext <<_ACEOF
16943 #line $LINENO "configure"
16946 cat confdefs.h >>conftest.$ac_ext
16947 cat >>conftest.$ac_ext <<_ACEOF
16948 /* end confdefs.h. */
16949 $ac_includes_default
16950 #include <$ac_header>
16952 rm -f conftest.$ac_objext
16953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16954 (eval $ac_compile) 2>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } &&
16958 { ac_try='test -s conftest.$ac_objext'
16959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16960 (eval $ac_try) 2>&5
16962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16963 (exit $ac_status); }; }; then
16964 ac_header_compiler=yes
16966 echo "$as_me: failed program was:" >&5
16967 sed 's/^/| /' conftest.$ac_ext >&5
16969 ac_header_compiler=no
16971 rm -f conftest.$ac_objext conftest.$ac_ext
16972 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16973 echo "${ECHO_T}$ac_header_compiler" >&6
16975 # Is the header present?
16976 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16977 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16978 cat >conftest.$ac_ext <<_ACEOF
16979 #line $LINENO "configure"
16982 cat confdefs.h >>conftest.$ac_ext
16983 cat >>conftest.$ac_ext <<_ACEOF
16984 /* end confdefs.h. */
16985 #include <$ac_header>
16987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16990 grep -v '^ *+' conftest.er1 >conftest.err
16992 cat conftest.err >&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); } >/dev/null; then
16995 if test -s conftest.err; then
16996 ac_cpp_err=$ac_c_preproc_warn_flag
17003 if test -z "$ac_cpp_err"; then
17004 ac_header_preproc=yes
17006 echo "$as_me: failed program was:" >&5
17007 sed 's/^/| /' conftest.$ac_ext >&5
17009 ac_header_preproc=no
17011 rm -f conftest.err conftest.$ac_ext
17012 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17013 echo "${ECHO_T}$ac_header_preproc" >&6
17015 # So? What about this header?
17016 case $ac_header_compiler:$ac_header_preproc in
17018 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17019 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17021 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17024 ## ------------------------------------ ##
17025 ## Report this to bug-autoconf@gnu.org. ##
17026 ## ------------------------------------ ##
17029 sed "s/^/$as_me: WARNING: /" >&2
17032 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17033 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17034 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17035 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17036 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17037 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17040 ## ------------------------------------ ##
17041 ## Report this to bug-autoconf@gnu.org. ##
17042 ## ------------------------------------ ##
17045 sed "s/^/$as_me: WARNING: /" >&2
17048 echo "$as_me:$LINENO: checking for $ac_header" >&5
17049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17051 echo $ECHO_N "(cached) $ECHO_C" >&6
17053 eval "$as_ac_Header=$ac_header_preproc"
17055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17060 cat >>confdefs.h <<_ACEOF
17061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17068 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
17069 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
17070 if test "${ac_cv_lib_z_deflate+set}" = set; then
17071 echo $ECHO_N "(cached) $ECHO_C" >&6
17073 ac_check_lib_save_LIBS=$LIBS
17075 cat >conftest.$ac_ext <<_ACEOF
17076 #line $LINENO "configure"
17079 cat confdefs.h >>conftest.$ac_ext
17080 cat >>conftest.$ac_ext <<_ACEOF
17081 /* end confdefs.h. */
17083 /* Override any gcc2 internal prototype to avoid an error. */
17087 /* We use char because int might match the return type of a gcc2
17088 builtin and then its argument prototype would still apply. */
17098 rm -f conftest.$ac_objext conftest$ac_exeext
17099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17100 (eval $ac_link) 2>&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } &&
17104 { ac_try='test -s conftest$ac_exeext'
17105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17106 (eval $ac_try) 2>&5
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); }; }; then
17110 ac_cv_lib_z_deflate=yes
17112 echo "$as_me: failed program was:" >&5
17113 sed 's/^/| /' conftest.$ac_ext >&5
17115 ac_cv_lib_z_deflate=no
17117 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17118 LIBS=$ac_check_lib_save_LIBS
17120 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
17121 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
17122 if test $ac_cv_lib_z_deflate = yes; then
17127 if test x$FDLIBS = x-lz; then
17128 cat >>confdefs.h <<\_ACEOF
17129 #define HAVE_LIBZ 1
17136 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
17137 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
17138 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
17139 echo $ECHO_N "(cached) $ECHO_C" >&6
17141 ac_check_lib_save_LIBS=$LIBS
17142 LIBS="-lpthread $LIBS"
17143 cat >conftest.$ac_ext <<_ACEOF
17144 #line $LINENO "configure"
17147 cat confdefs.h >>conftest.$ac_ext
17148 cat >>conftest.$ac_ext <<_ACEOF
17149 /* end confdefs.h. */
17151 /* Override any gcc2 internal prototype to avoid an error. */
17155 /* We use char because int might match the return type of a gcc2
17156 builtin and then its argument prototype would still apply. */
17157 char pthread_create ();
17166 rm -f conftest.$ac_objext conftest$ac_exeext
17167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17168 (eval $ac_link) 2>&5
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); } &&
17172 { ac_try='test -s conftest$ac_exeext'
17173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17174 (eval $ac_try) 2>&5
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); }; }; then
17178 ac_cv_lib_pthread_pthread_create=yes
17180 echo "$as_me: failed program was:" >&5
17181 sed 's/^/| /' conftest.$ac_ext >&5
17183 ac_cv_lib_pthread_pthread_create=no
17185 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17186 LIBS=$ac_check_lib_save_LIBS
17188 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
17189 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
17190 if test $ac_cv_lib_pthread_pthread_create = yes; then
17191 PTHREAD_LIB="-lpthread"
17193 echo "$as_me:$LINENO: checking for pthread_create in -lpthreads" >&5
17194 echo $ECHO_N "checking for pthread_create in -lpthreads... $ECHO_C" >&6
17195 if test "${ac_cv_lib_pthreads_pthread_create+set}" = set; then
17196 echo $ECHO_N "(cached) $ECHO_C" >&6
17198 ac_check_lib_save_LIBS=$LIBS
17199 LIBS="-lpthreads $LIBS"
17200 cat >conftest.$ac_ext <<_ACEOF
17201 #line $LINENO "configure"
17204 cat confdefs.h >>conftest.$ac_ext
17205 cat >>conftest.$ac_ext <<_ACEOF
17206 /* end confdefs.h. */
17208 /* Override any gcc2 internal prototype to avoid an error. */
17212 /* We use char because int might match the return type of a gcc2
17213 builtin and then its argument prototype would still apply. */
17214 char pthread_create ();
17223 rm -f conftest.$ac_objext conftest$ac_exeext
17224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17225 (eval $ac_link) 2>&5
17227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228 (exit $ac_status); } &&
17229 { ac_try='test -s conftest$ac_exeext'
17230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17231 (eval $ac_try) 2>&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); }; }; then
17235 ac_cv_lib_pthreads_pthread_create=yes
17237 echo "$as_me: failed program was:" >&5
17238 sed 's/^/| /' conftest.$ac_ext >&5
17240 ac_cv_lib_pthreads_pthread_create=no
17242 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17243 LIBS=$ac_check_lib_save_LIBS
17245 echo "$as_me:$LINENO: result: $ac_cv_lib_pthreads_pthread_create" >&5
17246 echo "${ECHO_T}$ac_cv_lib_pthreads_pthread_create" >&6
17247 if test $ac_cv_lib_pthreads_pthread_create = yes; then
17248 PTHREAD_LIB="-lpthreads"
17250 echo "$as_me:$LINENO: checking for pthread_create in -lc_r" >&5
17251 echo $ECHO_N "checking for pthread_create in -lc_r... $ECHO_C" >&6
17252 if test "${ac_cv_lib_c_r_pthread_create+set}" = set; then
17253 echo $ECHO_N "(cached) $ECHO_C" >&6
17255 ac_check_lib_save_LIBS=$LIBS
17257 cat >conftest.$ac_ext <<_ACEOF
17258 #line $LINENO "configure"
17261 cat confdefs.h >>conftest.$ac_ext
17262 cat >>conftest.$ac_ext <<_ACEOF
17263 /* end confdefs.h. */
17265 /* Override any gcc2 internal prototype to avoid an error. */
17269 /* We use char because int might match the return type of a gcc2
17270 builtin and then its argument prototype would still apply. */
17271 char pthread_create ();
17280 rm -f conftest.$ac_objext conftest$ac_exeext
17281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17282 (eval $ac_link) 2>&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } &&
17286 { ac_try='test -s conftest$ac_exeext'
17287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17288 (eval $ac_try) 2>&5
17290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17291 (exit $ac_status); }; }; then
17292 ac_cv_lib_c_r_pthread_create=yes
17294 echo "$as_me: failed program was:" >&5
17295 sed 's/^/| /' conftest.$ac_ext >&5
17297 ac_cv_lib_c_r_pthread_create=no
17299 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17300 LIBS=$ac_check_lib_save_LIBS
17302 echo "$as_me:$LINENO: result: $ac_cv_lib_c_r_pthread_create" >&5
17303 echo "${ECHO_T}$ac_cv_lib_c_r_pthread_create" >&6
17304 if test $ac_cv_lib_c_r_pthread_create = yes; then
17305 PTHREAD_LIB="-lc_r"
17307 echo "$as_me:$LINENO: checking for pthread_create" >&5
17308 echo $ECHO_N "checking for pthread_create... $ECHO_C" >&6
17309 if test "${ac_cv_func_pthread_create+set}" = set; then
17310 echo $ECHO_N "(cached) $ECHO_C" >&6
17312 cat >conftest.$ac_ext <<_ACEOF
17313 #line $LINENO "configure"
17316 cat confdefs.h >>conftest.$ac_ext
17317 cat >>conftest.$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319 /* System header to define __stub macros and hopefully few prototypes,
17320 which can conflict with char pthread_create (); below.
17321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17322 <limits.h> exists even on freestanding compilers. */
17324 # include <limits.h>
17326 # include <assert.h>
17328 /* Override any gcc2 internal prototype to avoid an error. */
17333 /* We use char because int might match the return type of a gcc2
17334 builtin and then its argument prototype would still apply. */
17335 char pthread_create ();
17336 /* The GNU C library defines this for functions which it implements
17337 to always fail with ENOSYS. Some functions are actually named
17338 something starting with __ and the normal name is an alias. */
17339 #if defined (__stub_pthread_create) || defined (__stub___pthread_create)
17342 char (*f) () = pthread_create;
17351 return f != pthread_create;
17356 rm -f conftest.$ac_objext conftest$ac_exeext
17357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17358 (eval $ac_link) 2>&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); } &&
17362 { ac_try='test -s conftest$ac_exeext'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; }; then
17368 ac_cv_func_pthread_create=yes
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.$ac_ext >&5
17373 ac_cv_func_pthread_create=no
17375 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17377 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_create" >&5
17378 echo "${ECHO_T}$ac_cv_func_pthread_create" >&6
17391 cat >>confdefs.h <<\_ACEOF
17397 CFLAGS=${CFLAGS--O}
17398 LDFLAGS=${LDFLAGS--O}
17399 DB_LIBS="${SQL_LFLAGS}"
17401 CPPFLAGS="$CPPFLAGS"
17426 # Finally we set appropriate distribution specific
17427 # variables and defaults
17429 # PFILES are platform specific files
17430 PFILES="platforms/Makefile"
17433 hostname=`uname -n`
17434 case "$DISTNAME" in
17437 PSCMD="ps -e -o pid,comm"
17438 PFILES="${PFILES} \
17439 platforms/aix/Makefile"
17440 TAPEDRIVE="/dev/rmt0.1"
17444 PTHREAD_LIB="-lpthread -lexc"
17445 if test "${CC}" = "gcc" ; then
17452 TAPEDRIVE="/dev/nrmt0"
17455 DISTVER=`uname -a |awk '{print $3}'`
17456 TAPEDRIVE="/dev/nrmt0"
17457 PTHREAD_LIB="-pthread"
17458 CFLAGS="${CFLAGS} -pthread"
17459 PSCMD="ps -x -o pid,command"
17462 PFILES="${PFILES} \
17463 platforms/bsdi/Makefile \
17464 platforms/bsdi/bacula-fd \
17465 platforms/bsdi/bacula-sd \
17466 platforms/bsdi/bacula-dir"
17467 hostname=`hostname -s`
17468 largefile_support="yes"
17471 DISTVER=`uname -a |awk '{print $3}'`
17472 TAPEDRIVE="/dev/nrst0"
17474 WCFLAGS="-mwindows"
17475 WLDFLAGS="-mwindows"
17479 TAPEDRIVE="/dev/nst0"
17480 PSCMD="ps -e -o pid,command"
17481 hostname=`hostname -s`
17482 PFILES="${PFILES} \
17483 platforms/darwin/Makefile"
17486 DISTVER=`cat /etc/debian_version`
17487 TAPEDRIVE="/dev/nrst0"
17488 PSCMD="ps -e -o pid,command"
17489 hostname=`hostname -s`
17492 DISTVER=`uname -a |awk '{print $3}'`
17493 VER=`echo $DISTVER | cut -c 1`
17494 if test x$VER = x4 ; then
17495 PTHREAD_LIB="-pthread"
17496 CFLAGS="${CFLAGS} -pthread"
17500 TAPEDRIVE="/dev/nrsa0"
17501 PSCMD="ps -x -o pid,command"
17502 PFILES="${PFILES} \
17503 platforms/freebsd/Makefile \
17504 platforms/freebsd/bacula-fd \
17505 platforms/freebsd/bacula-sd \
17506 platforms/freebsd/bacula-dir"
17507 hostname=`hostname -s`
17508 largefile_support="yes"
17512 TAPEDRIVE="/dev/rmt/0hnb"
17516 TAPEDRIVE="/dev/rmt/0cbn"
17517 PSCMD="ps -e -o pid,comm"
17518 PFILES="${PFILES} \
17519 platforms/irix/Makefile \
17520 platforms/irix/bacula-fd \
17521 platforms/irix/bacula-sd \
17522 platforms/irix/bacula-dir"
17525 DISTVER=`uname -a |awk '{print $3}'`
17528 TAPEDRIVE="/dev/nrst0"
17529 PSCMD="ps -a -o pid,command"
17530 PTHREAD_LIB="-pthread"
17531 CFLAGS="${CFLAGS} -pthread"
17534 DISTVER=`uname -a |awk '{print $3}'`
17537 TAPEDRIVE="/dev/nrst0"
17538 PSCMD="ps -a -o pid,command"
17539 PTHREAD_LIB="-pthread"
17540 CFLAGS="${CFLAGS} -pthread"
17541 PFILES="${PFILES} \
17542 platforms/openbsd/Makefile \
17543 platforms/openbsd/bacula-fd \
17544 platforms/openbsd/bacula-sd \
17545 platforms/openbsd/bacula-dir"
17548 DISTVER=`cat /etc/redhat-release | grep release |\
17550 TAPEDRIVE="/dev/nst0"
17551 PSCMD="ps -e -o pid,command"
17552 PFILES="${PFILES} \
17553 platforms/redhat/Makefile \
17554 platforms/redhat/bacula-fd \
17555 platforms/redhat/bacula-sd \
17556 platforms/redhat/bacula-dir \
17557 platforms/redhat/bacula.spec \
17559 hostname=`hostname -s`
17562 DISTVER=`cat /etc/mandrake-release | grep release |\
17564 TAPEDRIVE="/dev/nst0"
17565 PSCMD="ps -e -o pid,command"
17566 PFILES="${PFILES} \
17567 platforms/mandrake/Makefile \
17568 platforms/mandrake/bacula-fd \
17569 platforms/mandrake/bacula-sd \
17570 platforms/mandrake/bacula-dir \
17571 platforms/mandrake/bacula.spec \
17573 hostname=`hostname -s`
17576 DISTVER=`awk '/version / {print $5}' < /etc/gentoo-release`
17577 TAPEDRIVE="/dev/nst0"
17578 PSCMD="ps -e -o pid,command"
17579 PFILES="${PFILES} \
17580 platforms/gentoo/Makefile \
17581 platforms/gentoo/bacula-fd \
17582 platforms/gentoo/bacula-sd \
17583 platforms/gentoo/bacula-dir"
17584 hostname=`hostname -s`
17588 DISTVER=`cat /etc/slackware-version`
17589 TAPEDRIVE="/dev/nst0"
17590 PSCMD="ps -e -o pid,command"
17591 hostname=`hostname -s`
17595 TAPEDRIVE="/dev/rmt/0cbn"
17596 PSCMD="ps -e -o pid,comm"
17597 PFILES="${PFILES} \
17598 platforms/solaris/Makefile \
17599 platforms/solaris/bacula-fd \
17600 platforms/solaris/bacula-sd \
17601 platforms/solaris/bacula-dir"
17602 if test x$DISTVER = x5.6 ; then
17603 cat >>confdefs.h <<\_ACEOF
17604 #define HAVE_OLD_SOCKOPT 1
17610 DISTVER=`cat /etc/SuSE-release |grep VERSION|\
17612 TAPEDRIVE="/dev/nst0"
17613 PSCMD="ps -e -o pid,command"
17614 hostname=`hostname -s`
17619 TAPEDRIVE="/dev/nst0"
17620 PSCMD="ps -e -o pid,command"
17621 hostname=`hostname -s`
17625 TAPEDRIVE="/dev/nst0"
17628 echo " === Something went wrong. Unknown DISTNAME $DISTNAME ==="
17634 LIBS="$PTHREAD_LIB $LIBS"
17636 cat >>confdefs.h <<_ACEOF
17640 cat >>confdefs.h <<_ACEOF
17650 MCOMMON=./autoconf/Make.common
17653 if test "x${subsysdir}" = "x${sbindir}" ; then
17656 echo "You have set both --sbindir and --with-subsys-dir"
17657 echo " equal to: ${subsysdir} "
17658 echo "This is not permitted. Please reconfigure."
17660 echo "Aborting configuration ..."
17666 ac_config_files="$ac_config_files autoconf/Make.common Makefile rescue/Makefile rescue/linux/Makefile rescue/freebsd/Makefile rescue/solaris/Makefile scripts/startmysql scripts/stopmysql scripts/btraceback scripts/startit scripts/stopit scripts/bconsole scripts/gconsole scripts/bacula scripts/fd scripts/Makefile scripts/logrotate scripts/bacula.desktop.gnome1 scripts/bacula.desktop.gnome2 scripts/mtx-changer 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/tconsole/Makefile 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/make_postgresql_tables src/cats/drop_postgresql_tables src/cats/update_postgresql_tables src/cats/create_postgresql_database src/cats/grant_postgresql_privileges src/cats/make_mysql_tables src/cats/drop_mysql_tables src/cats/update_mysql_tables src/cats/create_mysql_database src/cats/grant_mysql_privileges src/cats/grant_postgresql_privileges src/cats/make_sqlite_tables src/cats/drop_sqlite_tables src/cats/update_sqlite_tables src/cats/create_sqlite_database src/cats/sqlite src/cats/mysql src/cats/create_bdb_database src/cats/make_bdb_tables src/cats/drop_bdb_tables src/cats/create_bacula_database src/cats/grant_bacula_privileges src/cats/make_bacula_tables src/cats/drop_bacula_tables src/cats/update_bacula_tables src/findlib/Makefile src/tools/Makefile $PFILES"
17667 ac_config_commands="$ac_config_commands default"
17668 cat >confcache <<\_ACEOF
17669 # This file is a shell script that caches the results of configure
17670 # tests run on this system so they can be shared between configure
17671 # scripts and configure runs, see configure's option --config-cache.
17672 # It is not useful on other systems. If it contains results you don't
17673 # want to keep, you may remove or edit it.
17675 # config.status only pays attention to the cache file if you give it
17676 # the --recheck option to rerun configure.
17678 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17679 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17680 # following values.
17684 # The following way of writing the cache mishandles newlines in values,
17685 # but we know of no workaround that is simple, portable, and efficient.
17686 # So, don't put newlines in cache variables' values.
17687 # Ultrix sh set writes to stderr and can't be redirected directly,
17688 # and sets the high bit in the cache file unless we assign to the vars.
17691 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17693 # `set' does not quote correctly, so add quotes (double-quote
17694 # substitution turns \\\\ into \\, and sed turns \\ into \).
17697 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17700 # `set' quotes correctly as required by POSIX, so do not add quotes.
17702 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
17709 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17711 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17713 if diff $cache_file confcache >/dev/null 2>&1; then :; else
17714 if test -w $cache_file; then
17715 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
17716 cat confcache >$cache_file
17718 echo "not updating unwritable cache $cache_file"
17723 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17724 # Let make expand exec_prefix.
17725 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17727 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17728 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17729 # trailing colons and then remove the whole line if VPATH becomes empty
17730 # (actually we leave an empty line to preserve line numbers).
17731 if test "x$srcdir" = x.; then
17732 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17733 s/:*\$(srcdir):*/:/;
17734 s/:*\${srcdir}:*/:/;
17736 s/^\([^=]*=[ ]*\):*/\1/;
17742 DEFS=-DHAVE_CONFIG_H
17746 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17747 # 1. Remove the extension, and $U if already installed.
17748 ac_i=`echo "$ac_i" |
17749 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
17751 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
17752 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
17754 LIBOBJS=$ac_libobjs
17756 LTLIBOBJS=$ac_ltlibobjs
17760 : ${CONFIG_STATUS=./config.status}
17761 ac_clean_files_save=$ac_clean_files
17762 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17763 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17764 echo "$as_me: creating $CONFIG_STATUS" >&6;}
17765 cat >$CONFIG_STATUS <<_ACEOF
17767 # Generated by $as_me.
17768 # Run this file to recreate the current configuration.
17769 # Compiler output produced by configure, useful for debugging
17770 # configure, is in config.log if it exists.
17773 ac_cs_recheck=false
17775 SHELL=\${CONFIG_SHELL-$SHELL}
17778 cat >>$CONFIG_STATUS <<\_ACEOF
17779 ## --------------------- ##
17780 ## M4sh Initialization. ##
17781 ## --------------------- ##
17783 # Be Bourne compatible
17784 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17787 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17788 # is contrary to our usage. Disable this feature.
17789 alias -g '${1+"$@"}'='"$@"'
17790 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
17794 # Support unset when possible.
17795 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
17802 # Work around bugs in pre-3.0 UWIN ksh.
17803 $as_unset ENV MAIL MAILPATH
17810 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
17811 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
17812 LC_TELEPHONE LC_TIME
17814 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
17815 eval $as_var=C; export $as_var
17821 # Required to use basename.
17822 if expr a : '\(a\)' >/dev/null 2>&1; then
17828 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
17829 as_basename=basename
17835 # Name of the executable.
17836 as_me=`$as_basename "$0" ||
17837 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17838 X"$0" : 'X\(//\)$' \| \
17839 X"$0" : 'X\(/\)$' \| \
17840 . : '\(.\)' 2>/dev/null ||
17842 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
17843 /^X\/\(\/\/\)$/{ s//\1/; q; }
17844 /^X\/\(\/\).*/{ s//\1/; q; }
17848 # PATH needs CR, and LINENO needs CR and PATH.
17849 # Avoid depending upon Character Ranges.
17850 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17851 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17852 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17853 as_cr_digits='0123456789'
17854 as_cr_alnum=$as_cr_Letters$as_cr_digits
17856 # The user is always right.
17857 if test "${PATH_SEPARATOR+set}" != set; then
17858 echo "#! /bin/sh" >conf$$.sh
17859 echo "exit 0" >>conf$$.sh
17861 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
17870 as_lineno_1=$LINENO
17871 as_lineno_2=$LINENO
17872 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17873 test "x$as_lineno_1" != "x$as_lineno_2" &&
17874 test "x$as_lineno_3" = "x$as_lineno_2" || {
17875 # Find who we are. Look in the path if we contain no path at all
17878 *[\\/]* ) as_myself=$0 ;;
17879 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17880 for as_dir in $PATH
17883 test -z "$as_dir" && as_dir=.
17884 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17889 # We did not find ourselves, most probably we were run as `sh COMMAND'
17890 # in which case we are not to be found in the path.
17891 if test "x$as_myself" = x; then
17894 if test ! -f "$as_myself"; then
17895 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
17896 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
17897 { (exit 1); exit 1; }; }
17899 case $CONFIG_SHELL in
17901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17902 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
17905 test -z "$as_dir" && as_dir=.
17906 for as_base in sh bash ksh sh5; do
17909 if ("$as_dir/$as_base" -c '
17910 as_lineno_1=$LINENO
17911 as_lineno_2=$LINENO
17912 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
17913 test "x$as_lineno_1" != "x$as_lineno_2" &&
17914 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
17915 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
17916 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
17917 CONFIG_SHELL=$as_dir/$as_base
17918 export CONFIG_SHELL
17919 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
17927 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17928 # uniformly replaced by the line number. The first 'sed' inserts a
17929 # line-number line before each line; the second 'sed' does the real
17930 # work. The second script uses 'N' to pair each line-number line
17931 # with the numbered line, and appends trailing '-' during
17932 # substitution so that $LINENO is not a special case at line end.
17933 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17934 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
17935 sed '=' <$as_myself |
17940 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17943 s,^['$as_cr_digits']*\n,,
17944 ' >$as_me.lineno &&
17945 chmod +x $as_me.lineno ||
17946 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
17947 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
17948 { (exit 1); exit 1; }; }
17950 # Don't try to exec as it changes $[0], causing all sort of problems
17951 # (the dirname of $[0] is not the place where we might find the
17952 # original and so on. Autoconf is especially sensible to this).
17954 # Exit status is that of the last command.
17959 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
17960 *c*,-n*) ECHO_N= ECHO_C='
17962 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
17963 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
17966 if expr a : '\(a\)' >/dev/null 2>&1; then
17972 rm -f conf$$ conf$$.exe conf$$.file
17974 if ln -s conf$$.file conf$$ 2>/dev/null; then
17975 # We could just check for DJGPP; but this test a) works b) is more generic
17976 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
17977 if test -f conf$$.exe; then
17978 # Don't use ln at all; we don't have any links
17983 elif ln conf$$.file conf$$ 2>/dev/null; then
17988 rm -f conf$$ conf$$.exe conf$$.file
17990 if mkdir -p . 2>/dev/null; then
17996 as_executable_p="test -f"
17998 # Sed expression to map a string onto a valid CPP name.
17999 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
18001 # Sed expression to map a string onto a valid variable name.
18002 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
18006 # We need space, tab and new line, in precisely that order.
18016 # Open the log real soon, to keep \$[0] and so on meaningful, and to
18017 # report actual input values of CONFIG_FILES etc. instead of their
18018 # values after options handling. Logging --version etc. is OK.
18022 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18023 ## Running $as_me. ##
18028 This file was extended by $as_me, which was
18029 generated by GNU Autoconf 2.57. Invocation command line was
18031 CONFIG_FILES = $CONFIG_FILES
18032 CONFIG_HEADERS = $CONFIG_HEADERS
18033 CONFIG_LINKS = $CONFIG_LINKS
18034 CONFIG_COMMANDS = $CONFIG_COMMANDS
18038 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
18042 # Files that config.status was made for.
18043 if test -n "$ac_config_files"; then
18044 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
18047 if test -n "$ac_config_headers"; then
18048 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
18051 if test -n "$ac_config_links"; then
18052 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
18055 if test -n "$ac_config_commands"; then
18056 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
18059 cat >>$CONFIG_STATUS <<\_ACEOF
18062 \`$as_me' instantiates files from templates according to the
18063 current configuration.
18065 Usage: $0 [OPTIONS] [FILE]...
18067 -h, --help print this help, then exit
18068 -V, --version print version number, then exit
18069 -q, --quiet do not print progress messages
18070 -d, --debug don't remove temporary files
18071 --recheck update $as_me by reconfiguring in the same conditions
18072 --file=FILE[:TEMPLATE]
18073 instantiate the configuration file FILE
18074 --header=FILE[:TEMPLATE]
18075 instantiate the configuration header FILE
18077 Configuration files:
18080 Configuration headers:
18083 Configuration commands:
18086 Report bugs to <bug-autoconf@gnu.org>."
18089 cat >>$CONFIG_STATUS <<_ACEOF
18092 configured by $0, generated by GNU Autoconf 2.57,
18093 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
18095 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
18096 Free Software Foundation, Inc.
18097 This config.status script is free software; the Free Software Foundation
18098 gives unlimited permission to copy, distribute and modify it."
18103 cat >>$CONFIG_STATUS <<\_ACEOF
18104 # If no file are specified by the user, then we need to provide default
18105 # value. By we need to know if files were specified by the user.
18111 ac_option=`expr "x$1" : 'x\([^=]*\)='`
18112 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
18120 *) # This is not an option, so the user has probably given explicit
18123 ac_need_defaults=false;;
18127 # Handling of the options.
18129 cat >>$CONFIG_STATUS <<\_ACEOF
18130 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18132 --version | --vers* | -V )
18133 echo "$ac_cs_version"; exit 0 ;;
18135 # Conflict between --help and --header
18136 { { echo "$as_me:$LINENO: error: ambiguous option: $1
18137 Try \`$0 --help' for more information." >&5
18138 echo "$as_me: error: ambiguous option: $1
18139 Try \`$0 --help' for more information." >&2;}
18140 { (exit 1); exit 1; }; };;
18141 --help | --hel | -h )
18142 echo "$ac_cs_usage"; exit 0 ;;
18143 --debug | --d* | -d )
18145 --file | --fil | --fi | --f )
18147 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
18148 ac_need_defaults=false;;
18149 --header | --heade | --head | --hea )
18151 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
18152 ac_need_defaults=false;;
18153 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18154 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18157 # This is an error.
18158 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
18159 Try \`$0 --help' for more information." >&5
18160 echo "$as_me: error: unrecognized option: $1
18161 Try \`$0 --help' for more information." >&2;}
18162 { (exit 1); exit 1; }; } ;;
18164 *) ac_config_targets="$ac_config_targets $1" ;;
18170 ac_configure_extra_args=
18172 if $ac_cs_silent; then
18174 ac_configure_extra_args="$ac_configure_extra_args --silent"
18178 cat >>$CONFIG_STATUS <<_ACEOF
18179 if \$ac_cs_recheck; then
18180 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
18181 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18190 cat >>$CONFIG_STATUS <<\_ACEOF
18191 for ac_config_target in $ac_config_targets
18193 case "$ac_config_target" in
18194 # Handling of arguments.
18195 "autoconf/Make.common" ) CONFIG_FILES="$CONFIG_FILES autoconf/Make.common" ;;
18196 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18197 "rescue/Makefile" ) CONFIG_FILES="$CONFIG_FILES rescue/Makefile" ;;
18198 "rescue/linux/Makefile" ) CONFIG_FILES="$CONFIG_FILES rescue/linux/Makefile" ;;
18199 "rescue/freebsd/Makefile" ) CONFIG_FILES="$CONFIG_FILES rescue/freebsd/Makefile" ;;
18200 "rescue/solaris/Makefile" ) CONFIG_FILES="$CONFIG_FILES rescue/solaris/Makefile" ;;
18201 "scripts/startmysql" ) CONFIG_FILES="$CONFIG_FILES scripts/startmysql" ;;
18202 "scripts/stopmysql" ) CONFIG_FILES="$CONFIG_FILES scripts/stopmysql" ;;
18203 "scripts/btraceback" ) CONFIG_FILES="$CONFIG_FILES scripts/btraceback" ;;
18204 "scripts/startit" ) CONFIG_FILES="$CONFIG_FILES scripts/startit" ;;
18205 "scripts/stopit" ) CONFIG_FILES="$CONFIG_FILES scripts/stopit" ;;
18206 "scripts/bconsole" ) CONFIG_FILES="$CONFIG_FILES scripts/bconsole" ;;
18207 "scripts/gconsole" ) CONFIG_FILES="$CONFIG_FILES scripts/gconsole" ;;
18208 "scripts/bacula" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula" ;;
18209 "scripts/fd" ) CONFIG_FILES="$CONFIG_FILES scripts/fd" ;;
18210 "scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
18211 "scripts/logrotate" ) CONFIG_FILES="$CONFIG_FILES scripts/logrotate" ;;
18212 "scripts/bacula.desktop.gnome1" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula.desktop.gnome1" ;;
18213 "scripts/bacula.desktop.gnome2" ) CONFIG_FILES="$CONFIG_FILES scripts/bacula.desktop.gnome2" ;;
18214 "scripts/mtx-changer" ) CONFIG_FILES="$CONFIG_FILES scripts/mtx-changer" ;;
18215 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
18216 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
18217 "src/host.h" ) CONFIG_FILES="$CONFIG_FILES src/host.h" ;;
18218 "src/console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/console/Makefile" ;;
18219 "src/console/bconsole.conf" ) CONFIG_FILES="$CONFIG_FILES src/console/bconsole.conf" ;;
18220 "src/gnome-console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gnome-console/Makefile" ;;
18221 "src/gnome-console/gnome-console.conf" ) CONFIG_FILES="$CONFIG_FILES src/gnome-console/gnome-console.conf" ;;
18222 "src/gnome2-console/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/gnome2-console/Makefile" ;;
18223 "src/gnome2-console/gnome-console.conf" ) CONFIG_FILES="$CONFIG_FILES src/gnome2-console/gnome-console.conf" ;;
18224 "src/tconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/tconsole/Makefile" ;;
18225 "src/dird/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/dird/Makefile" ;;
18226 "src/dird/bacula-dir.conf" ) CONFIG_FILES="$CONFIG_FILES src/dird/bacula-dir.conf" ;;
18227 "src/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;;
18228 "src/stored/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/stored/Makefile" ;;
18229 "src/stored/bacula-sd.conf" ) CONFIG_FILES="$CONFIG_FILES src/stored/bacula-sd.conf" ;;
18230 "src/filed/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/filed/Makefile" ;;
18231 "src/filed/bacula-fd.conf" ) CONFIG_FILES="$CONFIG_FILES src/filed/bacula-fd.conf" ;;
18232 "src/filed/win32/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/filed/win32/Makefile" ;;
18233 "src/cats/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/cats/Makefile" ;;
18234 "src/cats/make_catalog_backup" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_catalog_backup" ;;
18235 "src/cats/delete_catalog_backup" ) CONFIG_FILES="$CONFIG_FILES src/cats/delete_catalog_backup" ;;
18236 "src/cats/make_postgresql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_postgresql_tables" ;;
18237 "src/cats/drop_postgresql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_postgresql_tables" ;;
18238 "src/cats/update_postgresql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/update_postgresql_tables" ;;
18239 "src/cats/create_postgresql_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_postgresql_database" ;;
18240 "src/cats/grant_postgresql_privileges" ) CONFIG_FILES="$CONFIG_FILES src/cats/grant_postgresql_privileges" ;;
18241 "src/cats/make_mysql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_mysql_tables" ;;
18242 "src/cats/drop_mysql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_mysql_tables" ;;
18243 "src/cats/update_mysql_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/update_mysql_tables" ;;
18244 "src/cats/create_mysql_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_mysql_database" ;;
18245 "src/cats/grant_mysql_privileges" ) CONFIG_FILES="$CONFIG_FILES src/cats/grant_mysql_privileges" ;;
18246 "src/cats/make_sqlite_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_sqlite_tables" ;;
18247 "src/cats/drop_sqlite_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_sqlite_tables" ;;
18248 "src/cats/update_sqlite_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/update_sqlite_tables" ;;
18249 "src/cats/create_sqlite_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_sqlite_database" ;;
18250 "src/cats/sqlite" ) CONFIG_FILES="$CONFIG_FILES src/cats/sqlite" ;;
18251 "src/cats/mysql" ) CONFIG_FILES="$CONFIG_FILES src/cats/mysql" ;;
18252 "src/cats/create_bdb_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_bdb_database" ;;
18253 "src/cats/make_bdb_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_bdb_tables" ;;
18254 "src/cats/drop_bdb_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_bdb_tables" ;;
18255 "src/cats/make_bacula_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/make_bacula_tables" ;;
18256 "src/cats/create_bacula_database" ) CONFIG_FILES="$CONFIG_FILES src/cats/create_bacula_database" ;;
18257 "src/cats/grant_bacula_privileges" ) CONFIG_FILES="$CONFIG_FILES src/cats/grant_bacula_privileges" ;;
18258 "src/cats/drop_bacula_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/drop_bacula_tables" ;;
18259 "src/cats/update_bacula_tables" ) CONFIG_FILES="$CONFIG_FILES src/cats/update_bacula_tables" ;;
18260 "src/findlib/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/findlib/Makefile" ;;
18261 "src/tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
18262 "$PFILES" ) CONFIG_FILES="$CONFIG_FILES $PFILES" ;;
18263 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
18264 "src/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/config.h:autoconf/config.h.in" ;;
18265 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18266 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18267 { (exit 1); exit 1; }; };;
18271 # If the user did not use the arguments to specify the items to instantiate,
18272 # then the envvar interface is used. Set only those that are not.
18273 # We use the long form for the default assignment because of an extremely
18274 # bizarre bug on SunOS 4.1.3.
18275 if $ac_need_defaults; then
18276 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18277 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18278 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18281 # Have a temporary directory for convenience. Make it in the build tree
18282 # simply because there is no reason to put it here, and in addition,
18283 # creating and moving files from /tmp can sometimes cause problems.
18284 # Create a temporary directory, and hook for its removal unless debugging.
18287 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
18288 trap '{ (exit 1); exit 1; }' 1 2 13 15
18291 # Create a (secure) tmp directory for tmp files.
18294 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
18295 test -n "$tmp" && test -d "$tmp"
18298 tmp=./confstat$$-$RANDOM
18299 (umask 077 && mkdir $tmp)
18302 echo "$me: cannot create a temporary directory in ." >&2
18303 { (exit 1); exit 1; }
18308 cat >>$CONFIG_STATUS <<_ACEOF
18311 # CONFIG_FILES section.
18314 # No need to generate the scripts if there are no CONFIG_FILES.
18315 # This happens for instance when ./config.status config.h
18316 if test -n "\$CONFIG_FILES"; then
18317 # Protect against being on the right side of a sed subst in config.status.
18318 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
18319 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
18320 s,@SHELL@,$SHELL,;t t
18321 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
18322 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
18323 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
18324 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
18325 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
18326 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
18327 s,@exec_prefix@,$exec_prefix,;t t
18328 s,@prefix@,$prefix,;t t
18329 s,@program_transform_name@,$program_transform_name,;t t
18330 s,@bindir@,$bindir,;t t
18331 s,@sbindir@,$sbindir,;t t
18332 s,@libexecdir@,$libexecdir,;t t
18333 s,@datadir@,$datadir,;t t
18334 s,@sysconfdir@,$sysconfdir,;t t
18335 s,@sharedstatedir@,$sharedstatedir,;t t
18336 s,@localstatedir@,$localstatedir,;t t
18337 s,@libdir@,$libdir,;t t
18338 s,@includedir@,$includedir,;t t
18339 s,@oldincludedir@,$oldincludedir,;t t
18340 s,@infodir@,$infodir,;t t
18341 s,@mandir@,$mandir,;t t
18342 s,@build_alias@,$build_alias,;t t
18343 s,@host_alias@,$host_alias,;t t
18344 s,@target_alias@,$target_alias,;t t
18345 s,@DEFS@,$DEFS,;t t
18346 s,@ECHO_C@,$ECHO_C,;t t
18347 s,@ECHO_N@,$ECHO_N,;t t
18348 s,@ECHO_T@,$ECHO_T,;t t
18349 s,@LIBS@,$LIBS,;t t
18350 s,@BUILD_DIR@,$BUILD_DIR,;t t
18351 s,@TRUEPRG@,$TRUEPRG,;t t
18352 s,@FALSEPRG@,$FALSEPRG,;t t
18353 s,@build@,$build,;t t
18354 s,@build_cpu@,$build_cpu,;t t
18355 s,@build_vendor@,$build_vendor,;t t
18356 s,@build_os@,$build_os,;t t
18357 s,@host@,$host,;t t
18358 s,@host_cpu@,$host_cpu,;t t
18359 s,@host_vendor@,$host_vendor,;t t
18360 s,@host_os@,$host_os,;t t
18361 s,@VERSION@,$VERSION,;t t
18362 s,@DATE@,$DATE,;t t
18363 s,@LSMDATE@,$LSMDATE,;t t
18365 s,@CFLAGS@,$CFLAGS,;t t
18366 s,@LDFLAGS@,$LDFLAGS,;t t
18367 s,@CPPFLAGS@,$CPPFLAGS,;t t
18368 s,@ac_ct_CC@,$ac_ct_CC,;t t
18369 s,@EXEEXT@,$EXEEXT,;t t
18370 s,@OBJEXT@,$OBJEXT,;t t
18372 s,@CXXFLAGS@,$CXXFLAGS,;t t
18373 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
18375 s,@EGREP@,$EGREP,;t t
18376 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
18377 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
18378 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
18379 s,@RANLIB@,$RANLIB,;t t
18380 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
18386 s,@ECHO@,$ECHO,;t t
18390 s,@OPENSSL@,$OPENSSL,;t t
18392 s,@PKGCONFIG@,$PKGCONFIG,;t t
18393 s,@ARFLAGS@,$ARFLAGS,;t t
18394 s,@MAKE_SHELL@,$MAKE_SHELL,;t t
18395 s,@LOCAL_LIBS@,$LOCAL_LIBS,;t t
18396 s,@LOCAL_CFLAGS@,$LOCAL_CFLAGS,;t t
18397 s,@LOCAL_LDFLAGS@,$LOCAL_LDFLAGS,;t t
18398 s,@LOCAL_DEFS@,$LOCAL_DEFS,;t t
18399 s,@HAVE_SUN_OS_TRUE@,$HAVE_SUN_OS_TRUE,;t t
18400 s,@HAVE_SUN_OS_FALSE@,$HAVE_SUN_OS_FALSE,;t t
18401 s,@HAVE_OSF1_OS_TRUE@,$HAVE_OSF1_OS_TRUE,;t t
18402 s,@HAVE_OSF1_OS_FALSE@,$HAVE_OSF1_OS_FALSE,;t t
18403 s,@HAVE_AIX_OS_TRUE@,$HAVE_AIX_OS_TRUE,;t t
18404 s,@HAVE_AIX_OS_FALSE@,$HAVE_AIX_OS_FALSE,;t t
18405 s,@HAVE_HPUX_OS_TRUE@,$HAVE_HPUX_OS_TRUE,;t t
18406 s,@HAVE_HPUX_OS_FALSE@,$HAVE_HPUX_OS_FALSE,;t t
18407 s,@HAVE_LINUX_OS_TRUE@,$HAVE_LINUX_OS_TRUE,;t t
18408 s,@HAVE_LINUX_OS_FALSE@,$HAVE_LINUX_OS_FALSE,;t t
18409 s,@HAVE_FREEBSD_OS_TRUE@,$HAVE_FREEBSD_OS_TRUE,;t t
18410 s,@HAVE_FREEBSD_OS_FALSE@,$HAVE_FREEBSD_OS_FALSE,;t t
18411 s,@HAVE_NETBSD_OS_TRUE@,$HAVE_NETBSD_OS_TRUE,;t t
18412 s,@HAVE_NETBSD_OS_FALSE@,$HAVE_NETBSD_OS_FALSE,;t t
18413 s,@HAVE_OPENBSD_OS_TRUE@,$HAVE_OPENBSD_OS_TRUE,;t t
18414 s,@HAVE_OPENBSD_OS_FALSE@,$HAVE_OPENBSD_OS_FALSE,;t t
18415 s,@HAVE_BSDI_OS_TRUE@,$HAVE_BSDI_OS_TRUE,;t t
18416 s,@HAVE_BSDI_OS_FALSE@,$HAVE_BSDI_OS_FALSE,;t t
18417 s,@HAVE_SGI_OS_TRUE@,$HAVE_SGI_OS_TRUE,;t t
18418 s,@HAVE_SGI_OS_FALSE@,$HAVE_SGI_OS_FALSE,;t t
18419 s,@HAVE_IRIX_OS_TRUE@,$HAVE_IRIX_OS_TRUE,;t t
18420 s,@HAVE_IRIX_OS_FALSE@,$HAVE_IRIX_OS_FALSE,;t t
18421 s,@HAVE_DARWIN_OS_TRUE@,$HAVE_DARWIN_OS_TRUE,;t t
18422 s,@HAVE_DARWIN_OS_FALSE@,$HAVE_DARWIN_OS_FALSE,;t t
18423 s,@INSIDE_GNOME_COMMON_TRUE@,$INSIDE_GNOME_COMMON_TRUE,;t t
18424 s,@INSIDE_GNOME_COMMON_FALSE@,$INSIDE_GNOME_COMMON_FALSE,;t t
18425 s,@MSGFMT@,$MSGFMT,;t t
18426 s,@GNOME_INCLUDEDIR@,$GNOME_INCLUDEDIR,;t t
18427 s,@GNOMEUI_LIBS@,$GNOMEUI_LIBS,;t t
18428 s,@GNOME_LIBDIR@,$GNOME_LIBDIR,;t t
18429 s,@GNOME_LIBS@,$GNOME_LIBS,;t t
18430 s,@GNOMEGNORBA_LIBS@,$GNOMEGNORBA_LIBS,;t t
18431 s,@GTKXMHTML_LIBS@,$GTKXMHTML_LIBS,;t t
18432 s,@ZVT_LIBS@,$ZVT_LIBS,;t t
18433 s,@GNOME_CONFIG@,$GNOME_CONFIG,;t t
18434 s,@ORBIT_CONFIG@,$ORBIT_CONFIG,;t t
18435 s,@ORBIT_IDL@,$ORBIT_IDL,;t t
18436 s,@HAVE_ORBIT_TRUE@,$HAVE_ORBIT_TRUE,;t t
18437 s,@HAVE_ORBIT_FALSE@,$HAVE_ORBIT_FALSE,;t t
18438 s,@ORBIT_CFLAGS@,$ORBIT_CFLAGS,;t t
18439 s,@ORBIT_LIBS@,$ORBIT_LIBS,;t t
18440 s,@HAVE_GNORBA_TRUE@,$HAVE_GNORBA_TRUE,;t t
18441 s,@HAVE_GNORBA_FALSE@,$HAVE_GNORBA_FALSE,;t t
18442 s,@GNORBA_CFLAGS@,$GNORBA_CFLAGS,;t t
18443 s,@GNORBA_LIBS@,$GNORBA_LIBS,;t t
18444 s,@GNOME_APPLETS_LIBS@,$GNOME_APPLETS_LIBS,;t t
18445 s,@GNOME_DOCKLETS_LIBS@,$GNOME_DOCKLETS_LIBS,;t t
18446 s,@GNOME_CAPPLET_LIBS@,$GNOME_CAPPLET_LIBS,;t t
18447 s,@GNOME_DIR@,$GNOME_DIR,;t t
18448 s,@TTOOL_LDFLAGS@,$TTOOL_LDFLAGS,;t t
18449 s,@STATIC_FD@,$STATIC_FD,;t t
18450 s,@STATIC_SD@,$STATIC_SD,;t t
18451 s,@STATIC_DIR@,$STATIC_DIR,;t t
18452 s,@STATIC_CONS@,$STATIC_CONS,;t t
18453 s,@ALL_DIRS@,$ALL_DIRS,;t t
18454 s,@CONS_INC@,$CONS_INC,;t t
18455 s,@CONS_LIBS@,$CONS_LIBS,;t t
18456 s,@CONS_LDFLAGS@,$CONS_LDFLAGS,;t t
18457 s,@READLINE_SRC@,$READLINE_SRC,;t t
18458 s,@working_dir@,$working_dir,;t t
18459 s,@scriptdir@,$scriptdir,;t t
18460 s,@dump_email@,$dump_email,;t t
18461 s,@job_email@,$job_email,;t t
18462 s,@smtp_host@,$smtp_host,;t t
18463 s,@piddir@,$piddir,;t t
18464 s,@subsysdir@,$subsysdir,;t t
18465 s,@baseport@,$baseport,;t t
18466 s,@dir_port@,$dir_port,;t t
18467 s,@fd_port@,$fd_port,;t t
18468 s,@sd_port@,$sd_port,;t t
18469 s,@dir_password@,$dir_password,;t t
18470 s,@fd_password@,$fd_password,;t t
18471 s,@sd_password@,$sd_password,;t t
18472 s,@dir_user@,$dir_user,;t t
18473 s,@dir_group@,$dir_group,;t t
18474 s,@sd_user@,$sd_user,;t t
18475 s,@sd_group@,$sd_group,;t t
18476 s,@fd_user@,$fd_user,;t t
18477 s,@fd_group@,$fd_group,;t t
18478 s,@SQL_LFLAGS@,$SQL_LFLAGS,;t t
18479 s,@SQL_INCLUDE@,$SQL_INCLUDE,;t t
18480 s,@SQL_BINDIR@,$SQL_BINDIR,;t t
18481 s,@cats@,$cats,;t t
18482 s,@DB_NAME@,$DB_NAME,;t t
18483 s,@GETCONF@,$GETCONF,;t t
18484 s,@ac_ct_GETCONF@,$ac_ct_GETCONF,;t t
18485 s,@X_CFLAGS@,$X_CFLAGS,;t t
18486 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
18487 s,@X_LIBS@,$X_LIBS,;t t
18488 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
18489 s,@LIBOBJS@,$LIBOBJS,;t t
18490 s,@ALLOCA@,$ALLOCA,;t t
18491 s,@FDLIBS@,$FDLIBS,;t t
18492 s,@DEBUG@,$DEBUG,;t t
18493 s,@DINCLUDE@,$DINCLUDE,;t t
18494 s,@DLIB@,$DLIB,;t t
18495 s,@DB_LIBS@,$DB_LIBS,;t t
18496 s,@WCFLAGS@,$WCFLAGS,;t t
18497 s,@WLDFLAGS@,$WLDFLAGS,;t t
18498 s,@OBJLIST@,$OBJLIST,;t t
18499 s,@hostname@,$hostname,;t t
18500 s,@TAPEDRIVE@,$TAPEDRIVE,;t t
18501 s,@PSCMD@,$PSCMD,;t t
18502 s,@WIN32@,$WIN32,;t t
18503 s,@DISTNAME@,$DISTNAME,;t t
18504 s,@DISTVER@,$DISTVER,;t t
18505 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
18506 /@MCOMMON@/r $MCOMMON
18512 cat >>$CONFIG_STATUS <<\_ACEOF
18513 # Split the substitutions into bite-sized pieces for seds with
18514 # small command number limits, like on Digital OSF/1 and HP-UX.
18515 ac_max_sed_lines=48
18516 ac_sed_frag=1 # Number of current file.
18517 ac_beg=1 # First line for current file.
18518 ac_end=$ac_max_sed_lines # Line after last line for current file.
18521 while $ac_more_lines; do
18522 if test $ac_beg -gt 1; then
18523 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18525 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
18527 if test ! -s $tmp/subs.frag; then
18528 ac_more_lines=false
18530 # The purpose of the label and of the branching condition is to
18531 # speed up the sed processing (if there are no `@' at all, there
18532 # is no need to browse any of the substitutions).
18533 # These are the two extra sed commands mentioned above.
18535 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
18536 if test -z "$ac_sed_cmds"; then
18537 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
18539 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
18541 ac_sed_frag=`expr $ac_sed_frag + 1`
18543 ac_end=`expr $ac_end + $ac_max_sed_lines`
18546 if test -z "$ac_sed_cmds"; then
18549 fi # test -n "$CONFIG_FILES"
18552 cat >>$CONFIG_STATUS <<\_ACEOF
18553 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
18554 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18556 - | *:- | *:-:* ) # input from stdin
18558 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18559 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18560 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18561 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18562 * ) ac_file_in=$ac_file.in ;;
18565 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
18566 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
18567 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18568 X"$ac_file" : 'X\(//\)[^/]' \| \
18569 X"$ac_file" : 'X\(//\)$' \| \
18570 X"$ac_file" : 'X\(/\)' \| \
18571 . : '\(.\)' 2>/dev/null ||
18573 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18574 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18575 /^X\(\/\/\)$/{ s//\1/; q; }
18576 /^X\(\/\).*/{ s//\1/; q; }
18578 { if $as_mkdir_p; then
18583 while test ! -d "$as_dir"; do
18584 as_dirs="$as_dir $as_dirs"
18585 as_dir=`(dirname "$as_dir") 2>/dev/null ||
18586 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18587 X"$as_dir" : 'X\(//\)[^/]' \| \
18588 X"$as_dir" : 'X\(//\)$' \| \
18589 X"$as_dir" : 'X\(/\)' \| \
18590 . : '\(.\)' 2>/dev/null ||
18592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18593 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18594 /^X\(\/\/\)$/{ s//\1/; q; }
18595 /^X\(\/\).*/{ s//\1/; q; }
18598 test ! -n "$as_dirs" || mkdir $as_dirs
18599 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18600 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18601 { (exit 1); exit 1; }; }; }
18605 if test "$ac_dir" != .; then
18606 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18607 # A "../" for each directory in $ac_dir_suffix.
18608 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18610 ac_dir_suffix= ac_top_builddir=
18614 .) # No --srcdir option. We are building in place.
18616 if test -z "$ac_top_builddir"; then
18619 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
18621 [\\/]* | ?:[\\/]* ) # Absolute path.
18622 ac_srcdir=$srcdir$ac_dir_suffix;
18623 ac_top_srcdir=$srcdir ;;
18624 *) # Relative path.
18625 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
18626 ac_top_srcdir=$ac_top_builddir$srcdir ;;
18628 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
18630 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
18631 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
18632 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
18633 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
18637 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18638 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
18641 if test x"$ac_file" != x-; then
18642 { echo "$as_me:$LINENO: creating $ac_file" >&5
18643 echo "$as_me: creating $ac_file" >&6;}
18646 # Let's still pretend it is `configure' which instantiates (i.e., don't
18647 # use $as_me), people would be surprised to read:
18648 # /* config.h. Generated by config.status. */
18649 if test x"$ac_file" = x-; then
18652 configure_input="$ac_file. "
18654 configure_input=$configure_input"Generated from `echo $ac_file_in |
18655 sed 's,.*/,,'` by configure."
18657 # First look for the input files in the build tree, otherwise in the
18659 ac_file_inputs=`IFS=:
18660 for f in $ac_file_in; do
18662 -) echo $tmp/stdin ;;
18664 # Absolute (can't be DOS-style, as IFS=:)
18665 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18666 echo "$as_me: error: cannot find input file: $f" >&2;}
18667 { (exit 1); exit 1; }; }
18670 if test -f "$f"; then
18673 elif test -f "$srcdir/$f"; then
18678 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18679 echo "$as_me: error: cannot find input file: $f" >&2;}
18680 { (exit 1); exit 1; }; }
18683 done` || { (exit 1); exit 1; }
18685 cat >>$CONFIG_STATUS <<_ACEOF
18689 cat >>$CONFIG_STATUS <<\_ACEOF
18691 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18692 s,@configure_input@,$configure_input,;t t
18693 s,@srcdir@,$ac_srcdir,;t t
18694 s,@abs_srcdir@,$ac_abs_srcdir,;t t
18695 s,@top_srcdir@,$ac_top_srcdir,;t t
18696 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
18697 s,@builddir@,$ac_builddir,;t t
18698 s,@abs_builddir@,$ac_abs_builddir,;t t
18699 s,@top_builddir@,$ac_top_builddir,;t t
18700 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
18701 s,@INSTALL@,$ac_INSTALL,;t t
18702 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
18704 if test x"$ac_file" != x-; then
18705 mv $tmp/out $ac_file
18713 cat >>$CONFIG_STATUS <<\_ACEOF
18716 # CONFIG_HEADER section.
18719 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
18720 # NAME is the cpp macro being defined and VALUE is the value it is being given.
18722 # ac_d sets the value in "#define NAME VALUE" lines.
18723 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
18724 ac_dB='[ ].*$,\1#\2'
18727 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
18728 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
18729 ac_uB='$,\1#\2define\3'
18733 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
18734 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
18736 - | *:- | *:-:* ) # input from stdin
18738 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18739 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18740 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
18741 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
18742 * ) ac_file_in=$ac_file.in ;;
18745 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
18746 echo "$as_me: creating $ac_file" >&6;}
18748 # First look for the input files in the build tree, otherwise in the
18750 ac_file_inputs=`IFS=:
18751 for f in $ac_file_in; do
18753 -) echo $tmp/stdin ;;
18755 # Absolute (can't be DOS-style, as IFS=:)
18756 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18757 echo "$as_me: error: cannot find input file: $f" >&2;}
18758 { (exit 1); exit 1; }; }
18761 if test -f "$f"; then
18764 elif test -f "$srcdir/$f"; then
18769 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
18770 echo "$as_me: error: cannot find input file: $f" >&2;}
18771 { (exit 1); exit 1; }; }
18774 done` || { (exit 1); exit 1; }
18775 # Remove the trailing spaces.
18776 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
18780 # Transform confdefs.h into two sed scripts, `conftest.defines' and
18781 # `conftest.undefs', that substitutes the proper values into
18782 # config.h.in to produce config.h. The first handles `#define'
18783 # templates, and the second `#undef' templates.
18784 # And first: Protect against being on the right side of a sed subst in
18785 # config.status. Protect against being in an unquoted here document
18786 # in config.status.
18787 rm -f conftest.defines conftest.undefs
18788 # Using a here document instead of a string reduces the quoting nightmare.
18789 # Putting comments in sed scripts is not portable.
18791 # `end' is used to avoid that the second main sed command (meant for
18792 # 0-ary CPP macros) applies to n-ary macro definitions.
18793 # See the Autoconf documentation for `clear'.
18794 cat >confdef2sed.sed <<\_ACEOF
18799 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
18801 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
18804 # If some macros were called several times there might be several times
18805 # the same #defines, which is useless. Nevertheless, we may not want to
18806 # sort them, since we want the *last* AC-DEFINE to be honored.
18807 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
18808 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
18809 rm -f confdef2sed.sed
18811 # This sed command replaces #undef with comments. This is necessary, for
18812 # example, in the case of _POSIX_SOURCE, which is predefined and required
18813 # on some systems where configure will not decide to define it.
18814 cat >>conftest.undefs <<\_ACEOF
18815 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
18818 # Break up conftest.defines because some shells have a limit on the size
18819 # of here documents, and old seds have small limits too (100 cmds).
18820 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
18821 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
18822 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
18823 echo ' :' >>$CONFIG_STATUS
18824 rm -f conftest.tail
18825 while grep . conftest.defines >/dev/null
18827 # Write a limited-size here document to $tmp/defines.sed.
18828 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
18829 # Speed up: don't consider the non `#define' lines.
18830 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
18831 # Work around the forget-to-reset-the-flag bug.
18832 echo 't clr' >>$CONFIG_STATUS
18833 echo ': clr' >>$CONFIG_STATUS
18834 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
18836 sed -f $tmp/defines.sed $tmp/in >$tmp/out
18838 mv $tmp/out $tmp/in
18840 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
18841 rm -f conftest.defines
18842 mv conftest.tail conftest.defines
18844 rm -f conftest.defines
18845 echo ' fi # grep' >>$CONFIG_STATUS
18846 echo >>$CONFIG_STATUS
18848 # Break up conftest.undefs because some shells have a limit on the size
18849 # of here documents, and old seds have small limits too (100 cmds).
18850 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
18851 rm -f conftest.tail
18852 while grep . conftest.undefs >/dev/null
18854 # Write a limited-size here document to $tmp/undefs.sed.
18855 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
18856 # Speed up: don't consider the non `#undef'
18857 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
18858 # Work around the forget-to-reset-the-flag bug.
18859 echo 't clr' >>$CONFIG_STATUS
18860 echo ': clr' >>$CONFIG_STATUS
18861 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
18863 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
18865 mv $tmp/out $tmp/in
18867 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
18868 rm -f conftest.undefs
18869 mv conftest.tail conftest.undefs
18871 rm -f conftest.undefs
18873 cat >>$CONFIG_STATUS <<\_ACEOF
18874 # Let's still pretend it is `configure' which instantiates (i.e., don't
18875 # use $as_me), people would be surprised to read:
18876 # /* config.h. Generated by config.status. */
18877 if test x"$ac_file" = x-; then
18878 echo "/* Generated by configure. */" >$tmp/config.h
18880 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
18882 cat $tmp/in >>$tmp/config.h
18884 if test x"$ac_file" != x-; then
18885 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
18886 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18887 echo "$as_me: $ac_file is unchanged" >&6;}
18889 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
18890 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18891 X"$ac_file" : 'X\(//\)[^/]' \| \
18892 X"$ac_file" : 'X\(//\)$' \| \
18893 X"$ac_file" : 'X\(/\)' \| \
18894 . : '\(.\)' 2>/dev/null ||
18896 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18897 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18898 /^X\(\/\/\)$/{ s//\1/; q; }
18899 /^X\(\/\).*/{ s//\1/; q; }
18901 { if $as_mkdir_p; then
18906 while test ! -d "$as_dir"; do
18907 as_dirs="$as_dir $as_dirs"
18908 as_dir=`(dirname "$as_dir") 2>/dev/null ||
18909 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18910 X"$as_dir" : 'X\(//\)[^/]' \| \
18911 X"$as_dir" : 'X\(//\)$' \| \
18912 X"$as_dir" : 'X\(/\)' \| \
18913 . : '\(.\)' 2>/dev/null ||
18915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18916 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18917 /^X\(\/\/\)$/{ s//\1/; q; }
18918 /^X\(\/\).*/{ s//\1/; q; }
18921 test ! -n "$as_dirs" || mkdir $as_dirs
18922 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
18923 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
18924 { (exit 1); exit 1; }; }; }
18927 mv $tmp/config.h $ac_file
18931 rm -f $tmp/config.h
18935 cat >>$CONFIG_STATUS <<\_ACEOF
18938 # CONFIG_COMMANDS section.
18940 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
18941 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
18942 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
18943 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
18944 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18945 X"$ac_dest" : 'X\(//\)[^/]' \| \
18946 X"$ac_dest" : 'X\(//\)$' \| \
18947 X"$ac_dest" : 'X\(/\)' \| \
18948 . : '\(.\)' 2>/dev/null ||
18950 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
18951 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
18952 /^X\(\/\/\)$/{ s//\1/; q; }
18953 /^X\(\/\).*/{ s//\1/; q; }
18957 if test "$ac_dir" != .; then
18958 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
18959 # A "../" for each directory in $ac_dir_suffix.
18960 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
18962 ac_dir_suffix= ac_top_builddir=
18966 .) # No --srcdir option. We are building in place.
18968 if test -z "$ac_top_builddir"; then
18971 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
18973 [\\/]* | ?:[\\/]* ) # Absolute path.
18974 ac_srcdir=$srcdir$ac_dir_suffix;
18975 ac_top_srcdir=$srcdir ;;
18976 *) # Relative path.
18977 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
18978 ac_top_srcdir=$ac_top_builddir$srcdir ;;
18980 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
18982 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
18983 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
18984 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
18985 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
18988 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
18989 echo "$as_me: executing $ac_dest commands" >&6;}
18991 default ) (echo "Doing make of dependencies"; make depend;)
18997 cat >>$CONFIG_STATUS <<\_ACEOF
18999 { (exit 0); exit 0; }
19001 chmod +x $CONFIG_STATUS
19002 ac_clean_files=$ac_clean_files_save
19005 # configure is writing to config.log, and then calls config.status.
19006 # config.status does its own redirection, appending to config.log.
19007 # Unfortunately, on DOS this fails, as config.log is still kept open
19008 # by configure, so config.status won't be able to write to it; its
19009 # output is simply discarded. So we exec the FD to /dev/null,
19010 # effectively closing config.log, so it can be properly (re)opened and
19011 # appended to by config.status. When coming back to configure, we
19012 # need to make the FD available again.
19013 if test "$no_create" != yes; then
19015 ac_config_status_args=
19016 test "$silent" = yes &&
19017 ac_config_status_args="$ac_config_status_args --quiet"
19019 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19021 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19022 # would make configure fail if this is the last instruction.
19023 $ac_cs_success || { (exit 1); exit 1; }
19028 chmod 755 startmysql stopmysql bacula startit stopit btraceback mtx-changer
19029 chmod 755 bconsole gconsole mtx-changer
19031 chmod 755 src/cats/make_mysql_tables src/cats/drop_mysql_tables
19032 chmod 755 src/cats/make_postgresql_tables src/cats/drop_postgresql_tables
19033 chmod 755 src/cats/make_test_tables src/cats/drop_test_tables
19034 chmod 755 src/cats/create_postgresql_database
19035 chmod 755 src/cats/create_mysql_database
19036 chmod 755 src/cats/make_catalog_backup src/cats/delete_catalog_backup
19037 chmod 755 src/cats/grant_postgresql_privileges
19038 chmod 755 src/cats/grant_mysql_privileges
19039 chmod 755 src/cats/make_sqlite_tables src/cats/drop_sqlite_tables
19040 chmod 755 src/cats/update_sqlite_tables
19041 chmod 755 src/cats/make_bacula_tables src/cats/drop_bacula_tables
19042 chmod 755 src/cats/create_bacula_database
19043 chmod 755 src/cats/grant_bacula_privileges
19044 chmod 755 src/cats/update_mysql_tables
19045 chmod 755 src/cats/update_bacula_tables src/cats/update_mysql_tables
19046 chmod 755 src/cats/create_sqlite_database
19047 chmod 755 src/cats/sqlite
19048 chmod 755 src/cats/make_bdb_tables src/cats/drop_bdb_tables
19049 chmod 755 src/cats/create_bdb_database
19051 if test "x$ac_cv_sys_largefile_CFLAGS" != "xno" ; then
19052 largefile_support="yes"
19056 # A whole lot of hand springs to get the compiler version.
19057 # This is because gcc changed the output in version 3.0
19059 CCVERSION=`${CC} --version | tr '\n' ' ' | cut -f 3 -d ' '`
19060 if test "x${CCVERSION}" = "x" ; then
19061 CCVERSION=`${CC} --version | tr '\n' ' ' | cut -f 1 -d ' '`
19063 CXXVERSION=`${CXX} --version | tr '\n' ' ' | cut -f 3 -d ' '`
19064 if test x"${CXXVERSION}" = x ; then
19065 CXXVERSION=`${CXX} --version | tr '\n' ' ' | cut -f 1 -d ' '`
19068 if test "x${subsysdir}" = "x${sbindir}" ; then
19071 echo "You have set --sbindir and --with-subsys-dir"
19072 echo " both equal to: ${subsysdir} "
19073 echo " This is not permitted. Please reconfigure."
19074 echo "Aborting configuration ..."
19081 Configuration on `date`:
19083 Host: $host -- ${DISTNAME} ${DISTVER}
19084 Bacula version: ${VERSION} (${DATE})
19085 Source code location: ${srcdir}
19086 Install binaries: ${sbindir}
19087 Install config files: ${sysconfdir}
19088 Scripts directory: ${scriptdir}
19089 Working directory: ${working_dir}
19090 PID directory: ${piddir}
19091 Subsys directory: ${subsysdir}
19092 C Compiler: ${CC} ${CCVERSION}
19093 C++ Compiler: ${CXX} ${CXXVERSION}
19094 Compiler flags: ${WCFLAGS} ${CFLAGS}
19095 Linker flags: ${WLDFLAGS} ${LDFLAGS}
19097 Statically Linked Tools: ${support_static_tools}
19098 Statically Linked FD: ${support_static_fd}
19099 Statically Linked SD: ${support_static_sd}
19100 Statically Linked DIR: ${support_static_dir}
19101 Statically Linked CONS: ${support_static_cons}
19102 Database type: ${db_name}
19103 Database lib: ${DB_LIBS}
19105 Job Output Email: ${job_email}
19106 Traceback Email: ${dump_email}
19107 SMTP Host Address: ${smtp_host}
19109 Director Port: ${dir_port}
19110 File daemon Port: ${fd_port}
19111 Storage daemon Port: ${sd_port}
19113 Director User: ${dir_user}
19114 Director Group: ${dir_group}
19115 Storage Daemon User: ${dir_user}
19116 Storage Daemon Group: ${dir_group}
19117 File Daemon User: ${dir_user}
19118 File Daemon Group: ${dir_group}
19120 SQL binaries Directory ${SQL_BINDIR}
19122 Large file support: $largefile_support
19123 readline support: ${got_readline} ${PRTREADLINE_SRC}
19124 TCP Wrappers support: ${TCPW_MSG}
19125 ZLIB support: ${have_zlib}
19126 enable-smartalloc: ${support_smartalloc}
19127 enable-gnome: ${support_gnome}
19128 client-only: ${build_client_only}
19135 # cweb support: ${got_cweb} ${CWEB_SRC}
19136 # gmp support: ${got_gmp} ${GMP_SRC}