2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="patchlevel.h"
275 ac_subdirs_all="$ac_subdirs_all util/et"
276 # Factoring default headers for most tests.
277 ac_includes_default="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os SO_LDFLAGS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB SET_MAKE mrbindir subdirs COM_ERR_SUBDIR COMPILE_ET REG_SVR_DEFS REG_SVR_INCLUDES REG_SVR_LIBS RSAREF_CPPFLAGS RSAREF_LIBS RSAREF_SUBDIRS RSAREF_LIBDEP PRO_C PRO_C_DEFS PRO_C_INCLUDES PRO_C_OPTS SQL_LIBS SVRSUBDIRS JAVA_CPPFLAGS WEBMOIRA_SUBDIRS LDAP_CPPFLAGS LDAP_LIBS WINAD_SUBDIRS AFS_CPPFLAGS AFS_PRO_C_INCLUDES AFS_LIBS AFS_DIR AFS_SUBDIRS AFS_SYNCDIR READLINE_CPPFLAGS READLINE_LIBS CURSES_CPPFLAGS CURSES_LIBS CURSES_SUBDIRS CPP EGREP KLIBS MR_LIBDEP LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name=s,x,x,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir='${exec_prefix}/bin'
342 sbindir='${exec_prefix}/sbin'
343 libexecdir='${exec_prefix}/libexec'
344 datadir='${prefix}/share'
345 sysconfdir='${prefix}/etc'
346 sharedstatedir='${prefix}/com'
347 localstatedir='${prefix}/var'
348 libdir='${exec_prefix}/lib'
349 includedir='${prefix}/include'
350 oldincludedir='/usr/include'
351 infodir='${prefix}/info'
352 mandir='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
375 -build | --build | --buil | --bui | --bu)
376 ac_prev=build_alias ;;
377 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
378 build_alias=$ac_optarg ;;
380 -cache-file | --cache-file | --cache-fil | --cache-fi \
381 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
382 ac_prev=cache_file ;;
383 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
384 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
385 cache_file=$ac_optarg ;;
388 cache_file=config.cache ;;
390 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 datadir=$ac_optarg ;;
396 -disable-* | --disable-*)
397 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* | --enable-*)
406 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
419 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
420 | --exec | --exe | --ex)
421 ac_prev=exec_prefix ;;
422 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
423 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
424 | --exec=* | --exe=* | --ex=*)
425 exec_prefix=$ac_optarg ;;
427 -gas | --gas | --ga | --g)
428 # Obsolete; use --with-gas.
431 -help | --help | --hel | --he | -h)
433 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
434 ac_init_help=recursive ;;
435 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
436 ac_init_help=short ;;
438 -host | --host | --hos | --ho)
439 ac_prev=host_alias ;;
440 -host=* | --host=* | --hos=* | --ho=*)
441 host_alias=$ac_optarg ;;
443 -includedir | --includedir | --includedi | --included | --include \
444 | --includ | --inclu | --incl | --inc)
445 ac_prev=includedir ;;
446 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
447 | --includ=* | --inclu=* | --incl=* | --inc=*)
448 includedir=$ac_optarg ;;
450 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
453 infodir=$ac_optarg ;;
455 -libdir | --libdir | --libdi | --libd)
457 -libdir=* | --libdir=* | --libdi=* | --libd=*)
460 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
461 | --libexe | --libex | --libe)
462 ac_prev=libexecdir ;;
463 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
464 | --libexe=* | --libex=* | --libe=*)
465 libexecdir=$ac_optarg ;;
467 -localstatedir | --localstatedir | --localstatedi | --localstated \
468 | --localstate | --localstat | --localsta | --localst \
469 | --locals | --local | --loca | --loc | --lo)
470 ac_prev=localstatedir ;;
471 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
472 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
473 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
474 localstatedir=$ac_optarg ;;
476 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 # Obsolete; use --without-fp.
485 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
486 | --no-cr | --no-c | -n)
489 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
490 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
493 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
494 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
495 | --oldin | --oldi | --old | --ol | --o)
496 ac_prev=oldincludedir ;;
497 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
498 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
499 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
500 oldincludedir=$ac_optarg ;;
502 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
507 -program-prefix | --program-prefix | --program-prefi | --program-pref \
508 | --program-pre | --program-pr | --program-p)
509 ac_prev=program_prefix ;;
510 -program-prefix=* | --program-prefix=* | --program-prefi=* \
511 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
512 program_prefix=$ac_optarg ;;
514 -program-suffix | --program-suffix | --program-suffi | --program-suff \
515 | --program-suf | --program-su | --program-s)
516 ac_prev=program_suffix ;;
517 -program-suffix=* | --program-suffix=* | --program-suffi=* \
518 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
519 program_suffix=$ac_optarg ;;
521 -program-transform-name | --program-transform-name \
522 | --program-transform-nam | --program-transform-na \
523 | --program-transform-n | --program-transform- \
524 | --program-transform | --program-transfor \
525 | --program-transfo | --program-transf \
526 | --program-trans | --program-tran \
527 | --progr-tra | --program-tr | --program-t)
528 ac_prev=program_transform_name ;;
529 -program-transform-name=* | --program-transform-name=* \
530 | --program-transform-nam=* | --program-transform-na=* \
531 | --program-transform-n=* | --program-transform-=* \
532 | --program-transform=* | --program-transfor=* \
533 | --program-transfo=* | --program-transf=* \
534 | --program-trans=* | --program-tran=* \
535 | --progr-tra=* | --program-tr=* | --program-t=*)
536 program_transform_name=$ac_optarg ;;
538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
539 | -silent | --silent | --silen | --sile | --sil)
542 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 sbindir=$ac_optarg ;;
548 -sharedstatedir | --sharedstatedir | --sharedstatedi \
549 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
550 | --sharedst | --shareds | --shared | --share | --shar \
552 ac_prev=sharedstatedir ;;
553 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
554 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
555 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 sharedstatedir=$ac_optarg ;;
559 -site | --site | --sit)
561 -site=* | --site=* | --sit=*)
564 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
569 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
570 | --syscon | --sysco | --sysc | --sys | --sy)
571 ac_prev=sysconfdir ;;
572 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
573 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
574 sysconfdir=$ac_optarg ;;
576 -target | --target | --targe | --targ | --tar | --ta | --t)
577 ac_prev=target_alias ;;
578 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
579 target_alias=$ac_optarg ;;
581 -v | -verbose | --verbose | --verbos | --verbo | --verb)
584 -version | --version | --versio | --versi | --vers | -V)
588 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* | --without-*)
601 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614 | --x-incl | --x-inc | --x-in | --x-i)
615 ac_prev=x_includes ;;
616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618 x_includes=$ac_optarg ;;
620 -x-libraries | --x-libraries | --x-librarie | --x-librari \
621 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622 ac_prev=x_libraries ;;
623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625 x_libraries=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var in exec_prefix prefix
662 eval ac_val=$`echo $ac_var`
664 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val=$`echo $ac_var`
676 [\\/$]* | ?:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x; then
691 if test "x$build_alias" = x; then
692 cross_compiling=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
703 test "$silent" = yes && exec 6>/dev/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set=${build_alias+set}
743 ac_env_build_alias_value=$build_alias
744 ac_cv_env_build_alias_set=${build_alias+set}
745 ac_cv_env_build_alias_value=$build_alias
746 ac_env_host_alias_set=${host_alias+set}
747 ac_env_host_alias_value=$host_alias
748 ac_cv_env_host_alias_set=${host_alias+set}
749 ac_cv_env_host_alias_value=$host_alias
750 ac_env_target_alias_set=${target_alias+set}
751 ac_env_target_alias_value=$target_alias
752 ac_cv_env_target_alias_set=${target_alias+set}
753 ac_cv_env_target_alias_value=$target_alias
754 ac_env_CC_set=${CC+set}
756 ac_cv_env_CC_set=${CC+set}
757 ac_cv_env_CC_value=$CC
758 ac_env_CFLAGS_set=${CFLAGS+set}
759 ac_env_CFLAGS_value=$CFLAGS
760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value=$CFLAGS
762 ac_env_LDFLAGS_set=${LDFLAGS+set}
763 ac_env_LDFLAGS_value=$LDFLAGS
764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value=$LDFLAGS
766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
770 ac_env_CPP_set=${CPP+set}
771 ac_env_CPP_value=$CPP
772 ac_cv_env_CPP_set=${CPP+set}
773 ac_cv_env_CPP_value=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures this package to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --build=BUILD configure for building on BUILD [guessed]
837 --host=HOST cross-compile to build programs to run on HOST [BUILD]
841 if test -n "$ac_init_help"; then
846 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
847 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
848 --enable-athena Enable Athena-specific policy decisions
851 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
852 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
853 --with-com_err=PREFIX Specify location of com_err
854 --with-krb4=PREFIX Specify location of krb4
855 --with-krb5=PREFIX Specify location of krb5
856 --with-hesiod=PREFIX Specify location of Hesiod
857 --with-zephyr=PREFIX Specify location of Zephyr
858 --with-rsaref=PREFIX Specify location of RSAREF
859 --with-oracle=PREFIX Specify location of Oracle (for server)
860 --with-java=PREFIX Specify location of Java libs and headers
861 --with-ldap=PREFIX Specify location of LDAP libs (for server)
862 --with-afs=PREFIX Specify location of AFS libs (for server)
863 --with-readline=PREFIX Specify location of GNU readline
865 Some influential environment variables:
866 CC C compiler command
867 CFLAGS C compiler flags
868 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
869 nonstandard directory <lib dir>
870 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
871 headers in a nonstandard directory <include dir>
874 Use these variables to override the choices made by `configure' or to help
875 it to find libraries and programs with nonstandard names/locations.
880 if test "$ac_init_help" = "recursive"; then
881 # If there are subdirs, report their specific --help.
883 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
884 test -d $ac_dir || continue
887 if test "$ac_dir" != .; then
888 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
889 # A "../" for each directory in $ac_dir_suffix.
890 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
892 ac_dir_suffix= ac_top_builddir=
896 .) # No --srcdir option. We are building in place.
898 if test -z "$ac_top_builddir"; then
901 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
903 [\\/]* | ?:[\\/]* ) # Absolute path.
904 ac_srcdir=$srcdir$ac_dir_suffix;
905 ac_top_srcdir=$srcdir ;;
907 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
908 ac_top_srcdir=$ac_top_builddir$srcdir ;;
911 # Do not use `cd foo && pwd` to compute absolute paths, because
912 # the directories may not exist.
914 .) ac_abs_builddir="$ac_dir";;
917 .) ac_abs_builddir=`pwd`;;
918 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
919 *) ac_abs_builddir=`pwd`/"$ac_dir";;
922 case $ac_abs_builddir in
923 .) ac_abs_top_builddir=${ac_top_builddir}.;;
925 case ${ac_top_builddir}. in
926 .) ac_abs_top_builddir=$ac_abs_builddir;;
927 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
928 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
931 case $ac_abs_builddir in
932 .) ac_abs_srcdir=$ac_srcdir;;
935 .) ac_abs_srcdir=$ac_abs_builddir;;
936 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
937 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
940 case $ac_abs_builddir in
941 .) ac_abs_top_srcdir=$ac_top_srcdir;;
943 case $ac_top_srcdir in
944 .) ac_abs_top_srcdir=$ac_abs_builddir;;
945 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
946 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
951 # Check for guested configure; otherwise get Cygnus style configure.
952 if test -f $ac_srcdir/configure.gnu; then
954 $SHELL $ac_srcdir/configure.gnu --help=recursive
955 elif test -f $ac_srcdir/configure; then
957 $SHELL $ac_srcdir/configure --help=recursive
958 elif test -f $ac_srcdir/configure.ac ||
959 test -f $ac_srcdir/configure.in; then
963 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
969 test -n "$ac_init_help" && exit 0
970 if $ac_init_version; then
973 Copyright (C) 2003 Free Software Foundation, Inc.
974 This configure script is free software; the Free Software Foundation
975 gives unlimited permission to copy, distribute and modify it.
981 This file contains any messages produced by compilers while
982 running configure, to aid debugging if configure makes a mistake.
984 It was created by $as_me, which was
985 generated by GNU Autoconf 2.59. Invocation command line was
996 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
997 uname -m = `(uname -m) 2>/dev/null || echo unknown`
998 uname -r = `(uname -r) 2>/dev/null || echo unknown`
999 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1000 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1002 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1003 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1005 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1006 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1007 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1008 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1009 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1010 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1011 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1019 test -z "$as_dir" && as_dir=.
1020 echo "PATH: $as_dir"
1035 # Keep a trace of the command line.
1036 # Strip out --no-create and --no-recursion so they do not pile up.
1037 # Strip out --silent because we don't want to record it for future runs.
1038 # Also quote any args containing shell meta-characters.
1039 # Make two passes to allow for proper duplicate-argument suppression.
1044 ac_must_keep_next=false
1050 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1051 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1052 | -silent | --silent | --silen | --sile | --sil)
1054 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1055 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1058 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1060 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1061 if test $ac_must_keep_next = true; then
1062 ac_must_keep_next=false # Got value, back to normal.
1065 *=* | --config-cache | -C | -disable-* | --disable-* \
1066 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1067 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1068 | -with-* | --with-* | -without-* | --without-* | --x)
1069 case "$ac_configure_args0 " in
1070 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1073 -* ) ac_must_keep_next=true ;;
1076 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1077 # Get rid of the leading space.
1083 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1084 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1086 # When interrupted or exit'd, cleanup temporary files, and complete
1087 # config.log. We remove comments because anyway the quotes in there
1088 # would cause problems or look ugly.
1089 # WARNING: Be sure not to use single quotes in there, as some shells,
1090 # such as our DU 5.0 friend, will then `close' the trap.
1091 trap 'exit_status=$?
1092 # Save into config.log some information that might help in debugging.
1097 ## ---------------- ##
1098 ## Cache variables. ##
1099 ## ---------------- ##
1102 # The following way of writing the cache mishandles newlines in values,
1105 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1108 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1109 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1113 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1120 ## ----------------- ##
1121 ## Output variables. ##
1122 ## ----------------- ##
1125 for ac_var in $ac_subst_vars
1127 eval ac_val=$`echo $ac_var`
1128 echo "$ac_var='"'"'$ac_val'"'"'"
1132 if test -n "$ac_subst_files"; then
1139 for ac_var in $ac_subst_files
1141 eval ac_val=$`echo $ac_var`
1142 echo "$ac_var='"'"'$ac_val'"'"'"
1147 if test -s confdefs.h; then
1154 sed "/^$/d" confdefs.h | sort
1157 test "$ac_signal" != 0 &&
1158 echo "$as_me: caught signal $ac_signal"
1159 echo "$as_me: exit $exit_status"
1161 rm -f core *.core &&
1162 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1165 for ac_signal in 1 2 13 15; do
1166 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1170 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1171 rm -rf conftest* confdefs.h
1172 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1175 # Predefined preprocessor variables.
1177 cat >>confdefs.h <<_ACEOF
1178 #define PACKAGE_NAME "$PACKAGE_NAME"
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_STRING "$PACKAGE_STRING"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1202 # Let the site file select an alternate cache file if it wants to.
1203 # Prefer explicitly selected file to automatically selected ones.
1204 if test -z "$CONFIG_SITE"; then
1205 if test "x$prefix" != xNONE; then
1206 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1208 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1211 for ac_site_file in $CONFIG_SITE; do
1212 if test -r "$ac_site_file"; then
1213 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1214 echo "$as_me: loading site script $ac_site_file" >&6;}
1215 sed 's/^/| /' "$ac_site_file" >&5
1220 if test -r "$cache_file"; then
1221 # Some versions of bash will fail to source /dev/null (special
1222 # files actually), so we avoid doing that.
1223 if test -f "$cache_file"; then
1224 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1225 echo "$as_me: loading cache $cache_file" >&6;}
1227 [\\/]* | ?:[\\/]* ) . $cache_file;;
1228 *) . ./$cache_file;;
1232 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1233 echo "$as_me: creating cache $cache_file" >&6;}
1237 # Check that the precious variables saved in the cache have kept the same
1239 ac_cache_corrupted=false
1240 for ac_var in `(set) 2>&1 |
1241 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1242 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1243 eval ac_new_set=\$ac_env_${ac_var}_set
1244 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1245 eval ac_new_val="\$ac_env_${ac_var}_value"
1246 case $ac_old_set,$ac_new_set in
1248 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1249 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1250 ac_cache_corrupted=: ;;
1252 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1253 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1254 ac_cache_corrupted=: ;;
1257 if test "x$ac_old_val" != "x$ac_new_val"; then
1258 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1259 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1260 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1261 echo "$as_me: former value: $ac_old_val" >&2;}
1262 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1263 echo "$as_me: current value: $ac_new_val" >&2;}
1264 ac_cache_corrupted=:
1267 # Pass precious variables to config.status.
1268 if test "$ac_new_set" = set; then
1270 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1271 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1272 *) ac_arg=$ac_var=$ac_new_val ;;
1274 case " $ac_configure_args " in
1275 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1276 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1280 if $ac_cache_corrupted; then
1281 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1282 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1283 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1284 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1285 { (exit 1); exit 1; }; }
1289 ac_cpp='$CPP $CPPFLAGS'
1290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1316 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1317 if test -f $ac_dir/install-sh; then
1319 ac_install_sh="$ac_aux_dir/install-sh -c"
1321 elif test -f $ac_dir/install.sh; then
1323 ac_install_sh="$ac_aux_dir/install.sh -c"
1325 elif test -f $ac_dir/shtool; then
1327 ac_install_sh="$ac_aux_dir/shtool install -c"
1331 if test -z "$ac_aux_dir"; then
1332 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1333 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1334 { (exit 1); exit 1; }; }
1336 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1337 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1338 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1340 # Make sure we can run config.sub.
1341 $ac_config_sub sun4 >/dev/null 2>&1 ||
1342 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1343 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1344 { (exit 1); exit 1; }; }
1346 echo "$as_me:$LINENO: checking build system type" >&5
1347 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1348 if test "${ac_cv_build+set}" = set; then
1349 echo $ECHO_N "(cached) $ECHO_C" >&6
1351 ac_cv_build_alias=$build_alias
1352 test -z "$ac_cv_build_alias" &&
1353 ac_cv_build_alias=`$ac_config_guess`
1354 test -z "$ac_cv_build_alias" &&
1355 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1356 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1357 { (exit 1); exit 1; }; }
1358 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1359 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1360 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1361 { (exit 1); exit 1; }; }
1364 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1365 echo "${ECHO_T}$ac_cv_build" >&6
1367 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1368 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1369 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1372 echo "$as_me:$LINENO: checking host system type" >&5
1373 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1374 if test "${ac_cv_host+set}" = set; then
1375 echo $ECHO_N "(cached) $ECHO_C" >&6
1377 ac_cv_host_alias=$host_alias
1378 test -z "$ac_cv_host_alias" &&
1379 ac_cv_host_alias=$ac_cv_build_alias
1380 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1381 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1382 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1383 { (exit 1); exit 1; }; }
1386 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1387 echo "${ECHO_T}$ac_cv_host" >&6
1389 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1390 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1391 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1394 # SO_LDFLAGS setting below is a great big ick.
1395 # But it beats sucking in libtool for one small part of the source tree.
1403 SO_LDFLAGS="-shared"
1407 SO_LDFLAGS="-shared"
1419 ac_cpp='$CPP $CPPFLAGS'
1420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1423 if test -n "$ac_tool_prefix"; then
1424 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1425 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1426 echo "$as_me:$LINENO: checking for $ac_word" >&5
1427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1428 if test "${ac_cv_prog_CC+set}" = set; then
1429 echo $ECHO_N "(cached) $ECHO_C" >&6
1431 if test -n "$CC"; then
1432 ac_cv_prog_CC="$CC" # Let the user override the test.
1434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1438 test -z "$as_dir" && as_dir=.
1439 for ac_exec_ext in '' $ac_executable_extensions; do
1440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1441 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1451 if test -n "$CC"; then
1452 echo "$as_me:$LINENO: result: $CC" >&5
1453 echo "${ECHO_T}$CC" >&6
1455 echo "$as_me:$LINENO: result: no" >&5
1456 echo "${ECHO_T}no" >&6
1460 if test -z "$ac_cv_prog_CC"; then
1462 # Extract the first word of "gcc", so it can be a program name with args.
1463 set dummy gcc; ac_word=$2
1464 echo "$as_me:$LINENO: checking for $ac_word" >&5
1465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1466 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1467 echo $ECHO_N "(cached) $ECHO_C" >&6
1469 if test -n "$ac_ct_CC"; then
1470 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1476 test -z "$as_dir" && as_dir=.
1477 for ac_exec_ext in '' $ac_executable_extensions; do
1478 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1479 ac_cv_prog_ac_ct_CC="gcc"
1480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1488 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1489 if test -n "$ac_ct_CC"; then
1490 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1491 echo "${ECHO_T}$ac_ct_CC" >&6
1493 echo "$as_me:$LINENO: result: no" >&5
1494 echo "${ECHO_T}no" >&6
1502 if test -z "$CC"; then
1503 if test -n "$ac_tool_prefix"; then
1504 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1505 set dummy ${ac_tool_prefix}cc; ac_word=$2
1506 echo "$as_me:$LINENO: checking for $ac_word" >&5
1507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1508 if test "${ac_cv_prog_CC+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 if test -n "$CC"; then
1512 ac_cv_prog_CC="$CC" # Let the user override the test.
1514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1518 test -z "$as_dir" && as_dir=.
1519 for ac_exec_ext in '' $ac_executable_extensions; do
1520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1521 ac_cv_prog_CC="${ac_tool_prefix}cc"
1522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1531 if test -n "$CC"; then
1532 echo "$as_me:$LINENO: result: $CC" >&5
1533 echo "${ECHO_T}$CC" >&6
1535 echo "$as_me:$LINENO: result: no" >&5
1536 echo "${ECHO_T}no" >&6
1540 if test -z "$ac_cv_prog_CC"; then
1542 # Extract the first word of "cc", so it can be a program name with args.
1543 set dummy cc; ac_word=$2
1544 echo "$as_me:$LINENO: checking for $ac_word" >&5
1545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1546 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1547 echo $ECHO_N "(cached) $ECHO_C" >&6
1549 if test -n "$ac_ct_CC"; then
1550 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1556 test -z "$as_dir" && as_dir=.
1557 for ac_exec_ext in '' $ac_executable_extensions; do
1558 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1559 ac_cv_prog_ac_ct_CC="cc"
1560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1568 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1569 if test -n "$ac_ct_CC"; then
1570 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1571 echo "${ECHO_T}$ac_ct_CC" >&6
1573 echo "$as_me:$LINENO: result: no" >&5
1574 echo "${ECHO_T}no" >&6
1583 if test -z "$CC"; then
1584 # Extract the first word of "cc", so it can be a program name with args.
1585 set dummy cc; ac_word=$2
1586 echo "$as_me:$LINENO: checking for $ac_word" >&5
1587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1588 if test "${ac_cv_prog_CC+set}" = set; then
1589 echo $ECHO_N "(cached) $ECHO_C" >&6
1591 if test -n "$CC"; then
1592 ac_cv_prog_CC="$CC" # Let the user override the test.
1595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1599 test -z "$as_dir" && as_dir=.
1600 for ac_exec_ext in '' $ac_executable_extensions; do
1601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1602 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1603 ac_prog_rejected=yes
1607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1613 if test $ac_prog_rejected = yes; then
1614 # We found a bogon in the path, so make sure we never use it.
1615 set dummy $ac_cv_prog_CC
1617 if test $# != 0; then
1618 # We chose a different compiler from the bogus one.
1619 # However, it has the same basename, so the bogon will be chosen
1620 # first if we set CC to just the basename; use the full file name.
1622 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1628 if test -n "$CC"; then
1629 echo "$as_me:$LINENO: result: $CC" >&5
1630 echo "${ECHO_T}$CC" >&6
1632 echo "$as_me:$LINENO: result: no" >&5
1633 echo "${ECHO_T}no" >&6
1637 if test -z "$CC"; then
1638 if test -n "$ac_tool_prefix"; then
1641 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1642 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1643 echo "$as_me:$LINENO: checking for $ac_word" >&5
1644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1645 if test "${ac_cv_prog_CC+set}" = set; then
1646 echo $ECHO_N "(cached) $ECHO_C" >&6
1648 if test -n "$CC"; then
1649 ac_cv_prog_CC="$CC" # Let the user override the test.
1651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1655 test -z "$as_dir" && as_dir=.
1656 for ac_exec_ext in '' $ac_executable_extensions; do
1657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1658 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1668 if test -n "$CC"; then
1669 echo "$as_me:$LINENO: result: $CC" >&5
1670 echo "${ECHO_T}$CC" >&6
1672 echo "$as_me:$LINENO: result: no" >&5
1673 echo "${ECHO_T}no" >&6
1676 test -n "$CC" && break
1679 if test -z "$CC"; then
1683 # Extract the first word of "$ac_prog", so it can be a program name with args.
1684 set dummy $ac_prog; ac_word=$2
1685 echo "$as_me:$LINENO: checking for $ac_word" >&5
1686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1687 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1688 echo $ECHO_N "(cached) $ECHO_C" >&6
1690 if test -n "$ac_ct_CC"; then
1691 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1697 test -z "$as_dir" && as_dir=.
1698 for ac_exec_ext in '' $ac_executable_extensions; do
1699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1700 ac_cv_prog_ac_ct_CC="$ac_prog"
1701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1709 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1710 if test -n "$ac_ct_CC"; then
1711 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1712 echo "${ECHO_T}$ac_ct_CC" >&6
1714 echo "$as_me:$LINENO: result: no" >&5
1715 echo "${ECHO_T}no" >&6
1718 test -n "$ac_ct_CC" && break
1727 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1728 See \`config.log' for more details." >&5
1729 echo "$as_me: error: no acceptable C compiler found in \$PATH
1730 See \`config.log' for more details." >&2;}
1731 { (exit 1); exit 1; }; }
1733 # Provide some information about the compiler.
1734 echo "$as_me:$LINENO:" \
1735 "checking for C compiler version" >&5
1736 ac_compiler=`set X $ac_compile; echo $2`
1737 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1738 (eval $ac_compiler --version </dev/null >&5) 2>&5
1740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1741 (exit $ac_status); }
1742 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1743 (eval $ac_compiler -v </dev/null >&5) 2>&5
1745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1746 (exit $ac_status); }
1747 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1748 (eval $ac_compiler -V </dev/null >&5) 2>&5
1750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1751 (exit $ac_status); }
1753 cat >conftest.$ac_ext <<_ACEOF
1756 cat confdefs.h >>conftest.$ac_ext
1757 cat >>conftest.$ac_ext <<_ACEOF
1758 /* end confdefs.h. */
1768 ac_clean_files_save=$ac_clean_files
1769 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1770 # Try to create an executable without -o first, disregard a.out.
1771 # It will help us diagnose broken compilers, and finding out an intuition
1773 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1774 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1775 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1776 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1777 (eval $ac_link_default) 2>&5
1779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1780 (exit $ac_status); }; then
1781 # Find the output, starting from the most likely. This scheme is
1782 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1785 # Be careful to initialize this variable, since it used to be cached.
1786 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1788 # b.out is created by i960 compilers.
1789 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1791 test -f "$ac_file" || continue
1793 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1796 # This is the source file.
1799 # We found the default executable, but exeext='' is most
1803 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1804 # FIXME: I believe we export ac_cv_exeext for Libtool,
1805 # but it would be cool to find out if it's true. Does anybody
1806 # maintain Libtool? --akim.
1814 echo "$as_me: failed program was:" >&5
1815 sed 's/^/| /' conftest.$ac_ext >&5
1817 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1818 See \`config.log' for more details." >&5
1819 echo "$as_me: error: C compiler cannot create executables
1820 See \`config.log' for more details." >&2;}
1821 { (exit 77); exit 77; }; }
1824 ac_exeext=$ac_cv_exeext
1825 echo "$as_me:$LINENO: result: $ac_file" >&5
1826 echo "${ECHO_T}$ac_file" >&6
1828 # Check the compiler produces executables we can run. If not, either
1829 # the compiler is broken, or we cross compile.
1830 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1831 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1832 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1833 # If not cross compiling, check that we can run a simple program.
1834 if test "$cross_compiling" != yes; then
1835 if { ac_try='./$ac_file'
1836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1840 (exit $ac_status); }; }; then
1843 if test "$cross_compiling" = maybe; then
1846 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1847 If you meant to cross compile, use \`--host'.
1848 See \`config.log' for more details." >&5
1849 echo "$as_me: error: cannot run C compiled programs.
1850 If you meant to cross compile, use \`--host'.
1851 See \`config.log' for more details." >&2;}
1852 { (exit 1); exit 1; }; }
1856 echo "$as_me:$LINENO: result: yes" >&5
1857 echo "${ECHO_T}yes" >&6
1859 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1860 ac_clean_files=$ac_clean_files_save
1861 # Check the compiler produces executables we can run. If not, either
1862 # the compiler is broken, or we cross compile.
1863 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1864 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1865 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1866 echo "${ECHO_T}$cross_compiling" >&6
1868 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1869 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1871 (eval $ac_link) 2>&5
1873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1874 (exit $ac_status); }; then
1875 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1876 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1877 # work properly (i.e., refer to `conftest.exe'), while it won't with
1879 for ac_file in conftest.exe conftest conftest.*; do
1880 test -f "$ac_file" || continue
1882 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1883 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1890 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1891 See \`config.log' for more details." >&5
1892 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1893 See \`config.log' for more details." >&2;}
1894 { (exit 1); exit 1; }; }
1897 rm -f conftest$ac_cv_exeext
1898 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1899 echo "${ECHO_T}$ac_cv_exeext" >&6
1901 rm -f conftest.$ac_ext
1902 EXEEXT=$ac_cv_exeext
1904 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1905 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1906 if test "${ac_cv_objext+set}" = set; then
1907 echo $ECHO_N "(cached) $ECHO_C" >&6
1909 cat >conftest.$ac_ext <<_ACEOF
1912 cat confdefs.h >>conftest.$ac_ext
1913 cat >>conftest.$ac_ext <<_ACEOF
1914 /* end confdefs.h. */
1924 rm -f conftest.o conftest.obj
1925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1926 (eval $ac_compile) 2>&5
1928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1929 (exit $ac_status); }; then
1930 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1933 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1938 echo "$as_me: failed program was:" >&5
1939 sed 's/^/| /' conftest.$ac_ext >&5
1941 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1942 See \`config.log' for more details." >&5
1943 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1944 See \`config.log' for more details." >&2;}
1945 { (exit 1); exit 1; }; }
1948 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1950 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1951 echo "${ECHO_T}$ac_cv_objext" >&6
1952 OBJEXT=$ac_cv_objext
1954 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1955 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1956 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1957 echo $ECHO_N "(cached) $ECHO_C" >&6
1959 cat >conftest.$ac_ext <<_ACEOF
1962 cat confdefs.h >>conftest.$ac_ext
1963 cat >>conftest.$ac_ext <<_ACEOF
1964 /* end confdefs.h. */
1977 rm -f conftest.$ac_objext
1978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1979 (eval $ac_compile) 2>conftest.er1
1981 grep -v '^ *+' conftest.er1 >conftest.err
1983 cat conftest.err >&5
1984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1985 (exit $ac_status); } &&
1986 { ac_try='test -z "$ac_c_werror_flag"
1987 || test ! -s conftest.err'
1988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1992 (exit $ac_status); }; } &&
1993 { ac_try='test -s conftest.$ac_objext'
1994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); }; }; then
2001 echo "$as_me: failed program was:" >&5
2002 sed 's/^/| /' conftest.$ac_ext >&5
2006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2007 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2010 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2011 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2012 GCC=`test $ac_compiler_gnu = yes && echo yes`
2013 ac_test_CFLAGS=${CFLAGS+set}
2014 ac_save_CFLAGS=$CFLAGS
2016 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2017 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2018 if test "${ac_cv_prog_cc_g+set}" = set; then
2019 echo $ECHO_N "(cached) $ECHO_C" >&6
2021 cat >conftest.$ac_ext <<_ACEOF
2024 cat confdefs.h >>conftest.$ac_ext
2025 cat >>conftest.$ac_ext <<_ACEOF
2026 /* end confdefs.h. */
2036 rm -f conftest.$ac_objext
2037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2038 (eval $ac_compile) 2>conftest.er1
2040 grep -v '^ *+' conftest.er1 >conftest.err
2042 cat conftest.err >&5
2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2044 (exit $ac_status); } &&
2045 { ac_try='test -z "$ac_c_werror_flag"
2046 || test ! -s conftest.err'
2047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051 (exit $ac_status); }; } &&
2052 { ac_try='test -s conftest.$ac_objext'
2053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2057 (exit $ac_status); }; }; then
2060 echo "$as_me: failed program was:" >&5
2061 sed 's/^/| /' conftest.$ac_ext >&5
2065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2067 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2068 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2069 if test "$ac_test_CFLAGS" = set; then
2070 CFLAGS=$ac_save_CFLAGS
2071 elif test $ac_cv_prog_cc_g = yes; then
2072 if test "$GCC" = yes; then
2078 if test "$GCC" = yes; then
2084 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2085 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2086 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2087 echo $ECHO_N "(cached) $ECHO_C" >&6
2089 ac_cv_prog_cc_stdc=no
2091 cat >conftest.$ac_ext <<_ACEOF
2094 cat confdefs.h >>conftest.$ac_ext
2095 cat >>conftest.$ac_ext <<_ACEOF
2096 /* end confdefs.h. */
2099 #include <sys/types.h>
2100 #include <sys/stat.h>
2101 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2102 struct buf { int x; };
2103 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2104 static char *e (p, i)
2110 static char *f (char * (*g) (char **, int), char **p, ...)
2115 s = g (p, va_arg (v,int));
2120 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2121 function prototypes and stuff, but not '\xHH' hex character constants.
2122 These don't provoke an error unfortunately, instead are silently treated
2123 as 'x'. The following induces an error, until -std1 is added to get
2124 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2125 array size at least. It's necessary to write '\x00'==0 to get something
2126 that's true only with -std1. */
2127 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2129 int test (int i, double x);
2130 struct s1 {int (*f) (int a);};
2131 struct s2 {int (*f) (double a);};
2132 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2138 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2143 # Don't try gcc -ansi; that turns off useful extensions and
2144 # breaks some systems' header files.
2145 # AIX -qlanglvl=ansi
2146 # Ultrix and OSF/1 -std1
2147 # HP-UX 10.20 and later -Ae
2148 # HP-UX older versions -Aa -D_HPUX_SOURCE
2149 # SVR4 -Xc -D__EXTENSIONS__
2150 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2152 CC="$ac_save_CC $ac_arg"
2153 rm -f conftest.$ac_objext
2154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2155 (eval $ac_compile) 2>conftest.er1
2157 grep -v '^ *+' conftest.er1 >conftest.err
2159 cat conftest.err >&5
2160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2161 (exit $ac_status); } &&
2162 { ac_try='test -z "$ac_c_werror_flag"
2163 || test ! -s conftest.err'
2164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2168 (exit $ac_status); }; } &&
2169 { ac_try='test -s conftest.$ac_objext'
2170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 (exit $ac_status); }; }; then
2175 ac_cv_prog_cc_stdc=$ac_arg
2178 echo "$as_me: failed program was:" >&5
2179 sed 's/^/| /' conftest.$ac_ext >&5
2182 rm -f conftest.err conftest.$ac_objext
2184 rm -f conftest.$ac_ext conftest.$ac_objext
2189 case "x$ac_cv_prog_cc_stdc" in
2191 echo "$as_me:$LINENO: result: none needed" >&5
2192 echo "${ECHO_T}none needed" >&6 ;;
2194 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2195 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2196 CC="$CC $ac_cv_prog_cc_stdc" ;;
2199 # Some people use a C++ compiler to compile C. Since we use `exit',
2200 # in C++ we need to declare it. In case someone uses the same compiler
2201 # for both compiling C and C++ we need to have the C++ compiler decide
2202 # the declaration of exit, since it's the most demanding environment.
2203 cat >conftest.$ac_ext <<_ACEOF
2208 rm -f conftest.$ac_objext
2209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2210 (eval $ac_compile) 2>conftest.er1
2212 grep -v '^ *+' conftest.er1 >conftest.err
2214 cat conftest.err >&5
2215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); } &&
2217 { ac_try='test -z "$ac_c_werror_flag"
2218 || test ! -s conftest.err'
2219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }; } &&
2224 { ac_try='test -s conftest.$ac_objext'
2225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2229 (exit $ac_status); }; }; then
2230 for ac_declaration in \
2232 'extern "C" void std::exit (int) throw (); using std::exit;' \
2233 'extern "C" void std::exit (int); using std::exit;' \
2234 'extern "C" void exit (int) throw ();' \
2235 'extern "C" void exit (int);' \
2238 cat >conftest.$ac_ext <<_ACEOF
2241 cat confdefs.h >>conftest.$ac_ext
2242 cat >>conftest.$ac_ext <<_ACEOF
2243 /* end confdefs.h. */
2254 rm -f conftest.$ac_objext
2255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2256 (eval $ac_compile) 2>conftest.er1
2258 grep -v '^ *+' conftest.er1 >conftest.err
2260 cat conftest.err >&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); } &&
2263 { ac_try='test -z "$ac_c_werror_flag"
2264 || test ! -s conftest.err'
2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); }; } &&
2270 { ac_try='test -s conftest.$ac_objext'
2271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); }; }; then
2278 echo "$as_me: failed program was:" >&5
2279 sed 's/^/| /' conftest.$ac_ext >&5
2283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2284 cat >conftest.$ac_ext <<_ACEOF
2287 cat confdefs.h >>conftest.$ac_ext
2288 cat >>conftest.$ac_ext <<_ACEOF
2289 /* end confdefs.h. */
2299 rm -f conftest.$ac_objext
2300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2301 (eval $ac_compile) 2>conftest.er1
2303 grep -v '^ *+' conftest.er1 >conftest.err
2305 cat conftest.err >&5
2306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2307 (exit $ac_status); } &&
2308 { ac_try='test -z "$ac_c_werror_flag"
2309 || test ! -s conftest.err'
2310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2314 (exit $ac_status); }; } &&
2315 { ac_try='test -s conftest.$ac_objext'
2316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 (exit $ac_status); }; }; then
2323 echo "$as_me: failed program was:" >&5
2324 sed 's/^/| /' conftest.$ac_ext >&5
2327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2330 if test -n "$ac_declaration"; then
2331 echo '#ifdef __cplusplus' >>confdefs.h
2332 echo $ac_declaration >>confdefs.h
2333 echo '#endif' >>confdefs.h
2337 echo "$as_me: failed program was:" >&5
2338 sed 's/^/| /' conftest.$ac_ext >&5
2341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2343 ac_cpp='$CPP $CPPFLAGS'
2344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2348 # Find a good install program. We prefer a C program (faster),
2349 # so one script is as good as another. But avoid the broken or
2350 # incompatible versions:
2351 # SysV /etc/install, /usr/sbin/install
2352 # SunOS /usr/etc/install
2353 # IRIX /sbin/install
2355 # AmigaOS /C/install, which installs bootblocks on floppy discs
2356 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2357 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2358 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2359 # OS/2's system install, which has a completely different semantic
2360 # ./install, which can be erroneously created by make from ./install.sh.
2361 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2362 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2363 if test -z "$INSTALL"; then
2364 if test "${ac_cv_path_install+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2371 test -z "$as_dir" && as_dir=.
2372 # Account for people who put trailing slashes in PATH elements.
2374 ./ | .// | /cC/* | \
2375 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2376 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2379 # OSF1 and SCO ODT 3.0 have their own names for install.
2380 # Don't use installbsd from OSF since it installs stuff as root
2382 for ac_prog in ginstall scoinst install; do
2383 for ac_exec_ext in '' $ac_executable_extensions; do
2384 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2385 if test $ac_prog = install &&
2386 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2387 # AIX install. It has an incompatible calling convention.
2389 elif test $ac_prog = install &&
2390 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2391 # program-specific install script used by HP pwplus--don't use.
2394 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2406 if test "${ac_cv_path_install+set}" = set; then
2407 INSTALL=$ac_cv_path_install
2409 # As a last resort, use the slow shell script. We don't cache a
2410 # path for INSTALL within a source directory, because that will
2411 # break other packages using the cache if that directory is
2412 # removed, or if the path is relative.
2413 INSTALL=$ac_install_sh
2416 echo "$as_me:$LINENO: result: $INSTALL" >&5
2417 echo "${ECHO_T}$INSTALL" >&6
2419 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2420 # It thinks the first close brace ends the variable substitution.
2421 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2423 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2425 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2427 if test -n "$ac_tool_prefix"; then
2428 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2429 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2430 echo "$as_me:$LINENO: checking for $ac_word" >&5
2431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2432 if test "${ac_cv_prog_RANLIB+set}" = set; then
2433 echo $ECHO_N "(cached) $ECHO_C" >&6
2435 if test -n "$RANLIB"; then
2436 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2442 test -z "$as_dir" && as_dir=.
2443 for ac_exec_ext in '' $ac_executable_extensions; do
2444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2445 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2454 RANLIB=$ac_cv_prog_RANLIB
2455 if test -n "$RANLIB"; then
2456 echo "$as_me:$LINENO: result: $RANLIB" >&5
2457 echo "${ECHO_T}$RANLIB" >&6
2459 echo "$as_me:$LINENO: result: no" >&5
2460 echo "${ECHO_T}no" >&6
2464 if test -z "$ac_cv_prog_RANLIB"; then
2465 ac_ct_RANLIB=$RANLIB
2466 # Extract the first word of "ranlib", so it can be a program name with args.
2467 set dummy ranlib; ac_word=$2
2468 echo "$as_me:$LINENO: checking for $ac_word" >&5
2469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2470 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 if test -n "$ac_ct_RANLIB"; then
2474 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2480 test -z "$as_dir" && as_dir=.
2481 for ac_exec_ext in '' $ac_executable_extensions; do
2482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2483 ac_cv_prog_ac_ct_RANLIB="ranlib"
2484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2493 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2494 if test -n "$ac_ct_RANLIB"; then
2495 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2496 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2498 echo "$as_me:$LINENO: result: no" >&5
2499 echo "${ECHO_T}no" >&6
2502 RANLIB=$ac_ct_RANLIB
2504 RANLIB="$ac_cv_prog_RANLIB"
2507 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2508 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2509 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2510 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 cat >conftest.make <<\_ACEOF
2515 @echo 'ac_maketemp="$(MAKE)"'
2517 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2518 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2519 if test -n "$ac_maketemp"; then
2520 eval ac_cv_prog_make_${ac_make}_set=yes
2522 eval ac_cv_prog_make_${ac_make}_set=no
2526 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2527 echo "$as_me:$LINENO: result: yes" >&5
2528 echo "${ECHO_T}yes" >&6
2531 echo "$as_me:$LINENO: result: no" >&5
2532 echo "${ECHO_T}no" >&6
2533 SET_MAKE="MAKE=${MAKE-make}"
2537 if test "$athena" = true; then
2539 prefix=/afs/.athena.mit.edu/system/moira
2540 bindir=$prefix/arch/$ATHENA_SYS/bin
2545 *-I/usr/athena/include*) ;;
2546 *) CPPFLAGS=-I/usr/athena/include\ $CPPFLAGS ;;
2550 case $PRO_C_INCLUDES in
2551 *INCLUDE=/usr/athena/include*) ;;
2552 *) PRO_C_INCLUDES=INCLUDE=/usr/athena/include\ $PRO_C_INCLUDES ;;
2558 *-L/usr/athena/lib*) ;;
2559 *) LIBPATH=-L/usr/athena/lib\ $LIBPATH ;;
2564 # We currently just don't support changing this
2568 # Athena-local policy decisions
2569 echo "$as_me:$LINENO: checking for Athena" >&5
2570 echo $ECHO_N "checking for Athena... $ECHO_C" >&6
2571 # Check whether --enable-athena or --disable-athena was given.
2572 if test "${enable_athena+set}" = set; then
2573 enableval="$enable_athena"
2576 if test "$athena" = true; then
2582 echo "$as_me:$LINENO: result: $enableval" >&5
2583 echo "${ECHO_T}$enableval" >&6
2584 if test "$enableval" = yes; then
2586 cat >>confdefs.h <<\_ACEOF
2593 *) PRO_C_DEFS=DEFINE=ATHENA\ $PRO_C_DEFS ;;
2599 # Networking libraries
2600 { echo "$as_me:$LINENO: checking network libraries......" >&5
2601 echo "$as_me: checking network libraries......" >&6;}
2602 echo "$as_me:$LINENO: checking for gethostbyname" >&5
2603 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
2604 if test "${ac_cv_func_gethostbyname+set}" = set; then
2605 echo $ECHO_N "(cached) $ECHO_C" >&6
2607 cat >conftest.$ac_ext <<_ACEOF
2610 cat confdefs.h >>conftest.$ac_ext
2611 cat >>conftest.$ac_ext <<_ACEOF
2612 /* end confdefs.h. */
2613 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
2614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2615 #define gethostbyname innocuous_gethostbyname
2617 /* System header to define __stub macros and hopefully few prototypes,
2618 which can conflict with char gethostbyname (); below.
2619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2620 <limits.h> exists even on freestanding compilers. */
2623 # include <limits.h>
2625 # include <assert.h>
2628 #undef gethostbyname
2630 /* Override any gcc2 internal prototype to avoid an error. */
2635 /* We use char because int might match the return type of a gcc2
2636 builtin and then its argument prototype would still apply. */
2637 char gethostbyname ();
2638 /* The GNU C library defines this for functions which it implements
2639 to always fail with ENOSYS. Some functions are actually named
2640 something starting with __ and the normal name is an alias. */
2641 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
2644 char (*f) () = gethostbyname;
2653 return f != gethostbyname;
2658 rm -f conftest.$ac_objext conftest$ac_exeext
2659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2660 (eval $ac_link) 2>conftest.er1
2662 grep -v '^ *+' conftest.er1 >conftest.err
2664 cat conftest.err >&5
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); } &&
2667 { ac_try='test -z "$ac_c_werror_flag"
2668 || test ! -s conftest.err'
2669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2673 (exit $ac_status); }; } &&
2674 { ac_try='test -s conftest$ac_exeext'
2675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); }; }; then
2680 ac_cv_func_gethostbyname=yes
2682 echo "$as_me: failed program was:" >&5
2683 sed 's/^/| /' conftest.$ac_ext >&5
2685 ac_cv_func_gethostbyname=no
2687 rm -f conftest.err conftest.$ac_objext \
2688 conftest$ac_exeext conftest.$ac_ext
2690 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
2691 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
2692 if test $ac_cv_func_gethostbyname = yes; then
2696 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
2697 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
2698 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
2699 echo $ECHO_N "(cached) $ECHO_C" >&6
2701 ac_check_lib_save_LIBS=$LIBS
2703 cat >conftest.$ac_ext <<_ACEOF
2706 cat confdefs.h >>conftest.$ac_ext
2707 cat >>conftest.$ac_ext <<_ACEOF
2708 /* end confdefs.h. */
2710 /* Override any gcc2 internal prototype to avoid an error. */
2714 /* We use char because int might match the return type of a gcc2
2715 builtin and then its argument prototype would still apply. */
2716 char gethostbyname ();
2725 rm -f conftest.$ac_objext conftest$ac_exeext
2726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2727 (eval $ac_link) 2>conftest.er1
2729 grep -v '^ *+' conftest.er1 >conftest.err
2731 cat conftest.err >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); } &&
2734 { ac_try='test -z "$ac_c_werror_flag"
2735 || test ! -s conftest.err'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; } &&
2741 { ac_try='test -s conftest$ac_exeext'
2742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); }; }; then
2747 ac_cv_lib_nsl_gethostbyname=yes
2749 echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 ac_cv_lib_nsl_gethostbyname=no
2754 rm -f conftest.err conftest.$ac_objext \
2755 conftest$ac_exeext conftest.$ac_ext
2756 LIBS=$ac_check_lib_save_LIBS
2758 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
2759 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
2760 if test $ac_cv_lib_nsl_gethostbyname = yes; then
2761 cat >>confdefs.h <<_ACEOF
2762 #define HAVE_LIBNSL 1
2769 echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5
2770 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6
2771 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then
2772 echo $ECHO_N "(cached) $ECHO_C" >&6
2774 ac_check_lib_save_LIBS=$LIBS
2775 LIBS="-lresolv $LIBS"
2777 cat >conftest.$ac_ext <<_ACEOF
2780 cat confdefs.h >>conftest.$ac_ext
2781 cat >>conftest.$ac_ext <<_ACEOF
2782 /* end confdefs.h. */
2784 /* Override any gcc2 internal prototype to avoid an error. */
2788 /* We use char because int might match the return type of a gcc2
2789 builtin and then its argument prototype would still apply. */
2790 char gethostbyname ();
2799 rm -f conftest.$ac_objext conftest$ac_exeext
2800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2801 (eval $ac_link) 2>conftest.er1
2803 grep -v '^ *+' conftest.er1 >conftest.err
2805 cat conftest.err >&5
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); } &&
2808 { ac_try='test -z "$ac_c_werror_flag"
2809 || test ! -s conftest.err'
2810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814 (exit $ac_status); }; } &&
2815 { ac_try='test -s conftest$ac_exeext'
2816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); }; }; then
2821 ac_cv_lib_resolv_gethostbyname=yes
2823 echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.$ac_ext >&5
2826 ac_cv_lib_resolv_gethostbyname=no
2828 rm -f conftest.err conftest.$ac_objext \
2829 conftest$ac_exeext conftest.$ac_ext
2830 LIBS=$ac_check_lib_save_LIBS
2832 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5
2833 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6
2834 if test $ac_cv_lib_resolv_gethostbyname = yes; then
2835 cat >>confdefs.h <<_ACEOF
2836 #define HAVE_LIBRESOLV 1
2839 LIBS="-lresolv $LIBS"
2847 echo "$as_me:$LINENO: checking for socket" >&5
2848 echo $ECHO_N "checking for socket... $ECHO_C" >&6
2849 if test "${ac_cv_func_socket+set}" = set; then
2850 echo $ECHO_N "(cached) $ECHO_C" >&6
2852 cat >conftest.$ac_ext <<_ACEOF
2855 cat confdefs.h >>conftest.$ac_ext
2856 cat >>conftest.$ac_ext <<_ACEOF
2857 /* end confdefs.h. */
2858 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
2859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2860 #define socket innocuous_socket
2862 /* System header to define __stub macros and hopefully few prototypes,
2863 which can conflict with char socket (); below.
2864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2865 <limits.h> exists even on freestanding compilers. */
2868 # include <limits.h>
2870 # include <assert.h>
2875 /* Override any gcc2 internal prototype to avoid an error. */
2880 /* We use char because int might match the return type of a gcc2
2881 builtin and then its argument prototype would still apply. */
2883 /* The GNU C library defines this for functions which it implements
2884 to always fail with ENOSYS. Some functions are actually named
2885 something starting with __ and the normal name is an alias. */
2886 #if defined (__stub_socket) || defined (__stub___socket)
2889 char (*f) () = socket;
2903 rm -f conftest.$ac_objext conftest$ac_exeext
2904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2905 (eval $ac_link) 2>conftest.er1
2907 grep -v '^ *+' conftest.er1 >conftest.err
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } &&
2912 { ac_try='test -z "$ac_c_werror_flag"
2913 || test ! -s conftest.err'
2914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); }; } &&
2919 { ac_try='test -s conftest$ac_exeext'
2920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; }; then
2925 ac_cv_func_socket=yes
2927 echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.$ac_ext >&5
2930 ac_cv_func_socket=no
2932 rm -f conftest.err conftest.$ac_objext \
2933 conftest$ac_exeext conftest.$ac_ext
2935 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
2936 echo "${ECHO_T}$ac_cv_func_socket" >&6
2937 if test $ac_cv_func_socket = yes; then
2941 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
2942 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
2943 if test "${ac_cv_lib_socket_socket+set}" = set; then
2944 echo $ECHO_N "(cached) $ECHO_C" >&6
2946 ac_check_lib_save_LIBS=$LIBS
2947 LIBS="-lsocket $LIBS"
2948 cat >conftest.$ac_ext <<_ACEOF
2951 cat confdefs.h >>conftest.$ac_ext
2952 cat >>conftest.$ac_ext <<_ACEOF
2953 /* end confdefs.h. */
2955 /* Override any gcc2 internal prototype to avoid an error. */
2959 /* We use char because int might match the return type of a gcc2
2960 builtin and then its argument prototype would still apply. */
2970 rm -f conftest.$ac_objext conftest$ac_exeext
2971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2972 (eval $ac_link) 2>conftest.er1
2974 grep -v '^ *+' conftest.er1 >conftest.err
2976 cat conftest.err >&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); } &&
2979 { ac_try='test -z "$ac_c_werror_flag"
2980 || test ! -s conftest.err'
2981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985 (exit $ac_status); }; } &&
2986 { ac_try='test -s conftest$ac_exeext'
2987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991 (exit $ac_status); }; }; then
2992 ac_cv_lib_socket_socket=yes
2994 echo "$as_me: failed program was:" >&5
2995 sed 's/^/| /' conftest.$ac_ext >&5
2997 ac_cv_lib_socket_socket=no
2999 rm -f conftest.err conftest.$ac_objext \
3000 conftest$ac_exeext conftest.$ac_ext
3001 LIBS=$ac_check_lib_save_LIBS
3003 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3004 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3005 if test $ac_cv_lib_socket_socket = yes; then
3006 cat >>confdefs.h <<_ACEOF
3007 #define HAVE_LIBSOCKET 1
3010 LIBS="-lsocket $LIBS"
3013 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3014 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3015 if test "${ac_cv_lib_socket_socket+set}" = set; then
3016 echo $ECHO_N "(cached) $ECHO_C" >&6
3018 ac_check_lib_save_LIBS=$LIBS
3019 LIBS="-lsocket -lnsl $LIBS"
3020 cat >conftest.$ac_ext <<_ACEOF
3023 cat confdefs.h >>conftest.$ac_ext
3024 cat >>conftest.$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3027 /* Override any gcc2 internal prototype to avoid an error. */
3031 /* We use char because int might match the return type of a gcc2
3032 builtin and then its argument prototype would still apply. */
3042 rm -f conftest.$ac_objext conftest$ac_exeext
3043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3044 (eval $ac_link) 2>conftest.er1
3046 grep -v '^ *+' conftest.er1 >conftest.err
3048 cat conftest.err >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } &&
3051 { ac_try='test -z "$ac_c_werror_flag"
3052 || test ! -s conftest.err'
3053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); }; } &&
3058 { ac_try='test -s conftest$ac_exeext'
3059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; }; then
3064 ac_cv_lib_socket_socket=yes
3066 echo "$as_me: failed program was:" >&5
3067 sed 's/^/| /' conftest.$ac_ext >&5
3069 ac_cv_lib_socket_socket=no
3071 rm -f conftest.err conftest.$ac_objext \
3072 conftest$ac_exeext conftest.$ac_ext
3073 LIBS=$ac_check_lib_save_LIBS
3075 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3076 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3077 if test $ac_cv_lib_socket_socket = yes; then
3078 LIBS="-lsocket -lnsl $LIBS"
3088 # com_err (required, but can be built)
3089 echo "$as_me:$LINENO: checking for com_err" >&5
3090 echo $ECHO_N "checking for com_err... $ECHO_C" >&6
3092 # Check whether --with-com_err or --without-com_err was given.
3093 if test "${with_com_err+set}" = set; then
3094 withval="$with_com_err"
3095 echo "$as_me:$LINENO: result: $withval" >&5
3096 echo "${ECHO_T}$withval" >&6
3097 if test $withval = "no"; then
3098 { { echo "$as_me:$LINENO: error: com_err is required for Moira" >&5
3099 echo "$as_me: error: com_err is required for Moira" >&2;}
3100 { (exit 1); exit 1; }; }
3102 if test $withval != "yes"; then
3106 *-I$withval/include*) ;;
3107 *) CPPFLAGS=-I$withval/include\ $CPPFLAGS ;;
3111 case $PRO_C_INCLUDES in
3112 *INCLUDE=$withval/include*) ;;
3113 *) PRO_C_INCLUDES=INCLUDE=$withval/include\ $PRO_C_INCLUDES ;;
3119 *-L$withval/lib*) ;;
3120 *) LIBPATH=-L$withval/lib\ $LIBPATH ;;
3124 COMPILE_ET=compile_et
3126 echo "$as_me:$LINENO: result: util/et" >&5
3127 echo "${ECHO_T}util/et" >&6
3131 *-I`pwd`/util/et*) ;;
3132 *) CPPFLAGS=-I`pwd`/util/et\ $CPPFLAGS ;;
3136 case $PRO_C_INCLUDES in
3137 *INCLUDE=`pwd`/util/et*) ;;
3138 *) PRO_C_INCLUDES=INCLUDE=`pwd`/util/et\ $PRO_C_INCLUDES ;;
3144 *-L`pwd`/util/et*) ;;
3145 *) LIBPATH=-L`pwd`/util/et\ $LIBPATH ;;
3148 COMPILE_ET=`pwd`/util/et/compile_et
3151 subdirs="$subdirs util/et"
3157 echo "$as_me:$LINENO: checking for main in -lk5crypto" >&5
3158 echo $ECHO_N "checking for main in -lk5crypto... $ECHO_C" >&6
3159 if test "${ac_cv_lib_k5crypto_main+set}" = set; then
3160 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 ac_check_lib_save_LIBS=$LIBS
3163 LIBS="-lk5crypto $LIBS"
3164 cat >conftest.$ac_ext <<_ACEOF
3167 cat confdefs.h >>conftest.$ac_ext
3168 cat >>conftest.$ac_ext <<_ACEOF
3169 /* end confdefs.h. */
3180 rm -f conftest.$ac_objext conftest$ac_exeext
3181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3182 (eval $ac_link) 2>conftest.er1
3184 grep -v '^ *+' conftest.er1 >conftest.err
3186 cat conftest.err >&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); } &&
3189 { ac_try='test -z "$ac_c_werror_flag"
3190 || test ! -s conftest.err'
3191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); }; } &&
3196 { ac_try='test -s conftest$ac_exeext'
3197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); }; }; then
3202 ac_cv_lib_k5crypto_main=yes
3204 echo "$as_me: failed program was:" >&5
3205 sed 's/^/| /' conftest.$ac_ext >&5
3207 ac_cv_lib_k5crypto_main=no
3209 rm -f conftest.err conftest.$ac_objext \
3210 conftest$ac_exeext conftest.$ac_ext
3211 LIBS=$ac_check_lib_save_LIBS
3213 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_main" >&5
3214 echo "${ECHO_T}$ac_cv_lib_k5crypto_main" >&6
3215 if test $ac_cv_lib_k5crypto_main = yes; then
3218 echo "$as_me:$LINENO: checking for main in -lcrypto" >&5
3219 echo $ECHO_N "checking for main in -lcrypto... $ECHO_C" >&6
3220 if test "${ac_cv_lib_crypto_main+set}" = set; then
3221 echo $ECHO_N "(cached) $ECHO_C" >&6
3223 ac_check_lib_save_LIBS=$LIBS
3224 LIBS="-lcrypto $LIBS"
3225 cat >conftest.$ac_ext <<_ACEOF
3228 cat confdefs.h >>conftest.$ac_ext
3229 cat >>conftest.$ac_ext <<_ACEOF
3230 /* end confdefs.h. */
3241 rm -f conftest.$ac_objext conftest$ac_exeext
3242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3243 (eval $ac_link) 2>conftest.er1
3245 grep -v '^ *+' conftest.er1 >conftest.err
3247 cat conftest.err >&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); } &&
3250 { ac_try='test -z "$ac_c_werror_flag"
3251 || test ! -s conftest.err'
3252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); }; } &&
3257 { ac_try='test -s conftest$ac_exeext'
3258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); }; }; then
3263 ac_cv_lib_crypto_main=yes
3265 echo "$as_me: failed program was:" >&5
3266 sed 's/^/| /' conftest.$ac_ext >&5
3268 ac_cv_lib_crypto_main=no
3270 rm -f conftest.err conftest.$ac_objext \
3271 conftest$ac_exeext conftest.$ac_ext
3272 LIBS=$ac_check_lib_save_LIBS
3274 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_main" >&5
3275 echo "${ECHO_T}$ac_cv_lib_crypto_main" >&6
3276 if test $ac_cv_lib_crypto_main = yes; then
3283 # Kerberos (Kerberos 4 optional, Kerberos 5 required)
3284 echo "$as_me:$LINENO: checking for Kerberos 4" >&5
3285 echo $ECHO_N "checking for Kerberos 4... $ECHO_C" >&6
3287 # Check whether --with-krb4 or --without-krb4 was given.
3288 if test "${with_krb4+set}" = set; then
3289 withval="$with_krb4"
3294 echo "$as_me:$LINENO: result: $krb4" >&5
3295 echo "${ECHO_T}$krb4" >&6
3296 if test "$krb4" != no; then
3297 if test "$krb4" != yes; then
3301 *-I$krb4/include*) ;;
3302 *) CPPFLAGS=-I$krb4/include\ $CPPFLAGS ;;
3306 case $PRO_C_INCLUDES in
3307 *INCLUDE=$krb4/include*) ;;
3308 *) PRO_C_INCLUDES=INCLUDE=$krb4/include\ $PRO_C_INCLUDES ;;
3312 if test -d "$krb4/include/kerberosIV"; then
3316 *-I$krb4/include/kerberosIV*) ;;
3317 *) CPPFLAGS=-I$krb4/include/kerberosIV\ $CPPFLAGS ;;
3321 case $PRO_C_INCLUDES in
3322 *INCLUDE=$krb4/include/kerberosIV*) ;;
3323 *) PRO_C_INCLUDES=INCLUDE=$krb4/include/kerberosIV\ $PRO_C_INCLUDES ;;
3331 *) LIBPATH=-L$krb4/lib\ $LIBPATH ;;
3334 elif test -d /usr/include/kerberosIV; then
3338 *-I/usr/include/kerberosIV*) ;;
3339 *) CPPFLAGS=-I/usr/include/kerberosIV\ $CPPFLAGS ;;
3343 case $PRO_C_INCLUDES in
3344 *INCLUDE=/usr/include/kerberosIV*) ;;
3345 *) PRO_C_INCLUDES=INCLUDE=/usr/include/kerberosIV\ $PRO_C_INCLUDES ;;
3351 cat >>confdefs.h <<\_ACEOF
3357 *DEFINE=HAVE_KRB4*) ;;
3358 *) PRO_C_DEFS=DEFINE=HAVE_KRB4\ $PRO_C_DEFS ;;
3362 echo "$as_me:$LINENO: checking for krb_rd_req in -lkrb4" >&5
3363 echo $ECHO_N "checking for krb_rd_req in -lkrb4... $ECHO_C" >&6
3364 if test "${ac_cv_lib_krb4_krb_rd_req+set}" = set; then
3365 echo $ECHO_N "(cached) $ECHO_C" >&6
3367 ac_check_lib_save_LIBS=$LIBS
3368 LIBS="-lkrb4 $LIBPATH -ldes425 -lkrb5 -l${crypto} -lcom_err -lresolv $LIBS"
3369 cat >conftest.$ac_ext <<_ACEOF
3372 cat confdefs.h >>conftest.$ac_ext
3373 cat >>conftest.$ac_ext <<_ACEOF
3374 /* end confdefs.h. */
3376 /* Override any gcc2 internal prototype to avoid an error. */
3380 /* We use char because int might match the return type of a gcc2
3381 builtin and then its argument prototype would still apply. */
3391 rm -f conftest.$ac_objext conftest$ac_exeext
3392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3393 (eval $ac_link) 2>conftest.er1
3395 grep -v '^ *+' conftest.er1 >conftest.err
3397 cat conftest.err >&5
3398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); } &&
3400 { ac_try='test -z "$ac_c_werror_flag"
3401 || test ! -s conftest.err'
3402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); }; } &&
3407 { ac_try='test -s conftest$ac_exeext'
3408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; }; then
3413 ac_cv_lib_krb4_krb_rd_req=yes
3415 echo "$as_me: failed program was:" >&5
3416 sed 's/^/| /' conftest.$ac_ext >&5
3418 ac_cv_lib_krb4_krb_rd_req=no
3420 rm -f conftest.err conftest.$ac_objext \
3421 conftest$ac_exeext conftest.$ac_ext
3422 LIBS=$ac_check_lib_save_LIBS
3424 echo "$as_me:$LINENO: result: $ac_cv_lib_krb4_krb_rd_req" >&5
3425 echo "${ECHO_T}$ac_cv_lib_krb4_krb_rd_req" >&6
3426 if test $ac_cv_lib_krb4_krb_rd_req = yes; then
3427 KRB4_LIBS="-lkrb4 -ldes425 -lkrb5 -l${crypto} -lresolv"
3429 echo "$as_me:$LINENO: checking for krb_rd_req in -lkrb" >&5
3430 echo $ECHO_N "checking for krb_rd_req in -lkrb... $ECHO_C" >&6
3431 if test "${ac_cv_lib_krb_krb_rd_req+set}" = set; then
3432 echo $ECHO_N "(cached) $ECHO_C" >&6
3434 ac_check_lib_save_LIBS=$LIBS
3435 LIBS="-lkrb $LIBPATH -ldes $LIBS"
3436 cat >conftest.$ac_ext <<_ACEOF
3439 cat confdefs.h >>conftest.$ac_ext
3440 cat >>conftest.$ac_ext <<_ACEOF
3441 /* end confdefs.h. */
3443 /* Override any gcc2 internal prototype to avoid an error. */
3447 /* We use char because int might match the return type of a gcc2
3448 builtin and then its argument prototype would still apply. */
3458 rm -f conftest.$ac_objext conftest$ac_exeext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3460 (eval $ac_link) 2>conftest.er1
3462 grep -v '^ *+' conftest.er1 >conftest.err
3464 cat conftest.err >&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } &&
3467 { ac_try='test -z "$ac_c_werror_flag"
3468 || test ! -s conftest.err'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; } &&
3474 { ac_try='test -s conftest$ac_exeext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then
3480 ac_cv_lib_krb_krb_rd_req=yes
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.$ac_ext >&5
3485 ac_cv_lib_krb_krb_rd_req=no
3487 rm -f conftest.err conftest.$ac_objext \
3488 conftest$ac_exeext conftest.$ac_ext
3489 LIBS=$ac_check_lib_save_LIBS
3491 echo "$as_me:$LINENO: result: $ac_cv_lib_krb_krb_rd_req" >&5
3492 echo "${ECHO_T}$ac_cv_lib_krb_krb_rd_req" >&6
3493 if test $ac_cv_lib_krb_krb_rd_req = yes; then
3494 KRB4_LIBS="-lkrb -ldes"
3496 { { echo "$as_me:$LINENO: error: Kerberos 4 libraries not found" >&5
3497 echo "$as_me: error: Kerberos 4 libraries not found" >&2;}
3498 { (exit 1); exit 1; }; }
3505 echo "$as_me:$LINENO: checking for Kerberos 5" >&5
3506 echo $ECHO_N "checking for Kerberos 5... $ECHO_C" >&6
3508 # Check whether --with-krb5 or --without-krb5 was given.
3509 if test "${with_krb5+set}" = set; then
3510 withval="$with_krb5"
3515 echo "$as_me:$LINENO: result: $krb5" >&5
3516 echo "${ECHO_T}$krb5" >&6
3517 if test "$krb5" != no; then
3519 if test "$krb5" != yes; then
3520 REG_SVR_INCLUDES=-I$krb5/include
3521 REG_SVR_LIBS=-L$krb5/lib
3525 *-I$krb5/include*) ;;
3526 *) CPPFLAGS=-I$krb5/include\ $CPPFLAGS ;;
3530 case $PRO_C_INCLUDES in
3531 *INCLUDE=$krb5/include*) ;;
3532 *) PRO_C_INCLUDES=INCLUDE=$krb5/include\ $PRO_C_INCLUDES ;;
3539 *) LIBPATH=-L$krb5/lib\ $LIBPATH ;;
3544 cat >>confdefs.h <<\_ACEOF
3550 *DEFINE=HAVE_KRB5*) ;;
3551 *) PRO_C_DEFS=DEFINE=HAVE_KRB5\ $PRO_C_DEFS ;;
3555 KRB5_LIBS="-lkrb5 -l${crypto} -lcom_err -lresolv"
3556 REG_SVR_LIBS="$REG_SVR_LIBS -lkadm5clnt -lgssapi_krb5 -lgssrpc -lkrb4 -ldes425 -lkrb5 -l${crypto} -lresolv"
3566 echo "$as_me:$LINENO: checking for Hesiod" >&5
3567 echo $ECHO_N "checking for Hesiod... $ECHO_C" >&6
3569 # Check whether --with-hesiod or --without-hesiod was given.
3570 if test "${with_hesiod+set}" = set; then
3571 withval="$with_hesiod"
3576 echo "$as_me:$LINENO: result: $hesiod" >&5
3577 echo "${ECHO_T}$hesiod" >&6
3578 if test "$hesiod" != no; then
3579 if test "$hesiod" != yes; then
3583 *-I$hesiod/include*) ;;
3584 *) CPPFLAGS=-I$hesiod/include\ $CPPFLAGS ;;
3588 case $PRO_C_INCLUDES in
3589 *INCLUDE=$hesiod/include*) ;;
3590 *) PRO_C_INCLUDES=INCLUDE=$hesiod/include\ $PRO_C_INCLUDES ;;
3597 *) LIBPATH=-L$hesiod/lib\ $LIBPATH ;;
3601 echo "$as_me:$LINENO: checking for res_send" >&5
3602 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
3603 if test "${ac_cv_func_res_send+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 cat >conftest.$ac_ext <<_ACEOF
3609 cat confdefs.h >>conftest.$ac_ext
3610 cat >>conftest.$ac_ext <<_ACEOF
3611 /* end confdefs.h. */
3612 /* Define res_send to an innocuous variant, in case <limits.h> declares res_send.
3613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3614 #define res_send innocuous_res_send
3616 /* System header to define __stub macros and hopefully few prototypes,
3617 which can conflict with char res_send (); below.
3618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3619 <limits.h> exists even on freestanding compilers. */
3622 # include <limits.h>
3624 # include <assert.h>
3629 /* Override any gcc2 internal prototype to avoid an error. */
3634 /* We use char because int might match the return type of a gcc2
3635 builtin and then its argument prototype would still apply. */
3637 /* The GNU C library defines this for functions which it implements
3638 to always fail with ENOSYS. Some functions are actually named
3639 something starting with __ and the normal name is an alias. */
3640 #if defined (__stub_res_send) || defined (__stub___res_send)
3643 char (*f) () = res_send;
3652 return f != res_send;
3657 rm -f conftest.$ac_objext conftest$ac_exeext
3658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3659 (eval $ac_link) 2>conftest.er1
3661 grep -v '^ *+' conftest.er1 >conftest.err
3663 cat conftest.err >&5
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); } &&
3666 { ac_try='test -z "$ac_c_werror_flag"
3667 || test ! -s conftest.err'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; } &&
3673 { ac_try='test -s conftest$ac_exeext'
3674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3678 (exit $ac_status); }; }; then
3679 ac_cv_func_res_send=yes
3681 echo "$as_me: failed program was:" >&5
3682 sed 's/^/| /' conftest.$ac_ext >&5
3684 ac_cv_func_res_send=no
3686 rm -f conftest.err conftest.$ac_objext \
3687 conftest$ac_exeext conftest.$ac_ext
3689 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
3690 echo "${ECHO_T}$ac_cv_func_res_send" >&6
3691 if test $ac_cv_func_res_send = yes; then
3695 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
3696 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
3697 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 ac_check_lib_save_LIBS=$LIBS
3701 LIBS="-lresolv $LIBS"
3702 cat >conftest.$ac_ext <<_ACEOF
3705 cat confdefs.h >>conftest.$ac_ext
3706 cat >>conftest.$ac_ext <<_ACEOF
3707 /* end confdefs.h. */
3709 /* Override any gcc2 internal prototype to avoid an error. */
3713 /* We use char because int might match the return type of a gcc2
3714 builtin and then its argument prototype would still apply. */
3724 rm -f conftest.$ac_objext conftest$ac_exeext
3725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3726 (eval $ac_link) 2>conftest.er1
3728 grep -v '^ *+' conftest.er1 >conftest.err
3730 cat conftest.err >&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); } &&
3733 { ac_try='test -z "$ac_c_werror_flag"
3734 || test ! -s conftest.err'
3735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); }; } &&
3740 { ac_try='test -s conftest$ac_exeext'
3741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); }; }; then
3746 ac_cv_lib_resolv_res_send=yes
3748 echo "$as_me: failed program was:" >&5
3749 sed 's/^/| /' conftest.$ac_ext >&5
3751 ac_cv_lib_resolv_res_send=no
3753 rm -f conftest.err conftest.$ac_objext \
3754 conftest$ac_exeext conftest.$ac_ext
3755 LIBS=$ac_check_lib_save_LIBS
3757 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
3758 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
3759 if test $ac_cv_lib_resolv_res_send = yes; then
3760 cat >>confdefs.h <<_ACEOF
3761 #define HAVE_LIBRESOLV 1
3764 LIBS="-lresolv $LIBS"
3770 echo "$as_me:$LINENO: checking for hes_resolve in -lhesiod" >&5
3771 echo $ECHO_N "checking for hes_resolve in -lhesiod... $ECHO_C" >&6
3772 if test "${ac_cv_lib_hesiod_hes_resolve+set}" = set; then
3773 echo $ECHO_N "(cached) $ECHO_C" >&6
3775 ac_check_lib_save_LIBS=$LIBS
3776 LIBS="-lhesiod $LIBPATH $LIBS $LIBS"
3777 cat >conftest.$ac_ext <<_ACEOF
3780 cat confdefs.h >>conftest.$ac_ext
3781 cat >>conftest.$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3784 /* Override any gcc2 internal prototype to avoid an error. */
3788 /* We use char because int might match the return type of a gcc2
3789 builtin and then its argument prototype would still apply. */
3790 char hes_resolve ();
3799 rm -f conftest.$ac_objext conftest$ac_exeext
3800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3801 (eval $ac_link) 2>conftest.er1
3803 grep -v '^ *+' conftest.er1 >conftest.err
3805 cat conftest.err >&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); } &&
3808 { ac_try='test -z "$ac_c_werror_flag"
3809 || test ! -s conftest.err'
3810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); }; } &&
3815 { ac_try='test -s conftest$ac_exeext'
3816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); }; }; then
3821 ac_cv_lib_hesiod_hes_resolve=yes
3823 echo "$as_me: failed program was:" >&5
3824 sed 's/^/| /' conftest.$ac_ext >&5
3826 ac_cv_lib_hesiod_hes_resolve=no
3828 rm -f conftest.err conftest.$ac_objext \
3829 conftest$ac_exeext conftest.$ac_ext
3830 LIBS=$ac_check_lib_save_LIBS
3832 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_resolve" >&5
3833 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_resolve" >&6
3834 if test $ac_cv_lib_hesiod_hes_resolve = yes; then
3837 { { echo "$as_me:$LINENO: error: Hesiod library not found" >&5
3838 echo "$as_me: error: Hesiod library not found" >&2;}
3839 { (exit 1); exit 1; }; }
3843 cat >>confdefs.h <<\_ACEOF
3844 #define HAVE_HESIOD 1
3849 *DEFINE=HAVE_HESIOD*) ;;
3850 *) PRO_C_DEFS=DEFINE=HAVE_HESIOD\ $PRO_C_DEFS ;;
3857 echo "$as_me:$LINENO: checking for Zephyr" >&5
3858 echo $ECHO_N "checking for Zephyr... $ECHO_C" >&6
3860 # Check whether --with-zephyr or --without-zephyr was given.
3861 if test "${with_zephyr+set}" = set; then
3862 withval="$with_zephyr"
3867 echo "$as_me:$LINENO: result: $zephyr" >&5
3868 echo "${ECHO_T}$zephyr" >&6
3869 if test "$zephyr" != no; then
3870 if test "$zephyr" != yes; then
3874 *-I$zephyr/include*) ;;
3875 *) CPPFLAGS=-I$zephyr/include\ $CPPFLAGS ;;
3879 case $PRO_C_INCLUDES in
3880 *INCLUDE=$zephyr/include*) ;;
3881 *) PRO_C_INCLUDES=INCLUDE=$zephyr/include\ $PRO_C_INCLUDES ;;
3888 *) LIBPATH=-L$zephyr/lib\ $LIBPATH ;;
3892 echo "$as_me:$LINENO: checking for ZInitialize in -lzephyr" >&5
3893 echo $ECHO_N "checking for ZInitialize in -lzephyr... $ECHO_C" >&6
3894 if test "${ac_cv_lib_zephyr_ZInitialize+set}" = set; then
3895 echo $ECHO_N "(cached) $ECHO_C" >&6
3897 ac_check_lib_save_LIBS=$LIBS
3898 LIBS="-lzephyr $LIBPATH $KRB4_LIBS $KRB5_LIBS -lcom_err $LIBS"
3899 cat >conftest.$ac_ext <<_ACEOF
3902 cat confdefs.h >>conftest.$ac_ext
3903 cat >>conftest.$ac_ext <<_ACEOF
3904 /* end confdefs.h. */
3906 /* Override any gcc2 internal prototype to avoid an error. */
3910 /* We use char because int might match the return type of a gcc2
3911 builtin and then its argument prototype would still apply. */
3912 char ZInitialize ();
3921 rm -f conftest.$ac_objext conftest$ac_exeext
3922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3923 (eval $ac_link) 2>conftest.er1
3925 grep -v '^ *+' conftest.er1 >conftest.err
3927 cat conftest.err >&5
3928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929 (exit $ac_status); } &&
3930 { ac_try='test -z "$ac_c_werror_flag"
3931 || test ! -s conftest.err'
3932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3936 (exit $ac_status); }; } &&
3937 { ac_try='test -s conftest$ac_exeext'
3938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942 (exit $ac_status); }; }; then
3943 ac_cv_lib_zephyr_ZInitialize=yes
3945 echo "$as_me: failed program was:" >&5
3946 sed 's/^/| /' conftest.$ac_ext >&5
3948 ac_cv_lib_zephyr_ZInitialize=no
3950 rm -f conftest.err conftest.$ac_objext \
3951 conftest$ac_exeext conftest.$ac_ext
3952 LIBS=$ac_check_lib_save_LIBS
3954 echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZInitialize" >&5
3955 echo "${ECHO_T}$ac_cv_lib_zephyr_ZInitialize" >&6
3956 if test $ac_cv_lib_zephyr_ZInitialize = yes; then
3959 { { echo "$as_me:$LINENO: error: Zephyr library not found" >&5
3960 echo "$as_me: error: Zephyr library not found" >&2;}
3961 { (exit 1); exit 1; }; }
3965 cat >>confdefs.h <<\_ACEOF
3966 #define HAVE_ZEPHYR 1
3971 *DEFINE=HAVE_ZEPHYR*) ;;
3972 *) PRO_C_DEFS=DEFINE=HAVE_ZEPHYR\ $PRO_C_DEFS ;;
3978 # RSAREF support (default: build util/rsaref if present)
3979 echo "$as_me:$LINENO: checking for RSAREF" >&5
3980 echo $ECHO_N "checking for RSAREF... $ECHO_C" >&6
3982 # Check whether --with-rsaref or --without-rsaref was given.
3983 if test "${with_rsaref+set}" = set; then
3984 withval="$with_rsaref"
3986 RSAREF_CPPFLAGS="-I$rsaref/include"
3987 RSAREF_LIBS="$rsaref/lib/rsaref.a"
3989 RSAREF_SUBDIRS=reg_svr
3990 if test -d $srcdir/util/rsaref; then
3991 rsaref=$srcdir/util/rsaref
3992 RSAREF_SUBDIRS="util/rsaref reg_svr"
3993 RSAREF_OUTPUT_FILES="util/rsaref/Makefile"
3994 # autoconf can't deal with creating util/rsaref if util doesn't exist
3995 if test ! -d util; then
3998 RSAREF_CPPFLAGS='-I$(SRCTOP)/util/rsaref'
3999 RSAREF_LIBS='$(BUILDTOP)/util/rsaref/rsaref.a'
4000 RSAREF_LIBDEP='$(BUILDTOP)/util/rsaref/rsaref.a'
4005 echo "$as_me:$LINENO: result: $rsaref" >&5
4006 echo "${ECHO_T}$rsaref" >&6
4007 if test "$rsaref" != no; then
4009 cat >>confdefs.h <<\_ACEOF
4010 #define HAVE_RSAREF 1
4015 *DEFINE=HAVE_RSAREF*) ;;
4016 *) PRO_C_DEFS=DEFINE=HAVE_RSAREF\ $PRO_C_DEFS ;;
4026 # Oracle (default: yes, if $ORACLE_HOME is set)
4027 echo "$as_me:$LINENO: checking for Oracle" >&5
4028 echo $ECHO_N "checking for Oracle... $ECHO_C" >&6
4030 # Check whether --with-oracle or --without-oracle was given.
4031 if test "${with_oracle+set}" = set; then
4032 withval="$with_oracle"
4035 if test -n "$ORACLE_HOME" -a -d "$ORACLE_HOME"; then
4041 echo "$as_me:$LINENO: result: $oracle" >&5
4042 echo "${ECHO_T}$oracle" >&6
4043 if test "$oracle" != no; then
4044 echo "$as_me:$LINENO: checking Pro*C version" >&5
4045 echo $ECHO_N "checking Pro*C version... $ECHO_C" >&6
4046 ORACLE_HOME=$oracle release=`$ORACLE_HOME/bin/proc | awk '/Release/ {print $3;}'`
4047 echo "$as_me:$LINENO: result: $release" >&5
4048 echo "${ECHO_T}$release" >&6
4051 SQL_LIBS="-L$oracle/lib -lsql $oracle/lib/osntab.o -lsqlnet -lora -lsqlnet -lnlsrtl -lcv6 -lcore -lnlsrtl -lcore -lm"
4054 SQL_LIBS="-L$oracle/lib -lclntsh -lxa -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 -lnlsrtl3 `cat $oracle/rdbms/lib/sysliblist` -lm -lthread"
4057 SQL_LIBS="-L$oracle/lib -lclntsh `cat $oracle/lib/sysliblist` -R$oracle/lib -laio -lm -lthread"
4060 SQL_LIBS="-L$oracle/lib32 -lclntsh `cat $oracle/lib32/ldflags` `cat $oracle/lib32/sysliblist` -R$oracle/lib32 -laio -lposix4 -lm -lthread"
4063 { { echo "$as_me:$LINENO: error: Unsupported Oracle release" >&5
4064 echo "$as_me: error: Unsupported Oracle release" >&2;}
4065 { (exit 1); exit 1; }; }
4068 SVRSUBDIRS='$(SVRDIRS)'
4069 SERVER_OUTPUT_FILES="db/Makefile server/Makefile backup/Makefile dbck/Makefile dcm/Makefile gen/Makefile incremental/Makefile incremental/mailman/Makefile reg_svr/Makefile regtape/Makefile"
4070 PRO_C=$oracle/bin/proc
4071 PRO_C_OPTS=CODE=ANSI_C
4072 PRO_C_DEFS="DEFINE=_PROC_ DEFINE=__sparc $PRO_C_DEFS"
4081 # Java support, for webmoira
4082 echo "$as_me:$LINENO: checking for Java" >&5
4083 echo $ECHO_N "checking for Java... $ECHO_C" >&6
4085 # Check whether --with-java or --without-java was given.
4086 if test "${with_java+set}" = set; then
4087 withval="$with_java"
4090 if test -n "$JAVA_HOME" -a -d "$JAVA_HOME"; then
4096 echo "$as_me:$LINENO: result: $java" >&5
4097 echo "${ECHO_T}$java" >&6
4098 if test "$java" != no; then
4099 if test "$java" != yes; then
4100 JAVA_CPPFLAGS="-I$java/include -I$java/include/$short_os"
4103 cat >>confdefs.h <<\_ACEOF
4109 *DEFINE=HAVE_JAVA*) ;;
4110 *) PRO_C_DEFS=DEFINE=HAVE_JAVA\ $PRO_C_DEFS ;;
4115 WEBMOIRA_SUBDIRS="webmoira"
4116 WEBMOIRA_OUTPUT_FILES="webmoira/Makefile"
4122 echo "$as_me:$LINENO: checking for LDAP" >&5
4123 echo $ECHO_N "checking for LDAP... $ECHO_C" >&6
4125 # Check whether --with-ldap or --without-ldap was given.
4126 if test "${with_ldap+set}" = set; then
4127 withval="$with_ldap"
4130 if test -n "$LDAP_HOME" -a -d "$LDAP_HOME"; then
4136 echo "$as_me:$LINENO: result: $ldap" >&5
4137 echo "${ECHO_T}$ldap" >&6
4138 if test "$ldap" != no -a "$oracle" != no; then
4139 if test "$ldap" != yes; then
4140 LDAP_CPPFLAGS="-I$ldap/include"
4141 LDAP_LIBS="-L$ldap/lib"
4144 cat >>confdefs.h <<\_ACEOF
4150 *DEFINE=HAVE_LDAP*) ;;
4151 *) PRO_C_DEFS=DEFINE=HAVE_LDAP\ $PRO_C_DEFS ;;
4156 WINAD_SUBDIRS="winad ldap"
4157 WINAD_OUTPUT_FILES="incremental/winad/Makefile incremental/ldap/Makefile"
4164 echo "$as_me:$LINENO: checking for AFS" >&5
4165 echo $ECHO_N "checking for AFS... $ECHO_C" >&6
4167 # Check whether --with-afs or --without-afs was given.
4168 if test "${with_afs+set}" = set; then
4174 echo "$as_me:$LINENO: result: $afs" >&5
4175 echo "${ECHO_T}$afs" >&6
4176 if test "$afs" != no -a "$oracle" != no; then
4177 if test "$afs" != yes; then
4178 AFS_CPPFLAGS="-I$afs/include -I$afs/include/afs -I$afs/include/rx"
4179 AFS_PRO_C_INCLUDES="INCLUDE=$afs/include INCLUDE=$afs/include/afs INCLUDE=$afs/include/rx"
4180 AFS_LIBS="-L$afs/lib -L$afs/lib/afs"
4183 echo "$as_me:$LINENO: checking for pioctl in -lsys" >&5
4184 echo $ECHO_N "checking for pioctl in -lsys... $ECHO_C" >&6
4185 if test "${ac_cv_lib_sys_pioctl+set}" = set; then
4186 echo $ECHO_N "(cached) $ECHO_C" >&6
4188 ac_check_lib_save_LIBS=$LIBS
4189 LIBS="-lsys $AFS_LIBS -lrx -llwp -lsys -lafsutil $LIBS"
4190 cat >conftest.$ac_ext <<_ACEOF
4193 cat confdefs.h >>conftest.$ac_ext
4194 cat >>conftest.$ac_ext <<_ACEOF
4195 /* end confdefs.h. */
4197 /* Override any gcc2 internal prototype to avoid an error. */
4201 /* We use char because int might match the return type of a gcc2
4202 builtin and then its argument prototype would still apply. */
4212 rm -f conftest.$ac_objext conftest$ac_exeext
4213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4214 (eval $ac_link) 2>conftest.er1
4216 grep -v '^ *+' conftest.er1 >conftest.err
4218 cat conftest.err >&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); } &&
4221 { ac_try='test -z "$ac_c_werror_flag"
4222 || test ! -s conftest.err'
4223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }; } &&
4228 { ac_try='test -s conftest$ac_exeext'
4229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); }; }; then
4234 ac_cv_lib_sys_pioctl=yes
4236 echo "$as_me: failed program was:" >&5
4237 sed 's/^/| /' conftest.$ac_ext >&5
4239 ac_cv_lib_sys_pioctl=no
4241 rm -f conftest.err conftest.$ac_objext \
4242 conftest$ac_exeext conftest.$ac_ext
4243 LIBS=$ac_check_lib_save_LIBS
4245 echo "$as_me:$LINENO: result: $ac_cv_lib_sys_pioctl" >&5
4246 echo "${ECHO_T}$ac_cv_lib_sys_pioctl" >&6
4247 if test $ac_cv_lib_sys_pioctl = yes; then
4250 { { echo "$as_me:$LINENO: error: AFS libraries not found" >&5
4251 echo "$as_me: error: AFS libraries not found" >&2;}
4252 { (exit 1); exit 1; }; }
4256 cat >>confdefs.h <<\_ACEOF
4262 *DEFINE=HAVE_AFS*) ;;
4263 *) PRO_C_DEFS=DEFINE=HAVE_AFS\ $PRO_C_DEFS ;;
4269 AFS_OUTPUT_FILES="incremental/afs/Makefile"
4270 if test -d $srcdir/afssync; then
4271 AFS_SYNCDIR="afssync"
4272 AFS_OUTPUT_FILES="$AFS_OUTPUT_FILES afssync/Makefile"
4283 { echo "$as_me:$LINENO: checking for GNU readline......" >&5
4284 echo "$as_me: checking for GNU readline......" >&6;}
4286 # Check whether --with-readline or --without-readline was given.
4287 if test "${with_readline+set}" = set; then
4288 withval="$with_readline"
4289 readline="$withval"; echo "$as_me:$LINENO: result: $withval" >&5
4290 echo "${ECHO_T}$withval" >&6
4292 echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
4293 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
4294 if test "${ac_cv_lib_readline_readline+set}" = set; then
4295 echo $ECHO_N "(cached) $ECHO_C" >&6
4297 ac_check_lib_save_LIBS=$LIBS
4298 LIBS="-lreadline -ltermcap $LIBS"
4299 cat >conftest.$ac_ext <<_ACEOF
4302 cat confdefs.h >>conftest.$ac_ext
4303 cat >>conftest.$ac_ext <<_ACEOF
4304 /* end confdefs.h. */
4306 /* Override any gcc2 internal prototype to avoid an error. */
4310 /* We use char because int might match the return type of a gcc2
4311 builtin and then its argument prototype would still apply. */
4321 rm -f conftest.$ac_objext conftest$ac_exeext
4322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4323 (eval $ac_link) 2>conftest.er1
4325 grep -v '^ *+' conftest.er1 >conftest.err
4327 cat conftest.err >&5
4328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329 (exit $ac_status); } &&
4330 { ac_try='test -z "$ac_c_werror_flag"
4331 || test ! -s conftest.err'
4332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336 (exit $ac_status); }; } &&
4337 { ac_try='test -s conftest$ac_exeext'
4338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); }; }; then
4343 ac_cv_lib_readline_readline=yes
4345 echo "$as_me: failed program was:" >&5
4346 sed 's/^/| /' conftest.$ac_ext >&5
4348 ac_cv_lib_readline_readline=no
4350 rm -f conftest.err conftest.$ac_objext \
4351 conftest$ac_exeext conftest.$ac_ext
4352 LIBS=$ac_check_lib_save_LIBS
4354 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
4355 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
4356 if test $ac_cv_lib_readline_readline = yes; then
4359 if test "$athena" = true; then
4360 unset ac_cv_lib_readline_readline
4361 echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
4362 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
4363 if test "${ac_cv_lib_readline_readline+set}" = set; then
4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4366 ac_check_lib_save_LIBS=$LIBS
4367 LIBS="-lreadline -L/mit/gnu/lib -ltermcap $LIBS"
4368 cat >conftest.$ac_ext <<_ACEOF
4371 cat confdefs.h >>conftest.$ac_ext
4372 cat >>conftest.$ac_ext <<_ACEOF
4373 /* end confdefs.h. */
4375 /* Override any gcc2 internal prototype to avoid an error. */
4379 /* We use char because int might match the return type of a gcc2
4380 builtin and then its argument prototype would still apply. */
4390 rm -f conftest.$ac_objext conftest$ac_exeext
4391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4392 (eval $ac_link) 2>conftest.er1
4394 grep -v '^ *+' conftest.er1 >conftest.err
4396 cat conftest.err >&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); } &&
4399 { ac_try='test -z "$ac_c_werror_flag"
4400 || test ! -s conftest.err'
4401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); }; } &&
4406 { ac_try='test -s conftest$ac_exeext'
4407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); }; }; then
4412 ac_cv_lib_readline_readline=yes
4414 echo "$as_me: failed program was:" >&5
4415 sed 's/^/| /' conftest.$ac_ext >&5
4417 ac_cv_lib_readline_readline=no
4419 rm -f conftest.err conftest.$ac_objext \
4420 conftest$ac_exeext conftest.$ac_ext
4421 LIBS=$ac_check_lib_save_LIBS
4423 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
4424 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
4425 if test $ac_cv_lib_readline_readline = yes; then
4435 if test "$readline" != no; then
4436 if test "$readline" != yes; then
4437 READLINE_CPPFLAGS="-I$readline/include"
4438 READLINE_LIBS="-L$readline/lib"
4440 READLINE_CPPFLAGS="$READLINE_CPPFLAGS -DHAVE_READLINE"
4441 READLINE_LIBS="$READLINE_LIBS -lreadline -ltermcap"
4448 { echo "$as_me:$LINENO: checking for curses..." >&5
4449 echo "$as_me: checking for curses..." >&6;}
4450 echo "$as_me:$LINENO: checking for main in -lcurses" >&5
4451 echo $ECHO_N "checking for main in -lcurses... $ECHO_C" >&6
4452 if test "${ac_cv_lib_curses_main+set}" = set; then
4453 echo $ECHO_N "(cached) $ECHO_C" >&6
4455 ac_check_lib_save_LIBS=$LIBS
4456 LIBS="-lcurses $LIBS"
4457 cat >conftest.$ac_ext <<_ACEOF
4460 cat confdefs.h >>conftest.$ac_ext
4461 cat >>conftest.$ac_ext <<_ACEOF
4462 /* end confdefs.h. */
4473 rm -f conftest.$ac_objext conftest$ac_exeext
4474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4475 (eval $ac_link) 2>conftest.er1
4477 grep -v '^ *+' conftest.er1 >conftest.err
4479 cat conftest.err >&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); } &&
4482 { ac_try='test -z "$ac_c_werror_flag"
4483 || test ! -s conftest.err'
4484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4488 (exit $ac_status); }; } &&
4489 { ac_try='test -s conftest$ac_exeext'
4490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4494 (exit $ac_status); }; }; then
4495 ac_cv_lib_curses_main=yes
4497 echo "$as_me: failed program was:" >&5
4498 sed 's/^/| /' conftest.$ac_ext >&5
4500 ac_cv_lib_curses_main=no
4502 rm -f conftest.err conftest.$ac_objext \
4503 conftest$ac_exeext conftest.$ac_ext
4504 LIBS=$ac_check_lib_save_LIBS
4506 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&5
4507 echo "${ECHO_T}$ac_cv_lib_curses_main" >&6
4508 if test $ac_cv_lib_curses_main = yes; then
4511 echo "$as_me:$LINENO: checking for main in -lncurses" >&5
4512 echo $ECHO_N "checking for main in -lncurses... $ECHO_C" >&6
4513 if test "${ac_cv_lib_ncurses_main+set}" = set; then
4514 echo $ECHO_N "(cached) $ECHO_C" >&6
4516 ac_check_lib_save_LIBS=$LIBS
4517 LIBS="-lncurses $LIBS"
4518 cat >conftest.$ac_ext <<_ACEOF
4521 cat confdefs.h >>conftest.$ac_ext
4522 cat >>conftest.$ac_ext <<_ACEOF
4523 /* end confdefs.h. */
4534 rm -f conftest.$ac_objext conftest$ac_exeext
4535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4536 (eval $ac_link) 2>conftest.er1
4538 grep -v '^ *+' conftest.er1 >conftest.err
4540 cat conftest.err >&5
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); } &&
4543 { ac_try='test -z "$ac_c_werror_flag"
4544 || test ! -s conftest.err'
4545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4549 (exit $ac_status); }; } &&
4550 { ac_try='test -s conftest$ac_exeext'
4551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4555 (exit $ac_status); }; }; then
4556 ac_cv_lib_ncurses_main=yes
4558 echo "$as_me: failed program was:" >&5
4559 sed 's/^/| /' conftest.$ac_ext >&5
4561 ac_cv_lib_ncurses_main=no
4563 rm -f conftest.err conftest.$ac_objext \
4564 conftest$ac_exeext conftest.$ac_ext
4565 LIBS=$ac_check_lib_save_LIBS
4567 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_main" >&5
4568 echo "${ECHO_T}$ac_cv_lib_ncurses_main" >&6
4569 if test $ac_cv_lib_ncurses_main = yes; then
4575 if test -n "$curses"; then
4578 { echo "$as_me:$LINENO: checking if curses needs termcap..." >&5
4579 echo "$as_me: checking if curses needs termcap..." >&6;}
4580 if test "$cross_compiling" = yes; then
4583 cat >conftest.$ac_ext <<_ACEOF
4586 cat confdefs.h >>conftest.$ac_ext
4587 cat >>conftest.$ac_ext <<_ACEOF
4588 /* end confdefs.h. */
4590 main(int argc, char **argv)
4597 rm -f conftest$ac_exeext
4598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4599 (eval $ac_link) 2>&5
4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4607 (exit $ac_status); }; }; then
4608 CURSES_LIBS="-l$curses"
4610 echo "$as_me: program exited with status $ac_status" >&5
4611 echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.$ac_ext >&5
4615 LIBS="-l$curses -ltermcap"
4616 if test "$cross_compiling" = yes; then
4619 cat >conftest.$ac_ext <<_ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4626 main(int argc, char **argv)
4633 rm -f conftest$ac_exeext
4634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4635 (eval $ac_link) 2>&5
4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); }; }; then
4644 CURSES_LIBS="-l$curses -ltermcap"
4646 echo "$as_me: program exited with status $ac_status" >&5
4647 echo "$as_me: failed program was:" >&5
4648 sed 's/^/| /' conftest.$ac_ext >&5
4653 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4656 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4660 if test -n "$CURSES_LIBS"; then
4663 cat >conftest.$ac_ext <<_ACEOF
4666 cat confdefs.h >>conftest.$ac_ext
4667 cat >>conftest.$ac_ext <<_ACEOF
4668 /* end confdefs.h. */
4673 WINDOW *w; getmaxx(w);
4678 rm -f conftest.$ac_objext conftest$ac_exeext
4679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4680 (eval $ac_link) 2>conftest.er1
4682 grep -v '^ *+' conftest.er1 >conftest.err
4684 cat conftest.err >&5
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); } &&
4687 { ac_try='test -z "$ac_c_werror_flag"
4688 || test ! -s conftest.err'
4689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4693 (exit $ac_status); }; } &&
4694 { ac_try='test -s conftest$ac_exeext'
4695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); }; }; then
4702 echo "$as_me: failed program was:" >&5
4703 sed 's/^/| /' conftest.$ac_ext >&5
4705 cat >conftest.$ac_ext <<_ACEOF
4708 cat confdefs.h >>conftest.$ac_ext
4709 cat >>conftest.$ac_ext <<_ACEOF
4710 /* end confdefs.h. */
4715 WINDOW *w; w->_maxx;
4720 rm -f conftest.$ac_objext
4721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4722 (eval $ac_compile) 2>conftest.er1
4724 grep -v '^ *+' conftest.er1 >conftest.err
4726 cat conftest.err >&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); } &&
4729 { ac_try='test -z "$ac_c_werror_flag"
4730 || test ! -s conftest.err'
4731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4735 (exit $ac_status); }; } &&
4736 { ac_try='test -s conftest.$ac_objext'
4737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); }; }; then
4742 CURSES_CPPFLAGS="-D'getmaxx(w)=w->_maxx'"
4744 echo "$as_me: failed program was:" >&5
4745 sed 's/^/| /' conftest.$ac_ext >&5
4747 CURSES_CPPFLAGS="-D'getmaxx(w)=w->maxx'"
4749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4751 rm -f conftest.err conftest.$ac_objext \
4752 conftest$ac_exeext conftest.$ac_ext
4753 cat >conftest.$ac_ext <<_ACEOF
4756 cat confdefs.h >>conftest.$ac_ext
4757 cat >>conftest.$ac_ext <<_ACEOF
4758 /* end confdefs.h. */
4763 newterm(NULL, NULL, NULL);
4768 rm -f conftest.$ac_objext conftest$ac_exeext
4769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4770 (eval $ac_link) 2>conftest.er1
4772 grep -v '^ *+' conftest.er1 >conftest.err
4774 cat conftest.err >&5
4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); } &&
4777 { ac_try='test -z "$ac_c_werror_flag"
4778 || test ! -s conftest.err'
4779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4783 (exit $ac_status); }; } &&
4784 { ac_try='test -s conftest$ac_exeext'
4785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); }; }; then
4790 CURSES_CPPFLAGS="$CURSES_CPPFLAGS -DCURSES_HAS_NEWTERM"
4792 echo "$as_me: failed program was:" >&5
4793 sed 's/^/| /' conftest.$ac_ext >&5
4796 rm -f conftest.err conftest.$ac_objext \
4797 conftest$ac_exeext conftest.$ac_ext
4799 CURSES_CPPFLAGS="-DHAVE_CURSES $CURSES_CPPFLAGS"
4800 CURSES_SUBDIRS='$(CURSES_SUBDIRS)'
4802 { echo "$as_me:$LINENO: WARNING: Couldn't find -lcurses" >&5
4803 echo "$as_me: WARNING: Couldn't find -lcurses" >&2;}
4815 for ac_func in getusershell strlcpy strlcat uname strvis
4817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4818 echo "$as_me:$LINENO: checking for $ac_func" >&5
4819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4820 if eval "test \"\${$as_ac_var+set}\" = set"; then
4821 echo $ECHO_N "(cached) $ECHO_C" >&6
4823 cat >conftest.$ac_ext <<_ACEOF
4826 cat confdefs.h >>conftest.$ac_ext
4827 cat >>conftest.$ac_ext <<_ACEOF
4828 /* end confdefs.h. */
4829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4831 #define $ac_func innocuous_$ac_func
4833 /* System header to define __stub macros and hopefully few prototypes,
4834 which can conflict with char $ac_func (); below.
4835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4836 <limits.h> exists even on freestanding compilers. */
4839 # include <limits.h>
4841 # include <assert.h>
4846 /* Override any gcc2 internal prototype to avoid an error. */
4851 /* We use char because int might match the return type of a gcc2
4852 builtin and then its argument prototype would still apply. */
4854 /* The GNU C library defines this for functions which it implements
4855 to always fail with ENOSYS. Some functions are actually named
4856 something starting with __ and the normal name is an alias. */
4857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4860 char (*f) () = $ac_func;
4869 return f != $ac_func;
4874 rm -f conftest.$ac_objext conftest$ac_exeext
4875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4876 (eval $ac_link) 2>conftest.er1
4878 grep -v '^ *+' conftest.er1 >conftest.err
4880 cat conftest.err >&5
4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); } &&
4883 { ac_try='test -z "$ac_c_werror_flag"
4884 || test ! -s conftest.err'
4885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); }; } &&
4890 { ac_try='test -s conftest$ac_exeext'
4891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4895 (exit $ac_status); }; }; then
4896 eval "$as_ac_var=yes"
4898 echo "$as_me: failed program was:" >&5
4899 sed 's/^/| /' conftest.$ac_ext >&5
4901 eval "$as_ac_var=no"
4903 rm -f conftest.err conftest.$ac_objext \
4904 conftest$ac_exeext conftest.$ac_ext
4906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4908 if test `eval echo '${'$as_ac_var'}'` = yes; then
4909 cat >>confdefs.h <<_ACEOF
4910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4917 echo "$as_me:$LINENO: checking for sigaction" >&5
4918 echo $ECHO_N "checking for sigaction... $ECHO_C" >&6
4919 if test "${ac_cv_func_sigaction+set}" = set; then
4920 echo $ECHO_N "(cached) $ECHO_C" >&6
4922 cat >conftest.$ac_ext <<_ACEOF
4925 cat confdefs.h >>conftest.$ac_ext
4926 cat >>conftest.$ac_ext <<_ACEOF
4927 /* end confdefs.h. */
4928 /* Define sigaction to an innocuous variant, in case <limits.h> declares sigaction.
4929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4930 #define sigaction innocuous_sigaction
4932 /* System header to define __stub macros and hopefully few prototypes,
4933 which can conflict with char sigaction (); below.
4934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4935 <limits.h> exists even on freestanding compilers. */
4938 # include <limits.h>
4940 # include <assert.h>
4945 /* Override any gcc2 internal prototype to avoid an error. */
4950 /* We use char because int might match the return type of a gcc2
4951 builtin and then its argument prototype would still apply. */
4953 /* The GNU C library defines this for functions which it implements
4954 to always fail with ENOSYS. Some functions are actually named
4955 something starting with __ and the normal name is an alias. */
4956 #if defined (__stub_sigaction) || defined (__stub___sigaction)
4959 char (*f) () = sigaction;
4968 return f != sigaction;
4973 rm -f conftest.$ac_objext conftest$ac_exeext
4974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4975 (eval $ac_link) 2>conftest.er1
4977 grep -v '^ *+' conftest.er1 >conftest.err
4979 cat conftest.err >&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); } &&
4982 { ac_try='test -z "$ac_c_werror_flag"
4983 || test ! -s conftest.err'
4984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4988 (exit $ac_status); }; } &&
4989 { ac_try='test -s conftest$ac_exeext'
4990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); }; }; then
4995 ac_cv_func_sigaction=yes
4997 echo "$as_me: failed program was:" >&5
4998 sed 's/^/| /' conftest.$ac_ext >&5
5000 ac_cv_func_sigaction=no
5002 rm -f conftest.err conftest.$ac_objext \
5003 conftest$ac_exeext conftest.$ac_ext
5005 echo "$as_me:$LINENO: result: $ac_cv_func_sigaction" >&5
5006 echo "${ECHO_T}$ac_cv_func_sigaction" >&6
5007 if test $ac_cv_func_sigaction = yes; then
5008 cat >>confdefs.h <<\_ACEOF
5009 #define HAVE_POSIX_SIGNALS 1
5016 ac_cpp='$CPP $CPPFLAGS'
5017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5020 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5021 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5022 # On Suns, sometimes $CPP names a directory.
5023 if test -n "$CPP" && test -d "$CPP"; then
5026 if test -z "$CPP"; then
5027 if test "${ac_cv_prog_CPP+set}" = set; then
5028 echo $ECHO_N "(cached) $ECHO_C" >&6
5030 # Double quotes because CPP needs to be expanded
5031 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5034 for ac_c_preproc_warn_flag in '' yes
5036 # Use a header file that comes with gcc, so configuring glibc
5037 # with a fresh cross-compiler works.
5038 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5039 # <limits.h> exists even on freestanding compilers.
5040 # On the NeXT, cc -E runs the code through the compiler's parser,
5041 # not just through cpp. "Syntax error" is here to catch this case.
5042 cat >conftest.$ac_ext <<_ACEOF
5045 cat confdefs.h >>conftest.$ac_ext
5046 cat >>conftest.$ac_ext <<_ACEOF
5047 /* end confdefs.h. */
5049 # include <limits.h>
5051 # include <assert.h>
5055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5058 grep -v '^ *+' conftest.er1 >conftest.err
5060 cat conftest.err >&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } >/dev/null; then
5063 if test -s conftest.err; then
5064 ac_cpp_err=$ac_c_preproc_warn_flag
5065 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5072 if test -z "$ac_cpp_err"; then
5075 echo "$as_me: failed program was:" >&5
5076 sed 's/^/| /' conftest.$ac_ext >&5
5078 # Broken: fails on valid input.
5081 rm -f conftest.err conftest.$ac_ext
5083 # OK, works on sane cases. Now check whether non-existent headers
5084 # can be detected and how.
5085 cat >conftest.$ac_ext <<_ACEOF
5088 cat confdefs.h >>conftest.$ac_ext
5089 cat >>conftest.$ac_ext <<_ACEOF
5090 /* end confdefs.h. */
5091 #include <ac_nonexistent.h>
5093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5094 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5096 grep -v '^ *+' conftest.er1 >conftest.err
5098 cat conftest.err >&5
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); } >/dev/null; then
5101 if test -s conftest.err; then
5102 ac_cpp_err=$ac_c_preproc_warn_flag
5103 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5110 if test -z "$ac_cpp_err"; then
5111 # Broken: success on invalid input.
5114 echo "$as_me: failed program was:" >&5
5115 sed 's/^/| /' conftest.$ac_ext >&5
5117 # Passes both tests.
5121 rm -f conftest.err conftest.$ac_ext
5124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5125 rm -f conftest.err conftest.$ac_ext
5126 if $ac_preproc_ok; then
5138 echo "$as_me:$LINENO: result: $CPP" >&5
5139 echo "${ECHO_T}$CPP" >&6
5141 for ac_c_preproc_warn_flag in '' yes
5143 # Use a header file that comes with gcc, so configuring glibc
5144 # with a fresh cross-compiler works.
5145 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5146 # <limits.h> exists even on freestanding compilers.
5147 # On the NeXT, cc -E runs the code through the compiler's parser,
5148 # not just through cpp. "Syntax error" is here to catch this case.
5149 cat >conftest.$ac_ext <<_ACEOF
5152 cat confdefs.h >>conftest.$ac_ext
5153 cat >>conftest.$ac_ext <<_ACEOF
5154 /* end confdefs.h. */
5156 # include <limits.h>
5158 # include <assert.h>
5162 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5163 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5165 grep -v '^ *+' conftest.er1 >conftest.err
5167 cat conftest.err >&5
5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169 (exit $ac_status); } >/dev/null; then
5170 if test -s conftest.err; then
5171 ac_cpp_err=$ac_c_preproc_warn_flag
5172 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5179 if test -z "$ac_cpp_err"; then
5182 echo "$as_me: failed program was:" >&5
5183 sed 's/^/| /' conftest.$ac_ext >&5
5185 # Broken: fails on valid input.
5188 rm -f conftest.err conftest.$ac_ext
5190 # OK, works on sane cases. Now check whether non-existent headers
5191 # can be detected and how.
5192 cat >conftest.$ac_ext <<_ACEOF
5195 cat confdefs.h >>conftest.$ac_ext
5196 cat >>conftest.$ac_ext <<_ACEOF
5197 /* end confdefs.h. */
5198 #include <ac_nonexistent.h>
5200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5203 grep -v '^ *+' conftest.er1 >conftest.err
5205 cat conftest.err >&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); } >/dev/null; then
5208 if test -s conftest.err; then
5209 ac_cpp_err=$ac_c_preproc_warn_flag
5210 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5217 if test -z "$ac_cpp_err"; then
5218 # Broken: success on invalid input.
5221 echo "$as_me: failed program was:" >&5
5222 sed 's/^/| /' conftest.$ac_ext >&5
5224 # Passes both tests.
5228 rm -f conftest.err conftest.$ac_ext
5231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5232 rm -f conftest.err conftest.$ac_ext
5233 if $ac_preproc_ok; then
5236 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5237 See \`config.log' for more details." >&5
5238 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5239 See \`config.log' for more details." >&2;}
5240 { (exit 1); exit 1; }; }
5244 ac_cpp='$CPP $CPPFLAGS'
5245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5250 echo "$as_me:$LINENO: checking for egrep" >&5
5251 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5252 if test "${ac_cv_prog_egrep+set}" = set; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5255 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5256 then ac_cv_prog_egrep='grep -E'
5257 else ac_cv_prog_egrep='egrep'
5260 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5261 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5262 EGREP=$ac_cv_prog_egrep
5265 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5266 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5267 if test "${ac_cv_header_stdc+set}" = set; then
5268 echo $ECHO_N "(cached) $ECHO_C" >&6
5270 cat >conftest.$ac_ext <<_ACEOF
5273 cat confdefs.h >>conftest.$ac_ext
5274 cat >>conftest.$ac_ext <<_ACEOF
5275 /* end confdefs.h. */
5289 rm -f conftest.$ac_objext
5290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5291 (eval $ac_compile) 2>conftest.er1
5293 grep -v '^ *+' conftest.er1 >conftest.err
5295 cat conftest.err >&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); } &&
5298 { ac_try='test -z "$ac_c_werror_flag"
5299 || test ! -s conftest.err'
5300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5304 (exit $ac_status); }; } &&
5305 { ac_try='test -s conftest.$ac_objext'
5306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); }; }; then
5311 ac_cv_header_stdc=yes
5313 echo "$as_me: failed program was:" >&5
5314 sed 's/^/| /' conftest.$ac_ext >&5
5316 ac_cv_header_stdc=no
5318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5320 if test $ac_cv_header_stdc = yes; then
5321 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5322 cat >conftest.$ac_ext <<_ACEOF
5325 cat confdefs.h >>conftest.$ac_ext
5326 cat >>conftest.$ac_ext <<_ACEOF
5327 /* end confdefs.h. */
5331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5332 $EGREP "memchr" >/dev/null 2>&1; then
5335 ac_cv_header_stdc=no
5341 if test $ac_cv_header_stdc = yes; then
5342 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5343 cat >conftest.$ac_ext <<_ACEOF
5346 cat confdefs.h >>conftest.$ac_ext
5347 cat >>conftest.$ac_ext <<_ACEOF
5348 /* end confdefs.h. */
5352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5353 $EGREP "free" >/dev/null 2>&1; then
5356 ac_cv_header_stdc=no
5362 if test $ac_cv_header_stdc = yes; then
5363 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5364 if test "$cross_compiling" = yes; then
5367 cat >conftest.$ac_ext <<_ACEOF
5370 cat confdefs.h >>conftest.$ac_ext
5371 cat >>conftest.$ac_ext <<_ACEOF
5372 /* end confdefs.h. */
5374 #if ((' ' & 0x0FF) == 0x020)
5375 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5376 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5378 # define ISLOWER(c) \
5379 (('a' <= (c) && (c) <= 'i') \
5380 || ('j' <= (c) && (c) <= 'r') \
5381 || ('s' <= (c) && (c) <= 'z'))
5382 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5385 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5390 for (i = 0; i < 256; i++)
5391 if (XOR (islower (i), ISLOWER (i))
5392 || toupper (i) != TOUPPER (i))
5397 rm -f conftest$ac_exeext
5398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5399 (eval $ac_link) 2>&5
5401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5407 (exit $ac_status); }; }; then
5410 echo "$as_me: program exited with status $ac_status" >&5
5411 echo "$as_me: failed program was:" >&5
5412 sed 's/^/| /' conftest.$ac_ext >&5
5415 ac_cv_header_stdc=no
5417 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5421 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5422 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5423 if test $ac_cv_header_stdc = yes; then
5425 cat >>confdefs.h <<\_ACEOF
5426 #define STDC_HEADERS 1
5431 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5441 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5442 inttypes.h stdint.h unistd.h
5444 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5445 echo "$as_me:$LINENO: checking for $ac_header" >&5
5446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5448 echo $ECHO_N "(cached) $ECHO_C" >&6
5450 cat >conftest.$ac_ext <<_ACEOF
5453 cat confdefs.h >>conftest.$ac_ext
5454 cat >>conftest.$ac_ext <<_ACEOF
5455 /* end confdefs.h. */
5456 $ac_includes_default
5458 #include <$ac_header>
5460 rm -f conftest.$ac_objext
5461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5462 (eval $ac_compile) 2>conftest.er1
5464 grep -v '^ *+' conftest.er1 >conftest.err
5466 cat conftest.err >&5
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } &&
5469 { ac_try='test -z "$ac_c_werror_flag"
5470 || test ! -s conftest.err'
5471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); }; } &&
5476 { ac_try='test -s conftest.$ac_objext'
5477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); }; }; then
5482 eval "$as_ac_Header=yes"
5484 echo "$as_me: failed program was:" >&5
5485 sed 's/^/| /' conftest.$ac_ext >&5
5487 eval "$as_ac_Header=no"
5489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5494 cat >>confdefs.h <<_ACEOF
5495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5505 for ac_header in unistd.h getopt.h
5507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5508 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5509 echo "$as_me:$LINENO: checking for $ac_header" >&5
5510 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5511 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5512 echo $ECHO_N "(cached) $ECHO_C" >&6
5514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5515 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5517 # Is the header compilable?
5518 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5519 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5520 cat >conftest.$ac_ext <<_ACEOF
5523 cat confdefs.h >>conftest.$ac_ext
5524 cat >>conftest.$ac_ext <<_ACEOF
5525 /* end confdefs.h. */
5526 $ac_includes_default
5527 #include <$ac_header>
5529 rm -f conftest.$ac_objext
5530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5531 (eval $ac_compile) 2>conftest.er1
5533 grep -v '^ *+' conftest.er1 >conftest.err
5535 cat conftest.err >&5
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); } &&
5538 { ac_try='test -z "$ac_c_werror_flag"
5539 || test ! -s conftest.err'
5540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; } &&
5545 { ac_try='test -s conftest.$ac_objext'
5546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5550 (exit $ac_status); }; }; then
5551 ac_header_compiler=yes
5553 echo "$as_me: failed program was:" >&5
5554 sed 's/^/| /' conftest.$ac_ext >&5
5556 ac_header_compiler=no
5558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5560 echo "${ECHO_T}$ac_header_compiler" >&6
5562 # Is the header present?
5563 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5565 cat >conftest.$ac_ext <<_ACEOF
5568 cat confdefs.h >>conftest.$ac_ext
5569 cat >>conftest.$ac_ext <<_ACEOF
5570 /* end confdefs.h. */
5571 #include <$ac_header>
5573 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5574 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5576 grep -v '^ *+' conftest.er1 >conftest.err
5578 cat conftest.err >&5
5579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5580 (exit $ac_status); } >/dev/null; then
5581 if test -s conftest.err; then
5582 ac_cpp_err=$ac_c_preproc_warn_flag
5583 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5590 if test -z "$ac_cpp_err"; then
5591 ac_header_preproc=yes
5593 echo "$as_me: failed program was:" >&5
5594 sed 's/^/| /' conftest.$ac_ext >&5
5596 ac_header_preproc=no
5598 rm -f conftest.err conftest.$ac_ext
5599 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5600 echo "${ECHO_T}$ac_header_preproc" >&6
5602 # So? What about this header?
5603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5608 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5609 ac_header_preproc=yes
5612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5617 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5619 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5623 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5626 ## ------------------------------------------ ##
5627 ## Report this to the AC_PACKAGE_NAME lists. ##
5628 ## ------------------------------------------ ##
5631 sed "s/^/$as_me: WARNING: /" >&2
5634 echo "$as_me:$LINENO: checking for $ac_header" >&5
5635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5637 echo $ECHO_N "(cached) $ECHO_C" >&6
5639 eval "$as_ac_Header=\$ac_header_preproc"
5641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5646 cat >>confdefs.h <<_ACEOF
5647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5655 if test "${ac_cv_header_netinet_in_h+set}" = set; then
5656 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
5657 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
5658 if test "${ac_cv_header_netinet_in_h+set}" = set; then
5659 echo $ECHO_N "(cached) $ECHO_C" >&6
5661 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
5662 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
5664 # Is the header compilable?
5665 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
5666 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
5667 cat >conftest.$ac_ext <<_ACEOF
5670 cat confdefs.h >>conftest.$ac_ext
5671 cat >>conftest.$ac_ext <<_ACEOF
5672 /* end confdefs.h. */
5673 $ac_includes_default
5674 #include <netinet/in.h>
5676 rm -f conftest.$ac_objext
5677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5678 (eval $ac_compile) 2>conftest.er1
5680 grep -v '^ *+' conftest.er1 >conftest.err
5682 cat conftest.err >&5
5683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5684 (exit $ac_status); } &&
5685 { ac_try='test -z "$ac_c_werror_flag"
5686 || test ! -s conftest.err'
5687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); }; } &&
5692 { ac_try='test -s conftest.$ac_objext'
5693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5697 (exit $ac_status); }; }; then
5698 ac_header_compiler=yes
5700 echo "$as_me: failed program was:" >&5
5701 sed 's/^/| /' conftest.$ac_ext >&5
5703 ac_header_compiler=no
5705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5706 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5707 echo "${ECHO_T}$ac_header_compiler" >&6
5709 # Is the header present?
5710 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
5711 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
5712 cat >conftest.$ac_ext <<_ACEOF
5715 cat confdefs.h >>conftest.$ac_ext
5716 cat >>conftest.$ac_ext <<_ACEOF
5717 /* end confdefs.h. */
5718 #include <netinet/in.h>
5720 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5721 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5723 grep -v '^ *+' conftest.er1 >conftest.err
5725 cat conftest.err >&5
5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 (exit $ac_status); } >/dev/null; then
5728 if test -s conftest.err; then
5729 ac_cpp_err=$ac_c_preproc_warn_flag
5730 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5737 if test -z "$ac_cpp_err"; then
5738 ac_header_preproc=yes
5740 echo "$as_me: failed program was:" >&5
5741 sed 's/^/| /' conftest.$ac_ext >&5
5743 ac_header_preproc=no
5745 rm -f conftest.err conftest.$ac_ext
5746 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5747 echo "${ECHO_T}$ac_header_preproc" >&6
5749 # So? What about this header?
5750 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5752 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
5753 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5754 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
5755 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
5756 ac_header_preproc=yes
5759 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
5760 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
5761 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
5762 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
5763 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
5764 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
5765 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
5766 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
5767 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
5768 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
5769 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
5770 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
5773 ## ------------------------------------------ ##
5774 ## Report this to the AC_PACKAGE_NAME lists. ##
5775 ## ------------------------------------------ ##
5778 sed "s/^/$as_me: WARNING: /" >&2
5781 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
5782 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
5783 if test "${ac_cv_header_netinet_in_h+set}" = set; then
5784 echo $ECHO_N "(cached) $ECHO_C" >&6
5786 ac_cv_header_netinet_in_h=$ac_header_preproc
5788 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
5789 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
5792 if test $ac_cv_header_netinet_in_h = yes; then
5793 cat >>confdefs.h <<\_ACEOF
5794 #define HAVE_NETINET_IN_H 1
5803 if test "$no_netinet_in" != "yes"; then
5804 echo "$as_me:$LINENO: checking for in_addr_t defined in netinet/in.h" >&5
5805 echo $ECHO_N "checking for in_addr_t defined in netinet/in.h... $ECHO_C" >&6
5806 cat >conftest.$ac_ext <<_ACEOF
5809 cat confdefs.h >>conftest.$ac_ext
5810 cat >>conftest.$ac_ext <<_ACEOF
5811 /* end confdefs.h. */
5812 #include <netinet/in.h>
5815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5816 $EGREP "in_addr_t" >/dev/null 2>&1; then
5817 ac_cv_type_in_addr_t=yes
5819 ac_cv_type_in_addr_t=no
5823 echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5
5824 echo "${ECHO_T}$ac_cv_type_in_addr_t" >&6
5827 if test "$ac_cv_type_in_addr_t" != "yes"; then
5828 cat >>confdefs.h <<\_ACEOF
5829 #define in_addr_t uint32_t
5835 case $PRO_C_INCLUDES in
5836 *INCLUDE='$(srcdir)'*) ;;
5837 *) PRO_C_INCLUDES=INCLUDE='$(srcdir)'\ $PRO_C_INCLUDES ;;
5843 *-I'$(SRCTOP)/include'*) ;;
5844 *) CPPFLAGS=-I'$(SRCTOP)/include'\ $CPPFLAGS ;;
5848 case $PRO_C_INCLUDES in
5849 *INCLUDE='$(SRCTOP)/include'*) ;;
5850 *) PRO_C_INCLUDES=INCLUDE='$(SRCTOP)/include'\ $PRO_C_INCLUDES ;;
5857 *-I'$(SRCTOP)/lib'*) ;;
5858 *) CPPFLAGS=-I'$(SRCTOP)/lib'\ $CPPFLAGS ;;
5862 case $PRO_C_INCLUDES in
5863 *INCLUDE='$(SRCTOP)/lib'*) ;;
5864 *) PRO_C_INCLUDES=INCLUDE='$(SRCTOP)/lib'\ $PRO_C_INCLUDES ;;
5871 *-I'$(BUILDTOP)/lib'*) ;;
5872 *) CPPFLAGS=-I'$(BUILDTOP)/lib'\ $CPPFLAGS ;;
5876 case $PRO_C_INCLUDES in
5877 *INCLUDE='$(BUILDTOP)/lib'*) ;;
5878 *) PRO_C_INCLUDES=INCLUDE='$(BUILDTOP)/lib'\ $PRO_C_INCLUDES ;;
5885 *-I'$(BUILDTOP)/db'*) ;;
5886 *) CPPFLAGS=-I'$(BUILDTOP)/db'\ $CPPFLAGS ;;
5890 case $PRO_C_INCLUDES in
5891 *INCLUDE='$(BUILDTOP)/db'*) ;;
5892 *) PRO_C_INCLUDES=INCLUDE='$(BUILDTOP)/db'\ $PRO_C_INCLUDES ;;
5900 *) CPPFLAGS=-I'$(srcdir)'\ $CPPFLAGS ;;
5904 case $PRO_C_INCLUDES in
5905 *INCLUDE='$(srcdir)'*) ;;
5906 *) PRO_C_INCLUDES=INCLUDE='$(srcdir)'\ $PRO_C_INCLUDES ;;
5910 LDFLAGS="$LDFLAGS -L\$(BUILDTOP)/lib $LIBPATH"
5911 KLIBS="$KRB4_LIBS $KRB5_LIBS -lcom_err $LIBS"
5913 if test "$hesiod" != no; then
5914 KLIBS="-lhesiod $KLIBS"
5916 KLIBS="$KRB4_LIBS $KRB5_LIBS -lcom_err $KLIBS"
5917 if test "$zephyr" != no; then
5918 KLIBS="-lzephyr $KLIBS"
5920 LIBS="-lmoira $KLIBS"
5923 MR_LIBDEP='$(BUILDTOP)/lib/libmoira.a'
5926 ac_config_files="$ac_config_files Makefile lib/Makefile include/Makefile clients/Makefile clients/lib/Makefile clients/addusr/Makefile clients/blanche/Makefile clients/chfn/Makefile clients/chpobox/Makefile clients/chsh/Makefile clients/mailmaint/Makefile clients/mitch/Makefile clients/moira/Makefile clients/mrcheck/Makefile clients/mrtest/Makefile clients/stanley/Makefile clients/stella/Makefile update/Makefile man/Makefile $WEBMOIRA_OUTPUT_FILES $SERVER_OUTPUT_FILES $WINAD_OUTPUT_FILES $AFS_OUTPUT_FILES $RSAREF_OUTPUT_FILES"
5927 cat >confcache <<\_ACEOF
5928 # This file is a shell script that caches the results of configure
5929 # tests run on this system so they can be shared between configure
5930 # scripts and configure runs, see configure's option --config-cache.
5931 # It is not useful on other systems. If it contains results you don't
5932 # want to keep, you may remove or edit it.
5934 # config.status only pays attention to the cache file if you give it
5935 # the --recheck option to rerun configure.
5937 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5938 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5943 # The following way of writing the cache mishandles newlines in values,
5944 # but we know of no workaround that is simple, portable, and efficient.
5945 # So, don't put newlines in cache variables' values.
5946 # Ultrix sh set writes to stderr and can't be redirected directly,
5947 # and sets the high bit in the cache file unless we assign to the vars.
5950 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5952 # `set' does not quote correctly, so add quotes (double-quote
5953 # substitution turns \\\\ into \\, and sed turns \\ into \).
5956 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5959 # `set' quotes correctly as required by POSIX, so do not add quotes.
5961 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5968 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5970 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5972 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5973 if test -w $cache_file; then
5974 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5975 cat confcache >$cache_file
5977 echo "not updating unwritable cache $cache_file"
5982 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5983 # Let make expand exec_prefix.
5984 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5986 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5987 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5988 # trailing colons and then remove the whole line if VPATH becomes empty
5989 # (actually we leave an empty line to preserve line numbers).
5990 if test "x$srcdir" = x.; then
5991 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5992 s/:*\$(srcdir):*/:/;
5993 s/:*\${srcdir}:*/:/;
5995 s/^\([^=]*=[ ]*\):*/\1/;
6001 # Transform confdefs.h into DEFS.
6002 # Protect against shell expansion while executing Makefile rules.
6003 # Protect against Makefile macro expansion.
6005 # If the first sed substitution is executed (which looks for macros that
6006 # take arguments), then we branch to the quote section. Otherwise,
6007 # look for a macro that doesn't take arguments.
6008 cat >confdef2opt.sed <<\_ACEOF
6011 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
6013 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
6017 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
6023 # We use echo to avoid assuming a particular line-breaking character.
6024 # The extra dot is to prevent the shell from consuming trailing
6025 # line-breaks from the sub-command output. A line-break within
6026 # single-quotes doesn't work because, if this script is created in a
6027 # platform that uses two characters for line-breaks (e.g., DOS), tr
6029 ac_LF_and_DOT=`echo; echo .`
6030 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
6031 rm -f confdef2opt.sed
6036 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6037 # 1. Remove the extension, and $U if already installed.
6038 ac_i=`echo "$ac_i" |
6039 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6041 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6042 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6046 LTLIBOBJS=$ac_ltlibobjs
6050 : ${CONFIG_STATUS=./config.status}
6051 ac_clean_files_save=$ac_clean_files
6052 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6053 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6054 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6055 cat >$CONFIG_STATUS <<_ACEOF
6057 # Generated by $as_me.
6058 # Run this file to recreate the current configuration.
6059 # Compiler output produced by configure, useful for debugging
6060 # configure, is in config.log if it exists.
6065 SHELL=\${CONFIG_SHELL-$SHELL}
6068 cat >>$CONFIG_STATUS <<\_ACEOF
6069 ## --------------------- ##
6070 ## M4sh Initialization. ##
6071 ## --------------------- ##
6073 # Be Bourne compatible
6074 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6077 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6078 # is contrary to our usage. Disable this feature.
6079 alias -g '${1+"$@"}'='"$@"'
6080 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6083 DUALCASE=1; export DUALCASE # for MKS sh
6085 # Support unset when possible.
6086 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6093 # Work around bugs in pre-3.0 UWIN ksh.
6094 $as_unset ENV MAIL MAILPATH
6101 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6102 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6103 LC_TELEPHONE LC_TIME
6105 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6106 eval $as_var=C; export $as_var
6112 # Required to use basename.
6113 if expr a : '\(a\)' >/dev/null 2>&1; then
6119 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6120 as_basename=basename
6126 # Name of the executable.
6127 as_me=`$as_basename "$0" ||
6128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6129 X"$0" : 'X\(//\)$' \| \
6130 X"$0" : 'X\(/\)$' \| \
6131 . : '\(.\)' 2>/dev/null ||
6133 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6134 /^X\/\(\/\/\)$/{ s//\1/; q; }
6135 /^X\/\(\/\).*/{ s//\1/; q; }
6139 # PATH needs CR, and LINENO needs CR and PATH.
6140 # Avoid depending upon Character Ranges.
6141 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6142 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6143 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6144 as_cr_digits='0123456789'
6145 as_cr_alnum=$as_cr_Letters$as_cr_digits
6147 # The user is always right.
6148 if test "${PATH_SEPARATOR+set}" != set; then
6149 echo "#! /bin/sh" >conf$$.sh
6150 echo "exit 0" >>conf$$.sh
6152 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6163 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6164 test "x$as_lineno_1" != "x$as_lineno_2" &&
6165 test "x$as_lineno_3" = "x$as_lineno_2" || {
6166 # Find who we are. Look in the path if we contain no path at all
6169 *[\\/]* ) as_myself=$0 ;;
6170 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 test -z "$as_dir" && as_dir=.
6175 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6180 # We did not find ourselves, most probably we were run as `sh COMMAND'
6181 # in which case we are not to be found in the path.
6182 if test "x$as_myself" = x; then
6185 if test ! -f "$as_myself"; then
6186 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6187 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6188 { (exit 1); exit 1; }; }
6190 case $CONFIG_SHELL in
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6196 test -z "$as_dir" && as_dir=.
6197 for as_base in sh bash ksh sh5; do
6200 if ("$as_dir/$as_base" -c '
6203 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6204 test "x$as_lineno_1" != "x$as_lineno_2" &&
6205 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6206 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6207 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6208 CONFIG_SHELL=$as_dir/$as_base
6210 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6218 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6219 # uniformly replaced by the line number. The first 'sed' inserts a
6220 # line-number line before each line; the second 'sed' does the real
6221 # work. The second script uses 'N' to pair each line-number line
6222 # with the numbered line, and appends trailing '-' during
6223 # substitution so that $LINENO is not a special case at line end.
6224 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6225 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6226 sed '=' <$as_myself |
6231 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6234 s,^['$as_cr_digits']*\n,,
6236 chmod +x $as_me.lineno ||
6237 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6238 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6239 { (exit 1); exit 1; }; }
6241 # Don't try to exec as it changes $[0], causing all sort of problems
6242 # (the dirname of $[0] is not the place where we might find the
6243 # original and so on. Autoconf is especially sensible to this).
6245 # Exit status is that of the last command.
6250 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6251 *c*,-n*) ECHO_N= ECHO_C='
6253 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6254 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6257 if expr a : '\(a\)' >/dev/null 2>&1; then
6263 rm -f conf$$ conf$$.exe conf$$.file
6265 if ln -s conf$$.file conf$$ 2>/dev/null; then
6266 # We could just check for DJGPP; but this test a) works b) is more generic
6267 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6268 if test -f conf$$.exe; then
6269 # Don't use ln at all; we don't have any links
6274 elif ln conf$$.file conf$$ 2>/dev/null; then
6279 rm -f conf$$ conf$$.exe conf$$.file
6281 if mkdir -p . 2>/dev/null; then
6284 test -d ./-p && rmdir ./-p
6288 as_executable_p="test -f"
6290 # Sed expression to map a string onto a valid CPP name.
6291 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6293 # Sed expression to map a string onto a valid variable name.
6294 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6298 # We need space, tab and new line, in precisely that order.
6308 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6309 # report actual input values of CONFIG_FILES etc. instead of their
6310 # values after options handling. Logging --version etc. is OK.
6314 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6315 ## Running $as_me. ##
6320 This file was extended by $as_me, which was
6321 generated by GNU Autoconf 2.59. Invocation command line was
6323 CONFIG_FILES = $CONFIG_FILES
6324 CONFIG_HEADERS = $CONFIG_HEADERS
6325 CONFIG_LINKS = $CONFIG_LINKS
6326 CONFIG_COMMANDS = $CONFIG_COMMANDS
6330 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6334 # Files that config.status was made for.
6335 if test -n "$ac_config_files"; then
6336 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6339 if test -n "$ac_config_headers"; then
6340 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6343 if test -n "$ac_config_links"; then
6344 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6347 if test -n "$ac_config_commands"; then
6348 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6351 cat >>$CONFIG_STATUS <<\_ACEOF
6354 \`$as_me' instantiates files from templates according to the
6355 current configuration.
6357 Usage: $0 [OPTIONS] [FILE]...
6359 -h, --help print this help, then exit
6360 -V, --version print version number, then exit
6361 -q, --quiet do not print progress messages
6362 -d, --debug don't remove temporary files
6363 --recheck update $as_me by reconfiguring in the same conditions
6364 --file=FILE[:TEMPLATE]
6365 instantiate the configuration file FILE
6367 Configuration files:
6370 Report bugs to <bug-autoconf@gnu.org>."
6373 cat >>$CONFIG_STATUS <<_ACEOF
6376 configured by $0, generated by GNU Autoconf 2.59,
6377 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6379 Copyright (C) 2003 Free Software Foundation, Inc.
6380 This config.status script is free software; the Free Software Foundation
6381 gives unlimited permission to copy, distribute and modify it."
6386 cat >>$CONFIG_STATUS <<\_ACEOF
6387 # If no file are specified by the user, then we need to provide default
6388 # value. By we need to know if files were specified by the user.
6394 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6395 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6403 *) # This is not an option, so the user has probably given explicit
6406 ac_need_defaults=false;;
6410 # Handling of the options.
6412 cat >>$CONFIG_STATUS <<\_ACEOF
6413 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6415 --version | --vers* | -V )
6416 echo "$ac_cs_version"; exit 0 ;;
6418 # Conflict between --help and --header
6419 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6420 Try \`$0 --help' for more information." >&5
6421 echo "$as_me: error: ambiguous option: $1
6422 Try \`$0 --help' for more information." >&2;}
6423 { (exit 1); exit 1; }; };;
6424 --help | --hel | -h )
6425 echo "$ac_cs_usage"; exit 0 ;;
6426 --debug | --d* | -d )
6428 --file | --fil | --fi | --f )
6430 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6431 ac_need_defaults=false;;
6432 --header | --heade | --head | --hea )
6434 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6435 ac_need_defaults=false;;
6436 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6437 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6441 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6442 Try \`$0 --help' for more information." >&5
6443 echo "$as_me: error: unrecognized option: $1
6444 Try \`$0 --help' for more information." >&2;}
6445 { (exit 1); exit 1; }; } ;;
6447 *) ac_config_targets="$ac_config_targets $1" ;;
6453 ac_configure_extra_args=
6455 if $ac_cs_silent; then
6457 ac_configure_extra_args="$ac_configure_extra_args --silent"
6461 cat >>$CONFIG_STATUS <<_ACEOF
6462 if \$ac_cs_recheck; then
6463 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6464 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6473 cat >>$CONFIG_STATUS <<\_ACEOF
6474 for ac_config_target in $ac_config_targets
6476 case "$ac_config_target" in
6477 # Handling of arguments.
6478 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6479 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
6480 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
6481 "clients/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/Makefile" ;;
6482 "clients/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/lib/Makefile" ;;
6483 "clients/addusr/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/addusr/Makefile" ;;
6484 "clients/blanche/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/blanche/Makefile" ;;
6485 "clients/chfn/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/chfn/Makefile" ;;
6486 "clients/chpobox/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/chpobox/Makefile" ;;
6487 "clients/chsh/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/chsh/Makefile" ;;
6488 "clients/mailmaint/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/mailmaint/Makefile" ;;
6489 "clients/mitch/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/mitch/Makefile" ;;
6490 "clients/moira/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/moira/Makefile" ;;
6491 "clients/mrcheck/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/mrcheck/Makefile" ;;
6492 "clients/mrtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/mrtest/Makefile" ;;
6493 "clients/stanley/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/stanley/Makefile" ;;
6494 "clients/stella/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/stella/Makefile" ;;
6495 "update/Makefile" ) CONFIG_FILES="$CONFIG_FILES update/Makefile" ;;
6496 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
6497 "$WEBMOIRA_OUTPUT_FILES" ) CONFIG_FILES="$CONFIG_FILES $WEBMOIRA_OUTPUT_FILES" ;;
6498 "$SERVER_OUTPUT_FILES" ) CONFIG_FILES="$CONFIG_FILES $SERVER_OUTPUT_FILES" ;;
6499 "$WINAD_OUTPUT_FILES" ) CONFIG_FILES="$CONFIG_FILES $WINAD_OUTPUT_FILES" ;;
6500 "$AFS_OUTPUT_FILES" ) CONFIG_FILES="$CONFIG_FILES $AFS_OUTPUT_FILES" ;;
6501 "$RSAREF_OUTPUT_FILES" ) CONFIG_FILES="$CONFIG_FILES $RSAREF_OUTPUT_FILES" ;;
6502 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6503 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6504 { (exit 1); exit 1; }; };;
6508 # If the user did not use the arguments to specify the items to instantiate,
6509 # then the envvar interface is used. Set only those that are not.
6510 # We use the long form for the default assignment because of an extremely
6511 # bizarre bug on SunOS 4.1.3.
6512 if $ac_need_defaults; then
6513 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6516 # Have a temporary directory for convenience. Make it in the build tree
6517 # simply because there is no reason to put it here, and in addition,
6518 # creating and moving files from /tmp can sometimes cause problems.
6519 # Create a temporary directory, and hook for its removal unless debugging.
6522 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6523 trap '{ (exit 1); exit 1; }' 1 2 13 15
6526 # Create a (secure) tmp directory for tmp files.
6529 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6530 test -n "$tmp" && test -d "$tmp"
6533 tmp=./confstat$$-$RANDOM
6534 (umask 077 && mkdir $tmp)
6537 echo "$me: cannot create a temporary directory in ." >&2
6538 { (exit 1); exit 1; }
6543 cat >>$CONFIG_STATUS <<_ACEOF
6546 # CONFIG_FILES section.
6549 # No need to generate the scripts if there are no CONFIG_FILES.
6550 # This happens for instance when ./config.status config.h
6551 if test -n "\$CONFIG_FILES"; then
6552 # Protect against being on the right side of a sed subst in config.status.
6553 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6554 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6555 s,@SHELL@,$SHELL,;t t
6556 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6557 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6558 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6559 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6560 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6561 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6562 s,@exec_prefix@,$exec_prefix,;t t
6563 s,@prefix@,$prefix,;t t
6564 s,@program_transform_name@,$program_transform_name,;t t
6565 s,@bindir@,$bindir,;t t
6566 s,@sbindir@,$sbindir,;t t
6567 s,@libexecdir@,$libexecdir,;t t
6568 s,@datadir@,$datadir,;t t
6569 s,@sysconfdir@,$sysconfdir,;t t
6570 s,@sharedstatedir@,$sharedstatedir,;t t
6571 s,@localstatedir@,$localstatedir,;t t
6572 s,@libdir@,$libdir,;t t
6573 s,@includedir@,$includedir,;t t
6574 s,@oldincludedir@,$oldincludedir,;t t
6575 s,@infodir@,$infodir,;t t
6576 s,@mandir@,$mandir,;t t
6577 s,@build_alias@,$build_alias,;t t
6578 s,@host_alias@,$host_alias,;t t
6579 s,@target_alias@,$target_alias,;t t
6581 s,@ECHO_C@,$ECHO_C,;t t
6582 s,@ECHO_N@,$ECHO_N,;t t
6583 s,@ECHO_T@,$ECHO_T,;t t
6585 s,@build@,$build,;t t
6586 s,@build_cpu@,$build_cpu,;t t
6587 s,@build_vendor@,$build_vendor,;t t
6588 s,@build_os@,$build_os,;t t
6590 s,@host_cpu@,$host_cpu,;t t
6591 s,@host_vendor@,$host_vendor,;t t
6592 s,@host_os@,$host_os,;t t
6593 s,@SO_LDFLAGS@,$SO_LDFLAGS,;t t
6595 s,@CFLAGS@,$CFLAGS,;t t
6596 s,@LDFLAGS@,$LDFLAGS,;t t
6597 s,@CPPFLAGS@,$CPPFLAGS,;t t
6598 s,@ac_ct_CC@,$ac_ct_CC,;t t
6599 s,@EXEEXT@,$EXEEXT,;t t
6600 s,@OBJEXT@,$OBJEXT,;t t
6601 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6602 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6603 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6604 s,@RANLIB@,$RANLIB,;t t
6605 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6606 s,@SET_MAKE@,$SET_MAKE,;t t
6607 s,@mrbindir@,$mrbindir,;t t
6608 s,@subdirs@,$subdirs,;t t
6609 s,@COM_ERR_SUBDIR@,$COM_ERR_SUBDIR,;t t
6610 s,@COMPILE_ET@,$COMPILE_ET,;t t
6611 s,@REG_SVR_DEFS@,$REG_SVR_DEFS,;t t
6612 s,@REG_SVR_INCLUDES@,$REG_SVR_INCLUDES,;t t
6613 s,@REG_SVR_LIBS@,$REG_SVR_LIBS,;t t
6614 s,@RSAREF_CPPFLAGS@,$RSAREF_CPPFLAGS,;t t
6615 s,@RSAREF_LIBS@,$RSAREF_LIBS,;t t
6616 s,@RSAREF_SUBDIRS@,$RSAREF_SUBDIRS,;t t
6617 s,@RSAREF_LIBDEP@,$RSAREF_LIBDEP,;t t
6618 s,@PRO_C@,$PRO_C,;t t
6619 s,@PRO_C_DEFS@,$PRO_C_DEFS,;t t
6620 s,@PRO_C_INCLUDES@,$PRO_C_INCLUDES,;t t
6621 s,@PRO_C_OPTS@,$PRO_C_OPTS,;t t
6622 s,@SQL_LIBS@,$SQL_LIBS,;t t
6623 s,@SVRSUBDIRS@,$SVRSUBDIRS,;t t
6624 s,@JAVA_CPPFLAGS@,$JAVA_CPPFLAGS,;t t
6625 s,@WEBMOIRA_SUBDIRS@,$WEBMOIRA_SUBDIRS,;t t
6626 s,@LDAP_CPPFLAGS@,$LDAP_CPPFLAGS,;t t
6627 s,@LDAP_LIBS@,$LDAP_LIBS,;t t
6628 s,@WINAD_SUBDIRS@,$WINAD_SUBDIRS,;t t
6629 s,@AFS_CPPFLAGS@,$AFS_CPPFLAGS,;t t
6630 s,@AFS_PRO_C_INCLUDES@,$AFS_PRO_C_INCLUDES,;t t
6631 s,@AFS_LIBS@,$AFS_LIBS,;t t
6632 s,@AFS_DIR@,$AFS_DIR,;t t
6633 s,@AFS_SUBDIRS@,$AFS_SUBDIRS,;t t
6634 s,@AFS_SYNCDIR@,$AFS_SYNCDIR,;t t
6635 s,@READLINE_CPPFLAGS@,$READLINE_CPPFLAGS,;t t
6636 s,@READLINE_LIBS@,$READLINE_LIBS,;t t
6637 s,@CURSES_CPPFLAGS@,$CURSES_CPPFLAGS,;t t
6638 s,@CURSES_LIBS@,$CURSES_LIBS,;t t
6639 s,@CURSES_SUBDIRS@,$CURSES_SUBDIRS,;t t
6641 s,@EGREP@,$EGREP,;t t
6642 s,@KLIBS@,$KLIBS,;t t
6643 s,@MR_LIBDEP@,$MR_LIBDEP,;t t
6644 s,@LIBOBJS@,$LIBOBJS,;t t
6645 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6650 cat >>$CONFIG_STATUS <<\_ACEOF
6651 # Split the substitutions into bite-sized pieces for seds with
6652 # small command number limits, like on Digital OSF/1 and HP-UX.
6654 ac_sed_frag=1 # Number of current file.
6655 ac_beg=1 # First line for current file.
6656 ac_end=$ac_max_sed_lines # Line after last line for current file.
6659 while $ac_more_lines; do
6660 if test $ac_beg -gt 1; then
6661 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6663 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6665 if test ! -s $tmp/subs.frag; then
6668 # The purpose of the label and of the branching condition is to
6669 # speed up the sed processing (if there are no `@' at all, there
6670 # is no need to browse any of the substitutions).
6671 # These are the two extra sed commands mentioned above.
6673 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6674 if test -z "$ac_sed_cmds"; then
6675 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6677 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6679 ac_sed_frag=`expr $ac_sed_frag + 1`
6681 ac_end=`expr $ac_end + $ac_max_sed_lines`
6684 if test -z "$ac_sed_cmds"; then
6687 fi # test -n "$CONFIG_FILES"
6690 cat >>$CONFIG_STATUS <<\_ACEOF
6691 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6692 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6694 - | *:- | *:-:* ) # input from stdin
6696 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6697 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6698 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6699 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6700 * ) ac_file_in=$ac_file.in ;;
6703 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6704 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6705 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6706 X"$ac_file" : 'X\(//\)[^/]' \| \
6707 X"$ac_file" : 'X\(//\)$' \| \
6708 X"$ac_file" : 'X\(/\)' \| \
6709 . : '\(.\)' 2>/dev/null ||
6711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6712 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6713 /^X\(\/\/\)$/{ s//\1/; q; }
6714 /^X\(\/\).*/{ s//\1/; q; }
6716 { if $as_mkdir_p; then
6721 while test ! -d "$as_dir"; do
6722 as_dirs="$as_dir $as_dirs"
6723 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6725 X"$as_dir" : 'X\(//\)[^/]' \| \
6726 X"$as_dir" : 'X\(//\)$' \| \
6727 X"$as_dir" : 'X\(/\)' \| \
6728 . : '\(.\)' 2>/dev/null ||
6730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6731 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6732 /^X\(\/\/\)$/{ s//\1/; q; }
6733 /^X\(\/\).*/{ s//\1/; q; }
6736 test ! -n "$as_dirs" || mkdir $as_dirs
6737 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6738 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6739 { (exit 1); exit 1; }; }; }
6743 if test "$ac_dir" != .; then
6744 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6745 # A "../" for each directory in $ac_dir_suffix.
6746 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6748 ac_dir_suffix= ac_top_builddir=
6752 .) # No --srcdir option. We are building in place.
6754 if test -z "$ac_top_builddir"; then
6757 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6759 [\\/]* | ?:[\\/]* ) # Absolute path.
6760 ac_srcdir=$srcdir$ac_dir_suffix;
6761 ac_top_srcdir=$srcdir ;;
6763 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6764 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6767 # Do not use `cd foo && pwd` to compute absolute paths, because
6768 # the directories may not exist.
6770 .) ac_abs_builddir="$ac_dir";;
6773 .) ac_abs_builddir=`pwd`;;
6774 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6775 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6778 case $ac_abs_builddir in
6779 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6781 case ${ac_top_builddir}. in
6782 .) ac_abs_top_builddir=$ac_abs_builddir;;
6783 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6784 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6787 case $ac_abs_builddir in
6788 .) ac_abs_srcdir=$ac_srcdir;;
6791 .) ac_abs_srcdir=$ac_abs_builddir;;
6792 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6793 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6796 case $ac_abs_builddir in
6797 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6799 case $ac_top_srcdir in
6800 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6801 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6802 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6808 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6809 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6812 if test x"$ac_file" != x-; then
6813 { echo "$as_me:$LINENO: creating $ac_file" >&5
6814 echo "$as_me: creating $ac_file" >&6;}
6817 # Let's still pretend it is `configure' which instantiates (i.e., don't
6818 # use $as_me), people would be surprised to read:
6819 # /* config.h. Generated by config.status. */
6820 if test x"$ac_file" = x-; then
6823 configure_input="$ac_file. "
6825 configure_input=$configure_input"Generated from `echo $ac_file_in |
6826 sed 's,.*/,,'` by configure."
6828 # First look for the input files in the build tree, otherwise in the
6830 ac_file_inputs=`IFS=:
6831 for f in $ac_file_in; do
6833 -) echo $tmp/stdin ;;
6835 # Absolute (can't be DOS-style, as IFS=:)
6836 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6837 echo "$as_me: error: cannot find input file: $f" >&2;}
6838 { (exit 1); exit 1; }; }
6841 if test -f "$f"; then
6844 elif test -f "$srcdir/$f"; then
6849 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6850 echo "$as_me: error: cannot find input file: $f" >&2;}
6851 { (exit 1); exit 1; }; }
6854 done` || { (exit 1); exit 1; }
6856 cat >>$CONFIG_STATUS <<_ACEOF
6860 cat >>$CONFIG_STATUS <<\_ACEOF
6862 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6863 s,@configure_input@,$configure_input,;t t
6864 s,@srcdir@,$ac_srcdir,;t t
6865 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6866 s,@top_srcdir@,$ac_top_srcdir,;t t
6867 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6868 s,@builddir@,$ac_builddir,;t t
6869 s,@abs_builddir@,$ac_abs_builddir,;t t
6870 s,@top_builddir@,$ac_top_builddir,;t t
6871 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6872 s,@INSTALL@,$ac_INSTALL,;t t
6873 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6875 if test x"$ac_file" != x-; then
6876 mv $tmp/out $ac_file
6885 cat >>$CONFIG_STATUS <<\_ACEOF
6887 { (exit 0); exit 0; }
6889 chmod +x $CONFIG_STATUS
6890 ac_clean_files=$ac_clean_files_save
6893 # configure is writing to config.log, and then calls config.status.
6894 # config.status does its own redirection, appending to config.log.
6895 # Unfortunately, on DOS this fails, as config.log is still kept open
6896 # by configure, so config.status won't be able to write to it; its
6897 # output is simply discarded. So we exec the FD to /dev/null,
6898 # effectively closing config.log, so it can be properly (re)opened and
6899 # appended to by config.status. When coming back to configure, we
6900 # need to make the FD available again.
6901 if test "$no_create" != yes; then
6903 ac_config_status_args=
6904 test "$silent" = yes &&
6905 ac_config_status_args="$ac_config_status_args --quiet"
6907 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6909 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6910 # would make configure fail if this is the last instruction.
6911 $ac_cs_success || { (exit 1); exit 1; }
6915 # CONFIG_SUBDIRS section.
6917 if test "$no_recursion" != yes; then
6919 # Remove --cache-file and --srcdir arguments so they do not pile up.
6920 ac_sub_configure_args=
6922 for ac_arg in $ac_configure_args; do
6923 if test -n "$ac_prev"; then
6928 -cache-file | --cache-file | --cache-fil | --cache-fi \
6929 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6930 ac_prev=cache_file ;;
6931 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6932 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6935 --config-cache | -C)
6937 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6939 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6941 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6943 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6945 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
6949 # Always prepend --prefix to ensure using the same prefix
6950 # in subdir configurations.
6951 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
6954 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6956 # Do not complain, so a configure script can configure whichever
6957 # parts of a large source tree are present.
6958 test -d $srcdir/$ac_dir || continue
6960 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
6961 echo "$as_me: configuring in $ac_dir" >&6;}
6962 { if $as_mkdir_p; then
6967 while test ! -d "$as_dir"; do
6968 as_dirs="$as_dir $as_dirs"
6969 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6970 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6971 X"$as_dir" : 'X\(//\)[^/]' \| \
6972 X"$as_dir" : 'X\(//\)$' \| \
6973 X"$as_dir" : 'X\(/\)' \| \
6974 . : '\(.\)' 2>/dev/null ||
6976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6977 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6978 /^X\(\/\/\)$/{ s//\1/; q; }
6979 /^X\(\/\).*/{ s//\1/; q; }
6982 test ! -n "$as_dirs" || mkdir $as_dirs
6983 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6984 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6985 { (exit 1); exit 1; }; }; }
6989 if test "$ac_dir" != .; then
6990 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6991 # A "../" for each directory in $ac_dir_suffix.
6992 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6994 ac_dir_suffix= ac_top_builddir=
6998 .) # No --srcdir option. We are building in place.
7000 if test -z "$ac_top_builddir"; then
7003 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7005 [\\/]* | ?:[\\/]* ) # Absolute path.
7006 ac_srcdir=$srcdir$ac_dir_suffix;
7007 ac_top_srcdir=$srcdir ;;
7009 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7010 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7013 # Do not use `cd foo && pwd` to compute absolute paths, because
7014 # the directories may not exist.
7016 .) ac_abs_builddir="$ac_dir";;
7019 .) ac_abs_builddir=`pwd`;;
7020 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7021 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7024 case $ac_abs_builddir in
7025 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7027 case ${ac_top_builddir}. in
7028 .) ac_abs_top_builddir=$ac_abs_builddir;;
7029 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7030 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7033 case $ac_abs_builddir in
7034 .) ac_abs_srcdir=$ac_srcdir;;
7037 .) ac_abs_srcdir=$ac_abs_builddir;;
7038 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7039 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7042 case $ac_abs_builddir in
7043 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7045 case $ac_top_srcdir in
7046 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7047 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7048 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7055 # Check for guested configure; otherwise get Cygnus style configure.
7056 if test -f $ac_srcdir/configure.gnu; then
7057 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
7058 elif test -f $ac_srcdir/configure; then
7059 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
7060 elif test -f $ac_srcdir/configure.in; then
7061 ac_sub_configure=$ac_configure
7063 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7064 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7068 # The recursion is here.
7069 if test -n "$ac_sub_configure"; then
7070 # Make the cache file name correct relative to the subdirectory.
7072 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
7074 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
7077 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7078 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7079 # The eval makes quoting arguments work.
7080 eval $ac_sub_configure $ac_sub_configure_args \
7081 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
7082 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7083 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7084 { (exit 1); exit 1; }; }