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 (for reg_svr)
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 ;;
2559 *-I/usr/athena/include/kerberosIV*) ;;
2560 *) CPPFLAGS=-I/usr/athena/include/kerberosIV\ $CPPFLAGS ;;
2564 case $PRO_C_INCLUDES in
2565 *INCLUDE=/usr/athena/include/kerberosIV*) ;;
2566 *) PRO_C_INCLUDES=INCLUDE=/usr/athena/include/kerberosIV\ $PRO_C_INCLUDES ;;
2572 *-L/usr/athena/lib*) ;;
2573 *) LIBPATH=-L/usr/athena/lib\ $LIBPATH ;;
2578 # We currently just don't support changing this
2582 # Athena-local policy decisions
2583 echo "$as_me:$LINENO: checking for Athena" >&5
2584 echo $ECHO_N "checking for Athena... $ECHO_C" >&6
2585 # Check whether --enable-athena or --disable-athena was given.
2586 if test "${enable_athena+set}" = set; then
2587 enableval="$enable_athena"
2590 if test "$athena" = true; then
2596 echo "$as_me:$LINENO: result: $enableval" >&5
2597 echo "${ECHO_T}$enableval" >&6
2598 if test "$enableval" = yes; then
2600 cat >>confdefs.h <<\_ACEOF
2607 *) PRO_C_DEFS=DEFINE=ATHENA\ $PRO_C_DEFS ;;
2613 # Networking libraries
2614 { echo "$as_me:$LINENO: checking network libraries......" >&5
2615 echo "$as_me: checking network libraries......" >&6;}
2616 echo "$as_me:$LINENO: checking for gethostbyname" >&5
2617 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
2618 if test "${ac_cv_func_gethostbyname+set}" = set; then
2619 echo $ECHO_N "(cached) $ECHO_C" >&6
2621 cat >conftest.$ac_ext <<_ACEOF
2624 cat confdefs.h >>conftest.$ac_ext
2625 cat >>conftest.$ac_ext <<_ACEOF
2626 /* end confdefs.h. */
2627 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
2628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2629 #define gethostbyname innocuous_gethostbyname
2631 /* System header to define __stub macros and hopefully few prototypes,
2632 which can conflict with char gethostbyname (); below.
2633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2634 <limits.h> exists even on freestanding compilers. */
2637 # include <limits.h>
2639 # include <assert.h>
2642 #undef gethostbyname
2644 /* Override any gcc2 internal prototype to avoid an error. */
2649 /* We use char because int might match the return type of a gcc2
2650 builtin and then its argument prototype would still apply. */
2651 char gethostbyname ();
2652 /* The GNU C library defines this for functions which it implements
2653 to always fail with ENOSYS. Some functions are actually named
2654 something starting with __ and the normal name is an alias. */
2655 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
2658 char (*f) () = gethostbyname;
2667 return f != gethostbyname;
2672 rm -f conftest.$ac_objext conftest$ac_exeext
2673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2674 (eval $ac_link) 2>conftest.er1
2676 grep -v '^ *+' conftest.er1 >conftest.err
2678 cat conftest.err >&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); } &&
2681 { ac_try='test -z "$ac_c_werror_flag"
2682 || test ! -s conftest.err'
2683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2687 (exit $ac_status); }; } &&
2688 { ac_try='test -s conftest$ac_exeext'
2689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); }; }; then
2694 ac_cv_func_gethostbyname=yes
2696 echo "$as_me: failed program was:" >&5
2697 sed 's/^/| /' conftest.$ac_ext >&5
2699 ac_cv_func_gethostbyname=no
2701 rm -f conftest.err conftest.$ac_objext \
2702 conftest$ac_exeext conftest.$ac_ext
2704 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
2705 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
2706 if test $ac_cv_func_gethostbyname = yes; then
2710 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
2711 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
2712 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
2713 echo $ECHO_N "(cached) $ECHO_C" >&6
2715 ac_check_lib_save_LIBS=$LIBS
2717 cat >conftest.$ac_ext <<_ACEOF
2720 cat confdefs.h >>conftest.$ac_ext
2721 cat >>conftest.$ac_ext <<_ACEOF
2722 /* end confdefs.h. */
2724 /* Override any gcc2 internal prototype to avoid an error. */
2728 /* We use char because int might match the return type of a gcc2
2729 builtin and then its argument prototype would still apply. */
2730 char gethostbyname ();
2739 rm -f conftest.$ac_objext conftest$ac_exeext
2740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2741 (eval $ac_link) 2>conftest.er1
2743 grep -v '^ *+' conftest.er1 >conftest.err
2745 cat conftest.err >&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); } &&
2748 { ac_try='test -z "$ac_c_werror_flag"
2749 || test ! -s conftest.err'
2750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }; } &&
2755 { ac_try='test -s conftest$ac_exeext'
2756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); }; }; then
2761 ac_cv_lib_nsl_gethostbyname=yes
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2766 ac_cv_lib_nsl_gethostbyname=no
2768 rm -f conftest.err conftest.$ac_objext \
2769 conftest$ac_exeext conftest.$ac_ext
2770 LIBS=$ac_check_lib_save_LIBS
2772 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
2773 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
2774 if test $ac_cv_lib_nsl_gethostbyname = yes; then
2775 cat >>confdefs.h <<_ACEOF
2776 #define HAVE_LIBNSL 1
2783 echo "$as_me:$LINENO: checking for gethostbyname in -lresolv" >&5
2784 echo $ECHO_N "checking for gethostbyname in -lresolv... $ECHO_C" >&6
2785 if test "${ac_cv_lib_resolv_gethostbyname+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2788 ac_check_lib_save_LIBS=$LIBS
2789 LIBS="-lresolv $LIBS"
2791 cat >conftest.$ac_ext <<_ACEOF
2794 cat confdefs.h >>conftest.$ac_ext
2795 cat >>conftest.$ac_ext <<_ACEOF
2796 /* end confdefs.h. */
2798 /* Override any gcc2 internal prototype to avoid an error. */
2802 /* We use char because int might match the return type of a gcc2
2803 builtin and then its argument prototype would still apply. */
2804 char gethostbyname ();
2813 rm -f conftest.$ac_objext conftest$ac_exeext
2814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2815 (eval $ac_link) 2>conftest.er1
2817 grep -v '^ *+' conftest.er1 >conftest.err
2819 cat conftest.err >&5
2820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821 (exit $ac_status); } &&
2822 { ac_try='test -z "$ac_c_werror_flag"
2823 || test ! -s conftest.err'
2824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); }; } &&
2829 { ac_try='test -s conftest$ac_exeext'
2830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); }; }; then
2835 ac_cv_lib_resolv_gethostbyname=yes
2837 echo "$as_me: failed program was:" >&5
2838 sed 's/^/| /' conftest.$ac_ext >&5
2840 ac_cv_lib_resolv_gethostbyname=no
2842 rm -f conftest.err conftest.$ac_objext \
2843 conftest$ac_exeext conftest.$ac_ext
2844 LIBS=$ac_check_lib_save_LIBS
2846 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_gethostbyname" >&5
2847 echo "${ECHO_T}$ac_cv_lib_resolv_gethostbyname" >&6
2848 if test $ac_cv_lib_resolv_gethostbyname = yes; then
2849 cat >>confdefs.h <<_ACEOF
2850 #define HAVE_LIBRESOLV 1
2853 LIBS="-lresolv $LIBS"
2861 echo "$as_me:$LINENO: checking for socket" >&5
2862 echo $ECHO_N "checking for socket... $ECHO_C" >&6
2863 if test "${ac_cv_func_socket+set}" = set; then
2864 echo $ECHO_N "(cached) $ECHO_C" >&6
2866 cat >conftest.$ac_ext <<_ACEOF
2869 cat confdefs.h >>conftest.$ac_ext
2870 cat >>conftest.$ac_ext <<_ACEOF
2871 /* end confdefs.h. */
2872 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
2873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2874 #define socket innocuous_socket
2876 /* System header to define __stub macros and hopefully few prototypes,
2877 which can conflict with char socket (); below.
2878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2879 <limits.h> exists even on freestanding compilers. */
2882 # include <limits.h>
2884 # include <assert.h>
2889 /* Override any gcc2 internal prototype to avoid an error. */
2894 /* We use char because int might match the return type of a gcc2
2895 builtin and then its argument prototype would still apply. */
2897 /* The GNU C library defines this for functions which it implements
2898 to always fail with ENOSYS. Some functions are actually named
2899 something starting with __ and the normal name is an alias. */
2900 #if defined (__stub_socket) || defined (__stub___socket)
2903 char (*f) () = socket;
2917 rm -f conftest.$ac_objext conftest$ac_exeext
2918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2919 (eval $ac_link) 2>conftest.er1
2921 grep -v '^ *+' conftest.er1 >conftest.err
2923 cat conftest.err >&5
2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); } &&
2926 { ac_try='test -z "$ac_c_werror_flag"
2927 || test ! -s conftest.err'
2928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2932 (exit $ac_status); }; } &&
2933 { ac_try='test -s conftest$ac_exeext'
2934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2938 (exit $ac_status); }; }; then
2939 ac_cv_func_socket=yes
2941 echo "$as_me: failed program was:" >&5
2942 sed 's/^/| /' conftest.$ac_ext >&5
2944 ac_cv_func_socket=no
2946 rm -f conftest.err conftest.$ac_objext \
2947 conftest$ac_exeext conftest.$ac_ext
2949 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
2950 echo "${ECHO_T}$ac_cv_func_socket" >&6
2951 if test $ac_cv_func_socket = yes; then
2955 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
2956 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
2957 if test "${ac_cv_lib_socket_socket+set}" = set; then
2958 echo $ECHO_N "(cached) $ECHO_C" >&6
2960 ac_check_lib_save_LIBS=$LIBS
2961 LIBS="-lsocket $LIBS"
2962 cat >conftest.$ac_ext <<_ACEOF
2965 cat confdefs.h >>conftest.$ac_ext
2966 cat >>conftest.$ac_ext <<_ACEOF
2967 /* end confdefs.h. */
2969 /* Override any gcc2 internal prototype to avoid an error. */
2973 /* We use char because int might match the return type of a gcc2
2974 builtin and then its argument prototype would still apply. */
2984 rm -f conftest.$ac_objext conftest$ac_exeext
2985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2986 (eval $ac_link) 2>conftest.er1
2988 grep -v '^ *+' conftest.er1 >conftest.err
2990 cat conftest.err >&5
2991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2992 (exit $ac_status); } &&
2993 { ac_try='test -z "$ac_c_werror_flag"
2994 || test ! -s conftest.err'
2995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); }; } &&
3000 { ac_try='test -s conftest$ac_exeext'
3001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3005 (exit $ac_status); }; }; then
3006 ac_cv_lib_socket_socket=yes
3008 echo "$as_me: failed program was:" >&5
3009 sed 's/^/| /' conftest.$ac_ext >&5
3011 ac_cv_lib_socket_socket=no
3013 rm -f conftest.err conftest.$ac_objext \
3014 conftest$ac_exeext conftest.$ac_ext
3015 LIBS=$ac_check_lib_save_LIBS
3017 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3018 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3019 if test $ac_cv_lib_socket_socket = yes; then
3020 cat >>confdefs.h <<_ACEOF
3021 #define HAVE_LIBSOCKET 1
3024 LIBS="-lsocket $LIBS"
3027 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
3028 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
3029 if test "${ac_cv_lib_socket_socket+set}" = set; then
3030 echo $ECHO_N "(cached) $ECHO_C" >&6
3032 ac_check_lib_save_LIBS=$LIBS
3033 LIBS="-lsocket -lnsl $LIBS"
3034 cat >conftest.$ac_ext <<_ACEOF
3037 cat confdefs.h >>conftest.$ac_ext
3038 cat >>conftest.$ac_ext <<_ACEOF
3039 /* end confdefs.h. */
3041 /* Override any gcc2 internal prototype to avoid an error. */
3045 /* We use char because int might match the return type of a gcc2
3046 builtin and then its argument prototype would still apply. */
3056 rm -f conftest.$ac_objext conftest$ac_exeext
3057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3058 (eval $ac_link) 2>conftest.er1
3060 grep -v '^ *+' conftest.er1 >conftest.err
3062 cat conftest.err >&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); } &&
3065 { ac_try='test -z "$ac_c_werror_flag"
3066 || test ! -s conftest.err'
3067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); }; } &&
3072 { ac_try='test -s conftest$ac_exeext'
3073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3077 (exit $ac_status); }; }; then
3078 ac_cv_lib_socket_socket=yes
3080 echo "$as_me: failed program was:" >&5
3081 sed 's/^/| /' conftest.$ac_ext >&5
3083 ac_cv_lib_socket_socket=no
3085 rm -f conftest.err conftest.$ac_objext \
3086 conftest$ac_exeext conftest.$ac_ext
3087 LIBS=$ac_check_lib_save_LIBS
3089 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
3090 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
3091 if test $ac_cv_lib_socket_socket = yes; then
3092 LIBS="-lsocket -lnsl $LIBS"
3102 # com_err (required, but can be built)
3103 echo "$as_me:$LINENO: checking for com_err" >&5
3104 echo $ECHO_N "checking for com_err... $ECHO_C" >&6
3106 # Check whether --with-com_err or --without-com_err was given.
3107 if test "${with_com_err+set}" = set; then
3108 withval="$with_com_err"
3109 echo "$as_me:$LINENO: result: $withval" >&5
3110 echo "${ECHO_T}$withval" >&6
3111 if test $withval = "no"; then
3112 { { echo "$as_me:$LINENO: error: com_err is required for Moira" >&5
3113 echo "$as_me: error: com_err is required for Moira" >&2;}
3114 { (exit 1); exit 1; }; }
3116 if test $withval != "yes"; then
3120 *-I$withval/include*) ;;
3121 *) CPPFLAGS=-I$withval/include\ $CPPFLAGS ;;
3125 case $PRO_C_INCLUDES in
3126 *INCLUDE=$withval/include*) ;;
3127 *) PRO_C_INCLUDES=INCLUDE=$withval/include\ $PRO_C_INCLUDES ;;
3133 *-L$withval/lib*) ;;
3134 *) LIBPATH=-L$withval/lib\ $LIBPATH ;;
3138 COMPILE_ET=compile_et
3140 echo "$as_me:$LINENO: result: util/et" >&5
3141 echo "${ECHO_T}util/et" >&6
3145 *-I`pwd`/util/et*) ;;
3146 *) CPPFLAGS=-I`pwd`/util/et\ $CPPFLAGS ;;
3150 case $PRO_C_INCLUDES in
3151 *INCLUDE=`pwd`/util/et*) ;;
3152 *) PRO_C_INCLUDES=INCLUDE=`pwd`/util/et\ $PRO_C_INCLUDES ;;
3158 *-L`pwd`/util/et*) ;;
3159 *) LIBPATH=-L`pwd`/util/et\ $LIBPATH ;;
3162 COMPILE_ET=`pwd`/util/et/compile_et
3165 subdirs="$subdirs util/et"
3171 # Kerberos (Kerberos 4 required, Kerberos 5 optional for reg_svr)
3172 echo "$as_me:$LINENO: checking for Kerberos 4" >&5
3173 echo $ECHO_N "checking for Kerberos 4... $ECHO_C" >&6
3175 # Check whether --with-krb4 or --without-krb4 was given.
3176 if test "${with_krb4+set}" = set; then
3177 withval="$with_krb4"
3182 echo "$as_me:$LINENO: result: $krb4" >&5
3183 echo "${ECHO_T}$krb4" >&6
3184 if test "$krb4" != yes; then
3188 *-I$krb4/include*) ;;
3189 *) CPPFLAGS=-I$krb4/include\ $CPPFLAGS ;;
3193 case $PRO_C_INCLUDES in
3194 *INCLUDE=$krb4/include*) ;;
3195 *) PRO_C_INCLUDES=INCLUDE=$krb4/include\ $PRO_C_INCLUDES ;;
3199 if test -d "$krb4/include/kerberosIV"; then
3203 *-I$krb4/include/kerberosIV*) ;;
3204 *) CPPFLAGS=-I$krb4/include/kerberosIV\ $CPPFLAGS ;;
3208 case $PRO_C_INCLUDES in
3209 *INCLUDE=$krb4/include/kerberosIV*) ;;
3210 *) PRO_C_INCLUDES=INCLUDE=$krb4/include/kerberosIV\ $PRO_C_INCLUDES ;;
3218 *) LIBPATH=-L$krb4/lib\ $LIBPATH ;;
3221 elif test -d /usr/include/kerberosIV; then
3225 *-I/usr/include/kerberosIV*) ;;
3226 *) CPPFLAGS=-I/usr/include/kerberosIV\ $CPPFLAGS ;;
3230 case $PRO_C_INCLUDES in
3231 *INCLUDE=/usr/include/kerberosIV*) ;;
3232 *) PRO_C_INCLUDES=INCLUDE=/usr/include/kerberosIV\ $PRO_C_INCLUDES ;;
3237 echo "$as_me:$LINENO: checking for main in -lk5crypto" >&5
3238 echo $ECHO_N "checking for main in -lk5crypto... $ECHO_C" >&6
3239 if test "${ac_cv_lib_k5crypto_main+set}" = set; then
3240 echo $ECHO_N "(cached) $ECHO_C" >&6
3242 ac_check_lib_save_LIBS=$LIBS
3243 LIBS="-lk5crypto $LIBS"
3244 cat >conftest.$ac_ext <<_ACEOF
3247 cat confdefs.h >>conftest.$ac_ext
3248 cat >>conftest.$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3260 rm -f conftest.$ac_objext conftest$ac_exeext
3261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3262 (eval $ac_link) 2>conftest.er1
3264 grep -v '^ *+' conftest.er1 >conftest.err
3266 cat conftest.err >&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); } &&
3269 { ac_try='test -z "$ac_c_werror_flag"
3270 || test ! -s conftest.err'
3271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); }; } &&
3276 { ac_try='test -s conftest$ac_exeext'
3277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); }; }; then
3282 ac_cv_lib_k5crypto_main=yes
3284 echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3287 ac_cv_lib_k5crypto_main=no
3289 rm -f conftest.err conftest.$ac_objext \
3290 conftest$ac_exeext conftest.$ac_ext
3291 LIBS=$ac_check_lib_save_LIBS
3293 echo "$as_me:$LINENO: result: $ac_cv_lib_k5crypto_main" >&5
3294 echo "${ECHO_T}$ac_cv_lib_k5crypto_main" >&6
3295 if test $ac_cv_lib_k5crypto_main = yes; then
3298 echo "$as_me:$LINENO: checking for main in -lcrypto" >&5
3299 echo $ECHO_N "checking for main in -lcrypto... $ECHO_C" >&6
3300 if test "${ac_cv_lib_crypto_main+set}" = set; then
3301 echo $ECHO_N "(cached) $ECHO_C" >&6
3303 ac_check_lib_save_LIBS=$LIBS
3304 LIBS="-lcrypto $LIBS"
3305 cat >conftest.$ac_ext <<_ACEOF
3308 cat confdefs.h >>conftest.$ac_ext
3309 cat >>conftest.$ac_ext <<_ACEOF
3310 /* end confdefs.h. */
3321 rm -f conftest.$ac_objext conftest$ac_exeext
3322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3323 (eval $ac_link) 2>conftest.er1
3325 grep -v '^ *+' conftest.er1 >conftest.err
3327 cat conftest.err >&5
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); } &&
3330 { ac_try='test -z "$ac_c_werror_flag"
3331 || test ! -s conftest.err'
3332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3336 (exit $ac_status); }; } &&
3337 { ac_try='test -s conftest$ac_exeext'
3338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); }; }; then
3343 ac_cv_lib_crypto_main=yes
3345 echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.$ac_ext >&5
3348 ac_cv_lib_crypto_main=no
3350 rm -f conftest.err conftest.$ac_objext \
3351 conftest$ac_exeext conftest.$ac_ext
3352 LIBS=$ac_check_lib_save_LIBS
3354 echo "$as_me:$LINENO: result: $ac_cv_lib_crypto_main" >&5
3355 echo "${ECHO_T}$ac_cv_lib_crypto_main" >&6
3356 if test $ac_cv_lib_crypto_main = yes; then
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; }; }
3504 echo "$as_me:$LINENO: checking for Kerberos 5" >&5
3505 echo $ECHO_N "checking for Kerberos 5... $ECHO_C" >&6
3507 # Check whether --with-krb5 or --without-krb5 was given.
3508 if test "${with_krb5+set}" = set; then
3509 withval="$with_krb5"
3514 echo "$as_me:$LINENO: result: $krb5" >&5
3515 echo "${ECHO_T}$krb5" >&6
3516 if test "$krb5" != no; then
3518 if test "$krb5" != yes; then
3519 REG_SVR_INCLUDES=-I$krb5/include
3520 REG_SVR_LIBS=-L$krb5/lib
3522 REG_SVR_LIBS="$REG_SVR_LIBS -lkadm5clnt -lgssapi_krb5 -lgssrpc -lkrb4 -ldes425 -lkrb5 -l${crypto} -lresolv"
3532 echo "$as_me:$LINENO: checking for Hesiod" >&5
3533 echo $ECHO_N "checking for Hesiod... $ECHO_C" >&6
3535 # Check whether --with-hesiod or --without-hesiod was given.
3536 if test "${with_hesiod+set}" = set; then
3537 withval="$with_hesiod"
3542 echo "$as_me:$LINENO: result: $hesiod" >&5
3543 echo "${ECHO_T}$hesiod" >&6
3544 if test "$hesiod" != no; then
3545 if test "$hesiod" != yes; then
3549 *-I$hesiod/include*) ;;
3550 *) CPPFLAGS=-I$hesiod/include\ $CPPFLAGS ;;
3554 case $PRO_C_INCLUDES in
3555 *INCLUDE=$hesiod/include*) ;;
3556 *) PRO_C_INCLUDES=INCLUDE=$hesiod/include\ $PRO_C_INCLUDES ;;
3563 *) LIBPATH=-L$hesiod/lib\ $LIBPATH ;;
3567 echo "$as_me:$LINENO: checking for res_send" >&5
3568 echo $ECHO_N "checking for res_send... $ECHO_C" >&6
3569 if test "${ac_cv_func_res_send+set}" = set; then
3570 echo $ECHO_N "(cached) $ECHO_C" >&6
3572 cat >conftest.$ac_ext <<_ACEOF
3575 cat confdefs.h >>conftest.$ac_ext
3576 cat >>conftest.$ac_ext <<_ACEOF
3577 /* end confdefs.h. */
3578 /* Define res_send to an innocuous variant, in case <limits.h> declares res_send.
3579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3580 #define res_send innocuous_res_send
3582 /* System header to define __stub macros and hopefully few prototypes,
3583 which can conflict with char res_send (); below.
3584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3585 <limits.h> exists even on freestanding compilers. */
3588 # include <limits.h>
3590 # include <assert.h>
3595 /* Override any gcc2 internal prototype to avoid an error. */
3600 /* We use char because int might match the return type of a gcc2
3601 builtin and then its argument prototype would still apply. */
3603 /* The GNU C library defines this for functions which it implements
3604 to always fail with ENOSYS. Some functions are actually named
3605 something starting with __ and the normal name is an alias. */
3606 #if defined (__stub_res_send) || defined (__stub___res_send)
3609 char (*f) () = res_send;
3618 return f != res_send;
3623 rm -f conftest.$ac_objext conftest$ac_exeext
3624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3625 (eval $ac_link) 2>conftest.er1
3627 grep -v '^ *+' conftest.er1 >conftest.err
3629 cat conftest.err >&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); } &&
3632 { ac_try='test -z "$ac_c_werror_flag"
3633 || test ! -s conftest.err'
3634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); }; } &&
3639 { ac_try='test -s conftest$ac_exeext'
3640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); }; }; then
3645 ac_cv_func_res_send=yes
3647 echo "$as_me: failed program was:" >&5
3648 sed 's/^/| /' conftest.$ac_ext >&5
3650 ac_cv_func_res_send=no
3652 rm -f conftest.err conftest.$ac_objext \
3653 conftest$ac_exeext conftest.$ac_ext
3655 echo "$as_me:$LINENO: result: $ac_cv_func_res_send" >&5
3656 echo "${ECHO_T}$ac_cv_func_res_send" >&6
3657 if test $ac_cv_func_res_send = yes; then
3661 echo "$as_me:$LINENO: checking for res_send in -lresolv" >&5
3662 echo $ECHO_N "checking for res_send in -lresolv... $ECHO_C" >&6
3663 if test "${ac_cv_lib_resolv_res_send+set}" = set; then
3664 echo $ECHO_N "(cached) $ECHO_C" >&6
3666 ac_check_lib_save_LIBS=$LIBS
3667 LIBS="-lresolv $LIBS"
3668 cat >conftest.$ac_ext <<_ACEOF
3671 cat confdefs.h >>conftest.$ac_ext
3672 cat >>conftest.$ac_ext <<_ACEOF
3673 /* end confdefs.h. */
3675 /* Override any gcc2 internal prototype to avoid an error. */
3679 /* We use char because int might match the return type of a gcc2
3680 builtin and then its argument prototype would still apply. */
3690 rm -f conftest.$ac_objext conftest$ac_exeext
3691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3692 (eval $ac_link) 2>conftest.er1
3694 grep -v '^ *+' conftest.er1 >conftest.err
3696 cat conftest.err >&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); } &&
3699 { ac_try='test -z "$ac_c_werror_flag"
3700 || test ! -s conftest.err'
3701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3705 (exit $ac_status); }; } &&
3706 { ac_try='test -s conftest$ac_exeext'
3707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3711 (exit $ac_status); }; }; then
3712 ac_cv_lib_resolv_res_send=yes
3714 echo "$as_me: failed program was:" >&5
3715 sed 's/^/| /' conftest.$ac_ext >&5
3717 ac_cv_lib_resolv_res_send=no
3719 rm -f conftest.err conftest.$ac_objext \
3720 conftest$ac_exeext conftest.$ac_ext
3721 LIBS=$ac_check_lib_save_LIBS
3723 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_send" >&5
3724 echo "${ECHO_T}$ac_cv_lib_resolv_res_send" >&6
3725 if test $ac_cv_lib_resolv_res_send = yes; then
3726 cat >>confdefs.h <<_ACEOF
3727 #define HAVE_LIBRESOLV 1
3730 LIBS="-lresolv $LIBS"
3736 echo "$as_me:$LINENO: checking for hes_resolve in -lhesiod" >&5
3737 echo $ECHO_N "checking for hes_resolve in -lhesiod... $ECHO_C" >&6
3738 if test "${ac_cv_lib_hesiod_hes_resolve+set}" = set; then
3739 echo $ECHO_N "(cached) $ECHO_C" >&6
3741 ac_check_lib_save_LIBS=$LIBS
3742 LIBS="-lhesiod $LIBPATH $LIBS $LIBS"
3743 cat >conftest.$ac_ext <<_ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3750 /* Override any gcc2 internal prototype to avoid an error. */
3754 /* We use char because int might match the return type of a gcc2
3755 builtin and then its argument prototype would still apply. */
3756 char hes_resolve ();
3765 rm -f conftest.$ac_objext conftest$ac_exeext
3766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3767 (eval $ac_link) 2>conftest.er1
3769 grep -v '^ *+' conftest.er1 >conftest.err
3771 cat conftest.err >&5
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); } &&
3774 { ac_try='test -z "$ac_c_werror_flag"
3775 || test ! -s conftest.err'
3776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); }; } &&
3781 { ac_try='test -s conftest$ac_exeext'
3782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786 (exit $ac_status); }; }; then
3787 ac_cv_lib_hesiod_hes_resolve=yes
3789 echo "$as_me: failed program was:" >&5
3790 sed 's/^/| /' conftest.$ac_ext >&5
3792 ac_cv_lib_hesiod_hes_resolve=no
3794 rm -f conftest.err conftest.$ac_objext \
3795 conftest$ac_exeext conftest.$ac_ext
3796 LIBS=$ac_check_lib_save_LIBS
3798 echo "$as_me:$LINENO: result: $ac_cv_lib_hesiod_hes_resolve" >&5
3799 echo "${ECHO_T}$ac_cv_lib_hesiod_hes_resolve" >&6
3800 if test $ac_cv_lib_hesiod_hes_resolve = yes; then
3803 { { echo "$as_me:$LINENO: error: Hesiod library not found" >&5
3804 echo "$as_me: error: Hesiod library not found" >&2;}
3805 { (exit 1); exit 1; }; }
3809 cat >>confdefs.h <<\_ACEOF
3810 #define HAVE_HESIOD 1
3815 *DEFINE=HAVE_HESIOD*) ;;
3816 *) PRO_C_DEFS=DEFINE=HAVE_HESIOD\ $PRO_C_DEFS ;;
3823 echo "$as_me:$LINENO: checking for Zephyr" >&5
3824 echo $ECHO_N "checking for Zephyr... $ECHO_C" >&6
3826 # Check whether --with-zephyr or --without-zephyr was given.
3827 if test "${with_zephyr+set}" = set; then
3828 withval="$with_zephyr"
3833 echo "$as_me:$LINENO: result: $zephyr" >&5
3834 echo "${ECHO_T}$zephyr" >&6
3835 if test "$zephyr" != no; then
3836 if test "$zephyr" != yes; then
3840 *-I$zephyr/include*) ;;
3841 *) CPPFLAGS=-I$zephyr/include\ $CPPFLAGS ;;
3845 case $PRO_C_INCLUDES in
3846 *INCLUDE=$zephyr/include*) ;;
3847 *) PRO_C_INCLUDES=INCLUDE=$zephyr/include\ $PRO_C_INCLUDES ;;
3854 *) LIBPATH=-L$zephyr/lib\ $LIBPATH ;;
3858 echo "$as_me:$LINENO: checking for ZInitialize in -lzephyr" >&5
3859 echo $ECHO_N "checking for ZInitialize in -lzephyr... $ECHO_C" >&6
3860 if test "${ac_cv_lib_zephyr_ZInitialize+set}" = set; then
3861 echo $ECHO_N "(cached) $ECHO_C" >&6
3863 ac_check_lib_save_LIBS=$LIBS
3864 LIBS="-lzephyr $LIBPATH $KRB4_LIBS -lcom_err $LIBS"
3865 cat >conftest.$ac_ext <<_ACEOF
3868 cat confdefs.h >>conftest.$ac_ext
3869 cat >>conftest.$ac_ext <<_ACEOF
3870 /* end confdefs.h. */
3872 /* Override any gcc2 internal prototype to avoid an error. */
3876 /* We use char because int might match the return type of a gcc2
3877 builtin and then its argument prototype would still apply. */
3878 char ZInitialize ();
3887 rm -f conftest.$ac_objext conftest$ac_exeext
3888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3889 (eval $ac_link) 2>conftest.er1
3891 grep -v '^ *+' conftest.er1 >conftest.err
3893 cat conftest.err >&5
3894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3895 (exit $ac_status); } &&
3896 { ac_try='test -z "$ac_c_werror_flag"
3897 || test ! -s conftest.err'
3898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3902 (exit $ac_status); }; } &&
3903 { ac_try='test -s conftest$ac_exeext'
3904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); }; }; then
3909 ac_cv_lib_zephyr_ZInitialize=yes
3911 echo "$as_me: failed program was:" >&5
3912 sed 's/^/| /' conftest.$ac_ext >&5
3914 ac_cv_lib_zephyr_ZInitialize=no
3916 rm -f conftest.err conftest.$ac_objext \
3917 conftest$ac_exeext conftest.$ac_ext
3918 LIBS=$ac_check_lib_save_LIBS
3920 echo "$as_me:$LINENO: result: $ac_cv_lib_zephyr_ZInitialize" >&5
3921 echo "${ECHO_T}$ac_cv_lib_zephyr_ZInitialize" >&6
3922 if test $ac_cv_lib_zephyr_ZInitialize = yes; then
3925 { { echo "$as_me:$LINENO: error: Zephyr library not found" >&5
3926 echo "$as_me: error: Zephyr library not found" >&2;}
3927 { (exit 1); exit 1; }; }
3931 cat >>confdefs.h <<\_ACEOF
3932 #define HAVE_ZEPHYR 1
3937 *DEFINE=HAVE_ZEPHYR*) ;;
3938 *) PRO_C_DEFS=DEFINE=HAVE_ZEPHYR\ $PRO_C_DEFS ;;
3944 # RSAREF support (default: build util/rsaref if present)
3945 echo "$as_me:$LINENO: checking for RSAREF" >&5
3946 echo $ECHO_N "checking for RSAREF... $ECHO_C" >&6
3948 # Check whether --with-rsaref or --without-rsaref was given.
3949 if test "${with_rsaref+set}" = set; then
3950 withval="$with_rsaref"
3952 RSAREF_CPPFLAGS="-I$rsaref/include"
3953 RSAREF_LIBS="$rsaref/lib/rsaref.a"
3955 RSAREF_SUBDIRS=reg_svr
3956 if test -d $srcdir/util/rsaref; then
3957 rsaref=$srcdir/util/rsaref
3958 RSAREF_SUBDIRS="util/rsaref reg_svr"
3959 RSAREF_OUTPUT_FILES="util/rsaref/Makefile"
3960 # autoconf can't deal with creating util/rsaref if util doesn't exist
3961 if test ! -d util; then
3964 RSAREF_CPPFLAGS='-I$(SRCTOP)/util/rsaref'
3965 RSAREF_LIBS='$(BUILDTOP)/util/rsaref/rsaref.a'
3966 RSAREF_LIBDEP='$(BUILDTOP)/util/rsaref/rsaref.a'
3971 echo "$as_me:$LINENO: result: $rsaref" >&5
3972 echo "${ECHO_T}$rsaref" >&6
3973 if test "$rsaref" != no; then
3975 cat >>confdefs.h <<\_ACEOF
3976 #define HAVE_RSAREF 1
3981 *DEFINE=HAVE_RSAREF*) ;;
3982 *) PRO_C_DEFS=DEFINE=HAVE_RSAREF\ $PRO_C_DEFS ;;
3992 # Oracle (default: yes, if $ORACLE_HOME is set)
3993 echo "$as_me:$LINENO: checking for Oracle" >&5
3994 echo $ECHO_N "checking for Oracle... $ECHO_C" >&6
3996 # Check whether --with-oracle or --without-oracle was given.
3997 if test "${with_oracle+set}" = set; then
3998 withval="$with_oracle"
4001 if test -n "$ORACLE_HOME" -a -d "$ORACLE_HOME"; then
4007 echo "$as_me:$LINENO: result: $oracle" >&5
4008 echo "${ECHO_T}$oracle" >&6
4009 if test "$oracle" != no; then
4010 echo "$as_me:$LINENO: checking Pro*C version" >&5
4011 echo $ECHO_N "checking Pro*C version... $ECHO_C" >&6
4012 ORACLE_HOME=$oracle release=`$ORACLE_HOME/bin/proc | awk '/Release/ {print $3;}'`
4013 echo "$as_me:$LINENO: result: $release" >&5
4014 echo "${ECHO_T}$release" >&6
4017 SQL_LIBS="-L$oracle/lib -lsql $oracle/lib/osntab.o -lsqlnet -lora -lsqlnet -lnlsrtl -lcv6 -lcore -lnlsrtl -lcore -lm"
4020 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"
4023 SQL_LIBS="-L$oracle/lib -lclntsh `cat $oracle/lib/sysliblist` -R$oracle/lib -laio -lm -lthread"
4026 SQL_LIBS="-L$oracle/lib32 -lclntsh `cat $oracle/lib32/ldflags` `cat $oracle/lib32/sysliblist` -R$oracle/lib32 -laio -lposix4 -lm -lthread"
4029 { { echo "$as_me:$LINENO: error: Unsupported Oracle release" >&5
4030 echo "$as_me: error: Unsupported Oracle release" >&2;}
4031 { (exit 1); exit 1; }; }
4034 SVRSUBDIRS='$(SVRDIRS)'
4035 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"
4036 PRO_C=$oracle/bin/proc
4037 PRO_C_OPTS=CODE=ANSI_C
4038 PRO_C_DEFS="DEFINE=_PROC_ DEFINE=__sparc $PRO_C_DEFS"
4047 # Java support, for webmoira
4048 echo "$as_me:$LINENO: checking for Java" >&5
4049 echo $ECHO_N "checking for Java... $ECHO_C" >&6
4051 # Check whether --with-java or --without-java was given.
4052 if test "${with_java+set}" = set; then
4053 withval="$with_java"
4056 if test -n "$JAVA_HOME" -a -d "$JAVA_HOME"; then
4062 echo "$as_me:$LINENO: result: $java" >&5
4063 echo "${ECHO_T}$java" >&6
4064 if test "$java" != no; then
4065 if test "$java" != yes; then
4066 JAVA_CPPFLAGS="-I$java/include -I$java/include/$short_os"
4069 cat >>confdefs.h <<\_ACEOF
4075 *DEFINE=HAVE_JAVA*) ;;
4076 *) PRO_C_DEFS=DEFINE=HAVE_JAVA\ $PRO_C_DEFS ;;
4081 WEBMOIRA_SUBDIRS="webmoira"
4082 WEBMOIRA_OUTPUT_FILES="webmoira/Makefile"
4088 echo "$as_me:$LINENO: checking for LDAP" >&5
4089 echo $ECHO_N "checking for LDAP... $ECHO_C" >&6
4091 # Check whether --with-ldap or --without-ldap was given.
4092 if test "${with_ldap+set}" = set; then
4093 withval="$with_ldap"
4096 if test -n "$LDAP_HOME" -a -d "$LDAP_HOME"; then
4102 echo "$as_me:$LINENO: result: $ldap" >&5
4103 echo "${ECHO_T}$ldap" >&6
4104 if test "$ldap" != no -a "$oracle" != no; then
4105 if test "$ldap" != yes; then
4106 LDAP_CPPFLAGS="-I$ldap/include"
4107 LDAP_LIBS="-L$ldap/lib"
4110 cat >>confdefs.h <<\_ACEOF
4116 *DEFINE=HAVE_LDAP*) ;;
4117 *) PRO_C_DEFS=DEFINE=HAVE_LDAP\ $PRO_C_DEFS ;;
4122 WINAD_SUBDIRS="winad"
4123 WINAD_OUTPUT_FILES="incremental/winad/Makefile"
4130 echo "$as_me:$LINENO: checking for AFS" >&5
4131 echo $ECHO_N "checking for AFS... $ECHO_C" >&6
4133 # Check whether --with-afs or --without-afs was given.
4134 if test "${with_afs+set}" = set; then
4140 echo "$as_me:$LINENO: result: $afs" >&5
4141 echo "${ECHO_T}$afs" >&6
4142 if test "$afs" != no -a "$oracle" != no; then
4143 if test "$afs" != yes; then
4144 AFS_CPPFLAGS="-I$afs/include -I$afs/include/afs -I$afs/include/rx"
4145 AFS_PRO_C_INCLUDES="INCLUDE=$afs/include INCLUDE=$afs/include/afs INCLUDE=$afs/include/rx"
4146 AFS_LIBS="-L$afs/lib -L$afs/lib/afs"
4149 echo "$as_me:$LINENO: checking for pioctl in -lsys" >&5
4150 echo $ECHO_N "checking for pioctl in -lsys... $ECHO_C" >&6
4151 if test "${ac_cv_lib_sys_pioctl+set}" = set; then
4152 echo $ECHO_N "(cached) $ECHO_C" >&6
4154 ac_check_lib_save_LIBS=$LIBS
4155 LIBS="-lsys $AFS_LIBS -lrx -llwp -lsys -lafsutil $LIBS"
4156 cat >conftest.$ac_ext <<_ACEOF
4159 cat confdefs.h >>conftest.$ac_ext
4160 cat >>conftest.$ac_ext <<_ACEOF
4161 /* end confdefs.h. */
4163 /* Override any gcc2 internal prototype to avoid an error. */
4167 /* We use char because int might match the return type of a gcc2
4168 builtin and then its argument prototype would still apply. */
4178 rm -f conftest.$ac_objext conftest$ac_exeext
4179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4180 (eval $ac_link) 2>conftest.er1
4182 grep -v '^ *+' conftest.er1 >conftest.err
4184 cat conftest.err >&5
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); } &&
4187 { ac_try='test -z "$ac_c_werror_flag"
4188 || test ! -s conftest.err'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; } &&
4194 { ac_try='test -s conftest$ac_exeext'
4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; }; then
4200 ac_cv_lib_sys_pioctl=yes
4202 echo "$as_me: failed program was:" >&5
4203 sed 's/^/| /' conftest.$ac_ext >&5
4205 ac_cv_lib_sys_pioctl=no
4207 rm -f conftest.err conftest.$ac_objext \
4208 conftest$ac_exeext conftest.$ac_ext
4209 LIBS=$ac_check_lib_save_LIBS
4211 echo "$as_me:$LINENO: result: $ac_cv_lib_sys_pioctl" >&5
4212 echo "${ECHO_T}$ac_cv_lib_sys_pioctl" >&6
4213 if test $ac_cv_lib_sys_pioctl = yes; then
4216 { { echo "$as_me:$LINENO: error: AFS libraries not found" >&5
4217 echo "$as_me: error: AFS libraries not found" >&2;}
4218 { (exit 1); exit 1; }; }
4222 cat >>confdefs.h <<\_ACEOF
4228 *DEFINE=HAVE_AFS*) ;;
4229 *) PRO_C_DEFS=DEFINE=HAVE_AFS\ $PRO_C_DEFS ;;
4235 AFS_OUTPUT_FILES="incremental/afs/Makefile"
4236 if test -d $srcdir/afssync; then
4237 AFS_SYNCDIR="afssync"
4238 AFS_OUTPUT_FILES="$AFS_OUTPUT_FILES afssync/Makefile"
4249 { echo "$as_me:$LINENO: checking for GNU readline......" >&5
4250 echo "$as_me: checking for GNU readline......" >&6;}
4252 # Check whether --with-readline or --without-readline was given.
4253 if test "${with_readline+set}" = set; then
4254 withval="$with_readline"
4255 readline="$withval"; echo "$as_me:$LINENO: result: $withval" >&5
4256 echo "${ECHO_T}$withval" >&6
4258 echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
4259 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
4260 if test "${ac_cv_lib_readline_readline+set}" = set; then
4261 echo $ECHO_N "(cached) $ECHO_C" >&6
4263 ac_check_lib_save_LIBS=$LIBS
4264 LIBS="-lreadline -ltermcap $LIBS"
4265 cat >conftest.$ac_ext <<_ACEOF
4268 cat confdefs.h >>conftest.$ac_ext
4269 cat >>conftest.$ac_ext <<_ACEOF
4270 /* end confdefs.h. */
4272 /* Override any gcc2 internal prototype to avoid an error. */
4276 /* We use char because int might match the return type of a gcc2
4277 builtin and then its argument prototype would still apply. */
4287 rm -f conftest.$ac_objext conftest$ac_exeext
4288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4289 (eval $ac_link) 2>conftest.er1
4291 grep -v '^ *+' conftest.er1 >conftest.err
4293 cat conftest.err >&5
4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); } &&
4296 { ac_try='test -z "$ac_c_werror_flag"
4297 || test ! -s conftest.err'
4298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); }; } &&
4303 { ac_try='test -s conftest$ac_exeext'
4304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); }; }; then
4309 ac_cv_lib_readline_readline=yes
4311 echo "$as_me: failed program was:" >&5
4312 sed 's/^/| /' conftest.$ac_ext >&5
4314 ac_cv_lib_readline_readline=no
4316 rm -f conftest.err conftest.$ac_objext \
4317 conftest$ac_exeext conftest.$ac_ext
4318 LIBS=$ac_check_lib_save_LIBS
4320 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
4321 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
4322 if test $ac_cv_lib_readline_readline = yes; then
4325 if test "$athena" = true; then
4326 unset ac_cv_lib_readline_readline
4327 echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
4328 echo $ECHO_N "checking for readline in -lreadline... $ECHO_C" >&6
4329 if test "${ac_cv_lib_readline_readline+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 ac_check_lib_save_LIBS=$LIBS
4333 LIBS="-lreadline -L/mit/gnu/lib -ltermcap $LIBS"
4334 cat >conftest.$ac_ext <<_ACEOF
4337 cat confdefs.h >>conftest.$ac_ext
4338 cat >>conftest.$ac_ext <<_ACEOF
4339 /* end confdefs.h. */
4341 /* Override any gcc2 internal prototype to avoid an error. */
4345 /* We use char because int might match the return type of a gcc2
4346 builtin and then its argument prototype would still apply. */
4356 rm -f conftest.$ac_objext conftest$ac_exeext
4357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4358 (eval $ac_link) 2>conftest.er1
4360 grep -v '^ *+' conftest.er1 >conftest.err
4362 cat conftest.err >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } &&
4365 { ac_try='test -z "$ac_c_werror_flag"
4366 || test ! -s conftest.err'
4367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); }; } &&
4372 { ac_try='test -s conftest$ac_exeext'
4373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4377 (exit $ac_status); }; }; then
4378 ac_cv_lib_readline_readline=yes
4380 echo "$as_me: failed program was:" >&5
4381 sed 's/^/| /' conftest.$ac_ext >&5
4383 ac_cv_lib_readline_readline=no
4385 rm -f conftest.err conftest.$ac_objext \
4386 conftest$ac_exeext conftest.$ac_ext
4387 LIBS=$ac_check_lib_save_LIBS
4389 echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
4390 echo "${ECHO_T}$ac_cv_lib_readline_readline" >&6
4391 if test $ac_cv_lib_readline_readline = yes; then
4401 if test "$readline" != no; then
4402 if test "$readline" != yes; then
4403 READLINE_CPPFLAGS="-I$readline/include"
4404 READLINE_LIBS="-L$readline/lib"
4406 READLINE_CPPFLAGS="$READLINE_CPPFLAGS -DHAVE_READLINE"
4407 READLINE_LIBS="$READLINE_LIBS -lreadline -ltermcap"
4414 { echo "$as_me:$LINENO: checking for curses..." >&5
4415 echo "$as_me: checking for curses..." >&6;}
4416 echo "$as_me:$LINENO: checking for main in -lcurses" >&5
4417 echo $ECHO_N "checking for main in -lcurses... $ECHO_C" >&6
4418 if test "${ac_cv_lib_curses_main+set}" = set; then
4419 echo $ECHO_N "(cached) $ECHO_C" >&6
4421 ac_check_lib_save_LIBS=$LIBS
4422 LIBS="-lcurses $LIBS"
4423 cat >conftest.$ac_ext <<_ACEOF
4426 cat confdefs.h >>conftest.$ac_ext
4427 cat >>conftest.$ac_ext <<_ACEOF
4428 /* end confdefs.h. */
4439 rm -f conftest.$ac_objext conftest$ac_exeext
4440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4441 (eval $ac_link) 2>conftest.er1
4443 grep -v '^ *+' conftest.er1 >conftest.err
4445 cat conftest.err >&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); } &&
4448 { ac_try='test -z "$ac_c_werror_flag"
4449 || test ! -s conftest.err'
4450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); }; } &&
4455 { ac_try='test -s conftest$ac_exeext'
4456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); }; }; then
4461 ac_cv_lib_curses_main=yes
4463 echo "$as_me: failed program was:" >&5
4464 sed 's/^/| /' conftest.$ac_ext >&5
4466 ac_cv_lib_curses_main=no
4468 rm -f conftest.err conftest.$ac_objext \
4469 conftest$ac_exeext conftest.$ac_ext
4470 LIBS=$ac_check_lib_save_LIBS
4472 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_main" >&5
4473 echo "${ECHO_T}$ac_cv_lib_curses_main" >&6
4474 if test $ac_cv_lib_curses_main = yes; then
4477 echo "$as_me:$LINENO: checking for main in -lncurses" >&5
4478 echo $ECHO_N "checking for main in -lncurses... $ECHO_C" >&6
4479 if test "${ac_cv_lib_ncurses_main+set}" = set; then
4480 echo $ECHO_N "(cached) $ECHO_C" >&6
4482 ac_check_lib_save_LIBS=$LIBS
4483 LIBS="-lncurses $LIBS"
4484 cat >conftest.$ac_ext <<_ACEOF
4487 cat confdefs.h >>conftest.$ac_ext
4488 cat >>conftest.$ac_ext <<_ACEOF
4489 /* end confdefs.h. */
4500 rm -f conftest.$ac_objext conftest$ac_exeext
4501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4502 (eval $ac_link) 2>conftest.er1
4504 grep -v '^ *+' conftest.er1 >conftest.err
4506 cat conftest.err >&5
4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4508 (exit $ac_status); } &&
4509 { ac_try='test -z "$ac_c_werror_flag"
4510 || test ! -s conftest.err'
4511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515 (exit $ac_status); }; } &&
4516 { ac_try='test -s conftest$ac_exeext'
4517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); }; }; then
4522 ac_cv_lib_ncurses_main=yes
4524 echo "$as_me: failed program was:" >&5
4525 sed 's/^/| /' conftest.$ac_ext >&5
4527 ac_cv_lib_ncurses_main=no
4529 rm -f conftest.err conftest.$ac_objext \
4530 conftest$ac_exeext conftest.$ac_ext
4531 LIBS=$ac_check_lib_save_LIBS
4533 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_main" >&5
4534 echo "${ECHO_T}$ac_cv_lib_ncurses_main" >&6
4535 if test $ac_cv_lib_ncurses_main = yes; then
4541 if test -n "$curses"; then
4544 { echo "$as_me:$LINENO: checking if curses needs termcap..." >&5
4545 echo "$as_me: checking if curses needs termcap..." >&6;}
4546 if test "$cross_compiling" = yes; then
4549 cat >conftest.$ac_ext <<_ACEOF
4552 cat confdefs.h >>conftest.$ac_ext
4553 cat >>conftest.$ac_ext <<_ACEOF
4554 /* end confdefs.h. */
4556 main(int argc, char **argv)
4563 rm -f conftest$ac_exeext
4564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4565 (eval $ac_link) 2>&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); }; }; then
4574 CURSES_LIBS="-l$curses"
4576 echo "$as_me: program exited with status $ac_status" >&5
4577 echo "$as_me: failed program was:" >&5
4578 sed 's/^/| /' conftest.$ac_ext >&5
4581 LIBS="-l$curses -ltermcap"
4582 if test "$cross_compiling" = yes; then
4585 cat >conftest.$ac_ext <<_ACEOF
4588 cat confdefs.h >>conftest.$ac_ext
4589 cat >>conftest.$ac_ext <<_ACEOF
4590 /* end confdefs.h. */
4592 main(int argc, char **argv)
4599 rm -f conftest$ac_exeext
4600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4601 (eval $ac_link) 2>&5
4603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); }; }; then
4610 CURSES_LIBS="-l$curses -ltermcap"
4612 echo "$as_me: program exited with status $ac_status" >&5
4613 echo "$as_me: failed program was:" >&5
4614 sed 's/^/| /' conftest.$ac_ext >&5
4619 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4622 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4626 if test -n "$CURSES_LIBS"; then
4629 cat >conftest.$ac_ext <<_ACEOF
4632 cat confdefs.h >>conftest.$ac_ext
4633 cat >>conftest.$ac_ext <<_ACEOF
4634 /* end confdefs.h. */
4639 WINDOW *w; getmaxx(w);
4644 rm -f conftest.$ac_objext conftest$ac_exeext
4645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4646 (eval $ac_link) 2>conftest.er1
4648 grep -v '^ *+' conftest.er1 >conftest.err
4650 cat conftest.err >&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); } &&
4653 { ac_try='test -z "$ac_c_werror_flag"
4654 || test ! -s conftest.err'
4655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; } &&
4660 { ac_try='test -s conftest$ac_exeext'
4661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4665 (exit $ac_status); }; }; then
4668 echo "$as_me: failed program was:" >&5
4669 sed 's/^/| /' conftest.$ac_ext >&5
4671 cat >conftest.$ac_ext <<_ACEOF
4674 cat confdefs.h >>conftest.$ac_ext
4675 cat >>conftest.$ac_ext <<_ACEOF
4676 /* end confdefs.h. */
4681 WINDOW *w; w->_maxx;
4686 rm -f conftest.$ac_objext
4687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4688 (eval $ac_compile) 2>conftest.er1
4690 grep -v '^ *+' conftest.er1 >conftest.err
4692 cat conftest.err >&5
4693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4694 (exit $ac_status); } &&
4695 { ac_try='test -z "$ac_c_werror_flag"
4696 || test ! -s conftest.err'
4697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); }; } &&
4702 { ac_try='test -s conftest.$ac_objext'
4703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); }; }; then
4708 CURSES_CPPFLAGS="-D'getmaxx(w)=w->_maxx'"
4710 echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.$ac_ext >&5
4713 CURSES_CPPFLAGS="-D'getmaxx(w)=w->maxx'"
4715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4717 rm -f conftest.err conftest.$ac_objext \
4718 conftest$ac_exeext conftest.$ac_ext
4719 cat >conftest.$ac_ext <<_ACEOF
4722 cat confdefs.h >>conftest.$ac_ext
4723 cat >>conftest.$ac_ext <<_ACEOF
4724 /* end confdefs.h. */
4729 newterm(NULL, NULL, NULL);
4734 rm -f conftest.$ac_objext conftest$ac_exeext
4735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4736 (eval $ac_link) 2>conftest.er1
4738 grep -v '^ *+' conftest.er1 >conftest.err
4740 cat conftest.err >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); } &&
4743 { ac_try='test -z "$ac_c_werror_flag"
4744 || test ! -s conftest.err'
4745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); }; } &&
4750 { ac_try='test -s conftest$ac_exeext'
4751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4755 (exit $ac_status); }; }; then
4756 CURSES_CPPFLAGS="$CURSES_CPPFLAGS -DCURSES_HAS_NEWTERM"
4758 echo "$as_me: failed program was:" >&5
4759 sed 's/^/| /' conftest.$ac_ext >&5
4762 rm -f conftest.err conftest.$ac_objext \
4763 conftest$ac_exeext conftest.$ac_ext
4765 CURSES_CPPFLAGS="-DHAVE_CURSES $CURSES_CPPFLAGS"
4766 CURSES_SUBDIRS='$(CURSES_SUBDIRS)'
4768 { echo "$as_me:$LINENO: WARNING: Couldn't find -lcurses" >&5
4769 echo "$as_me: WARNING: Couldn't find -lcurses" >&2;}
4781 for ac_func in getusershell strlcpy strlcat uname strvis
4783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4784 echo "$as_me:$LINENO: checking for $ac_func" >&5
4785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4786 if eval "test \"\${$as_ac_var+set}\" = set"; then
4787 echo $ECHO_N "(cached) $ECHO_C" >&6
4789 cat >conftest.$ac_ext <<_ACEOF
4792 cat confdefs.h >>conftest.$ac_ext
4793 cat >>conftest.$ac_ext <<_ACEOF
4794 /* end confdefs.h. */
4795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4797 #define $ac_func innocuous_$ac_func
4799 /* System header to define __stub macros and hopefully few prototypes,
4800 which can conflict with char $ac_func (); below.
4801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4802 <limits.h> exists even on freestanding compilers. */
4805 # include <limits.h>
4807 # include <assert.h>
4812 /* Override any gcc2 internal prototype to avoid an error. */
4817 /* We use char because int might match the return type of a gcc2
4818 builtin and then its argument prototype would still apply. */
4820 /* The GNU C library defines this for functions which it implements
4821 to always fail with ENOSYS. Some functions are actually named
4822 something starting with __ and the normal name is an alias. */
4823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4826 char (*f) () = $ac_func;
4835 return f != $ac_func;
4840 rm -f conftest.$ac_objext conftest$ac_exeext
4841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4842 (eval $ac_link) 2>conftest.er1
4844 grep -v '^ *+' conftest.er1 >conftest.err
4846 cat conftest.err >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); } &&
4849 { ac_try='test -z "$ac_c_werror_flag"
4850 || test ! -s conftest.err'
4851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4855 (exit $ac_status); }; } &&
4856 { ac_try='test -s conftest$ac_exeext'
4857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 (exit $ac_status); }; }; then
4862 eval "$as_ac_var=yes"
4864 echo "$as_me: failed program was:" >&5
4865 sed 's/^/| /' conftest.$ac_ext >&5
4867 eval "$as_ac_var=no"
4869 rm -f conftest.err conftest.$ac_objext \
4870 conftest$ac_exeext conftest.$ac_ext
4872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4874 if test `eval echo '${'$as_ac_var'}'` = yes; then
4875 cat >>confdefs.h <<_ACEOF
4876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4883 echo "$as_me:$LINENO: checking for sigaction" >&5
4884 echo $ECHO_N "checking for sigaction... $ECHO_C" >&6
4885 if test "${ac_cv_func_sigaction+set}" = set; then
4886 echo $ECHO_N "(cached) $ECHO_C" >&6
4888 cat >conftest.$ac_ext <<_ACEOF
4891 cat confdefs.h >>conftest.$ac_ext
4892 cat >>conftest.$ac_ext <<_ACEOF
4893 /* end confdefs.h. */
4894 /* Define sigaction to an innocuous variant, in case <limits.h> declares sigaction.
4895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4896 #define sigaction innocuous_sigaction
4898 /* System header to define __stub macros and hopefully few prototypes,
4899 which can conflict with char sigaction (); below.
4900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4901 <limits.h> exists even on freestanding compilers. */
4904 # include <limits.h>
4906 # include <assert.h>
4911 /* Override any gcc2 internal prototype to avoid an error. */
4916 /* We use char because int might match the return type of a gcc2
4917 builtin and then its argument prototype would still apply. */
4919 /* The GNU C library defines this for functions which it implements
4920 to always fail with ENOSYS. Some functions are actually named
4921 something starting with __ and the normal name is an alias. */
4922 #if defined (__stub_sigaction) || defined (__stub___sigaction)
4925 char (*f) () = sigaction;
4934 return f != sigaction;
4939 rm -f conftest.$ac_objext conftest$ac_exeext
4940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4941 (eval $ac_link) 2>conftest.er1
4943 grep -v '^ *+' conftest.er1 >conftest.err
4945 cat conftest.err >&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); } &&
4948 { ac_try='test -z "$ac_c_werror_flag"
4949 || test ! -s conftest.err'
4950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); }; } &&
4955 { ac_try='test -s conftest$ac_exeext'
4956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); }; }; then
4961 ac_cv_func_sigaction=yes
4963 echo "$as_me: failed program was:" >&5
4964 sed 's/^/| /' conftest.$ac_ext >&5
4966 ac_cv_func_sigaction=no
4968 rm -f conftest.err conftest.$ac_objext \
4969 conftest$ac_exeext conftest.$ac_ext
4971 echo "$as_me:$LINENO: result: $ac_cv_func_sigaction" >&5
4972 echo "${ECHO_T}$ac_cv_func_sigaction" >&6
4973 if test $ac_cv_func_sigaction = yes; then
4974 cat >>confdefs.h <<\_ACEOF
4975 #define HAVE_POSIX_SIGNALS 1
4982 ac_cpp='$CPP $CPPFLAGS'
4983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4986 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4987 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4988 # On Suns, sometimes $CPP names a directory.
4989 if test -n "$CPP" && test -d "$CPP"; then
4992 if test -z "$CPP"; then
4993 if test "${ac_cv_prog_CPP+set}" = set; then
4994 echo $ECHO_N "(cached) $ECHO_C" >&6
4996 # Double quotes because CPP needs to be expanded
4997 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5000 for ac_c_preproc_warn_flag in '' yes
5002 # Use a header file that comes with gcc, so configuring glibc
5003 # with a fresh cross-compiler works.
5004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5005 # <limits.h> exists even on freestanding compilers.
5006 # On the NeXT, cc -E runs the code through the compiler's parser,
5007 # not just through cpp. "Syntax error" is here to catch this case.
5008 cat >conftest.$ac_ext <<_ACEOF
5011 cat confdefs.h >>conftest.$ac_ext
5012 cat >>conftest.$ac_ext <<_ACEOF
5013 /* end confdefs.h. */
5015 # include <limits.h>
5017 # include <assert.h>
5021 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5022 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5024 grep -v '^ *+' conftest.er1 >conftest.err
5026 cat conftest.err >&5
5027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028 (exit $ac_status); } >/dev/null; then
5029 if test -s conftest.err; then
5030 ac_cpp_err=$ac_c_preproc_warn_flag
5031 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5038 if test -z "$ac_cpp_err"; then
5041 echo "$as_me: failed program was:" >&5
5042 sed 's/^/| /' conftest.$ac_ext >&5
5044 # Broken: fails on valid input.
5047 rm -f conftest.err conftest.$ac_ext
5049 # OK, works on sane cases. Now check whether non-existent headers
5050 # can be detected and how.
5051 cat >conftest.$ac_ext <<_ACEOF
5054 cat confdefs.h >>conftest.$ac_ext
5055 cat >>conftest.$ac_ext <<_ACEOF
5056 /* end confdefs.h. */
5057 #include <ac_nonexistent.h>
5059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5062 grep -v '^ *+' conftest.er1 >conftest.err
5064 cat conftest.err >&5
5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); } >/dev/null; then
5067 if test -s conftest.err; then
5068 ac_cpp_err=$ac_c_preproc_warn_flag
5069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5076 if test -z "$ac_cpp_err"; then
5077 # Broken: success on invalid input.
5080 echo "$as_me: failed program was:" >&5
5081 sed 's/^/| /' conftest.$ac_ext >&5
5083 # Passes both tests.
5087 rm -f conftest.err conftest.$ac_ext
5090 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5091 rm -f conftest.err conftest.$ac_ext
5092 if $ac_preproc_ok; then
5104 echo "$as_me:$LINENO: result: $CPP" >&5
5105 echo "${ECHO_T}$CPP" >&6
5107 for ac_c_preproc_warn_flag in '' yes
5109 # Use a header file that comes with gcc, so configuring glibc
5110 # with a fresh cross-compiler works.
5111 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5112 # <limits.h> exists even on freestanding compilers.
5113 # On the NeXT, cc -E runs the code through the compiler's parser,
5114 # not just through cpp. "Syntax error" is here to catch this case.
5115 cat >conftest.$ac_ext <<_ACEOF
5118 cat confdefs.h >>conftest.$ac_ext
5119 cat >>conftest.$ac_ext <<_ACEOF
5120 /* end confdefs.h. */
5122 # include <limits.h>
5124 # include <assert.h>
5128 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5129 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5131 grep -v '^ *+' conftest.er1 >conftest.err
5133 cat conftest.err >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } >/dev/null; then
5136 if test -s conftest.err; then
5137 ac_cpp_err=$ac_c_preproc_warn_flag
5138 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5145 if test -z "$ac_cpp_err"; then
5148 echo "$as_me: failed program was:" >&5
5149 sed 's/^/| /' conftest.$ac_ext >&5
5151 # Broken: fails on valid input.
5154 rm -f conftest.err conftest.$ac_ext
5156 # OK, works on sane cases. Now check whether non-existent headers
5157 # can be detected and how.
5158 cat >conftest.$ac_ext <<_ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h. */
5164 #include <ac_nonexistent.h>
5166 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5167 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5169 grep -v '^ *+' conftest.er1 >conftest.err
5171 cat conftest.err >&5
5172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173 (exit $ac_status); } >/dev/null; then
5174 if test -s conftest.err; then
5175 ac_cpp_err=$ac_c_preproc_warn_flag
5176 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5183 if test -z "$ac_cpp_err"; then
5184 # Broken: success on invalid input.
5187 echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.$ac_ext >&5
5190 # Passes both tests.
5194 rm -f conftest.err conftest.$ac_ext
5197 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5198 rm -f conftest.err conftest.$ac_ext
5199 if $ac_preproc_ok; then
5202 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5203 See \`config.log' for more details." >&5
5204 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5205 See \`config.log' for more details." >&2;}
5206 { (exit 1); exit 1; }; }
5210 ac_cpp='$CPP $CPPFLAGS'
5211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5216 echo "$as_me:$LINENO: checking for egrep" >&5
5217 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5218 if test "${ac_cv_prog_egrep+set}" = set; then
5219 echo $ECHO_N "(cached) $ECHO_C" >&6
5221 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5222 then ac_cv_prog_egrep='grep -E'
5223 else ac_cv_prog_egrep='egrep'
5226 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5227 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5228 EGREP=$ac_cv_prog_egrep
5231 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5232 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5233 if test "${ac_cv_header_stdc+set}" = set; then
5234 echo $ECHO_N "(cached) $ECHO_C" >&6
5236 cat >conftest.$ac_ext <<_ACEOF
5239 cat confdefs.h >>conftest.$ac_ext
5240 cat >>conftest.$ac_ext <<_ACEOF
5241 /* end confdefs.h. */
5255 rm -f conftest.$ac_objext
5256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5257 (eval $ac_compile) 2>conftest.er1
5259 grep -v '^ *+' conftest.er1 >conftest.err
5261 cat conftest.err >&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); } &&
5264 { ac_try='test -z "$ac_c_werror_flag"
5265 || test ! -s conftest.err'
5266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270 (exit $ac_status); }; } &&
5271 { ac_try='test -s conftest.$ac_objext'
5272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); }; }; then
5277 ac_cv_header_stdc=yes
5279 echo "$as_me: failed program was:" >&5
5280 sed 's/^/| /' conftest.$ac_ext >&5
5282 ac_cv_header_stdc=no
5284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5286 if test $ac_cv_header_stdc = yes; then
5287 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5288 cat >conftest.$ac_ext <<_ACEOF
5291 cat confdefs.h >>conftest.$ac_ext
5292 cat >>conftest.$ac_ext <<_ACEOF
5293 /* end confdefs.h. */
5297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5298 $EGREP "memchr" >/dev/null 2>&1; then
5301 ac_cv_header_stdc=no
5307 if test $ac_cv_header_stdc = yes; then
5308 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5309 cat >conftest.$ac_ext <<_ACEOF
5312 cat confdefs.h >>conftest.$ac_ext
5313 cat >>conftest.$ac_ext <<_ACEOF
5314 /* end confdefs.h. */
5318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5319 $EGREP "free" >/dev/null 2>&1; then
5322 ac_cv_header_stdc=no
5328 if test $ac_cv_header_stdc = yes; then
5329 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5330 if test "$cross_compiling" = yes; then
5333 cat >conftest.$ac_ext <<_ACEOF
5336 cat confdefs.h >>conftest.$ac_ext
5337 cat >>conftest.$ac_ext <<_ACEOF
5338 /* end confdefs.h. */
5340 #if ((' ' & 0x0FF) == 0x020)
5341 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5342 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5344 # define ISLOWER(c) \
5345 (('a' <= (c) && (c) <= 'i') \
5346 || ('j' <= (c) && (c) <= 'r') \
5347 || ('s' <= (c) && (c) <= 'z'))
5348 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5351 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5356 for (i = 0; i < 256; i++)
5357 if (XOR (islower (i), ISLOWER (i))
5358 || toupper (i) != TOUPPER (i))
5363 rm -f conftest$ac_exeext
5364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5365 (eval $ac_link) 2>&5
5367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5368 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373 (exit $ac_status); }; }; then
5376 echo "$as_me: program exited with status $ac_status" >&5
5377 echo "$as_me: failed program was:" >&5
5378 sed 's/^/| /' conftest.$ac_ext >&5
5381 ac_cv_header_stdc=no
5383 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5387 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5388 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5389 if test $ac_cv_header_stdc = yes; then
5391 cat >>confdefs.h <<\_ACEOF
5392 #define STDC_HEADERS 1
5397 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5407 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5408 inttypes.h stdint.h unistd.h
5410 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5411 echo "$as_me:$LINENO: checking for $ac_header" >&5
5412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5414 echo $ECHO_N "(cached) $ECHO_C" >&6
5416 cat >conftest.$ac_ext <<_ACEOF
5419 cat confdefs.h >>conftest.$ac_ext
5420 cat >>conftest.$ac_ext <<_ACEOF
5421 /* end confdefs.h. */
5422 $ac_includes_default
5424 #include <$ac_header>
5426 rm -f conftest.$ac_objext
5427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5428 (eval $ac_compile) 2>conftest.er1
5430 grep -v '^ *+' conftest.er1 >conftest.err
5432 cat conftest.err >&5
5433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434 (exit $ac_status); } &&
5435 { ac_try='test -z "$ac_c_werror_flag"
5436 || test ! -s conftest.err'
5437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5441 (exit $ac_status); }; } &&
5442 { ac_try='test -s conftest.$ac_objext'
5443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447 (exit $ac_status); }; }; then
5448 eval "$as_ac_Header=yes"
5450 echo "$as_me: failed program was:" >&5
5451 sed 's/^/| /' conftest.$ac_ext >&5
5453 eval "$as_ac_Header=no"
5455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5460 cat >>confdefs.h <<_ACEOF
5461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5471 for ac_header in unistd.h getopt.h
5473 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5475 echo "$as_me:$LINENO: checking for $ac_header" >&5
5476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5478 echo $ECHO_N "(cached) $ECHO_C" >&6
5480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5483 # Is the header compilable?
5484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5486 cat >conftest.$ac_ext <<_ACEOF
5489 cat confdefs.h >>conftest.$ac_ext
5490 cat >>conftest.$ac_ext <<_ACEOF
5491 /* end confdefs.h. */
5492 $ac_includes_default
5493 #include <$ac_header>
5495 rm -f conftest.$ac_objext
5496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5497 (eval $ac_compile) 2>conftest.er1
5499 grep -v '^ *+' conftest.er1 >conftest.err
5501 cat conftest.err >&5
5502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5503 (exit $ac_status); } &&
5504 { ac_try='test -z "$ac_c_werror_flag"
5505 || test ! -s conftest.err'
5506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); }; } &&
5511 { ac_try='test -s conftest.$ac_objext'
5512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); }; }; then
5517 ac_header_compiler=yes
5519 echo "$as_me: failed program was:" >&5
5520 sed 's/^/| /' conftest.$ac_ext >&5
5522 ac_header_compiler=no
5524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5525 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5526 echo "${ECHO_T}$ac_header_compiler" >&6
5528 # Is the header present?
5529 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5530 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5531 cat >conftest.$ac_ext <<_ACEOF
5534 cat confdefs.h >>conftest.$ac_ext
5535 cat >>conftest.$ac_ext <<_ACEOF
5536 /* end confdefs.h. */
5537 #include <$ac_header>
5539 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5540 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5542 grep -v '^ *+' conftest.er1 >conftest.err
5544 cat conftest.err >&5
5545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5546 (exit $ac_status); } >/dev/null; then
5547 if test -s conftest.err; then
5548 ac_cpp_err=$ac_c_preproc_warn_flag
5549 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5556 if test -z "$ac_cpp_err"; then
5557 ac_header_preproc=yes
5559 echo "$as_me: failed program was:" >&5
5560 sed 's/^/| /' conftest.$ac_ext >&5
5562 ac_header_preproc=no
5564 rm -f conftest.err conftest.$ac_ext
5565 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5566 echo "${ECHO_T}$ac_header_preproc" >&6
5568 # So? What about this header?
5569 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5575 ac_header_preproc=yes
5578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5592 ## ------------------------------------------ ##
5593 ## Report this to the AC_PACKAGE_NAME lists. ##
5594 ## ------------------------------------------ ##
5597 sed "s/^/$as_me: WARNING: /" >&2
5600 echo "$as_me:$LINENO: checking for $ac_header" >&5
5601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5603 echo $ECHO_N "(cached) $ECHO_C" >&6
5605 eval "$as_ac_Header=\$ac_header_preproc"
5607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5612 cat >>confdefs.h <<_ACEOF
5613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5621 if test "${ac_cv_header_netinet_in_h+set}" = set; then
5622 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
5623 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
5624 if test "${ac_cv_header_netinet_in_h+set}" = set; then
5625 echo $ECHO_N "(cached) $ECHO_C" >&6
5627 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
5628 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
5630 # Is the header compilable?
5631 echo "$as_me:$LINENO: checking netinet/in.h usability" >&5
5632 echo $ECHO_N "checking netinet/in.h usability... $ECHO_C" >&6
5633 cat >conftest.$ac_ext <<_ACEOF
5636 cat confdefs.h >>conftest.$ac_ext
5637 cat >>conftest.$ac_ext <<_ACEOF
5638 /* end confdefs.h. */
5639 $ac_includes_default
5640 #include <netinet/in.h>
5642 rm -f conftest.$ac_objext
5643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5644 (eval $ac_compile) 2>conftest.er1
5646 grep -v '^ *+' conftest.er1 >conftest.err
5648 cat conftest.err >&5
5649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650 (exit $ac_status); } &&
5651 { ac_try='test -z "$ac_c_werror_flag"
5652 || test ! -s conftest.err'
5653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657 (exit $ac_status); }; } &&
5658 { ac_try='test -s conftest.$ac_objext'
5659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663 (exit $ac_status); }; }; then
5664 ac_header_compiler=yes
5666 echo "$as_me: failed program was:" >&5
5667 sed 's/^/| /' conftest.$ac_ext >&5
5669 ac_header_compiler=no
5671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5673 echo "${ECHO_T}$ac_header_compiler" >&6
5675 # Is the header present?
5676 echo "$as_me:$LINENO: checking netinet/in.h presence" >&5
5677 echo $ECHO_N "checking netinet/in.h presence... $ECHO_C" >&6
5678 cat >conftest.$ac_ext <<_ACEOF
5681 cat confdefs.h >>conftest.$ac_ext
5682 cat >>conftest.$ac_ext <<_ACEOF
5683 /* end confdefs.h. */
5684 #include <netinet/in.h>
5686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5687 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5689 grep -v '^ *+' conftest.er1 >conftest.err
5691 cat conftest.err >&5
5692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5693 (exit $ac_status); } >/dev/null; then
5694 if test -s conftest.err; then
5695 ac_cpp_err=$ac_c_preproc_warn_flag
5696 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5703 if test -z "$ac_cpp_err"; then
5704 ac_header_preproc=yes
5706 echo "$as_me: failed program was:" >&5
5707 sed 's/^/| /' conftest.$ac_ext >&5
5709 ac_header_preproc=no
5711 rm -f conftest.err conftest.$ac_ext
5712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5713 echo "${ECHO_T}$ac_header_preproc" >&6
5715 # So? What about this header?
5716 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5718 { echo "$as_me:$LINENO: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&5
5719 echo "$as_me: WARNING: netinet/in.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5720 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the compiler's result" >&5
5721 echo "$as_me: WARNING: netinet/in.h: proceeding with the compiler's result" >&2;}
5722 ac_header_preproc=yes
5725 { echo "$as_me:$LINENO: WARNING: netinet/in.h: present but cannot be compiled" >&5
5726 echo "$as_me: WARNING: netinet/in.h: present but cannot be compiled" >&2;}
5727 { echo "$as_me:$LINENO: WARNING: netinet/in.h: check for missing prerequisite headers?" >&5
5728 echo "$as_me: WARNING: netinet/in.h: check for missing prerequisite headers?" >&2;}
5729 { echo "$as_me:$LINENO: WARNING: netinet/in.h: see the Autoconf documentation" >&5
5730 echo "$as_me: WARNING: netinet/in.h: see the Autoconf documentation" >&2;}
5731 { echo "$as_me:$LINENO: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&5
5732 echo "$as_me: WARNING: netinet/in.h: section \"Present But Cannot Be Compiled\"" >&2;}
5733 { echo "$as_me:$LINENO: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&5
5734 echo "$as_me: WARNING: netinet/in.h: proceeding with the preprocessor's result" >&2;}
5735 { echo "$as_me:$LINENO: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&5
5736 echo "$as_me: WARNING: netinet/in.h: in the future, the compiler will take precedence" >&2;}
5739 ## ------------------------------------------ ##
5740 ## Report this to the AC_PACKAGE_NAME lists. ##
5741 ## ------------------------------------------ ##
5744 sed "s/^/$as_me: WARNING: /" >&2
5747 echo "$as_me:$LINENO: checking for netinet/in.h" >&5
5748 echo $ECHO_N "checking for netinet/in.h... $ECHO_C" >&6
5749 if test "${ac_cv_header_netinet_in_h+set}" = set; then
5750 echo $ECHO_N "(cached) $ECHO_C" >&6
5752 ac_cv_header_netinet_in_h=$ac_header_preproc
5754 echo "$as_me:$LINENO: result: $ac_cv_header_netinet_in_h" >&5
5755 echo "${ECHO_T}$ac_cv_header_netinet_in_h" >&6
5758 if test $ac_cv_header_netinet_in_h = yes; then
5759 cat >>confdefs.h <<\_ACEOF
5760 #define HAVE_NETINET_IN_H 1
5769 if test "$no_netinet_in" != "yes"; then
5770 echo "$as_me:$LINENO: checking for in_addr_t defined in netinet/in.h" >&5
5771 echo $ECHO_N "checking for in_addr_t defined in netinet/in.h... $ECHO_C" >&6
5772 cat >conftest.$ac_ext <<_ACEOF
5775 cat confdefs.h >>conftest.$ac_ext
5776 cat >>conftest.$ac_ext <<_ACEOF
5777 /* end confdefs.h. */
5778 #include <netinet/in.h>
5781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5782 $EGREP "in_addr_t" >/dev/null 2>&1; then
5783 ac_cv_type_in_addr_t=yes
5785 ac_cv_type_in_addr_t=no
5789 echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5
5790 echo "${ECHO_T}$ac_cv_type_in_addr_t" >&6
5793 if test "$ac_cv_type_in_addr_t" != "yes"; then
5794 cat >>confdefs.h <<\_ACEOF
5795 #define in_addr_t uint32_t
5801 case $PRO_C_INCLUDES in
5802 *INCLUDE='$(srcdir)'*) ;;
5803 *) PRO_C_INCLUDES=INCLUDE='$(srcdir)'\ $PRO_C_INCLUDES ;;
5809 *-I'$(SRCTOP)/include'*) ;;
5810 *) CPPFLAGS=-I'$(SRCTOP)/include'\ $CPPFLAGS ;;
5814 case $PRO_C_INCLUDES in
5815 *INCLUDE='$(SRCTOP)/include'*) ;;
5816 *) PRO_C_INCLUDES=INCLUDE='$(SRCTOP)/include'\ $PRO_C_INCLUDES ;;
5823 *-I'$(SRCTOP)/lib'*) ;;
5824 *) CPPFLAGS=-I'$(SRCTOP)/lib'\ $CPPFLAGS ;;
5828 case $PRO_C_INCLUDES in
5829 *INCLUDE='$(SRCTOP)/lib'*) ;;
5830 *) PRO_C_INCLUDES=INCLUDE='$(SRCTOP)/lib'\ $PRO_C_INCLUDES ;;
5837 *-I'$(BUILDTOP)/lib'*) ;;
5838 *) CPPFLAGS=-I'$(BUILDTOP)/lib'\ $CPPFLAGS ;;
5842 case $PRO_C_INCLUDES in
5843 *INCLUDE='$(BUILDTOP)/lib'*) ;;
5844 *) PRO_C_INCLUDES=INCLUDE='$(BUILDTOP)/lib'\ $PRO_C_INCLUDES ;;
5851 *-I'$(BUILDTOP)/db'*) ;;
5852 *) CPPFLAGS=-I'$(BUILDTOP)/db'\ $CPPFLAGS ;;
5856 case $PRO_C_INCLUDES in
5857 *INCLUDE='$(BUILDTOP)/db'*) ;;
5858 *) PRO_C_INCLUDES=INCLUDE='$(BUILDTOP)/db'\ $PRO_C_INCLUDES ;;
5866 *) CPPFLAGS=-I'$(srcdir)'\ $CPPFLAGS ;;
5870 case $PRO_C_INCLUDES in
5871 *INCLUDE='$(srcdir)'*) ;;
5872 *) PRO_C_INCLUDES=INCLUDE='$(srcdir)'\ $PRO_C_INCLUDES ;;
5876 LDFLAGS="$LDFLAGS -L\$(BUILDTOP)/lib $LIBPATH"
5877 KLIBS="$KRB4_LIBS -lcom_err $LIBS"
5879 if test "$hesiod" != no; then
5880 KLIBS="-lhesiod $KLIBS"
5882 KLIBS="$KRB4_LIBS -lcom_err $KLIBS"
5883 if test "$zephyr" != no; then
5884 KLIBS="-lzephyr $KLIBS"
5886 LIBS="-lmoira $KLIBS"
5889 MR_LIBDEP='$(BUILDTOP)/lib/libmoira.a'
5892 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"
5893 cat >confcache <<\_ACEOF
5894 # This file is a shell script that caches the results of configure
5895 # tests run on this system so they can be shared between configure
5896 # scripts and configure runs, see configure's option --config-cache.
5897 # It is not useful on other systems. If it contains results you don't
5898 # want to keep, you may remove or edit it.
5900 # config.status only pays attention to the cache file if you give it
5901 # the --recheck option to rerun configure.
5903 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5904 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5909 # The following way of writing the cache mishandles newlines in values,
5910 # but we know of no workaround that is simple, portable, and efficient.
5911 # So, don't put newlines in cache variables' values.
5912 # Ultrix sh set writes to stderr and can't be redirected directly,
5913 # and sets the high bit in the cache file unless we assign to the vars.
5916 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5918 # `set' does not quote correctly, so add quotes (double-quote
5919 # substitution turns \\\\ into \\, and sed turns \\ into \).
5922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5925 # `set' quotes correctly as required by POSIX, so do not add quotes.
5927 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5934 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5936 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5938 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5939 if test -w $cache_file; then
5940 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5941 cat confcache >$cache_file
5943 echo "not updating unwritable cache $cache_file"
5948 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5949 # Let make expand exec_prefix.
5950 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5952 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5953 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5954 # trailing colons and then remove the whole line if VPATH becomes empty
5955 # (actually we leave an empty line to preserve line numbers).
5956 if test "x$srcdir" = x.; then
5957 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5958 s/:*\$(srcdir):*/:/;
5959 s/:*\${srcdir}:*/:/;
5961 s/^\([^=]*=[ ]*\):*/\1/;
5967 # Transform confdefs.h into DEFS.
5968 # Protect against shell expansion while executing Makefile rules.
5969 # Protect against Makefile macro expansion.
5971 # If the first sed substitution is executed (which looks for macros that
5972 # take arguments), then we branch to the quote section. Otherwise,
5973 # look for a macro that doesn't take arguments.
5974 cat >confdef2opt.sed <<\_ACEOF
5977 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
5979 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
5983 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
5989 # We use echo to avoid assuming a particular line-breaking character.
5990 # The extra dot is to prevent the shell from consuming trailing
5991 # line-breaks from the sub-command output. A line-break within
5992 # single-quotes doesn't work because, if this script is created in a
5993 # platform that uses two characters for line-breaks (e.g., DOS), tr
5995 ac_LF_and_DOT=`echo; echo .`
5996 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
5997 rm -f confdef2opt.sed
6002 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6003 # 1. Remove the extension, and $U if already installed.
6004 ac_i=`echo "$ac_i" |
6005 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6007 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6008 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6012 LTLIBOBJS=$ac_ltlibobjs
6016 : ${CONFIG_STATUS=./config.status}
6017 ac_clean_files_save=$ac_clean_files
6018 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6019 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6020 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6021 cat >$CONFIG_STATUS <<_ACEOF
6023 # Generated by $as_me.
6024 # Run this file to recreate the current configuration.
6025 # Compiler output produced by configure, useful for debugging
6026 # configure, is in config.log if it exists.
6031 SHELL=\${CONFIG_SHELL-$SHELL}
6034 cat >>$CONFIG_STATUS <<\_ACEOF
6035 ## --------------------- ##
6036 ## M4sh Initialization. ##
6037 ## --------------------- ##
6039 # Be Bourne compatible
6040 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6043 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6044 # is contrary to our usage. Disable this feature.
6045 alias -g '${1+"$@"}'='"$@"'
6046 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6049 DUALCASE=1; export DUALCASE # for MKS sh
6051 # Support unset when possible.
6052 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6059 # Work around bugs in pre-3.0 UWIN ksh.
6060 $as_unset ENV MAIL MAILPATH
6067 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6068 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6069 LC_TELEPHONE LC_TIME
6071 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6072 eval $as_var=C; export $as_var
6078 # Required to use basename.
6079 if expr a : '\(a\)' >/dev/null 2>&1; then
6085 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6086 as_basename=basename
6092 # Name of the executable.
6093 as_me=`$as_basename "$0" ||
6094 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6095 X"$0" : 'X\(//\)$' \| \
6096 X"$0" : 'X\(/\)$' \| \
6097 . : '\(.\)' 2>/dev/null ||
6099 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6100 /^X\/\(\/\/\)$/{ s//\1/; q; }
6101 /^X\/\(\/\).*/{ s//\1/; q; }
6105 # PATH needs CR, and LINENO needs CR and PATH.
6106 # Avoid depending upon Character Ranges.
6107 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6108 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6109 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6110 as_cr_digits='0123456789'
6111 as_cr_alnum=$as_cr_Letters$as_cr_digits
6113 # The user is always right.
6114 if test "${PATH_SEPARATOR+set}" != set; then
6115 echo "#! /bin/sh" >conf$$.sh
6116 echo "exit 0" >>conf$$.sh
6118 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6129 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6130 test "x$as_lineno_1" != "x$as_lineno_2" &&
6131 test "x$as_lineno_3" = "x$as_lineno_2" || {
6132 # Find who we are. Look in the path if we contain no path at all
6135 *[\\/]* ) as_myself=$0 ;;
6136 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140 test -z "$as_dir" && as_dir=.
6141 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6146 # We did not find ourselves, most probably we were run as `sh COMMAND'
6147 # in which case we are not to be found in the path.
6148 if test "x$as_myself" = x; then
6151 if test ! -f "$as_myself"; then
6152 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6153 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6154 { (exit 1); exit 1; }; }
6156 case $CONFIG_SHELL in
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6162 test -z "$as_dir" && as_dir=.
6163 for as_base in sh bash ksh sh5; do
6166 if ("$as_dir/$as_base" -c '
6169 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6170 test "x$as_lineno_1" != "x$as_lineno_2" &&
6171 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6172 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6173 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6174 CONFIG_SHELL=$as_dir/$as_base
6176 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6184 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6185 # uniformly replaced by the line number. The first 'sed' inserts a
6186 # line-number line before each line; the second 'sed' does the real
6187 # work. The second script uses 'N' to pair each line-number line
6188 # with the numbered line, and appends trailing '-' during
6189 # substitution so that $LINENO is not a special case at line end.
6190 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6191 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6192 sed '=' <$as_myself |
6197 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6200 s,^['$as_cr_digits']*\n,,
6202 chmod +x $as_me.lineno ||
6203 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6204 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6205 { (exit 1); exit 1; }; }
6207 # Don't try to exec as it changes $[0], causing all sort of problems
6208 # (the dirname of $[0] is not the place where we might find the
6209 # original and so on. Autoconf is especially sensible to this).
6211 # Exit status is that of the last command.
6216 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6217 *c*,-n*) ECHO_N= ECHO_C='
6219 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6220 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6223 if expr a : '\(a\)' >/dev/null 2>&1; then
6229 rm -f conf$$ conf$$.exe conf$$.file
6231 if ln -s conf$$.file conf$$ 2>/dev/null; then
6232 # We could just check for DJGPP; but this test a) works b) is more generic
6233 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6234 if test -f conf$$.exe; then
6235 # Don't use ln at all; we don't have any links
6240 elif ln conf$$.file conf$$ 2>/dev/null; then
6245 rm -f conf$$ conf$$.exe conf$$.file
6247 if mkdir -p . 2>/dev/null; then
6250 test -d ./-p && rmdir ./-p
6254 as_executable_p="test -f"
6256 # Sed expression to map a string onto a valid CPP name.
6257 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6259 # Sed expression to map a string onto a valid variable name.
6260 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6264 # We need space, tab and new line, in precisely that order.
6274 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6275 # report actual input values of CONFIG_FILES etc. instead of their
6276 # values after options handling. Logging --version etc. is OK.
6280 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6281 ## Running $as_me. ##
6286 This file was extended by $as_me, which was
6287 generated by GNU Autoconf 2.59. Invocation command line was
6289 CONFIG_FILES = $CONFIG_FILES
6290 CONFIG_HEADERS = $CONFIG_HEADERS
6291 CONFIG_LINKS = $CONFIG_LINKS
6292 CONFIG_COMMANDS = $CONFIG_COMMANDS
6296 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6300 # Files that config.status was made for.
6301 if test -n "$ac_config_files"; then
6302 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6305 if test -n "$ac_config_headers"; then
6306 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6309 if test -n "$ac_config_links"; then
6310 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6313 if test -n "$ac_config_commands"; then
6314 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6317 cat >>$CONFIG_STATUS <<\_ACEOF
6320 \`$as_me' instantiates files from templates according to the
6321 current configuration.
6323 Usage: $0 [OPTIONS] [FILE]...
6325 -h, --help print this help, then exit
6326 -V, --version print version number, then exit
6327 -q, --quiet do not print progress messages
6328 -d, --debug don't remove temporary files
6329 --recheck update $as_me by reconfiguring in the same conditions
6330 --file=FILE[:TEMPLATE]
6331 instantiate the configuration file FILE
6333 Configuration files:
6336 Report bugs to <bug-autoconf@gnu.org>."
6339 cat >>$CONFIG_STATUS <<_ACEOF
6342 configured by $0, generated by GNU Autoconf 2.59,
6343 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6345 Copyright (C) 2003 Free Software Foundation, Inc.
6346 This config.status script is free software; the Free Software Foundation
6347 gives unlimited permission to copy, distribute and modify it."
6352 cat >>$CONFIG_STATUS <<\_ACEOF
6353 # If no file are specified by the user, then we need to provide default
6354 # value. By we need to know if files were specified by the user.
6360 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6361 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6369 *) # This is not an option, so the user has probably given explicit
6372 ac_need_defaults=false;;
6376 # Handling of the options.
6378 cat >>$CONFIG_STATUS <<\_ACEOF
6379 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6381 --version | --vers* | -V )
6382 echo "$ac_cs_version"; exit 0 ;;
6384 # Conflict between --help and --header
6385 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6386 Try \`$0 --help' for more information." >&5
6387 echo "$as_me: error: ambiguous option: $1
6388 Try \`$0 --help' for more information." >&2;}
6389 { (exit 1); exit 1; }; };;
6390 --help | --hel | -h )
6391 echo "$ac_cs_usage"; exit 0 ;;
6392 --debug | --d* | -d )
6394 --file | --fil | --fi | --f )
6396 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6397 ac_need_defaults=false;;
6398 --header | --heade | --head | --hea )
6400 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6401 ac_need_defaults=false;;
6402 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6403 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6407 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6408 Try \`$0 --help' for more information." >&5
6409 echo "$as_me: error: unrecognized option: $1
6410 Try \`$0 --help' for more information." >&2;}
6411 { (exit 1); exit 1; }; } ;;
6413 *) ac_config_targets="$ac_config_targets $1" ;;
6419 ac_configure_extra_args=
6421 if $ac_cs_silent; then
6423 ac_configure_extra_args="$ac_configure_extra_args --silent"
6427 cat >>$CONFIG_STATUS <<_ACEOF
6428 if \$ac_cs_recheck; then
6429 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6430 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6439 cat >>$CONFIG_STATUS <<\_ACEOF
6440 for ac_config_target in $ac_config_targets
6442 case "$ac_config_target" in
6443 # Handling of arguments.
6444 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6445 "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
6446 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
6447 "clients/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/Makefile" ;;
6448 "clients/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/lib/Makefile" ;;
6449 "clients/addusr/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/addusr/Makefile" ;;
6450 "clients/blanche/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/blanche/Makefile" ;;
6451 "clients/chfn/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/chfn/Makefile" ;;
6452 "clients/chpobox/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/chpobox/Makefile" ;;
6453 "clients/chsh/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/chsh/Makefile" ;;
6454 "clients/mailmaint/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/mailmaint/Makefile" ;;
6455 "clients/mitch/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/mitch/Makefile" ;;
6456 "clients/moira/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/moira/Makefile" ;;
6457 "clients/mrcheck/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/mrcheck/Makefile" ;;
6458 "clients/mrtest/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/mrtest/Makefile" ;;
6459 "clients/stanley/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/stanley/Makefile" ;;
6460 "clients/stella/Makefile" ) CONFIG_FILES="$CONFIG_FILES clients/stella/Makefile" ;;
6461 "update/Makefile" ) CONFIG_FILES="$CONFIG_FILES update/Makefile" ;;
6462 "man/Makefile" ) CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
6463 "$WEBMOIRA_OUTPUT_FILES" ) CONFIG_FILES="$CONFIG_FILES $WEBMOIRA_OUTPUT_FILES" ;;
6464 "$SERVER_OUTPUT_FILES" ) CONFIG_FILES="$CONFIG_FILES $SERVER_OUTPUT_FILES" ;;
6465 "$WINAD_OUTPUT_FILES" ) CONFIG_FILES="$CONFIG_FILES $WINAD_OUTPUT_FILES" ;;
6466 "$AFS_OUTPUT_FILES" ) CONFIG_FILES="$CONFIG_FILES $AFS_OUTPUT_FILES" ;;
6467 "$RSAREF_OUTPUT_FILES" ) CONFIG_FILES="$CONFIG_FILES $RSAREF_OUTPUT_FILES" ;;
6468 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6469 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6470 { (exit 1); exit 1; }; };;
6474 # If the user did not use the arguments to specify the items to instantiate,
6475 # then the envvar interface is used. Set only those that are not.
6476 # We use the long form for the default assignment because of an extremely
6477 # bizarre bug on SunOS 4.1.3.
6478 if $ac_need_defaults; then
6479 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6482 # Have a temporary directory for convenience. Make it in the build tree
6483 # simply because there is no reason to put it here, and in addition,
6484 # creating and moving files from /tmp can sometimes cause problems.
6485 # Create a temporary directory, and hook for its removal unless debugging.
6488 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6489 trap '{ (exit 1); exit 1; }' 1 2 13 15
6492 # Create a (secure) tmp directory for tmp files.
6495 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6496 test -n "$tmp" && test -d "$tmp"
6499 tmp=./confstat$$-$RANDOM
6500 (umask 077 && mkdir $tmp)
6503 echo "$me: cannot create a temporary directory in ." >&2
6504 { (exit 1); exit 1; }
6509 cat >>$CONFIG_STATUS <<_ACEOF
6512 # CONFIG_FILES section.
6515 # No need to generate the scripts if there are no CONFIG_FILES.
6516 # This happens for instance when ./config.status config.h
6517 if test -n "\$CONFIG_FILES"; then
6518 # Protect against being on the right side of a sed subst in config.status.
6519 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6520 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6521 s,@SHELL@,$SHELL,;t t
6522 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6523 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6524 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6525 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6526 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6527 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6528 s,@exec_prefix@,$exec_prefix,;t t
6529 s,@prefix@,$prefix,;t t
6530 s,@program_transform_name@,$program_transform_name,;t t
6531 s,@bindir@,$bindir,;t t
6532 s,@sbindir@,$sbindir,;t t
6533 s,@libexecdir@,$libexecdir,;t t
6534 s,@datadir@,$datadir,;t t
6535 s,@sysconfdir@,$sysconfdir,;t t
6536 s,@sharedstatedir@,$sharedstatedir,;t t
6537 s,@localstatedir@,$localstatedir,;t t
6538 s,@libdir@,$libdir,;t t
6539 s,@includedir@,$includedir,;t t
6540 s,@oldincludedir@,$oldincludedir,;t t
6541 s,@infodir@,$infodir,;t t
6542 s,@mandir@,$mandir,;t t
6543 s,@build_alias@,$build_alias,;t t
6544 s,@host_alias@,$host_alias,;t t
6545 s,@target_alias@,$target_alias,;t t
6547 s,@ECHO_C@,$ECHO_C,;t t
6548 s,@ECHO_N@,$ECHO_N,;t t
6549 s,@ECHO_T@,$ECHO_T,;t t
6551 s,@build@,$build,;t t
6552 s,@build_cpu@,$build_cpu,;t t
6553 s,@build_vendor@,$build_vendor,;t t
6554 s,@build_os@,$build_os,;t t
6556 s,@host_cpu@,$host_cpu,;t t
6557 s,@host_vendor@,$host_vendor,;t t
6558 s,@host_os@,$host_os,;t t
6559 s,@SO_LDFLAGS@,$SO_LDFLAGS,;t t
6561 s,@CFLAGS@,$CFLAGS,;t t
6562 s,@LDFLAGS@,$LDFLAGS,;t t
6563 s,@CPPFLAGS@,$CPPFLAGS,;t t
6564 s,@ac_ct_CC@,$ac_ct_CC,;t t
6565 s,@EXEEXT@,$EXEEXT,;t t
6566 s,@OBJEXT@,$OBJEXT,;t t
6567 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6568 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6569 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6570 s,@RANLIB@,$RANLIB,;t t
6571 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6572 s,@SET_MAKE@,$SET_MAKE,;t t
6573 s,@mrbindir@,$mrbindir,;t t
6574 s,@subdirs@,$subdirs,;t t
6575 s,@COM_ERR_SUBDIR@,$COM_ERR_SUBDIR,;t t
6576 s,@COMPILE_ET@,$COMPILE_ET,;t t
6577 s,@REG_SVR_DEFS@,$REG_SVR_DEFS,;t t
6578 s,@REG_SVR_INCLUDES@,$REG_SVR_INCLUDES,;t t
6579 s,@REG_SVR_LIBS@,$REG_SVR_LIBS,;t t
6580 s,@RSAREF_CPPFLAGS@,$RSAREF_CPPFLAGS,;t t
6581 s,@RSAREF_LIBS@,$RSAREF_LIBS,;t t
6582 s,@RSAREF_SUBDIRS@,$RSAREF_SUBDIRS,;t t
6583 s,@RSAREF_LIBDEP@,$RSAREF_LIBDEP,;t t
6584 s,@PRO_C@,$PRO_C,;t t
6585 s,@PRO_C_DEFS@,$PRO_C_DEFS,;t t
6586 s,@PRO_C_INCLUDES@,$PRO_C_INCLUDES,;t t
6587 s,@PRO_C_OPTS@,$PRO_C_OPTS,;t t
6588 s,@SQL_LIBS@,$SQL_LIBS,;t t
6589 s,@SVRSUBDIRS@,$SVRSUBDIRS,;t t
6590 s,@JAVA_CPPFLAGS@,$JAVA_CPPFLAGS,;t t
6591 s,@WEBMOIRA_SUBDIRS@,$WEBMOIRA_SUBDIRS,;t t
6592 s,@LDAP_CPPFLAGS@,$LDAP_CPPFLAGS,;t t
6593 s,@LDAP_LIBS@,$LDAP_LIBS,;t t
6594 s,@WINAD_SUBDIRS@,$WINAD_SUBDIRS,;t t
6595 s,@AFS_CPPFLAGS@,$AFS_CPPFLAGS,;t t
6596 s,@AFS_PRO_C_INCLUDES@,$AFS_PRO_C_INCLUDES,;t t
6597 s,@AFS_LIBS@,$AFS_LIBS,;t t
6598 s,@AFS_DIR@,$AFS_DIR,;t t
6599 s,@AFS_SUBDIRS@,$AFS_SUBDIRS,;t t
6600 s,@AFS_SYNCDIR@,$AFS_SYNCDIR,;t t
6601 s,@READLINE_CPPFLAGS@,$READLINE_CPPFLAGS,;t t
6602 s,@READLINE_LIBS@,$READLINE_LIBS,;t t
6603 s,@CURSES_CPPFLAGS@,$CURSES_CPPFLAGS,;t t
6604 s,@CURSES_LIBS@,$CURSES_LIBS,;t t
6605 s,@CURSES_SUBDIRS@,$CURSES_SUBDIRS,;t t
6607 s,@EGREP@,$EGREP,;t t
6608 s,@KLIBS@,$KLIBS,;t t
6609 s,@MR_LIBDEP@,$MR_LIBDEP,;t t
6610 s,@LIBOBJS@,$LIBOBJS,;t t
6611 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6616 cat >>$CONFIG_STATUS <<\_ACEOF
6617 # Split the substitutions into bite-sized pieces for seds with
6618 # small command number limits, like on Digital OSF/1 and HP-UX.
6620 ac_sed_frag=1 # Number of current file.
6621 ac_beg=1 # First line for current file.
6622 ac_end=$ac_max_sed_lines # Line after last line for current file.
6625 while $ac_more_lines; do
6626 if test $ac_beg -gt 1; then
6627 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6629 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6631 if test ! -s $tmp/subs.frag; then
6634 # The purpose of the label and of the branching condition is to
6635 # speed up the sed processing (if there are no `@' at all, there
6636 # is no need to browse any of the substitutions).
6637 # These are the two extra sed commands mentioned above.
6639 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6640 if test -z "$ac_sed_cmds"; then
6641 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6643 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6645 ac_sed_frag=`expr $ac_sed_frag + 1`
6647 ac_end=`expr $ac_end + $ac_max_sed_lines`
6650 if test -z "$ac_sed_cmds"; then
6653 fi # test -n "$CONFIG_FILES"
6656 cat >>$CONFIG_STATUS <<\_ACEOF
6657 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6658 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6660 - | *:- | *:-:* ) # input from stdin
6662 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6663 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6664 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6665 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6666 * ) ac_file_in=$ac_file.in ;;
6669 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6670 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6671 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6672 X"$ac_file" : 'X\(//\)[^/]' \| \
6673 X"$ac_file" : 'X\(//\)$' \| \
6674 X"$ac_file" : 'X\(/\)' \| \
6675 . : '\(.\)' 2>/dev/null ||
6677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6678 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6679 /^X\(\/\/\)$/{ s//\1/; q; }
6680 /^X\(\/\).*/{ s//\1/; q; }
6682 { if $as_mkdir_p; then
6687 while test ! -d "$as_dir"; do
6688 as_dirs="$as_dir $as_dirs"
6689 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6690 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6691 X"$as_dir" : 'X\(//\)[^/]' \| \
6692 X"$as_dir" : 'X\(//\)$' \| \
6693 X"$as_dir" : 'X\(/\)' \| \
6694 . : '\(.\)' 2>/dev/null ||
6696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6697 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6698 /^X\(\/\/\)$/{ s//\1/; q; }
6699 /^X\(\/\).*/{ s//\1/; q; }
6702 test ! -n "$as_dirs" || mkdir $as_dirs
6703 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6704 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6705 { (exit 1); exit 1; }; }; }
6709 if test "$ac_dir" != .; then
6710 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6711 # A "../" for each directory in $ac_dir_suffix.
6712 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6714 ac_dir_suffix= ac_top_builddir=
6718 .) # No --srcdir option. We are building in place.
6720 if test -z "$ac_top_builddir"; then
6723 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6725 [\\/]* | ?:[\\/]* ) # Absolute path.
6726 ac_srcdir=$srcdir$ac_dir_suffix;
6727 ac_top_srcdir=$srcdir ;;
6729 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6730 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6733 # Do not use `cd foo && pwd` to compute absolute paths, because
6734 # the directories may not exist.
6736 .) ac_abs_builddir="$ac_dir";;
6739 .) ac_abs_builddir=`pwd`;;
6740 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6741 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6744 case $ac_abs_builddir in
6745 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6747 case ${ac_top_builddir}. in
6748 .) ac_abs_top_builddir=$ac_abs_builddir;;
6749 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6750 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6753 case $ac_abs_builddir in
6754 .) ac_abs_srcdir=$ac_srcdir;;
6757 .) ac_abs_srcdir=$ac_abs_builddir;;
6758 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6759 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6762 case $ac_abs_builddir in
6763 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6765 case $ac_top_srcdir in
6766 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6767 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6768 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6774 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6775 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6778 if test x"$ac_file" != x-; then
6779 { echo "$as_me:$LINENO: creating $ac_file" >&5
6780 echo "$as_me: creating $ac_file" >&6;}
6783 # Let's still pretend it is `configure' which instantiates (i.e., don't
6784 # use $as_me), people would be surprised to read:
6785 # /* config.h. Generated by config.status. */
6786 if test x"$ac_file" = x-; then
6789 configure_input="$ac_file. "
6791 configure_input=$configure_input"Generated from `echo $ac_file_in |
6792 sed 's,.*/,,'` by configure."
6794 # First look for the input files in the build tree, otherwise in the
6796 ac_file_inputs=`IFS=:
6797 for f in $ac_file_in; do
6799 -) echo $tmp/stdin ;;
6801 # Absolute (can't be DOS-style, as IFS=:)
6802 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6803 echo "$as_me: error: cannot find input file: $f" >&2;}
6804 { (exit 1); exit 1; }; }
6807 if test -f "$f"; then
6810 elif test -f "$srcdir/$f"; then
6815 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6816 echo "$as_me: error: cannot find input file: $f" >&2;}
6817 { (exit 1); exit 1; }; }
6820 done` || { (exit 1); exit 1; }
6822 cat >>$CONFIG_STATUS <<_ACEOF
6826 cat >>$CONFIG_STATUS <<\_ACEOF
6828 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6829 s,@configure_input@,$configure_input,;t t
6830 s,@srcdir@,$ac_srcdir,;t t
6831 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6832 s,@top_srcdir@,$ac_top_srcdir,;t t
6833 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6834 s,@builddir@,$ac_builddir,;t t
6835 s,@abs_builddir@,$ac_abs_builddir,;t t
6836 s,@top_builddir@,$ac_top_builddir,;t t
6837 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6838 s,@INSTALL@,$ac_INSTALL,;t t
6839 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6841 if test x"$ac_file" != x-; then
6842 mv $tmp/out $ac_file
6851 cat >>$CONFIG_STATUS <<\_ACEOF
6853 { (exit 0); exit 0; }
6855 chmod +x $CONFIG_STATUS
6856 ac_clean_files=$ac_clean_files_save
6859 # configure is writing to config.log, and then calls config.status.
6860 # config.status does its own redirection, appending to config.log.
6861 # Unfortunately, on DOS this fails, as config.log is still kept open
6862 # by configure, so config.status won't be able to write to it; its
6863 # output is simply discarded. So we exec the FD to /dev/null,
6864 # effectively closing config.log, so it can be properly (re)opened and
6865 # appended to by config.status. When coming back to configure, we
6866 # need to make the FD available again.
6867 if test "$no_create" != yes; then
6869 ac_config_status_args=
6870 test "$silent" = yes &&
6871 ac_config_status_args="$ac_config_status_args --quiet"
6873 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6875 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6876 # would make configure fail if this is the last instruction.
6877 $ac_cs_success || { (exit 1); exit 1; }
6881 # CONFIG_SUBDIRS section.
6883 if test "$no_recursion" != yes; then
6885 # Remove --cache-file and --srcdir arguments so they do not pile up.
6886 ac_sub_configure_args=
6888 for ac_arg in $ac_configure_args; do
6889 if test -n "$ac_prev"; then
6894 -cache-file | --cache-file | --cache-fil | --cache-fi \
6895 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
6896 ac_prev=cache_file ;;
6897 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
6898 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
6901 --config-cache | -C)
6903 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
6905 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
6907 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
6909 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6911 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
6915 # Always prepend --prefix to ensure using the same prefix
6916 # in subdir configurations.
6917 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
6920 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6922 # Do not complain, so a configure script can configure whichever
6923 # parts of a large source tree are present.
6924 test -d $srcdir/$ac_dir || continue
6926 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
6927 echo "$as_me: configuring in $ac_dir" >&6;}
6928 { if $as_mkdir_p; then
6933 while test ! -d "$as_dir"; do
6934 as_dirs="$as_dir $as_dirs"
6935 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6936 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6937 X"$as_dir" : 'X\(//\)[^/]' \| \
6938 X"$as_dir" : 'X\(//\)$' \| \
6939 X"$as_dir" : 'X\(/\)' \| \
6940 . : '\(.\)' 2>/dev/null ||
6942 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6943 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6944 /^X\(\/\/\)$/{ s//\1/; q; }
6945 /^X\(\/\).*/{ s//\1/; q; }
6948 test ! -n "$as_dirs" || mkdir $as_dirs
6949 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6950 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6951 { (exit 1); exit 1; }; }; }
6955 if test "$ac_dir" != .; then
6956 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6957 # A "../" for each directory in $ac_dir_suffix.
6958 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6960 ac_dir_suffix= ac_top_builddir=
6964 .) # No --srcdir option. We are building in place.
6966 if test -z "$ac_top_builddir"; then
6969 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6971 [\\/]* | ?:[\\/]* ) # Absolute path.
6972 ac_srcdir=$srcdir$ac_dir_suffix;
6973 ac_top_srcdir=$srcdir ;;
6975 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6976 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6979 # Do not use `cd foo && pwd` to compute absolute paths, because
6980 # the directories may not exist.
6982 .) ac_abs_builddir="$ac_dir";;
6985 .) ac_abs_builddir=`pwd`;;
6986 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6987 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6990 case $ac_abs_builddir in
6991 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6993 case ${ac_top_builddir}. in
6994 .) ac_abs_top_builddir=$ac_abs_builddir;;
6995 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6996 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6999 case $ac_abs_builddir in
7000 .) ac_abs_srcdir=$ac_srcdir;;
7003 .) ac_abs_srcdir=$ac_abs_builddir;;
7004 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7005 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7008 case $ac_abs_builddir in
7009 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7011 case $ac_top_srcdir in
7012 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7013 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7014 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7021 # Check for guested configure; otherwise get Cygnus style configure.
7022 if test -f $ac_srcdir/configure.gnu; then
7023 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
7024 elif test -f $ac_srcdir/configure; then
7025 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
7026 elif test -f $ac_srcdir/configure.in; then
7027 ac_sub_configure=$ac_configure
7029 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
7030 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
7034 # The recursion is here.
7035 if test -n "$ac_sub_configure"; then
7036 # Make the cache file name correct relative to the subdirectory.
7038 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
7040 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
7043 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
7044 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
7045 # The eval makes quoting arguments work.
7046 eval $ac_sub_configure $ac_sub_configure_args \
7047 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
7048 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
7049 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
7050 { (exit 1); exit 1; }; }