[BACK]Return to configure CVS log [TXT][DIR] Up to [local] / src / usr.bin / sudo

Annotation of src/usr.bin/sudo/configure, Revision 1.9

1.1       millert     1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.9     ! millert     3: # Generated by Autoconf 2.52 for sudo 1.6.4.
1.1       millert     4: #
1.9     ! millert     5: # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
        !             6: # Free Software Foundation, Inc.
1.1       millert     7: # This configure script is free software; the Free Software Foundation
                      8: # gives unlimited permission to copy, distribute and modify it.
                      9:
1.9     ! millert    10: # Avoid depending upon Character Ranges.
        !            11: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
        !            12: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
        !            13: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
        !            14: as_cr_digits='0123456789'
        !            15: as_cr_alnum=$as_cr_Letters$as_cr_digits
        !            16:
        !            17: # Sed expression to map a string onto a valid variable name.
        !            18: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
        !            19:
        !            20: # Sed expression to map a string onto a valid CPP name.
        !            21: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
        !            22:
        !            23: # Be Bourne compatible
        !            24: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
        !            25:   emulate sh
        !            26:   NULLCMD=:
        !            27: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
        !            28:   set -o posix
        !            29: fi
        !            30:
        !            31: # Name of the executable.
        !            32: as_me=`echo "$0" |sed 's,.*[\\/],,'`
        !            33:
        !            34: if expr a : '\(a\)' >/dev/null 2>&1; then
        !            35:   as_expr=expr
        !            36: else
        !            37:   as_expr=false
        !            38: fi
        !            39:
        !            40: rm -f conf$$ conf$$.exe conf$$.file
        !            41: echo >conf$$.file
        !            42: if ln -s conf$$.file conf$$ 2>/dev/null; then
        !            43:   # We could just check for DJGPP; but this test a) works b) is more generic
        !            44:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
        !            45:   if test -f conf$$.exe; then
        !            46:     # Don't use ln at all; we don't have any links
        !            47:     as_ln_s='cp -p'
        !            48:   else
        !            49:     as_ln_s='ln -s'
        !            50:   fi
        !            51: elif ln conf$$.file conf$$ 2>/dev/null; then
        !            52:   as_ln_s=ln
        !            53: else
        !            54:   as_ln_s='cp -p'
        !            55: fi
        !            56: rm -f conf$$ conf$$.exe conf$$.file
        !            57:
        !            58: as_executable_p="test -f"
        !            59:
        !            60: # Support unset when possible.
        !            61: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
        !            62:   as_unset=unset
        !            63: else
        !            64:   as_unset=false
        !            65: fi
        !            66:
        !            67: # NLS nuisances.
        !            68: $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
        !            69: $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
        !            70: $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
        !            71: $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
        !            72: $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
        !            73: $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
        !            74: $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
        !            75: $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
        !            76:
        !            77: # IFS
        !            78: # We need space, tab and new line, in precisely that order.
        !            79: as_nl='
        !            80: '
        !            81: IFS="  $as_nl"
        !            82:
        !            83: # CDPATH.
        !            84: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
        !            85:
        !            86: # Name of the host.
        !            87: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
        !            88: # so uname gets run too.
        !            89: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
        !            90:
        !            91: exec 6>&1
        !            92:
        !            93: #
        !            94: # Initializations.
        !            95: #
1.1       millert    96: ac_default_prefix=/usr/local
1.9     ! millert    97: cross_compiling=no
        !            98: subdirs=
        !            99: MFLAGS= MAKEFLAGS=
        !           100: SHELL=${CONFIG_SHELL-/bin/sh}
        !           101:
        !           102: # Maximum number of lines to put in a shell here document.
        !           103: # This variable seems obsolete.  It should probably be removed, and
        !           104: # only ac_max_sed_lines should be used.
        !           105: : ${ac_max_here_lines=38}
        !           106:
        !           107: # Factoring default headers for most tests.
        !           108: ac_includes_default="\
        !           109: #include <stdio.h>
        !           110: #if HAVE_SYS_TYPES_H
        !           111: # include <sys/types.h>
        !           112: #endif
        !           113: #if HAVE_SYS_STAT_H
        !           114: # include <sys/stat.h>
        !           115: #endif
        !           116: #if STDC_HEADERS
        !           117: # include <stdlib.h>
        !           118: # include <stddef.h>
        !           119: #else
        !           120: # if HAVE_STDLIB_H
        !           121: #  include <stdlib.h>
        !           122: # endif
        !           123: #endif
        !           124: #if HAVE_STRING_H
        !           125: # if !STDC_HEADERS && HAVE_MEMORY_H
        !           126: #  include <memory.h>
        !           127: # endif
        !           128: # include <string.h>
        !           129: #endif
        !           130: #if HAVE_STRINGS_H
        !           131: # include <strings.h>
        !           132: #endif
        !           133: #if HAVE_INTTYPES_H
        !           134: # include <inttypes.h>
        !           135: #else
        !           136: # if HAVE_STDINT_H
        !           137: #  include <stdint.h>
        !           138: # endif
        !           139: #endif
        !           140: #if HAVE_UNISTD_H
        !           141: # include <unistd.h>
        !           142: #endif"
1.1       millert   143:
                    144: # Initialize some variables set by options.
1.9     ! millert   145: ac_init_help=
        !           146: ac_init_version=false
1.1       millert   147: # The variables have the same names as the options, with
                    148: # dashes changed to underlines.
1.9     ! millert   149: cache_file=/dev/null
1.1       millert   150: exec_prefix=NONE
                    151: no_create=
                    152: no_recursion=
                    153: prefix=NONE
                    154: program_prefix=NONE
                    155: program_suffix=NONE
                    156: program_transform_name=s,x,x,
                    157: silent=
                    158: site=
                    159: srcdir=
                    160: verbose=
                    161: x_includes=NONE
                    162: x_libraries=NONE
1.9     ! millert   163:
        !           164: # Installation directory options.
        !           165: # These are left unexpanded so users can "make install exec_prefix=/foo"
        !           166: # and all the variables that are supposed to be based on exec_prefix
        !           167: # by default will actually change.
        !           168: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1       millert   169: bindir='${exec_prefix}/bin'
                    170: sbindir='${exec_prefix}/sbin'
                    171: libexecdir='${exec_prefix}/libexec'
                    172: datadir='${prefix}/share'
                    173: sysconfdir='${prefix}/etc'
                    174: sharedstatedir='${prefix}/com'
                    175: localstatedir='${prefix}/var'
                    176: libdir='${exec_prefix}/lib'
                    177: includedir='${prefix}/include'
                    178: oldincludedir='/usr/include'
                    179: infodir='${prefix}/info'
                    180: mandir='${prefix}/man'
                    181:
1.9     ! millert   182: # Identity of this package.
        !           183: PACKAGE_NAME='sudo'
        !           184: PACKAGE_TARNAME='sudo'
        !           185: PACKAGE_VERSION='1.6.4'
        !           186: PACKAGE_STRING='sudo 1.6.4'
        !           187: PACKAGE_BUGREPORT=''
1.1       millert   188:
                    189: ac_prev=
                    190: for ac_option
                    191: do
                    192:   # If the previous option needs an argument, assign it.
                    193:   if test -n "$ac_prev"; then
                    194:     eval "$ac_prev=\$ac_option"
                    195:     ac_prev=
                    196:     continue
                    197:   fi
                    198:
1.9     ! millert   199:   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1       millert   200:
                    201:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    202:
1.9     ! millert   203:   case $ac_option in
1.1       millert   204:
                    205:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    206:     ac_prev=bindir ;;
                    207:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.9     ! millert   208:     bindir=$ac_optarg ;;
1.1       millert   209:
                    210:   -build | --build | --buil | --bui | --bu)
1.9     ! millert   211:     ac_prev=build_alias ;;
1.1       millert   212:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.9     ! millert   213:     build_alias=$ac_optarg ;;
1.1       millert   214:
                    215:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    216:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    217:     ac_prev=cache_file ;;
                    218:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    219:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.9     ! millert   220:     cache_file=$ac_optarg ;;
        !           221:
        !           222:   --config-cache | -C)
        !           223:     cache_file=config.cache ;;
1.1       millert   224:
                    225:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
                    226:     ac_prev=datadir ;;
                    227:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    228:   | --da=*)
1.9     ! millert   229:     datadir=$ac_optarg ;;
1.1       millert   230:
                    231:   -disable-* | --disable-*)
1.9     ! millert   232:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       millert   233:     # Reject names that are not valid shell variable names.
1.9     ! millert   234:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
        !           235:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
        !           236:    { (exit 1); exit 1; }; }
        !           237:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
        !           238:     eval "enable_$ac_feature=no" ;;
1.1       millert   239:
                    240:   -enable-* | --enable-*)
1.9     ! millert   241:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       millert   242:     # Reject names that are not valid shell variable names.
1.9     ! millert   243:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
        !           244:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
        !           245:    { (exit 1); exit 1; }; }
        !           246:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
        !           247:     case $ac_option in
        !           248:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       millert   249:       *) ac_optarg=yes ;;
                    250:     esac
1.9     ! millert   251:     eval enable_$ac_feature='$ac_optarg' ;;
1.1       millert   252:
                    253:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    254:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    255:   | --exec | --exe | --ex)
                    256:     ac_prev=exec_prefix ;;
                    257:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    258:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    259:   | --exec=* | --exe=* | --ex=*)
1.9     ! millert   260:     exec_prefix=$ac_optarg ;;
1.1       millert   261:
                    262:   -gas | --gas | --ga | --g)
                    263:     # Obsolete; use --with-gas.
                    264:     with_gas=yes ;;
                    265:
1.9     ! millert   266:   -help | --help | --hel | --he | -h)
        !           267:     ac_init_help=long ;;
        !           268:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
        !           269:     ac_init_help=recursive ;;
        !           270:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
        !           271:     ac_init_help=short ;;
1.1       millert   272:
                    273:   -host | --host | --hos | --ho)
1.9     ! millert   274:     ac_prev=host_alias ;;
1.1       millert   275:   -host=* | --host=* | --hos=* | --ho=*)
1.9     ! millert   276:     host_alias=$ac_optarg ;;
1.1       millert   277:
                    278:   -includedir | --includedir | --includedi | --included | --include \
                    279:   | --includ | --inclu | --incl | --inc)
                    280:     ac_prev=includedir ;;
                    281:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    282:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.9     ! millert   283:     includedir=$ac_optarg ;;
1.1       millert   284:
                    285:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    286:     ac_prev=infodir ;;
                    287:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.9     ! millert   288:     infodir=$ac_optarg ;;
1.1       millert   289:
                    290:   -libdir | --libdir | --libdi | --libd)
                    291:     ac_prev=libdir ;;
                    292:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.9     ! millert   293:     libdir=$ac_optarg ;;
1.1       millert   294:
                    295:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    296:   | --libexe | --libex | --libe)
                    297:     ac_prev=libexecdir ;;
                    298:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    299:   | --libexe=* | --libex=* | --libe=*)
1.9     ! millert   300:     libexecdir=$ac_optarg ;;
1.1       millert   301:
                    302:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    303:   | --localstate | --localstat | --localsta | --localst \
                    304:   | --locals | --local | --loca | --loc | --lo)
                    305:     ac_prev=localstatedir ;;
                    306:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    307:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    308:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.9     ! millert   309:     localstatedir=$ac_optarg ;;
1.1       millert   310:
                    311:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    312:     ac_prev=mandir ;;
                    313:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.9     ! millert   314:     mandir=$ac_optarg ;;
1.1       millert   315:
                    316:   -nfp | --nfp | --nf)
                    317:     # Obsolete; use --without-fp.
                    318:     with_fp=no ;;
                    319:
                    320:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    321:   | --no-cr | --no-c)
                    322:     no_create=yes ;;
                    323:
                    324:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    325:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    326:     no_recursion=yes ;;
                    327:
                    328:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    329:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    330:   | --oldin | --oldi | --old | --ol | --o)
                    331:     ac_prev=oldincludedir ;;
                    332:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    333:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    334:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.9     ! millert   335:     oldincludedir=$ac_optarg ;;
1.1       millert   336:
                    337:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    338:     ac_prev=prefix ;;
                    339:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.9     ! millert   340:     prefix=$ac_optarg ;;
1.1       millert   341:
                    342:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    343:   | --program-pre | --program-pr | --program-p)
                    344:     ac_prev=program_prefix ;;
                    345:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    346:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.9     ! millert   347:     program_prefix=$ac_optarg ;;
1.1       millert   348:
                    349:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    350:   | --program-suf | --program-su | --program-s)
                    351:     ac_prev=program_suffix ;;
                    352:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    353:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.9     ! millert   354:     program_suffix=$ac_optarg ;;
1.1       millert   355:
                    356:   -program-transform-name | --program-transform-name \
                    357:   | --program-transform-nam | --program-transform-na \
                    358:   | --program-transform-n | --program-transform- \
                    359:   | --program-transform | --program-transfor \
                    360:   | --program-transfo | --program-transf \
                    361:   | --program-trans | --program-tran \
                    362:   | --progr-tra | --program-tr | --program-t)
                    363:     ac_prev=program_transform_name ;;
                    364:   -program-transform-name=* | --program-transform-name=* \
                    365:   | --program-transform-nam=* | --program-transform-na=* \
                    366:   | --program-transform-n=* | --program-transform-=* \
                    367:   | --program-transform=* | --program-transfor=* \
                    368:   | --program-transfo=* | --program-transf=* \
                    369:   | --program-trans=* | --program-tran=* \
                    370:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.9     ! millert   371:     program_transform_name=$ac_optarg ;;
1.1       millert   372:
                    373:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    374:   | -silent | --silent | --silen | --sile | --sil)
                    375:     silent=yes ;;
                    376:
                    377:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    378:     ac_prev=sbindir ;;
                    379:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    380:   | --sbi=* | --sb=*)
1.9     ! millert   381:     sbindir=$ac_optarg ;;
1.1       millert   382:
                    383:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    384:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    385:   | --sharedst | --shareds | --shared | --share | --shar \
                    386:   | --sha | --sh)
                    387:     ac_prev=sharedstatedir ;;
                    388:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    389:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    390:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    391:   | --sha=* | --sh=*)
1.9     ! millert   392:     sharedstatedir=$ac_optarg ;;
1.1       millert   393:
                    394:   -site | --site | --sit)
                    395:     ac_prev=site ;;
                    396:   -site=* | --site=* | --sit=*)
1.9     ! millert   397:     site=$ac_optarg ;;
1.1       millert   398:
                    399:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    400:     ac_prev=srcdir ;;
                    401:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.9     ! millert   402:     srcdir=$ac_optarg ;;
1.1       millert   403:
                    404:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    405:   | --syscon | --sysco | --sysc | --sys | --sy)
                    406:     ac_prev=sysconfdir ;;
                    407:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    408:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.9     ! millert   409:     sysconfdir=$ac_optarg ;;
1.1       millert   410:
                    411:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.9     ! millert   412:     ac_prev=target_alias ;;
1.1       millert   413:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.9     ! millert   414:     target_alias=$ac_optarg ;;
1.1       millert   415:
                    416:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    417:     verbose=yes ;;
                    418:
1.9     ! millert   419:   -version | --version | --versio | --versi | --vers | -V)
        !           420:     ac_init_version=: ;;
1.1       millert   421:
                    422:   -with-* | --with-*)
1.9     ! millert   423:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       millert   424:     # Reject names that are not valid shell variable names.
1.9     ! millert   425:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
        !           426:       { echo "$as_me: error: invalid package name: $ac_package" >&2
        !           427:    { (exit 1); exit 1; }; }
1.1       millert   428:     ac_package=`echo $ac_package| sed 's/-/_/g'`
1.9     ! millert   429:     case $ac_option in
        !           430:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       millert   431:       *) ac_optarg=yes ;;
                    432:     esac
1.9     ! millert   433:     eval with_$ac_package='$ac_optarg' ;;
1.1       millert   434:
                    435:   -without-* | --without-*)
1.9     ! millert   436:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       millert   437:     # Reject names that are not valid shell variable names.
1.9     ! millert   438:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
        !           439:       { echo "$as_me: error: invalid package name: $ac_package" >&2
        !           440:    { (exit 1); exit 1; }; }
        !           441:     ac_package=`echo $ac_package | sed 's/-/_/g'`
        !           442:     eval "with_$ac_package=no" ;;
1.1       millert   443:
                    444:   --x)
                    445:     # Obsolete; use --with-x.
                    446:     with_x=yes ;;
                    447:
                    448:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                    449:   | --x-incl | --x-inc | --x-in | --x-i)
                    450:     ac_prev=x_includes ;;
                    451:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                    452:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.9     ! millert   453:     x_includes=$ac_optarg ;;
1.1       millert   454:
                    455:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                    456:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                    457:     ac_prev=x_libraries ;;
                    458:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                    459:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.9     ! millert   460:     x_libraries=$ac_optarg ;;
1.1       millert   461:
1.9     ! millert   462:   -*) { echo "$as_me: error: unrecognized option: $ac_option
        !           463: Try \`$0 --help' for more information." >&2
        !           464:    { (exit 1); exit 1; }; }
1.1       millert   465:     ;;
                    466:
1.9     ! millert   467:   *=*)
        !           468:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
        !           469:     # Reject names that are not valid shell variable names.
        !           470:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
        !           471:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
        !           472:    { (exit 1); exit 1; }; }
        !           473:     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
        !           474:     eval "$ac_envvar='$ac_optarg'"
        !           475:     export $ac_envvar ;;
        !           476:
1.1       millert   477:   *)
1.9     ! millert   478:     # FIXME: should be removed in autoconf 3.0.
        !           479:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
        !           480:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
        !           481:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
        !           482:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1       millert   483:     ;;
                    484:
                    485:   esac
                    486: done
                    487:
                    488: if test -n "$ac_prev"; then
1.9     ! millert   489:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
        !           490:   { echo "$as_me: error: missing argument to $ac_option" >&2
        !           491:    { (exit 1); exit 1; }; }
1.1       millert   492: fi
                    493:
1.9     ! millert   494: # Be sure to have absolute paths.
        !           495: for ac_var in exec_prefix prefix
        !           496: do
        !           497:   eval ac_val=$`echo $ac_var`
        !           498:   case $ac_val in
        !           499:     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
        !           500:     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
        !           501:    { (exit 1); exit 1; }; };;
        !           502:   esac
        !           503: done
1.1       millert   504:
1.9     ! millert   505: # Be sure to have absolute paths.
        !           506: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
        !           507:               localstatedir libdir includedir oldincludedir infodir mandir
1.1       millert   508: do
1.9     ! millert   509:   eval ac_val=$`echo $ac_var`
        !           510:   case $ac_val in
        !           511:     [\\/$]* | ?:[\\/]* ) ;;
        !           512:     *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
        !           513:    { (exit 1); exit 1; }; };;
1.1       millert   514:   esac
                    515: done
                    516:
1.9     ! millert   517: # There might be people who depend on the old broken behavior: `$host'
        !           518: # used to hold the argument of --host etc.
        !           519: build=$build_alias
        !           520: host=$host_alias
        !           521: target=$target_alias
        !           522:
        !           523: # FIXME: should be removed in autoconf 3.0.
        !           524: if test "x$host_alias" != x; then
        !           525:   if test "x$build_alias" = x; then
        !           526:     cross_compiling=maybe
        !           527:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
        !           528:     If a cross compiler is detected then cross compile mode will be used." >&2
        !           529:   elif test "x$build_alias" != "x$host_alias"; then
        !           530:     cross_compiling=yes
        !           531:   fi
        !           532: fi
1.1       millert   533:
1.9     ! millert   534: ac_tool_prefix=
        !           535: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       millert   536:
1.9     ! millert   537: test "$silent" = yes && exec 6>/dev/null
1.1       millert   538:
                    539: # Find the source files, if location was not specified.
                    540: if test -z "$srcdir"; then
                    541:   ac_srcdir_defaulted=yes
                    542:   # Try the directory containing this script, then its parent.
                    543:   ac_prog=$0
1.9     ! millert   544:   ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
1.1       millert   545:   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
                    546:   srcdir=$ac_confdir
                    547:   if test ! -r $srcdir/$ac_unique_file; then
                    548:     srcdir=..
                    549:   fi
                    550: else
                    551:   ac_srcdir_defaulted=no
                    552: fi
                    553: if test ! -r $srcdir/$ac_unique_file; then
                    554:   if test "$ac_srcdir_defaulted" = yes; then
1.9     ! millert   555:     { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
        !           556:    { (exit 1); exit 1; }; }
1.1       millert   557:   else
1.9     ! millert   558:     { echo "$as_me: error: cannot find sources in $srcdir" >&2
        !           559:    { (exit 1); exit 1; }; }
1.1       millert   560:   fi
                    561: fi
1.9     ! millert   562: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
        !           563: ac_env_build_alias_set=${build_alias+set}
        !           564: ac_env_build_alias_value=$build_alias
        !           565: ac_cv_env_build_alias_set=${build_alias+set}
        !           566: ac_cv_env_build_alias_value=$build_alias
        !           567: ac_env_host_alias_set=${host_alias+set}
        !           568: ac_env_host_alias_value=$host_alias
        !           569: ac_cv_env_host_alias_set=${host_alias+set}
        !           570: ac_cv_env_host_alias_value=$host_alias
        !           571: ac_env_target_alias_set=${target_alias+set}
        !           572: ac_env_target_alias_value=$target_alias
        !           573: ac_cv_env_target_alias_set=${target_alias+set}
        !           574: ac_cv_env_target_alias_value=$target_alias
        !           575: ac_env_CC_set=${CC+set}
        !           576: ac_env_CC_value=$CC
        !           577: ac_cv_env_CC_set=${CC+set}
        !           578: ac_cv_env_CC_value=$CC
        !           579: ac_env_CFLAGS_set=${CFLAGS+set}
        !           580: ac_env_CFLAGS_value=$CFLAGS
        !           581: ac_cv_env_CFLAGS_set=${CFLAGS+set}
        !           582: ac_cv_env_CFLAGS_value=$CFLAGS
        !           583: ac_env_LDFLAGS_set=${LDFLAGS+set}
        !           584: ac_env_LDFLAGS_value=$LDFLAGS
        !           585: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
        !           586: ac_cv_env_LDFLAGS_value=$LDFLAGS
        !           587: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
        !           588: ac_env_CPPFLAGS_value=$CPPFLAGS
        !           589: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
        !           590: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
        !           591: ac_env_CPP_set=${CPP+set}
        !           592: ac_env_CPP_value=$CPP
        !           593: ac_cv_env_CPP_set=${CPP+set}
        !           594: ac_cv_env_CPP_value=$CPP
        !           595:
        !           596: #
        !           597: # Report the --help message.
        !           598: #
        !           599: if test "$ac_init_help" = "long"; then
        !           600:   # Omit some internal or obsolete options to make the list less imposing.
        !           601:   # This message is too long to be a string in the A/UX 3.1 sh.
        !           602:   cat <<EOF
        !           603: \`configure' configures sudo 1.6.4 to adapt to many kinds of systems.
        !           604:
        !           605: Usage: $0 [OPTION]... [VAR=VALUE]...
        !           606:
        !           607: To assign environment variables (e.g., CC, CFLAGS...), specify them as
        !           608: VAR=VALUE.  See below for descriptions of some of the useful variables.
        !           609:
        !           610: Defaults for the options are specified in brackets.
        !           611:
        !           612: Configuration:
        !           613:   -h, --help              display this help and exit
        !           614:       --help=short        display options specific to this package
        !           615:       --help=recursive    display the short help of all the included packages
        !           616:   -V, --version           display version information and exit
        !           617:   -q, --quiet, --silent   do not print \`checking...' messages
        !           618:       --cache-file=FILE   cache test results in FILE [disabled]
        !           619:   -C, --config-cache      alias for \`--cache-file=config.cache'
        !           620:   -n, --no-create         do not create output files
        !           621:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
        !           622:
        !           623: EOF
        !           624:
        !           625:   cat <<EOF
        !           626: Installation directories:
        !           627:   --prefix=PREFIX         install architecture-independent files in PREFIX
        !           628:                           [$ac_default_prefix]
        !           629:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
        !           630:                           [PREFIX]
        !           631:
        !           632: By default, \`make install' will install all the files in
        !           633: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
        !           634: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
        !           635: for instance \`--prefix=\$HOME'.
        !           636:
        !           637: For better control, use the options below.
        !           638:
        !           639: Fine tuning of the installation directories:
        !           640:   --bindir=DIR           user executables [EPREFIX/bin]
        !           641:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
        !           642:   --libexecdir=DIR       program executables [EPREFIX/libexec]
        !           643:   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
        !           644:   --sysconfdir=DIR       read-only single-machine data [/etc]
        !           645:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
        !           646:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
        !           647:   --libdir=DIR           object code libraries [EPREFIX/lib]
        !           648:   --includedir=DIR       C header files [PREFIX/include]
        !           649:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
        !           650:   --infodir=DIR          info documentation [PREFIX/info]
        !           651:   --mandir=DIR           man documentation [PREFIX/man]
        !           652: EOF
        !           653:
        !           654:   cat <<\EOF
        !           655:
        !           656: System types:
        !           657:   --build=BUILD     configure for building on BUILD [guessed]
        !           658:   --host=HOST       build programs to run on HOST [BUILD]
        !           659: EOF
        !           660: fi
        !           661:
        !           662: if test -n "$ac_init_help"; then
        !           663:   case $ac_init_help in
        !           664:      short | recursive ) echo "Configuration of sudo 1.6.4:";;
        !           665:    esac
        !           666:   cat <<\EOF
        !           667:
        !           668: Optional Features:
        !           669:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
        !           670:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
        !           671:   --disable-authentication
        !           672:                           Do not require authentication by default
        !           673:   --disable-shadow        Never use shadow passwords
        !           674:   --disable-root-sudo     don't allow root to run sudo
        !           675:   --enable-log-host       Log the hostname in the log file
        !           676:   --enable-noargs-shell   If sudo is given no arguments run a shell
        !           677:   --enable-shell-sets-home
        !           678:                           set $HOME to target user in shell mode
        !           679:   --disable-path-info     Print 'command not allowed' not 'command not found'
        !           680:   --disable-sia           Never use SIA on Digital UNIX
        !           681:
        !           682: Optional Packages:
        !           683:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
        !           684:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
        !           685:   --with-otp-only         deprecated
        !           686:   --with-alertmail        deprecated
        !           687:   --with-CC               C compiler to use
        !           688:   --with-incpath          additional places to look for include files
        !           689:   --with-libpath          additional places to look for libraries
        !           690:   --with-libraries        additional libraries to link with
        !           691:   --with-devel            add developement options
        !           692:   --with-csops            add CSOps standard options
        !           693:   --without-passwd        don't use passwd/shadow file for authentication
        !           694:   --with-skey             enable S/Key support
        !           695:   --with-opie             enable OPIE support
        !           696:   --with-long-otp-prompt  use a two line OTP (skey/opie) prompt
        !           697:   --with-SecurID          enable SecurID support
        !           698:   --with-fwtk             enable FWTK AuthSRV support
        !           699:   --with-kerb4            enable kerberos v4 support
        !           700:   --with-kerb5            enable kerberos v5 support
        !           701:   --with-authenticate     enable AIX general authentication support
        !           702:   --with-pam              enable PAM support
        !           703:   --with-AFS              enable AFS support
        !           704:   --with-DCE              enable DCE support
        !           705:   --with-logincap         enable BSD login class support
        !           706:   --with-bsdauth          enable BSD authentication support
        !           707:   --without-lecture       don't print lecture for first-time sudoer
        !           708:   --with-logging          log via syslog, file, or both
        !           709:   --with-logfac           syslog facility to log with (default is "local2")
        !           710:   --with-goodpri          syslog priority for commands (def is "notice")
        !           711:   --with-badpri           syslog priority for failures (def is "alert")
        !           712:   --with-logpath          path to the sudo log file
        !           713:   --with-loglen           maximum length of a log file line (default is 80)
        !           714:   --with-ignore-dot       ignore '.' in the PATH
        !           715:   --without-mail-if-no-user do not send mail if user not in sudoers
        !           716:   --with-mail-if-no-host  send mail if user in sudoers but not for this host
        !           717:   --with-mail-if-noperms  send mail if user not allowed to run command
        !           718:   --with-mailto           who should get sudo mail (default is "root")
        !           719:   --with-mailsubject      subject of sudo mail
        !           720:   --with-passprompt       default password prompt
        !           721:   --with-badpass-message  message the user sees when the password is wrong
        !           722:   --with-fqdn             expect fully qualified hosts in sudoers
        !           723:   --with-timedir          path to the sudo timestamp dir
        !           724:   --with-sendmail=path    set path to sendmail
        !           725:   --without-sendmail      do not send mail at all
        !           726:   --with-sudoers-mode     mode of sudoers file (defaults to 0440)
        !           727:   --with-sudoers-uid      uid that owns sudoers file (defaults to 0)
        !           728:   --with-sudoers-gid      gid that owns sudoers file (defaults to 0)
        !           729:   --with-umask            umask with which the prog should run (default is 022)
        !           730:   --without-umask         Preserves the umask of the user invoking sudo.
        !           731:   --with-runas-default    User to run commands as (default is "root")
        !           732:   --with-exempt=group     no passwd needed for users in this group
        !           733:   --with-editor=path      Default editor for visudo (defaults to vi)
        !           734:   --with-env-editor       Use the environment variable EDITOR for visudo
        !           735:   --with-passwd-tries     number of tries to enter password (default is 3)
        !           736:   --with-timeout          minutes before sudo asks for passwd again (def is 5 minutes)
        !           737:   --with-password-timeout passwd prompt timeout in minutes (default is 5 minutes)
        !           738:   --with-execv            use execv() instead of execvp()
        !           739:   --with-tty-tickets      use a different ticket file for each tty
        !           740:   --with-insults          insult the user for entering an incorrect password
        !           741:   --with-all-insults      include all the sudo insult sets
        !           742:   --with-classic-insults  include the insults from the "classic" sudo
        !           743:   --with-csops-insults    include CSOps insults
        !           744:   --with-hal-insults      include 2001-like insults
        !           745:   --with-goons-insults    include the insults from the "Goon Show"
        !           746:   --with-secure-path      override the user's path with a builtin one
        !           747:   --without-interfaces    don't try to read the ip addr of ether interfaces
        !           748:
        !           749: Some influential environment variables:
        !           750:   CC          C compiler command
        !           751:   CFLAGS      C compiler flags
        !           752:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
        !           753:               nonstandard directory <lib dir>
        !           754:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
        !           755:               headers in a nonstandard directory <include dir>
        !           756:   CPP         C preprocessor
        !           757:
        !           758: Use these variables to override the choices made by `configure' or to help
        !           759: it to find libraries and programs with nonstandard names/locations.
        !           760:
        !           761: EOF
        !           762: fi
        !           763:
        !           764: if test "$ac_init_help" = "recursive"; then
        !           765:   # If there are subdirs, report their specific --help.
        !           766:   ac_popdir=`pwd`
        !           767:   for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
        !           768:     cd $ac_subdir
        !           769:     # A "../" for each directory in /$ac_subdir.
        !           770:     ac_dots=`echo $ac_subdir |
        !           771:              sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
        !           772:
        !           773:     case $srcdir in
        !           774:     .) # No --srcdir option.  We are building in place.
        !           775:       ac_sub_srcdir=$srcdir ;;
        !           776:     [\\/]* | ?:[\\/]* ) # Absolute path.
        !           777:       ac_sub_srcdir=$srcdir/$ac_subdir ;;
        !           778:     *) # Relative path.
        !           779:       ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
        !           780:     esac
        !           781:
        !           782:     # Check for guested configure; otherwise get Cygnus style configure.
        !           783:     if test -f $ac_sub_srcdir/configure.gnu; then
        !           784:       echo
        !           785:       $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
        !           786:     elif test -f $ac_sub_srcdir/configure; then
        !           787:       echo
        !           788:       $SHELL $ac_sub_srcdir/configure  --help=recursive
        !           789:     elif test -f $ac_sub_srcdir/configure.ac ||
        !           790:            test -f $ac_sub_srcdir/configure.in; then
        !           791:       echo
        !           792:       $ac_configure --help
        !           793:     else
        !           794:       echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
        !           795:     fi
        !           796:     cd $ac_popdir
        !           797:   done
        !           798: fi
        !           799:
        !           800: test -n "$ac_init_help" && exit 0
        !           801: if $ac_init_version; then
        !           802:   cat <<\EOF
        !           803: sudo configure 1.6.4
        !           804: generated by GNU Autoconf 2.52
        !           805:
        !           806: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
        !           807: Free Software Foundation, Inc.
        !           808: This configure script is free software; the Free Software Foundation
        !           809: gives unlimited permission to copy, distribute and modify it.
        !           810: EOF
        !           811:   exit 0
        !           812: fi
        !           813: exec 5>config.log
        !           814: cat >&5 <<EOF
        !           815: This file contains any messages produced by compilers while
        !           816: running configure, to aid debugging if configure makes a mistake.
        !           817:
        !           818: It was created by sudo $as_me 1.6.4, which was
        !           819: generated by GNU Autoconf 2.52.  Invocation command line was
        !           820:
        !           821:   $ $0 $@
        !           822:
        !           823: EOF
        !           824: {
        !           825: cat <<_ASUNAME
        !           826: ## ---------- ##
        !           827: ## Platform.  ##
        !           828: ## ---------- ##
        !           829:
        !           830: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
        !           831: uname -m = `(uname -m) 2>/dev/null || echo unknown`
        !           832: uname -r = `(uname -r) 2>/dev/null || echo unknown`
        !           833: uname -s = `(uname -s) 2>/dev/null || echo unknown`
        !           834: uname -v = `(uname -v) 2>/dev/null || echo unknown`
        !           835:
        !           836: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
        !           837: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
        !           838:
        !           839: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
        !           840: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
        !           841: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
        !           842: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
        !           843: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
        !           844: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
        !           845: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
        !           846:
        !           847: PATH = $PATH
        !           848:
        !           849: _ASUNAME
        !           850: } >&5
        !           851:
        !           852: cat >&5 <<EOF
        !           853: ## ------------ ##
        !           854: ## Core tests.  ##
        !           855: ## ------------ ##
        !           856:
        !           857: EOF
        !           858:
        !           859: # Keep a trace of the command line.
        !           860: # Strip out --no-create and --no-recursion so they do not pile up.
        !           861: # Also quote any args containing shell meta-characters.
        !           862: ac_configure_args=
        !           863: ac_sep=
        !           864: for ac_arg
        !           865: do
        !           866:   case $ac_arg in
        !           867:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
        !           868:   | --no-cr | --no-c) ;;
        !           869:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
        !           870:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
        !           871:   *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
        !           872:     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
        !           873:     ac_configure_args="$ac_configure_args$ac_sep\"$ac_arg\""
        !           874:     ac_sep=" " ;;
        !           875:   *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
        !           876:      ac_sep=" " ;;
        !           877:   esac
        !           878:   # Get rid of the leading space.
        !           879: done
        !           880:
        !           881: # When interrupted or exit'd, cleanup temporary files, and complete
        !           882: # config.log.  We remove comments because anyway the quotes in there
        !           883: # would cause problems or look ugly.
        !           884: trap 'exit_status=$?
        !           885:   # Save into config.log some information that might help in debugging.
        !           886:   echo >&5
        !           887:   echo "## ----------------- ##" >&5
        !           888:   echo "## Cache variables.  ##" >&5
        !           889:   echo "## ----------------- ##" >&5
        !           890:   echo >&5
        !           891:   # The following way of writing the cache mishandles newlines in values,
        !           892: {
        !           893:   (set) 2>&1 |
        !           894:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
        !           895:     *ac_space=\ *)
        !           896:       sed -n \
        !           897:         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
        !           898:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
        !           899:       ;;
        !           900:     *)
        !           901:       sed -n \
        !           902:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
        !           903:       ;;
        !           904:     esac;
        !           905: } >&5
        !           906:   sed "/^$/d" confdefs.h >conftest.log
        !           907:   if test -s conftest.log; then
        !           908:     echo >&5
        !           909:     echo "## ------------ ##" >&5
        !           910:     echo "## confdefs.h.  ##" >&5
        !           911:     echo "## ------------ ##" >&5
        !           912:     echo >&5
        !           913:     cat conftest.log >&5
        !           914:   fi
        !           915:   (echo; echo) >&5
        !           916:   test "$ac_signal" != 0 &&
        !           917:     echo "$as_me: caught signal $ac_signal" >&5
        !           918:   echo "$as_me: exit $exit_status" >&5
        !           919:   rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
        !           920:     exit $exit_status
        !           921:      ' 0
        !           922: for ac_signal in 1 2 13 15; do
        !           923:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
        !           924: done
        !           925: ac_signal=0
1.1       millert   926:
1.9     ! millert   927: # confdefs.h avoids OS command line length limits that DEFS can exceed.
        !           928: rm -rf conftest* confdefs.h
        !           929: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
        !           930: echo >confdefs.h
        !           931:
        !           932: # Let the site file select an alternate cache file if it wants to.
1.1       millert   933: # Prefer explicitly selected file to automatically selected ones.
                    934: if test -z "$CONFIG_SITE"; then
                    935:   if test "x$prefix" != xNONE; then
                    936:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                    937:   else
                    938:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                    939:   fi
                    940: fi
                    941: for ac_site_file in $CONFIG_SITE; do
                    942:   if test -r "$ac_site_file"; then
1.9     ! millert   943:     { echo "$as_me:943: loading site script $ac_site_file" >&5
        !           944: echo "$as_me: loading site script $ac_site_file" >&6;}
        !           945:     cat "$ac_site_file" >&5
1.1       millert   946:     . "$ac_site_file"
                    947:   fi
                    948: done
                    949:
                    950: if test -r "$cache_file"; then
1.9     ! millert   951:   # Some versions of bash will fail to source /dev/null (special
        !           952:   # files actually), so we avoid doing that.
        !           953:   if test -f "$cache_file"; then
        !           954:     { echo "$as_me:954: loading cache $cache_file" >&5
        !           955: echo "$as_me: loading cache $cache_file" >&6;}
        !           956:     case $cache_file in
        !           957:       [\\/]* | ?:[\\/]* ) . $cache_file;;
        !           958:       *)                      . ./$cache_file;;
        !           959:     esac
        !           960:   fi
1.1       millert   961: else
1.9     ! millert   962:   { echo "$as_me:962: creating cache $cache_file" >&5
        !           963: echo "$as_me: creating cache $cache_file" >&6;}
        !           964:   >$cache_file
        !           965: fi
        !           966:
        !           967: # Check that the precious variables saved in the cache have kept the same
        !           968: # value.
        !           969: ac_cache_corrupted=false
        !           970: for ac_var in `(set) 2>&1 |
        !           971:                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
        !           972:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
        !           973:   eval ac_new_set=\$ac_env_${ac_var}_set
        !           974:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
        !           975:   eval ac_new_val="\$ac_env_${ac_var}_value"
        !           976:   case $ac_old_set,$ac_new_set in
        !           977:     set,)
        !           978:       { echo "$as_me:978: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
        !           979: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
        !           980:       ac_cache_corrupted=: ;;
        !           981:     ,set)
        !           982:       { echo "$as_me:982: error: \`$ac_var' was not set in the previous run" >&5
        !           983: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
        !           984:       ac_cache_corrupted=: ;;
        !           985:     ,);;
        !           986:     *)
        !           987:       if test "x$ac_old_val" != "x$ac_new_val"; then
        !           988:         { echo "$as_me:988: error: \`$ac_var' has changed since the previous run:" >&5
        !           989: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
        !           990:         { echo "$as_me:990:   former value:  $ac_old_val" >&5
        !           991: echo "$as_me:   former value:  $ac_old_val" >&2;}
        !           992:         { echo "$as_me:992:   current value: $ac_new_val" >&5
        !           993: echo "$as_me:   current value: $ac_new_val" >&2;}
        !           994:         ac_cache_corrupted=:
        !           995:       fi;;
        !           996:   esac
        !           997:   # Pass precious variables to config.status.  It doesn't matter if
        !           998:   # we pass some twice (in addition to the command line arguments).
        !           999:   if test "$ac_new_set" = set; then
        !          1000:     case $ac_new_val in
        !          1001:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
        !          1002:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
        !          1003:       ac_configure_args="$ac_configure_args '$ac_arg'"
        !          1004:       ;;
        !          1005:     *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
        !          1006:        ;;
        !          1007:     esac
        !          1008:   fi
        !          1009: done
        !          1010: if $ac_cache_corrupted; then
        !          1011:   { echo "$as_me:1011: error: changes in the environment can compromise the build" >&5
        !          1012: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
        !          1013:   { { echo "$as_me:1013: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
        !          1014: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
        !          1015:    { (exit 1); exit 1; }; }
1.1       millert  1016: fi
                   1017:
                   1018: ac_ext=c
                   1019: ac_cpp='$CPP $CPPFLAGS'
1.9     ! millert  1020: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          1021: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          1022: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          1023:
        !          1024: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
        !          1025:   *c*,-n*) ECHO_N= ECHO_C='
        !          1026: ' ECHO_T='     ' ;;
        !          1027:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
        !          1028:   *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
        !          1029: esac
        !          1030: echo "#! $SHELL" >conftest.sh
        !          1031: echo  "exit 0"   >>conftest.sh
        !          1032: chmod +x conftest.sh
        !          1033: if { (echo "$as_me:1033: PATH=\".;.\"; conftest.sh") >&5
        !          1034:   (PATH=".;."; conftest.sh) 2>&5
        !          1035:   ac_status=$?
        !          1036:   echo "$as_me:1036: \$? = $ac_status" >&5
        !          1037:   (exit $ac_status); }; then
        !          1038:   ac_path_separator=';'
        !          1039: else
        !          1040:   ac_path_separator=:
        !          1041: fi
        !          1042: PATH_SEPARATOR="$ac_path_separator"
        !          1043: rm -f conftest.sh
        !          1044:
        !          1045: ac_config_headers="$ac_config_headers config.h pathnames.h"
        !          1046:
        !          1047: echo "Configuring Sudo version 1.6.4"
        !          1048:
        !          1049: timeout=5
        !          1050: password_timeout=5
        !          1051: sudo_umask=0022
        !          1052: passprompt="Password:"
        !          1053: long_otp_prompt=off
        !          1054: lecture=on
        !          1055: logfac=local2
        !          1056: goodpri=notice
        !          1057: badpri=alert
        !          1058: loglen=80
        !          1059: ignore_dot=off
        !          1060: mail_no_user=on
        !          1061: mail_no_host=off
        !          1062: mail_no_perms=off
        !          1063: mailto=root
        !          1064: mailsub='*** SECURITY information for %h ***'
        !          1065: badpass_message='Sorry, try again.'
        !          1066: fqdn=off
        !          1067: runas_default=root
        !          1068: env_editor=off
        !          1069: passwd_tries=3
        !          1070: tty_tickets=off
        !          1071: insults=off
1.1       millert  1072: PROGS="sudo visudo"
1.6       millert  1073: test -n "$MANTYPE" || MANTYPE="man"
                   1074: test -n "$mansrcdir" || mansrcdir="."
                   1075: test -n "$SUDOERS_MODE" || SUDOERS_MODE=0440
                   1076: test -n "$SUDOERS_UID" || SUDOERS_UID=0
                   1077: test -n "$SUDOERS_GID" || SUDOERS_GID=0
1.1       millert  1078: DEV="#"
                   1079:
                   1080: CHECKSHADOW=true
                   1081: CHECKSIA=true
                   1082:
                   1083: test "$mandir" = '${prefix}/man' && mandir='$(prefix)/man'
                   1084: test "$bindir" = '${exec_prefix}/bin' && bindir='$(exec_prefix)/bin'
                   1085: test "$sbindir" = '${exec_prefix}/sbin' && sbindir='$(exec_prefix)/sbin'
                   1086: test "$sysconfdir" = '${prefix}/etc' && sysconfdir='/etc'
                   1087:
                   1088: # Check whether --with-otp-only or --without-otp-only was given.
                   1089: if test "${with_otp_only+set}" = set; then
                   1090:   withval="$with_otp_only"
                   1091:   case $with_otp_only in
                   1092:     yes)       with_passwd=no
1.9     ! millert  1093:
        !          1094: cat >>confdefs.h <<\EOF
1.1       millert  1095: #define WITHOUT_PASSWD 1
                   1096: EOF
                   1097:
1.9     ! millert  1098:                { echo "$as_me:1098: WARNING: --with-otp-only option deprecated, treating as --without-passwd" >&5
        !          1099: echo "$as_me: WARNING: --with-otp-only option deprecated, treating as --without-passwd" >&2;}
1.1       millert  1100:                ;;
                   1101: esac
1.9     ! millert  1102: fi;
1.1       millert  1103:
                   1104: # Check whether --with-alertmail or --without-alertmail was given.
                   1105: if test "${with_alertmail+set}" = set; then
                   1106:   withval="$with_alertmail"
                   1107:   case $with_alertmail in
                   1108:     *)         with_mailto="$with_alertmail"
1.9     ! millert  1109:                { echo "$as_me:1109: WARNING: --with-alertmail option deprecated, treating as --mailto" >&5
        !          1110: echo "$as_me: WARNING: --with-alertmail option deprecated, treating as --mailto" >&2;}
1.1       millert  1111:                ;;
                   1112: esac
1.9     ! millert  1113: fi;
1.1       millert  1114:
                   1115: # Check whether --with-CC or --without-CC was given.
                   1116: if test "${with_CC+set}" = set; then
                   1117:   withval="$with_CC"
                   1118:   case $with_CC in
1.9     ! millert  1119:     yes)       { { echo "$as_me:1119: error: \"must give --with-CC an argument.\"" >&5
        !          1120: echo "$as_me: error: \"must give --with-CC an argument.\"" >&2;}
        !          1121:    { (exit 1); exit 1; }; }
        !          1122:                ;;
        !          1123:     no)                { { echo "$as_me:1123: error: \"illegal argument: --without-CC.\"" >&5
        !          1124: echo "$as_me: error: \"illegal argument: --without-CC.\"" >&2;}
        !          1125:    { (exit 1); exit 1; }; }
1.1       millert  1126:                ;;
                   1127:     *)         CC=$with_CC
                   1128:                ;;
                   1129: esac
1.9     ! millert  1130: fi;
1.1       millert  1131:
                   1132: # Check whether --with-incpath or --without-incpath was given.
                   1133: if test "${with_incpath+set}" = set; then
                   1134:   withval="$with_incpath"
1.9     ! millert  1135:   case $with_incpath in
        !          1136:     yes)       { { echo "$as_me:1136: error: \"must give --with-incpath an argument.\"" >&5
        !          1137: echo "$as_me: error: \"must give --with-incpath an argument.\"" >&2;}
        !          1138:    { (exit 1); exit 1; }; }
        !          1139:                ;;
        !          1140:     no)                { { echo "$as_me:1140: error: \"--without-incpath not supported.\"" >&5
        !          1141: echo "$as_me: error: \"--without-incpath not supported.\"" >&2;}
        !          1142:    { (exit 1); exit 1; }; }
1.1       millert  1143:                ;;
                   1144:     *)         echo "Adding ${with_incpath} to CPPFLAGS"
                   1145:                for i in ${with_incpath}; do
                   1146:                    CPPFLAGS="${CPPFLAGS} -I${i}"
                   1147:                done
                   1148:                ;;
                   1149: esac
1.9     ! millert  1150: fi;
1.1       millert  1151:
                   1152: # Check whether --with-libpath or --without-libpath was given.
                   1153: if test "${with_libpath+set}" = set; then
                   1154:   withval="$with_libpath"
1.9     ! millert  1155:   case $with_libpath in
        !          1156:     yes)       { { echo "$as_me:1156: error: \"must give --with-libpath an argument.\"" >&5
        !          1157: echo "$as_me: error: \"must give --with-libpath an argument.\"" >&2;}
        !          1158:    { (exit 1); exit 1; }; }
        !          1159:                ;;
        !          1160:     no)                { { echo "$as_me:1160: error: \"--without-libpath not supported.\"" >&5
        !          1161: echo "$as_me: error: \"--without-libpath not supported.\"" >&2;}
        !          1162:    { (exit 1); exit 1; }; }
1.1       millert  1163:                ;;
                   1164:     *)         echo "Adding ${with_libpath} to LDFLAGS"
                   1165:                for i in ${with_libpath}; do
                   1166:                    LDFLAGS="${LDFLAGS} -L${i}"
                   1167:                done
                   1168:                ;;
                   1169: esac
1.9     ! millert  1170: fi;
1.1       millert  1171:
                   1172: # Check whether --with-libraries or --without-libraries was given.
                   1173: if test "${with_libraries+set}" = set; then
                   1174:   withval="$with_libraries"
1.9     ! millert  1175:   case $with_libraries in
        !          1176:     yes)       { { echo "$as_me:1176: error: \"must give --with-libraries an argument.\"" >&5
        !          1177: echo "$as_me: error: \"must give --with-libraries an argument.\"" >&2;}
        !          1178:    { (exit 1); exit 1; }; }
        !          1179:                ;;
        !          1180:     no)                { { echo "$as_me:1180: error: \"--without-libraries not supported.\"" >&5
        !          1181: echo "$as_me: error: \"--without-libraries not supported.\"" >&2;}
        !          1182:    { (exit 1); exit 1; }; }
1.1       millert  1183:                ;;
                   1184:     *)         echo "Adding ${with_libraries} to LIBS"
                   1185:                for i in ${with_libraries}; do
                   1186:                    case $i in
                   1187:                        -l*)    ;;
                   1188:                        *.a)    ;;
                   1189:                        *.o)    ;;
                   1190:                        *)      i="-l${i}";;
                   1191:                    esac
                   1192:                    LIBS="${LIBS} ${i}"
                   1193:                done
                   1194:                ;;
                   1195: esac
1.9     ! millert  1196: fi;
1.1       millert  1197:
                   1198: # Check whether --with-devel or --without-devel was given.
                   1199: if test "${with_devel+set}" = set; then
                   1200:   withval="$with_devel"
1.9     ! millert  1201:   case $with_devel in
1.1       millert  1202:     yes)       echo 'Setting up for developement: -Wall, flex, yacc'
                   1203:                PROGS="${PROGS} testsudoers"
                   1204:                OSDEFS="${OSDEFS} -DSUDO_DEVEL"
                   1205:                DEV=""
                   1206:                ;;
                   1207:     no)                ;;
1.6       millert  1208:     *)         echo "Ignoring unknown argument to --with-devel: $with_devel"
1.1       millert  1209:                ;;
                   1210: esac
1.9     ! millert  1211: fi;
1.1       millert  1212:
                   1213: # Check whether --with-csops or --without-csops was given.
                   1214: if test "${with_csops+set}" = set; then
                   1215:   withval="$with_csops"
1.9     ! millert  1216:   case $with_csops in
1.1       millert  1217:     yes)       echo 'Adding CSOps standard options'
                   1218:                CHECKSIA=false
                   1219:                with_ignore_dot=yes
1.9     ! millert  1220:                insults=on
1.1       millert  1221:                with_classic_insults=yes
                   1222:                with_csops_insults=yes
                   1223:                with_env_editor=yes
                   1224:                ;;
                   1225:     no)                ;;
                   1226:     *)         echo "Ignoring unknown argument to --with-csops: $with_csops"
                   1227:                ;;
                   1228: esac
1.9     ! millert  1229: fi;
1.1       millert  1230:
                   1231: # Check whether --with-passwd or --without-passwd was given.
                   1232: if test "${with_passwd+set}" = set; then
                   1233:   withval="$with_passwd"
                   1234:   case $with_passwd in
                   1235:     yes)       ;;
1.9     ! millert  1236:     no)                cat >>confdefs.h <<\EOF
1.1       millert  1237: #define WITHOUT_PASSWD 1
                   1238: EOF
                   1239:
1.9     ! millert  1240:                echo "$as_me:1240: checking whether to use shadow/passwd file authentication" >&5
        !          1241: echo $ECHO_N "checking whether to use shadow/passwd file authentication... $ECHO_C" >&6
        !          1242:                echo "$as_me:1242: result: no" >&5
        !          1243: echo "${ECHO_T}no" >&6
1.1       millert  1244:                ;;
1.9     ! millert  1245:     *)         { { echo "$as_me:1245: error: \"Sorry, --with-passwd does not take an argument.\"" >&5
        !          1246: echo "$as_me: error: \"Sorry, --with-passwd does not take an argument.\"" >&2;}
        !          1247:    { (exit 1); exit 1; }; }
1.1       millert  1248:                ;;
                   1249: esac
1.9     ! millert  1250: fi;
1.1       millert  1251:
                   1252: # Check whether --with-skey or --without-skey was given.
                   1253: if test "${with_skey+set}" = set; then
                   1254:   withval="$with_skey"
                   1255:   case $with_skey in
                   1256:     yes)       if test -n "$with_opie"; then
1.9     ! millert  1257:                    { { echo "$as_me:1257: error: \"cannot use both S/Key and OPIE\"" >&5
        !          1258: echo "$as_me: error: \"cannot use both S/Key and OPIE\"" >&2;}
        !          1259:    { (exit 1); exit 1; }; }
1.1       millert  1260:                fi
1.9     ! millert  1261:
        !          1262: cat >>confdefs.h <<\EOF
1.1       millert  1263: #define HAVE_SKEY 1
                   1264: EOF
                   1265:
1.9     ! millert  1266:                echo "$as_me:1266: checking whether to try S/Key authentication" >&5
        !          1267: echo $ECHO_N "checking whether to try S/Key authentication... $ECHO_C" >&6
        !          1268:                echo "$as_me:1268: result: yes" >&5
        !          1269: echo "${ECHO_T}yes" >&6
1.1       millert  1270:                AUTH_OBJS="${AUTH_OBJS} rfc1938.o"
                   1271:                ;;
                   1272:     no)                ;;
                   1273:     *)         echo "Ignoring unknown argument to --with-skey: $with_skey"
                   1274:                ;;
                   1275: esac
1.9     ! millert  1276: fi;
1.1       millert  1277:
                   1278: # Check whether --with-opie or --without-opie was given.
                   1279: if test "${with_opie+set}" = set; then
                   1280:   withval="$with_opie"
                   1281:   case $with_opie in
                   1282:     yes)       if test -n "$with_skey"; then
1.9     ! millert  1283:                    { { echo "$as_me:1283: error: \"cannot use both S/Key and OPIE\"" >&5
        !          1284: echo "$as_me: error: \"cannot use both S/Key and OPIE\"" >&2;}
        !          1285:    { (exit 1); exit 1; }; }
1.1       millert  1286:                fi
1.9     ! millert  1287:
        !          1288: cat >>confdefs.h <<\EOF
1.1       millert  1289: #define HAVE_OPIE 1
                   1290: EOF
                   1291:
1.9     ! millert  1292:                echo "$as_me:1292: checking whether to try NRL OPIE authentication" >&5
        !          1293: echo $ECHO_N "checking whether to try NRL OPIE authentication... $ECHO_C" >&6
        !          1294:                echo "$as_me:1294: result: yes" >&5
        !          1295: echo "${ECHO_T}yes" >&6
1.1       millert  1296:                AUTH_OBJS="${AUTH_OBJS} rfc1938.o"
                   1297:                ;;
                   1298:     no)                ;;
                   1299:     *)         echo "Ignoring unknown argument to --with-opie: $with_opie"
                   1300:                ;;
                   1301: esac
1.9     ! millert  1302: fi;
1.1       millert  1303:
                   1304: # Check whether --with-long-otp-prompt or --without-long-otp-prompt was given.
                   1305: if test "${with_long_otp_prompt+set}" = set; then
                   1306:   withval="$with_long_otp_prompt"
                   1307:   case $with_long_otp_prompt in
1.9     ! millert  1308:     yes)
        !          1309: cat >>confdefs.h <<\EOF
1.1       millert  1310: #define LONG_OTP_PROMPT 1
                   1311: EOF
                   1312:
1.9     ! millert  1313:                echo "$as_me:1313: checking whether to use a two line prompt for OTP authentication" >&5
        !          1314: echo $ECHO_N "checking whether to use a two line prompt for OTP authentication... $ECHO_C" >&6
        !          1315:                echo "$as_me:1315: result: yes" >&5
        !          1316: echo "${ECHO_T}yes" >&6
        !          1317:                long_otp_prompt=on
1.1       millert  1318:                ;;
1.9     ! millert  1319:     no)                long_otp_prompt=off
        !          1320:                ;;
        !          1321:     *)         { { echo "$as_me:1321: error: \"--with-long-otp-prompt does not take an argument.\"" >&5
        !          1322: echo "$as_me: error: \"--with-long-otp-prompt does not take an argument.\"" >&2;}
        !          1323:    { (exit 1); exit 1; }; }
1.1       millert  1324:                ;;
                   1325: esac
1.9     ! millert  1326: fi;
1.1       millert  1327:
                   1328: # Check whether --with-SecurID or --without-SecurID was given.
                   1329: if test "${with_SecurID+set}" = set; then
                   1330:   withval="$with_SecurID"
                   1331:   case $with_SecurID in
                   1332:     no)                ;;
1.9     ! millert  1333:     *)
        !          1334: cat >>confdefs.h <<\EOF
1.1       millert  1335: #define HAVE_SECURID 1
                   1336: EOF
                   1337:
1.9     ! millert  1338:                echo "$as_me:1338: checking whether to use SecurID for authentication" >&5
        !          1339: echo $ECHO_N "checking whether to use SecurID for authentication... $ECHO_C" >&6
        !          1340:                echo "$as_me:1340: result: yes" >&5
        !          1341: echo "${ECHO_T}yes" >&6
1.1       millert  1342:                with_passwd=no
                   1343:                AUTH_OBJS="securid.o"
                   1344:                ;;
                   1345: esac
1.9     ! millert  1346: fi;
1.1       millert  1347:
                   1348: # Check whether --with-fwtk or --without-fwtk was given.
                   1349: if test "${with_fwtk+set}" = set; then
                   1350:   withval="$with_fwtk"
                   1351:   case $with_fwtk in
                   1352:     no)                ;;
1.9     ! millert  1353:     *)
        !          1354: cat >>confdefs.h <<\EOF
1.1       millert  1355: #define HAVE_FWTK 1
                   1356: EOF
                   1357:
1.9     ! millert  1358:                echo "$as_me:1358: checking whether to use FWTK AuthSRV for authentication" >&5
        !          1359: echo $ECHO_N "checking whether to use FWTK AuthSRV for authentication... $ECHO_C" >&6
        !          1360:                echo "$as_me:1360: result: yes" >&5
        !          1361: echo "${ECHO_T}yes" >&6
1.1       millert  1362:                with_passwd=no
                   1363:                AUTH_OBJS="fwtk.o"
1.9     ! millert  1364:                if test "$with_fwtk" != "yes"; then
        !          1365:                    SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${with_fwtk}"
        !          1366:                    CPPFLAGS="${CPPFLAGS} -I${with_fwtk}"
        !          1367:                    with_fwtk=yes
        !          1368:                fi
1.1       millert  1369:                ;;
                   1370: esac
1.9     ! millert  1371: fi;
1.1       millert  1372:
                   1373: # Check whether --with-kerb4 or --without-kerb4 was given.
                   1374: if test "${with_kerb4+set}" = set; then
                   1375:   withval="$with_kerb4"
                   1376:   case $with_kerb4 in
1.9     ! millert  1377:     yes)       echo "$as_me:1377: checking whether to try Kerberos 4 authentication" >&5
        !          1378: echo $ECHO_N "checking whether to try Kerberos 4 authentication... $ECHO_C" >&6
        !          1379:                echo "$as_me:1379: result: yes" >&5
        !          1380: echo "${ECHO_T}yes" >&6
1.1       millert  1381:                ;;
                   1382:     no)                ;;
1.9     ! millert  1383:     *)         { { echo "$as_me:1383: error: \"--with-kerb4 does not take an argument.\"" >&5
        !          1384: echo "$as_me: error: \"--with-kerb4 does not take an argument.\"" >&2;}
        !          1385:    { (exit 1); exit 1; }; }
1.1       millert  1386:                ;;
                   1387: esac
1.9     ! millert  1388: fi;
1.1       millert  1389:
                   1390: # Check whether --with-kerb5 or --without-kerb5 was given.
                   1391: if test "${with_kerb5+set}" = set; then
                   1392:   withval="$with_kerb5"
                   1393:   case $with_kerb5 in
1.9     ! millert  1394:     yes)       echo "$as_me:1394: checking whether to try Kerberos 5 authentication" >&5
        !          1395: echo $ECHO_N "checking whether to try Kerberos 5 authentication... $ECHO_C" >&6
        !          1396:                echo "$as_me:1396: result: yes" >&5
        !          1397: echo "${ECHO_T}yes" >&6
1.1       millert  1398:                ;;
                   1399:     no)                ;;
1.9     ! millert  1400:     *)         { { echo "$as_me:1400: error: \"--with-kerb5 does not take an argument.\"" >&5
        !          1401: echo "$as_me: error: \"--with-kerb5 does not take an argument.\"" >&2;}
        !          1402:    { (exit 1); exit 1; }; }
1.1       millert  1403:                ;;
                   1404: esac
1.9     ! millert  1405: fi;
1.1       millert  1406:
                   1407: # Check whether --with-authenticate or --without-authenticate was given.
                   1408: if test "${with_authenticate+set}" = set; then
                   1409:   withval="$with_authenticate"
                   1410:   case $with_authenticate in
1.9     ! millert  1411:     yes)
        !          1412: cat >>confdefs.h <<\EOF
1.1       millert  1413: #define HAVE_AUTHENTICATE 1
                   1414: EOF
                   1415:
1.9     ! millert  1416:                echo "$as_me:1416: checking whether to use AIX general authentication" >&5
        !          1417: echo $ECHO_N "checking whether to use AIX general authentication... $ECHO_C" >&6
        !          1418:                echo "$as_me:1418: result: yes" >&5
        !          1419: echo "${ECHO_T}yes" >&6
1.1       millert  1420:                with_passwd=no
                   1421:                AUTH_OBJS="aix_auth.o"
                   1422:                ;;
                   1423:     no)                ;;
1.9     ! millert  1424:     *)         { { echo "$as_me:1424: error: \"--with-authenticate does not take an argument.\"" >&5
        !          1425: echo "$as_me: error: \"--with-authenticate does not take an argument.\"" >&2;}
        !          1426:    { (exit 1); exit 1; }; }
1.1       millert  1427:                ;;
                   1428: esac
1.9     ! millert  1429: fi;
1.1       millert  1430:
                   1431: # Check whether --with-pam or --without-pam was given.
                   1432: if test "${with_pam+set}" = set; then
                   1433:   withval="$with_pam"
                   1434:   case $with_pam in
1.9     ! millert  1435:     yes)
        !          1436: cat >>confdefs.h <<\EOF
1.1       millert  1437: #define HAVE_PAM 1
                   1438: EOF
                   1439:
1.9     ! millert  1440:                echo "$as_me:1440: checking whether to use PAM authentication" >&5
        !          1441: echo $ECHO_N "checking whether to use PAM authentication... $ECHO_C" >&6
        !          1442:                echo "$as_me:1442: result: yes" >&5
        !          1443: echo "${ECHO_T}yes" >&6
1.1       millert  1444:                with_passwd=no
                   1445:                AUTH_OBJS="pam.o"
                   1446:                ;;
                   1447:     no)                ;;
1.9     ! millert  1448:     *)         { { echo "$as_me:1448: error: \"--with-pam does not take an argument.\"" >&5
        !          1449: echo "$as_me: error: \"--with-pam does not take an argument.\"" >&2;}
        !          1450:    { (exit 1); exit 1; }; }
1.1       millert  1451:                ;;
                   1452: esac
1.9     ! millert  1453: fi;
1.1       millert  1454:
                   1455: # Check whether --with-AFS or --without-AFS was given.
                   1456: if test "${with_AFS+set}" = set; then
                   1457:   withval="$with_AFS"
                   1458:   case $with_AFS in
1.9     ! millert  1459:     yes)
        !          1460: cat >>confdefs.h <<\EOF
1.1       millert  1461: #define HAVE_AFS 1
                   1462: EOF
                   1463:
1.9     ! millert  1464:                echo "$as_me:1464: checking whether to try AFS (kerberos) authentication" >&5
        !          1465: echo $ECHO_N "checking whether to try AFS (kerberos) authentication... $ECHO_C" >&6
        !          1466:                echo "$as_me:1466: result: yes" >&5
        !          1467: echo "${ECHO_T}yes" >&6
1.1       millert  1468:                AUTH_OBJS="${AUTH_OBJS} afs.o"
                   1469:                ;;
                   1470:     no)                ;;
1.9     ! millert  1471:     *)         { { echo "$as_me:1471: error: \"--with-AFS does not take an argument.\"" >&5
        !          1472: echo "$as_me: error: \"--with-AFS does not take an argument.\"" >&2;}
        !          1473:    { (exit 1); exit 1; }; }
1.1       millert  1474:                ;;
                   1475: esac
1.9     ! millert  1476: fi;
1.1       millert  1477:
                   1478: # Check whether --with-DCE or --without-DCE was given.
                   1479: if test "${with_DCE+set}" = set; then
                   1480:   withval="$with_DCE"
                   1481:   case $with_DCE in
1.9     ! millert  1482:     yes)
        !          1483: cat >>confdefs.h <<\EOF
1.1       millert  1484: #define HAVE_DCE 1
                   1485: EOF
                   1486:
1.9     ! millert  1487:                echo "$as_me:1487: checking whether to try DCE (kerberos) authentication" >&5
        !          1488: echo $ECHO_N "checking whether to try DCE (kerberos) authentication... $ECHO_C" >&6
        !          1489:                echo "$as_me:1489: result: yes" >&5
        !          1490: echo "${ECHO_T}yes" >&6
1.1       millert  1491:                AUTH_OBJS="${AUTH_OBJS} dce.o"
                   1492:                ;;
                   1493:     no)                ;;
1.9     ! millert  1494:     *)         { { echo "$as_me:1494: error: \"--with-DCE does not take an argument.\"" >&5
        !          1495: echo "$as_me: error: \"--with-DCE does not take an argument.\"" >&2;}
        !          1496:    { (exit 1); exit 1; }; }
1.1       millert  1497:                ;;
                   1498: esac
1.9     ! millert  1499: fi;
1.1       millert  1500:
1.6       millert  1501: # Check whether --with-logincap or --without-logincap was given.
                   1502: if test "${with_logincap+set}" = set; then
                   1503:   withval="$with_logincap"
                   1504:   case $with_logincap in
1.7       millert  1505:     yes|no)    ;;
1.9     ! millert  1506:     *)         { { echo "$as_me:1506: error: \"--with-logincap does not take an argument.\"" >&5
        !          1507: echo "$as_me: error: \"--with-logincap does not take an argument.\"" >&2;}
        !          1508:    { (exit 1); exit 1; }; }
1.7       millert  1509:                ;;
                   1510: esac
1.9     ! millert  1511: fi;
1.6       millert  1512:
1.7       millert  1513: # Check whether --with-bsdauth or --without-bsdauth was given.
                   1514: if test "${with_bsdauth+set}" = set; then
                   1515:   withval="$with_bsdauth"
                   1516:   case $with_bsdauth in
                   1517:     yes)       with_logincap=yes
1.6       millert  1518:                ;;
                   1519:     no)                ;;
1.9     ! millert  1520:     *)         { { echo "$as_me:1520: error: \"--with-bsdauth does not take an argument.\"" >&5
        !          1521: echo "$as_me: error: \"--with-bsdauth does not take an argument.\"" >&2;}
        !          1522:    { (exit 1); exit 1; }; }
1.6       millert  1523:                ;;
                   1524: esac
1.9     ! millert  1525: fi;
1.6       millert  1526:
1.9     ! millert  1527: echo "$as_me:1527: checking whether to lecture users the first time they run sudo" >&5
        !          1528: echo $ECHO_N "checking whether to lecture users the first time they run sudo... $ECHO_C" >&6
1.6       millert  1529:
1.1       millert  1530: # Check whether --with-lecture or --without-lecture was given.
                   1531: if test "${with_lecture+set}" = set; then
                   1532:   withval="$with_lecture"
1.9     ! millert  1533:   case $with_lecture in
        !          1534:     yes|short) lecture=on
1.1       millert  1535:                ;;
1.9     ! millert  1536:     no|none)   lecture=off
1.1       millert  1537:                ;;
1.9     ! millert  1538:     *)         { { echo "$as_me:1538: error: \"unknown argument to --with-lecture: $with_lecture\"" >&5
        !          1539: echo "$as_me: error: \"unknown argument to --with-lecture: $with_lecture\"" >&2;}
        !          1540:    { (exit 1); exit 1; }; }
1.1       millert  1541:                ;;
                   1542: esac
1.9     ! millert  1543: fi;
        !          1544: if test "$lecture" = "on"; then
        !          1545:     echo "$as_me:1545: result: yes" >&5
        !          1546: echo "${ECHO_T}yes" >&6
1.1       millert  1547: else
1.9     ! millert  1548:
        !          1549: cat >>confdefs.h <<\EOF
        !          1550: #define NO_LECTURE 1
        !          1551: EOF
        !          1552:
        !          1553:     echo "$as_me:1553: result: no" >&5
        !          1554: echo "${ECHO_T}no" >&6
1.1       millert  1555: fi
                   1556:
1.9     ! millert  1557: echo "$as_me:1557: checking whether sudo should log via syslog or to a file by default" >&5
        !          1558: echo $ECHO_N "checking whether sudo should log via syslog or to a file by default... $ECHO_C" >&6
1.1       millert  1559:
                   1560: # Check whether --with-logging or --without-logging was given.
                   1561: if test "${with_logging+set}" = set; then
                   1562:   withval="$with_logging"
1.9     ! millert  1563:   case $with_logging in
        !          1564:     yes)       { { echo "$as_me:1564: error: \"must give --with-logging an argument.\"" >&5
        !          1565: echo "$as_me: error: \"must give --with-logging an argument.\"" >&2;}
        !          1566:    { (exit 1); exit 1; }; }
        !          1567:                ;;
        !          1568:     no)                { { echo "$as_me:1568: error: \"--without-logging not supported.\"" >&5
        !          1569: echo "$as_me: error: \"--without-logging not supported.\"" >&2;}
        !          1570:    { (exit 1); exit 1; }; }
1.1       millert  1571:                ;;
1.9     ! millert  1572:     syslog)
        !          1573: cat >>confdefs.h <<\EOF
1.1       millert  1574: #define LOGGING SLOG_SYSLOG
                   1575: EOF
                   1576:
1.9     ! millert  1577:                echo "$as_me:1577: result: syslog" >&5
        !          1578: echo "${ECHO_T}syslog" >&6
1.1       millert  1579:                ;;
1.9     ! millert  1580:     file)      cat >>confdefs.h <<\EOF
1.1       millert  1581: #define LOGGING SLOG_FILE
                   1582: EOF
                   1583:
1.9     ! millert  1584:                echo "$as_me:1584: result: file" >&5
        !          1585: echo "${ECHO_T}file" >&6
1.1       millert  1586:                ;;
1.9     ! millert  1587:     both)      cat >>confdefs.h <<\EOF
1.1       millert  1588: #define LOGGING SLOG_BOTH
                   1589: EOF
                   1590:
1.9     ! millert  1591:                echo "$as_me:1591: result: both" >&5
        !          1592: echo "${ECHO_T}both" >&6
1.1       millert  1593:                ;;
1.9     ! millert  1594:     *)         { { echo "$as_me:1594: error: \"unknown argument to --with-logging: $with_logging\"" >&5
        !          1595: echo "$as_me: error: \"unknown argument to --with-logging: $with_logging\"" >&2;}
        !          1596:    { (exit 1); exit 1; }; }
1.1       millert  1597:                ;;
                   1598: esac
                   1599: else
1.9     ! millert  1600:   cat >>confdefs.h <<\EOF
1.1       millert  1601: #define LOGGING SLOG_SYSLOG
                   1602: EOF
1.9     ! millert  1603:  echo "$as_me:1603: result: syslog" >&5
        !          1604: echo "${ECHO_T}syslog" >&6
        !          1605: fi;
1.1       millert  1606:
1.9     ! millert  1607: echo "$as_me:1607: checking which syslog facility sudo should log with" >&5
        !          1608: echo $ECHO_N "checking which syslog facility sudo should log with... $ECHO_C" >&6
1.1       millert  1609:
                   1610: # Check whether --with-logfac or --without-logfac was given.
                   1611: if test "${with_logfac+set}" = set; then
                   1612:   withval="$with_logfac"
1.9     ! millert  1613:   case $with_logfac in
        !          1614:     yes)       { { echo "$as_me:1614: error: \"must give --with-logfac an argument.\"" >&5
        !          1615: echo "$as_me: error: \"must give --with-logfac an argument.\"" >&2;}
        !          1616:    { (exit 1); exit 1; }; }
        !          1617:                ;;
        !          1618:     no)                { { echo "$as_me:1618: error: \"--without-logfac not supported.\"" >&5
        !          1619: echo "$as_me: error: \"--without-logfac not supported.\"" >&2;}
        !          1620:    { (exit 1); exit 1; }; }
1.1       millert  1621:                ;;
1.9     ! millert  1622:     authpriv|auth|daemon|user|local0|local1|local2|local3|local4|local5|local6|local7)         logfac=$with_logfac
1.1       millert  1623:                ;;
1.9     ! millert  1624:     *)         { { echo "$as_me:1624: error: \"$with_logfac is not a supported syslog facility.\"" >&5
        !          1625: echo "$as_me: error: \"$with_logfac is not a supported syslog facility.\"" >&2;}
        !          1626:    { (exit 1); exit 1; }; }
1.1       millert  1627:                ;;
                   1628: esac
1.9     ! millert  1629: fi;
        !          1630:
        !          1631: cat >>confdefs.h <<EOF
        !          1632: #define LOGFAC "$logfac"
1.1       millert  1633: EOF
                   1634:
1.9     ! millert  1635: echo "$as_me:1635: result: $logfac" >&5
        !          1636: echo "${ECHO_T}$logfac" >&6
        !          1637:
        !          1638: echo "$as_me:1638: checking at which syslog priority to log commands" >&5
        !          1639: echo $ECHO_N "checking at which syslog priority to log commands... $ECHO_C" >&6
1.1       millert  1640:
                   1641: # Check whether --with-goodpri or --without-goodpri was given.
                   1642: if test "${with_goodpri+set}" = set; then
                   1643:   withval="$with_goodpri"
1.9     ! millert  1644:   case $with_goodpri in
        !          1645:     yes)       { { echo "$as_me:1645: error: \"must give --with-goodpri an argument.\"" >&5
        !          1646: echo "$as_me: error: \"must give --with-goodpri an argument.\"" >&2;}
        !          1647:    { (exit 1); exit 1; }; }
1.1       millert  1648:                ;;
1.9     ! millert  1649:     no)                { { echo "$as_me:1649: error: \"--without-goodpri not supported.\"" >&5
        !          1650: echo "$as_me: error: \"--without-goodpri not supported.\"" >&2;}
        !          1651:    { (exit 1); exit 1; }; }
1.1       millert  1652:                ;;
1.9     ! millert  1653:     alert|crit|debug|emerg|err|info|notice|warning)
        !          1654:                goodpri=$with_goodpri
1.1       millert  1655:                ;;
1.9     ! millert  1656:     *)         { { echo "$as_me:1656: error: \"$with_goodpri is not a supported syslog priority.\"" >&5
        !          1657: echo "$as_me: error: \"$with_goodpri is not a supported syslog priority.\"" >&2;}
        !          1658:    { (exit 1); exit 1; }; }
1.1       millert  1659:                ;;
                   1660: esac
1.9     ! millert  1661: fi;
        !          1662:
        !          1663: cat >>confdefs.h <<EOF
        !          1664: #define PRI_SUCCESS "$goodpri"
1.1       millert  1665: EOF
                   1666:
1.9     ! millert  1667: echo "$as_me:1667: result: $goodpri" >&5
        !          1668: echo "${ECHO_T}$goodpri" >&6
        !          1669:
        !          1670: echo "$as_me:1670: checking at which syslog priority to log failures" >&5
        !          1671: echo $ECHO_N "checking at which syslog priority to log failures... $ECHO_C" >&6
1.1       millert  1672:
                   1673: # Check whether --with-badpri or --without-badpri was given.
                   1674: if test "${with_badpri+set}" = set; then
                   1675:   withval="$with_badpri"
1.9     ! millert  1676:   case $with_badpri in
        !          1677:     yes)       { { echo "$as_me:1677: error: \"must give --with-badpri an argument.\"" >&5
        !          1678: echo "$as_me: error: \"must give --with-badpri an argument.\"" >&2;}
        !          1679:    { (exit 1); exit 1; }; }
1.1       millert  1680:                ;;
1.9     ! millert  1681:     no)                { { echo "$as_me:1681: error: \"--without-badpri not supported.\"" >&5
        !          1682: echo "$as_me: error: \"--without-badpri not supported.\"" >&2;}
        !          1683:    { (exit 1); exit 1; }; }
1.1       millert  1684:                ;;
1.9     ! millert  1685:     alert|crit|debug|emerg|err|info|notice|warning)
        !          1686:                badpri=$with_badpri
1.1       millert  1687:                ;;
1.9     ! millert  1688:     *)         { { echo "$as_me:1688: error: $with_badpri is not a supported syslog priority." >&5
        !          1689: echo "$as_me: error: $with_badpri is not a supported syslog priority." >&2;}
        !          1690:    { (exit 1); exit 1; }; }
1.1       millert  1691:                ;;
                   1692: esac
1.9     ! millert  1693: fi;
        !          1694:
        !          1695: cat >>confdefs.h <<EOF
        !          1696: #define PRI_FAILURE "$badpri"
1.1       millert  1697: EOF
                   1698:
1.9     ! millert  1699: echo "$as_me:1699: result: badpri" >&5
        !          1700: echo "${ECHO_T}badpri" >&6
1.1       millert  1701:
                   1702: # Check whether --with-logpath or --without-logpath was given.
                   1703: if test "${with_logpath+set}" = set; then
                   1704:   withval="$with_logpath"
1.9     ! millert  1705:   case $with_logpath in
        !          1706:     yes)       { { echo "$as_me:1706: error: \"must give --with-logpath an argument.\"" >&5
        !          1707: echo "$as_me: error: \"must give --with-logpath an argument.\"" >&2;}
        !          1708:    { (exit 1); exit 1; }; }
1.1       millert  1709:                ;;
1.9     ! millert  1710:     no)                { { echo "$as_me:1710: error: \"--without-logpath not supported.\"" >&5
        !          1711: echo "$as_me: error: \"--without-logpath not supported.\"" >&2;}
        !          1712:    { (exit 1); exit 1; }; }
1.1       millert  1713:                ;;
                   1714: esac
1.9     ! millert  1715: fi;
1.1       millert  1716:
1.9     ! millert  1717: echo "$as_me:1717: checking how long a line in the log file should be" >&5
        !          1718: echo $ECHO_N "checking how long a line in the log file should be... $ECHO_C" >&6
1.1       millert  1719:
                   1720: # Check whether --with-loglen or --without-loglen was given.
                   1721: if test "${with_loglen+set}" = set; then
                   1722:   withval="$with_loglen"
1.9     ! millert  1723:   case $with_loglen in
        !          1724:     yes)       { { echo "$as_me:1724: error: \"must give --with-loglen an argument.\"" >&5
        !          1725: echo "$as_me: error: \"must give --with-loglen an argument.\"" >&2;}
        !          1726:    { (exit 1); exit 1; }; }
1.1       millert  1727:                ;;
1.9     ! millert  1728:     no)                { { echo "$as_me:1728: error: \"--without-loglen not supported.\"" >&5
        !          1729: echo "$as_me: error: \"--without-loglen not supported.\"" >&2;}
        !          1730:    { (exit 1); exit 1; }; }
1.1       millert  1731:                ;;
1.9     ! millert  1732:     [0-9]*)    loglen=$with_loglen
1.1       millert  1733:                ;;
1.9     ! millert  1734:     *)         { { echo "$as_me:1734: error: \"you must enter a number, not $with_loglen\"" >&5
        !          1735: echo "$as_me: error: \"you must enter a number, not $with_loglen\"" >&2;}
        !          1736:    { (exit 1); exit 1; }; }
1.1       millert  1737:                ;;
                   1738: esac
1.9     ! millert  1739: fi;
        !          1740:
        !          1741: cat >>confdefs.h <<EOF
        !          1742: #define MAXLOGFILELEN $loglen
1.1       millert  1743: EOF
                   1744:
1.9     ! millert  1745: echo "$as_me:1745: result: $loglen" >&5
        !          1746: echo "${ECHO_T}$loglen" >&6
        !          1747:
        !          1748: echo "$as_me:1748: checking whether sudo should ignore '.' or '' in \$PATH" >&5
        !          1749: echo $ECHO_N "checking whether sudo should ignore '.' or '' in \$PATH... $ECHO_C" >&6
1.1       millert  1750:
                   1751: # Check whether --with-ignore-dot or --without-ignore-dot was given.
                   1752: if test "${with_ignore_dot+set}" = set; then
                   1753:   withval="$with_ignore_dot"
1.9     ! millert  1754:   case $with_ignore_dot in
        !          1755:     yes)       ignore_dot=on
1.1       millert  1756:                ;;
1.9     ! millert  1757:     no)                ignore_dot=off
1.1       millert  1758:                ;;
1.9     ! millert  1759:     *)         { { echo "$as_me:1759: error: \"--with-ignore-dot does not take an argument.\"" >&5
        !          1760: echo "$as_me: error: \"--with-ignore-dot does not take an argument.\"" >&2;}
        !          1761:    { (exit 1); exit 1; }; }
1.1       millert  1762:                ;;
                   1763: esac
1.9     ! millert  1764: fi;
        !          1765: if test "$ignore_dot" = "on"; then
        !          1766:
        !          1767: cat >>confdefs.h <<\EOF
        !          1768: #define IGNORE_DOT_PATH 1
        !          1769: EOF
        !          1770:
        !          1771:     echo "$as_me:1771: result: yes" >&5
        !          1772: echo "${ECHO_T}yes" >&6
1.1       millert  1773: else
1.9     ! millert  1774:     echo "$as_me:1774: result: no" >&5
        !          1775: echo "${ECHO_T}no" >&6
1.1       millert  1776: fi
                   1777:
1.9     ! millert  1778: echo "$as_me:1778: checking whether to send mail when a user is not in sudoers" >&5
        !          1779: echo $ECHO_N "checking whether to send mail when a user is not in sudoers... $ECHO_C" >&6
1.1       millert  1780:
1.9     ! millert  1781: # Check whether --with-mail-if-no-user or --without-mail-if-no-user was given.
        !          1782: if test "${with_mail_if_no_user+set}" = set; then
        !          1783:   withval="$with_mail_if_no_user"
        !          1784:   case $with_mail_if_no_user in
        !          1785:     yes)       mail_no_user=on
        !          1786:                ;;
        !          1787:     no)                mail_no_user=off
1.1       millert  1788:                ;;
1.9     ! millert  1789:     *)         { { echo "$as_me:1789: error: \"--with-mail-if-no-user does not take an argument.\"" >&5
        !          1790: echo "$as_me: error: \"--with-mail-if-no-user does not take an argument.\"" >&2;}
        !          1791:    { (exit 1); exit 1; }; }
1.1       millert  1792:                ;;
1.9     ! millert  1793: esac
        !          1794: fi;
        !          1795: if test "$mail_no_user" = "on"; then
        !          1796:
        !          1797: cat >>confdefs.h <<\EOF
        !          1798: #define SEND_MAIL_WHEN_NO_USER 1
1.1       millert  1799: EOF
                   1800:
1.9     ! millert  1801:     echo "$as_me:1801: result: yes" >&5
        !          1802: echo "${ECHO_T}yes" >&6
1.1       millert  1803: else
1.9     ! millert  1804:     echo "$as_me:1804: result: no" >&5
        !          1805: echo "${ECHO_T}no" >&6
1.1       millert  1806: fi
                   1807:
1.9     ! millert  1808: echo "$as_me:1808: checking whether to send mail when user listed but not for this host" >&5
        !          1809: echo $ECHO_N "checking whether to send mail when user listed but not for this host... $ECHO_C" >&6
1.1       millert  1810:
1.9     ! millert  1811: # Check whether --with-mail-if-no-host or --without-mail-if-no-host was given.
        !          1812: if test "${with_mail_if_no_host+set}" = set; then
        !          1813:   withval="$with_mail_if_no_host"
        !          1814:   case $with_mail_if_no_host in
        !          1815:     yes)       mail_no_host=on
1.1       millert  1816:                ;;
1.9     ! millert  1817:     no)                mail_no_host=off
1.1       millert  1818:                ;;
1.9     ! millert  1819:     *)         { { echo "$as_me:1819: error: \"--with-mail-if-no-host does not take an argument.\"" >&5
        !          1820: echo "$as_me: error: \"--with-mail-if-no-host does not take an argument.\"" >&2;}
        !          1821:    { (exit 1); exit 1; }; }
1.1       millert  1822:                ;;
                   1823: esac
1.9     ! millert  1824: fi;
        !          1825: if test "$mail_no_host" = "on"; then
        !          1826:
        !          1827: cat >>confdefs.h <<\EOF
        !          1828: #define SEND_MAIL_WHEN_NO_HOST 1
1.1       millert  1829: EOF
                   1830:
1.9     ! millert  1831:     echo "$as_me:1831: result: yes" >&5
        !          1832: echo "${ECHO_T}yes" >&6
        !          1833: else
        !          1834:     echo "$as_me:1834: result: no" >&5
        !          1835: echo "${ECHO_T}no" >&6
1.1       millert  1836: fi
                   1837:
1.9     ! millert  1838: echo "$as_me:1838: checking whether to send mail when a user tries a disallowed command" >&5
        !          1839: echo $ECHO_N "checking whether to send mail when a user tries a disallowed command... $ECHO_C" >&6
1.1       millert  1840:
1.9     ! millert  1841: # Check whether --with-mail-if-noperms or --without-mail-if-noperms was given.
        !          1842: if test "${with_mail_if_noperms+set}" = set; then
        !          1843:   withval="$with_mail_if_noperms"
        !          1844:   case $with_mail_if_noperms in
        !          1845:     yes)       mail_noperms=on
1.1       millert  1846:                ;;
1.9     ! millert  1847:     no)                mail_noperms=off
1.1       millert  1848:                ;;
1.9     ! millert  1849:     *)         { { echo "$as_me:1849: error: \"--with-mail-if-noperms does not take an argument.\"" >&5
        !          1850: echo "$as_me: error: \"--with-mail-if-noperms does not take an argument.\"" >&2;}
        !          1851:    { (exit 1); exit 1; }; }
1.1       millert  1852:                ;;
                   1853: esac
1.9     ! millert  1854: fi;
        !          1855: if test "$mail_noperms" = "on"; then
        !          1856:
        !          1857: cat >>confdefs.h <<\EOF
        !          1858: #define SEND_MAIL_WHEN_NOT_OK 1
        !          1859: EOF
        !          1860:
        !          1861:     echo "$as_me:1861: result: yes" >&5
        !          1862: echo "${ECHO_T}yes" >&6
1.1       millert  1863: else
1.9     ! millert  1864:     echo "$as_me:1864: result: no" >&5
        !          1865: echo "${ECHO_T}no" >&6
1.1       millert  1866: fi
                   1867:
1.9     ! millert  1868: echo "$as_me:1868: checking who should get the mail that sudo sends" >&5
        !          1869: echo $ECHO_N "checking who should get the mail that sudo sends... $ECHO_C" >&6
1.1       millert  1870:
1.9     ! millert  1871: # Check whether --with-mailto or --without-mailto was given.
        !          1872: if test "${with_mailto+set}" = set; then
        !          1873:   withval="$with_mailto"
        !          1874:   case $with_mailto in
        !          1875:     yes)       { { echo "$as_me:1875: error: \"must give --with-mailto an argument.\"" >&5
        !          1876: echo "$as_me: error: \"must give --with-mailto an argument.\"" >&2;}
        !          1877:    { (exit 1); exit 1; }; }
1.1       millert  1878:                ;;
1.9     ! millert  1879:     no)                { { echo "$as_me:1879: error: \"--without-mailto not supported.\"" >&5
        !          1880: echo "$as_me: error: \"--without-mailto not supported.\"" >&2;}
        !          1881:    { (exit 1); exit 1; }; }
1.1       millert  1882:                ;;
1.9     ! millert  1883:     *)         mailto=$with_mailto
1.1       millert  1884:                ;;
                   1885: esac
1.9     ! millert  1886: fi;
1.1       millert  1887:
1.9     ! millert  1888: cat >>confdefs.h <<EOF
        !          1889: #define MAILTO "$mailto"
        !          1890: EOF
1.1       millert  1891:
1.9     ! millert  1892: echo "$as_me:1892: result: $mailto" >&5
        !          1893: echo "${ECHO_T}$mailto" >&6
1.1       millert  1894:
1.9     ! millert  1895: # Check whether --with-mailsubject or --without-mailsubject was given.
        !          1896: if test "${with_mailsubject+set}" = set; then
        !          1897:   withval="$with_mailsubject"
        !          1898:   case $with_mailsubject in
        !          1899:     yes)       { { echo "$as_me:1899: error: \"must give --with-mailsubject an argument.\"" >&5
        !          1900: echo "$as_me: error: \"must give --with-mailsubject an argument.\"" >&2;}
        !          1901:    { (exit 1); exit 1; }; }
1.1       millert  1902:                ;;
1.9     ! millert  1903:     no)                echo "Sorry, --without-mailsubject not supported."
1.1       millert  1904:                ;;
1.9     ! millert  1905:     *)         mailsub="$with_mailsubject"
        !          1906:                echo "$as_me:1906: checking sudo mail subject" >&5
        !          1907: echo $ECHO_N "checking sudo mail subject... $ECHO_C" >&6
        !          1908:                echo "$as_me:1908: result: Using alert mail subject: $mailsub" >&5
        !          1909: echo "${ECHO_T}Using alert mail subject: $mailsub" >&6
1.1       millert  1910:                ;;
                   1911: esac
1.9     ! millert  1912: fi;
        !          1913:
        !          1914: cat >>confdefs.h <<EOF
        !          1915: #define MAILSUBJECT "$mailsub"
        !          1916: EOF
1.1       millert  1917:
1.9     ! millert  1918: echo "$as_me:1918: checking for bad password prompt" >&5
        !          1919: echo $ECHO_N "checking for bad password prompt... $ECHO_C" >&6
1.1       millert  1920:
                   1921: # Check whether --with-passprompt or --without-passprompt was given.
                   1922: if test "${with_passprompt+set}" = set; then
                   1923:   withval="$with_passprompt"
1.9     ! millert  1924:   case $with_passprompt in
        !          1925:     yes)       { { echo "$as_me:1925: error: \"must give --with-passprompt an argument.\"" >&5
        !          1926: echo "$as_me: error: \"must give --with-passprompt an argument.\"" >&2;}
        !          1927:    { (exit 1); exit 1; }; }
1.1       millert  1928:                ;;
                   1929:     no)                echo "Sorry, --without-passprompt not supported."
                   1930:                ;;
1.9     ! millert  1931:     *)         passprompt="$with_passprompt"
        !          1932: esac
        !          1933: fi;
        !          1934: echo "$as_me:1934: result: $passprompt" >&5
        !          1935: echo "${ECHO_T}$passprompt" >&6
1.1       millert  1936:
1.9     ! millert  1937: cat >>confdefs.h <<EOF
        !          1938: #define PASSPROMPT "$passprompt"
1.1       millert  1939: EOF
                   1940:
1.9     ! millert  1941: echo "$as_me:1941: checking for bad password message" >&5
        !          1942: echo $ECHO_N "checking for bad password message... $ECHO_C" >&6
1.1       millert  1943:
                   1944: # Check whether --with-badpass-message or --without-badpass-message was given.
                   1945: if test "${with_badpass_message+set}" = set; then
                   1946:   withval="$with_badpass_message"
1.9     ! millert  1947:   case $with_badpass_message in
        !          1948:     yes)       { { echo "$as_me:1948: error: \"Must give --with-badpass-message an argument.\"" >&5
        !          1949: echo "$as_me: error: \"Must give --with-badpass-message an argument.\"" >&2;}
        !          1950:    { (exit 1); exit 1; }; }
1.1       millert  1951:                ;;
                   1952:     no)                echo "Sorry, --without-badpass-message not supported."
                   1953:                ;;
1.9     ! millert  1954:     *)         badpass_message="$with_badpass_message"
1.1       millert  1955:                ;;
                   1956: esac
1.9     ! millert  1957: fi;
        !          1958:
        !          1959: cat >>confdefs.h <<EOF
        !          1960: #define INCORRECT_PASSWORD "$badpass_message"
1.1       millert  1961: EOF
                   1962:
1.9     ! millert  1963: echo "$as_me:1963: result: $badpass_message" >&5
        !          1964: echo "${ECHO_T}$badpass_message" >&6
        !          1965:
        !          1966: echo "$as_me:1966: checking whether to expect fully qualified hosts in sudoers" >&5
        !          1967: echo $ECHO_N "checking whether to expect fully qualified hosts in sudoers... $ECHO_C" >&6
1.1       millert  1968:
                   1969: # Check whether --with-fqdn or --without-fqdn was given.
                   1970: if test "${with_fqdn+set}" = set; then
                   1971:   withval="$with_fqdn"
1.9     ! millert  1972:   case $with_fqdn in
        !          1973:     yes)       fqdn=on
1.1       millert  1974:                ;;
1.9     ! millert  1975:     no)                fqdn=off
1.1       millert  1976:                ;;
1.9     ! millert  1977:     *)         { { echo "$as_me:1977: error: \"--with-fqdn does not take an argument.\"" >&5
        !          1978: echo "$as_me: error: \"--with-fqdn does not take an argument.\"" >&2;}
        !          1979:    { (exit 1); exit 1; }; }
1.1       millert  1980:                ;;
                   1981: esac
1.9     ! millert  1982: fi;
        !          1983: if test "$fqdn" = "on"; then
        !          1984:
        !          1985: cat >>confdefs.h <<\EOF
        !          1986: #define FQDN 1
        !          1987: EOF
        !          1988:
        !          1989:     echo "$as_me:1989: result: yes" >&5
        !          1990: echo "${ECHO_T}yes" >&6
1.1       millert  1991: else
1.9     ! millert  1992:     echo "$as_me:1992: result: no" >&5
        !          1993: echo "${ECHO_T}no" >&6
1.1       millert  1994: fi
                   1995:
                   1996: # Check whether --with-timedir or --without-timedir was given.
                   1997: if test "${with_timedir+set}" = set; then
                   1998:   withval="$with_timedir"
1.9     ! millert  1999:   case $with_timedir in
        !          2000:     yes)       { { echo "$as_me:2000: error: \"must give --with-timedir an argument.\"" >&5
        !          2001: echo "$as_me: error: \"must give --with-timedir an argument.\"" >&2;}
        !          2002:    { (exit 1); exit 1; }; }
1.1       millert  2003:                ;;
1.9     ! millert  2004:     no)                { { echo "$as_me:2004: error: \"--without-timedir not supported.\"" >&5
        !          2005: echo "$as_me: error: \"--without-timedir not supported.\"" >&2;}
        !          2006:    { (exit 1); exit 1; }; }
1.1       millert  2007:                ;;
                   2008: esac
1.9     ! millert  2009: fi;
1.1       millert  2010:
                   2011: # Check whether --with-sendmail or --without-sendmail was given.
                   2012: if test "${with_sendmail+set}" = set; then
                   2013:   withval="$with_sendmail"
1.9     ! millert  2014:   case $with_sendmail in
1.1       millert  2015:     yes)       with_sendmail=""
                   2016:                ;;
                   2017:     no)                ;;
1.9     ! millert  2018:     *)         cat >>confdefs.h <<EOF
        !          2019: #define _PATH_SUDO_SENDMAIL "$with_sendmail"
1.1       millert  2020: EOF
                   2021:
                   2022:                ;;
                   2023: esac
1.9     ! millert  2024: fi;
1.1       millert  2025:
                   2026: # Check whether --with-sudoers-mode or --without-sudoers-mode was given.
                   2027: if test "${with_sudoers_mode+set}" = set; then
                   2028:   withval="$with_sudoers_mode"
1.9     ! millert  2029:   case $with_sudoers_mode in
        !          2030:     yes)       { { echo "$as_me:2030: error: \"must give --with-sudoers-mode an argument.\"" >&5
        !          2031: echo "$as_me: error: \"must give --with-sudoers-mode an argument.\"" >&2;}
        !          2032:    { (exit 1); exit 1; }; }
        !          2033:                ;;
        !          2034:     no)                { { echo "$as_me:2034: error: \"--without-sudoers-mode not supported.\"" >&5
        !          2035: echo "$as_me: error: \"--without-sudoers-mode not supported.\"" >&2;}
        !          2036:    { (exit 1); exit 1; }; }
1.1       millert  2037:                ;;
                   2038:     [1-9]*)    SUDOERS_MODE=0${with_sudoers_mode}
                   2039:                ;;
                   2040:     0*)                SUDOERS_MODE=$with_sudoers_mode
                   2041:                ;;
1.9     ! millert  2042:     *)         { { echo "$as_me:2042: error: \"you must use a numeric uid, not a name.\"" >&5
        !          2043: echo "$as_me: error: \"you must use a numeric uid, not a name.\"" >&2;}
        !          2044:    { (exit 1); exit 1; }; }
1.1       millert  2045:                ;;
                   2046: esac
1.9     ! millert  2047: fi;
1.1       millert  2048:
                   2049: # Check whether --with-sudoers-uid or --without-sudoers-uid was given.
                   2050: if test "${with_sudoers_uid+set}" = set; then
                   2051:   withval="$with_sudoers_uid"
1.9     ! millert  2052:   case $with_sudoers_uid in
        !          2053:     yes)       { { echo "$as_me:2053: error: \"must give --with-sudoers-uid an argument.\"" >&5
        !          2054: echo "$as_me: error: \"must give --with-sudoers-uid an argument.\"" >&2;}
        !          2055:    { (exit 1); exit 1; }; }
        !          2056:                ;;
        !          2057:     no)                { { echo "$as_me:2057: error: \"--without-sudoers-uid not supported.\"" >&5
        !          2058: echo "$as_me: error: \"--without-sudoers-uid not supported.\"" >&2;}
        !          2059:    { (exit 1); exit 1; }; }
1.1       millert  2060:                ;;
                   2061:     [0-9]*)    SUDOERS_UID=$with_sudoers_uid
                   2062:                ;;
1.9     ! millert  2063:     *)         { { echo "$as_me:2063: error: \"you must use a numeric uid, not a name.\"" >&5
        !          2064: echo "$as_me: error: \"you must use a numeric uid, not a name.\"" >&2;}
        !          2065:    { (exit 1); exit 1; }; }
1.1       millert  2066:                ;;
                   2067: esac
1.9     ! millert  2068: fi;
1.1       millert  2069:
                   2070: # Check whether --with-sudoers-gid or --without-sudoers-gid was given.
                   2071: if test "${with_sudoers_gid+set}" = set; then
                   2072:   withval="$with_sudoers_gid"
1.9     ! millert  2073:   case $with_sudoers_gid in
        !          2074:     yes)       { { echo "$as_me:2074: error: \"must give --with-sudoers-gid an argument.\"" >&5
        !          2075: echo "$as_me: error: \"must give --with-sudoers-gid an argument.\"" >&2;}
        !          2076:    { (exit 1); exit 1; }; }
        !          2077:                ;;
        !          2078:     no)                { { echo "$as_me:2078: error: \"--without-sudoers-gid not supported.\"" >&5
        !          2079: echo "$as_me: error: \"--without-sudoers-gid not supported.\"" >&2;}
        !          2080:    { (exit 1); exit 1; }; }
1.1       millert  2081:                ;;
                   2082:     [0-9]*)    SUDOERS_GID=$with_sudoers_gid
                   2083:                ;;
1.9     ! millert  2084:     *)         { { echo "$as_me:2084: error: \"you must use a numeric gid, not a name.\"" >&5
        !          2085: echo "$as_me: error: \"you must use a numeric gid, not a name.\"" >&2;}
        !          2086:    { (exit 1); exit 1; }; }
1.1       millert  2087:                ;;
                   2088: esac
1.9     ! millert  2089: fi;
1.1       millert  2090:
1.9     ! millert  2091: echo "$as_me:2091: checking for umask programs should be run with" >&5
        !          2092: echo $ECHO_N "checking for umask programs should be run with... $ECHO_C" >&6
1.1       millert  2093:
                   2094: # Check whether --with-umask or --without-umask was given.
                   2095: if test "${with_umask+set}" = set; then
                   2096:   withval="$with_umask"
1.9     ! millert  2097:   case $with_umask in
        !          2098:     yes)       { { echo "$as_me:2098: error: \"must give --with-umask an argument.\"" >&5
        !          2099: echo "$as_me: error: \"must give --with-umask an argument.\"" >&2;}
        !          2100:    { (exit 1); exit 1; }; }
1.1       millert  2101:                ;;
1.9     ! millert  2102:     no)                sudo_umask=0777
1.1       millert  2103:                ;;
1.9     ! millert  2104:     [0-9]*)    sudo_umask=$with_umask
1.1       millert  2105:                ;;
1.9     ! millert  2106:     *)         { { echo "$as_me:2106: error: \"you must enter a numeric mask.\"" >&5
        !          2107: echo "$as_me: error: \"you must enter a numeric mask.\"" >&2;}
        !          2108:    { (exit 1); exit 1; }; }
1.1       millert  2109:                ;;
                   2110: esac
1.9     ! millert  2111: fi;
        !          2112:
        !          2113: cat >>confdefs.h <<EOF
        !          2114: #define SUDO_UMASK $sudo_umask
        !          2115: EOF
        !          2116:
        !          2117: if test "$sudo_umask" = "0777"; then
        !          2118:     echo "$as_me:2118: result: user" >&5
        !          2119: echo "${ECHO_T}user" >&6
1.1       millert  2120: else
1.9     ! millert  2121:     echo "$as_me:2121: result: $sudo_umask" >&5
        !          2122: echo "${ECHO_T}$sudo_umask" >&6
1.1       millert  2123: fi
                   2124:
1.9     ! millert  2125: echo "$as_me:2125: checking for default user to run commands as" >&5
        !          2126: echo $ECHO_N "checking for default user to run commands as... $ECHO_C" >&6
1.1       millert  2127:
                   2128: # Check whether --with-runas-default or --without-runas-default was given.
                   2129: if test "${with_runas_default+set}" = set; then
                   2130:   withval="$with_runas_default"
1.9     ! millert  2131:   case $with_runas_default in
        !          2132:     yes)       { { echo "$as_me:2132: error: \"must give --with-runas-default an argument.\"" >&5
        !          2133: echo "$as_me: error: \"must give --with-runas-default an argument.\"" >&2;}
        !          2134:    { (exit 1); exit 1; }; }
1.1       millert  2135:                ;;
1.9     ! millert  2136:     no)                { { echo "$as_me:2136: error: \"--without-runas-default not supported.\"" >&5
        !          2137: echo "$as_me: error: \"--without-runas-default not supported.\"" >&2;}
        !          2138:    { (exit 1); exit 1; }; }
1.1       millert  2139:                ;;
1.9     ! millert  2140:     *)         runas_default="$with_runas_default"
1.1       millert  2141:                ;;
                   2142: esac
1.9     ! millert  2143: fi;
        !          2144:
        !          2145: cat >>confdefs.h <<EOF
        !          2146: #define RUNAS_DEFAULT "$runas_default"
1.1       millert  2147: EOF
                   2148:
1.9     ! millert  2149: echo "$as_me:2149: result: $runas_default" >&5
        !          2150: echo "${ECHO_T}$runas_default" >&6
1.1       millert  2151:
                   2152: # Check whether --with-exempt or --without-exempt was given.
                   2153: if test "${with_exempt+set}" = set; then
                   2154:   withval="$with_exempt"
1.9     ! millert  2155:   case $with_exempt in
        !          2156:     yes)       { { echo "$as_me:2156: error: \"must give --with-exempt an argument.\"" >&5
        !          2157: echo "$as_me: error: \"must give --with-exempt an argument.\"" >&2;}
        !          2158:    { (exit 1); exit 1; }; }
        !          2159:                ;;
        !          2160:     no)                { { echo "$as_me:2160: error: \"--without-exempt not supported.\"" >&5
        !          2161: echo "$as_me: error: \"--without-exempt not supported.\"" >&2;}
        !          2162:    { (exit 1); exit 1; }; }
1.1       millert  2163:                ;;
1.9     ! millert  2164:     *)
        !          2165: cat >>confdefs.h <<EOF
1.1       millert  2166: #define EXEMPTGROUP "$with_exempt"
                   2167: EOF
                   2168:
1.9     ! millert  2169:                echo "$as_me:2169: checking for group to be exempt from password" >&5
        !          2170: echo $ECHO_N "checking for group to be exempt from password... $ECHO_C" >&6
        !          2171:                echo "$as_me:2171: result: $with_exempt" >&5
        !          2172: echo "${ECHO_T}$with_exempt" >&6
1.1       millert  2173:                ;;
                   2174: esac
1.9     ! millert  2175: fi;
1.1       millert  2176:
1.9     ! millert  2177: echo "$as_me:2177: checking for editor that visudo should use" >&5
        !          2178: echo $ECHO_N "checking for editor that visudo should use... $ECHO_C" >&6
1.1       millert  2179:
                   2180: # Check whether --with-editor or --without-editor was given.
                   2181: if test "${with_editor+set}" = set; then
                   2182:   withval="$with_editor"
1.9     ! millert  2183:   case $with_editor in
        !          2184:     yes)       { { echo "$as_me:2184: error: \"must give --with-editor an argument.\"" >&5
        !          2185: echo "$as_me: error: \"must give --with-editor an argument.\"" >&2;}
        !          2186:    { (exit 1); exit 1; }; }
        !          2187:                ;;
        !          2188:     no)                { { echo "$as_me:2188: error: \"--without-editor not supported.\"" >&5
        !          2189: echo "$as_me: error: \"--without-editor not supported.\"" >&2;}
        !          2190:    { (exit 1); exit 1; }; }
1.1       millert  2191:                ;;
1.9     ! millert  2192:     *)
        !          2193: cat >>confdefs.h <<EOF
1.1       millert  2194: #define EDITOR "$with_editor"
                   2195: EOF
                   2196:
1.9     ! millert  2197:                echo "$as_me:2197: result: $with_editor" >&5
        !          2198: echo "${ECHO_T}$with_editor" >&6
1.1       millert  2199:                ;;
                   2200: esac
                   2201: else
1.9     ! millert  2202:   cat >>confdefs.h <<\EOF
1.1       millert  2203: #define EDITOR _PATH_VI
                   2204: EOF
1.9     ! millert  2205:  echo "$as_me:2205: result: vi" >&5
        !          2206: echo "${ECHO_T}vi" >&6
        !          2207: fi;
1.1       millert  2208:
1.9     ! millert  2209: echo "$as_me:2209: checking whether to obey EDITOR and VISUAL environment variables" >&5
        !          2210: echo $ECHO_N "checking whether to obey EDITOR and VISUAL environment variables... $ECHO_C" >&6
1.1       millert  2211:
                   2212: # Check whether --with-env-editor or --without-env-editor was given.
                   2213: if test "${with_env_editor+set}" = set; then
                   2214:   withval="$with_env_editor"
1.9     ! millert  2215:   case $with_env_editor in
        !          2216:     yes)       env_editor=on
1.1       millert  2217:                ;;
1.9     ! millert  2218:     no)                env_editor=off
1.1       millert  2219:                ;;
1.9     ! millert  2220:     *)         { { echo "$as_me:2220: error: \"--with-env-editor does not take an argument.\"" >&5
        !          2221: echo "$as_me: error: \"--with-env-editor does not take an argument.\"" >&2;}
        !          2222:    { (exit 1); exit 1; }; }
1.1       millert  2223:                ;;
                   2224: esac
1.9     ! millert  2225: fi;
        !          2226: if test "$env_editor" = "on"; then
        !          2227:
        !          2228: cat >>confdefs.h <<\EOF
        !          2229: #define ENV_EDITOR 1
        !          2230: EOF
        !          2231:
        !          2232:     echo "$as_me:2232: result: yes" >&5
        !          2233: echo "${ECHO_T}yes" >&6
1.1       millert  2234: else
1.9     ! millert  2235:     echo "$as_me:2235: result: no" >&5
        !          2236: echo "${ECHO_T}no" >&6
1.1       millert  2237: fi
                   2238:
1.9     ! millert  2239: echo "$as_me:2239: checking number of tries a user gets to enter their password" >&5
        !          2240: echo $ECHO_N "checking number of tries a user gets to enter their password... $ECHO_C" >&6
1.1       millert  2241:
                   2242: # Check whether --with-passwd-tries or --without-passwd-tries was given.
                   2243: if test "${with_passwd_tries+set}" = set; then
                   2244:   withval="$with_passwd_tries"
1.9     ! millert  2245:   case $with_passwd_tries in
        !          2246:     yes)       ;;
        !          2247:     no)                { { echo "$as_me:2247: error: \"--without-editor not supported.\"" >&5
        !          2248: echo "$as_me: error: \"--without-editor not supported.\"" >&2;}
        !          2249:    { (exit 1); exit 1; }; }
1.1       millert  2250:                ;;
1.9     ! millert  2251:     [1-9]*)    passwd_tries=$with_passwd_tries
1.1       millert  2252:                ;;
1.9     ! millert  2253:     *)         { { echo "$as_me:2253: error: \"you must enter the numer of tries, > 0\"" >&5
        !          2254: echo "$as_me: error: \"you must enter the numer of tries, > 0\"" >&2;}
        !          2255:    { (exit 1); exit 1; }; }
1.1       millert  2256:                ;;
                   2257: esac
1.9     ! millert  2258: fi;
        !          2259:
        !          2260: cat >>confdefs.h <<EOF
        !          2261: #define TRIES_FOR_PASSWORD $passwd_tries
1.1       millert  2262: EOF
                   2263:
1.9     ! millert  2264: echo "$as_me:2264: result: $passwd_tries" >&5
        !          2265: echo "${ECHO_T}$passwd_tries" >&6
        !          2266:
        !          2267: echo "$as_me:2267: checking time in minutes after which sudo will ask for a password again" >&5
        !          2268: echo $ECHO_N "checking time in minutes after which sudo will ask for a password again... $ECHO_C" >&6
1.1       millert  2269:
                   2270: # Check whether --with-timeout or --without-timeout was given.
                   2271: if test "${with_timeout+set}" = set; then
                   2272:   withval="$with_timeout"
1.9     ! millert  2273:   echo $with_timeout; case $with_timeout in
        !          2274:     yes)       ;;
        !          2275:     no)                timeout=0
1.1       millert  2276:                ;;
1.9     ! millert  2277:     [0-9]*)    timeout=$with_timeout
1.1       millert  2278:                ;;
1.9     ! millert  2279:     *)         { { echo "$as_me:2279: error: \"you must enter the numer of minutes.\"" >&5
        !          2280: echo "$as_me: error: \"you must enter the numer of minutes.\"" >&2;}
        !          2281:    { (exit 1); exit 1; }; }
1.1       millert  2282:                ;;
                   2283: esac
1.9     ! millert  2284: fi;
        !          2285:
        !          2286: cat >>confdefs.h <<EOF
        !          2287: #define TIMEOUT $timeout
1.1       millert  2288: EOF
                   2289:
1.9     ! millert  2290: echo "$as_me:2290: result: $timeout" >&5
        !          2291: echo "${ECHO_T}$timeout" >&6
        !          2292:
        !          2293: echo "$as_me:2293: checking time in minutes after the password prompt will time out" >&5
        !          2294: echo $ECHO_N "checking time in minutes after the password prompt will time out... $ECHO_C" >&6
1.1       millert  2295:
                   2296: # Check whether --with-password-timeout or --without-password-timeout was given.
                   2297: if test "${with_password_timeout+set}" = set; then
                   2298:   withval="$with_password_timeout"
1.9     ! millert  2299:   case $with_password_timeout in
        !          2300:     yes)       ;;
        !          2301:     no)                password_timeout=0
1.1       millert  2302:                ;;
1.9     ! millert  2303:     [0-9]*)    password_timeout=$with_password_timeout
1.1       millert  2304:                ;;
1.9     ! millert  2305:     *)         { { echo "$as_me:2305: error: \"you must enter the numer of minutes.\"" >&5
        !          2306: echo "$as_me: error: \"you must enter the numer of minutes.\"" >&2;}
        !          2307:    { (exit 1); exit 1; }; }
1.1       millert  2308:                ;;
                   2309: esac
1.9     ! millert  2310: fi;
        !          2311:
        !          2312: cat >>confdefs.h <<EOF
        !          2313: #define PASSWORD_TIMEOUT $password_timeout
1.1       millert  2314: EOF
                   2315:
1.9     ! millert  2316: echo "$as_me:2316: result: $password_timeout" >&5
        !          2317: echo "${ECHO_T}$password_timeout" >&6
1.1       millert  2318:
                   2319: # Check whether --with-execv or --without-execv was given.
                   2320: if test "${with_execv+set}" = set; then
                   2321:   withval="$with_execv"
1.9     ! millert  2322:   case $with_execv in
        !          2323:     yes)       echo "$as_me:2323: checking whether to use execvp or execv" >&5
        !          2324: echo $ECHO_N "checking whether to use execvp or execv... $ECHO_C" >&6
        !          2325:                echo "$as_me:2325: result: execv" >&5
        !          2326: echo "${ECHO_T}execv" >&6
        !          2327:
        !          2328: cat >>confdefs.h <<\EOF
1.1       millert  2329: #define USE_EXECV 1
                   2330: EOF
                   2331:
                   2332:                ;;
1.9     ! millert  2333:     no)                ;;
        !          2334:     *)         { { echo "$as_me:2334: error: \"--with-execv does not take an argument.\"" >&5
        !          2335: echo "$as_me: error: \"--with-execv does not take an argument.\"" >&2;}
        !          2336:    { (exit 1); exit 1; }; }
1.1       millert  2337:                ;;
                   2338: esac
1.9     ! millert  2339: fi;
1.1       millert  2340:
1.9     ! millert  2341: echo "$as_me:2341: checking whether to use per-tty ticket files" >&5
        !          2342: echo $ECHO_N "checking whether to use per-tty ticket files... $ECHO_C" >&6
1.1       millert  2343:
                   2344: # Check whether --with-tty-tickets or --without-tty-tickets was given.
                   2345: if test "${with_tty_tickets+set}" = set; then
                   2346:   withval="$with_tty_tickets"
1.9     ! millert  2347:   case $with_tty_tickets in
        !          2348:     yes)       tty_tickets=on
1.1       millert  2349:                ;;
1.9     ! millert  2350:     no)                tty_tickets=off
1.1       millert  2351:                ;;
1.9     ! millert  2352:     *)         { { echo "$as_me:2352: error: \"--with-tty-tickets does not take an argument.\"" >&5
        !          2353: echo "$as_me: error: \"--with-tty-tickets does not take an argument.\"" >&2;}
        !          2354:    { (exit 1); exit 1; }; }
1.1       millert  2355:                ;;
                   2356: esac
1.9     ! millert  2357: fi;
        !          2358: if test "$tty_tickets" = "on"; then
        !          2359:
        !          2360: cat >>confdefs.h <<\EOF
        !          2361: #define USE_TTY_TICKETS 1
        !          2362: EOF
        !          2363:
        !          2364:     echo "$as_me:2364: result: yes" >&5
        !          2365: echo "${ECHO_T}yes" >&6
1.1       millert  2366: else
1.9     ! millert  2367:     echo "$as_me:2367: result: no" >&5
        !          2368: echo "${ECHO_T}no" >&6
1.1       millert  2369: fi
                   2370:
1.9     ! millert  2371: echo "$as_me:2371: checking whether to include insults" >&5
        !          2372: echo $ECHO_N "checking whether to include insults... $ECHO_C" >&6
1.1       millert  2373:
                   2374: # Check whether --with-insults or --without-insults was given.
                   2375: if test "${with_insults+set}" = set; then
                   2376:   withval="$with_insults"
1.9     ! millert  2377:   case $with_insults in
        !          2378:     yes)       insults=on
1.1       millert  2379:                with_classic_insults=yes
                   2380:                with_csops_insults=yes
                   2381:                ;;
1.9     ! millert  2382:     no)                insults=off
1.1       millert  2383:                ;;
1.9     ! millert  2384:     *)         { { echo "$as_me:2384: error: \"--with-insults does not take an argument.\"" >&5
        !          2385: echo "$as_me: error: \"--with-insults does not take an argument.\"" >&2;}
        !          2386:    { (exit 1); exit 1; }; }
1.1       millert  2387:                ;;
                   2388: esac
1.9     ! millert  2389: fi;
        !          2390: if test "$insults" = "on"; then
        !          2391:
        !          2392: cat >>confdefs.h <<\EOF
        !          2393: #define USE_INSULTS 1
        !          2394: EOF
        !          2395:
        !          2396:     echo "$as_me:2396: result: yes" >&5
        !          2397: echo "${ECHO_T}yes" >&6
1.1       millert  2398: else
1.9     ! millert  2399:     echo "$as_me:2399: result: no" >&5
        !          2400: echo "${ECHO_T}no" >&6
1.1       millert  2401: fi
                   2402:
                   2403: # Check whether --with-all-insults or --without-all-insults was given.
                   2404: if test "${with_all_insults+set}" = set; then
                   2405:   withval="$with_all_insults"
1.9     ! millert  2406:   case $with_all_insults in
1.1       millert  2407:     yes)       with_classic_insults=yes
                   2408:                with_csops_insults=yes
                   2409:                with_hal_insults=yes
                   2410:                with_goons_insults=yes
                   2411:                ;;
                   2412:     no)                ;;
1.9     ! millert  2413:     *)         { { echo "$as_me:2413: error: \"--with-all-insults does not take an argument.\"" >&5
        !          2414: echo "$as_me: error: \"--with-all-insults does not take an argument.\"" >&2;}
        !          2415:    { (exit 1); exit 1; }; }
1.1       millert  2416:                ;;
                   2417: esac
1.9     ! millert  2418: fi;
1.1       millert  2419:
                   2420: # Check whether --with-classic-insults or --without-classic-insults was given.
                   2421: if test "${with_classic_insults+set}" = set; then
                   2422:   withval="$with_classic_insults"
1.9     ! millert  2423:   case $with_classic_insults in
        !          2424:     yes)
        !          2425: cat >>confdefs.h <<\EOF
1.1       millert  2426: #define CLASSIC_INSULTS 1
                   2427: EOF
                   2428:
                   2429:                ;;
                   2430:     no)                ;;
1.9     ! millert  2431:     *)         { { echo "$as_me:2431: error: \"--with-classic-insults does not take an argument.\"" >&5
        !          2432: echo "$as_me: error: \"--with-classic-insults does not take an argument.\"" >&2;}
        !          2433:    { (exit 1); exit 1; }; }
1.1       millert  2434:                ;;
                   2435: esac
1.9     ! millert  2436: fi;
1.1       millert  2437:
                   2438: # Check whether --with-csops-insults or --without-csops-insults was given.
                   2439: if test "${with_csops_insults+set}" = set; then
                   2440:   withval="$with_csops_insults"
1.9     ! millert  2441:   case $with_csops_insults in
        !          2442:     yes)
        !          2443: cat >>confdefs.h <<\EOF
1.1       millert  2444: #define CSOPS_INSULTS 1
                   2445: EOF
                   2446:
                   2447:                ;;
                   2448:     no)                ;;
1.9     ! millert  2449:     *)         { { echo "$as_me:2449: error: \"--with-csops-insults does not take an argument.\"" >&5
        !          2450: echo "$as_me: error: \"--with-csops-insults does not take an argument.\"" >&2;}
        !          2451:    { (exit 1); exit 1; }; }
1.1       millert  2452:                ;;
                   2453: esac
1.9     ! millert  2454: fi;
1.1       millert  2455:
                   2456: # Check whether --with-hal-insults or --without-hal-insults was given.
                   2457: if test "${with_hal_insults+set}" = set; then
                   2458:   withval="$with_hal_insults"
1.9     ! millert  2459:   case $with_hal_insults in
        !          2460:     yes)
        !          2461: cat >>confdefs.h <<\EOF
1.1       millert  2462: #define HAL_INSULTS 1
                   2463: EOF
                   2464:
                   2465:                ;;
                   2466:     no)                ;;
1.9     ! millert  2467:     *)         { { echo "$as_me:2467: error: \"--with-hal-insults does not take an argument.\"" >&5
        !          2468: echo "$as_me: error: \"--with-hal-insults does not take an argument.\"" >&2;}
        !          2469:    { (exit 1); exit 1; }; }
1.1       millert  2470:                ;;
                   2471: esac
1.9     ! millert  2472: fi;
1.1       millert  2473:
                   2474: # Check whether --with-goons-insults or --without-goons-insults was given.
                   2475: if test "${with_goons_insults+set}" = set; then
                   2476:   withval="$with_goons_insults"
1.9     ! millert  2477:   case $with_goons_insults in
        !          2478:     yes)
        !          2479: cat >>confdefs.h <<\EOF
1.1       millert  2480: #define GOONS_INSULTS 1
                   2481: EOF
                   2482:
                   2483:                ;;
                   2484:     no)                ;;
1.9     ! millert  2485:     *)         { { echo "$as_me:2485: error: \"--with-goons-insults does not take an argument.\"" >&5
        !          2486: echo "$as_me: error: \"--with-goons-insults does not take an argument.\"" >&2;}
        !          2487:    { (exit 1); exit 1; }; }
1.1       millert  2488:                ;;
                   2489: esac
1.9     ! millert  2490: fi;
1.1       millert  2491:
1.9     ! millert  2492: if test "$insults" = "on"; then
        !          2493:     echo "$as_me:2493: checking which insult sets to include" >&5
        !          2494: echo $ECHO_N "checking which insult sets to include... $ECHO_C" >&6
1.1       millert  2495:     i=""
                   2496:     test "$with_goons_insults" = "yes" && i="goons ${i}"
                   2497:     test "$with_hal_insults" = "yes" && i="hal ${i}"
                   2498:     test "$with_csops_insults" = "yes" && i="csops ${i}"
                   2499:     test "$with_classic_insults" = "yes" && i="classic ${i}"
1.9     ! millert  2500:     echo "$as_me:2500: result: $i" >&5
        !          2501: echo "${ECHO_T}$i" >&6
1.1       millert  2502: fi
                   2503:
1.9     ! millert  2504: echo "$as_me:2504: checking whether to override the user's path" >&5
        !          2505: echo $ECHO_N "checking whether to override the user's path... $ECHO_C" >&6
        !          2506:
1.1       millert  2507: # Check whether --with-secure-path or --without-secure-path was given.
                   2508: if test "${with_secure_path+set}" = set; then
                   2509:   withval="$with_secure_path"
1.9     ! millert  2510:   case $with_secure_path in
        !          2511:     yes)
        !          2512: cat >>confdefs.h <<EOF
1.1       millert  2513: #define SECURE_PATH "/bin:/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/etc:/etc"
                   2514: EOF
                   2515:
1.9     ! millert  2516:                echo "$as_me:2516: result: :/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/etc:/etc" >&5
        !          2517: echo "${ECHO_T}:/usr/ucb:/usr/bin:/usr/sbin:/sbin:/usr/etc:/etc" >&6
1.1       millert  2518:                ;;
1.9     ! millert  2519:     no)                echo "$as_me:2519: result: no" >&5
        !          2520: echo "${ECHO_T}no" >&6
1.1       millert  2521:                ;;
1.9     ! millert  2522:     *)         cat >>confdefs.h <<EOF
1.1       millert  2523: #define SECURE_PATH "$with_secure_path"
                   2524: EOF
                   2525:
1.9     ! millert  2526:                echo "$as_me:2526: result: $with_secure_path" >&5
        !          2527: echo "${ECHO_T}$with_secure_path" >&6
1.1       millert  2528:                ;;
                   2529: esac
                   2530: else
1.9     ! millert  2531:   echo "$as_me:2531: result: no" >&5
        !          2532: echo "${ECHO_T}no" >&6
        !          2533: fi;
1.1       millert  2534:
1.9     ! millert  2535: echo "$as_me:2535: checking whether to get ip addresses from the network interfaces" >&5
        !          2536: echo $ECHO_N "checking whether to get ip addresses from the network interfaces... $ECHO_C" >&6
1.1       millert  2537:
                   2538: # Check whether --with-interfaces or --without-interfaces was given.
                   2539: if test "${with_interfaces+set}" = set; then
                   2540:   withval="$with_interfaces"
1.9     ! millert  2541:   case $with_interfaces in
        !          2542:     yes)       echo "$as_me:2542: result: yes" >&5
        !          2543: echo "${ECHO_T}yes" >&6
1.1       millert  2544:                ;;
1.9     ! millert  2545:     no)
        !          2546: cat >>confdefs.h <<\EOF
1.1       millert  2547: #define STUB_LOAD_INTERFACES 1
                   2548: EOF
                   2549:
1.9     ! millert  2550:                echo "$as_me:2550: result: no" >&5
        !          2551: echo "${ECHO_T}no" >&6
1.1       millert  2552:                ;;
1.9     ! millert  2553:     *)         { { echo "$as_me:2553: error: \"--with-interfaces does not take an argument.\"" >&5
        !          2554: echo "$as_me: error: \"--with-interfaces does not take an argument.\"" >&2;}
        !          2555:    { (exit 1); exit 1; }; }
1.1       millert  2556:                ;;
                   2557: esac
                   2558: else
1.9     ! millert  2559:   echo "$as_me:2559: result: yes" >&5
        !          2560: echo "${ECHO_T}yes" >&6
        !          2561: fi;
1.1       millert  2562:
1.9     ! millert  2563: echo "$as_me:2563: checking whether to do user authentication by default" >&5
        !          2564: echo $ECHO_N "checking whether to do user authentication by default... $ECHO_C" >&6
1.1       millert  2565: # Check whether --enable-authentication or --disable-authentication was given.
                   2566: if test "${enable_authentication+set}" = set; then
                   2567:   enableval="$enable_authentication"
                   2568:    case "$enableval" in
1.9     ! millert  2569:     yes)       echo "$as_me:2569: result: yes" >&5
        !          2570: echo "${ECHO_T}yes" >&6
1.1       millert  2571:                ;;
1.9     ! millert  2572:     no)                echo "$as_me:2572: result: no" >&5
        !          2573: echo "${ECHO_T}no" >&6
        !          2574:
        !          2575: cat >>confdefs.h <<\EOF
1.1       millert  2576: #define NO_AUTHENTICATION 1
                   2577: EOF
                   2578:
                   2579:                ;;
1.9     ! millert  2580:     *)         echo "$as_me:2580: result: no" >&5
        !          2581: echo "${ECHO_T}no" >&6
1.1       millert  2582:                echo "Ignoring unknown argument to --enable-authentication: $enableval"
                   2583:                ;;
                   2584:   esac
                   2585:
                   2586: else
1.9     ! millert  2587:   echo "$as_me:2587: result: yes" >&5
        !          2588: echo "${ECHO_T}yes" >&6
        !          2589: fi;
1.1       millert  2590:
1.9     ! millert  2591: echo "$as_me:2591: checking whether to disable shadow password support" >&5
        !          2592: echo $ECHO_N "checking whether to disable shadow password support... $ECHO_C" >&6
1.1       millert  2593: # Check whether --enable-shadow or --disable-shadow was given.
                   2594: if test "${enable_shadow+set}" = set; then
                   2595:   enableval="$enable_shadow"
                   2596:    case "$enableval" in
1.9     ! millert  2597:     yes)       echo "$as_me:2597: result: no" >&5
        !          2598: echo "${ECHO_T}no" >&6
1.1       millert  2599:                ;;
1.9     ! millert  2600:     no)                echo "$as_me:2600: result: yes" >&5
        !          2601: echo "${ECHO_T}yes" >&6
1.1       millert  2602:                CHECKSHADOW="false"
                   2603:                ;;
1.9     ! millert  2604:     *)         echo "$as_me:2604: result: no" >&5
        !          2605: echo "${ECHO_T}no" >&6
1.1       millert  2606:                echo "Ignoring unknown argument to --enable-shadow: $enableval"
                   2607:                ;;
                   2608:   esac
                   2609:
                   2610: else
1.9     ! millert  2611:   echo "$as_me:2611: result: no" >&5
        !          2612: echo "${ECHO_T}no" >&6
        !          2613: fi;
1.1       millert  2614:
1.9     ! millert  2615: echo "$as_me:2615: checking whether root should be allowed to use sudo" >&5
        !          2616: echo $ECHO_N "checking whether root should be allowed to use sudo... $ECHO_C" >&6
1.1       millert  2617: # Check whether --enable-root-sudo or --disable-root-sudo was given.
                   2618: if test "${enable_root_sudo+set}" = set; then
                   2619:   enableval="$enable_root_sudo"
1.9     ! millert  2620:    case "$enableval" in
        !          2621:     yes)       echo "$as_me:2621: result: yes" >&5
        !          2622: echo "${ECHO_T}yes" >&6
1.1       millert  2623:                ;;
1.9     ! millert  2624:     no)
        !          2625: cat >>confdefs.h <<\EOF
1.1       millert  2626: #define NO_ROOT_SUDO 1
                   2627: EOF
                   2628:
1.9     ! millert  2629:                echo "$as_me:2629: result: no" >&5
        !          2630: echo "${ECHO_T}no" >&6
1.1       millert  2631:                ;;
1.9     ! millert  2632:     *)         { { echo "$as_me:2632: error: \"--enable-root-sudo does not take an argument.\"" >&5
        !          2633: echo "$as_me: error: \"--enable-root-sudo does not take an argument.\"" >&2;}
        !          2634:    { (exit 1); exit 1; }; }
1.1       millert  2635:                ;;
                   2636:   esac
                   2637:
                   2638: else
1.9     ! millert  2639:   echo "$as_me:2639: result: yes" >&5
        !          2640: echo "${ECHO_T}yes" >&6
        !          2641: fi;
1.1       millert  2642:
1.9     ! millert  2643: echo "$as_me:2643: checking whether to log the hostname in the log file" >&5
        !          2644: echo $ECHO_N "checking whether to log the hostname in the log file... $ECHO_C" >&6
1.1       millert  2645: # Check whether --enable-log-host or --disable-log-host was given.
                   2646: if test "${enable_log_host+set}" = set; then
                   2647:   enableval="$enable_log_host"
                   2648:    case "$enableval" in
1.9     ! millert  2649:     yes)       echo "$as_me:2649: result: yes" >&5
        !          2650: echo "${ECHO_T}yes" >&6
        !          2651:
        !          2652: cat >>confdefs.h <<\EOF
1.1       millert  2653: #define HOST_IN_LOG 1
                   2654: EOF
                   2655:
                   2656:                ;;
1.9     ! millert  2657:     no)                echo "$as_me:2657: result: no" >&5
        !          2658: echo "${ECHO_T}no" >&6
1.1       millert  2659:                ;;
1.9     ! millert  2660:     *)         echo "$as_me:2660: result: no" >&5
        !          2661: echo "${ECHO_T}no" >&6
1.1       millert  2662:                echo "Ignoring unknown argument to --enable-log-host: $enableval"
                   2663:                ;;
                   2664:   esac
                   2665:
                   2666: else
1.9     ! millert  2667:   echo "$as_me:2667: result: no" >&5
        !          2668: echo "${ECHO_T}no" >&6
        !          2669: fi;
1.1       millert  2670:
1.9     ! millert  2671: echo "$as_me:2671: checking whether to invoke a shell if sudo is given no arguments" >&5
        !          2672: echo $ECHO_N "checking whether to invoke a shell if sudo is given no arguments... $ECHO_C" >&6
1.1       millert  2673: # Check whether --enable-noargs-shell or --disable-noargs-shell was given.
                   2674: if test "${enable_noargs_shell+set}" = set; then
                   2675:   enableval="$enable_noargs_shell"
                   2676:    case "$enableval" in
1.9     ! millert  2677:     yes)       echo "$as_me:2677: result: yes" >&5
        !          2678: echo "${ECHO_T}yes" >&6
        !          2679:
        !          2680: cat >>confdefs.h <<\EOF
1.1       millert  2681: #define SHELL_IF_NO_ARGS 1
                   2682: EOF
                   2683:
                   2684:                ;;
1.9     ! millert  2685:     no)                echo "$as_me:2685: result: no" >&5
        !          2686: echo "${ECHO_T}no" >&6
1.1       millert  2687:                ;;
1.9     ! millert  2688:     *)         echo "$as_me:2688: result: no" >&5
        !          2689: echo "${ECHO_T}no" >&6
1.1       millert  2690:                echo "Ignoring unknown argument to --enable-noargs-shell: $enableval"
                   2691:                ;;
                   2692:   esac
                   2693:
                   2694: else
1.9     ! millert  2695:   echo "$as_me:2695: result: no" >&5
        !          2696: echo "${ECHO_T}no" >&6
        !          2697: fi;
1.1       millert  2698:
1.9     ! millert  2699: echo "$as_me:2699: checking whether to set \$HOME to target user in shell mode" >&5
        !          2700: echo $ECHO_N "checking whether to set \$HOME to target user in shell mode... $ECHO_C" >&6
1.1       millert  2701: # Check whether --enable-shell-sets-home or --disable-shell-sets-home was given.
                   2702: if test "${enable_shell_sets_home+set}" = set; then
                   2703:   enableval="$enable_shell_sets_home"
                   2704:    case "$enableval" in
1.9     ! millert  2705:     yes)       echo "$as_me:2705: result: yes" >&5
        !          2706: echo "${ECHO_T}yes" >&6
        !          2707:
        !          2708: cat >>confdefs.h <<\EOF
1.1       millert  2709: #define SHELL_SETS_HOME 1
                   2710: EOF
                   2711:
                   2712:                ;;
1.9     ! millert  2713:     no)                echo "$as_me:2713: result: no" >&5
        !          2714: echo "${ECHO_T}no" >&6
1.1       millert  2715:                ;;
1.9     ! millert  2716:     *)         echo "$as_me:2716: result: no" >&5
        !          2717: echo "${ECHO_T}no" >&6
1.1       millert  2718:                echo "Ignoring unknown argument to --enable-shell-sets-home: $enableval"
                   2719:                ;;
                   2720:   esac
                   2721:
                   2722: else
1.9     ! millert  2723:   echo "$as_me:2723: result: no" >&5
        !          2724: echo "${ECHO_T}no" >&6
        !          2725: fi;
1.1       millert  2726:
1.9     ! millert  2727: echo "$as_me:2727: checking whether to disable 'command not found' messages" >&5
        !          2728: echo $ECHO_N "checking whether to disable 'command not found' messages... $ECHO_C" >&6
1.1       millert  2729: # Check whether --enable-path_info or --disable-path_info was given.
                   2730: if test "${enable_path_info+set}" = set; then
                   2731:   enableval="$enable_path_info"
                   2732:    case "$enableval" in
1.9     ! millert  2733:     yes)       echo "$as_me:2733: result: no" >&5
        !          2734: echo "${ECHO_T}no" >&6
1.1       millert  2735:                ;;
1.9     ! millert  2736:     no)                echo "$as_me:2736: result: yes" >&5
        !          2737: echo "${ECHO_T}yes" >&6
        !          2738:
        !          2739: cat >>confdefs.h <<\EOF
1.1       millert  2740: #define DONT_LEAK_PATH_INFO 1
                   2741: EOF
                   2742:
                   2743:                ;;
1.9     ! millert  2744:     *)         echo "$as_me:2744: result: no" >&5
        !          2745: echo "${ECHO_T}no" >&6
1.1       millert  2746:                echo "Ignoring unknown argument to --enable-path-info: $enableval"
                   2747:                ;;
                   2748:   esac
                   2749:
                   2750: else
1.9     ! millert  2751:   echo "$as_me:2751: result: no" >&5
        !          2752: echo "${ECHO_T}no" >&6
        !          2753: fi;
1.1       millert  2754:
                   2755: # Extract the first word of "egrep", so it can be a program name with args.
                   2756: set dummy egrep; ac_word=$2
1.9     ! millert  2757: echo "$as_me:2757: checking for $ac_word" >&5
        !          2758: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          2759: if test "${ac_cv_prog_EGREPPROG+set}" = set; then
        !          2760:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  2761: else
                   2762:   if test -n "$EGREPPROG"; then
                   2763:   ac_cv_prog_EGREPPROG="$EGREPPROG" # Let the user override the test.
                   2764: else
1.9     ! millert  2765:   ac_save_IFS=$IFS; IFS=$ac_path_separator
        !          2766: ac_dummy="$PATH"
        !          2767: for ac_dir in $ac_dummy; do
        !          2768:   IFS=$ac_save_IFS
        !          2769:   test -z "$ac_dir" && ac_dir=.
        !          2770:   $as_executable_p "$ac_dir/$ac_word" || continue
        !          2771: ac_cv_prog_EGREPPROG="egrep"
        !          2772: echo "$as_me:2772: found $ac_dir/$ac_word" >&5
        !          2773: break
        !          2774: done
        !          2775:
1.1       millert  2776: fi
                   2777: fi
1.9     ! millert  2778: EGREPPROG=$ac_cv_prog_EGREPPROG
1.1       millert  2779: if test -n "$EGREPPROG"; then
1.9     ! millert  2780:   echo "$as_me:2780: result: $EGREPPROG" >&5
        !          2781: echo "${ECHO_T}$EGREPPROG" >&6
1.1       millert  2782: else
1.9     ! millert  2783:   echo "$as_me:2783: result: no" >&5
        !          2784: echo "${ECHO_T}no" >&6
1.1       millert  2785: fi
                   2786:
                   2787: if test -z "$EGREPPROG"; then
                   2788:     echo "Sorry, configure requires egrep to run."
                   2789:     exit
                   2790: fi
                   2791:
1.9     ! millert  2792: if test "$with_devel" != "yes"; then
        !          2793:     ac_cv_prog_cc_g=no
        !          2794: fi
        !          2795:
        !          2796: ac_ext=c
        !          2797: ac_cpp='$CPP $CPPFLAGS'
        !          2798: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          2799: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          2800: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          2801: if test -n "$ac_tool_prefix"; then
        !          2802:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
        !          2803: set dummy ${ac_tool_prefix}gcc; ac_word=$2
        !          2804: echo "$as_me:2804: checking for $ac_word" >&5
        !          2805: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          2806: if test "${ac_cv_prog_CC+set}" = set; then
        !          2807:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  2808: else
                   2809:   if test -n "$CC"; then
                   2810:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2811: else
1.9     ! millert  2812:   ac_save_IFS=$IFS; IFS=$ac_path_separator
        !          2813: ac_dummy="$PATH"
        !          2814: for ac_dir in $ac_dummy; do
        !          2815:   IFS=$ac_save_IFS
        !          2816:   test -z "$ac_dir" && ac_dir=.
        !          2817:   $as_executable_p "$ac_dir/$ac_word" || continue
        !          2818: ac_cv_prog_CC="${ac_tool_prefix}gcc"
        !          2819: echo "$as_me:2819: found $ac_dir/$ac_word" >&5
        !          2820: break
        !          2821: done
        !          2822:
1.1       millert  2823: fi
                   2824: fi
1.9     ! millert  2825: CC=$ac_cv_prog_CC
1.1       millert  2826: if test -n "$CC"; then
1.9     ! millert  2827:   echo "$as_me:2827: result: $CC" >&5
        !          2828: echo "${ECHO_T}$CC" >&6
1.1       millert  2829: else
1.9     ! millert  2830:   echo "$as_me:2830: result: no" >&5
        !          2831: echo "${ECHO_T}no" >&6
        !          2832: fi
        !          2833:
        !          2834: fi
        !          2835: if test -z "$ac_cv_prog_CC"; then
        !          2836:   ac_ct_CC=$CC
        !          2837:   # Extract the first word of "gcc", so it can be a program name with args.
        !          2838: set dummy gcc; ac_word=$2
        !          2839: echo "$as_me:2839: checking for $ac_word" >&5
        !          2840: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          2841: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
        !          2842:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          2843: else
        !          2844:   if test -n "$ac_ct_CC"; then
        !          2845:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
        !          2846: else
        !          2847:   ac_save_IFS=$IFS; IFS=$ac_path_separator
        !          2848: ac_dummy="$PATH"
        !          2849: for ac_dir in $ac_dummy; do
        !          2850:   IFS=$ac_save_IFS
        !          2851:   test -z "$ac_dir" && ac_dir=.
        !          2852:   $as_executable_p "$ac_dir/$ac_word" || continue
        !          2853: ac_cv_prog_ac_ct_CC="gcc"
        !          2854: echo "$as_me:2854: found $ac_dir/$ac_word" >&5
        !          2855: break
        !          2856: done
        !          2857:
        !          2858: fi
        !          2859: fi
        !          2860: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          2861: if test -n "$ac_ct_CC"; then
        !          2862:   echo "$as_me:2862: result: $ac_ct_CC" >&5
        !          2863: echo "${ECHO_T}$ac_ct_CC" >&6
        !          2864: else
        !          2865:   echo "$as_me:2865: result: no" >&5
        !          2866: echo "${ECHO_T}no" >&6
        !          2867: fi
        !          2868:
        !          2869:   CC=$ac_ct_CC
        !          2870: else
        !          2871:   CC="$ac_cv_prog_CC"
1.1       millert  2872: fi
                   2873:
                   2874: if test -z "$CC"; then
1.9     ! millert  2875:   if test -n "$ac_tool_prefix"; then
        !          2876:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
        !          2877: set dummy ${ac_tool_prefix}cc; ac_word=$2
        !          2878: echo "$as_me:2878: checking for $ac_word" >&5
        !          2879: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          2880: if test "${ac_cv_prog_CC+set}" = set; then
        !          2881:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          2882: else
        !          2883:   if test -n "$CC"; then
        !          2884:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          2885: else
        !          2886:   ac_save_IFS=$IFS; IFS=$ac_path_separator
        !          2887: ac_dummy="$PATH"
        !          2888: for ac_dir in $ac_dummy; do
        !          2889:   IFS=$ac_save_IFS
        !          2890:   test -z "$ac_dir" && ac_dir=.
        !          2891:   $as_executable_p "$ac_dir/$ac_word" || continue
        !          2892: ac_cv_prog_CC="${ac_tool_prefix}cc"
        !          2893: echo "$as_me:2893: found $ac_dir/$ac_word" >&5
        !          2894: break
        !          2895: done
        !          2896:
        !          2897: fi
        !          2898: fi
        !          2899: CC=$ac_cv_prog_CC
        !          2900: if test -n "$CC"; then
        !          2901:   echo "$as_me:2901: result: $CC" >&5
        !          2902: echo "${ECHO_T}$CC" >&6
        !          2903: else
        !          2904:   echo "$as_me:2904: result: no" >&5
        !          2905: echo "${ECHO_T}no" >&6
        !          2906: fi
        !          2907:
        !          2908: fi
        !          2909: if test -z "$ac_cv_prog_CC"; then
        !          2910:   ac_ct_CC=$CC
1.1       millert  2911:   # Extract the first word of "cc", so it can be a program name with args.
                   2912: set dummy cc; ac_word=$2
1.9     ! millert  2913: echo "$as_me:2913: checking for $ac_word" >&5
        !          2914: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          2915: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
        !          2916:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          2917: else
        !          2918:   if test -n "$ac_ct_CC"; then
        !          2919:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
        !          2920: else
        !          2921:   ac_save_IFS=$IFS; IFS=$ac_path_separator
        !          2922: ac_dummy="$PATH"
        !          2923: for ac_dir in $ac_dummy; do
        !          2924:   IFS=$ac_save_IFS
        !          2925:   test -z "$ac_dir" && ac_dir=.
        !          2926:   $as_executable_p "$ac_dir/$ac_word" || continue
        !          2927: ac_cv_prog_ac_ct_CC="cc"
        !          2928: echo "$as_me:2928: found $ac_dir/$ac_word" >&5
        !          2929: break
        !          2930: done
        !          2931:
        !          2932: fi
        !          2933: fi
        !          2934: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          2935: if test -n "$ac_ct_CC"; then
        !          2936:   echo "$as_me:2936: result: $ac_ct_CC" >&5
        !          2937: echo "${ECHO_T}$ac_ct_CC" >&6
        !          2938: else
        !          2939:   echo "$as_me:2939: result: no" >&5
        !          2940: echo "${ECHO_T}no" >&6
        !          2941: fi
        !          2942:
        !          2943:   CC=$ac_ct_CC
        !          2944: else
        !          2945:   CC="$ac_cv_prog_CC"
        !          2946: fi
        !          2947:
        !          2948: fi
        !          2949: if test -z "$CC"; then
        !          2950:   # Extract the first word of "cc", so it can be a program name with args.
        !          2951: set dummy cc; ac_word=$2
        !          2952: echo "$as_me:2952: checking for $ac_word" >&5
        !          2953: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          2954: if test "${ac_cv_prog_CC+set}" = set; then
        !          2955:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  2956: else
                   2957:   if test -n "$CC"; then
                   2958:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2959: else
                   2960:   ac_prog_rejected=no
1.9     ! millert  2961:   ac_save_IFS=$IFS; IFS=$ac_path_separator
        !          2962: ac_dummy="$PATH"
        !          2963: for ac_dir in $ac_dummy; do
        !          2964:   IFS=$ac_save_IFS
        !          2965:   test -z "$ac_dir" && ac_dir=.
        !          2966:   $as_executable_p "$ac_dir/$ac_word" || continue
        !          2967: if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
        !          2968:   ac_prog_rejected=yes
        !          2969:   continue
        !          2970: fi
        !          2971: ac_cv_prog_CC="cc"
        !          2972: echo "$as_me:2972: found $ac_dir/$ac_word" >&5
        !          2973: break
        !          2974: done
        !          2975:
1.1       millert  2976: if test $ac_prog_rejected = yes; then
                   2977:   # We found a bogon in the path, so make sure we never use it.
                   2978:   set dummy $ac_cv_prog_CC
                   2979:   shift
1.9     ! millert  2980:   if test $# != 0; then
1.1       millert  2981:     # We chose a different compiler from the bogus one.
                   2982:     # However, it has the same basename, so the bogon will be chosen
                   2983:     # first if we set CC to just the basename; use the full file name.
                   2984:     shift
1.9     ! millert  2985:     set dummy "$ac_dir/$ac_word" ${1+"$@"}
1.1       millert  2986:     shift
                   2987:     ac_cv_prog_CC="$@"
                   2988:   fi
                   2989: fi
                   2990: fi
                   2991: fi
1.9     ! millert  2992: CC=$ac_cv_prog_CC
1.1       millert  2993: if test -n "$CC"; then
1.9     ! millert  2994:   echo "$as_me:2994: result: $CC" >&5
        !          2995: echo "${ECHO_T}$CC" >&6
        !          2996: else
        !          2997:   echo "$as_me:2997: result: no" >&5
        !          2998: echo "${ECHO_T}no" >&6
        !          2999: fi
        !          3000:
        !          3001: fi
        !          3002: if test -z "$CC"; then
        !          3003:   if test -n "$ac_tool_prefix"; then
        !          3004:   for ac_prog in cl
        !          3005:   do
        !          3006:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          3007: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
        !          3008: echo "$as_me:3008: checking for $ac_word" >&5
        !          3009: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          3010: if test "${ac_cv_prog_CC+set}" = set; then
        !          3011:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3012: else
        !          3013:   if test -n "$CC"; then
        !          3014:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !          3015: else
        !          3016:   ac_save_IFS=$IFS; IFS=$ac_path_separator
        !          3017: ac_dummy="$PATH"
        !          3018: for ac_dir in $ac_dummy; do
        !          3019:   IFS=$ac_save_IFS
        !          3020:   test -z "$ac_dir" && ac_dir=.
        !          3021:   $as_executable_p "$ac_dir/$ac_word" || continue
        !          3022: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
        !          3023: echo "$as_me:3023: found $ac_dir/$ac_word" >&5
        !          3024: break
        !          3025: done
        !          3026:
        !          3027: fi
        !          3028: fi
        !          3029: CC=$ac_cv_prog_CC
        !          3030: if test -n "$CC"; then
        !          3031:   echo "$as_me:3031: result: $CC" >&5
        !          3032: echo "${ECHO_T}$CC" >&6
        !          3033: else
        !          3034:   echo "$as_me:3034: result: no" >&5
        !          3035: echo "${ECHO_T}no" >&6
        !          3036: fi
        !          3037:
        !          3038:     test -n "$CC" && break
        !          3039:   done
        !          3040: fi
        !          3041: if test -z "$CC"; then
        !          3042:   ac_ct_CC=$CC
        !          3043:   for ac_prog in cl
        !          3044: do
        !          3045:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          3046: set dummy $ac_prog; ac_word=$2
        !          3047: echo "$as_me:3047: checking for $ac_word" >&5
        !          3048: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          3049: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
        !          3050:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3051: else
        !          3052:   if test -n "$ac_ct_CC"; then
        !          3053:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
        !          3054: else
        !          3055:   ac_save_IFS=$IFS; IFS=$ac_path_separator
        !          3056: ac_dummy="$PATH"
        !          3057: for ac_dir in $ac_dummy; do
        !          3058:   IFS=$ac_save_IFS
        !          3059:   test -z "$ac_dir" && ac_dir=.
        !          3060:   $as_executable_p "$ac_dir/$ac_word" || continue
        !          3061: ac_cv_prog_ac_ct_CC="$ac_prog"
        !          3062: echo "$as_me:3062: found $ac_dir/$ac_word" >&5
        !          3063: break
        !          3064: done
        !          3065:
        !          3066: fi
        !          3067: fi
        !          3068: ac_ct_CC=$ac_cv_prog_ac_ct_CC
        !          3069: if test -n "$ac_ct_CC"; then
        !          3070:   echo "$as_me:3070: result: $ac_ct_CC" >&5
        !          3071: echo "${ECHO_T}$ac_ct_CC" >&6
1.1       millert  3072: else
1.9     ! millert  3073:   echo "$as_me:3073: result: no" >&5
        !          3074: echo "${ECHO_T}no" >&6
        !          3075: fi
        !          3076:
        !          3077:   test -n "$ac_ct_CC" && break
        !          3078: done
        !          3079:
        !          3080:   CC=$ac_ct_CC
1.1       millert  3081: fi
                   3082:
                   3083: fi
                   3084:
1.9     ! millert  3085: test -z "$CC" && { { echo "$as_me:3085: error: no acceptable cc found in \$PATH" >&5
        !          3086: echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
        !          3087:    { (exit 1); exit 1; }; }
        !          3088:
        !          3089: # Provide some information about the compiler.
        !          3090: echo "$as_me:3090:" \
        !          3091:      "checking for C compiler version" >&5
        !          3092: ac_compiler=`set X $ac_compile; echo $2`
        !          3093: { (eval echo "$as_me:3093: \"$ac_compiler --version </dev/null >&5\"") >&5
        !          3094:   (eval $ac_compiler --version </dev/null >&5) 2>&5
        !          3095:   ac_status=$?
        !          3096:   echo "$as_me:3096: \$? = $ac_status" >&5
        !          3097:   (exit $ac_status); }
        !          3098: { (eval echo "$as_me:3098: \"$ac_compiler -v </dev/null >&5\"") >&5
        !          3099:   (eval $ac_compiler -v </dev/null >&5) 2>&5
        !          3100:   ac_status=$?
        !          3101:   echo "$as_me:3101: \$? = $ac_status" >&5
        !          3102:   (exit $ac_status); }
        !          3103: { (eval echo "$as_me:3103: \"$ac_compiler -V </dev/null >&5\"") >&5
        !          3104:   (eval $ac_compiler -V </dev/null >&5) 2>&5
        !          3105:   ac_status=$?
        !          3106:   echo "$as_me:3106: \$? = $ac_status" >&5
        !          3107:   (exit $ac_status); }
        !          3108:
        !          3109: cat >conftest.$ac_ext <<_ACEOF
        !          3110: #line 3110 "configure"
        !          3111: #include "confdefs.h"
        !          3112:
        !          3113: int
        !          3114: main ()
        !          3115: {
1.1       millert  3116:
1.9     ! millert  3117:   ;
        !          3118:   return 0;
        !          3119: }
        !          3120: _ACEOF
        !          3121: ac_clean_files_save=$ac_clean_files
        !          3122: ac_clean_files="$ac_clean_files a.out a.exe"
        !          3123: # Try to create an executable without -o first, disregard a.out.
        !          3124: # It will help us diagnose broken compilers, and finding out an intuition
        !          3125: # of exeext.
        !          3126: echo "$as_me:3126: checking for C compiler default output" >&5
        !          3127: echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
        !          3128: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
        !          3129: if { (eval echo "$as_me:3129: \"$ac_link_default\"") >&5
        !          3130:   (eval $ac_link_default) 2>&5
        !          3131:   ac_status=$?
        !          3132:   echo "$as_me:3132: \$? = $ac_status" >&5
        !          3133:   (exit $ac_status); }; then
        !          3134:   # Find the output, starting from the most likely.  This scheme is
        !          3135: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
        !          3136: # resort.
        !          3137: for ac_file in `ls a.exe conftest.exe 2>/dev/null;
        !          3138:                 ls a.out conftest 2>/dev/null;
        !          3139:                 ls a.* conftest.* 2>/dev/null`; do
        !          3140:   case $ac_file in
        !          3141:     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
        !          3142:     a.out ) # We found the default executable, but exeext='' is most
        !          3143:             # certainly right.
        !          3144:             break;;
        !          3145:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        !          3146:           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
        !          3147:           export ac_cv_exeext
        !          3148:           break;;
        !          3149:     * ) break;;
        !          3150:   esac
        !          3151: done
        !          3152: else
        !          3153:   echo "$as_me: failed program was:" >&5
        !          3154: cat conftest.$ac_ext >&5
        !          3155: { { echo "$as_me:3155: error: C compiler cannot create executables" >&5
        !          3156: echo "$as_me: error: C compiler cannot create executables" >&2;}
        !          3157:    { (exit 77); exit 77; }; }
        !          3158: fi
        !          3159:
        !          3160: ac_exeext=$ac_cv_exeext
        !          3161: echo "$as_me:3161: result: $ac_file" >&5
        !          3162: echo "${ECHO_T}$ac_file" >&6
        !          3163:
        !          3164: # Check the compiler produces executables we can run.  If not, either
        !          3165: # the compiler is broken, or we cross compile.
        !          3166: echo "$as_me:3166: checking whether the C compiler works" >&5
        !          3167: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
        !          3168: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
        !          3169: # If not cross compiling, check that we can run a simple program.
        !          3170: if test "$cross_compiling" != yes; then
        !          3171:   if { ac_try='./$ac_file'
        !          3172:   { (eval echo "$as_me:3172: \"$ac_try\"") >&5
        !          3173:   (eval $ac_try) 2>&5
        !          3174:   ac_status=$?
        !          3175:   echo "$as_me:3175: \$? = $ac_status" >&5
        !          3176:   (exit $ac_status); }; }; then
        !          3177:     cross_compiling=no
1.1       millert  3178:   else
1.9     ! millert  3179:     if test "$cross_compiling" = maybe; then
        !          3180:        cross_compiling=yes
        !          3181:     else
        !          3182:        { { echo "$as_me:3182: error: cannot run C compiled programs.
        !          3183: If you meant to cross compile, use \`--host'." >&5
        !          3184: echo "$as_me: error: cannot run C compiled programs.
        !          3185: If you meant to cross compile, use \`--host'." >&2;}
        !          3186:    { (exit 1); exit 1; }; }
        !          3187:     fi
1.1       millert  3188:   fi
1.9     ! millert  3189: fi
        !          3190: echo "$as_me:3190: result: yes" >&5
        !          3191: echo "${ECHO_T}yes" >&6
        !          3192:
        !          3193: rm -f a.out a.exe conftest$ac_cv_exeext
        !          3194: ac_clean_files=$ac_clean_files_save
        !          3195: # Check the compiler produces executables we can run.  If not, either
        !          3196: # the compiler is broken, or we cross compile.
        !          3197: echo "$as_me:3197: checking whether we are cross compiling" >&5
        !          3198: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
        !          3199: echo "$as_me:3199: result: $cross_compiling" >&5
        !          3200: echo "${ECHO_T}$cross_compiling" >&6
        !          3201:
        !          3202: echo "$as_me:3202: checking for executable suffix" >&5
        !          3203: echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
        !          3204: if { (eval echo "$as_me:3204: \"$ac_link\"") >&5
        !          3205:   (eval $ac_link) 2>&5
        !          3206:   ac_status=$?
        !          3207:   echo "$as_me:3207: \$? = $ac_status" >&5
        !          3208:   (exit $ac_status); }; then
        !          3209:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
        !          3210: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
        !          3211: # work properly (i.e., refer to `conftest.exe'), while it won't with
        !          3212: # `rm'.
        !          3213: for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
        !          3214:   case $ac_file in
        !          3215:     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
        !          3216:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
        !          3217:           export ac_cv_exeext
        !          3218:           break;;
        !          3219:     * ) break;;
        !          3220:   esac
        !          3221: done
1.1       millert  3222: else
1.9     ! millert  3223:   { { echo "$as_me:3223: error: cannot compute EXEEXT: cannot compile and link" >&5
        !          3224: echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
        !          3225:    { (exit 1); exit 1; }; }
1.1       millert  3226: fi
                   3227:
1.9     ! millert  3228: rm -f conftest$ac_cv_exeext
        !          3229: echo "$as_me:3229: result: $ac_cv_exeext" >&5
        !          3230: echo "${ECHO_T}$ac_cv_exeext" >&6
1.1       millert  3231:
1.9     ! millert  3232: rm -f conftest.$ac_ext
        !          3233: EXEEXT=$ac_cv_exeext
        !          3234: ac_exeext=$EXEEXT
        !          3235: echo "$as_me:3235: checking for object suffix" >&5
        !          3236: echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
        !          3237: if test "${ac_cv_objext+set}" = set; then
        !          3238:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  3239: else
1.9     ! millert  3240:   cat >conftest.$ac_ext <<_ACEOF
        !          3241: #line 3241 "configure"
        !          3242: #include "confdefs.h"
        !          3243:
        !          3244: int
        !          3245: main ()
        !          3246: {
        !          3247:
        !          3248:   ;
        !          3249:   return 0;
        !          3250: }
        !          3251: _ACEOF
        !          3252: rm -f conftest.o conftest.obj
        !          3253: if { (eval echo "$as_me:3253: \"$ac_compile\"") >&5
        !          3254:   (eval $ac_compile) 2>&5
        !          3255:   ac_status=$?
        !          3256:   echo "$as_me:3256: \$? = $ac_status" >&5
        !          3257:   (exit $ac_status); }; then
        !          3258:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
        !          3259:   case $ac_file in
        !          3260:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
        !          3261:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
        !          3262:        break;;
        !          3263:   esac
        !          3264: done
1.1       millert  3265: else
1.9     ! millert  3266:   echo "$as_me: failed program was:" >&5
        !          3267: cat conftest.$ac_ext >&5
        !          3268: { { echo "$as_me:3268: error: cannot compute OBJEXT: cannot compile" >&5
        !          3269: echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
        !          3270:    { (exit 1); exit 1; }; }
1.1       millert  3271: fi
1.9     ! millert  3272:
        !          3273: rm -f conftest.$ac_cv_objext conftest.$ac_ext
1.1       millert  3274: fi
1.9     ! millert  3275: echo "$as_me:3275: result: $ac_cv_objext" >&5
        !          3276: echo "${ECHO_T}$ac_cv_objext" >&6
        !          3277: OBJEXT=$ac_cv_objext
        !          3278: ac_objext=$OBJEXT
        !          3279: echo "$as_me:3279: checking whether we are using the GNU C compiler" >&5
        !          3280: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
        !          3281: if test "${ac_cv_c_compiler_gnu+set}" = set; then
        !          3282:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3283: else
        !          3284:   cat >conftest.$ac_ext <<_ACEOF
        !          3285: #line 3285 "configure"
        !          3286: #include "confdefs.h"
1.1       millert  3287:
1.9     ! millert  3288: int
        !          3289: main ()
        !          3290: {
        !          3291: #ifndef __GNUC__
        !          3292:        choke me
        !          3293: #endif
1.1       millert  3294:
1.9     ! millert  3295:   ;
        !          3296:   return 0;
        !          3297: }
        !          3298: _ACEOF
        !          3299: rm -f conftest.$ac_objext
        !          3300: if { (eval echo "$as_me:3300: \"$ac_compile\"") >&5
        !          3301:   (eval $ac_compile) 2>&5
        !          3302:   ac_status=$?
        !          3303:   echo "$as_me:3303: \$? = $ac_status" >&5
        !          3304:   (exit $ac_status); } &&
        !          3305:          { ac_try='test -s conftest.$ac_objext'
        !          3306:   { (eval echo "$as_me:3306: \"$ac_try\"") >&5
        !          3307:   (eval $ac_try) 2>&5
        !          3308:   ac_status=$?
        !          3309:   echo "$as_me:3309: \$? = $ac_status" >&5
        !          3310:   (exit $ac_status); }; }; then
        !          3311:   ac_compiler_gnu=yes
        !          3312: else
        !          3313:   echo "$as_me: failed program was:" >&5
        !          3314: cat conftest.$ac_ext >&5
        !          3315: ac_compiler_gnu=no
        !          3316: fi
        !          3317: rm -f conftest.$ac_objext conftest.$ac_ext
        !          3318: ac_cv_c_compiler_gnu=$ac_compiler_gnu
        !          3319:
        !          3320: fi
        !          3321: echo "$as_me:3321: result: $ac_cv_c_compiler_gnu" >&5
        !          3322: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
        !          3323: GCC=`test $ac_compiler_gnu = yes && echo yes`
        !          3324: ac_test_CFLAGS=${CFLAGS+set}
        !          3325: ac_save_CFLAGS=$CFLAGS
        !          3326: CFLAGS="-g"
        !          3327: echo "$as_me:3327: checking whether $CC accepts -g" >&5
        !          3328: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
        !          3329: if test "${ac_cv_prog_cc_g+set}" = set; then
        !          3330:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  3331: else
1.9     ! millert  3332:   cat >conftest.$ac_ext <<_ACEOF
        !          3333: #line 3333 "configure"
        !          3334: #include "confdefs.h"
        !          3335:
        !          3336: int
        !          3337: main ()
        !          3338: {
        !          3339:
        !          3340:   ;
        !          3341:   return 0;
        !          3342: }
        !          3343: _ACEOF
        !          3344: rm -f conftest.$ac_objext
        !          3345: if { (eval echo "$as_me:3345: \"$ac_compile\"") >&5
        !          3346:   (eval $ac_compile) 2>&5
        !          3347:   ac_status=$?
        !          3348:   echo "$as_me:3348: \$? = $ac_status" >&5
        !          3349:   (exit $ac_status); } &&
        !          3350:          { ac_try='test -s conftest.$ac_objext'
        !          3351:   { (eval echo "$as_me:3351: \"$ac_try\"") >&5
        !          3352:   (eval $ac_try) 2>&5
        !          3353:   ac_status=$?
        !          3354:   echo "$as_me:3354: \$? = $ac_status" >&5
        !          3355:   (exit $ac_status); }; }; then
1.1       millert  3356:   ac_cv_prog_cc_g=yes
                   3357: else
1.9     ! millert  3358:   echo "$as_me: failed program was:" >&5
        !          3359: cat conftest.$ac_ext >&5
        !          3360: ac_cv_prog_cc_g=no
        !          3361: fi
        !          3362: rm -f conftest.$ac_objext conftest.$ac_ext
        !          3363: fi
        !          3364: echo "$as_me:3364: result: $ac_cv_prog_cc_g" >&5
        !          3365: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
        !          3366: if test "$ac_test_CFLAGS" = set; then
        !          3367:   CFLAGS=$ac_save_CFLAGS
        !          3368: elif test $ac_cv_prog_cc_g = yes; then
        !          3369:   if test "$GCC" = yes; then
        !          3370:     CFLAGS="-g -O2"
        !          3371:   else
        !          3372:     CFLAGS="-g"
        !          3373:   fi
        !          3374: else
        !          3375:   if test "$GCC" = yes; then
        !          3376:     CFLAGS="-O2"
        !          3377:   else
        !          3378:     CFLAGS=
        !          3379:   fi
        !          3380: fi
        !          3381: # Some people use a C++ compiler to compile C.  Since we use `exit',
        !          3382: # in C++ we need to declare it.  In case someone uses the same compiler
        !          3383: # for both compiling C and C++ we need to have the C++ compiler decide
        !          3384: # the declaration of exit, since it's the most demanding environment.
        !          3385: cat >conftest.$ac_ext <<_ACEOF
        !          3386: #ifndef __cplusplus
        !          3387:   choke me
        !          3388: #endif
        !          3389: _ACEOF
        !          3390: rm -f conftest.$ac_objext
        !          3391: if { (eval echo "$as_me:3391: \"$ac_compile\"") >&5
        !          3392:   (eval $ac_compile) 2>&5
        !          3393:   ac_status=$?
        !          3394:   echo "$as_me:3394: \$? = $ac_status" >&5
        !          3395:   (exit $ac_status); } &&
        !          3396:          { ac_try='test -s conftest.$ac_objext'
        !          3397:   { (eval echo "$as_me:3397: \"$ac_try\"") >&5
        !          3398:   (eval $ac_try) 2>&5
        !          3399:   ac_status=$?
        !          3400:   echo "$as_me:3400: \$? = $ac_status" >&5
        !          3401:   (exit $ac_status); }; }; then
        !          3402:   for ac_declaration in \
        !          3403:    ''\
        !          3404:    '#include <stdlib.h>' \
        !          3405:    'extern "C" void std::exit (int) throw (); using std::exit;' \
        !          3406:    'extern "C" void std::exit (int); using std::exit;' \
        !          3407:    'extern "C" void exit (int) throw ();' \
        !          3408:    'extern "C" void exit (int);' \
        !          3409:    'void exit (int);'
        !          3410: do
        !          3411:   cat >conftest.$ac_ext <<_ACEOF
        !          3412: #line 3412 "configure"
        !          3413: #include "confdefs.h"
        !          3414: #include <stdlib.h>
        !          3415: $ac_declaration
        !          3416: int
        !          3417: main ()
        !          3418: {
        !          3419: exit (42);
        !          3420:   ;
        !          3421:   return 0;
        !          3422: }
        !          3423: _ACEOF
        !          3424: rm -f conftest.$ac_objext
        !          3425: if { (eval echo "$as_me:3425: \"$ac_compile\"") >&5
        !          3426:   (eval $ac_compile) 2>&5
        !          3427:   ac_status=$?
        !          3428:   echo "$as_me:3428: \$? = $ac_status" >&5
        !          3429:   (exit $ac_status); } &&
        !          3430:          { ac_try='test -s conftest.$ac_objext'
        !          3431:   { (eval echo "$as_me:3431: \"$ac_try\"") >&5
        !          3432:   (eval $ac_try) 2>&5
        !          3433:   ac_status=$?
        !          3434:   echo "$as_me:3434: \$? = $ac_status" >&5
        !          3435:   (exit $ac_status); }; }; then
        !          3436:   :
        !          3437: else
        !          3438:   echo "$as_me: failed program was:" >&5
        !          3439: cat conftest.$ac_ext >&5
        !          3440: continue
        !          3441: fi
        !          3442: rm -f conftest.$ac_objext conftest.$ac_ext
        !          3443:   cat >conftest.$ac_ext <<_ACEOF
        !          3444: #line 3444 "configure"
        !          3445: #include "confdefs.h"
        !          3446: $ac_declaration
        !          3447: int
        !          3448: main ()
        !          3449: {
        !          3450: exit (42);
        !          3451:   ;
        !          3452:   return 0;
        !          3453: }
        !          3454: _ACEOF
        !          3455: rm -f conftest.$ac_objext
        !          3456: if { (eval echo "$as_me:3456: \"$ac_compile\"") >&5
        !          3457:   (eval $ac_compile) 2>&5
        !          3458:   ac_status=$?
        !          3459:   echo "$as_me:3459: \$? = $ac_status" >&5
        !          3460:   (exit $ac_status); } &&
        !          3461:          { ac_try='test -s conftest.$ac_objext'
        !          3462:   { (eval echo "$as_me:3462: \"$ac_try\"") >&5
        !          3463:   (eval $ac_try) 2>&5
        !          3464:   ac_status=$?
        !          3465:   echo "$as_me:3465: \$? = $ac_status" >&5
        !          3466:   (exit $ac_status); }; }; then
        !          3467:   break
        !          3468: else
        !          3469:   echo "$as_me: failed program was:" >&5
        !          3470: cat conftest.$ac_ext >&5
1.1       millert  3471: fi
1.9     ! millert  3472: rm -f conftest.$ac_objext conftest.$ac_ext
        !          3473: done
1.1       millert  3474: rm -f conftest*
1.9     ! millert  3475: if test -n "$ac_declaration"; then
        !          3476:   echo '#ifdef __cplusplus' >>confdefs.h
        !          3477:   echo $ac_declaration      >>confdefs.h
        !          3478:   echo '#endif'             >>confdefs.h
        !          3479: fi
1.1       millert  3480:
1.9     ! millert  3481: else
        !          3482:   echo "$as_me: failed program was:" >&5
        !          3483: cat conftest.$ac_ext >&5
1.1       millert  3484: fi
1.9     ! millert  3485: rm -f conftest.$ac_objext conftest.$ac_ext
        !          3486: ac_ext=c
        !          3487: ac_cpp='$CPP $CPPFLAGS'
        !          3488: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3489: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3490: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       millert  3491:
1.9     ! millert  3492: echo "$as_me:3492: checking for POSIXized ISC" >&5
        !          3493: echo $ECHO_N "checking for POSIXized ISC... $ECHO_C" >&6
        !          3494: if test -d /etc/conf/kconfig.d &&
        !          3495:    grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
        !          3496: then
        !          3497:   echo "$as_me:3497: result: yes" >&5
        !          3498: echo "${ECHO_T}yes" >&6
        !          3499:   ISC=yes # If later tests want to check for ISC.
        !          3500:
        !          3501: cat >>confdefs.h <<\EOF
        !          3502: #define _POSIX_SOURCE 1
        !          3503: EOF
        !          3504:
        !          3505:   if test "$GCC" = yes; then
        !          3506:     CC="$CC -posix"
1.1       millert  3507:   else
1.9     ! millert  3508:     CC="$CC -Xp"
1.1       millert  3509:   fi
                   3510: else
1.9     ! millert  3511:   echo "$as_me:3511: result: no" >&5
        !          3512: echo "${ECHO_T}no" >&6
        !          3513:   ISC=
1.1       millert  3514: fi
                   3515:
                   3516: ac_cv_prog_cc_cross="no"
                   3517: cross_compiling="no"
1.9     ! millert  3518:
        !          3519: echo "$as_me:3519: checking for $CC option to accept ANSI C" >&5
        !          3520: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
        !          3521: if test "${ac_cv_prog_cc_stdc+set}" = set; then
        !          3522:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3523: else
        !          3524:   ac_cv_prog_cc_stdc=no
        !          3525: ac_save_CC=$CC
        !          3526: cat >conftest.$ac_ext <<_ACEOF
        !          3527: #line 3527 "configure"
        !          3528: #include "confdefs.h"
        !          3529: #include <stdarg.h>
        !          3530: #include <stdio.h>
        !          3531: #include <sys/types.h>
        !          3532: #include <sys/stat.h>
        !          3533: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
        !          3534: struct buf { int x; };
        !          3535: FILE * (*rcsopen) (struct buf *, struct stat *, int);
        !          3536: static char *e (p, i)
        !          3537:      char **p;
        !          3538:      int i;
        !          3539: {
        !          3540:   return p[i];
        !          3541: }
        !          3542: static char *f (char * (*g) (char **, int), char **p, ...)
        !          3543: {
        !          3544:   char *s;
        !          3545:   va_list v;
        !          3546:   va_start (v,p);
        !          3547:   s = g (p, va_arg (v,int));
        !          3548:   va_end (v);
        !          3549:   return s;
        !          3550: }
        !          3551: int test (int i, double x);
        !          3552: struct s1 {int (*f) (int a);};
        !          3553: struct s2 {int (*f) (double a);};
        !          3554: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
        !          3555: int argc;
        !          3556: char **argv;
        !          3557: int
        !          3558: main ()
        !          3559: {
        !          3560: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
        !          3561:   ;
        !          3562:   return 0;
        !          3563: }
        !          3564: _ACEOF
        !          3565: # Don't try gcc -ansi; that turns off useful extensions and
        !          3566: # breaks some systems' header files.
        !          3567: # AIX                  -qlanglvl=ansi
        !          3568: # Ultrix and OSF/1     -std1
        !          3569: # HP-UX 10.20 and later        -Ae
        !          3570: # HP-UX older versions -Aa -D_HPUX_SOURCE
        !          3571: # SVR4                 -Xc -D__EXTENSIONS__
        !          3572: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
        !          3573: do
        !          3574:   CC="$ac_save_CC $ac_arg"
        !          3575:   rm -f conftest.$ac_objext
        !          3576: if { (eval echo "$as_me:3576: \"$ac_compile\"") >&5
        !          3577:   (eval $ac_compile) 2>&5
        !          3578:   ac_status=$?
        !          3579:   echo "$as_me:3579: \$? = $ac_status" >&5
        !          3580:   (exit $ac_status); } &&
        !          3581:          { ac_try='test -s conftest.$ac_objext'
        !          3582:   { (eval echo "$as_me:3582: \"$ac_try\"") >&5
        !          3583:   (eval $ac_try) 2>&5
        !          3584:   ac_status=$?
        !          3585:   echo "$as_me:3585: \$? = $ac_status" >&5
        !          3586:   (exit $ac_status); }; }; then
        !          3587:   ac_cv_prog_cc_stdc=$ac_arg
        !          3588: break
        !          3589: else
        !          3590:   echo "$as_me: failed program was:" >&5
        !          3591: cat conftest.$ac_ext >&5
        !          3592: fi
        !          3593: rm -f conftest.$ac_objext
        !          3594: done
        !          3595: rm -f conftest.$ac_ext conftest.$ac_objext
        !          3596: CC=$ac_save_CC
        !          3597:
        !          3598: fi
        !          3599:
        !          3600: case "x$ac_cv_prog_cc_stdc" in
        !          3601:   x|xno)
        !          3602:     echo "$as_me:3602: result: none needed" >&5
        !          3603: echo "${ECHO_T}none needed" >&6 ;;
        !          3604:   *)
        !          3605:     echo "$as_me:3605: result: $ac_cv_prog_cc_stdc" >&5
        !          3606: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
        !          3607:     CC="$CC $ac_cv_prog_cc_stdc" ;;
        !          3608: esac
        !          3609:
        !          3610: ac_cv_prog_cc_cross="no"
        !          3611: cross_compiling="no"
        !          3612: ac_ext=c
        !          3613: ac_cpp='$CPP $CPPFLAGS'
        !          3614: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3615: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3616: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          3617: echo "$as_me:3617: checking how to run the C preprocessor" >&5
        !          3618: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1.1       millert  3619: # On Suns, sometimes $CPP names a directory.
                   3620: if test -n "$CPP" && test -d "$CPP"; then
                   3621:   CPP=
                   3622: fi
                   3623: if test -z "$CPP"; then
1.9     ! millert  3624:   if test "${ac_cv_prog_CPP+set}" = set; then
        !          3625:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  3626: else
1.9     ! millert  3627:       # Double quotes because CPP needs to be expanded
        !          3628:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
        !          3629:     do
        !          3630:       ac_preproc_ok=false
        !          3631: for ac_c_preproc_warn_flag in '' yes
        !          3632: do
        !          3633:   # Use a header file that comes with gcc, so configuring glibc
        !          3634:   # with a fresh cross-compiler works.
1.1       millert  3635:   # On the NeXT, cc -E runs the code through the compiler's parser,
1.9     ! millert  3636:   # not just through cpp. "Syntax error" is here to catch this case.
        !          3637:   cat >conftest.$ac_ext <<_ACEOF
        !          3638: #line 3638 "configure"
1.1       millert  3639: #include "confdefs.h"
                   3640: #include <assert.h>
1.9     ! millert  3641:                      Syntax error
        !          3642: _ACEOF
        !          3643: if { (eval echo "$as_me:3643: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          3644:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          3645:   ac_status=$?
        !          3646:   egrep -v '^ *\+' conftest.er1 >conftest.err
        !          3647:   rm -f conftest.er1
        !          3648:   cat conftest.err >&5
        !          3649:   echo "$as_me:3649: \$? = $ac_status" >&5
        !          3650:   (exit $ac_status); } >/dev/null; then
        !          3651:   if test -s conftest.err; then
        !          3652:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          3653:   else
        !          3654:     ac_cpp_err=
        !          3655:   fi
        !          3656: else
        !          3657:   ac_cpp_err=yes
        !          3658: fi
        !          3659: if test -z "$ac_cpp_err"; then
1.1       millert  3660:   :
                   3661: else
1.9     ! millert  3662:   echo "$as_me: failed program was:" >&5
1.1       millert  3663:   cat conftest.$ac_ext >&5
1.9     ! millert  3664:   # Broken: fails on valid input.
        !          3665: continue
        !          3666: fi
        !          3667: rm -f conftest.err conftest.$ac_ext
        !          3668:
        !          3669:   # OK, works on sane cases.  Now check whether non-existent headers
        !          3670:   # can be detected and how.
        !          3671:   cat >conftest.$ac_ext <<_ACEOF
        !          3672: #line 3672 "configure"
        !          3673: #include "confdefs.h"
        !          3674: #include <ac_nonexistent.h>
        !          3675: _ACEOF
        !          3676: if { (eval echo "$as_me:3676: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          3677:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          3678:   ac_status=$?
        !          3679:   egrep -v '^ *\+' conftest.er1 >conftest.err
        !          3680:   rm -f conftest.er1
        !          3681:   cat conftest.err >&5
        !          3682:   echo "$as_me:3682: \$? = $ac_status" >&5
        !          3683:   (exit $ac_status); } >/dev/null; then
        !          3684:   if test -s conftest.err; then
        !          3685:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          3686:   else
        !          3687:     ac_cpp_err=
        !          3688:   fi
        !          3689: else
        !          3690:   ac_cpp_err=yes
        !          3691: fi
        !          3692: if test -z "$ac_cpp_err"; then
        !          3693:   # Broken: success on invalid input.
        !          3694: continue
        !          3695: else
        !          3696:   echo "$as_me: failed program was:" >&5
        !          3697:   cat conftest.$ac_ext >&5
        !          3698:   # Passes both tests.
        !          3699: ac_preproc_ok=:
        !          3700: break
        !          3701: fi
        !          3702: rm -f conftest.err conftest.$ac_ext
        !          3703:
        !          3704: done
        !          3705: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
        !          3706: rm -f conftest.err conftest.$ac_ext
        !          3707: if $ac_preproc_ok; then
        !          3708:   break
        !          3709: fi
        !          3710:
        !          3711:     done
        !          3712:     ac_cv_prog_CPP=$CPP
        !          3713:
        !          3714: fi
        !          3715:   CPP=$ac_cv_prog_CPP
        !          3716: else
        !          3717:   ac_cv_prog_CPP=$CPP
        !          3718: fi
        !          3719: echo "$as_me:3719: result: $CPP" >&5
        !          3720: echo "${ECHO_T}$CPP" >&6
        !          3721: ac_preproc_ok=false
        !          3722: for ac_c_preproc_warn_flag in '' yes
        !          3723: do
        !          3724:   # Use a header file that comes with gcc, so configuring glibc
        !          3725:   # with a fresh cross-compiler works.
        !          3726:   # On the NeXT, cc -E runs the code through the compiler's parser,
        !          3727:   # not just through cpp. "Syntax error" is here to catch this case.
        !          3728:   cat >conftest.$ac_ext <<_ACEOF
        !          3729: #line 3729 "configure"
1.1       millert  3730: #include "confdefs.h"
                   3731: #include <assert.h>
1.9     ! millert  3732:                      Syntax error
        !          3733: _ACEOF
        !          3734: if { (eval echo "$as_me:3734: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          3735:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          3736:   ac_status=$?
        !          3737:   egrep -v '^ *\+' conftest.er1 >conftest.err
        !          3738:   rm -f conftest.er1
        !          3739:   cat conftest.err >&5
        !          3740:   echo "$as_me:3740: \$? = $ac_status" >&5
        !          3741:   (exit $ac_status); } >/dev/null; then
        !          3742:   if test -s conftest.err; then
        !          3743:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          3744:   else
        !          3745:     ac_cpp_err=
        !          3746:   fi
        !          3747: else
        !          3748:   ac_cpp_err=yes
        !          3749: fi
        !          3750: if test -z "$ac_cpp_err"; then
1.1       millert  3751:   :
                   3752: else
1.9     ! millert  3753:   echo "$as_me: failed program was:" >&5
1.1       millert  3754:   cat conftest.$ac_ext >&5
1.9     ! millert  3755:   # Broken: fails on valid input.
        !          3756: continue
1.1       millert  3757: fi
1.9     ! millert  3758: rm -f conftest.err conftest.$ac_ext
        !          3759:
        !          3760:   # OK, works on sane cases.  Now check whether non-existent headers
        !          3761:   # can be detected and how.
        !          3762:   cat >conftest.$ac_ext <<_ACEOF
        !          3763: #line 3763 "configure"
        !          3764: #include "confdefs.h"
        !          3765: #include <ac_nonexistent.h>
        !          3766: _ACEOF
        !          3767: if { (eval echo "$as_me:3767: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          3768:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          3769:   ac_status=$?
        !          3770:   egrep -v '^ *\+' conftest.er1 >conftest.err
        !          3771:   rm -f conftest.er1
        !          3772:   cat conftest.err >&5
        !          3773:   echo "$as_me:3773: \$? = $ac_status" >&5
        !          3774:   (exit $ac_status); } >/dev/null; then
        !          3775:   if test -s conftest.err; then
        !          3776:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          3777:   else
        !          3778:     ac_cpp_err=
        !          3779:   fi
        !          3780: else
        !          3781:   ac_cpp_err=yes
1.1       millert  3782: fi
1.9     ! millert  3783: if test -z "$ac_cpp_err"; then
        !          3784:   # Broken: success on invalid input.
        !          3785: continue
1.1       millert  3786: else
1.9     ! millert  3787:   echo "$as_me: failed program was:" >&5
        !          3788:   cat conftest.$ac_ext >&5
        !          3789:   # Passes both tests.
        !          3790: ac_preproc_ok=:
        !          3791: break
1.1       millert  3792: fi
1.9     ! millert  3793: rm -f conftest.err conftest.$ac_ext
1.1       millert  3794:
1.9     ! millert  3795: done
        !          3796: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
        !          3797: rm -f conftest.err conftest.$ac_ext
        !          3798: if $ac_preproc_ok; then
        !          3799:   :
1.1       millert  3800: else
1.9     ! millert  3801:   { { echo "$as_me:3801: error: C preprocessor \"$CPP\" fails sanity check" >&5
        !          3802: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
        !          3803:    { (exit 1); exit 1; }; }
1.1       millert  3804: fi
                   3805:
1.9     ! millert  3806: ac_ext=c
        !          3807: ac_cpp='$CPP $CPPFLAGS'
        !          3808: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          3809: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          3810: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       millert  3811:
                   3812: if test "$with_devel" = "yes" -a -n "$GCC"; then
                   3813:     CFLAGS="${CFLAGS} -Wall"
                   3814: fi
                   3815:
                   3816: # Extract the first word of "uname", so it can be a program name with args.
                   3817: set dummy uname; ac_word=$2
1.9     ! millert  3818: echo "$as_me:3818: checking for $ac_word" >&5
        !          3819: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          3820: if test "${ac_cv_prog_UNAMEPROG+set}" = set; then
        !          3821:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  3822: else
                   3823:   if test -n "$UNAMEPROG"; then
                   3824:   ac_cv_prog_UNAMEPROG="$UNAMEPROG" # Let the user override the test.
                   3825: else
1.9     ! millert  3826:   ac_save_IFS=$IFS; IFS=$ac_path_separator
        !          3827: ac_dummy="$PATH"
        !          3828: for ac_dir in $ac_dummy; do
        !          3829:   IFS=$ac_save_IFS
        !          3830:   test -z "$ac_dir" && ac_dir=.
        !          3831:   $as_executable_p "$ac_dir/$ac_word" || continue
        !          3832: ac_cv_prog_UNAMEPROG="uname"
        !          3833: echo "$as_me:3833: found $ac_dir/$ac_word" >&5
        !          3834: break
        !          3835: done
        !          3836:
1.1       millert  3837: fi
                   3838: fi
1.9     ! millert  3839: UNAMEPROG=$ac_cv_prog_UNAMEPROG
1.1       millert  3840: if test -n "$UNAMEPROG"; then
1.9     ! millert  3841:   echo "$as_me:3841: result: $UNAMEPROG" >&5
        !          3842: echo "${ECHO_T}$UNAMEPROG" >&6
1.1       millert  3843: else
1.9     ! millert  3844:   echo "$as_me:3844: result: no" >&5
        !          3845: echo "${ECHO_T}no" >&6
1.1       millert  3846: fi
                   3847:
                   3848: # Extract the first word of "tr", so it can be a program name with args.
                   3849: set dummy tr; ac_word=$2
1.9     ! millert  3850: echo "$as_me:3850: checking for $ac_word" >&5
        !          3851: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          3852: if test "${ac_cv_prog_TRPROG+set}" = set; then
        !          3853:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  3854: else
                   3855:   if test -n "$TRPROG"; then
                   3856:   ac_cv_prog_TRPROG="$TRPROG" # Let the user override the test.
                   3857: else
1.9     ! millert  3858:   ac_save_IFS=$IFS; IFS=$ac_path_separator
        !          3859: ac_dummy="$PATH"
        !          3860: for ac_dir in $ac_dummy; do
        !          3861:   IFS=$ac_save_IFS
        !          3862:   test -z "$ac_dir" && ac_dir=.
        !          3863:   $as_executable_p "$ac_dir/$ac_word" || continue
        !          3864: ac_cv_prog_TRPROG="tr"
        !          3865: echo "$as_me:3865: found $ac_dir/$ac_word" >&5
        !          3866: break
        !          3867: done
        !          3868:
1.1       millert  3869: fi
                   3870: fi
1.9     ! millert  3871: TRPROG=$ac_cv_prog_TRPROG
1.1       millert  3872: if test -n "$TRPROG"; then
1.9     ! millert  3873:   echo "$as_me:3873: result: $TRPROG" >&5
        !          3874: echo "${ECHO_T}$TRPROG" >&6
1.1       millert  3875: else
1.9     ! millert  3876:   echo "$as_me:3876: result: no" >&5
        !          3877: echo "${ECHO_T}no" >&6
1.1       millert  3878: fi
                   3879:
                   3880: # Extract the first word of "sed", so it can be a program name with args.
                   3881: set dummy sed; ac_word=$2
1.9     ! millert  3882: echo "$as_me:3882: checking for $ac_word" >&5
        !          3883: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          3884: if test "${ac_cv_prog_SEDPROG+set}" = set; then
        !          3885:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  3886: else
                   3887:   if test -n "$SEDPROG"; then
                   3888:   ac_cv_prog_SEDPROG="$SEDPROG" # Let the user override the test.
                   3889: else
1.9     ! millert  3890:   ac_save_IFS=$IFS; IFS=$ac_path_separator
        !          3891: ac_dummy="$PATH"
        !          3892: for ac_dir in $ac_dummy; do
        !          3893:   IFS=$ac_save_IFS
        !          3894:   test -z "$ac_dir" && ac_dir=.
        !          3895:   $as_executable_p "$ac_dir/$ac_word" || continue
        !          3896: ac_cv_prog_SEDPROG="sed"
        !          3897: echo "$as_me:3897: found $ac_dir/$ac_word" >&5
        !          3898: break
        !          3899: done
        !          3900:
1.1       millert  3901: fi
                   3902: fi
1.9     ! millert  3903: SEDPROG=$ac_cv_prog_SEDPROG
1.1       millert  3904: if test -n "$SEDPROG"; then
1.9     ! millert  3905:   echo "$as_me:3905: result: $SEDPROG" >&5
        !          3906: echo "${ECHO_T}$SEDPROG" >&6
1.1       millert  3907: else
1.9     ! millert  3908:   echo "$as_me:3908: result: no" >&5
        !          3909: echo "${ECHO_T}no" >&6
1.1       millert  3910: fi
                   3911:
                   3912: # Extract the first word of "nroff", so it can be a program name with args.
                   3913: set dummy nroff; ac_word=$2
1.9     ! millert  3914: echo "$as_me:3914: checking for $ac_word" >&5
        !          3915: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          3916: if test "${ac_cv_prog_NROFFPROG+set}" = set; then
        !          3917:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  3918: else
                   3919:   if test -n "$NROFFPROG"; then
                   3920:   ac_cv_prog_NROFFPROG="$NROFFPROG" # Let the user override the test.
                   3921: else
1.9     ! millert  3922:   ac_save_IFS=$IFS; IFS=$ac_path_separator
        !          3923: ac_dummy="$PATH"
        !          3924: for ac_dir in $ac_dummy; do
        !          3925:   IFS=$ac_save_IFS
        !          3926:   test -z "$ac_dir" && ac_dir=.
        !          3927:   $as_executable_p "$ac_dir/$ac_word" || continue
        !          3928: ac_cv_prog_NROFFPROG="nroff"
        !          3929: echo "$as_me:3929: found $ac_dir/$ac_word" >&5
        !          3930: break
        !          3931: done
        !          3932:
1.1       millert  3933: fi
                   3934: fi
1.9     ! millert  3935: NROFFPROG=$ac_cv_prog_NROFFPROG
1.1       millert  3936: if test -n "$NROFFPROG"; then
1.9     ! millert  3937:   echo "$as_me:3937: result: $NROFFPROG" >&5
        !          3938: echo "${ECHO_T}$NROFFPROG" >&6
1.1       millert  3939: else
1.9     ! millert  3940:   echo "$as_me:3940: result: no" >&5
        !          3941: echo "${ECHO_T}no" >&6
1.1       millert  3942: fi
                   3943:
                   3944: if test -z "$NROFFPROG"; then
                   3945:     MANTYPE="cat"
1.6       millert  3946:     mansrcdir='$(srcdir)'
1.1       millert  3947: fi
                   3948:
                   3949: ac_aux_dir=
1.9     ! millert  3950: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1.1       millert  3951:   if test -f $ac_dir/install-sh; then
                   3952:     ac_aux_dir=$ac_dir
                   3953:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   3954:     break
                   3955:   elif test -f $ac_dir/install.sh; then
                   3956:     ac_aux_dir=$ac_dir
                   3957:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   3958:     break
1.9     ! millert  3959:   elif test -f $ac_dir/shtool; then
        !          3960:     ac_aux_dir=$ac_dir
        !          3961:     ac_install_sh="$ac_aux_dir/shtool install -c"
        !          3962:     break
1.1       millert  3963:   fi
                   3964: done
                   3965: if test -z "$ac_aux_dir"; then
1.9     ! millert  3966:   { { echo "$as_me:3966: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
        !          3967: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
        !          3968:    { (exit 1); exit 1; }; }
        !          3969: fi
        !          3970: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
        !          3971: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
        !          3972: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1       millert  3973:
                   3974: # Make sure we can run config.sub.
1.9     ! millert  3975: $ac_config_sub sun4 >/dev/null 2>&1 ||
        !          3976:   { { echo "$as_me:3976: error: cannot run $ac_config_sub" >&5
        !          3977: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
        !          3978:    { (exit 1); exit 1; }; }
        !          3979:
        !          3980: echo "$as_me:3980: checking build system type" >&5
        !          3981: echo $ECHO_N "checking build system type... $ECHO_C" >&6
        !          3982: if test "${ac_cv_build+set}" = set; then
        !          3983:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          3984: else
        !          3985:   ac_cv_build_alias=$build_alias
        !          3986: test -z "$ac_cv_build_alias" &&
        !          3987:   ac_cv_build_alias=`$ac_config_guess`
        !          3988: test -z "$ac_cv_build_alias" &&
        !          3989:   { { echo "$as_me:3989: error: cannot guess build type; you must specify one" >&5
        !          3990: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
        !          3991:    { (exit 1); exit 1; }; }
        !          3992: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
        !          3993:   { { echo "$as_me:3993: error: $ac_config_sub $ac_cv_build_alias failed." >&5
        !          3994: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed." >&2;}
        !          3995:    { (exit 1); exit 1; }; }
        !          3996:
        !          3997: fi
        !          3998: echo "$as_me:3998: result: $ac_cv_build" >&5
        !          3999: echo "${ECHO_T}$ac_cv_build" >&6
        !          4000: build=$ac_cv_build
        !          4001: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
        !          4002: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
        !          4003: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
        !          4004:
        !          4005: echo "$as_me:4005: checking host system type" >&5
        !          4006: echo $ECHO_N "checking host system type... $ECHO_C" >&6
        !          4007: if test "${ac_cv_host+set}" = set; then
        !          4008:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          4009: else
        !          4010:   ac_cv_host_alias=$host_alias
        !          4011: test -z "$ac_cv_host_alias" &&
        !          4012:   ac_cv_host_alias=$ac_cv_build_alias
        !          4013: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
        !          4014:   { { echo "$as_me:4014: error: $ac_config_sub $ac_cv_host_alias failed" >&5
        !          4015: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
        !          4016:    { (exit 1); exit 1; }; }
        !          4017:
        !          4018: fi
        !          4019: echo "$as_me:4019: result: $ac_cv_host" >&5
        !          4020: echo "${ECHO_T}$ac_cv_host" >&6
        !          4021: host=$ac_cv_host
        !          4022: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
        !          4023: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
        !          4024: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1.1       millert  4025:
                   4026: if test -n "$sudo_cv_prev_host"; then
                   4027:     if test "$sudo_cv_prev_host" != "$host"; then
                   4028:        echo ""
                   4029:        echo "Fatal Error: config.cache exists from another platform!"
                   4030:        echo "Please remove it and re-run configure."
                   4031:        echo ""
                   4032:        exit 1
                   4033:     else
1.9     ! millert  4034:        echo "$as_me:4034: checking previous host type" >&5
        !          4035: echo $ECHO_N "checking previous host type... $ECHO_C" >&6
        !          4036:        if test "${sudo_cv_prev_host+set}" = set; then
        !          4037:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  4038: else
                   4039:   sudo_cv_prev_host="$host"
                   4040: fi
                   4041:
                   4042:        echo $sudo_cv_prev_host
                   4043:     fi
                   4044: else
                   4045:     # this will produce no output since there is no cached value
1.9     ! millert  4046:     if test "${sudo_cv_prev_host+set}" = set; then
        !          4047:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  4048: else
                   4049:   sudo_cv_prev_host="$host"
                   4050: fi
                   4051:
                   4052: fi
                   4053:
                   4054: if test -n "$host_os"; then
                   4055:     OS=`echo $host_os | sed 's/[0-9].*//'`
                   4056:     OSREV=`echo $host_os | sed 's/^[^0-9]*\([0-9][0-9]*\).*$/\1/'`
                   4057: else
                   4058:     OS="unknown"
                   4059:     OSREV=0
                   4060: fi
                   4061:
                   4062: case "$host" in
                   4063:     *-*-sunos4*)
                   4064:                # getcwd(3) opens a pipe to getpwd(1)!?!
                   4065:                BROKEN_GETCWD=1
                   4066:
                   4067:                # system headers lack prototypes but gcc helps...
                   4068:                if test -n "$GCC"; then
                   4069:                    CPPFLAGS="${CPPFLAGS} -D__USE_FIXED_PROTOTYPES__"
                   4070:                fi
                   4071:
                   4072:                # check for password adjunct functions (shadow passwords)
                   4073:                if test "$CHECKSHADOW" = "true"; then
                   4074:
1.9     ! millert  4075: for ac_func in getpwanam issecure
1.1       millert  4076: do
1.9     ! millert  4077: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          4078: echo "$as_me:4078: checking for $ac_func" >&5
        !          4079: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          4080: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          4081:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  4082: else
1.9     ! millert  4083:   cat >conftest.$ac_ext <<_ACEOF
        !          4084: #line 4084 "configure"
1.1       millert  4085: #include "confdefs.h"
                   4086: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  4087:     which can conflict with char $ac_func (); below.  */
1.1       millert  4088: #include <assert.h>
                   4089: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  4090: #ifdef __cplusplus
        !          4091: extern "C"
        !          4092: #endif
1.1       millert  4093: /* We use char because int might match the return type of a gcc2
1.9     ! millert  4094:    builtin and then its argument prototype would still apply.  */
        !          4095: char $ac_func ();
        !          4096: char (*f) ();
1.1       millert  4097:
1.9     ! millert  4098: int
        !          4099: main ()
        !          4100: {
1.1       millert  4101: /* The GNU C library defines this for functions which it implements
                   4102:     to always fail with ENOSYS.  Some functions are actually named
                   4103:     something starting with __ and the normal name is an alias.  */
                   4104: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   4105: choke me
                   4106: #else
1.9     ! millert  4107: f = $ac_func;
1.1       millert  4108: #endif
                   4109:
1.9     ! millert  4110:   ;
        !          4111:   return 0;
        !          4112: }
        !          4113: _ACEOF
        !          4114: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4115: if { (eval echo "$as_me:4115: \"$ac_link\"") >&5
        !          4116:   (eval $ac_link) 2>&5
        !          4117:   ac_status=$?
        !          4118:   echo "$as_me:4118: \$? = $ac_status" >&5
        !          4119:   (exit $ac_status); } &&
        !          4120:          { ac_try='test -s conftest$ac_exeext'
        !          4121:   { (eval echo "$as_me:4121: \"$ac_try\"") >&5
        !          4122:   (eval $ac_try) 2>&5
        !          4123:   ac_status=$?
        !          4124:   echo "$as_me:4124: \$? = $ac_status" >&5
        !          4125:   (exit $ac_status); }; }; then
        !          4126:   eval "$as_ac_var=yes"
        !          4127: else
        !          4128:   echo "$as_me: failed program was:" >&5
        !          4129: cat conftest.$ac_ext >&5
        !          4130: eval "$as_ac_var=no"
        !          4131: fi
        !          4132: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          4133: fi
        !          4134: echo "$as_me:4134: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          4135: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          4136: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          4137:   cat >>confdefs.h <<EOF
        !          4138: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  4139: EOF
                   4140:
                   4141: else
1.9     ! millert  4142:   break
1.1       millert  4143: fi
                   4144: done
                   4145:
                   4146:                    CHECKSHADOW="false"
                   4147:                fi
                   4148:                ;;
                   4149:     *-*-solaris2*)
                   4150:                # To get the crypt(3) prototype (so we pass -Wall)
                   4151:                CPPFLAGS="${CPPFLAGS} -D__EXTENSIONS__"
                   4152:                # AFS support needs -lucb
                   4153:                if test "$with_AFS" = "yes"; then
                   4154:                    AFS_LIBS="-lc -lucb"
                   4155:                fi
1.9     ! millert  4156:                test -n "$mansectsu" || mansectsu=1m
        !          4157:                test -n "$mansectform" || mansectform=4
1.1       millert  4158:                ;;
                   4159:     *-*-aix*)
                   4160:                # To get all prototypes (so we pass -Wall)
                   4161:                CPPFLAGS="${CPPFLAGS} -D_XOPEN_EXTENDED_SOURCE"
1.9     ! millert  4162:                cat >>confdefs.h <<\EOF
1.1       millert  4163: #define _ALL_SOURCE 1
                   4164: EOF
                   4165:
                   4166:                SUDO_LDFLAGS="${SUDO_LDFLAGS} -Wl,-bI:\$(srcdir)/aixcrypt.exp"
                   4167:                ;;
                   4168:     *-*-hiuxmpp*)
                   4169:                if test "$CHECKSHADOW" = "true"; then
1.9     ! millert  4170:                    echo "$as_me:4170: checking for getprpwnam in -lsec" >&5
        !          4171: echo $ECHO_N "checking for getprpwnam in -lsec... $ECHO_C" >&6
        !          4172: if test "${ac_cv_lib_sec_getprpwnam+set}" = set; then
        !          4173:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  4174: else
1.9     ! millert  4175:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  4176: LIBS="-lsec  $LIBS"
1.9     ! millert  4177: cat >conftest.$ac_ext <<_ACEOF
        !          4178: #line 4178 "configure"
1.1       millert  4179: #include "confdefs.h"
1.9     ! millert  4180:
        !          4181: /* Override any gcc2 internal prototype to avoid an error.  */
        !          4182: #ifdef __cplusplus
        !          4183: extern "C"
        !          4184: #endif
1.1       millert  4185: /* We use char because int might match the return type of a gcc2
1.9     ! millert  4186:    builtin and then its argument prototype would still apply.  */
        !          4187: char getprpwnam ();
        !          4188: int
        !          4189: main ()
        !          4190: {
        !          4191: getprpwnam ();
        !          4192:   ;
        !          4193:   return 0;
        !          4194: }
        !          4195: _ACEOF
        !          4196: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4197: if { (eval echo "$as_me:4197: \"$ac_link\"") >&5
        !          4198:   (eval $ac_link) 2>&5
        !          4199:   ac_status=$?
        !          4200:   echo "$as_me:4200: \$? = $ac_status" >&5
        !          4201:   (exit $ac_status); } &&
        !          4202:          { ac_try='test -s conftest$ac_exeext'
        !          4203:   { (eval echo "$as_me:4203: \"$ac_try\"") >&5
        !          4204:   (eval $ac_try) 2>&5
        !          4205:   ac_status=$?
        !          4206:   echo "$as_me:4206: \$? = $ac_status" >&5
        !          4207:   (exit $ac_status); }; }; then
        !          4208:   ac_cv_lib_sec_getprpwnam=yes
        !          4209: else
        !          4210:   echo "$as_me: failed program was:" >&5
        !          4211: cat conftest.$ac_ext >&5
        !          4212: ac_cv_lib_sec_getprpwnam=no
        !          4213: fi
        !          4214: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          4215: LIBS=$ac_check_lib_save_LIBS
        !          4216: fi
        !          4217: echo "$as_me:4217: result: $ac_cv_lib_sec_getprpwnam" >&5
        !          4218: echo "${ECHO_T}$ac_cv_lib_sec_getprpwnam" >&6
        !          4219: if test $ac_cv_lib_sec_getprpwnam = yes; then
        !          4220:   cat >>confdefs.h <<\EOF
1.1       millert  4221: #define HAVE_GETPRPWNAM 1
                   4222: EOF
                   4223:  SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec"; SECUREWARE=1
                   4224: else
1.9     ! millert  4225:   echo "$as_me:4225: checking for getprpwnam in -lsecurity" >&5
        !          4226: echo $ECHO_N "checking for getprpwnam in -lsecurity... $ECHO_C" >&6
        !          4227: if test "${ac_cv_lib_security_getprpwnam+set}" = set; then
        !          4228:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  4229: else
1.9     ! millert  4230:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  4231: LIBS="-lsecurity  $LIBS"
1.9     ! millert  4232: cat >conftest.$ac_ext <<_ACEOF
        !          4233: #line 4233 "configure"
1.1       millert  4234: #include "confdefs.h"
1.9     ! millert  4235:
1.1       millert  4236: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  4237: #ifdef __cplusplus
        !          4238: extern "C"
        !          4239: #endif
1.1       millert  4240: /* We use char because int might match the return type of a gcc2
1.9     ! millert  4241:    builtin and then its argument prototype would still apply.  */
        !          4242: char getprpwnam ();
        !          4243: int
        !          4244: main ()
        !          4245: {
        !          4246: getprpwnam ();
        !          4247:   ;
        !          4248:   return 0;
        !          4249: }
        !          4250: _ACEOF
        !          4251: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4252: if { (eval echo "$as_me:4252: \"$ac_link\"") >&5
        !          4253:   (eval $ac_link) 2>&5
        !          4254:   ac_status=$?
        !          4255:   echo "$as_me:4255: \$? = $ac_status" >&5
        !          4256:   (exit $ac_status); } &&
        !          4257:          { ac_try='test -s conftest$ac_exeext'
        !          4258:   { (eval echo "$as_me:4258: \"$ac_try\"") >&5
        !          4259:   (eval $ac_try) 2>&5
        !          4260:   ac_status=$?
        !          4261:   echo "$as_me:4261: \$? = $ac_status" >&5
        !          4262:   (exit $ac_status); }; }; then
        !          4263:   ac_cv_lib_security_getprpwnam=yes
        !          4264: else
        !          4265:   echo "$as_me: failed program was:" >&5
        !          4266: cat conftest.$ac_ext >&5
        !          4267: ac_cv_lib_security_getprpwnam=no
        !          4268: fi
        !          4269: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          4270: LIBS=$ac_check_lib_save_LIBS
        !          4271: fi
        !          4272: echo "$as_me:4272: result: $ac_cv_lib_security_getprpwnam" >&5
        !          4273: echo "${ECHO_T}$ac_cv_lib_security_getprpwnam" >&6
        !          4274: if test $ac_cv_lib_security_getprpwnam = yes; then
        !          4275:   cat >>confdefs.h <<\EOF
1.1       millert  4276: #define HAVE_GETPRPWNAM 1
                   4277: EOF
                   4278:  SUDO_LIBS="${SUDO_LIBS} -lsecurity"; LIBS="${LIBS} -lsecurity"; SECUREWARE=1
                   4279: fi
                   4280:
                   4281: fi
                   4282:
                   4283:                    CHECKSHADOW="false"
                   4284:                fi
1.9     ! millert  4285:                test -n "$mansectsu" || mansectsu=1m
        !          4286:                test -n "$mansectform" || mansectform=4
1.1       millert  4287:                ;;
                   4288:     *-*-hpux1[0-9]*)
                   4289:                if test "$CHECKSHADOW" = "true"; then
1.9     ! millert  4290:                    echo "$as_me:4290: checking for getprpwnam in -lsec" >&5
        !          4291: echo $ECHO_N "checking for getprpwnam in -lsec... $ECHO_C" >&6
        !          4292: if test "${ac_cv_lib_sec_getprpwnam+set}" = set; then
        !          4293:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  4294: else
1.9     ! millert  4295:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  4296: LIBS="-lsec  $LIBS"
1.9     ! millert  4297: cat >conftest.$ac_ext <<_ACEOF
        !          4298: #line 4298 "configure"
1.1       millert  4299: #include "confdefs.h"
1.9     ! millert  4300:
1.1       millert  4301: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  4302: #ifdef __cplusplus
        !          4303: extern "C"
        !          4304: #endif
1.1       millert  4305: /* We use char because int might match the return type of a gcc2
1.9     ! millert  4306:    builtin and then its argument prototype would still apply.  */
        !          4307: char getprpwnam ();
        !          4308: int
        !          4309: main ()
        !          4310: {
        !          4311: getprpwnam ();
        !          4312:   ;
        !          4313:   return 0;
        !          4314: }
        !          4315: _ACEOF
        !          4316: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4317: if { (eval echo "$as_me:4317: \"$ac_link\"") >&5
        !          4318:   (eval $ac_link) 2>&5
        !          4319:   ac_status=$?
        !          4320:   echo "$as_me:4320: \$? = $ac_status" >&5
        !          4321:   (exit $ac_status); } &&
        !          4322:          { ac_try='test -s conftest$ac_exeext'
        !          4323:   { (eval echo "$as_me:4323: \"$ac_try\"") >&5
        !          4324:   (eval $ac_try) 2>&5
        !          4325:   ac_status=$?
        !          4326:   echo "$as_me:4326: \$? = $ac_status" >&5
        !          4327:   (exit $ac_status); }; }; then
        !          4328:   ac_cv_lib_sec_getprpwnam=yes
        !          4329: else
        !          4330:   echo "$as_me: failed program was:" >&5
        !          4331: cat conftest.$ac_ext >&5
        !          4332: ac_cv_lib_sec_getprpwnam=no
        !          4333: fi
        !          4334: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          4335: LIBS=$ac_check_lib_save_LIBS
        !          4336: fi
        !          4337: echo "$as_me:4337: result: $ac_cv_lib_sec_getprpwnam" >&5
        !          4338: echo "${ECHO_T}$ac_cv_lib_sec_getprpwnam" >&6
        !          4339: if test $ac_cv_lib_sec_getprpwnam = yes; then
        !          4340:   cat >>confdefs.h <<\EOF
1.1       millert  4341: #define HAVE_GETPRPWNAM 1
                   4342: EOF
1.9     ! millert  4343:  echo "$as_me:4343: checking for iscomsec in -lsec" >&5
        !          4344: echo $ECHO_N "checking for iscomsec in -lsec... $ECHO_C" >&6
        !          4345: if test "${ac_cv_lib_sec_iscomsec+set}" = set; then
        !          4346:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  4347: else
1.9     ! millert  4348:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  4349: LIBS="-lsec  $LIBS"
1.9     ! millert  4350: cat >conftest.$ac_ext <<_ACEOF
        !          4351: #line 4351 "configure"
1.1       millert  4352: #include "confdefs.h"
1.9     ! millert  4353:
1.1       millert  4354: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  4355: #ifdef __cplusplus
        !          4356: extern "C"
        !          4357: #endif
1.1       millert  4358: /* We use char because int might match the return type of a gcc2
1.9     ! millert  4359:    builtin and then its argument prototype would still apply.  */
        !          4360: char iscomsec ();
        !          4361: int
        !          4362: main ()
        !          4363: {
        !          4364: iscomsec ();
        !          4365:   ;
        !          4366:   return 0;
        !          4367: }
        !          4368: _ACEOF
        !          4369: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4370: if { (eval echo "$as_me:4370: \"$ac_link\"") >&5
        !          4371:   (eval $ac_link) 2>&5
        !          4372:   ac_status=$?
        !          4373:   echo "$as_me:4373: \$? = $ac_status" >&5
        !          4374:   (exit $ac_status); } &&
        !          4375:          { ac_try='test -s conftest$ac_exeext'
        !          4376:   { (eval echo "$as_me:4376: \"$ac_try\"") >&5
        !          4377:   (eval $ac_try) 2>&5
        !          4378:   ac_status=$?
        !          4379:   echo "$as_me:4379: \$? = $ac_status" >&5
        !          4380:   (exit $ac_status); }; }; then
        !          4381:   ac_cv_lib_sec_iscomsec=yes
        !          4382: else
        !          4383:   echo "$as_me: failed program was:" >&5
        !          4384: cat conftest.$ac_ext >&5
        !          4385: ac_cv_lib_sec_iscomsec=no
        !          4386: fi
        !          4387: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          4388: LIBS=$ac_check_lib_save_LIBS
        !          4389: fi
        !          4390: echo "$as_me:4390: result: $ac_cv_lib_sec_iscomsec" >&5
        !          4391: echo "${ECHO_T}$ac_cv_lib_sec_iscomsec" >&6
        !          4392: if test $ac_cv_lib_sec_iscomsec = yes; then
1.1       millert  4393:
1.9     ! millert  4394: cat >>confdefs.h <<\EOF
1.1       millert  4395: #define HAVE_ISCOMSEC 1
                   4396: EOF
                   4397:
                   4398: fi
                   4399:  SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec"; SECUREWARE=1
                   4400: fi
                   4401:
                   4402:                    CHECKSHADOW="false"
                   4403:                fi
                   4404:
                   4405:                # AFS support needs -lBSD
                   4406:                if test "$with_AFS" = "yes"; then
                   4407:                    AFS_LIBS="-lc -lBSD"
                   4408:                fi
1.9     ! millert  4409:                test -n "$mansectsu" || mansectsu=1m
        !          4410:                test -n "$mansectform" || mansectform=4
1.1       millert  4411:                ;;
                   4412:     *-*-hpux9*)
1.4       millert  4413:
1.9     ! millert  4414: cat >>confdefs.h <<\EOF
1.1       millert  4415: #define BROKEN_SYSLOG 1
                   4416: EOF
                   4417:
1.9     ! millert  4418:                if test "$CHECKSHADOW" = "true"; then
1.1       millert  4419:
1.9     ! millert  4420: for ac_func in getspwuid
1.1       millert  4421: do
1.9     ! millert  4422: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          4423: echo "$as_me:4423: checking for $ac_func" >&5
        !          4424: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          4425: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          4426:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  4427: else
1.9     ! millert  4428:   cat >conftest.$ac_ext <<_ACEOF
        !          4429: #line 4429 "configure"
1.1       millert  4430: #include "confdefs.h"
                   4431: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  4432:     which can conflict with char $ac_func (); below.  */
1.1       millert  4433: #include <assert.h>
                   4434: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  4435: #ifdef __cplusplus
        !          4436: extern "C"
        !          4437: #endif
1.1       millert  4438: /* We use char because int might match the return type of a gcc2
1.9     ! millert  4439:    builtin and then its argument prototype would still apply.  */
        !          4440: char $ac_func ();
        !          4441: char (*f) ();
1.1       millert  4442:
1.9     ! millert  4443: int
        !          4444: main ()
        !          4445: {
1.1       millert  4446: /* The GNU C library defines this for functions which it implements
                   4447:     to always fail with ENOSYS.  Some functions are actually named
                   4448:     something starting with __ and the normal name is an alias.  */
                   4449: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   4450: choke me
                   4451: #else
1.9     ! millert  4452: f = $ac_func;
1.1       millert  4453: #endif
                   4454:
1.9     ! millert  4455:   ;
        !          4456:   return 0;
        !          4457: }
        !          4458: _ACEOF
        !          4459: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4460: if { (eval echo "$as_me:4460: \"$ac_link\"") >&5
        !          4461:   (eval $ac_link) 2>&5
        !          4462:   ac_status=$?
        !          4463:   echo "$as_me:4463: \$? = $ac_status" >&5
        !          4464:   (exit $ac_status); } &&
        !          4465:          { ac_try='test -s conftest$ac_exeext'
        !          4466:   { (eval echo "$as_me:4466: \"$ac_try\"") >&5
        !          4467:   (eval $ac_try) 2>&5
        !          4468:   ac_status=$?
        !          4469:   echo "$as_me:4469: \$? = $ac_status" >&5
        !          4470:   (exit $ac_status); }; }; then
        !          4471:   eval "$as_ac_var=yes"
        !          4472: else
        !          4473:   echo "$as_me: failed program was:" >&5
        !          4474: cat conftest.$ac_ext >&5
        !          4475: eval "$as_ac_var=no"
        !          4476: fi
        !          4477: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          4478: fi
        !          4479: echo "$as_me:4479: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          4480: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          4481: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          4482:   cat >>confdefs.h <<EOF
        !          4483: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  4484: EOF
                   4485:
                   4486: fi
                   4487: done
                   4488:
                   4489:                    CHECKSHADOW="false"
                   4490:                fi
                   4491:
                   4492:                # DCE support (requires ANSI C compiler)
                   4493:                if test "$with_DCE" = "yes"; then
                   4494:                    # order of libs in 9.X is important. -lc_r must be last
                   4495:                    SUDO_LIBS="${SUDO_LIBS} -ldce -lM -lc_r"
                   4496:                    LIBS="${LIBS} -ldce -lM -lc_r"
1.4       millert  4497:                    CPPFLAGS="${CPPFLAGS} -D_REENTRANT -I/usr/include/reentrant"
1.1       millert  4498:                fi
                   4499:
                   4500:                # AFS support needs -lBSD
                   4501:                if test "$with_AFS" = "yes"; then
                   4502:                    AFS_LIBS="-lc -lBSD"
                   4503:                fi
1.9     ! millert  4504:                test -n "$mansectsu" || mansectsu=1m
        !          4505:                test -n "$mansectform" || mansectform=4
1.1       millert  4506:                ;;
                   4507:     *-*-hpux*)
1.9     ! millert  4508:                cat >>confdefs.h <<\EOF
1.1       millert  4509: #define BROKEN_SYSLOG 1
                   4510: EOF
                   4511:
                   4512:                # Not sure if setuid binaries are safe in < 9.x
                   4513:                if test -n "$GCC"; then
                   4514:                    SUDO_LDFLAGS="${SUDO_LDFLAGS} -static"
                   4515:                else
                   4516:                    SUDO_LDFLAGS="${SUDO_LDFLAGS} -Wl,-a,archive"
                   4517:                fi
                   4518:
                   4519:                # AFS support needs -lBSD
                   4520:                if test "$with_AFS" = "yes"; then
                   4521:                    AFS_LIBS="-lc -lBSD"
                   4522:                fi
1.9     ! millert  4523:                test -n "$mansectsu" || mansectsu=1m
        !          4524:                test -n "$mansectform" || mansectform=4
1.1       millert  4525:                ;;
                   4526:     *-dec-osf*)
                   4527:                # ignore envariables wrt dynamic lib path
                   4528:                SUDO_LDFLAGS="${SUDO_LDFLAGS} -Wl,-no_library_replacement"
                   4529:
1.9     ! millert  4530:                echo "$as_me:4530: checking whether to disable sia support on Digital UNIX" >&5
        !          4531: echo $ECHO_N "checking whether to disable sia support on Digital UNIX... $ECHO_C" >&6
1.1       millert  4532:                # Check whether --enable-sia or --disable-sia was given.
                   4533: if test "${enable_sia+set}" = set; then
                   4534:   enableval="$enable_sia"
                   4535:    case "$enableval" in
1.9     ! millert  4536:                    yes)        echo "$as_me:4536: result: no" >&5
        !          4537: echo "${ECHO_T}no" >&6
1.1       millert  4538:                                ;;
1.9     ! millert  4539:                    no)         echo "$as_me:4539: result: yes" >&5
        !          4540: echo "${ECHO_T}yes" >&6
1.1       millert  4541:                                CHECKSIA=false
                   4542:                                ;;
1.9     ! millert  4543:                    *)          echo "$as_me:4543: result: no" >&5
        !          4544: echo "${ECHO_T}no" >&6
1.1       millert  4545:                                echo "Ignoring unknown argument to --enable-sia: $enableval"
                   4546:                                ;;
                   4547:                  esac
1.9     ! millert  4548:
1.1       millert  4549: else
1.9     ! millert  4550:   echo "$as_me:4550: result: no" >&5
        !          4551: echo "${ECHO_T}no" >&6
        !          4552: fi;
1.1       millert  4553:
                   4554:                # use SIA by default, if we have it, else SecureWare
                   4555:                # unless overridden on the command line
                   4556:                if test "$CHECKSIA" = "true"; then
1.9     ! millert  4557:                    echo "$as_me:4557: checking for sia_ses_init" >&5
        !          4558: echo $ECHO_N "checking for sia_ses_init... $ECHO_C" >&6
        !          4559: if test "${ac_cv_func_sia_ses_init+set}" = set; then
        !          4560:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  4561: else
1.9     ! millert  4562:   cat >conftest.$ac_ext <<_ACEOF
        !          4563: #line 4563 "configure"
1.1       millert  4564: #include "confdefs.h"
                   4565: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  4566:     which can conflict with char sia_ses_init (); below.  */
1.1       millert  4567: #include <assert.h>
                   4568: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  4569: #ifdef __cplusplus
        !          4570: extern "C"
        !          4571: #endif
1.1       millert  4572: /* We use char because int might match the return type of a gcc2
1.9     ! millert  4573:    builtin and then its argument prototype would still apply.  */
        !          4574: char sia_ses_init ();
        !          4575: char (*f) ();
1.1       millert  4576:
1.9     ! millert  4577: int
        !          4578: main ()
        !          4579: {
1.1       millert  4580: /* The GNU C library defines this for functions which it implements
                   4581:     to always fail with ENOSYS.  Some functions are actually named
                   4582:     something starting with __ and the normal name is an alias.  */
                   4583: #if defined (__stub_sia_ses_init) || defined (__stub___sia_ses_init)
                   4584: choke me
                   4585: #else
1.9     ! millert  4586: f = sia_ses_init;
1.1       millert  4587: #endif
                   4588:
1.9     ! millert  4589:   ;
        !          4590:   return 0;
        !          4591: }
        !          4592: _ACEOF
        !          4593: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4594: if { (eval echo "$as_me:4594: \"$ac_link\"") >&5
        !          4595:   (eval $ac_link) 2>&5
        !          4596:   ac_status=$?
        !          4597:   echo "$as_me:4597: \$? = $ac_status" >&5
        !          4598:   (exit $ac_status); } &&
        !          4599:          { ac_try='test -s conftest$ac_exeext'
        !          4600:   { (eval echo "$as_me:4600: \"$ac_try\"") >&5
        !          4601:   (eval $ac_try) 2>&5
        !          4602:   ac_status=$?
        !          4603:   echo "$as_me:4603: \$? = $ac_status" >&5
        !          4604:   (exit $ac_status); }; }; then
        !          4605:   ac_cv_func_sia_ses_init=yes
        !          4606: else
        !          4607:   echo "$as_me: failed program was:" >&5
        !          4608: cat conftest.$ac_ext >&5
        !          4609: ac_cv_func_sia_ses_init=no
        !          4610: fi
        !          4611: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          4612: fi
        !          4613: echo "$as_me:4613: result: $ac_cv_func_sia_ses_init" >&5
        !          4614: echo "${ECHO_T}$ac_cv_func_sia_ses_init" >&6
        !          4615: if test $ac_cv_func_sia_ses_init = yes; then
1.1       millert  4616:
1.9     ! millert  4617: cat >>confdefs.h <<\EOF
1.1       millert  4618: #define HAVE_SIA 1
                   4619: EOF
1.9     ! millert  4620:
1.1       millert  4621:                    if test -n "$with_skey" -o -n "$with_opie" -o -n "$with_otp_only" -o -n "$with_long_otp_prompt" -o -n "$with_SecurID" -o -n "$with_fwtk" -o -n "$with_kerb4" -o -n "$with_kerb5" -o -n "$with_pam" -o -n "$with_AFS" -o -n "$with_DCE"; then
1.9     ! millert  4622:                        { { echo "$as_me:4622: error: \"you cannot mix SIA and other authentication schemes.  You can turn off SIA support via the --disable-sia option\"" >&5
        !          4623: echo "$as_me: error: \"you cannot mix SIA and other authentication schemes.  You can turn off SIA support via the --disable-sia option\"" >&2;}
        !          4624:    { (exit 1); exit 1; }; }
1.1       millert  4625:                    fi; CHECKSHADOW=false
                   4626: fi
                   4627:
                   4628:                fi
                   4629:                if test "$CHECKSHADOW" = "true"; then
1.9     ! millert  4630:                    echo "$as_me:4630: checking for getprpwnam in -lsecurity" >&5
        !          4631: echo $ECHO_N "checking for getprpwnam in -lsecurity... $ECHO_C" >&6
        !          4632: if test "${ac_cv_lib_security_getprpwnam+set}" = set; then
        !          4633:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  4634: else
1.9     ! millert  4635:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  4636: LIBS="-lsecurity  $LIBS"
1.9     ! millert  4637: cat >conftest.$ac_ext <<_ACEOF
        !          4638: #line 4638 "configure"
1.1       millert  4639: #include "confdefs.h"
1.9     ! millert  4640:
1.1       millert  4641: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  4642: #ifdef __cplusplus
        !          4643: extern "C"
        !          4644: #endif
1.1       millert  4645: /* We use char because int might match the return type of a gcc2
1.9     ! millert  4646:    builtin and then its argument prototype would still apply.  */
        !          4647: char getprpwnam ();
        !          4648: int
        !          4649: main ()
        !          4650: {
        !          4651: getprpwnam ();
        !          4652:   ;
        !          4653:   return 0;
        !          4654: }
        !          4655: _ACEOF
        !          4656: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4657: if { (eval echo "$as_me:4657: \"$ac_link\"") >&5
        !          4658:   (eval $ac_link) 2>&5
        !          4659:   ac_status=$?
        !          4660:   echo "$as_me:4660: \$? = $ac_status" >&5
        !          4661:   (exit $ac_status); } &&
        !          4662:          { ac_try='test -s conftest$ac_exeext'
        !          4663:   { (eval echo "$as_me:4663: \"$ac_try\"") >&5
        !          4664:   (eval $ac_try) 2>&5
        !          4665:   ac_status=$?
        !          4666:   echo "$as_me:4666: \$? = $ac_status" >&5
        !          4667:   (exit $ac_status); }; }; then
        !          4668:   ac_cv_lib_security_getprpwnam=yes
        !          4669: else
        !          4670:   echo "$as_me: failed program was:" >&5
        !          4671: cat conftest.$ac_ext >&5
        !          4672: ac_cv_lib_security_getprpwnam=no
        !          4673: fi
        !          4674: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          4675: LIBS=$ac_check_lib_save_LIBS
        !          4676: fi
        !          4677: echo "$as_me:4677: result: $ac_cv_lib_security_getprpwnam" >&5
        !          4678: echo "${ECHO_T}$ac_cv_lib_security_getprpwnam" >&6
        !          4679: if test $ac_cv_lib_security_getprpwnam = yes; then
1.1       millert  4680:   SECUREWARE=1
                   4681: fi
                   4682:
                   4683:                    CHECKSHADOW="false"
                   4684:                fi
                   4685:
                   4686:                if test -n "$SECUREWARE"; then
1.9     ! millert  4687:
        !          4688: cat >>confdefs.h <<\EOF
1.1       millert  4689: #define HAVE_GETPRPWNAM 1
                   4690: EOF
                   4691:
                   4692:                    # -ldb includes bogus versions of snprintf/vsnprintf
1.9     ! millert  4693:
        !          4694: for ac_func in snprintf
        !          4695: do
        !          4696: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          4697: echo "$as_me:4697: checking for $ac_func" >&5
        !          4698: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          4699: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          4700:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  4701: else
1.9     ! millert  4702:   cat >conftest.$ac_ext <<_ACEOF
        !          4703: #line 4703 "configure"
1.1       millert  4704: #include "confdefs.h"
                   4705: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  4706:     which can conflict with char $ac_func (); below.  */
1.1       millert  4707: #include <assert.h>
                   4708: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  4709: #ifdef __cplusplus
        !          4710: extern "C"
        !          4711: #endif
1.1       millert  4712: /* We use char because int might match the return type of a gcc2
1.9     ! millert  4713:    builtin and then its argument prototype would still apply.  */
        !          4714: char $ac_func ();
        !          4715: char (*f) ();
1.1       millert  4716:
1.9     ! millert  4717: int
        !          4718: main ()
        !          4719: {
1.1       millert  4720: /* The GNU C library defines this for functions which it implements
                   4721:     to always fail with ENOSYS.  Some functions are actually named
                   4722:     something starting with __ and the normal name is an alias.  */
1.9     ! millert  4723: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.1       millert  4724: choke me
                   4725: #else
1.9     ! millert  4726: f = $ac_func;
1.1       millert  4727: #endif
                   4728:
1.9     ! millert  4729:   ;
        !          4730:   return 0;
        !          4731: }
        !          4732: _ACEOF
        !          4733: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4734: if { (eval echo "$as_me:4734: \"$ac_link\"") >&5
        !          4735:   (eval $ac_link) 2>&5
        !          4736:   ac_status=$?
        !          4737:   echo "$as_me:4737: \$? = $ac_status" >&5
        !          4738:   (exit $ac_status); } &&
        !          4739:          { ac_try='test -s conftest$ac_exeext'
        !          4740:   { (eval echo "$as_me:4740: \"$ac_try\"") >&5
        !          4741:   (eval $ac_try) 2>&5
        !          4742:   ac_status=$?
        !          4743:   echo "$as_me:4743: \$? = $ac_status" >&5
        !          4744:   (exit $ac_status); }; }; then
        !          4745:   eval "$as_ac_var=yes"
        !          4746: else
        !          4747:   echo "$as_me: failed program was:" >&5
        !          4748: cat conftest.$ac_ext >&5
        !          4749: eval "$as_ac_var=no"
        !          4750: fi
        !          4751: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          4752: fi
        !          4753: echo "$as_me:4753: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          4754: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          4755: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          4756:   cat >>confdefs.h <<EOF
        !          4757: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  4758: EOF
                   4759:
                   4760: else
1.9     ! millert  4761:   NEED_SNPRINTF=1
1.1       millert  4762: fi
1.9     ! millert  4763: done
1.1       millert  4764:
1.9     ! millert  4765: for ac_func in vsnprintf
        !          4766: do
        !          4767: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          4768: echo "$as_me:4768: checking for $ac_func" >&5
        !          4769: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          4770: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          4771:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  4772: else
1.9     ! millert  4773:   cat >conftest.$ac_ext <<_ACEOF
        !          4774: #line 4774 "configure"
1.1       millert  4775: #include "confdefs.h"
                   4776: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  4777:     which can conflict with char $ac_func (); below.  */
1.1       millert  4778: #include <assert.h>
                   4779: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  4780: #ifdef __cplusplus
        !          4781: extern "C"
        !          4782: #endif
1.1       millert  4783: /* We use char because int might match the return type of a gcc2
1.9     ! millert  4784:    builtin and then its argument prototype would still apply.  */
        !          4785: char $ac_func ();
        !          4786: char (*f) ();
1.1       millert  4787:
1.9     ! millert  4788: int
        !          4789: main ()
        !          4790: {
1.1       millert  4791: /* The GNU C library defines this for functions which it implements
                   4792:     to always fail with ENOSYS.  Some functions are actually named
                   4793:     something starting with __ and the normal name is an alias.  */
1.9     ! millert  4794: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.1       millert  4795: choke me
                   4796: #else
1.9     ! millert  4797: f = $ac_func;
1.1       millert  4798: #endif
                   4799:
1.9     ! millert  4800:   ;
        !          4801:   return 0;
        !          4802: }
        !          4803: _ACEOF
        !          4804: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4805: if { (eval echo "$as_me:4805: \"$ac_link\"") >&5
        !          4806:   (eval $ac_link) 2>&5
        !          4807:   ac_status=$?
        !          4808:   echo "$as_me:4808: \$? = $ac_status" >&5
        !          4809:   (exit $ac_status); } &&
        !          4810:          { ac_try='test -s conftest$ac_exeext'
        !          4811:   { (eval echo "$as_me:4811: \"$ac_try\"") >&5
        !          4812:   (eval $ac_try) 2>&5
        !          4813:   ac_status=$?
        !          4814:   echo "$as_me:4814: \$? = $ac_status" >&5
        !          4815:   (exit $ac_status); }; }; then
        !          4816:   eval "$as_ac_var=yes"
        !          4817: else
        !          4818:   echo "$as_me: failed program was:" >&5
        !          4819: cat conftest.$ac_ext >&5
        !          4820: eval "$as_ac_var=no"
        !          4821: fi
        !          4822: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          4823: fi
        !          4824: echo "$as_me:4824: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          4825: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          4826: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          4827:   cat >>confdefs.h <<EOF
        !          4828: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  4829: EOF
                   4830:
                   4831: else
1.9     ! millert  4832:   NEED_SNPRINTF=1
1.1       millert  4833: fi
1.9     ! millert  4834: done
1.1       millert  4835:
                   4836:                    # 4.x and higher need -ldb too...
1.9     ! millert  4837:                    echo "$as_me:4837: checking for dbopen in -ldb" >&5
        !          4838: echo $ECHO_N "checking for dbopen in -ldb... $ECHO_C" >&6
        !          4839: if test "${ac_cv_lib_db_dbopen+set}" = set; then
        !          4840:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  4841: else
1.9     ! millert  4842:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  4843: LIBS="-ldb  $LIBS"
1.9     ! millert  4844: cat >conftest.$ac_ext <<_ACEOF
        !          4845: #line 4845 "configure"
1.1       millert  4846: #include "confdefs.h"
1.9     ! millert  4847:
1.1       millert  4848: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  4849: #ifdef __cplusplus
        !          4850: extern "C"
        !          4851: #endif
1.1       millert  4852: /* We use char because int might match the return type of a gcc2
1.9     ! millert  4853:    builtin and then its argument prototype would still apply.  */
        !          4854: char dbopen ();
        !          4855: int
        !          4856: main ()
        !          4857: {
        !          4858: dbopen ();
        !          4859:   ;
        !          4860:   return 0;
        !          4861: }
        !          4862: _ACEOF
        !          4863: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4864: if { (eval echo "$as_me:4864: \"$ac_link\"") >&5
        !          4865:   (eval $ac_link) 2>&5
        !          4866:   ac_status=$?
        !          4867:   echo "$as_me:4867: \$? = $ac_status" >&5
        !          4868:   (exit $ac_status); } &&
        !          4869:          { ac_try='test -s conftest$ac_exeext'
        !          4870:   { (eval echo "$as_me:4870: \"$ac_try\"") >&5
        !          4871:   (eval $ac_try) 2>&5
        !          4872:   ac_status=$?
        !          4873:   echo "$as_me:4873: \$? = $ac_status" >&5
        !          4874:   (exit $ac_status); }; }; then
        !          4875:   ac_cv_lib_db_dbopen=yes
        !          4876: else
        !          4877:   echo "$as_me: failed program was:" >&5
        !          4878: cat conftest.$ac_ext >&5
        !          4879: ac_cv_lib_db_dbopen=no
        !          4880: fi
        !          4881: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          4882: LIBS=$ac_check_lib_save_LIBS
        !          4883: fi
        !          4884: echo "$as_me:4884: result: $ac_cv_lib_db_dbopen" >&5
        !          4885: echo "${ECHO_T}$ac_cv_lib_db_dbopen" >&6
        !          4886: if test $ac_cv_lib_db_dbopen = yes; then
        !          4887:   SUDO_LIBS="${SUDO_LIBS} -lsecurity -ldb -laud -lm"; LIBS="${LIBS} -lsecurity -ldb -laud -lm"
1.1       millert  4888: else
                   4889:   SUDO_LIBS="${SUDO_LIBS} -lsecurity -ldb -laud -lm"; LIBS="${LIBS} -lsecurity -ldb -laud -lm"
                   4890: fi
                   4891:
1.9     ! millert  4892: for ac_func in dispcrypt
1.1       millert  4893: do
1.9     ! millert  4894: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          4895: echo "$as_me:4895: checking for $ac_func" >&5
        !          4896: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          4897: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          4898:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  4899: else
1.9     ! millert  4900:   cat >conftest.$ac_ext <<_ACEOF
        !          4901: #line 4901 "configure"
1.1       millert  4902: #include "confdefs.h"
                   4903: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  4904:     which can conflict with char $ac_func (); below.  */
1.1       millert  4905: #include <assert.h>
                   4906: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  4907: #ifdef __cplusplus
        !          4908: extern "C"
        !          4909: #endif
1.1       millert  4910: /* We use char because int might match the return type of a gcc2
1.9     ! millert  4911:    builtin and then its argument prototype would still apply.  */
        !          4912: char $ac_func ();
        !          4913: char (*f) ();
1.1       millert  4914:
1.9     ! millert  4915: int
        !          4916: main ()
        !          4917: {
1.1       millert  4918: /* The GNU C library defines this for functions which it implements
                   4919:     to always fail with ENOSYS.  Some functions are actually named
                   4920:     something starting with __ and the normal name is an alias.  */
                   4921: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   4922: choke me
                   4923: #else
1.9     ! millert  4924: f = $ac_func;
1.1       millert  4925: #endif
                   4926:
1.9     ! millert  4927:   ;
        !          4928:   return 0;
        !          4929: }
        !          4930: _ACEOF
        !          4931: rm -f conftest.$ac_objext conftest$ac_exeext
        !          4932: if { (eval echo "$as_me:4932: \"$ac_link\"") >&5
        !          4933:   (eval $ac_link) 2>&5
        !          4934:   ac_status=$?
        !          4935:   echo "$as_me:4935: \$? = $ac_status" >&5
        !          4936:   (exit $ac_status); } &&
        !          4937:          { ac_try='test -s conftest$ac_exeext'
        !          4938:   { (eval echo "$as_me:4938: \"$ac_try\"") >&5
        !          4939:   (eval $ac_try) 2>&5
        !          4940:   ac_status=$?
        !          4941:   echo "$as_me:4941: \$? = $ac_status" >&5
        !          4942:   (exit $ac_status); }; }; then
        !          4943:   eval "$as_ac_var=yes"
        !          4944: else
        !          4945:   echo "$as_me: failed program was:" >&5
        !          4946: cat conftest.$ac_ext >&5
        !          4947: eval "$as_ac_var=no"
        !          4948: fi
        !          4949: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          4950: fi
        !          4951: echo "$as_me:4951: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          4952: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          4953: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          4954:   cat >>confdefs.h <<EOF
        !          4955: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  4956: EOF
                   4957:
                   4958: fi
                   4959: done
                   4960:
1.9     ! millert  4961:                    echo "$as_me:4961: checking for broken /usr/include/prot.h" >&5
        !          4962: echo $ECHO_N "checking for broken /usr/include/prot.h... $ECHO_C" >&6
        !          4963:                    cat >conftest.$ac_ext <<_ACEOF
        !          4964: #line 4964 "configure"
1.1       millert  4965: #include "confdefs.h"
                   4966:
                   4967: #include <sys/types.h>
                   4968: #include <sys/security.h>
                   4969: #include <prot.h>
1.9     ! millert  4970:
        !          4971: int
        !          4972: main ()
        !          4973: {
1.1       millert  4974: exit(0);
1.9     ! millert  4975:   ;
        !          4976:   return 0;
        !          4977: }
        !          4978: _ACEOF
        !          4979: rm -f conftest.$ac_objext
        !          4980: if { (eval echo "$as_me:4980: \"$ac_compile\"") >&5
        !          4981:   (eval $ac_compile) 2>&5
        !          4982:   ac_status=$?
        !          4983:   echo "$as_me:4983: \$? = $ac_status" >&5
        !          4984:   (exit $ac_status); } &&
        !          4985:          { ac_try='test -s conftest.$ac_objext'
        !          4986:   { (eval echo "$as_me:4986: \"$ac_try\"") >&5
        !          4987:   (eval $ac_try) 2>&5
        !          4988:   ac_status=$?
        !          4989:   echo "$as_me:4989: \$? = $ac_status" >&5
        !          4990:   (exit $ac_status); }; }; then
        !          4991:   echo "$as_me:4991: result: no" >&5
        !          4992: echo "${ECHO_T}no" >&6
        !          4993: else
        !          4994:   echo "$as_me: failed program was:" >&5
        !          4995: cat conftest.$ac_ext >&5
        !          4996: echo "$as_me:4996: result: yes, fixing locally" >&5
        !          4997: echo "${ECHO_T}yes, fixing locally" >&6
1.1       millert  4998:                    sed 's:<acl.h>:<sys/acl.h>:g' < /usr/include/prot.h > prot.h
1.9     ! millert  4999:
1.1       millert  5000: fi
1.9     ! millert  5001: rm -f conftest.$ac_objext conftest.$ac_ext
        !          5002:                elif test "$CHECKSIA" = "true"; then
1.1       millert  5003:                    with_passwd=no
                   5004:                    AUTH_OBJS="sia.o"
                   5005:                fi
1.9     ! millert  5006:                test -n "$mansectsu" || mansectsu=8
        !          5007:                test -n "$mansectform" || mansectform=4
1.1       millert  5008:                ;;
                   5009:     *-*-irix*)
                   5010:                CPPFLAGS="${CPPFLAGS} -D_BSD_TYPES"
                   5011:                if test -z "$NROFFPROG"; then
                   5012:                    MAN_POSTINSTALL='   /bin/rm -f $(mandir8)/sudo.$(mansect8).z $(mandir8)/visudo.$(mansect8).z $(mandir5)/sudoers.$(mansect5).z ; /usr/bin/pack $(mandir8)/sudo.$(mansect8) $(mandir8)/visudo.$(mansect8) $(mandir5)/sudoers.$(mansect5)'
                   5013:                    if test "$prefix" = "/usr/local" -a "$mandir" = '$(prefix)/man'; then
                   5014:                        if test -d /usr/share/catman/local; then
                   5015:                            mandir="/usr/share/catman/local"
                   5016:                        else
                   5017:                            mandir="/usr/catman/local"
                   5018:                        fi
                   5019:                    fi
                   5020:                else
                   5021:                    if test "$prefix" = "/usr/local" -a "$mandir" = '$(prefix)/man'; then
                   5022:                        if test -d "/usr/share/man/local"; then
                   5023:                            mandir="/usr/share/man/local"
                   5024:                        else
                   5025:                            mandir="/usr/man/local"
                   5026:                        fi
                   5027:                    fi
                   5028:                fi
                   5029:                # IRIX <= 4 needs -lsun
                   5030:                if test "$OSREV" -le 4; then
1.9     ! millert  5031:                    echo "$as_me:5031: checking for getpwnam in -lsun" >&5
        !          5032: echo $ECHO_N "checking for getpwnam in -lsun... $ECHO_C" >&6
        !          5033: if test "${ac_cv_lib_sun_getpwnam+set}" = set; then
        !          5034:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  5035: else
1.9     ! millert  5036:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  5037: LIBS="-lsun  $LIBS"
1.9     ! millert  5038: cat >conftest.$ac_ext <<_ACEOF
        !          5039: #line 5039 "configure"
1.1       millert  5040: #include "confdefs.h"
1.9     ! millert  5041:
1.1       millert  5042: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  5043: #ifdef __cplusplus
        !          5044: extern "C"
        !          5045: #endif
1.1       millert  5046: /* We use char because int might match the return type of a gcc2
1.9     ! millert  5047:    builtin and then its argument prototype would still apply.  */
        !          5048: char getpwnam ();
        !          5049: int
        !          5050: main ()
        !          5051: {
        !          5052: getpwnam ();
        !          5053:   ;
        !          5054:   return 0;
        !          5055: }
        !          5056: _ACEOF
        !          5057: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5058: if { (eval echo "$as_me:5058: \"$ac_link\"") >&5
        !          5059:   (eval $ac_link) 2>&5
        !          5060:   ac_status=$?
        !          5061:   echo "$as_me:5061: \$? = $ac_status" >&5
        !          5062:   (exit $ac_status); } &&
        !          5063:          { ac_try='test -s conftest$ac_exeext'
        !          5064:   { (eval echo "$as_me:5064: \"$ac_try\"") >&5
        !          5065:   (eval $ac_try) 2>&5
        !          5066:   ac_status=$?
        !          5067:   echo "$as_me:5067: \$? = $ac_status" >&5
        !          5068:   (exit $ac_status); }; }; then
        !          5069:   ac_cv_lib_sun_getpwnam=yes
        !          5070: else
        !          5071:   echo "$as_me: failed program was:" >&5
        !          5072: cat conftest.$ac_ext >&5
        !          5073: ac_cv_lib_sun_getpwnam=no
        !          5074: fi
        !          5075: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          5076: LIBS=$ac_check_lib_save_LIBS
        !          5077: fi
        !          5078: echo "$as_me:5078: result: $ac_cv_lib_sun_getpwnam" >&5
        !          5079: echo "${ECHO_T}$ac_cv_lib_sun_getpwnam" >&6
        !          5080: if test $ac_cv_lib_sun_getpwnam = yes; then
1.1       millert  5081:   LIBS="${LIBS} -lsun"
                   5082: fi
                   5083:
                   5084:                fi
1.9     ! millert  5085:                test -n "$mansectsu" || mansectsu=1m
        !          5086:                test -n "$mansectform" || mansectform=4
1.1       millert  5087:                ;;
                   5088:     *-*-linux*)
                   5089:                # Some Linux versions need to link with -lshadow
                   5090:                if test "$CHECKSHADOW" = "true"; then
1.9     ! millert  5091:
        !          5092: for ac_func in getspnam
        !          5093: do
        !          5094: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          5095: echo "$as_me:5095: checking for $ac_func" >&5
        !          5096: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          5097: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          5098:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  5099: else
1.9     ! millert  5100:   cat >conftest.$ac_ext <<_ACEOF
        !          5101: #line 5101 "configure"
1.1       millert  5102: #include "confdefs.h"
                   5103: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  5104:     which can conflict with char $ac_func (); below.  */
1.1       millert  5105: #include <assert.h>
                   5106: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  5107: #ifdef __cplusplus
        !          5108: extern "C"
        !          5109: #endif
1.1       millert  5110: /* We use char because int might match the return type of a gcc2
1.9     ! millert  5111:    builtin and then its argument prototype would still apply.  */
        !          5112: char $ac_func ();
        !          5113: char (*f) ();
1.1       millert  5114:
1.9     ! millert  5115: int
        !          5116: main ()
        !          5117: {
1.1       millert  5118: /* The GNU C library defines this for functions which it implements
                   5119:     to always fail with ENOSYS.  Some functions are actually named
                   5120:     something starting with __ and the normal name is an alias.  */
1.9     ! millert  5121: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.1       millert  5122: choke me
                   5123: #else
1.9     ! millert  5124: f = $ac_func;
1.1       millert  5125: #endif
                   5126:
1.9     ! millert  5127:   ;
        !          5128:   return 0;
        !          5129: }
        !          5130: _ACEOF
        !          5131: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5132: if { (eval echo "$as_me:5132: \"$ac_link\"") >&5
        !          5133:   (eval $ac_link) 2>&5
        !          5134:   ac_status=$?
        !          5135:   echo "$as_me:5135: \$? = $ac_status" >&5
        !          5136:   (exit $ac_status); } &&
        !          5137:          { ac_try='test -s conftest$ac_exeext'
        !          5138:   { (eval echo "$as_me:5138: \"$ac_try\"") >&5
        !          5139:   (eval $ac_try) 2>&5
        !          5140:   ac_status=$?
        !          5141:   echo "$as_me:5141: \$? = $ac_status" >&5
        !          5142:   (exit $ac_status); }; }; then
        !          5143:   eval "$as_ac_var=yes"
        !          5144: else
        !          5145:   echo "$as_me: failed program was:" >&5
        !          5146: cat conftest.$ac_ext >&5
        !          5147: eval "$as_ac_var=no"
        !          5148: fi
        !          5149: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          5150: fi
        !          5151: echo "$as_me:5151: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          5152: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          5153: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          5154:   cat >>confdefs.h <<EOF
        !          5155: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  5156: EOF
                   5157:
                   5158: else
1.9     ! millert  5159:   echo "$as_me:5159: checking for getspnam in -lshadow" >&5
        !          5160: echo $ECHO_N "checking for getspnam in -lshadow... $ECHO_C" >&6
        !          5161: if test "${ac_cv_lib_shadow_getspnam+set}" = set; then
        !          5162:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  5163: else
1.9     ! millert  5164:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  5165: LIBS="-lshadow  $LIBS"
1.9     ! millert  5166: cat >conftest.$ac_ext <<_ACEOF
        !          5167: #line 5167 "configure"
1.1       millert  5168: #include "confdefs.h"
1.9     ! millert  5169:
1.1       millert  5170: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  5171: #ifdef __cplusplus
        !          5172: extern "C"
        !          5173: #endif
1.1       millert  5174: /* We use char because int might match the return type of a gcc2
1.9     ! millert  5175:    builtin and then its argument prototype would still apply.  */
        !          5176: char getspnam ();
        !          5177: int
        !          5178: main ()
        !          5179: {
        !          5180: getspnam ();
        !          5181:   ;
        !          5182:   return 0;
        !          5183: }
        !          5184: _ACEOF
        !          5185: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5186: if { (eval echo "$as_me:5186: \"$ac_link\"") >&5
        !          5187:   (eval $ac_link) 2>&5
        !          5188:   ac_status=$?
        !          5189:   echo "$as_me:5189: \$? = $ac_status" >&5
        !          5190:   (exit $ac_status); } &&
        !          5191:          { ac_try='test -s conftest$ac_exeext'
        !          5192:   { (eval echo "$as_me:5192: \"$ac_try\"") >&5
        !          5193:   (eval $ac_try) 2>&5
        !          5194:   ac_status=$?
        !          5195:   echo "$as_me:5195: \$? = $ac_status" >&5
        !          5196:   (exit $ac_status); }; }; then
        !          5197:   ac_cv_lib_shadow_getspnam=yes
        !          5198: else
        !          5199:   echo "$as_me: failed program was:" >&5
        !          5200: cat conftest.$ac_ext >&5
        !          5201: ac_cv_lib_shadow_getspnam=no
        !          5202: fi
        !          5203: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          5204: LIBS=$ac_check_lib_save_LIBS
        !          5205: fi
        !          5206: echo "$as_me:5206: result: $ac_cv_lib_shadow_getspnam" >&5
        !          5207: echo "${ECHO_T}$ac_cv_lib_shadow_getspnam" >&6
        !          5208: if test $ac_cv_lib_shadow_getspnam = yes; then
        !          5209:   cat >>confdefs.h <<\EOF
1.1       millert  5210: #define HAVE_GETSPNAM 1
                   5211: EOF
                   5212:  SUDO_LIBS="${SUDO_LIBS} -lshadow"; LIBS="${LIBS} -lshadow"
                   5213: fi
                   5214:
                   5215: fi
1.9     ! millert  5216: done
1.1       millert  5217:
                   5218:                    CHECKSHADOW="false"
                   5219:                fi
                   5220:                ;;
                   5221:     *-convex-bsd*)
1.9     ! millert  5222:                cat >>confdefs.h <<\EOF
1.1       millert  5223: #define _CONVEX_SOURCE 1
                   5224: EOF
                   5225:
                   5226:                if test -z "$GCC"; then
                   5227:                    CFLAGS="${CFLAGS} -D__STDC__"
                   5228:                fi
                   5229:
                   5230:                if test "$CHECKSHADOW" = "true"; then
1.9     ! millert  5231:                    echo "$as_me:5231: checking for getprpwnam in -lsec" >&5
        !          5232: echo $ECHO_N "checking for getprpwnam in -lsec... $ECHO_C" >&6
        !          5233: if test "${ac_cv_lib_sec_getprpwnam+set}" = set; then
        !          5234:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  5235: else
1.9     ! millert  5236:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  5237: LIBS="-lsec  $LIBS"
1.9     ! millert  5238: cat >conftest.$ac_ext <<_ACEOF
        !          5239: #line 5239 "configure"
1.1       millert  5240: #include "confdefs.h"
1.9     ! millert  5241:
1.1       millert  5242: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  5243: #ifdef __cplusplus
        !          5244: extern "C"
        !          5245: #endif
1.1       millert  5246: /* We use char because int might match the return type of a gcc2
1.9     ! millert  5247:    builtin and then its argument prototype would still apply.  */
        !          5248: char getprpwnam ();
        !          5249: int
        !          5250: main ()
        !          5251: {
        !          5252: getprpwnam ();
        !          5253:   ;
        !          5254:   return 0;
        !          5255: }
        !          5256: _ACEOF
        !          5257: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5258: if { (eval echo "$as_me:5258: \"$ac_link\"") >&5
        !          5259:   (eval $ac_link) 2>&5
        !          5260:   ac_status=$?
        !          5261:   echo "$as_me:5261: \$? = $ac_status" >&5
        !          5262:   (exit $ac_status); } &&
        !          5263:          { ac_try='test -s conftest$ac_exeext'
        !          5264:   { (eval echo "$as_me:5264: \"$ac_try\"") >&5
        !          5265:   (eval $ac_try) 2>&5
        !          5266:   ac_status=$?
        !          5267:   echo "$as_me:5267: \$? = $ac_status" >&5
        !          5268:   (exit $ac_status); }; }; then
        !          5269:   ac_cv_lib_sec_getprpwnam=yes
        !          5270: else
        !          5271:   echo "$as_me: failed program was:" >&5
        !          5272: cat conftest.$ac_ext >&5
        !          5273: ac_cv_lib_sec_getprpwnam=no
        !          5274: fi
        !          5275: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          5276: LIBS=$ac_check_lib_save_LIBS
        !          5277: fi
        !          5278: echo "$as_me:5278: result: $ac_cv_lib_sec_getprpwnam" >&5
        !          5279: echo "${ECHO_T}$ac_cv_lib_sec_getprpwnam" >&6
        !          5280: if test $ac_cv_lib_sec_getprpwnam = yes; then
        !          5281:   cat >>confdefs.h <<\EOF
1.1       millert  5282: #define HAVE_GETPRPWNAM 1
                   5283: EOF
                   5284:  SUDO_LIBS="${SUDO_LIBS} -lprot"; LIBS="${LIBS} -lprot"; OSDEFS="${OSDEFS} -D_AUDIT -D_ACL -DSecureWare"; SECUREWARE=1
                   5285: fi
                   5286:
                   5287:                    CHECKSHADOW="false"
                   5288:                fi
                   5289:                ;;
                   5290:     *-*-ultrix*)
                   5291:                OS="ultrix"
                   5292:                if test "$CHECKSHADOW" = "true"; then
1.9     ! millert  5293:                    echo "$as_me:5293: checking for getauthuid in -lauth" >&5
        !          5294: echo $ECHO_N "checking for getauthuid in -lauth... $ECHO_C" >&6
        !          5295: if test "${ac_cv_lib_auth_getauthuid+set}" = set; then
        !          5296:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  5297: else
1.9     ! millert  5298:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  5299: LIBS="-lauth  $LIBS"
1.9     ! millert  5300: cat >conftest.$ac_ext <<_ACEOF
        !          5301: #line 5301 "configure"
1.1       millert  5302: #include "confdefs.h"
1.9     ! millert  5303:
1.1       millert  5304: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  5305: #ifdef __cplusplus
        !          5306: extern "C"
        !          5307: #endif
1.1       millert  5308: /* We use char because int might match the return type of a gcc2
1.9     ! millert  5309:    builtin and then its argument prototype would still apply.  */
        !          5310: char getauthuid ();
        !          5311: int
        !          5312: main ()
        !          5313: {
        !          5314: getauthuid ();
        !          5315:   ;
        !          5316:   return 0;
        !          5317: }
        !          5318: _ACEOF
        !          5319: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5320: if { (eval echo "$as_me:5320: \"$ac_link\"") >&5
        !          5321:   (eval $ac_link) 2>&5
        !          5322:   ac_status=$?
        !          5323:   echo "$as_me:5323: \$? = $ac_status" >&5
        !          5324:   (exit $ac_status); } &&
        !          5325:          { ac_try='test -s conftest$ac_exeext'
        !          5326:   { (eval echo "$as_me:5326: \"$ac_try\"") >&5
        !          5327:   (eval $ac_try) 2>&5
        !          5328:   ac_status=$?
        !          5329:   echo "$as_me:5329: \$? = $ac_status" >&5
        !          5330:   (exit $ac_status); }; }; then
        !          5331:   ac_cv_lib_auth_getauthuid=yes
        !          5332: else
        !          5333:   echo "$as_me: failed program was:" >&5
        !          5334: cat conftest.$ac_ext >&5
        !          5335: ac_cv_lib_auth_getauthuid=no
        !          5336: fi
        !          5337: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          5338: LIBS=$ac_check_lib_save_LIBS
        !          5339: fi
        !          5340: echo "$as_me:5340: result: $ac_cv_lib_auth_getauthuid" >&5
        !          5341: echo "${ECHO_T}$ac_cv_lib_auth_getauthuid" >&6
        !          5342: if test $ac_cv_lib_auth_getauthuid = yes; then
1.1       millert  5343:
1.9     ! millert  5344: cat >>confdefs.h <<\EOF
1.1       millert  5345: #define HAVE_GETAUTHUID 1
                   5346: EOF
                   5347:  SUDO_LIBS="${SUDO_LIBS} -lauth"; LIBS="${LIBS} -lauth"
                   5348: fi
                   5349:
                   5350:                    CHECKSHADOW="false"
                   5351:                fi
                   5352:                ;;
                   5353:     *-*-riscos*)
                   5354:                LIBS="${LIBS} -lsun -lbsd"
                   5355:                CPPFLAGS="${CPPFLAGS} -I/usr/include -I/usr/include/bsd"
                   5356:                OSDEFS="${OSDEFS} -D_MIPS"
1.9     ! millert  5357:                test -n "$mansectsu" || mansectsu=1m
        !          5358:                test -n "$mansectform" || mansectform=4
1.1       millert  5359:                ;;
                   5360:     *-*-isc*)
                   5361:                OSDEFS="${OSDEFS} -D_ISC"
                   5362:                LIB_CRYPT=1
                   5363:                SUDO_LIBS="${SUDO_LIBS} -lcrypt"
                   5364:                LIBS="${LIBS} -lcrypt"
                   5365:
                   5366:                if test "$CHECKSHADOW" = "true"; then
1.9     ! millert  5367:                    echo "$as_me:5367: checking for getspnam in -lsec" >&5
        !          5368: echo $ECHO_N "checking for getspnam in -lsec... $ECHO_C" >&6
        !          5369: if test "${ac_cv_lib_sec_getspnam+set}" = set; then
        !          5370:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  5371: else
1.9     ! millert  5372:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  5373: LIBS="-lsec  $LIBS"
1.9     ! millert  5374: cat >conftest.$ac_ext <<_ACEOF
        !          5375: #line 5375 "configure"
1.1       millert  5376: #include "confdefs.h"
1.9     ! millert  5377:
1.1       millert  5378: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  5379: #ifdef __cplusplus
        !          5380: extern "C"
        !          5381: #endif
1.1       millert  5382: /* We use char because int might match the return type of a gcc2
1.9     ! millert  5383:    builtin and then its argument prototype would still apply.  */
        !          5384: char getspnam ();
        !          5385: int
        !          5386: main ()
        !          5387: {
        !          5388: getspnam ();
        !          5389:   ;
        !          5390:   return 0;
        !          5391: }
        !          5392: _ACEOF
        !          5393: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5394: if { (eval echo "$as_me:5394: \"$ac_link\"") >&5
        !          5395:   (eval $ac_link) 2>&5
        !          5396:   ac_status=$?
        !          5397:   echo "$as_me:5397: \$? = $ac_status" >&5
        !          5398:   (exit $ac_status); } &&
        !          5399:          { ac_try='test -s conftest$ac_exeext'
        !          5400:   { (eval echo "$as_me:5400: \"$ac_try\"") >&5
        !          5401:   (eval $ac_try) 2>&5
        !          5402:   ac_status=$?
        !          5403:   echo "$as_me:5403: \$? = $ac_status" >&5
        !          5404:   (exit $ac_status); }; }; then
        !          5405:   ac_cv_lib_sec_getspnam=yes
        !          5406: else
        !          5407:   echo "$as_me: failed program was:" >&5
        !          5408: cat conftest.$ac_ext >&5
        !          5409: ac_cv_lib_sec_getspnam=no
        !          5410: fi
        !          5411: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          5412: LIBS=$ac_check_lib_save_LIBS
        !          5413: fi
        !          5414: echo "$as_me:5414: result: $ac_cv_lib_sec_getspnam" >&5
        !          5415: echo "${ECHO_T}$ac_cv_lib_sec_getspnam" >&6
        !          5416: if test $ac_cv_lib_sec_getspnam = yes; then
        !          5417:   cat >>confdefs.h <<\EOF
1.1       millert  5418: #define HAVE_GETSPNAM 1
                   5419: EOF
                   5420:  SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec"
                   5421: fi
                   5422:
                   5423:                    CHECKSHADOW="false"
                   5424:                fi
1.9     ! millert  5425:                test -n "$mansectsu" || mansectsu=1m
        !          5426:                test -n "$mansectform" || mansectform=4
1.1       millert  5427:                ;;
1.9     ! millert  5428:     *-*-sco*|*-sco-*)
1.1       millert  5429:                if test "$CHECKSHADOW" = "true"; then
1.9     ! millert  5430:                    echo "$as_me:5430: checking for getprpwnam in -lprot" >&5
        !          5431: echo $ECHO_N "checking for getprpwnam in -lprot... $ECHO_C" >&6
        !          5432: if test "${ac_cv_lib_prot_getprpwnam_lx+set}" = set; then
        !          5433:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  5434: else
1.9     ! millert  5435:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  5436: LIBS="-lprot -lx $LIBS"
1.9     ! millert  5437: cat >conftest.$ac_ext <<_ACEOF
        !          5438: #line 5438 "configure"
1.1       millert  5439: #include "confdefs.h"
1.9     ! millert  5440:
1.1       millert  5441: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  5442: #ifdef __cplusplus
        !          5443: extern "C"
        !          5444: #endif
1.1       millert  5445: /* We use char because int might match the return type of a gcc2
1.9     ! millert  5446:    builtin and then its argument prototype would still apply.  */
        !          5447: char getprpwnam ();
        !          5448: int
        !          5449: main ()
        !          5450: {
        !          5451: getprpwnam ();
        !          5452:   ;
        !          5453:   return 0;
        !          5454: }
        !          5455: _ACEOF
        !          5456: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5457: if { (eval echo "$as_me:5457: \"$ac_link\"") >&5
        !          5458:   (eval $ac_link) 2>&5
        !          5459:   ac_status=$?
        !          5460:   echo "$as_me:5460: \$? = $ac_status" >&5
        !          5461:   (exit $ac_status); } &&
        !          5462:          { ac_try='test -s conftest$ac_exeext'
        !          5463:   { (eval echo "$as_me:5463: \"$ac_try\"") >&5
        !          5464:   (eval $ac_try) 2>&5
        !          5465:   ac_status=$?
        !          5466:   echo "$as_me:5466: \$? = $ac_status" >&5
        !          5467:   (exit $ac_status); }; }; then
        !          5468:   ac_cv_lib_prot_getprpwnam_lx=yes
        !          5469: else
        !          5470:   echo "$as_me: failed program was:" >&5
        !          5471: cat conftest.$ac_ext >&5
        !          5472: ac_cv_lib_prot_getprpwnam_lx=no
        !          5473: fi
        !          5474: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          5475: LIBS=$ac_check_lib_save_LIBS
        !          5476: fi
        !          5477: echo "$as_me:5477: result: $ac_cv_lib_prot_getprpwnam_lx" >&5
        !          5478: echo "${ECHO_T}$ac_cv_lib_prot_getprpwnam_lx" >&6
        !          5479: if test $ac_cv_lib_prot_getprpwnam_lx = yes; then
        !          5480:   cat >>confdefs.h <<\EOF
1.1       millert  5481: #define HAVE_GETPRPWNAM 1
                   5482: EOF
                   5483:  SUDO_LIBS="${SUDO_LIBS} -lprot -lx"; LIBS="${LIBS} -lprot -lx"; SECUREWARE=1
                   5484: fi
                   5485:
1.9     ! millert  5486:                    echo "$as_me:5486: checking for getspnam in -lgen" >&5
        !          5487: echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6
        !          5488: if test "${ac_cv_lib_gen_getspnam+set}" = set; then
        !          5489:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  5490: else
1.9     ! millert  5491:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  5492: LIBS="-lgen  $LIBS"
1.9     ! millert  5493: cat >conftest.$ac_ext <<_ACEOF
        !          5494: #line 5494 "configure"
1.1       millert  5495: #include "confdefs.h"
1.9     ! millert  5496:
1.1       millert  5497: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  5498: #ifdef __cplusplus
        !          5499: extern "C"
        !          5500: #endif
1.1       millert  5501: /* We use char because int might match the return type of a gcc2
1.9     ! millert  5502:    builtin and then its argument prototype would still apply.  */
        !          5503: char getspnam ();
        !          5504: int
        !          5505: main ()
        !          5506: {
        !          5507: getspnam ();
        !          5508:   ;
        !          5509:   return 0;
        !          5510: }
        !          5511: _ACEOF
        !          5512: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5513: if { (eval echo "$as_me:5513: \"$ac_link\"") >&5
        !          5514:   (eval $ac_link) 2>&5
        !          5515:   ac_status=$?
        !          5516:   echo "$as_me:5516: \$? = $ac_status" >&5
        !          5517:   (exit $ac_status); } &&
        !          5518:          { ac_try='test -s conftest$ac_exeext'
        !          5519:   { (eval echo "$as_me:5519: \"$ac_try\"") >&5
        !          5520:   (eval $ac_try) 2>&5
        !          5521:   ac_status=$?
        !          5522:   echo "$as_me:5522: \$? = $ac_status" >&5
        !          5523:   (exit $ac_status); }; }; then
        !          5524:   ac_cv_lib_gen_getspnam=yes
        !          5525: else
        !          5526:   echo "$as_me: failed program was:" >&5
        !          5527: cat conftest.$ac_ext >&5
        !          5528: ac_cv_lib_gen_getspnam=no
        !          5529: fi
        !          5530: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          5531: LIBS=$ac_check_lib_save_LIBS
        !          5532: fi
        !          5533: echo "$as_me:5533: result: $ac_cv_lib_gen_getspnam" >&5
        !          5534: echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6
        !          5535: if test $ac_cv_lib_gen_getspnam = yes; then
        !          5536:   cat >>confdefs.h <<\EOF
1.1       millert  5537: #define HAVE_GETSPNAM 1
                   5538: EOF
                   5539:  SUDO_LIBS="${SUDO_LIBS} -lgen"; LIBS="${LIBS} -lgen"
                   5540: fi
                   5541:
                   5542:                    CHECKSHADOW="false"
                   5543:                fi
1.9     ! millert  5544:                test -n "$mansectsu" || mansectsu=1m
        !          5545:                test -n "$mansectform" || mansectform=4
1.1       millert  5546:                ;;
                   5547:     *-sequent-sysv*)
                   5548:                if test "$CHECKSHADOW" = "true"; then
1.9     ! millert  5549:                    echo "$as_me:5549: checking for getspnam in -lsec" >&5
        !          5550: echo $ECHO_N "checking for getspnam in -lsec... $ECHO_C" >&6
        !          5551: if test "${ac_cv_lib_sec_getspnam+set}" = set; then
        !          5552:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  5553: else
1.9     ! millert  5554:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  5555: LIBS="-lsec  $LIBS"
1.9     ! millert  5556: cat >conftest.$ac_ext <<_ACEOF
        !          5557: #line 5557 "configure"
1.1       millert  5558: #include "confdefs.h"
1.9     ! millert  5559:
1.1       millert  5560: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  5561: #ifdef __cplusplus
        !          5562: extern "C"
        !          5563: #endif
1.1       millert  5564: /* We use char because int might match the return type of a gcc2
1.9     ! millert  5565:    builtin and then its argument prototype would still apply.  */
        !          5566: char getspnam ();
        !          5567: int
        !          5568: main ()
        !          5569: {
        !          5570: getspnam ();
        !          5571:   ;
        !          5572:   return 0;
        !          5573: }
        !          5574: _ACEOF
        !          5575: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5576: if { (eval echo "$as_me:5576: \"$ac_link\"") >&5
        !          5577:   (eval $ac_link) 2>&5
        !          5578:   ac_status=$?
        !          5579:   echo "$as_me:5579: \$? = $ac_status" >&5
        !          5580:   (exit $ac_status); } &&
        !          5581:          { ac_try='test -s conftest$ac_exeext'
        !          5582:   { (eval echo "$as_me:5582: \"$ac_try\"") >&5
        !          5583:   (eval $ac_try) 2>&5
        !          5584:   ac_status=$?
        !          5585:   echo "$as_me:5585: \$? = $ac_status" >&5
        !          5586:   (exit $ac_status); }; }; then
        !          5587:   ac_cv_lib_sec_getspnam=yes
        !          5588: else
        !          5589:   echo "$as_me: failed program was:" >&5
        !          5590: cat conftest.$ac_ext >&5
        !          5591: ac_cv_lib_sec_getspnam=no
        !          5592: fi
        !          5593: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          5594: LIBS=$ac_check_lib_save_LIBS
        !          5595: fi
        !          5596: echo "$as_me:5596: result: $ac_cv_lib_sec_getspnam" >&5
        !          5597: echo "${ECHO_T}$ac_cv_lib_sec_getspnam" >&6
        !          5598: if test $ac_cv_lib_sec_getspnam = yes; then
        !          5599:   cat >>confdefs.h <<\EOF
1.1       millert  5600: #define HAVE_GETSPNAM 1
                   5601: EOF
                   5602:  SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec"
                   5603: fi
                   5604:
                   5605:                    CHECKSHADOW="false"
                   5606:                fi
1.9     ! millert  5607:                test -n "$mansectsu" || mansectsu=1m
        !          5608:                test -n "$mansectform" || mansectform=4
        !          5609:                ;;
        !          5610:     *-ncr-sysv4*|*-ncr-sysvr4*)
        !          5611:                echo "$as_me:5611: checking for strcasecmp in -lc89" >&5
        !          5612: echo $ECHO_N "checking for strcasecmp in -lc89... $ECHO_C" >&6
        !          5613: if test "${ac_cv_lib_c89_strcasecmp+set}" = set; then
        !          5614:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          5615: else
        !          5616:   ac_check_lib_save_LIBS=$LIBS
        !          5617: LIBS="-lc89  $LIBS"
        !          5618: cat >conftest.$ac_ext <<_ACEOF
        !          5619: #line 5619 "configure"
        !          5620: #include "confdefs.h"
        !          5621:
        !          5622: /* Override any gcc2 internal prototype to avoid an error.  */
        !          5623: #ifdef __cplusplus
        !          5624: extern "C"
        !          5625: #endif
        !          5626: /* We use char because int might match the return type of a gcc2
        !          5627:    builtin and then its argument prototype would still apply.  */
        !          5628: char strcasecmp ();
        !          5629: int
        !          5630: main ()
        !          5631: {
        !          5632: strcasecmp ();
        !          5633:   ;
        !          5634:   return 0;
        !          5635: }
        !          5636: _ACEOF
        !          5637: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5638: if { (eval echo "$as_me:5638: \"$ac_link\"") >&5
        !          5639:   (eval $ac_link) 2>&5
        !          5640:   ac_status=$?
        !          5641:   echo "$as_me:5641: \$? = $ac_status" >&5
        !          5642:   (exit $ac_status); } &&
        !          5643:          { ac_try='test -s conftest$ac_exeext'
        !          5644:   { (eval echo "$as_me:5644: \"$ac_try\"") >&5
        !          5645:   (eval $ac_try) 2>&5
        !          5646:   ac_status=$?
        !          5647:   echo "$as_me:5647: \$? = $ac_status" >&5
        !          5648:   (exit $ac_status); }; }; then
        !          5649:   ac_cv_lib_c89_strcasecmp=yes
        !          5650: else
        !          5651:   echo "$as_me: failed program was:" >&5
        !          5652: cat conftest.$ac_ext >&5
        !          5653: ac_cv_lib_c89_strcasecmp=no
        !          5654: fi
        !          5655: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          5656: LIBS=$ac_check_lib_save_LIBS
        !          5657: fi
        !          5658: echo "$as_me:5658: result: $ac_cv_lib_c89_strcasecmp" >&5
        !          5659: echo "${ECHO_T}$ac_cv_lib_c89_strcasecmp" >&6
        !          5660: if test $ac_cv_lib_c89_strcasecmp = yes; then
        !          5661:   cat >>confdefs.h <<\EOF
        !          5662: #define HAVE_STRCASECMP 1
        !          5663: EOF
        !          5664:  LIBS="${LIBS} -lc89"; ac_cv_func_strcasecmp=yes
        !          5665: fi
        !          5666:
        !          5667:                test -n "$mansectsu" || mansectsu=1m
        !          5668:                test -n "$mansectform" || mansectform=4
1.1       millert  5669:                ;;
1.9     ! millert  5670:     *-ccur-sysv4*|*-ccur-sysvr4*)
1.1       millert  5671:                LIBS="${LIBS} -lgen"
                   5672:                SUDO_LIBS="${SUDO_LIBS} -lgen"
1.9     ! millert  5673:                test -n "$mansectsu" || mansectsu=1m
        !          5674:                test -n "$mansectform" || mansectform=4
1.1       millert  5675:                ;;
                   5676:     *-*-bsdi*)
1.6       millert  5677:                # Use shlicc for BSD/OS [23].x unless asked to do otherwise
                   5678:                if test "${with_CC+set}" != set -a "$ac_cv_prog_CC" = gcc; then
                   5679:                    case "$OSREV" in
                   5680:                        2|3)    echo 'using shlicc as CC'
                   5681:                                ac_cv_prog_CC=shlicc
                   5682:                                CC="$ac_cv_prog_CC"
                   5683:                                ;;
                   5684:                    esac
                   5685:                fi
                   5686:                ;;
                   5687:     *-*-freebsd*)
1.7       millert  5688:                if test "$with_logincap" = "yes"; then
                   5689:                    SUDO_LIBS="${SUDO_LIBS} -lutil"
                   5690:                fi
1.6       millert  5691:                if test "$with_skey" = "yes"; then
                   5692:                     SUDO_LIBS="${SUDO_LIBS} -lmd"
                   5693:                fi
                   5694:                if test "$CHECKSHADOW" = "true"; then
                   5695:                    CHECKSHADOW="false"
1.1       millert  5696:                fi
                   5697:                ;;
1.9     ! millert  5698:     *-*-*openbsd*)
        !          5699:                BROKEN_SETREUID=yes
        !          5700:                if test "$CHECKSHADOW" = "true"; then
        !          5701:                    CHECKSHADOW="false"
        !          5702:                fi
        !          5703:                ;;
        !          5704:     *-*-*netbsd*)
        !          5705:                BROKEN_SETREUID=yes
        !          5706:                if test "$CHECKSHADOW" = "true"; then
        !          5707:                    CHECKSHADOW="false"
        !          5708:                fi
        !          5709:                ;;
1.1       millert  5710:     *-*-*bsd*)
                   5711:                if test "$CHECKSHADOW" = "true"; then
                   5712:                    CHECKSHADOW="false"
                   5713:                fi
                   5714:                ;;
1.9     ! millert  5715:     *-*-nextstep*)
        !          5716:                # lockf() on is broken on the NeXT -- use flock instead
        !          5717:                ac_cv_func_lockf=no
        !          5718:                ac_cv_func_flock=yes
        !          5719:                ;;
1.6       millert  5720:     *-*-sysv*)
1.9     ! millert  5721:                test -n "$mansectsu" || mansectsu=1m
        !          5722:                test -n "$mansectform" || mansectform=4
1.6       millert  5723:                ;;
1.1       millert  5724: esac
                   5725:
1.6       millert  5726: test -n "$mansectsu" || mansectsu=8
                   5727: test -n "$mansectform" || mansectform=5
                   5728:
1.1       millert  5729: if test "$CHECKSHADOW" = "true"; then
1.9     ! millert  5730:
        !          5731: for ac_func in getspnam
        !          5732: do
        !          5733: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          5734: echo "$as_me:5734: checking for $ac_func" >&5
        !          5735: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          5736: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          5737:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  5738: else
1.9     ! millert  5739:   cat >conftest.$ac_ext <<_ACEOF
        !          5740: #line 5740 "configure"
1.1       millert  5741: #include "confdefs.h"
                   5742: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  5743:     which can conflict with char $ac_func (); below.  */
1.1       millert  5744: #include <assert.h>
                   5745: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  5746: #ifdef __cplusplus
        !          5747: extern "C"
        !          5748: #endif
1.1       millert  5749: /* We use char because int might match the return type of a gcc2
1.9     ! millert  5750:    builtin and then its argument prototype would still apply.  */
        !          5751: char $ac_func ();
        !          5752: char (*f) ();
1.1       millert  5753:
1.9     ! millert  5754: int
        !          5755: main ()
        !          5756: {
1.1       millert  5757: /* The GNU C library defines this for functions which it implements
                   5758:     to always fail with ENOSYS.  Some functions are actually named
                   5759:     something starting with __ and the normal name is an alias.  */
1.9     ! millert  5760: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.1       millert  5761: choke me
                   5762: #else
1.9     ! millert  5763: f = $ac_func;
1.1       millert  5764: #endif
                   5765:
1.9     ! millert  5766:   ;
        !          5767:   return 0;
        !          5768: }
        !          5769: _ACEOF
        !          5770: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5771: if { (eval echo "$as_me:5771: \"$ac_link\"") >&5
        !          5772:   (eval $ac_link) 2>&5
        !          5773:   ac_status=$?
        !          5774:   echo "$as_me:5774: \$? = $ac_status" >&5
        !          5775:   (exit $ac_status); } &&
        !          5776:          { ac_try='test -s conftest$ac_exeext'
        !          5777:   { (eval echo "$as_me:5777: \"$ac_try\"") >&5
        !          5778:   (eval $ac_try) 2>&5
        !          5779:   ac_status=$?
        !          5780:   echo "$as_me:5780: \$? = $ac_status" >&5
        !          5781:   (exit $ac_status); }; }; then
        !          5782:   eval "$as_ac_var=yes"
        !          5783: else
        !          5784:   echo "$as_me: failed program was:" >&5
        !          5785: cat conftest.$ac_ext >&5
        !          5786: eval "$as_ac_var=no"
        !          5787: fi
        !          5788: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          5789: fi
        !          5790: echo "$as_me:5790: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          5791: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          5792: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          5793:   cat >>confdefs.h <<EOF
        !          5794: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  5795: EOF
1.9     ! millert  5796:  CHECKSHADOW="false"
1.1       millert  5797: else
1.9     ! millert  5798:   echo "$as_me:5798: checking for getspnam in -lgen" >&5
        !          5799: echo $ECHO_N "checking for getspnam in -lgen... $ECHO_C" >&6
        !          5800: if test "${ac_cv_lib_gen_getspnam+set}" = set; then
        !          5801:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          5802: else
        !          5803:   ac_check_lib_save_LIBS=$LIBS
        !          5804: LIBS="-lgen  $LIBS"
        !          5805: cat >conftest.$ac_ext <<_ACEOF
        !          5806: #line 5806 "configure"
        !          5807: #include "confdefs.h"
        !          5808:
        !          5809: /* Override any gcc2 internal prototype to avoid an error.  */
        !          5810: #ifdef __cplusplus
        !          5811: extern "C"
        !          5812: #endif
        !          5813: /* We use char because int might match the return type of a gcc2
        !          5814:    builtin and then its argument prototype would still apply.  */
        !          5815: char getspnam ();
        !          5816: int
        !          5817: main ()
        !          5818: {
        !          5819: getspnam ();
        !          5820:   ;
        !          5821:   return 0;
        !          5822: }
        !          5823: _ACEOF
        !          5824: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5825: if { (eval echo "$as_me:5825: \"$ac_link\"") >&5
        !          5826:   (eval $ac_link) 2>&5
        !          5827:   ac_status=$?
        !          5828:   echo "$as_me:5828: \$? = $ac_status" >&5
        !          5829:   (exit $ac_status); } &&
        !          5830:          { ac_try='test -s conftest$ac_exeext'
        !          5831:   { (eval echo "$as_me:5831: \"$ac_try\"") >&5
        !          5832:   (eval $ac_try) 2>&5
        !          5833:   ac_status=$?
        !          5834:   echo "$as_me:5834: \$? = $ac_status" >&5
        !          5835:   (exit $ac_status); }; }; then
        !          5836:   ac_cv_lib_gen_getspnam=yes
        !          5837: else
        !          5838:   echo "$as_me: failed program was:" >&5
        !          5839: cat conftest.$ac_ext >&5
        !          5840: ac_cv_lib_gen_getspnam=no
        !          5841: fi
        !          5842: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          5843: LIBS=$ac_check_lib_save_LIBS
        !          5844: fi
        !          5845: echo "$as_me:5845: result: $ac_cv_lib_gen_getspnam" >&5
        !          5846: echo "${ECHO_T}$ac_cv_lib_gen_getspnam" >&6
        !          5847: if test $ac_cv_lib_gen_getspnam = yes; then
1.1       millert  5848:
1.9     ! millert  5849: cat >>confdefs.h <<\EOF
1.1       millert  5850: #define HAVE_GETSPNAM 1
                   5851: EOF
1.9     ! millert  5852:  SUDO_LIBS="${SUDO_LIBS} -lgen"; LIBS="${LIBS} -lgen"
        !          5853: fi
        !          5854:
1.1       millert  5855: fi
1.9     ! millert  5856: done
1.1       millert  5857:
                   5858: fi
                   5859: if test "$CHECKSHADOW" = "true"; then
1.9     ! millert  5860:     echo "$as_me:5860: checking for getprpwnam" >&5
        !          5861: echo $ECHO_N "checking for getprpwnam... $ECHO_C" >&6
        !          5862: if test "${ac_cv_func_getprpwnam+set}" = set; then
        !          5863:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  5864: else
1.9     ! millert  5865:   cat >conftest.$ac_ext <<_ACEOF
        !          5866: #line 5866 "configure"
1.1       millert  5867: #include "confdefs.h"
                   5868: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  5869:     which can conflict with char getprpwnam (); below.  */
1.1       millert  5870: #include <assert.h>
                   5871: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  5872: #ifdef __cplusplus
        !          5873: extern "C"
        !          5874: #endif
1.1       millert  5875: /* We use char because int might match the return type of a gcc2
1.9     ! millert  5876:    builtin and then its argument prototype would still apply.  */
        !          5877: char getprpwnam ();
        !          5878: char (*f) ();
1.1       millert  5879:
1.9     ! millert  5880: int
        !          5881: main ()
        !          5882: {
1.1       millert  5883: /* The GNU C library defines this for functions which it implements
                   5884:     to always fail with ENOSYS.  Some functions are actually named
                   5885:     something starting with __ and the normal name is an alias.  */
                   5886: #if defined (__stub_getprpwnam) || defined (__stub___getprpwnam)
                   5887: choke me
                   5888: #else
1.9     ! millert  5889: f = getprpwnam;
1.1       millert  5890: #endif
                   5891:
1.9     ! millert  5892:   ;
        !          5893:   return 0;
        !          5894: }
        !          5895: _ACEOF
        !          5896: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5897: if { (eval echo "$as_me:5897: \"$ac_link\"") >&5
        !          5898:   (eval $ac_link) 2>&5
        !          5899:   ac_status=$?
        !          5900:   echo "$as_me:5900: \$? = $ac_status" >&5
        !          5901:   (exit $ac_status); } &&
        !          5902:          { ac_try='test -s conftest$ac_exeext'
        !          5903:   { (eval echo "$as_me:5903: \"$ac_try\"") >&5
        !          5904:   (eval $ac_try) 2>&5
        !          5905:   ac_status=$?
        !          5906:   echo "$as_me:5906: \$? = $ac_status" >&5
        !          5907:   (exit $ac_status); }; }; then
        !          5908:   ac_cv_func_getprpwnam=yes
        !          5909: else
        !          5910:   echo "$as_me: failed program was:" >&5
        !          5911: cat conftest.$ac_ext >&5
        !          5912: ac_cv_func_getprpwnam=no
        !          5913: fi
        !          5914: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          5915: fi
        !          5916: echo "$as_me:5916: result: $ac_cv_func_getprpwnam" >&5
        !          5917: echo "${ECHO_T}$ac_cv_func_getprpwnam" >&6
        !          5918: if test $ac_cv_func_getprpwnam = yes; then
        !          5919:   cat >>confdefs.h <<\EOF
1.1       millert  5920: #define HAVE_GETPRPWNAM 1
                   5921: EOF
1.9     ! millert  5922:  CHECKSHADOW="false"; SECUREWARE=1, echo "$as_me:5922: checking for getprpwnam in -lsec" >&5
        !          5923: echo $ECHO_N "checking for getprpwnam in -lsec... $ECHO_C" >&6
        !          5924: if test "${ac_cv_lib_sec_getprpwnam+set}" = set; then
        !          5925:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  5926: else
1.9     ! millert  5927:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  5928: LIBS="-lsec  $LIBS"
1.9     ! millert  5929: cat >conftest.$ac_ext <<_ACEOF
        !          5930: #line 5930 "configure"
1.1       millert  5931: #include "confdefs.h"
1.9     ! millert  5932:
1.1       millert  5933: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  5934: #ifdef __cplusplus
        !          5935: extern "C"
        !          5936: #endif
1.1       millert  5937: /* We use char because int might match the return type of a gcc2
1.9     ! millert  5938:    builtin and then its argument prototype would still apply.  */
        !          5939: char getprpwnam ();
        !          5940: int
        !          5941: main ()
        !          5942: {
        !          5943: getprpwnam ();
        !          5944:   ;
        !          5945:   return 0;
        !          5946: }
        !          5947: _ACEOF
        !          5948: rm -f conftest.$ac_objext conftest$ac_exeext
        !          5949: if { (eval echo "$as_me:5949: \"$ac_link\"") >&5
        !          5950:   (eval $ac_link) 2>&5
        !          5951:   ac_status=$?
        !          5952:   echo "$as_me:5952: \$? = $ac_status" >&5
        !          5953:   (exit $ac_status); } &&
        !          5954:          { ac_try='test -s conftest$ac_exeext'
        !          5955:   { (eval echo "$as_me:5955: \"$ac_try\"") >&5
        !          5956:   (eval $ac_try) 2>&5
        !          5957:   ac_status=$?
        !          5958:   echo "$as_me:5958: \$? = $ac_status" >&5
        !          5959:   (exit $ac_status); }; }; then
        !          5960:   ac_cv_lib_sec_getprpwnam=yes
        !          5961: else
        !          5962:   echo "$as_me: failed program was:" >&5
        !          5963: cat conftest.$ac_ext >&5
        !          5964: ac_cv_lib_sec_getprpwnam=no
        !          5965: fi
        !          5966: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          5967: LIBS=$ac_check_lib_save_LIBS
        !          5968: fi
        !          5969: echo "$as_me:5969: result: $ac_cv_lib_sec_getprpwnam" >&5
        !          5970: echo "${ECHO_T}$ac_cv_lib_sec_getprpwnam" >&6
        !          5971: if test $ac_cv_lib_sec_getprpwnam = yes; then
        !          5972:   cat >>confdefs.h <<\EOF
1.1       millert  5973: #define HAVE_GETPRPWNAM 1
                   5974: EOF
                   5975:  CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lsec"; LIBS="${LIBS} -lsec"
                   5976: else
1.9     ! millert  5977:   echo "$as_me:5977: checking for getprpwnam in -lsecurity" >&5
        !          5978: echo $ECHO_N "checking for getprpwnam in -lsecurity... $ECHO_C" >&6
        !          5979: if test "${ac_cv_lib_security_getprpwnam+set}" = set; then
        !          5980:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  5981: else
1.9     ! millert  5982:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  5983: LIBS="-lsecurity  $LIBS"
1.9     ! millert  5984: cat >conftest.$ac_ext <<_ACEOF
        !          5985: #line 5985 "configure"
1.1       millert  5986: #include "confdefs.h"
1.9     ! millert  5987:
1.1       millert  5988: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  5989: #ifdef __cplusplus
        !          5990: extern "C"
        !          5991: #endif
1.1       millert  5992: /* We use char because int might match the return type of a gcc2
1.9     ! millert  5993:    builtin and then its argument prototype would still apply.  */
        !          5994: char getprpwnam ();
        !          5995: int
        !          5996: main ()
        !          5997: {
        !          5998: getprpwnam ();
        !          5999:   ;
        !          6000:   return 0;
        !          6001: }
        !          6002: _ACEOF
        !          6003: rm -f conftest.$ac_objext conftest$ac_exeext
        !          6004: if { (eval echo "$as_me:6004: \"$ac_link\"") >&5
        !          6005:   (eval $ac_link) 2>&5
        !          6006:   ac_status=$?
        !          6007:   echo "$as_me:6007: \$? = $ac_status" >&5
        !          6008:   (exit $ac_status); } &&
        !          6009:          { ac_try='test -s conftest$ac_exeext'
        !          6010:   { (eval echo "$as_me:6010: \"$ac_try\"") >&5
        !          6011:   (eval $ac_try) 2>&5
        !          6012:   ac_status=$?
        !          6013:   echo "$as_me:6013: \$? = $ac_status" >&5
        !          6014:   (exit $ac_status); }; }; then
        !          6015:   ac_cv_lib_security_getprpwnam=yes
        !          6016: else
        !          6017:   echo "$as_me: failed program was:" >&5
        !          6018: cat conftest.$ac_ext >&5
        !          6019: ac_cv_lib_security_getprpwnam=no
        !          6020: fi
        !          6021: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          6022: LIBS=$ac_check_lib_save_LIBS
        !          6023: fi
        !          6024: echo "$as_me:6024: result: $ac_cv_lib_security_getprpwnam" >&5
        !          6025: echo "${ECHO_T}$ac_cv_lib_security_getprpwnam" >&6
        !          6026: if test $ac_cv_lib_security_getprpwnam = yes; then
        !          6027:   cat >>confdefs.h <<\EOF
1.1       millert  6028: #define HAVE_GETPRPWNAM 1
                   6029: EOF
                   6030:  CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lsecurity"; LIBS="${LIBS} -lsecurity"
                   6031: else
1.9     ! millert  6032:   echo "$as_me:6032: checking for getprpwnam in -lprot" >&5
        !          6033: echo $ECHO_N "checking for getprpwnam in -lprot... $ECHO_C" >&6
        !          6034: if test "${ac_cv_lib_prot_getprpwnam+set}" = set; then
        !          6035:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  6036: else
1.9     ! millert  6037:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  6038: LIBS="-lprot  $LIBS"
1.9     ! millert  6039: cat >conftest.$ac_ext <<_ACEOF
        !          6040: #line 6040 "configure"
1.1       millert  6041: #include "confdefs.h"
1.9     ! millert  6042:
1.1       millert  6043: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  6044: #ifdef __cplusplus
        !          6045: extern "C"
        !          6046: #endif
1.1       millert  6047: /* We use char because int might match the return type of a gcc2
1.9     ! millert  6048:    builtin and then its argument prototype would still apply.  */
        !          6049: char getprpwnam ();
        !          6050: int
        !          6051: main ()
        !          6052: {
        !          6053: getprpwnam ();
        !          6054:   ;
        !          6055:   return 0;
        !          6056: }
        !          6057: _ACEOF
        !          6058: rm -f conftest.$ac_objext conftest$ac_exeext
        !          6059: if { (eval echo "$as_me:6059: \"$ac_link\"") >&5
        !          6060:   (eval $ac_link) 2>&5
        !          6061:   ac_status=$?
        !          6062:   echo "$as_me:6062: \$? = $ac_status" >&5
        !          6063:   (exit $ac_status); } &&
        !          6064:          { ac_try='test -s conftest$ac_exeext'
        !          6065:   { (eval echo "$as_me:6065: \"$ac_try\"") >&5
        !          6066:   (eval $ac_try) 2>&5
        !          6067:   ac_status=$?
        !          6068:   echo "$as_me:6068: \$? = $ac_status" >&5
        !          6069:   (exit $ac_status); }; }; then
        !          6070:   ac_cv_lib_prot_getprpwnam=yes
        !          6071: else
        !          6072:   echo "$as_me: failed program was:" >&5
        !          6073: cat conftest.$ac_ext >&5
        !          6074: ac_cv_lib_prot_getprpwnam=no
        !          6075: fi
        !          6076: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          6077: LIBS=$ac_check_lib_save_LIBS
        !          6078: fi
        !          6079: echo "$as_me:6079: result: $ac_cv_lib_prot_getprpwnam" >&5
        !          6080: echo "${ECHO_T}$ac_cv_lib_prot_getprpwnam" >&6
        !          6081: if test $ac_cv_lib_prot_getprpwnam = yes; then
        !          6082:   cat >>confdefs.h <<\EOF
1.1       millert  6083: #define HAVE_GETPRPWNAM 1
                   6084: EOF
                   6085:  CHECKSHADOW="false"; SECUREWARE=1; SUDO_LIBS="${SUDO_LIBS} -lprot"; LIBS="${LIBS} -lprot"
                   6086: fi
                   6087:
                   6088: fi
                   6089:
                   6090: fi
                   6091:
                   6092: fi
                   6093:
                   6094: fi
                   6095:
1.9     ! millert  6096: if test $ac_cv_c_compiler_gnu = yes; then
        !          6097:     echo "$as_me:6097: checking whether $CC needs -traditional" >&5
        !          6098: echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
        !          6099: if test "${ac_cv_prog_gcc_traditional+set}" = set; then
        !          6100:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  6101: else
                   6102:     ac_pattern="Autoconf.*'x'"
1.9     ! millert  6103:   cat >conftest.$ac_ext <<_ACEOF
        !          6104: #line 6104 "configure"
1.1       millert  6105: #include "confdefs.h"
                   6106: #include <sgtty.h>
                   6107: Autoconf TIOCGETP
1.9     ! millert  6108: _ACEOF
1.1       millert  6109: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6110:   egrep "$ac_pattern" >/dev/null 2>&1; then
                   6111:   ac_cv_prog_gcc_traditional=yes
                   6112: else
                   6113:   ac_cv_prog_gcc_traditional=no
                   6114: fi
                   6115: rm -f conftest*
                   6116:
                   6117:   if test $ac_cv_prog_gcc_traditional = no; then
1.9     ! millert  6118:     cat >conftest.$ac_ext <<_ACEOF
        !          6119: #line 6119 "configure"
1.1       millert  6120: #include "confdefs.h"
                   6121: #include <termio.h>
                   6122: Autoconf TCGETA
1.9     ! millert  6123: _ACEOF
1.1       millert  6124: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6125:   egrep "$ac_pattern" >/dev/null 2>&1; then
                   6126:   ac_cv_prog_gcc_traditional=yes
                   6127: fi
                   6128: rm -f conftest*
                   6129:
                   6130:   fi
                   6131: fi
1.9     ! millert  6132: echo "$as_me:6132: result: $ac_cv_prog_gcc_traditional" >&5
        !          6133: echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
1.1       millert  6134:   if test $ac_cv_prog_gcc_traditional = yes; then
                   6135:     CC="$CC -traditional"
                   6136:   fi
                   6137: fi
                   6138:
1.9     ! millert  6139: echo "$as_me:6139: checking for an ANSI C-conforming const" >&5
        !          6140: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
        !          6141: if test "${ac_cv_c_const+set}" = set; then
        !          6142:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6143: else
        !          6144:   cat >conftest.$ac_ext <<_ACEOF
        !          6145: #line 6145 "configure"
        !          6146: #include "confdefs.h"
        !          6147:
        !          6148: int
        !          6149: main ()
        !          6150: {
        !          6151: /* FIXME: Include the comments suggested by Paul. */
        !          6152: #ifndef __cplusplus
        !          6153:   /* Ultrix mips cc rejects this.  */
        !          6154:   typedef int charset[2];
        !          6155:   const charset x;
        !          6156:   /* SunOS 4.1.1 cc rejects this.  */
        !          6157:   char const *const *ccp;
        !          6158:   char **p;
        !          6159:   /* NEC SVR4.0.2 mips cc rejects this.  */
        !          6160:   struct point {int x, y;};
        !          6161:   static struct point const zero = {0,0};
        !          6162:   /* AIX XL C 1.02.0.0 rejects this.
        !          6163:      It does not let you subtract one const X* pointer from another in
        !          6164:      an arm of an if-expression whose if-part is not a constant
        !          6165:      expression */
        !          6166:   const char *g = "string";
        !          6167:   ccp = &g + (g ? g-g : 0);
        !          6168:   /* HPUX 7.0 cc rejects these. */
        !          6169:   ++ccp;
        !          6170:   p = (char**) ccp;
        !          6171:   ccp = (char const *const *) p;
        !          6172:   { /* SCO 3.2v4 cc rejects this.  */
        !          6173:     char *t;
        !          6174:     char const *s = 0 ? (char *) 0 : (char const *) 0;
        !          6175:
        !          6176:     *t++ = 0;
        !          6177:   }
        !          6178:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
        !          6179:     int x[] = {25, 17};
        !          6180:     const int *foo = &x[0];
        !          6181:     ++foo;
        !          6182:   }
        !          6183:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
        !          6184:     typedef const int *iptr;
        !          6185:     iptr p = 0;
        !          6186:     ++p;
        !          6187:   }
        !          6188:   { /* AIX XL C 1.02.0.0 rejects this saying
        !          6189:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
        !          6190:     struct s { int j; const int *ap[3]; };
        !          6191:     struct s *b; b->j = 5;
        !          6192:   }
        !          6193:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
        !          6194:     const int foo = 10;
        !          6195:   }
        !          6196: #endif
        !          6197:
        !          6198:   ;
        !          6199:   return 0;
1.1       millert  6200: }
1.9     ! millert  6201: _ACEOF
        !          6202: rm -f conftest.$ac_objext
        !          6203: if { (eval echo "$as_me:6203: \"$ac_compile\"") >&5
        !          6204:   (eval $ac_compile) 2>&5
        !          6205:   ac_status=$?
        !          6206:   echo "$as_me:6206: \$? = $ac_status" >&5
        !          6207:   (exit $ac_status); } &&
        !          6208:          { ac_try='test -s conftest.$ac_objext'
        !          6209:   { (eval echo "$as_me:6209: \"$ac_try\"") >&5
        !          6210:   (eval $ac_try) 2>&5
        !          6211:   ac_status=$?
        !          6212:   echo "$as_me:6212: \$? = $ac_status" >&5
        !          6213:   (exit $ac_status); }; }; then
1.1       millert  6214:   ac_cv_c_const=yes
                   6215: else
1.9     ! millert  6216:   echo "$as_me: failed program was:" >&5
        !          6217: cat conftest.$ac_ext >&5
        !          6218: ac_cv_c_const=no
        !          6219: fi
        !          6220: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       millert  6221: fi
1.9     ! millert  6222: echo "$as_me:6222: result: $ac_cv_c_const" >&5
        !          6223: echo "${ECHO_T}$ac_cv_c_const" >&6
        !          6224: if test $ac_cv_c_const = no; then
        !          6225:
        !          6226: cat >>confdefs.h <<\EOF
        !          6227: #define const
        !          6228: EOF
        !          6229:
1.1       millert  6230: fi
                   6231:
1.9     ! millert  6232: echo "$as_me:6232: checking for working volatile" >&5
        !          6233: echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
        !          6234: if test "${ac_cv_c_volatile+set}" = set; then
        !          6235:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6236: else
        !          6237:   cat >conftest.$ac_ext <<_ACEOF
        !          6238: #line 6238 "configure"
        !          6239: #include "confdefs.h"
        !          6240:
        !          6241: int
        !          6242: main ()
        !          6243: {
        !          6244:
        !          6245: volatile int x;
        !          6246: int * volatile y;
        !          6247:   ;
        !          6248:   return 0;
        !          6249: }
        !          6250: _ACEOF
        !          6251: rm -f conftest.$ac_objext
        !          6252: if { (eval echo "$as_me:6252: \"$ac_compile\"") >&5
        !          6253:   (eval $ac_compile) 2>&5
        !          6254:   ac_status=$?
        !          6255:   echo "$as_me:6255: \$? = $ac_status" >&5
        !          6256:   (exit $ac_status); } &&
        !          6257:          { ac_try='test -s conftest.$ac_objext'
        !          6258:   { (eval echo "$as_me:6258: \"$ac_try\"") >&5
        !          6259:   (eval $ac_try) 2>&5
        !          6260:   ac_status=$?
        !          6261:   echo "$as_me:6261: \$? = $ac_status" >&5
        !          6262:   (exit $ac_status); }; }; then
        !          6263:   ac_cv_c_volatile=yes
        !          6264: else
        !          6265:   echo "$as_me: failed program was:" >&5
        !          6266: cat conftest.$ac_ext >&5
        !          6267: ac_cv_c_volatile=no
        !          6268: fi
        !          6269: rm -f conftest.$ac_objext conftest.$ac_ext
        !          6270: fi
        !          6271: echo "$as_me:6271: result: $ac_cv_c_volatile" >&5
        !          6272: echo "${ECHO_T}$ac_cv_c_volatile" >&6
        !          6273: if test $ac_cv_c_volatile = no; then
        !          6274:
        !          6275: cat >>confdefs.h <<\EOF
        !          6276: #define volatile
1.1       millert  6277: EOF
                   6278:
                   6279: fi
                   6280:
                   6281: for ac_prog in 'bison -y' byacc
                   6282: do
1.9     ! millert  6283:   # Extract the first word of "$ac_prog", so it can be a program name with args.
1.1       millert  6284: set dummy $ac_prog; ac_word=$2
1.9     ! millert  6285: echo "$as_me:6285: checking for $ac_word" >&5
        !          6286: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
        !          6287: if test "${ac_cv_prog_YACC+set}" = set; then
        !          6288:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  6289: else
                   6290:   if test -n "$YACC"; then
                   6291:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   6292: else
1.9     ! millert  6293:   ac_save_IFS=$IFS; IFS=$ac_path_separator
        !          6294: ac_dummy="$PATH"
        !          6295: for ac_dir in $ac_dummy; do
        !          6296:   IFS=$ac_save_IFS
        !          6297:   test -z "$ac_dir" && ac_dir=.
        !          6298:   $as_executable_p "$ac_dir/$ac_word" || continue
        !          6299: ac_cv_prog_YACC="$ac_prog"
        !          6300: echo "$as_me:6300: found $ac_dir/$ac_word" >&5
        !          6301: break
        !          6302: done
        !          6303:
1.1       millert  6304: fi
                   6305: fi
1.9     ! millert  6306: YACC=$ac_cv_prog_YACC
1.1       millert  6307: if test -n "$YACC"; then
1.9     ! millert  6308:   echo "$as_me:6308: result: $YACC" >&5
        !          6309: echo "${ECHO_T}$YACC" >&6
1.1       millert  6310: else
1.9     ! millert  6311:   echo "$as_me:6311: result: no" >&5
        !          6312: echo "${ECHO_T}no" >&6
1.1       millert  6313: fi
                   6314:
1.9     ! millert  6315:   test -n "$YACC" && break
1.1       millert  6316: done
                   6317: test -n "$YACC" || YACC="yacc"
                   6318:
1.9     ! millert  6319: echo "$as_me:6319: checking for mv" >&5
        !          6320: echo $ECHO_N "checking for mv... $ECHO_C" >&6
1.1       millert  6321: if test -f "/usr/bin/mv"; then
1.9     ! millert  6322:     echo "$as_me:6322: result: /usr/bin/mv" >&5
        !          6323: echo "${ECHO_T}/usr/bin/mv" >&6
        !          6324:     cat >>confdefs.h <<\EOF
1.1       millert  6325: #define _PATH_MV "/usr/bin/mv"
                   6326: EOF
                   6327:
                   6328: elif test -f "/bin/mv"; then
1.9     ! millert  6329:     echo "$as_me:6329: result: /bin/mv" >&5
        !          6330: echo "${ECHO_T}/bin/mv" >&6
        !          6331:     cat >>confdefs.h <<\EOF
1.1       millert  6332: #define _PATH_MV "/bin/mv"
                   6333: EOF
                   6334:
                   6335: elif test -f "/usr/ucb/mv"; then
1.9     ! millert  6336:     echo "$as_me:6336: result: /usr/ucb/mv" >&5
        !          6337: echo "${ECHO_T}/usr/ucb/mv" >&6
        !          6338:     cat >>confdefs.h <<\EOF
1.1       millert  6339: #define _PATH_MV "/usr/ucb/mv"
                   6340: EOF
                   6341:
                   6342: elif test -f "/usr/sbin/mv"; then
1.9     ! millert  6343:     echo "$as_me:6343: result: /usr/sbin/mv" >&5
        !          6344: echo "${ECHO_T}/usr/sbin/mv" >&6
        !          6345:     cat >>confdefs.h <<\EOF
1.1       millert  6346: #define _PATH_MV "/usr/sbin/mv"
                   6347: EOF
                   6348:
                   6349: else
1.9     ! millert  6350:     echo "$as_me:6350: result: not found" >&5
        !          6351: echo "${ECHO_T}not found" >&6
1.1       millert  6352: fi
                   6353:
1.9     ! millert  6354: echo "$as_me:6354: checking for bourne shell" >&5
        !          6355: echo $ECHO_N "checking for bourne shell... $ECHO_C" >&6
1.1       millert  6356: if test -f "/bin/sh"; then
1.9     ! millert  6357:     echo "$as_me:6357: result: /bin/sh" >&5
        !          6358: echo "${ECHO_T}/bin/sh" >&6
        !          6359:     cat >>confdefs.h <<\EOF
1.1       millert  6360: #define _PATH_BSHELL "/bin/sh"
                   6361: EOF
                   6362:
                   6363: elif test -f "/usr/bin/sh"; then
1.9     ! millert  6364:     echo "$as_me:6364: result: /usr/bin/sh" >&5
        !          6365: echo "${ECHO_T}/usr/bin/sh" >&6
        !          6366:     cat >>confdefs.h <<\EOF
1.1       millert  6367: #define _PATH_BSHELL "/usr/bin/sh"
                   6368: EOF
                   6369:
                   6370: elif test -f "/sbin/sh"; then
1.9     ! millert  6371:     echo "$as_me:6371: result: /sbin/sh" >&5
        !          6372: echo "${ECHO_T}/sbin/sh" >&6
        !          6373:     cat >>confdefs.h <<\EOF
1.1       millert  6374: #define _PATH_BSHELL "/sbin/sh"
                   6375: EOF
                   6376:
                   6377: elif test -f "/usr/sbin/sh"; then
1.9     ! millert  6378:     echo "$as_me:6378: result: /usr/sbin/sh" >&5
        !          6379: echo "${ECHO_T}/usr/sbin/sh" >&6
        !          6380:     cat >>confdefs.h <<\EOF
1.1       millert  6381: #define _PATH_BSHELL "/usr/sbin/sh"
                   6382: EOF
                   6383:
                   6384: elif test -f "/bin/ksh"; then
1.9     ! millert  6385:     echo "$as_me:6385: result: /bin/ksh" >&5
        !          6386: echo "${ECHO_T}/bin/ksh" >&6
        !          6387:     cat >>confdefs.h <<\EOF
1.1       millert  6388: #define _PATH_BSHELL "/bin/ksh"
                   6389: EOF
                   6390:
                   6391: elif test -f "/usr/bin/ksh"; then
1.9     ! millert  6392:     echo "$as_me:6392: result: /usr/bin/ksh" >&5
        !          6393: echo "${ECHO_T}/usr/bin/ksh" >&6
        !          6394:     cat >>confdefs.h <<\EOF
1.1       millert  6395: #define _PATH_BSHELL "/usr/bin/ksh"
                   6396: EOF
                   6397:
                   6398: elif test -f "/bin/bash"; then
1.9     ! millert  6399:     echo "$as_me:6399: result: /bin/bash" >&5
        !          6400: echo "${ECHO_T}/bin/bash" >&6
        !          6401:     cat >>confdefs.h <<\EOF
1.1       millert  6402: #define _PATH_BSHELL "/bin/bash"
                   6403: EOF
                   6404:
                   6405: elif test -f "/usr/bin/bash"; then
1.9     ! millert  6406:     echo "$as_me:6406: result: /usr/bin/bash" >&5
        !          6407: echo "${ECHO_T}/usr/bin/bash" >&6
        !          6408:     cat >>confdefs.h <<\EOF
1.1       millert  6409: #define _PATH_BSHELL "/usr/bin/bash"
                   6410: EOF
                   6411:
                   6412: else
1.9     ! millert  6413:     echo "$as_me:6413: result: not found" >&5
        !          6414: echo "${ECHO_T}not found" >&6
        !          6415: fi
        !          6416:
        !          6417: if test -z "$with_sendmail"; then
        !          6418:     echo "$as_me:6418: checking for sendmail" >&5
        !          6419: echo $ECHO_N "checking for sendmail... $ECHO_C" >&6
        !          6420: if test -f "/usr/sbin/sendmail"; then
        !          6421:     echo "$as_me:6421: result: /usr/sbin/sendmail" >&5
        !          6422: echo "${ECHO_T}/usr/sbin/sendmail" >&6
        !          6423:     cat >>confdefs.h <<\EOF
        !          6424: #define _PATH_SUDO_SENDMAIL "/usr/sbin/sendmail"
        !          6425: EOF
        !          6426:
        !          6427: elif test -f "/usr/lib/sendmail"; then
        !          6428:     echo "$as_me:6428: result: /usr/lib/sendmail" >&5
        !          6429: echo "${ECHO_T}/usr/lib/sendmail" >&6
        !          6430:     cat >>confdefs.h <<\EOF
        !          6431: #define _PATH_SUDO_SENDMAIL "/usr/lib/sendmail"
        !          6432: EOF
        !          6433:
        !          6434: elif test -f "/usr/etc/sendmail"; then
        !          6435:     echo "$as_me:6435: result: /usr/etc/sendmail" >&5
        !          6436: echo "${ECHO_T}/usr/etc/sendmail" >&6
        !          6437:     cat >>confdefs.h <<\EOF
        !          6438: #define _PATH_SUDO_SENDMAIL "/usr/etc/sendmail"
        !          6439: EOF
        !          6440:
        !          6441: elif test -f "/usr/ucblib/sendmail"; then
        !          6442:     echo "$as_me:6442: result: /usr/ucblib/sendmail" >&5
        !          6443: echo "${ECHO_T}/usr/ucblib/sendmail" >&6
        !          6444:     cat >>confdefs.h <<\EOF
        !          6445: #define _PATH_SUDO_SENDMAIL "/usr/ucblib/sendmail"
        !          6446: EOF
        !          6447:
        !          6448: elif test -f "/usr/local/lib/sendmail"; then
        !          6449:     echo "$as_me:6449: result: /usr/local/lib/sendmail" >&5
        !          6450: echo "${ECHO_T}/usr/local/lib/sendmail" >&6
        !          6451:     cat >>confdefs.h <<\EOF
        !          6452: #define _PATH_SUDO_SENDMAIL "/usr/local/lib/sendmail"
        !          6453: EOF
        !          6454:
        !          6455: elif test -f "/usr/local/bin/sendmail"; then
        !          6456:     echo "$as_me:6456: result: /usr/local/bin/sendmail" >&5
        !          6457: echo "${ECHO_T}/usr/local/bin/sendmail" >&6
        !          6458:     cat >>confdefs.h <<\EOF
        !          6459: #define _PATH_SUDO_SENDMAIL "/usr/local/bin/sendmail"
        !          6460: EOF
        !          6461:
        !          6462: else
        !          6463:     echo "$as_me:6463: result: not found" >&5
        !          6464: echo "${ECHO_T}not found" >&6
1.1       millert  6465: fi
                   6466:
1.9     ! millert  6467: fi
        !          6468: if test -z "$with_editor"; then
        !          6469:     echo "$as_me:6469: checking for vi" >&5
        !          6470: echo $ECHO_N "checking for vi... $ECHO_C" >&6
1.1       millert  6471: if test -f "/usr/bin/vi"; then
1.9     ! millert  6472:     echo "$as_me:6472: result: /usr/bin/vi" >&5
        !          6473: echo "${ECHO_T}/usr/bin/vi" >&6
        !          6474:     cat >>confdefs.h <<\EOF
1.1       millert  6475: #define _PATH_VI "/usr/bin/vi"
                   6476: EOF
                   6477:
                   6478: elif test -f "/usr/ucb/vi"; then
1.9     ! millert  6479:     echo "$as_me:6479: result: /usr/ucb/vi" >&5
        !          6480: echo "${ECHO_T}/usr/ucb/vi" >&6
        !          6481:     cat >>confdefs.h <<\EOF
1.1       millert  6482: #define _PATH_VI "/usr/ucb/vi"
                   6483: EOF
                   6484:
                   6485: elif test -f "/usr/bsd/vi"; then
1.9     ! millert  6486:     echo "$as_me:6486: result: /usr/bsd/vi" >&5
        !          6487: echo "${ECHO_T}/usr/bsd/vi" >&6
        !          6488:     cat >>confdefs.h <<\EOF
1.1       millert  6489: #define _PATH_VI "/usr/bsd/vi"
                   6490: EOF
                   6491:
                   6492: elif test -f "/bin/vi"; then
1.9     ! millert  6493:     echo "$as_me:6493: result: /bin/vi" >&5
        !          6494: echo "${ECHO_T}/bin/vi" >&6
        !          6495:     cat >>confdefs.h <<\EOF
1.1       millert  6496: #define _PATH_VI "/bin/vi"
                   6497: EOF
                   6498:
                   6499: elif test -f "/usr/local/bin/vi"; then
1.9     ! millert  6500:     echo "$as_me:6500: result: /usr/local/bin/vi" >&5
        !          6501: echo "${ECHO_T}/usr/local/bin/vi" >&6
        !          6502:     cat >>confdefs.h <<\EOF
1.1       millert  6503: #define _PATH_VI "/usr/local/bin/vi"
                   6504: EOF
                   6505:
                   6506: else
1.9     ! millert  6507:     echo "$as_me:6507: result: not found" >&5
        !          6508: echo "${ECHO_T}not found" >&6
1.1       millert  6509: fi
                   6510:
1.9     ! millert  6511: fi
        !          6512: echo "$as_me:6512: checking for ANSI C header files" >&5
        !          6513: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
        !          6514: if test "${ac_cv_header_stdc+set}" = set; then
        !          6515:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  6516: else
1.9     ! millert  6517:   cat >conftest.$ac_ext <<_ACEOF
        !          6518: #line 6518 "configure"
1.1       millert  6519: #include "confdefs.h"
                   6520: #include <stdlib.h>
                   6521: #include <stdarg.h>
                   6522: #include <string.h>
                   6523: #include <float.h>
1.9     ! millert  6524:
        !          6525: _ACEOF
        !          6526: if { (eval echo "$as_me:6526: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          6527:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          6528:   ac_status=$?
        !          6529:   egrep -v '^ *\+' conftest.er1 >conftest.err
        !          6530:   rm -f conftest.er1
        !          6531:   cat conftest.err >&5
        !          6532:   echo "$as_me:6532: \$? = $ac_status" >&5
        !          6533:   (exit $ac_status); } >/dev/null; then
        !          6534:   if test -s conftest.err; then
        !          6535:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          6536:   else
        !          6537:     ac_cpp_err=
        !          6538:   fi
        !          6539: else
        !          6540:   ac_cpp_err=yes
        !          6541: fi
        !          6542: if test -z "$ac_cpp_err"; then
1.1       millert  6543:   ac_cv_header_stdc=yes
                   6544: else
1.9     ! millert  6545:   echo "$as_me: failed program was:" >&5
1.1       millert  6546:   cat conftest.$ac_ext >&5
                   6547:   ac_cv_header_stdc=no
                   6548: fi
1.9     ! millert  6549: rm -f conftest.err conftest.$ac_ext
1.1       millert  6550:
                   6551: if test $ac_cv_header_stdc = yes; then
                   6552:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.9     ! millert  6553:   cat >conftest.$ac_ext <<_ACEOF
        !          6554: #line 6554 "configure"
1.1       millert  6555: #include "confdefs.h"
                   6556: #include <string.h>
1.9     ! millert  6557:
        !          6558: _ACEOF
1.1       millert  6559: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6560:   egrep "memchr" >/dev/null 2>&1; then
                   6561:   :
                   6562: else
                   6563:   ac_cv_header_stdc=no
                   6564: fi
                   6565: rm -f conftest*
                   6566:
                   6567: fi
                   6568:
                   6569: if test $ac_cv_header_stdc = yes; then
                   6570:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.9     ! millert  6571:   cat >conftest.$ac_ext <<_ACEOF
        !          6572: #line 6572 "configure"
1.1       millert  6573: #include "confdefs.h"
                   6574: #include <stdlib.h>
1.9     ! millert  6575:
        !          6576: _ACEOF
1.1       millert  6577: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6578:   egrep "free" >/dev/null 2>&1; then
                   6579:   :
                   6580: else
                   6581:   ac_cv_header_stdc=no
                   6582: fi
                   6583: rm -f conftest*
                   6584:
                   6585: fi
                   6586:
                   6587: if test $ac_cv_header_stdc = yes; then
                   6588:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.9     ! millert  6589:   if test "$cross_compiling" = yes; then
1.1       millert  6590:   :
                   6591: else
1.9     ! millert  6592:   cat >conftest.$ac_ext <<_ACEOF
        !          6593: #line 6593 "configure"
1.1       millert  6594: #include "confdefs.h"
                   6595: #include <ctype.h>
1.9     ! millert  6596: #if ((' ' & 0x0FF) == 0x020)
        !          6597: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
        !          6598: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
        !          6599: #else
        !          6600: # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
        !          6601:                      || ('j' <= (c) && (c) <= 'r') \
        !          6602:                      || ('s' <= (c) && (c) <= 'z'))
        !          6603: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
        !          6604: #endif
        !          6605:
1.1       millert  6606: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.9     ! millert  6607: int
        !          6608: main ()
        !          6609: {
        !          6610:   int i;
        !          6611:   for (i = 0; i < 256; i++)
        !          6612:     if (XOR (islower (i), ISLOWER (i))
        !          6613:         || toupper (i) != TOUPPER (i))
        !          6614:       exit(2);
        !          6615:   exit (0);
        !          6616: }
        !          6617: _ACEOF
        !          6618: rm -f conftest$ac_exeext
        !          6619: if { (eval echo "$as_me:6619: \"$ac_link\"") >&5
        !          6620:   (eval $ac_link) 2>&5
        !          6621:   ac_status=$?
        !          6622:   echo "$as_me:6622: \$? = $ac_status" >&5
        !          6623:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          6624:   { (eval echo "$as_me:6624: \"$ac_try\"") >&5
        !          6625:   (eval $ac_try) 2>&5
        !          6626:   ac_status=$?
        !          6627:   echo "$as_me:6627: \$? = $ac_status" >&5
        !          6628:   (exit $ac_status); }; }; then
1.1       millert  6629:   :
                   6630: else
1.9     ! millert  6631:   echo "$as_me: program exited with status $ac_status" >&5
        !          6632: echo "$as_me: failed program was:" >&5
        !          6633: cat conftest.$ac_ext >&5
        !          6634: ac_cv_header_stdc=no
1.1       millert  6635: fi
1.9     ! millert  6636: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       millert  6637: fi
                   6638: fi
                   6639: fi
1.9     ! millert  6640: echo "$as_me:6640: result: $ac_cv_header_stdc" >&5
        !          6641: echo "${ECHO_T}$ac_cv_header_stdc" >&6
        !          6642: if test $ac_cv_header_stdc = yes; then
1.1       millert  6643:
1.9     ! millert  6644: cat >>confdefs.h <<\EOF
1.1       millert  6645: #define STDC_HEADERS 1
                   6646: EOF
                   6647:
                   6648: fi
                   6649:
                   6650: ac_header_dirent=no
1.9     ! millert  6651: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
        !          6652:   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
        !          6653: echo "$as_me:6653: checking for $ac_hdr that defines DIR" >&5
        !          6654: echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
        !          6655: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6656:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  6657: else
1.9     ! millert  6658:   cat >conftest.$ac_ext <<_ACEOF
        !          6659: #line 6659 "configure"
1.1       millert  6660: #include "confdefs.h"
                   6661: #include <sys/types.h>
                   6662: #include <$ac_hdr>
1.9     ! millert  6663:
        !          6664: int
        !          6665: main ()
        !          6666: {
        !          6667: if ((DIR *) 0)
        !          6668: return 0;
        !          6669:   ;
        !          6670:   return 0;
        !          6671: }
        !          6672: _ACEOF
        !          6673: rm -f conftest.$ac_objext
        !          6674: if { (eval echo "$as_me:6674: \"$ac_compile\"") >&5
        !          6675:   (eval $ac_compile) 2>&5
        !          6676:   ac_status=$?
        !          6677:   echo "$as_me:6677: \$? = $ac_status" >&5
        !          6678:   (exit $ac_status); } &&
        !          6679:          { ac_try='test -s conftest.$ac_objext'
        !          6680:   { (eval echo "$as_me:6680: \"$ac_try\"") >&5
        !          6681:   (eval $ac_try) 2>&5
        !          6682:   ac_status=$?
        !          6683:   echo "$as_me:6683: \$? = $ac_status" >&5
        !          6684:   (exit $ac_status); }; }; then
        !          6685:   eval "$as_ac_Header=yes"
        !          6686: else
        !          6687:   echo "$as_me: failed program was:" >&5
        !          6688: cat conftest.$ac_ext >&5
        !          6689: eval "$as_ac_Header=no"
        !          6690: fi
        !          6691: rm -f conftest.$ac_objext conftest.$ac_ext
        !          6692: fi
        !          6693: echo "$as_me:6693: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          6694: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          6695: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          6696:   cat >>confdefs.h <<EOF
        !          6697: #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
1.1       millert  6698: EOF
1.9     ! millert  6699:
        !          6700: ac_header_dirent=$ac_hdr; break
1.1       millert  6701: fi
1.9     ! millert  6702:
1.1       millert  6703: done
                   6704: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
                   6705: if test $ac_header_dirent = dirent.h; then
1.9     ! millert  6706:   echo "$as_me:6706: checking for opendir in -ldir" >&5
        !          6707: echo $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
        !          6708: if test "${ac_cv_lib_dir_opendir+set}" = set; then
        !          6709:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  6710: else
1.9     ! millert  6711:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  6712: LIBS="-ldir  $LIBS"
1.9     ! millert  6713: cat >conftest.$ac_ext <<_ACEOF
        !          6714: #line 6714 "configure"
1.1       millert  6715: #include "confdefs.h"
1.9     ! millert  6716:
1.1       millert  6717: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  6718: #ifdef __cplusplus
        !          6719: extern "C"
        !          6720: #endif
1.1       millert  6721: /* We use char because int might match the return type of a gcc2
1.9     ! millert  6722:    builtin and then its argument prototype would still apply.  */
        !          6723: char opendir ();
        !          6724: int
        !          6725: main ()
        !          6726: {
        !          6727: opendir ();
        !          6728:   ;
        !          6729:   return 0;
        !          6730: }
        !          6731: _ACEOF
        !          6732: rm -f conftest.$ac_objext conftest$ac_exeext
        !          6733: if { (eval echo "$as_me:6733: \"$ac_link\"") >&5
        !          6734:   (eval $ac_link) 2>&5
        !          6735:   ac_status=$?
        !          6736:   echo "$as_me:6736: \$? = $ac_status" >&5
        !          6737:   (exit $ac_status); } &&
        !          6738:          { ac_try='test -s conftest$ac_exeext'
        !          6739:   { (eval echo "$as_me:6739: \"$ac_try\"") >&5
        !          6740:   (eval $ac_try) 2>&5
        !          6741:   ac_status=$?
        !          6742:   echo "$as_me:6742: \$? = $ac_status" >&5
        !          6743:   (exit $ac_status); }; }; then
        !          6744:   ac_cv_lib_dir_opendir=yes
        !          6745: else
        !          6746:   echo "$as_me: failed program was:" >&5
        !          6747: cat conftest.$ac_ext >&5
        !          6748: ac_cv_lib_dir_opendir=no
        !          6749: fi
        !          6750: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          6751: LIBS=$ac_check_lib_save_LIBS
        !          6752: fi
        !          6753: echo "$as_me:6753: result: $ac_cv_lib_dir_opendir" >&5
        !          6754: echo "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
        !          6755: if test $ac_cv_lib_dir_opendir = yes; then
1.1       millert  6756:   LIBS="$LIBS -ldir"
                   6757: fi
                   6758:
                   6759: else
1.9     ! millert  6760:   echo "$as_me:6760: checking for opendir in -lx" >&5
        !          6761: echo $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
        !          6762: if test "${ac_cv_lib_x_opendir+set}" = set; then
        !          6763:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  6764: else
1.9     ! millert  6765:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  6766: LIBS="-lx  $LIBS"
1.9     ! millert  6767: cat >conftest.$ac_ext <<_ACEOF
        !          6768: #line 6768 "configure"
1.1       millert  6769: #include "confdefs.h"
1.9     ! millert  6770:
1.1       millert  6771: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  6772: #ifdef __cplusplus
        !          6773: extern "C"
        !          6774: #endif
1.1       millert  6775: /* We use char because int might match the return type of a gcc2
1.9     ! millert  6776:    builtin and then its argument prototype would still apply.  */
        !          6777: char opendir ();
        !          6778: int
        !          6779: main ()
        !          6780: {
        !          6781: opendir ();
        !          6782:   ;
        !          6783:   return 0;
        !          6784: }
        !          6785: _ACEOF
        !          6786: rm -f conftest.$ac_objext conftest$ac_exeext
        !          6787: if { (eval echo "$as_me:6787: \"$ac_link\"") >&5
        !          6788:   (eval $ac_link) 2>&5
        !          6789:   ac_status=$?
        !          6790:   echo "$as_me:6790: \$? = $ac_status" >&5
        !          6791:   (exit $ac_status); } &&
        !          6792:          { ac_try='test -s conftest$ac_exeext'
        !          6793:   { (eval echo "$as_me:6793: \"$ac_try\"") >&5
        !          6794:   (eval $ac_try) 2>&5
        !          6795:   ac_status=$?
        !          6796:   echo "$as_me:6796: \$? = $ac_status" >&5
        !          6797:   (exit $ac_status); }; }; then
        !          6798:   ac_cv_lib_x_opendir=yes
        !          6799: else
        !          6800:   echo "$as_me: failed program was:" >&5
        !          6801: cat conftest.$ac_ext >&5
        !          6802: ac_cv_lib_x_opendir=no
        !          6803: fi
        !          6804: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          6805: LIBS=$ac_check_lib_save_LIBS
        !          6806: fi
        !          6807: echo "$as_me:6807: result: $ac_cv_lib_x_opendir" >&5
        !          6808: echo "${ECHO_T}$ac_cv_lib_x_opendir" >&6
        !          6809: if test $ac_cv_lib_x_opendir = yes; then
1.1       millert  6810:   LIBS="$LIBS -lx"
                   6811: fi
                   6812:
                   6813: fi
                   6814:
1.9     ! millert  6815: for ac_header in malloc.h paths.h utime.h netgroup.h sys/sockio.h sys/bsdtypes.h sys/select.h
1.1       millert  6816: do
1.9     ! millert  6817: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          6818: echo "$as_me:6818: checking for $ac_header" >&5
        !          6819: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          6820: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6821:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6822: else
        !          6823:   cat >conftest.$ac_ext <<_ACEOF
        !          6824: #line 6824 "configure"
        !          6825: #include "confdefs.h"
        !          6826: #include <$ac_header>
        !          6827: _ACEOF
        !          6828: if { (eval echo "$as_me:6828: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          6829:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          6830:   ac_status=$?
        !          6831:   egrep -v '^ *\+' conftest.er1 >conftest.err
        !          6832:   rm -f conftest.er1
        !          6833:   cat conftest.err >&5
        !          6834:   echo "$as_me:6834: \$? = $ac_status" >&5
        !          6835:   (exit $ac_status); } >/dev/null; then
        !          6836:   if test -s conftest.err; then
        !          6837:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          6838:   else
        !          6839:     ac_cpp_err=
        !          6840:   fi
1.1       millert  6841: else
1.9     ! millert  6842:   ac_cpp_err=yes
        !          6843: fi
        !          6844: if test -z "$ac_cpp_err"; then
        !          6845:   eval "$as_ac_Header=yes"
1.1       millert  6846: else
1.9     ! millert  6847:   echo "$as_me: failed program was:" >&5
1.1       millert  6848:   cat conftest.$ac_ext >&5
1.9     ! millert  6849:   eval "$as_ac_Header=no"
1.1       millert  6850: fi
1.9     ! millert  6851: rm -f conftest.err conftest.$ac_ext
1.1       millert  6852: fi
1.9     ! millert  6853: echo "$as_me:6853: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          6854: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          6855: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          6856:   cat >>confdefs.h <<EOF
        !          6857: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1       millert  6858: EOF
1.9     ! millert  6859:
1.1       millert  6860: fi
                   6861: done
                   6862:
                   6863: if test "$OS" != "ultrix"; then
1.9     ! millert  6864:     echo "$as_me:6864: checking POSIX termios" >&5
        !          6865: echo $ECHO_N "checking POSIX termios... $ECHO_C" >&6
        !          6866: if test "${ac_cv_sys_posix_termios+set}" = set; then
        !          6867:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  6868: else
1.9     ! millert  6869:   cat >conftest.$ac_ext <<_ACEOF
        !          6870: #line 6870 "configure"
1.1       millert  6871: #include "confdefs.h"
1.9     ! millert  6872: #include <sys/types.h>
        !          6873: #include <unistd.h>
        !          6874: #include <termios.h>
        !          6875: int
        !          6876: main ()
        !          6877: {
        !          6878: /* SunOS 4.0.3 has termios.h but not the library calls.  */
        !          6879:    tcgetattr(0, 0);
        !          6880:   ;
        !          6881:   return 0;
        !          6882: }
        !          6883: _ACEOF
        !          6884: rm -f conftest.$ac_objext conftest$ac_exeext
        !          6885: if { (eval echo "$as_me:6885: \"$ac_link\"") >&5
        !          6886:   (eval $ac_link) 2>&5
        !          6887:   ac_status=$?
        !          6888:   echo "$as_me:6888: \$? = $ac_status" >&5
        !          6889:   (exit $ac_status); } &&
        !          6890:          { ac_try='test -s conftest$ac_exeext'
        !          6891:   { (eval echo "$as_me:6891: \"$ac_try\"") >&5
        !          6892:   (eval $ac_try) 2>&5
        !          6893:   ac_status=$?
        !          6894:   echo "$as_me:6894: \$? = $ac_status" >&5
        !          6895:   (exit $ac_status); }; }; then
        !          6896:   ac_cv_sys_posix_termios=yes
        !          6897: else
        !          6898:   echo "$as_me: failed program was:" >&5
        !          6899: cat conftest.$ac_ext >&5
        !          6900: ac_cv_sys_posix_termios=no
        !          6901: fi
        !          6902: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          6903: fi
        !          6904: echo "$as_me:6904: result: $ac_cv_sys_posix_termios" >&5
        !          6905: echo "${ECHO_T}$ac_cv_sys_posix_termios" >&6
        !          6906:
        !          6907:     if test "$ac_cv_sys_posix_termios" = "yes"; then
        !          6908:
        !          6909: cat >>confdefs.h <<\EOF
        !          6910: #define HAVE_TERMIOS_H 1
1.1       millert  6911: EOF
1.9     ! millert  6912:
        !          6913:     else
        !          6914:
        !          6915: for ac_header in termio.h
        !          6916: do
        !          6917: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          6918: echo "$as_me:6918: checking for $ac_header" >&5
        !          6919: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          6920: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6921:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6922: else
        !          6923:   cat >conftest.$ac_ext <<_ACEOF
        !          6924: #line 6924 "configure"
        !          6925: #include "confdefs.h"
        !          6926: #include <$ac_header>
        !          6927: _ACEOF
        !          6928: if { (eval echo "$as_me:6928: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          6929:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          6930:   ac_status=$?
        !          6931:   egrep -v '^ *\+' conftest.er1 >conftest.err
        !          6932:   rm -f conftest.er1
        !          6933:   cat conftest.err >&5
        !          6934:   echo "$as_me:6934: \$? = $ac_status" >&5
        !          6935:   (exit $ac_status); } >/dev/null; then
        !          6936:   if test -s conftest.err; then
        !          6937:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          6938:   else
        !          6939:     ac_cpp_err=
        !          6940:   fi
        !          6941: else
        !          6942:   ac_cpp_err=yes
        !          6943: fi
        !          6944: if test -z "$ac_cpp_err"; then
        !          6945:   eval "$as_ac_Header=yes"
1.1       millert  6946: else
1.9     ! millert  6947:   echo "$as_me: failed program was:" >&5
1.1       millert  6948:   cat conftest.$ac_ext >&5
1.9     ! millert  6949:   eval "$as_ac_Header=no"
1.1       millert  6950: fi
1.9     ! millert  6951: rm -f conftest.err conftest.$ac_ext
1.1       millert  6952: fi
1.9     ! millert  6953: echo "$as_me:6953: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          6954: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          6955: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          6956:   cat >>confdefs.h <<EOF
        !          6957: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1       millert  6958: EOF
1.9     ! millert  6959:
1.1       millert  6960: fi
                   6961: done
                   6962:
1.9     ! millert  6963:     fi
        !          6964: fi
        !          6965: if test "$with_logincap" = "yes"; then
        !          6966:
        !          6967: for ac_header in login_cap.h
1.1       millert  6968: do
1.9     ! millert  6969: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          6970: echo "$as_me:6970: checking for $ac_header" >&5
        !          6971: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          6972: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          6973:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          6974: else
        !          6975:   cat >conftest.$ac_ext <<_ACEOF
        !          6976: #line 6976 "configure"
        !          6977: #include "confdefs.h"
        !          6978: #include <$ac_header>
        !          6979: _ACEOF
        !          6980: if { (eval echo "$as_me:6980: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          6981:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          6982:   ac_status=$?
        !          6983:   egrep -v '^ *\+' conftest.er1 >conftest.err
        !          6984:   rm -f conftest.er1
        !          6985:   cat conftest.err >&5
        !          6986:   echo "$as_me:6986: \$? = $ac_status" >&5
        !          6987:   (exit $ac_status); } >/dev/null; then
        !          6988:   if test -s conftest.err; then
        !          6989:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          6990:   else
        !          6991:     ac_cpp_err=
        !          6992:   fi
1.1       millert  6993: else
1.9     ! millert  6994:   ac_cpp_err=yes
        !          6995: fi
        !          6996: if test -z "$ac_cpp_err"; then
        !          6997:   eval "$as_ac_Header=yes"
1.1       millert  6998: else
1.9     ! millert  6999:   echo "$as_me: failed program was:" >&5
1.1       millert  7000:   cat conftest.$ac_ext >&5
1.9     ! millert  7001:   eval "$as_ac_Header=no"
1.1       millert  7002: fi
1.9     ! millert  7003: rm -f conftest.err conftest.$ac_ext
1.1       millert  7004: fi
1.9     ! millert  7005: echo "$as_me:7005: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          7006: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          7007: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          7008:   cat >>confdefs.h <<EOF
        !          7009: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1       millert  7010: EOF
1.9     ! millert  7011:
        !          7012: fi
        !          7013: done
        !          7014:
        !          7015: fi
        !          7016: if test "$with_bsdauth" = "yes"; then
        !          7017:     echo "$as_me:7017: checking for bsd_auth.h" >&5
        !          7018: echo $ECHO_N "checking for bsd_auth.h... $ECHO_C" >&6
        !          7019: if test "${ac_cv_header_bsd_auth_h+set}" = set; then
        !          7020:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  7021: else
1.9     ! millert  7022:   cat >conftest.$ac_ext <<_ACEOF
        !          7023: #line 7023 "configure"
1.1       millert  7024: #include "confdefs.h"
1.9     ! millert  7025: #include <bsd_auth.h>
        !          7026: _ACEOF
        !          7027: if { (eval echo "$as_me:7027: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          7028:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          7029:   ac_status=$?
        !          7030:   egrep -v '^ *\+' conftest.er1 >conftest.err
        !          7031:   rm -f conftest.er1
        !          7032:   cat conftest.err >&5
        !          7033:   echo "$as_me:7033: \$? = $ac_status" >&5
        !          7034:   (exit $ac_status); } >/dev/null; then
        !          7035:   if test -s conftest.err; then
        !          7036:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          7037:   else
        !          7038:     ac_cpp_err=
        !          7039:   fi
        !          7040: else
        !          7041:   ac_cpp_err=yes
        !          7042: fi
        !          7043: if test -z "$ac_cpp_err"; then
        !          7044:   ac_cv_header_bsd_auth_h=yes
1.1       millert  7045: else
1.9     ! millert  7046:   echo "$as_me: failed program was:" >&5
1.1       millert  7047:   cat conftest.$ac_ext >&5
1.9     ! millert  7048:   ac_cv_header_bsd_auth_h=no
1.1       millert  7049: fi
1.9     ! millert  7050: rm -f conftest.err conftest.$ac_ext
1.1       millert  7051: fi
1.9     ! millert  7052: echo "$as_me:7052: result: $ac_cv_header_bsd_auth_h" >&5
        !          7053: echo "${ECHO_T}$ac_cv_header_bsd_auth_h" >&6
        !          7054: if test $ac_cv_header_bsd_auth_h = yes; then
1.1       millert  7055:
1.9     ! millert  7056: cat >>confdefs.h <<\EOF
        !          7057: #define HAVE_BSD_AUTH_H 1
1.1       millert  7058: EOF
1.9     ! millert  7059:  with_passwd=no; AUTH_OBJS=bsdauth.o
        !          7060: fi
        !          7061:
1.1       millert  7062: fi
1.9     ! millert  7063: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
        !          7064:
        !          7065: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
        !          7066:                   inttypes.h stdint.h unistd.h
        !          7067: do
        !          7068: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          7069: echo "$as_me:7069: checking for $ac_header" >&5
        !          7070: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
        !          7071: if eval "test \"\${$as_ac_Header+set}\" = set"; then
        !          7072:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          7073: else
        !          7074:   cat >conftest.$ac_ext <<_ACEOF
        !          7075: #line 7075 "configure"
        !          7076: #include "confdefs.h"
        !          7077: $ac_includes_default
        !          7078: #include <$ac_header>
        !          7079: _ACEOF
        !          7080: rm -f conftest.$ac_objext
        !          7081: if { (eval echo "$as_me:7081: \"$ac_compile\"") >&5
        !          7082:   (eval $ac_compile) 2>&5
        !          7083:   ac_status=$?
        !          7084:   echo "$as_me:7084: \$? = $ac_status" >&5
        !          7085:   (exit $ac_status); } &&
        !          7086:          { ac_try='test -s conftest.$ac_objext'
        !          7087:   { (eval echo "$as_me:7087: \"$ac_try\"") >&5
        !          7088:   (eval $ac_try) 2>&5
        !          7089:   ac_status=$?
        !          7090:   echo "$as_me:7090: \$? = $ac_status" >&5
        !          7091:   (exit $ac_status); }; }; then
        !          7092:   eval "$as_ac_Header=yes"
        !          7093: else
        !          7094:   echo "$as_me: failed program was:" >&5
        !          7095: cat conftest.$ac_ext >&5
        !          7096: eval "$as_ac_Header=no"
        !          7097: fi
        !          7098: rm -f conftest.$ac_objext conftest.$ac_ext
        !          7099: fi
        !          7100: echo "$as_me:7100: result: `eval echo '${'$as_ac_Header'}'`" >&5
        !          7101: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
        !          7102: if test `eval echo '${'$as_ac_Header'}'` = yes; then
        !          7103:   cat >>confdefs.h <<EOF
        !          7104: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
        !          7105: EOF
1.1       millert  7106:
                   7107: fi
                   7108: done
                   7109:
1.9     ! millert  7110: echo "$as_me:7110: checking for mode_t" >&5
        !          7111: echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
        !          7112: if test "${ac_cv_type_mode_t+set}" = set; then
        !          7113:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.7       millert  7114: else
1.9     ! millert  7115:   cat >conftest.$ac_ext <<_ACEOF
        !          7116: #line 7116 "configure"
1.7       millert  7117: #include "confdefs.h"
1.9     ! millert  7118: $ac_includes_default
        !          7119: int
        !          7120: main ()
        !          7121: {
        !          7122: if ((mode_t *) 0)
        !          7123:   return 0;
        !          7124: if (sizeof (mode_t))
        !          7125:   return 0;
        !          7126:   ;
        !          7127:   return 0;
        !          7128: }
        !          7129: _ACEOF
        !          7130: rm -f conftest.$ac_objext
        !          7131: if { (eval echo "$as_me:7131: \"$ac_compile\"") >&5
        !          7132:   (eval $ac_compile) 2>&5
        !          7133:   ac_status=$?
        !          7134:   echo "$as_me:7134: \$? = $ac_status" >&5
        !          7135:   (exit $ac_status); } &&
        !          7136:          { ac_try='test -s conftest.$ac_objext'
        !          7137:   { (eval echo "$as_me:7137: \"$ac_try\"") >&5
        !          7138:   (eval $ac_try) 2>&5
        !          7139:   ac_status=$?
        !          7140:   echo "$as_me:7140: \$? = $ac_status" >&5
        !          7141:   (exit $ac_status); }; }; then
        !          7142:   ac_cv_type_mode_t=yes
        !          7143: else
        !          7144:   echo "$as_me: failed program was:" >&5
        !          7145: cat conftest.$ac_ext >&5
        !          7146: ac_cv_type_mode_t=no
        !          7147: fi
        !          7148: rm -f conftest.$ac_objext conftest.$ac_ext
        !          7149: fi
        !          7150: echo "$as_me:7150: result: $ac_cv_type_mode_t" >&5
        !          7151: echo "${ECHO_T}$ac_cv_type_mode_t" >&6
        !          7152: if test $ac_cv_type_mode_t = yes; then
        !          7153:   :
1.7       millert  7154: else
1.9     ! millert  7155:
        !          7156: cat >>confdefs.h <<EOF
        !          7157: #define mode_t int
1.7       millert  7158: EOF
1.9     ! millert  7159:
1.7       millert  7160: fi
                   7161:
1.9     ! millert  7162: echo "$as_me:7162: checking for uid_t in sys/types.h" >&5
        !          7163: echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
        !          7164: if test "${ac_cv_type_uid_t+set}" = set; then
        !          7165:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.7       millert  7166: else
1.9     ! millert  7167:   cat >conftest.$ac_ext <<_ACEOF
        !          7168: #line 7168 "configure"
1.7       millert  7169: #include "confdefs.h"
1.9     ! millert  7170: #include <sys/types.h>
        !          7171:
        !          7172: _ACEOF
        !          7173: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          7174:   egrep "uid_t" >/dev/null 2>&1; then
        !          7175:   ac_cv_type_uid_t=yes
1.7       millert  7176: else
1.9     ! millert  7177:   ac_cv_type_uid_t=no
1.7       millert  7178: fi
                   7179: rm -f conftest*
1.9     ! millert  7180:
1.7       millert  7181: fi
1.9     ! millert  7182: echo "$as_me:7182: result: $ac_cv_type_uid_t" >&5
        !          7183: echo "${ECHO_T}$ac_cv_type_uid_t" >&6
        !          7184: if test $ac_cv_type_uid_t = no; then
        !          7185:
        !          7186: cat >>confdefs.h <<\EOF
        !          7187: #define uid_t int
        !          7188: EOF
        !          7189:
        !          7190: cat >>confdefs.h <<\EOF
        !          7191: #define gid_t int
1.7       millert  7192: EOF
1.9     ! millert  7193:
        !          7194: fi
        !          7195:
        !          7196: echo "$as_me:7196: checking for sig_atomic_t" >&5
        !          7197: echo $ECHO_N "checking for sig_atomic_t... $ECHO_C" >&6
        !          7198: if test "${ac_cv_type_sig_atomic_t+set}" = set; then
        !          7199:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          7200: else
        !          7201:   cat >conftest.$ac_ext <<_ACEOF
        !          7202: #line 7202 "configure"
        !          7203: #include "confdefs.h"
        !          7204: #include <sys/types.h>
        !          7205: #include <signal.h>
        !          7206:
        !          7207: int
        !          7208: main ()
        !          7209: {
        !          7210: if ((sig_atomic_t *) 0)
        !          7211:   return 0;
        !          7212: if (sizeof (sig_atomic_t))
        !          7213:   return 0;
        !          7214:   ;
        !          7215:   return 0;
        !          7216: }
        !          7217: _ACEOF
        !          7218: rm -f conftest.$ac_objext
        !          7219: if { (eval echo "$as_me:7219: \"$ac_compile\"") >&5
        !          7220:   (eval $ac_compile) 2>&5
        !          7221:   ac_status=$?
        !          7222:   echo "$as_me:7222: \$? = $ac_status" >&5
        !          7223:   (exit $ac_status); } &&
        !          7224:          { ac_try='test -s conftest.$ac_objext'
        !          7225:   { (eval echo "$as_me:7225: \"$ac_try\"") >&5
        !          7226:   (eval $ac_try) 2>&5
        !          7227:   ac_status=$?
        !          7228:   echo "$as_me:7228: \$? = $ac_status" >&5
        !          7229:   (exit $ac_status); }; }; then
        !          7230:   ac_cv_type_sig_atomic_t=yes
1.7       millert  7231: else
1.9     ! millert  7232:   echo "$as_me: failed program was:" >&5
        !          7233: cat conftest.$ac_ext >&5
        !          7234: ac_cv_type_sig_atomic_t=no
1.7       millert  7235: fi
1.9     ! millert  7236: rm -f conftest.$ac_objext conftest.$ac_ext
1.7       millert  7237: fi
1.9     ! millert  7238: echo "$as_me:7238: result: $ac_cv_type_sig_atomic_t" >&5
        !          7239: echo "${ECHO_T}$ac_cv_type_sig_atomic_t" >&6
        !          7240: if test $ac_cv_type_sig_atomic_t = yes; then
1.7       millert  7241:
1.9     ! millert  7242: cat >>confdefs.h <<EOF
        !          7243: #define HAVE_SIG_ATOMIC_T 1
1.1       millert  7244: EOF
1.9     ! millert  7245:
1.1       millert  7246: else
                   7247:
1.9     ! millert  7248: cat >>confdefs.h <<\EOF
        !          7249: #define sig_atomic_t int
1.1       millert  7250: EOF
                   7251:
                   7252: fi
                   7253:
1.9     ! millert  7254: echo "$as_me:7254: checking for sigaction_t" >&5
        !          7255: echo $ECHO_N "checking for sigaction_t... $ECHO_C" >&6
        !          7256: if test "${ac_cv_type_sigaction_t+set}" = set; then
        !          7257:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  7258: else
1.9     ! millert  7259:   cat >conftest.$ac_ext <<_ACEOF
        !          7260: #line 7260 "configure"
1.1       millert  7261: #include "confdefs.h"
                   7262: #include <sys/types.h>
1.9     ! millert  7263: #include <signal.h>
        !          7264:
        !          7265: int
        !          7266: main ()
        !          7267: {
        !          7268: if ((sigaction_t *) 0)
        !          7269:   return 0;
        !          7270: if (sizeof (sigaction_t))
        !          7271:   return 0;
        !          7272:   ;
        !          7273:   return 0;
        !          7274: }
        !          7275: _ACEOF
        !          7276: rm -f conftest.$ac_objext
        !          7277: if { (eval echo "$as_me:7277: \"$ac_compile\"") >&5
        !          7278:   (eval $ac_compile) 2>&5
        !          7279:   ac_status=$?
        !          7280:   echo "$as_me:7280: \$? = $ac_status" >&5
        !          7281:   (exit $ac_status); } &&
        !          7282:          { ac_try='test -s conftest.$ac_objext'
        !          7283:   { (eval echo "$as_me:7283: \"$ac_try\"") >&5
        !          7284:   (eval $ac_try) 2>&5
        !          7285:   ac_status=$?
        !          7286:   echo "$as_me:7286: \$? = $ac_status" >&5
        !          7287:   (exit $ac_status); }; }; then
        !          7288:   ac_cv_type_sigaction_t=yes
1.1       millert  7289: else
1.9     ! millert  7290:   echo "$as_me: failed program was:" >&5
        !          7291: cat conftest.$ac_ext >&5
        !          7292: ac_cv_type_sigaction_t=no
1.1       millert  7293: fi
1.9     ! millert  7294: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       millert  7295: fi
1.9     ! millert  7296: echo "$as_me:7296: result: $ac_cv_type_sigaction_t" >&5
        !          7297: echo "${ECHO_T}$ac_cv_type_sigaction_t" >&6
        !          7298: if test $ac_cv_type_sigaction_t = yes; then
1.1       millert  7299:
1.9     ! millert  7300: cat >>confdefs.h <<EOF
        !          7301: #define HAVE_SIGACTION_T 1
1.1       millert  7302: EOF
                   7303:
1.9     ! millert  7304: cat >>confdefs.h <<\EOF
        !          7305: #define HAVE_SIGACTION_T 1
1.1       millert  7306: EOF
                   7307:
                   7308: fi
                   7309:
1.9     ! millert  7310: echo "$as_me:7310: checking for size_t" >&5
        !          7311: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
        !          7312: if test "${sudo_cv_type_size_t+set}" = set; then
        !          7313:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  7314: else
1.9     ! millert  7315:   cat >conftest.$ac_ext <<_ACEOF
        !          7316: #line 7316 "configure"
1.1       millert  7317: #include "confdefs.h"
                   7318: #include <sys/types.h>
1.9     ! millert  7319: #include <stdio.h>
1.1       millert  7320: #if STDC_HEADERS
                   7321: #include <stdlib.h>
                   7322: #endif
                   7323: #if HAVE_UNISTD_H
                   7324: #include <unistd.h>
                   7325: #endif
1.9     ! millert  7326: _ACEOF
1.1       millert  7327: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7328:   egrep "size_t" >/dev/null 2>&1; then
                   7329:   sudo_cv_type_size_t=yes
                   7330: else
                   7331:   sudo_cv_type_size_t=no
                   7332: fi
                   7333: rm -f conftest*
                   7334:
                   7335: fi
1.9     ! millert  7336: echo "$as_me:7336: result: $sudo_cv_type_size_t" >&5
        !          7337: echo "${ECHO_T}$sudo_cv_type_size_t" >&6
1.1       millert  7338: if test $sudo_cv_type_size_t = no; then
1.9     ! millert  7339:
        !          7340: cat >>confdefs.h <<\EOF
1.1       millert  7341: #define size_t int
                   7342: EOF
                   7343:
                   7344: fi
                   7345:
1.9     ! millert  7346: echo "$as_me:7346: checking for ssize_t" >&5
        !          7347: echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
        !          7348: if test "${sudo_cv_type_ssize_t+set}" = set; then
        !          7349:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  7350: else
1.9     ! millert  7351:   cat >conftest.$ac_ext <<_ACEOF
        !          7352: #line 7352 "configure"
1.1       millert  7353: #include "confdefs.h"
                   7354: #include <sys/types.h>
1.9     ! millert  7355: #include <stdio.h>
1.1       millert  7356: #if STDC_HEADERS
                   7357: #include <stdlib.h>
                   7358: #endif
                   7359: #if HAVE_UNISTD_H
                   7360: #include <unistd.h>
                   7361: #endif
1.9     ! millert  7362: _ACEOF
1.1       millert  7363: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7364:   egrep "ssize_t" >/dev/null 2>&1; then
                   7365:   sudo_cv_type_ssize_t=yes
                   7366: else
                   7367:   sudo_cv_type_ssize_t=no
                   7368: fi
                   7369: rm -f conftest*
                   7370:
                   7371: fi
1.9     ! millert  7372: echo "$as_me:7372: result: $sudo_cv_type_ssize_t" >&5
        !          7373: echo "${ECHO_T}$sudo_cv_type_ssize_t" >&6
1.1       millert  7374: if test $sudo_cv_type_ssize_t = no; then
1.9     ! millert  7375:
        !          7376: cat >>confdefs.h <<\EOF
1.1       millert  7377: #define ssize_t int
                   7378: EOF
                   7379:
                   7380: fi
                   7381:
1.9     ! millert  7382: echo "$as_me:7382: checking for dev_t" >&5
        !          7383: echo $ECHO_N "checking for dev_t... $ECHO_C" >&6
        !          7384: if test "${sudo_cv_type_dev_t+set}" = set; then
        !          7385:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  7386: else
1.9     ! millert  7387:   cat >conftest.$ac_ext <<_ACEOF
        !          7388: #line 7388 "configure"
1.1       millert  7389: #include "confdefs.h"
                   7390: #include <sys/types.h>
1.9     ! millert  7391: #include <stdio.h>
1.1       millert  7392: #if STDC_HEADERS
                   7393: #include <stdlib.h>
                   7394: #endif
                   7395: #if HAVE_UNISTD_H
                   7396: #include <unistd.h>
                   7397: #endif
1.9     ! millert  7398: _ACEOF
1.1       millert  7399: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7400:   egrep "dev_t" >/dev/null 2>&1; then
                   7401:   sudo_cv_type_dev_t=yes
                   7402: else
                   7403:   sudo_cv_type_dev_t=no
                   7404: fi
                   7405: rm -f conftest*
                   7406:
                   7407: fi
1.9     ! millert  7408: echo "$as_me:7408: result: $sudo_cv_type_dev_t" >&5
        !          7409: echo "${ECHO_T}$sudo_cv_type_dev_t" >&6
1.1       millert  7410: if test $sudo_cv_type_dev_t = no; then
1.9     ! millert  7411:
        !          7412: cat >>confdefs.h <<\EOF
1.1       millert  7413: #define dev_t int
                   7414: EOF
                   7415:
                   7416: fi
                   7417:
1.9     ! millert  7418: echo "$as_me:7418: checking for ino_t" >&5
        !          7419: echo $ECHO_N "checking for ino_t... $ECHO_C" >&6
        !          7420: if test "${sudo_cv_type_ino_t+set}" = set; then
        !          7421:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  7422: else
1.9     ! millert  7423:   cat >conftest.$ac_ext <<_ACEOF
        !          7424: #line 7424 "configure"
1.1       millert  7425: #include "confdefs.h"
                   7426: #include <sys/types.h>
1.9     ! millert  7427: #include <stdio.h>
1.1       millert  7428: #if STDC_HEADERS
                   7429: #include <stdlib.h>
                   7430: #endif
                   7431: #if HAVE_UNISTD_H
                   7432: #include <unistd.h>
                   7433: #endif
1.9     ! millert  7434: _ACEOF
1.1       millert  7435: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7436:   egrep "ino_t" >/dev/null 2>&1; then
                   7437:   sudo_cv_type_ino_t=yes
                   7438: else
                   7439:   sudo_cv_type_ino_t=no
                   7440: fi
                   7441: rm -f conftest*
                   7442:
                   7443: fi
1.9     ! millert  7444: echo "$as_me:7444: result: $sudo_cv_type_ino_t" >&5
        !          7445: echo "${ECHO_T}$sudo_cv_type_ino_t" >&6
1.1       millert  7446: if test $sudo_cv_type_ino_t = no; then
1.9     ! millert  7447:
        !          7448: cat >>confdefs.h <<\EOF
1.1       millert  7449: #define ino_t unsigned int
                   7450: EOF
                   7451:
                   7452: fi
                   7453:
1.9     ! millert  7454: echo "$as_me:7454: checking for full void implementation" >&5
        !          7455: echo $ECHO_N "checking for full void implementation... $ECHO_C" >&6
        !          7456: cat >conftest.$ac_ext <<_ACEOF
        !          7457: #line 7457 "configure"
1.1       millert  7458: #include "confdefs.h"
                   7459:
1.9     ! millert  7460: int
        !          7461: main ()
        !          7462: {
1.1       millert  7463: void *foo;
                   7464: foo = (void *)0; (void *)"test";
1.9     ! millert  7465:   ;
        !          7466:   return 0;
        !          7467: }
        !          7468: _ACEOF
        !          7469: rm -f conftest.$ac_objext
        !          7470: if { (eval echo "$as_me:7470: \"$ac_compile\"") >&5
        !          7471:   (eval $ac_compile) 2>&5
        !          7472:   ac_status=$?
        !          7473:   echo "$as_me:7473: \$? = $ac_status" >&5
        !          7474:   (exit $ac_status); } &&
        !          7475:          { ac_try='test -s conftest.$ac_objext'
        !          7476:   { (eval echo "$as_me:7476: \"$ac_try\"") >&5
        !          7477:   (eval $ac_try) 2>&5
        !          7478:   ac_status=$?
        !          7479:   echo "$as_me:7479: \$? = $ac_status" >&5
        !          7480:   (exit $ac_status); }; }; then
        !          7481:
        !          7482: cat >>confdefs.h <<\EOF
1.1       millert  7483: #define VOID void
                   7484: EOF
                   7485:
1.9     ! millert  7486: echo "$as_me:7486: result: yes" >&5
        !          7487: echo "${ECHO_T}yes" >&6
1.1       millert  7488: else
1.9     ! millert  7489:   echo "$as_me: failed program was:" >&5
        !          7490: cat conftest.$ac_ext >&5
        !          7491: cat >>confdefs.h <<\EOF
1.1       millert  7492: #define VOID char
                   7493: EOF
                   7494:
1.9     ! millert  7495: echo "$as_me:7495: result: no" >&5
        !          7496: echo "${ECHO_T}no" >&6
1.1       millert  7497: fi
1.9     ! millert  7498: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       millert  7499:
1.9     ! millert  7500: echo "$as_me:7500: checking max length of uid_t" >&5
        !          7501: echo $ECHO_N "checking max length of uid_t... $ECHO_C" >&6
        !          7502: if test "${sudo_cv_uid_t_len+set}" = set; then
        !          7503:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  7504: else
                   7505:   rm -f conftestdata
                   7506: if test "$cross_compiling" = yes; then
1.9     ! millert  7507:   { { echo "$as_me:7507: error: cannot run test program while cross compiling" >&5
        !          7508: echo "$as_me: error: cannot run test program while cross compiling" >&2;}
        !          7509:    { (exit 1); exit 1; }; }
1.1       millert  7510: else
1.9     ! millert  7511:   cat >conftest.$ac_ext <<_ACEOF
        !          7512: #line 7512 "configure"
1.1       millert  7513: #include "confdefs.h"
                   7514: #include <stdio.h>
                   7515: #include <pwd.h>
                   7516: #include <limits.h>
                   7517: #include <sys/types.h>
                   7518: #include <sys/param.h>
                   7519: main() {
                   7520:   FILE *f;
                   7521:   char b[1024];
                   7522:   uid_t u = (uid_t) -1;
                   7523:
                   7524:   if ((f = fopen("conftestdata", "w")) == NULL)
                   7525:     exit(1);
                   7526:
                   7527:   (void) sprintf(b, "%u", u);
                   7528:   (void) fprintf(f, "%d\n", strlen(b));
                   7529:   (void) fclose(f);
                   7530:   exit(0);
                   7531: }
1.9     ! millert  7532: _ACEOF
        !          7533: rm -f conftest$ac_exeext
        !          7534: if { (eval echo "$as_me:7534: \"$ac_link\"") >&5
        !          7535:   (eval $ac_link) 2>&5
        !          7536:   ac_status=$?
        !          7537:   echo "$as_me:7537: \$? = $ac_status" >&5
        !          7538:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          7539:   { (eval echo "$as_me:7539: \"$ac_try\"") >&5
        !          7540:   (eval $ac_try) 2>&5
        !          7541:   ac_status=$?
        !          7542:   echo "$as_me:7542: \$? = $ac_status" >&5
        !          7543:   (exit $ac_status); }; }; then
1.1       millert  7544:   sudo_cv_uid_t_len=`cat conftestdata`
                   7545: else
1.9     ! millert  7546:   echo "$as_me: program exited with status $ac_status" >&5
        !          7547: echo "$as_me: failed program was:" >&5
        !          7548: cat conftest.$ac_ext >&5
        !          7549: sudo_cv_uid_t_len=10
1.1       millert  7550: fi
1.9     ! millert  7551: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       millert  7552: fi
                   7553:
                   7554: fi
                   7555:
                   7556: rm -f conftestdata
1.9     ! millert  7557: echo "$as_me:7557: result: $sudo_cv_uid_t_len" >&5
        !          7558: echo "${ECHO_T}$sudo_cv_uid_t_len" >&6
        !          7559:
        !          7560: cat >>confdefs.h <<EOF
1.1       millert  7561: #define MAX_UID_T_LEN $sudo_cv_uid_t_len
                   7562: EOF
                   7563:
1.9     ! millert  7564: echo "$as_me:7564: checking for long long support" >&5
        !          7565: echo $ECHO_N "checking for long long support... $ECHO_C" >&6
        !          7566: cat >conftest.$ac_ext <<_ACEOF
        !          7567: #line 7567 "configure"
1.1       millert  7568: #include "confdefs.h"
                   7569:
1.9     ! millert  7570: int
        !          7571: main ()
        !          7572: {
1.1       millert  7573: long long foo = 1000; foo /= 10;
1.9     ! millert  7574:   ;
        !          7575:   return 0;
        !          7576: }
        !          7577: _ACEOF
        !          7578: rm -f conftest.$ac_objext conftest$ac_exeext
        !          7579: if { (eval echo "$as_me:7579: \"$ac_link\"") >&5
        !          7580:   (eval $ac_link) 2>&5
        !          7581:   ac_status=$?
        !          7582:   echo "$as_me:7582: \$? = $ac_status" >&5
        !          7583:   (exit $ac_status); } &&
        !          7584:          { ac_try='test -s conftest$ac_exeext'
        !          7585:   { (eval echo "$as_me:7585: \"$ac_try\"") >&5
        !          7586:   (eval $ac_try) 2>&5
        !          7587:   ac_status=$?
        !          7588:   echo "$as_me:7588: \$? = $ac_status" >&5
        !          7589:   (exit $ac_status); }; }; then
        !          7590:
        !          7591: cat >>confdefs.h <<\EOF
1.1       millert  7592: #define HAVE_LONG_LONG 1
                   7593: EOF
                   7594:
                   7595: if test "$cross_compiling" = yes; then
1.9     ! millert  7596:   { { echo "$as_me:7596: error: cannot run test program while cross compiling" >&5
        !          7597: echo "$as_me: error: cannot run test program while cross compiling" >&2;}
        !          7598:    { (exit 1); exit 1; }; }
1.1       millert  7599: else
1.9     ! millert  7600:   cat >conftest.$ac_ext <<_ACEOF
        !          7601: #line 7601 "configure"
1.1       millert  7602: #include "confdefs.h"
                   7603: main() {if (sizeof(long long) == sizeof(long)) exit(0); else exit(1);}
1.9     ! millert  7604: _ACEOF
        !          7605: rm -f conftest$ac_exeext
        !          7606: if { (eval echo "$as_me:7606: \"$ac_link\"") >&5
        !          7607:   (eval $ac_link) 2>&5
        !          7608:   ac_status=$?
        !          7609:   echo "$as_me:7609: \$? = $ac_status" >&5
        !          7610:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          7611:   { (eval echo "$as_me:7611: \"$ac_try\"") >&5
        !          7612:   (eval $ac_try) 2>&5
        !          7613:   ac_status=$?
        !          7614:   echo "$as_me:7614: \$? = $ac_status" >&5
        !          7615:   (exit $ac_status); }; }; then
        !          7616:
        !          7617: cat >>confdefs.h <<\EOF
1.1       millert  7618: #define LONG_IS_QUAD 1
                   7619: EOF
                   7620:
                   7621: else
1.9     ! millert  7622:   echo "$as_me: program exited with status $ac_status" >&5
        !          7623: echo "$as_me: failed program was:" >&5
        !          7624: cat conftest.$ac_ext >&5
        !          7625: fi
        !          7626: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
        !          7627: fi
        !          7628: echo "$as_me:7628: result: yes" >&5
        !          7629: echo "${ECHO_T}yes" >&6
        !          7630: else
        !          7631:   echo "$as_me: failed program was:" >&5
        !          7632: cat conftest.$ac_ext >&5
        !          7633: echo "$as_me:7633: result: no" >&5
        !          7634: echo "${ECHO_T}no" >&6
        !          7635: fi
        !          7636: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          7637: echo "$as_me:7637: checking for sa_len field in struct sockaddr" >&5
        !          7638: echo $ECHO_N "checking for sa_len field in struct sockaddr... $ECHO_C" >&6
        !          7639: if test "${sudo_cv_sock_sa_len+set}" = set; then
        !          7640:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  7641: else
                   7642:   if test "$cross_compiling" = yes; then
                   7643:   sudo_cv_sock_sa_len=no
                   7644: else
1.9     ! millert  7645:   cat >conftest.$ac_ext <<_ACEOF
        !          7646: #line 7646 "configure"
1.1       millert  7647: #include "confdefs.h"
                   7648: #include <sys/types.h>
                   7649: #include <sys/socket.h>
                   7650: main() {
                   7651: struct sockaddr s;
                   7652: s.sa_len = 0;
                   7653: exit(0);
                   7654: }
1.9     ! millert  7655: _ACEOF
        !          7656: rm -f conftest$ac_exeext
        !          7657: if { (eval echo "$as_me:7657: \"$ac_link\"") >&5
        !          7658:   (eval $ac_link) 2>&5
        !          7659:   ac_status=$?
        !          7660:   echo "$as_me:7660: \$? = $ac_status" >&5
        !          7661:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          7662:   { (eval echo "$as_me:7662: \"$ac_try\"") >&5
        !          7663:   (eval $ac_try) 2>&5
        !          7664:   ac_status=$?
        !          7665:   echo "$as_me:7665: \$? = $ac_status" >&5
        !          7666:   (exit $ac_status); }; }; then
1.1       millert  7667:   sudo_cv_sock_sa_len=yes
                   7668: else
1.9     ! millert  7669:   echo "$as_me: program exited with status $ac_status" >&5
        !          7670: echo "$as_me: failed program was:" >&5
        !          7671: cat conftest.$ac_ext >&5
        !          7672: sudo_cv_sock_sa_len=no
1.1       millert  7673: fi
1.9     ! millert  7674: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       millert  7675: fi
                   7676: rm -f core core.* *.core
                   7677: fi
1.9     ! millert  7678: echo "$as_me:7678: result: $sudo_cv_sock_sa_len" >&5
        !          7679: echo "${ECHO_T}$sudo_cv_sock_sa_len" >&6
1.1       millert  7680: if test $sudo_cv_sock_sa_len = yes; then
1.9     ! millert  7681:
        !          7682: cat >>confdefs.h <<\EOF
1.1       millert  7683: #define HAVE_SA_LEN 1
                   7684: EOF
                   7685:
                   7686: fi
                   7687:
                   7688: case "$DEFS" in
                   7689:     *"RETSIGTYPE"*)    ;;
1.9     ! millert  7690:     *)                 echo "$as_me:7690: checking return type of signal handlers" >&5
        !          7691: echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
        !          7692: if test "${ac_cv_type_signal+set}" = set; then
        !          7693:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  7694: else
1.9     ! millert  7695:   cat >conftest.$ac_ext <<_ACEOF
        !          7696: #line 7696 "configure"
1.1       millert  7697: #include "confdefs.h"
                   7698: #include <sys/types.h>
                   7699: #include <signal.h>
                   7700: #ifdef signal
1.9     ! millert  7701: # undef signal
1.1       millert  7702: #endif
                   7703: #ifdef __cplusplus
                   7704: extern "C" void (*signal (int, void (*)(int)))(int);
                   7705: #else
                   7706: void (*signal ()) ();
                   7707: #endif
                   7708:
1.9     ! millert  7709: int
        !          7710: main ()
        !          7711: {
1.1       millert  7712: int i;
1.9     ! millert  7713:   ;
        !          7714:   return 0;
        !          7715: }
        !          7716: _ACEOF
        !          7717: rm -f conftest.$ac_objext
        !          7718: if { (eval echo "$as_me:7718: \"$ac_compile\"") >&5
        !          7719:   (eval $ac_compile) 2>&5
        !          7720:   ac_status=$?
        !          7721:   echo "$as_me:7721: \$? = $ac_status" >&5
        !          7722:   (exit $ac_status); } &&
        !          7723:          { ac_try='test -s conftest.$ac_objext'
        !          7724:   { (eval echo "$as_me:7724: \"$ac_try\"") >&5
        !          7725:   (eval $ac_try) 2>&5
        !          7726:   ac_status=$?
        !          7727:   echo "$as_me:7727: \$? = $ac_status" >&5
        !          7728:   (exit $ac_status); }; }; then
1.1       millert  7729:   ac_cv_type_signal=void
                   7730: else
1.9     ! millert  7731:   echo "$as_me: failed program was:" >&5
        !          7732: cat conftest.$ac_ext >&5
        !          7733: ac_cv_type_signal=int
1.1       millert  7734: fi
1.9     ! millert  7735: rm -f conftest.$ac_objext conftest.$ac_ext
1.1       millert  7736: fi
1.9     ! millert  7737: echo "$as_me:7737: result: $ac_cv_type_signal" >&5
        !          7738: echo "${ECHO_T}$ac_cv_type_signal" >&6
1.1       millert  7739:
1.9     ! millert  7740: cat >>confdefs.h <<EOF
1.1       millert  7741: #define RETSIGTYPE $ac_cv_type_signal
                   7742: EOF
                   7743:
                   7744: ;;
                   7745: esac
1.9     ! millert  7746:
        !          7747: for ac_func in strchr strrchr memchr memcpy memset sysconf tzset \
        !          7748:               seteuid setegid strftime setrlimit initgroups fstat
1.1       millert  7749: do
1.9     ! millert  7750: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          7751: echo "$as_me:7751: checking for $ac_func" >&5
        !          7752: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          7753: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          7754:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  7755: else
1.9     ! millert  7756:   cat >conftest.$ac_ext <<_ACEOF
        !          7757: #line 7757 "configure"
1.1       millert  7758: #include "confdefs.h"
                   7759: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  7760:     which can conflict with char $ac_func (); below.  */
1.1       millert  7761: #include <assert.h>
                   7762: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  7763: #ifdef __cplusplus
        !          7764: extern "C"
        !          7765: #endif
1.1       millert  7766: /* We use char because int might match the return type of a gcc2
1.9     ! millert  7767:    builtin and then its argument prototype would still apply.  */
        !          7768: char $ac_func ();
        !          7769: char (*f) ();
1.1       millert  7770:
1.9     ! millert  7771: int
        !          7772: main ()
        !          7773: {
1.1       millert  7774: /* The GNU C library defines this for functions which it implements
                   7775:     to always fail with ENOSYS.  Some functions are actually named
                   7776:     something starting with __ and the normal name is an alias.  */
                   7777: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   7778: choke me
                   7779: #else
1.9     ! millert  7780: f = $ac_func;
1.1       millert  7781: #endif
                   7782:
1.9     ! millert  7783:   ;
        !          7784:   return 0;
        !          7785: }
        !          7786: _ACEOF
        !          7787: rm -f conftest.$ac_objext conftest$ac_exeext
        !          7788: if { (eval echo "$as_me:7788: \"$ac_link\"") >&5
        !          7789:   (eval $ac_link) 2>&5
        !          7790:   ac_status=$?
        !          7791:   echo "$as_me:7791: \$? = $ac_status" >&5
        !          7792:   (exit $ac_status); } &&
        !          7793:          { ac_try='test -s conftest$ac_exeext'
        !          7794:   { (eval echo "$as_me:7794: \"$ac_try\"") >&5
        !          7795:   (eval $ac_try) 2>&5
        !          7796:   ac_status=$?
        !          7797:   echo "$as_me:7797: \$? = $ac_status" >&5
        !          7798:   (exit $ac_status); }; }; then
        !          7799:   eval "$as_ac_var=yes"
        !          7800: else
        !          7801:   echo "$as_me: failed program was:" >&5
        !          7802: cat conftest.$ac_ext >&5
        !          7803: eval "$as_ac_var=no"
        !          7804: fi
        !          7805: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          7806: fi
        !          7807: echo "$as_me:7807: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          7808: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          7809: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          7810:   cat >>confdefs.h <<EOF
        !          7811: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  7812: EOF
                   7813:
                   7814: fi
                   7815: done
                   7816:
1.9     ! millert  7817: if test -z "$BROKEN_SETREUID"; then
        !          7818:
        !          7819: for ac_func in setreuid
1.1       millert  7820: do
1.9     ! millert  7821: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          7822: echo "$as_me:7822: checking for $ac_func" >&5
        !          7823: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          7824: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          7825:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  7826: else
1.9     ! millert  7827:   cat >conftest.$ac_ext <<_ACEOF
        !          7828: #line 7828 "configure"
1.1       millert  7829: #include "confdefs.h"
                   7830: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  7831:     which can conflict with char $ac_func (); below.  */
1.1       millert  7832: #include <assert.h>
                   7833: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  7834: #ifdef __cplusplus
        !          7835: extern "C"
        !          7836: #endif
1.1       millert  7837: /* We use char because int might match the return type of a gcc2
1.9     ! millert  7838:    builtin and then its argument prototype would still apply.  */
        !          7839: char $ac_func ();
        !          7840: char (*f) ();
1.1       millert  7841:
1.9     ! millert  7842: int
        !          7843: main ()
        !          7844: {
1.1       millert  7845: /* The GNU C library defines this for functions which it implements
                   7846:     to always fail with ENOSYS.  Some functions are actually named
                   7847:     something starting with __ and the normal name is an alias.  */
                   7848: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   7849: choke me
                   7850: #else
1.9     ! millert  7851: f = $ac_func;
1.1       millert  7852: #endif
                   7853:
1.9     ! millert  7854:   ;
        !          7855:   return 0;
        !          7856: }
        !          7857: _ACEOF
        !          7858: rm -f conftest.$ac_objext conftest$ac_exeext
        !          7859: if { (eval echo "$as_me:7859: \"$ac_link\"") >&5
        !          7860:   (eval $ac_link) 2>&5
        !          7861:   ac_status=$?
        !          7862:   echo "$as_me:7862: \$? = $ac_status" >&5
        !          7863:   (exit $ac_status); } &&
        !          7864:          { ac_try='test -s conftest$ac_exeext'
        !          7865:   { (eval echo "$as_me:7865: \"$ac_try\"") >&5
        !          7866:   (eval $ac_try) 2>&5
        !          7867:   ac_status=$?
        !          7868:   echo "$as_me:7868: \$? = $ac_status" >&5
        !          7869:   (exit $ac_status); }; }; then
        !          7870:   eval "$as_ac_var=yes"
        !          7871: else
        !          7872:   echo "$as_me: failed program was:" >&5
        !          7873: cat conftest.$ac_ext >&5
        !          7874: eval "$as_ac_var=no"
        !          7875: fi
        !          7876: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          7877: fi
        !          7878: echo "$as_me:7878: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          7879: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          7880: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          7881:   cat >>confdefs.h <<EOF
        !          7882: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  7883: EOF
                   7884:
                   7885: fi
                   7886: done
                   7887:
                   7888: fi
1.9     ! millert  7889: if test X"$with_interfaces" != X"no"; then
1.1       millert  7890:
1.9     ! millert  7891: for ac_func in getifaddrs
1.1       millert  7892: do
1.9     ! millert  7893: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          7894: echo "$as_me:7894: checking for $ac_func" >&5
        !          7895: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          7896: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          7897:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  7898: else
1.9     ! millert  7899:   cat >conftest.$ac_ext <<_ACEOF
        !          7900: #line 7900 "configure"
1.1       millert  7901: #include "confdefs.h"
                   7902: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  7903:     which can conflict with char $ac_func (); below.  */
1.1       millert  7904: #include <assert.h>
                   7905: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  7906: #ifdef __cplusplus
        !          7907: extern "C"
        !          7908: #endif
1.1       millert  7909: /* We use char because int might match the return type of a gcc2
1.9     ! millert  7910:    builtin and then its argument prototype would still apply.  */
        !          7911: char $ac_func ();
        !          7912: char (*f) ();
1.1       millert  7913:
1.9     ! millert  7914: int
        !          7915: main ()
        !          7916: {
1.1       millert  7917: /* The GNU C library defines this for functions which it implements
                   7918:     to always fail with ENOSYS.  Some functions are actually named
                   7919:     something starting with __ and the normal name is an alias.  */
                   7920: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   7921: choke me
                   7922: #else
1.9     ! millert  7923: f = $ac_func;
1.1       millert  7924: #endif
                   7925:
1.9     ! millert  7926:   ;
        !          7927:   return 0;
        !          7928: }
        !          7929: _ACEOF
        !          7930: rm -f conftest.$ac_objext conftest$ac_exeext
        !          7931: if { (eval echo "$as_me:7931: \"$ac_link\"") >&5
        !          7932:   (eval $ac_link) 2>&5
        !          7933:   ac_status=$?
        !          7934:   echo "$as_me:7934: \$? = $ac_status" >&5
        !          7935:   (exit $ac_status); } &&
        !          7936:          { ac_try='test -s conftest$ac_exeext'
        !          7937:   { (eval echo "$as_me:7937: \"$ac_try\"") >&5
        !          7938:   (eval $ac_try) 2>&5
        !          7939:   ac_status=$?
        !          7940:   echo "$as_me:7940: \$? = $ac_status" >&5
        !          7941:   (exit $ac_status); }; }; then
        !          7942:   eval "$as_ac_var=yes"
        !          7943: else
        !          7944:   echo "$as_me: failed program was:" >&5
        !          7945: cat conftest.$ac_ext >&5
        !          7946: eval "$as_ac_var=no"
        !          7947: fi
        !          7948: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          7949: fi
        !          7950: echo "$as_me:7950: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          7951: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          7952: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          7953:   cat >>confdefs.h <<EOF
        !          7954: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  7955: EOF
                   7956:
                   7957: fi
                   7958: done
                   7959:
                   7960: fi
1.9     ! millert  7961: if test -n "$SECUREWARE"; then
1.1       millert  7962:
1.9     ! millert  7963: for ac_func in bigcrypt set_auth_parameters initprivs
        !          7964: do
        !          7965: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          7966: echo "$as_me:7966: checking for $ac_func" >&5
        !          7967: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          7968: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          7969:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  7970: else
1.9     ! millert  7971:   cat >conftest.$ac_ext <<_ACEOF
        !          7972: #line 7972 "configure"
1.1       millert  7973: #include "confdefs.h"
                   7974: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  7975:     which can conflict with char $ac_func (); below.  */
1.1       millert  7976: #include <assert.h>
                   7977: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  7978: #ifdef __cplusplus
        !          7979: extern "C"
1.1       millert  7980: #endif
                   7981: /* We use char because int might match the return type of a gcc2
1.9     ! millert  7982:    builtin and then its argument prototype would still apply.  */
        !          7983: char $ac_func ();
        !          7984: char (*f) ();
1.1       millert  7985:
1.9     ! millert  7986: int
        !          7987: main ()
        !          7988: {
1.1       millert  7989: /* The GNU C library defines this for functions which it implements
                   7990:     to always fail with ENOSYS.  Some functions are actually named
                   7991:     something starting with __ and the normal name is an alias.  */
                   7992: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   7993: choke me
                   7994: #else
1.9     ! millert  7995: f = $ac_func;
1.1       millert  7996: #endif
                   7997:
1.9     ! millert  7998:   ;
        !          7999:   return 0;
        !          8000: }
        !          8001: _ACEOF
        !          8002: rm -f conftest.$ac_objext conftest$ac_exeext
        !          8003: if { (eval echo "$as_me:8003: \"$ac_link\"") >&5
        !          8004:   (eval $ac_link) 2>&5
        !          8005:   ac_status=$?
        !          8006:   echo "$as_me:8006: \$? = $ac_status" >&5
        !          8007:   (exit $ac_status); } &&
        !          8008:          { ac_try='test -s conftest$ac_exeext'
        !          8009:   { (eval echo "$as_me:8009: \"$ac_try\"") >&5
        !          8010:   (eval $ac_try) 2>&5
        !          8011:   ac_status=$?
        !          8012:   echo "$as_me:8012: \$? = $ac_status" >&5
        !          8013:   (exit $ac_status); }; }; then
        !          8014:   eval "$as_ac_var=yes"
        !          8015: else
        !          8016:   echo "$as_me: failed program was:" >&5
        !          8017: cat conftest.$ac_ext >&5
        !          8018: eval "$as_ac_var=no"
        !          8019: fi
        !          8020: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          8021: fi
        !          8022: echo "$as_me:8022: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          8023: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          8024: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          8025:   cat >>confdefs.h <<EOF
        !          8026: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  8027: EOF
                   8028:
                   8029: fi
                   8030: done
                   8031:
                   8032: fi
1.9     ! millert  8033: if test -z "$BROKEN_GETCWD"; then
1.1       millert  8034:
1.9     ! millert  8035: for ac_func in getcwd
        !          8036: do
        !          8037: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          8038: echo "$as_me:8038: checking for $ac_func" >&5
        !          8039: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          8040: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          8041:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  8042: else
1.9     ! millert  8043:   cat >conftest.$ac_ext <<_ACEOF
        !          8044: #line 8044 "configure"
1.1       millert  8045: #include "confdefs.h"
                   8046: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  8047:     which can conflict with char $ac_func (); below.  */
1.1       millert  8048: #include <assert.h>
                   8049: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  8050: #ifdef __cplusplus
        !          8051: extern "C"
1.1       millert  8052: #endif
                   8053: /* We use char because int might match the return type of a gcc2
1.9     ! millert  8054:    builtin and then its argument prototype would still apply.  */
        !          8055: char $ac_func ();
        !          8056: char (*f) ();
1.1       millert  8057:
1.9     ! millert  8058: int
        !          8059: main ()
        !          8060: {
1.1       millert  8061: /* The GNU C library defines this for functions which it implements
                   8062:     to always fail with ENOSYS.  Some functions are actually named
                   8063:     something starting with __ and the normal name is an alias.  */
                   8064: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   8065: choke me
                   8066: #else
1.9     ! millert  8067: f = $ac_func;
1.1       millert  8068: #endif
                   8069:
1.9     ! millert  8070:   ;
        !          8071:   return 0;
        !          8072: }
        !          8073: _ACEOF
        !          8074: rm -f conftest.$ac_objext conftest$ac_exeext
        !          8075: if { (eval echo "$as_me:8075: \"$ac_link\"") >&5
        !          8076:   (eval $ac_link) 2>&5
        !          8077:   ac_status=$?
        !          8078:   echo "$as_me:8078: \$? = $ac_status" >&5
        !          8079:   (exit $ac_status); } &&
        !          8080:          { ac_try='test -s conftest$ac_exeext'
        !          8081:   { (eval echo "$as_me:8081: \"$ac_try\"") >&5
        !          8082:   (eval $ac_try) 2>&5
        !          8083:   ac_status=$?
        !          8084:   echo "$as_me:8084: \$? = $ac_status" >&5
        !          8085:   (exit $ac_status); }; }; then
        !          8086:   eval "$as_ac_var=yes"
        !          8087: else
        !          8088:   echo "$as_me: failed program was:" >&5
        !          8089: cat conftest.$ac_ext >&5
        !          8090: eval "$as_ac_var=no"
        !          8091: fi
        !          8092: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          8093: fi
        !          8094: echo "$as_me:8094: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          8095: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          8096: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          8097:   cat >>confdefs.h <<EOF
        !          8098: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  8099: EOF
                   8100:
                   8101: else
1.9     ! millert  8102:   LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
1.1       millert  8103: fi
                   8104: done
                   8105:
                   8106: fi
                   8107:
1.9     ! millert  8108: for ac_func in lockf flock
        !          8109: do
        !          8110: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          8111: echo "$as_me:8111: checking for $ac_func" >&5
        !          8112: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          8113: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          8114:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  8115: else
1.9     ! millert  8116:   cat >conftest.$ac_ext <<_ACEOF
        !          8117: #line 8117 "configure"
1.1       millert  8118: #include "confdefs.h"
                   8119: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  8120:     which can conflict with char $ac_func (); below.  */
1.1       millert  8121: #include <assert.h>
                   8122: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  8123: #ifdef __cplusplus
        !          8124: extern "C"
        !          8125: #endif
1.1       millert  8126: /* We use char because int might match the return type of a gcc2
1.9     ! millert  8127:    builtin and then its argument prototype would still apply.  */
        !          8128: char $ac_func ();
        !          8129: char (*f) ();
1.1       millert  8130:
1.9     ! millert  8131: int
        !          8132: main ()
        !          8133: {
1.1       millert  8134: /* The GNU C library defines this for functions which it implements
                   8135:     to always fail with ENOSYS.  Some functions are actually named
                   8136:     something starting with __ and the normal name is an alias.  */
1.9     ! millert  8137: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.1       millert  8138: choke me
                   8139: #else
1.9     ! millert  8140: f = $ac_func;
1.1       millert  8141: #endif
                   8142:
1.9     ! millert  8143:   ;
        !          8144:   return 0;
        !          8145: }
        !          8146: _ACEOF
        !          8147: rm -f conftest.$ac_objext conftest$ac_exeext
        !          8148: if { (eval echo "$as_me:8148: \"$ac_link\"") >&5
        !          8149:   (eval $ac_link) 2>&5
        !          8150:   ac_status=$?
        !          8151:   echo "$as_me:8151: \$? = $ac_status" >&5
        !          8152:   (exit $ac_status); } &&
        !          8153:          { ac_try='test -s conftest$ac_exeext'
        !          8154:   { (eval echo "$as_me:8154: \"$ac_try\"") >&5
        !          8155:   (eval $ac_try) 2>&5
        !          8156:   ac_status=$?
        !          8157:   echo "$as_me:8157: \$? = $ac_status" >&5
        !          8158:   (exit $ac_status); }; }; then
        !          8159:   eval "$as_ac_var=yes"
        !          8160: else
        !          8161:   echo "$as_me: failed program was:" >&5
        !          8162: cat conftest.$ac_ext >&5
        !          8163: eval "$as_ac_var=no"
        !          8164: fi
        !          8165: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          8166: fi
        !          8167: echo "$as_me:8167: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          8168: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          8169: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          8170:   cat >>confdefs.h <<EOF
        !          8171: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  8172: EOF
1.9     ! millert  8173:  break
1.1       millert  8174: fi
1.9     ! millert  8175: done
1.1       millert  8176:
1.9     ! millert  8177: for ac_func in waitpid wait3
1.1       millert  8178: do
1.9     ! millert  8179: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          8180: echo "$as_me:8180: checking for $ac_func" >&5
        !          8181: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          8182: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          8183:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  8184: else
1.9     ! millert  8185:   cat >conftest.$ac_ext <<_ACEOF
        !          8186: #line 8186 "configure"
1.1       millert  8187: #include "confdefs.h"
                   8188: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  8189:     which can conflict with char $ac_func (); below.  */
1.1       millert  8190: #include <assert.h>
                   8191: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  8192: #ifdef __cplusplus
        !          8193: extern "C"
        !          8194: #endif
1.1       millert  8195: /* We use char because int might match the return type of a gcc2
1.9     ! millert  8196:    builtin and then its argument prototype would still apply.  */
        !          8197: char $ac_func ();
        !          8198: char (*f) ();
1.1       millert  8199:
1.9     ! millert  8200: int
        !          8201: main ()
        !          8202: {
1.1       millert  8203: /* The GNU C library defines this for functions which it implements
                   8204:     to always fail with ENOSYS.  Some functions are actually named
                   8205:     something starting with __ and the normal name is an alias.  */
                   8206: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   8207: choke me
                   8208: #else
1.9     ! millert  8209: f = $ac_func;
1.1       millert  8210: #endif
                   8211:
1.9     ! millert  8212:   ;
        !          8213:   return 0;
        !          8214: }
        !          8215: _ACEOF
        !          8216: rm -f conftest.$ac_objext conftest$ac_exeext
        !          8217: if { (eval echo "$as_me:8217: \"$ac_link\"") >&5
        !          8218:   (eval $ac_link) 2>&5
        !          8219:   ac_status=$?
        !          8220:   echo "$as_me:8220: \$? = $ac_status" >&5
        !          8221:   (exit $ac_status); } &&
        !          8222:          { ac_try='test -s conftest$ac_exeext'
        !          8223:   { (eval echo "$as_me:8223: \"$ac_try\"") >&5
        !          8224:   (eval $ac_try) 2>&5
        !          8225:   ac_status=$?
        !          8226:   echo "$as_me:8226: \$? = $ac_status" >&5
        !          8227:   (exit $ac_status); }; }; then
        !          8228:   eval "$as_ac_var=yes"
        !          8229: else
        !          8230:   echo "$as_me: failed program was:" >&5
        !          8231: cat conftest.$ac_ext >&5
        !          8232: eval "$as_ac_var=no"
        !          8233: fi
        !          8234: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          8235: fi
        !          8236: echo "$as_me:8236: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          8237: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          8238: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          8239:   cat >>confdefs.h <<EOF
        !          8240: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  8241: EOF
1.9     ! millert  8242:  break
1.1       millert  8243: fi
                   8244: done
                   8245:
1.9     ! millert  8246: for ac_func in innetgr _innetgr
        !          8247: do
        !          8248: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          8249: echo "$as_me:8249: checking for $ac_func" >&5
        !          8250: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          8251: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          8252:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  8253: else
1.9     ! millert  8254:   cat >conftest.$ac_ext <<_ACEOF
        !          8255: #line 8255 "configure"
1.1       millert  8256: #include "confdefs.h"
                   8257: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  8258:     which can conflict with char $ac_func (); below.  */
1.1       millert  8259: #include <assert.h>
                   8260: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  8261: #ifdef __cplusplus
        !          8262: extern "C"
        !          8263: #endif
1.1       millert  8264: /* We use char because int might match the return type of a gcc2
1.9     ! millert  8265:    builtin and then its argument prototype would still apply.  */
        !          8266: char $ac_func ();
        !          8267: char (*f) ();
1.1       millert  8268:
1.9     ! millert  8269: int
        !          8270: main ()
        !          8271: {
1.1       millert  8272: /* The GNU C library defines this for functions which it implements
                   8273:     to always fail with ENOSYS.  Some functions are actually named
                   8274:     something starting with __ and the normal name is an alias.  */
1.9     ! millert  8275: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.1       millert  8276: choke me
                   8277: #else
1.9     ! millert  8278: f = $ac_func;
1.1       millert  8279: #endif
                   8280:
1.9     ! millert  8281:   ;
        !          8282:   return 0;
        !          8283: }
        !          8284: _ACEOF
        !          8285: rm -f conftest.$ac_objext conftest$ac_exeext
        !          8286: if { (eval echo "$as_me:8286: \"$ac_link\"") >&5
        !          8287:   (eval $ac_link) 2>&5
        !          8288:   ac_status=$?
        !          8289:   echo "$as_me:8289: \$? = $ac_status" >&5
        !          8290:   (exit $ac_status); } &&
        !          8291:          { ac_try='test -s conftest$ac_exeext'
        !          8292:   { (eval echo "$as_me:8292: \"$ac_try\"") >&5
        !          8293:   (eval $ac_try) 2>&5
        !          8294:   ac_status=$?
        !          8295:   echo "$as_me:8295: \$? = $ac_status" >&5
        !          8296:   (exit $ac_status); }; }; then
        !          8297:   eval "$as_ac_var=yes"
        !          8298: else
        !          8299:   echo "$as_me: failed program was:" >&5
        !          8300: cat conftest.$ac_ext >&5
        !          8301: eval "$as_ac_var=no"
        !          8302: fi
        !          8303: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          8304: fi
        !          8305: echo "$as_me:8305: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          8306: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          8307: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          8308:   cat >>confdefs.h <<EOF
        !          8309: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  8310: EOF
                   8311:
1.9     ! millert  8312: for ac_func in getdomainname
        !          8313: do
        !          8314: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          8315: echo "$as_me:8315: checking for $ac_func" >&5
        !          8316: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          8317: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          8318:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  8319: else
1.9     ! millert  8320:   cat >conftest.$ac_ext <<_ACEOF
        !          8321: #line 8321 "configure"
1.1       millert  8322: #include "confdefs.h"
1.9     ! millert  8323: /* System header to define __stub macros and hopefully few prototypes
1.1       millert  8324: else
1.9     ! millert  8325:   which can conflict with char $ac_func (); below.  */
1.1       millert  8326: #include <assert.h>
                   8327: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  8328: #ifdef __cplusplus
        !          8329: extern "C"
        !          8330: #endif
1.1       millert  8331: /* We use char because int might match the return type of a gcc2
1.9     ! millert  8332:    builtin and then its argument prototype would still apply.  */
        !          8333: char $ac_func ();
        !          8334: char (*f) ();
1.1       millert  8335:
1.9     ! millert  8336: int
        !          8337: main ()
        !          8338: {
1.1       millert  8339: /* The GNU C library defines this for functions which it implements
                   8340:     to always fail with ENOSYS.  Some functions are actually named
                   8341:     something starting with __ and the normal name is an alias.  */
1.9     ! millert  8342: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.1       millert  8343: choke me
                   8344: #else
1.9     ! millert  8345: f = $ac_func;
1.1       millert  8346: #endif
                   8347:
1.9     ! millert  8348:   ;
        !          8349:   return 0;
        !          8350: }
        !          8351: _ACEOF
        !          8352: rm -f conftest.$ac_objext conftest$ac_exeext
        !          8353: if { (eval echo "$as_me:8353: \"$ac_link\"") >&5
        !          8354:   (eval $ac_link) 2>&5
        !          8355:   ac_status=$?
        !          8356:   echo "$as_me:8356: \$? = $ac_status" >&5
        !          8357:   (exit $ac_status); } &&
        !          8358:          { ac_try='test -s conftest$ac_exeext'
        !          8359:   { (eval echo "$as_me:8359: \"$ac_try\"") >&5
        !          8360:   (eval $ac_try) 2>&5
        !          8361:   ac_status=$?
        !          8362:   echo "$as_me:8362: \$? = $ac_status" >&5
        !          8363:   (exit $ac_status); }; }; then
        !          8364:   eval "$as_ac_var=yes"
        !          8365: else
        !          8366:   echo "$as_me: failed program was:" >&5
        !          8367: cat conftest.$ac_ext >&5
        !          8368: eval "$as_ac_var=no"
        !          8369: fi
        !          8370: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          8371: fi
        !          8372: echo "$as_me:8372: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          8373: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          8374: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          8375:   cat >>confdefs.h <<EOF
        !          8376: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  8377: EOF
1.9     ! millert  8378:
1.1       millert  8379: fi
1.9     ! millert  8380: done
        !          8381:  break
1.1       millert  8382: fi
1.9     ! millert  8383: done
1.1       millert  8384:
1.9     ! millert  8385: for ac_func in lsearch
        !          8386: do
        !          8387: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          8388: echo "$as_me:8388: checking for $ac_func" >&5
        !          8389: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          8390: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          8391:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  8392: else
1.9     ! millert  8393:   cat >conftest.$ac_ext <<_ACEOF
        !          8394: #line 8394 "configure"
1.1       millert  8395: #include "confdefs.h"
                   8396: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  8397:     which can conflict with char $ac_func (); below.  */
1.1       millert  8398: #include <assert.h>
                   8399: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  8400: #ifdef __cplusplus
        !          8401: extern "C"
        !          8402: #endif
1.1       millert  8403: /* We use char because int might match the return type of a gcc2
1.9     ! millert  8404:    builtin and then its argument prototype would still apply.  */
        !          8405: char $ac_func ();
        !          8406: char (*f) ();
1.1       millert  8407:
1.9     ! millert  8408: int
        !          8409: main ()
        !          8410: {
1.1       millert  8411: /* The GNU C library defines this for functions which it implements
                   8412:     to always fail with ENOSYS.  Some functions are actually named
                   8413:     something starting with __ and the normal name is an alias.  */
1.9     ! millert  8414: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.1       millert  8415: choke me
                   8416: #else
1.9     ! millert  8417: f = $ac_func;
1.1       millert  8418: #endif
                   8419:
1.9     ! millert  8420:   ;
        !          8421:   return 0;
        !          8422: }
        !          8423: _ACEOF
        !          8424: rm -f conftest.$ac_objext conftest$ac_exeext
        !          8425: if { (eval echo "$as_me:8425: \"$ac_link\"") >&5
        !          8426:   (eval $ac_link) 2>&5
        !          8427:   ac_status=$?
        !          8428:   echo "$as_me:8428: \$? = $ac_status" >&5
        !          8429:   (exit $ac_status); } &&
        !          8430:          { ac_try='test -s conftest$ac_exeext'
        !          8431:   { (eval echo "$as_me:8431: \"$ac_try\"") >&5
        !          8432:   (eval $ac_try) 2>&5
        !          8433:   ac_status=$?
        !          8434:   echo "$as_me:8434: \$? = $ac_status" >&5
        !          8435:   (exit $ac_status); }; }; then
        !          8436:   eval "$as_ac_var=yes"
        !          8437: else
        !          8438:   echo "$as_me: failed program was:" >&5
        !          8439: cat conftest.$ac_ext >&5
        !          8440: eval "$as_ac_var=no"
        !          8441: fi
        !          8442: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          8443: fi
        !          8444: echo "$as_me:8444: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          8445: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          8446: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          8447:   cat >>confdefs.h <<EOF
        !          8448: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  8449: EOF
1.9     ! millert  8450:
        !          8451: else
        !          8452:   echo "$as_me:8452: checking for lsearch in -lcompat" >&5
        !          8453: echo $ECHO_N "checking for lsearch in -lcompat... $ECHO_C" >&6
        !          8454: if test "${ac_cv_lib_compat_lsearch+set}" = set; then
        !          8455:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          8456: else
        !          8457:   ac_check_lib_save_LIBS=$LIBS
        !          8458: LIBS="-lcompat  $LIBS"
        !          8459: cat >conftest.$ac_ext <<_ACEOF
        !          8460: #line 8460 "configure"
        !          8461: #include "confdefs.h"
        !          8462:
        !          8463: /* Override any gcc2 internal prototype to avoid an error.  */
        !          8464: #ifdef __cplusplus
        !          8465: extern "C"
        !          8466: #endif
        !          8467: /* We use char because int might match the return type of a gcc2
        !          8468:    builtin and then its argument prototype would still apply.  */
        !          8469: char lsearch ();
        !          8470: int
        !          8471: main ()
        !          8472: {
        !          8473: lsearch ();
        !          8474:   ;
        !          8475:   return 0;
        !          8476: }
        !          8477: _ACEOF
        !          8478: rm -f conftest.$ac_objext conftest$ac_exeext
        !          8479: if { (eval echo "$as_me:8479: \"$ac_link\"") >&5
        !          8480:   (eval $ac_link) 2>&5
        !          8481:   ac_status=$?
        !          8482:   echo "$as_me:8482: \$? = $ac_status" >&5
        !          8483:   (exit $ac_status); } &&
        !          8484:          { ac_try='test -s conftest$ac_exeext'
        !          8485:   { (eval echo "$as_me:8485: \"$ac_try\"") >&5
        !          8486:   (eval $ac_try) 2>&5
        !          8487:   ac_status=$?
        !          8488:   echo "$as_me:8488: \$? = $ac_status" >&5
        !          8489:   (exit $ac_status); }; }; then
        !          8490:   ac_cv_lib_compat_lsearch=yes
        !          8491: else
        !          8492:   echo "$as_me: failed program was:" >&5
        !          8493: cat conftest.$ac_ext >&5
        !          8494: ac_cv_lib_compat_lsearch=no
        !          8495: fi
        !          8496: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          8497: LIBS=$ac_check_lib_save_LIBS
        !          8498: fi
        !          8499: echo "$as_me:8499: result: $ac_cv_lib_compat_lsearch" >&5
        !          8500: echo "${ECHO_T}$ac_cv_lib_compat_lsearch" >&6
        !          8501: if test $ac_cv_lib_compat_lsearch = yes; then
        !          8502:   echo "$as_me:8502: checking for search.h" >&5
        !          8503: echo $ECHO_N "checking for search.h... $ECHO_C" >&6
        !          8504: if test "${ac_cv_header_search_h+set}" = set; then
        !          8505:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  8506: else
1.9     ! millert  8507:   cat >conftest.$ac_ext <<_ACEOF
        !          8508: #line 8508 "configure"
        !          8509: #include "confdefs.h"
        !          8510: #include <search.h>
        !          8511: _ACEOF
        !          8512: if { (eval echo "$as_me:8512: \"$ac_cpp conftest.$ac_ext\"") >&5
        !          8513:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
        !          8514:   ac_status=$?
        !          8515:   egrep -v '^ *\+' conftest.er1 >conftest.err
        !          8516:   rm -f conftest.er1
        !          8517:   cat conftest.err >&5
        !          8518:   echo "$as_me:8518: \$? = $ac_status" >&5
        !          8519:   (exit $ac_status); } >/dev/null; then
        !          8520:   if test -s conftest.err; then
        !          8521:     ac_cpp_err=$ac_c_preproc_warn_flag
        !          8522:   else
        !          8523:     ac_cpp_err=
        !          8524:   fi
        !          8525: else
        !          8526:   ac_cpp_err=yes
        !          8527: fi
        !          8528: if test -z "$ac_cpp_err"; then
        !          8529:   ac_cv_header_search_h=yes
        !          8530: else
        !          8531:   echo "$as_me: failed program was:" >&5
1.1       millert  8532:   cat conftest.$ac_ext >&5
1.9     ! millert  8533:   ac_cv_header_search_h=no
1.1       millert  8534: fi
1.9     ! millert  8535: rm -f conftest.err conftest.$ac_ext
1.1       millert  8536: fi
1.9     ! millert  8537: echo "$as_me:8537: result: $ac_cv_header_search_h" >&5
        !          8538: echo "${ECHO_T}$ac_cv_header_search_h" >&6
        !          8539: if test $ac_cv_header_search_h = yes; then
        !          8540:   cat >>confdefs.h <<\EOF
        !          8541: #define HAVE_LSEARCH 1
1.1       millert  8542: EOF
1.9     ! millert  8543:  LIBS="${LIBS} -lcompat"
        !          8544: else
        !          8545:   LIBOBJS="$LIBOBJS lsearch.$ac_objext"
        !          8546: fi
1.1       millert  8547:
                   8548: else
1.9     ! millert  8549:   LIBOBJS="$LIBOBJS lsearch.$ac_objext"
1.1       millert  8550: fi
                   8551:
                   8552: fi
1.9     ! millert  8553: done
1.1       millert  8554:
1.9     ! millert  8555: for ac_func in utime
        !          8556: do
        !          8557: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          8558: echo "$as_me:8558: checking for $ac_func" >&5
        !          8559: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          8560: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          8561:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  8562: else
1.9     ! millert  8563:   cat >conftest.$ac_ext <<_ACEOF
        !          8564: #line 8564 "configure"
1.1       millert  8565: #include "confdefs.h"
                   8566: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  8567:     which can conflict with char $ac_func (); below.  */
1.1       millert  8568: #include <assert.h>
                   8569: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  8570: #ifdef __cplusplus
        !          8571: extern "C"
        !          8572: #endif
1.1       millert  8573: /* We use char because int might match the return type of a gcc2
1.9     ! millert  8574:    builtin and then its argument prototype would still apply.  */
        !          8575: char $ac_func ();
        !          8576: char (*f) ();
1.1       millert  8577:
1.9     ! millert  8578: int
        !          8579: main ()
        !          8580: {
1.1       millert  8581: /* The GNU C library defines this for functions which it implements
                   8582:     to always fail with ENOSYS.  Some functions are actually named
                   8583:     something starting with __ and the normal name is an alias.  */
1.9     ! millert  8584: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.1       millert  8585: choke me
                   8586: #else
1.9     ! millert  8587: f = $ac_func;
1.1       millert  8588: #endif
                   8589:
1.9     ! millert  8590:   ;
        !          8591:   return 0;
        !          8592: }
        !          8593: _ACEOF
        !          8594: rm -f conftest.$ac_objext conftest$ac_exeext
        !          8595: if { (eval echo "$as_me:8595: \"$ac_link\"") >&5
        !          8596:   (eval $ac_link) 2>&5
        !          8597:   ac_status=$?
        !          8598:   echo "$as_me:8598: \$? = $ac_status" >&5
        !          8599:   (exit $ac_status); } &&
        !          8600:          { ac_try='test -s conftest$ac_exeext'
        !          8601:   { (eval echo "$as_me:8601: \"$ac_try\"") >&5
        !          8602:   (eval $ac_try) 2>&5
        !          8603:   ac_status=$?
        !          8604:   echo "$as_me:8604: \$? = $ac_status" >&5
        !          8605:   (exit $ac_status); }; }; then
        !          8606:   eval "$as_ac_var=yes"
        !          8607: else
        !          8608:   echo "$as_me: failed program was:" >&5
        !          8609: cat conftest.$ac_ext >&5
        !          8610: eval "$as_ac_var=no"
        !          8611: fi
        !          8612: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          8613: fi
        !          8614: echo "$as_me:8614: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          8615: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          8616: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          8617:   cat >>confdefs.h <<EOF
        !          8618: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
        !          8619: EOF
        !          8620:  echo "$as_me:8620: checking for POSIX utime" >&5
        !          8621: echo $ECHO_N "checking for POSIX utime... $ECHO_C" >&6
        !          8622: if test "${sudo_cv_func_utime_posix+set}" = set; then
        !          8623:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  8624: else
                   8625:   rm -f conftestdata; > conftestdata
                   8626: if test "$cross_compiling" = yes; then
                   8627:   sudo_cv_func_utime_posix=no
                   8628: else
1.9     ! millert  8629:   cat >conftest.$ac_ext <<_ACEOF
        !          8630: #line 8630 "configure"
1.1       millert  8631: #include "confdefs.h"
                   8632: #include <sys/types.h>
                   8633: #include <sys/time.h>
                   8634: #include <utime.h>
                   8635: main() {
                   8636: struct utimbuf ut;
                   8637: ut.actime = ut.modtime = time(0);
                   8638: utime("conftestdata", &ut);
                   8639: exit(0);
                   8640: }
1.9     ! millert  8641: _ACEOF
        !          8642: rm -f conftest$ac_exeext
        !          8643: if { (eval echo "$as_me:8643: \"$ac_link\"") >&5
        !          8644:   (eval $ac_link) 2>&5
        !          8645:   ac_status=$?
        !          8646:   echo "$as_me:8646: \$? = $ac_status" >&5
        !          8647:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          8648:   { (eval echo "$as_me:8648: \"$ac_try\"") >&5
        !          8649:   (eval $ac_try) 2>&5
        !          8650:   ac_status=$?
        !          8651:   echo "$as_me:8651: \$? = $ac_status" >&5
        !          8652:   (exit $ac_status); }; }; then
1.1       millert  8653:   sudo_cv_func_utime_posix=yes
                   8654: else
1.9     ! millert  8655:   echo "$as_me: program exited with status $ac_status" >&5
        !          8656: echo "$as_me: failed program was:" >&5
        !          8657: cat conftest.$ac_ext >&5
        !          8658: sudo_cv_func_utime_posix=no
1.1       millert  8659: fi
1.9     ! millert  8660: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       millert  8661: fi
                   8662: rm -f core core.* *.core
                   8663: fi
1.9     ! millert  8664: echo "$as_me:8664: result: $sudo_cv_func_utime_posix" >&5
        !          8665: echo "${ECHO_T}$sudo_cv_func_utime_posix" >&6
1.1       millert  8666: if test $sudo_cv_func_utime_posix = yes; then
1.9     ! millert  8667:
        !          8668: cat >>confdefs.h <<\EOF
1.1       millert  8669: #define HAVE_UTIME_POSIX 1
                   8670: EOF
                   8671:
                   8672: fi
                   8673:
                   8674: else
1.9     ! millert  8675:   LIBOBJS="$LIBOBJS utime.$ac_objext"
1.1       millert  8676: fi
1.9     ! millert  8677: done
1.1       millert  8678:
1.9     ! millert  8679: echo "$as_me:8679: checking for working fnmatch with FNM_CASEFOLD" >&5
        !          8680: echo $ECHO_N "checking for working fnmatch with FNM_CASEFOLD... $ECHO_C" >&6
        !          8681: if test "${sudo_cv_func_fnmatch+set}" = set; then
        !          8682:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  8683: else
                   8684:   rm -f conftestdata; > conftestdata
                   8685: if test "$cross_compiling" = yes; then
                   8686:   sudo_cv_func_fnmatch=no
                   8687: else
1.9     ! millert  8688:   cat >conftest.$ac_ext <<_ACEOF
        !          8689: #line 8689 "configure"
1.1       millert  8690: #include "confdefs.h"
1.3       millert  8691: #include <fnmatch.h>
1.6       millert  8692: main() { exit(fnmatch("/*/bin/echo *", "/usr/bin/echo just a test", FNM_CASEFOLD)); }
1.3       millert  8693:
1.9     ! millert  8694: _ACEOF
        !          8695: rm -f conftest$ac_exeext
        !          8696: if { (eval echo "$as_me:8696: \"$ac_link\"") >&5
        !          8697:   (eval $ac_link) 2>&5
        !          8698:   ac_status=$?
        !          8699:   echo "$as_me:8699: \$? = $ac_status" >&5
        !          8700:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          8701:   { (eval echo "$as_me:8701: \"$ac_try\"") >&5
        !          8702:   (eval $ac_try) 2>&5
        !          8703:   ac_status=$?
        !          8704:   echo "$as_me:8704: \$? = $ac_status" >&5
        !          8705:   (exit $ac_status); }; }; then
1.1       millert  8706:   sudo_cv_func_fnmatch=yes
                   8707: else
1.9     ! millert  8708:   echo "$as_me: program exited with status $ac_status" >&5
        !          8709: echo "$as_me: failed program was:" >&5
        !          8710: cat conftest.$ac_ext >&5
        !          8711: sudo_cv_func_fnmatch=no
1.1       millert  8712: fi
1.9     ! millert  8713: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       millert  8714: fi
                   8715: rm -f core core.* *.core
                   8716: fi
1.9     ! millert  8717: echo "$as_me:8717: result: $sudo_cv_func_fnmatch" >&5
        !          8718: echo "${ECHO_T}$sudo_cv_func_fnmatch" >&6
1.1       millert  8719: if test $sudo_cv_func_fnmatch = yes; then
1.9     ! millert  8720:
        !          8721: cat >>confdefs.h <<\EOF
1.1       millert  8722: #define HAVE_FNMATCH 1
                   8723: EOF
                   8724:
                   8725: else
1.9     ! millert  8726:   LIBOBJS="$LIBOBJS fnmatch.$ac_objext"
1.1       millert  8727: fi
                   8728:
1.9     ! millert  8729: echo "$as_me:8729: checking for isblank" >&5
        !          8730: echo $ECHO_N "checking for isblank... $ECHO_C" >&6
        !          8731: if test "${sudo_cv_func_isblank+set}" = set; then
        !          8732:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  8733: else
1.9     ! millert  8734:   cat >conftest.$ac_ext <<_ACEOF
        !          8735: #line 8735 "configure"
1.1       millert  8736: #include "confdefs.h"
1.9     ! millert  8737: #include <ctype.h>
        !          8738: int
        !          8739: main ()
        !          8740: {
        !          8741: (void)isblank(1);
        !          8742:   ;
        !          8743:   return 0;
        !          8744: }
        !          8745: _ACEOF
        !          8746: rm -f conftest.$ac_objext conftest$ac_exeext
        !          8747: if { (eval echo "$as_me:8747: \"$ac_link\"") >&5
        !          8748:   (eval $ac_link) 2>&5
        !          8749:   ac_status=$?
        !          8750:   echo "$as_me:8750: \$? = $ac_status" >&5
        !          8751:   (exit $ac_status); } &&
        !          8752:          { ac_try='test -s conftest$ac_exeext'
        !          8753:   { (eval echo "$as_me:8753: \"$ac_try\"") >&5
        !          8754:   (eval $ac_try) 2>&5
        !          8755:   ac_status=$?
        !          8756:   echo "$as_me:8756: \$? = $ac_status" >&5
        !          8757:   (exit $ac_status); }; }; then
        !          8758:   sudo_cv_func_isblank=yes
        !          8759: else
        !          8760:   echo "$as_me: failed program was:" >&5
        !          8761: cat conftest.$ac_ext >&5
        !          8762: sudo_cv_func_isblank=no
        !          8763: fi
        !          8764: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       millert  8765: fi
1.9     ! millert  8766: echo "$as_me:8766: result: $sudo_cv_func_isblank" >&5
        !          8767: echo "${ECHO_T}$sudo_cv_func_isblank" >&6
1.1       millert  8768:
1.9     ! millert  8769:   if test "$sudo_cv_func_isblank" = "yes"; then
1.1       millert  8770:
1.9     ! millert  8771: cat >>confdefs.h <<\EOF
        !          8772: #define HAVE_ISBLANK 1
1.1       millert  8773: EOF
                   8774:
1.9     ! millert  8775:   fi
1.1       millert  8776:
1.9     ! millert  8777: for ac_func in strerror strcasecmp sigaction
        !          8778: do
        !          8779: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          8780: echo "$as_me:8780: checking for $ac_func" >&5
        !          8781: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          8782: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          8783:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  8784: else
1.9     ! millert  8785:   cat >conftest.$ac_ext <<_ACEOF
        !          8786: #line 8786 "configure"
1.1       millert  8787: #include "confdefs.h"
                   8788: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  8789:     which can conflict with char $ac_func (); below.  */
1.1       millert  8790: #include <assert.h>
                   8791: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  8792: #ifdef __cplusplus
        !          8793: extern "C"
1.1       millert  8794: #endif
                   8795: /* We use char because int might match the return type of a gcc2
1.9     ! millert  8796:    builtin and then its argument prototype would still apply.  */
        !          8797: char $ac_func ();
        !          8798: char (*f) ();
1.1       millert  8799:
1.9     ! millert  8800: int
        !          8801: main ()
        !          8802: {
1.1       millert  8803: /* The GNU C library defines this for functions which it implements
                   8804:     to always fail with ENOSYS.  Some functions are actually named
                   8805:     something starting with __ and the normal name is an alias.  */
1.9     ! millert  8806: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.1       millert  8807: choke me
                   8808: #else
1.9     ! millert  8809: f = $ac_func;
1.1       millert  8810: #endif
                   8811:
1.9     ! millert  8812:   ;
        !          8813:   return 0;
        !          8814: }
        !          8815: _ACEOF
        !          8816: rm -f conftest.$ac_objext conftest$ac_exeext
        !          8817: if { (eval echo "$as_me:8817: \"$ac_link\"") >&5
        !          8818:   (eval $ac_link) 2>&5
        !          8819:   ac_status=$?
        !          8820:   echo "$as_me:8820: \$? = $ac_status" >&5
        !          8821:   (exit $ac_status); } &&
        !          8822:          { ac_try='test -s conftest$ac_exeext'
        !          8823:   { (eval echo "$as_me:8823: \"$ac_try\"") >&5
        !          8824:   (eval $ac_try) 2>&5
        !          8825:   ac_status=$?
        !          8826:   echo "$as_me:8826: \$? = $ac_status" >&5
        !          8827:   (exit $ac_status); }; }; then
        !          8828:   eval "$as_ac_var=yes"
        !          8829: else
        !          8830:   echo "$as_me: failed program was:" >&5
        !          8831: cat conftest.$ac_ext >&5
        !          8832: eval "$as_ac_var=no"
        !          8833: fi
        !          8834: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          8835: fi
        !          8836: echo "$as_me:8836: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          8837: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          8838: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          8839:   cat >>confdefs.h <<EOF
        !          8840: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  8841: EOF
                   8842:
                   8843: else
1.9     ! millert  8844:   LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
1.1       millert  8845: fi
1.9     ! millert  8846: done
1.1       millert  8847:
1.9     ! millert  8848: for ac_func in snprintf vsnprintf asprintf vasprintf
        !          8849: do
        !          8850: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          8851: echo "$as_me:8851: checking for $ac_func" >&5
        !          8852: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          8853: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          8854:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  8855: else
1.9     ! millert  8856:   cat >conftest.$ac_ext <<_ACEOF
        !          8857: #line 8857 "configure"
1.1       millert  8858: #include "confdefs.h"
                   8859: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  8860:     which can conflict with char $ac_func (); below.  */
1.1       millert  8861: #include <assert.h>
                   8862: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  8863: #ifdef __cplusplus
        !          8864: extern "C"
        !          8865: #endif
1.1       millert  8866: /* We use char because int might match the return type of a gcc2
1.9     ! millert  8867:    builtin and then its argument prototype would still apply.  */
        !          8868: char $ac_func ();
        !          8869: char (*f) ();
1.1       millert  8870:
1.9     ! millert  8871: int
        !          8872: main ()
        !          8873: {
1.1       millert  8874: /* The GNU C library defines this for functions which it implements
                   8875:     to always fail with ENOSYS.  Some functions are actually named
                   8876:     something starting with __ and the normal name is an alias.  */
1.9     ! millert  8877: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1.1       millert  8878: choke me
                   8879: #else
1.9     ! millert  8880: f = $ac_func;
1.1       millert  8881: #endif
                   8882:
1.9     ! millert  8883:   ;
        !          8884:   return 0;
        !          8885: }
        !          8886: _ACEOF
        !          8887: rm -f conftest.$ac_objext conftest$ac_exeext
        !          8888: if { (eval echo "$as_me:8888: \"$ac_link\"") >&5
        !          8889:   (eval $ac_link) 2>&5
        !          8890:   ac_status=$?
        !          8891:   echo "$as_me:8891: \$? = $ac_status" >&5
        !          8892:   (exit $ac_status); } &&
        !          8893:          { ac_try='test -s conftest$ac_exeext'
        !          8894:   { (eval echo "$as_me:8894: \"$ac_try\"") >&5
        !          8895:   (eval $ac_try) 2>&5
        !          8896:   ac_status=$?
        !          8897:   echo "$as_me:8897: \$? = $ac_status" >&5
        !          8898:   (exit $ac_status); }; }; then
        !          8899:   eval "$as_ac_var=yes"
        !          8900: else
        !          8901:   echo "$as_me: failed program was:" >&5
        !          8902: cat conftest.$ac_ext >&5
        !          8903: eval "$as_ac_var=no"
        !          8904: fi
        !          8905: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          8906: fi
        !          8907: echo "$as_me:8907: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          8908: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          8909: if test `eval echo '${'$as_ac_var'}'` = yes; then
        !          8910:   cat >>confdefs.h <<EOF
        !          8911: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       millert  8912: EOF
                   8913:
                   8914: else
1.9     ! millert  8915:   NEED_SNPRINTF=1
1.1       millert  8916: fi
1.9     ! millert  8917: done
1.1       millert  8918:
                   8919: if test -n "$NEED_SNPRINTF"; then
1.9     ! millert  8920:     LIBOBJS="$LIBOBJS snprintf.$ac_objext"
1.1       millert  8921: fi
                   8922: if test -z "$LIB_CRYPT"; then
1.9     ! millert  8923:     echo "$as_me:8923: checking for crypt" >&5
        !          8924: echo $ECHO_N "checking for crypt... $ECHO_C" >&6
        !          8925: if test "${ac_cv_func_crypt+set}" = set; then
        !          8926:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  8927: else
1.9     ! millert  8928:   cat >conftest.$ac_ext <<_ACEOF
        !          8929: #line 8929 "configure"
1.1       millert  8930: #include "confdefs.h"
                   8931: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  8932:     which can conflict with char crypt (); below.  */
1.1       millert  8933: #include <assert.h>
                   8934: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  8935: #ifdef __cplusplus
        !          8936: extern "C"
        !          8937: #endif
1.1       millert  8938: /* We use char because int might match the return type of a gcc2
1.9     ! millert  8939:    builtin and then its argument prototype would still apply.  */
        !          8940: char crypt ();
        !          8941: char (*f) ();
1.1       millert  8942:
1.9     ! millert  8943: int
        !          8944: main ()
        !          8945: {
1.1       millert  8946: /* The GNU C library defines this for functions which it implements
                   8947:     to always fail with ENOSYS.  Some functions are actually named
                   8948:     something starting with __ and the normal name is an alias.  */
                   8949: #if defined (__stub_crypt) || defined (__stub___crypt)
                   8950: choke me
                   8951: #else
1.9     ! millert  8952: f = crypt;
1.1       millert  8953: #endif
                   8954:
1.9     ! millert  8955:   ;
        !          8956:   return 0;
        !          8957: }
        !          8958: _ACEOF
        !          8959: rm -f conftest.$ac_objext conftest$ac_exeext
        !          8960: if { (eval echo "$as_me:8960: \"$ac_link\"") >&5
        !          8961:   (eval $ac_link) 2>&5
        !          8962:   ac_status=$?
        !          8963:   echo "$as_me:8963: \$? = $ac_status" >&5
        !          8964:   (exit $ac_status); } &&
        !          8965:          { ac_try='test -s conftest$ac_exeext'
        !          8966:   { (eval echo "$as_me:8966: \"$ac_try\"") >&5
        !          8967:   (eval $ac_try) 2>&5
        !          8968:   ac_status=$?
        !          8969:   echo "$as_me:8969: \$? = $ac_status" >&5
        !          8970:   (exit $ac_status); }; }; then
        !          8971:   ac_cv_func_crypt=yes
        !          8972: else
        !          8973:   echo "$as_me: failed program was:" >&5
        !          8974: cat conftest.$ac_ext >&5
        !          8975: ac_cv_func_crypt=no
        !          8976: fi
        !          8977: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          8978: fi
        !          8979: echo "$as_me:8979: result: $ac_cv_func_crypt" >&5
        !          8980: echo "${ECHO_T}$ac_cv_func_crypt" >&6
        !          8981: if test $ac_cv_func_crypt = yes; then
1.1       millert  8982:   :
                   8983: else
1.9     ! millert  8984:   echo "$as_me:8984: checking for crypt in -lcrypt" >&5
        !          8985: echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
        !          8986: if test "${ac_cv_lib_crypt_crypt+set}" = set; then
        !          8987:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  8988: else
1.9     ! millert  8989:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  8990: LIBS="-lcrypt  $LIBS"
1.9     ! millert  8991: cat >conftest.$ac_ext <<_ACEOF
        !          8992: #line 8992 "configure"
1.1       millert  8993: #include "confdefs.h"
1.9     ! millert  8994:
1.1       millert  8995: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  8996: #ifdef __cplusplus
        !          8997: extern "C"
        !          8998: #endif
1.1       millert  8999: /* We use char because int might match the return type of a gcc2
1.9     ! millert  9000:    builtin and then its argument prototype would still apply.  */
        !          9001: char crypt ();
        !          9002: int
        !          9003: main ()
        !          9004: {
        !          9005: crypt ();
        !          9006:   ;
        !          9007:   return 0;
        !          9008: }
        !          9009: _ACEOF
        !          9010: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9011: if { (eval echo "$as_me:9011: \"$ac_link\"") >&5
        !          9012:   (eval $ac_link) 2>&5
        !          9013:   ac_status=$?
        !          9014:   echo "$as_me:9014: \$? = $ac_status" >&5
        !          9015:   (exit $ac_status); } &&
        !          9016:          { ac_try='test -s conftest$ac_exeext'
        !          9017:   { (eval echo "$as_me:9017: \"$ac_try\"") >&5
        !          9018:   (eval $ac_try) 2>&5
        !          9019:   ac_status=$?
        !          9020:   echo "$as_me:9020: \$? = $ac_status" >&5
        !          9021:   (exit $ac_status); }; }; then
        !          9022:   ac_cv_lib_crypt_crypt=yes
        !          9023: else
        !          9024:   echo "$as_me: failed program was:" >&5
        !          9025: cat conftest.$ac_ext >&5
        !          9026: ac_cv_lib_crypt_crypt=no
        !          9027: fi
        !          9028: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9029: LIBS=$ac_check_lib_save_LIBS
        !          9030: fi
        !          9031: echo "$as_me:9031: result: $ac_cv_lib_crypt_crypt" >&5
        !          9032: echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
        !          9033: if test $ac_cv_lib_crypt_crypt = yes; then
1.1       millert  9034:   SUDO_LIBS="${SUDO_LIBS} -lcrypt"; LIBS="${LIBS} -lcrypt"
                   9035: else
1.9     ! millert  9036:   echo "$as_me:9036: checking for crypt in -lcrypt_d" >&5
        !          9037: echo $ECHO_N "checking for crypt in -lcrypt_d... $ECHO_C" >&6
        !          9038: if test "${ac_cv_lib_crypt_d_crypt+set}" = set; then
        !          9039:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9040: else
1.9     ! millert  9041:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  9042: LIBS="-lcrypt_d  $LIBS"
1.9     ! millert  9043: cat >conftest.$ac_ext <<_ACEOF
        !          9044: #line 9044 "configure"
1.1       millert  9045: #include "confdefs.h"
1.9     ! millert  9046:
1.1       millert  9047: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  9048: #ifdef __cplusplus
        !          9049: extern "C"
        !          9050: #endif
1.1       millert  9051: /* We use char because int might match the return type of a gcc2
1.9     ! millert  9052:    builtin and then its argument prototype would still apply.  */
        !          9053: char crypt ();
        !          9054: int
        !          9055: main ()
        !          9056: {
        !          9057: crypt ();
        !          9058:   ;
        !          9059:   return 0;
        !          9060: }
        !          9061: _ACEOF
        !          9062: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9063: if { (eval echo "$as_me:9063: \"$ac_link\"") >&5
        !          9064:   (eval $ac_link) 2>&5
        !          9065:   ac_status=$?
        !          9066:   echo "$as_me:9066: \$? = $ac_status" >&5
        !          9067:   (exit $ac_status); } &&
        !          9068:          { ac_try='test -s conftest$ac_exeext'
        !          9069:   { (eval echo "$as_me:9069: \"$ac_try\"") >&5
        !          9070:   (eval $ac_try) 2>&5
        !          9071:   ac_status=$?
        !          9072:   echo "$as_me:9072: \$? = $ac_status" >&5
        !          9073:   (exit $ac_status); }; }; then
        !          9074:   ac_cv_lib_crypt_d_crypt=yes
        !          9075: else
        !          9076:   echo "$as_me: failed program was:" >&5
        !          9077: cat conftest.$ac_ext >&5
        !          9078: ac_cv_lib_crypt_d_crypt=no
        !          9079: fi
        !          9080: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9081: LIBS=$ac_check_lib_save_LIBS
        !          9082: fi
        !          9083: echo "$as_me:9083: result: $ac_cv_lib_crypt_d_crypt" >&5
        !          9084: echo "${ECHO_T}$ac_cv_lib_crypt_d_crypt" >&6
        !          9085: if test $ac_cv_lib_crypt_d_crypt = yes; then
1.1       millert  9086:   SUDO_LIBS="${SUDO_LIBS} -lcrypt_d"; LIBS="${LIBS} -lcrypt_d"
                   9087: else
1.9     ! millert  9088:   echo "$as_me:9088: checking for crypt in -lufc" >&5
        !          9089: echo $ECHO_N "checking for crypt in -lufc... $ECHO_C" >&6
        !          9090: if test "${ac_cv_lib_ufc_crypt+set}" = set; then
        !          9091:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9092: else
1.9     ! millert  9093:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  9094: LIBS="-lufc  $LIBS"
1.9     ! millert  9095: cat >conftest.$ac_ext <<_ACEOF
        !          9096: #line 9096 "configure"
1.1       millert  9097: #include "confdefs.h"
1.9     ! millert  9098:
1.1       millert  9099: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  9100: #ifdef __cplusplus
        !          9101: extern "C"
        !          9102: #endif
1.1       millert  9103: /* We use char because int might match the return type of a gcc2
1.9     ! millert  9104:    builtin and then its argument prototype would still apply.  */
        !          9105: char crypt ();
        !          9106: int
        !          9107: main ()
        !          9108: {
        !          9109: crypt ();
        !          9110:   ;
        !          9111:   return 0;
        !          9112: }
        !          9113: _ACEOF
        !          9114: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9115: if { (eval echo "$as_me:9115: \"$ac_link\"") >&5
        !          9116:   (eval $ac_link) 2>&5
        !          9117:   ac_status=$?
        !          9118:   echo "$as_me:9118: \$? = $ac_status" >&5
        !          9119:   (exit $ac_status); } &&
        !          9120:          { ac_try='test -s conftest$ac_exeext'
        !          9121:   { (eval echo "$as_me:9121: \"$ac_try\"") >&5
        !          9122:   (eval $ac_try) 2>&5
        !          9123:   ac_status=$?
        !          9124:   echo "$as_me:9124: \$? = $ac_status" >&5
        !          9125:   (exit $ac_status); }; }; then
        !          9126:   ac_cv_lib_ufc_crypt=yes
        !          9127: else
        !          9128:   echo "$as_me: failed program was:" >&5
        !          9129: cat conftest.$ac_ext >&5
        !          9130: ac_cv_lib_ufc_crypt=no
        !          9131: fi
        !          9132: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9133: LIBS=$ac_check_lib_save_LIBS
        !          9134: fi
        !          9135: echo "$as_me:9135: result: $ac_cv_lib_ufc_crypt" >&5
        !          9136: echo "${ECHO_T}$ac_cv_lib_ufc_crypt" >&6
        !          9137: if test $ac_cv_lib_ufc_crypt = yes; then
1.1       millert  9138:   SUDO_LIBS="${SUDO_LIBS} -lufc"; LIBS="${LIBS} -lufc"
                   9139: fi
                   9140:
                   9141: fi
                   9142:
                   9143: fi
                   9144:
                   9145: fi
                   9146:
                   9147: fi
1.9     ! millert  9148: echo "$as_me:9148: checking for socket" >&5
        !          9149: echo $ECHO_N "checking for socket... $ECHO_C" >&6
        !          9150: if test "${ac_cv_func_socket+set}" = set; then
        !          9151:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9152: else
1.9     ! millert  9153:   cat >conftest.$ac_ext <<_ACEOF
        !          9154: #line 9154 "configure"
1.1       millert  9155: #include "confdefs.h"
                   9156: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  9157:     which can conflict with char socket (); below.  */
1.1       millert  9158: #include <assert.h>
                   9159: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  9160: #ifdef __cplusplus
        !          9161: extern "C"
        !          9162: #endif
1.1       millert  9163: /* We use char because int might match the return type of a gcc2
1.9     ! millert  9164:    builtin and then its argument prototype would still apply.  */
        !          9165: char socket ();
        !          9166: char (*f) ();
1.1       millert  9167:
1.9     ! millert  9168: int
        !          9169: main ()
        !          9170: {
1.1       millert  9171: /* The GNU C library defines this for functions which it implements
                   9172:     to always fail with ENOSYS.  Some functions are actually named
                   9173:     something starting with __ and the normal name is an alias.  */
                   9174: #if defined (__stub_socket) || defined (__stub___socket)
                   9175: choke me
                   9176: #else
1.9     ! millert  9177: f = socket;
1.1       millert  9178: #endif
                   9179:
1.9     ! millert  9180:   ;
        !          9181:   return 0;
        !          9182: }
        !          9183: _ACEOF
        !          9184: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9185: if { (eval echo "$as_me:9185: \"$ac_link\"") >&5
        !          9186:   (eval $ac_link) 2>&5
        !          9187:   ac_status=$?
        !          9188:   echo "$as_me:9188: \$? = $ac_status" >&5
        !          9189:   (exit $ac_status); } &&
        !          9190:          { ac_try='test -s conftest$ac_exeext'
        !          9191:   { (eval echo "$as_me:9191: \"$ac_try\"") >&5
        !          9192:   (eval $ac_try) 2>&5
        !          9193:   ac_status=$?
        !          9194:   echo "$as_me:9194: \$? = $ac_status" >&5
        !          9195:   (exit $ac_status); }; }; then
        !          9196:   ac_cv_func_socket=yes
        !          9197: else
        !          9198:   echo "$as_me: failed program was:" >&5
        !          9199: cat conftest.$ac_ext >&5
        !          9200: ac_cv_func_socket=no
        !          9201: fi
        !          9202: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9203: fi
        !          9204: echo "$as_me:9204: result: $ac_cv_func_socket" >&5
        !          9205: echo "${ECHO_T}$ac_cv_func_socket" >&6
        !          9206: if test $ac_cv_func_socket = yes; then
1.1       millert  9207:   :
                   9208: else
1.9     ! millert  9209:   echo "$as_me:9209: checking for socket in -lsocket" >&5
        !          9210: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
        !          9211: if test "${ac_cv_lib_socket_socket+set}" = set; then
        !          9212:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9213: else
1.9     ! millert  9214:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  9215: LIBS="-lsocket  $LIBS"
1.9     ! millert  9216: cat >conftest.$ac_ext <<_ACEOF
        !          9217: #line 9217 "configure"
1.1       millert  9218: #include "confdefs.h"
1.9     ! millert  9219:
1.1       millert  9220: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  9221: #ifdef __cplusplus
        !          9222: extern "C"
        !          9223: #endif
1.1       millert  9224: /* We use char because int might match the return type of a gcc2
1.9     ! millert  9225:    builtin and then its argument prototype would still apply.  */
        !          9226: char socket ();
        !          9227: int
        !          9228: main ()
        !          9229: {
        !          9230: socket ();
        !          9231:   ;
        !          9232:   return 0;
        !          9233: }
        !          9234: _ACEOF
        !          9235: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9236: if { (eval echo "$as_me:9236: \"$ac_link\"") >&5
        !          9237:   (eval $ac_link) 2>&5
        !          9238:   ac_status=$?
        !          9239:   echo "$as_me:9239: \$? = $ac_status" >&5
        !          9240:   (exit $ac_status); } &&
        !          9241:          { ac_try='test -s conftest$ac_exeext'
        !          9242:   { (eval echo "$as_me:9242: \"$ac_try\"") >&5
        !          9243:   (eval $ac_try) 2>&5
        !          9244:   ac_status=$?
        !          9245:   echo "$as_me:9245: \$? = $ac_status" >&5
        !          9246:   (exit $ac_status); }; }; then
        !          9247:   ac_cv_lib_socket_socket=yes
        !          9248: else
        !          9249:   echo "$as_me: failed program was:" >&5
        !          9250: cat conftest.$ac_ext >&5
        !          9251: ac_cv_lib_socket_socket=no
        !          9252: fi
        !          9253: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9254: LIBS=$ac_check_lib_save_LIBS
        !          9255: fi
        !          9256: echo "$as_me:9256: result: $ac_cv_lib_socket_socket" >&5
        !          9257: echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
        !          9258: if test $ac_cv_lib_socket_socket = yes; then
1.1       millert  9259:   NET_LIBS="${NET_LIBS} -lsocket"; LIBS="${LIBS} -lsocket"
                   9260: else
1.9     ! millert  9261:   echo "$as_me:9261: checking for socket in -linet" >&5
        !          9262: echo $ECHO_N "checking for socket in -linet... $ECHO_C" >&6
        !          9263: if test "${ac_cv_lib_inet_socket+set}" = set; then
        !          9264:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9265: else
1.9     ! millert  9266:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  9267: LIBS="-linet  $LIBS"
1.9     ! millert  9268: cat >conftest.$ac_ext <<_ACEOF
        !          9269: #line 9269 "configure"
1.1       millert  9270: #include "confdefs.h"
1.9     ! millert  9271:
1.1       millert  9272: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  9273: #ifdef __cplusplus
        !          9274: extern "C"
        !          9275: #endif
1.1       millert  9276: /* We use char because int might match the return type of a gcc2
1.9     ! millert  9277:    builtin and then its argument prototype would still apply.  */
        !          9278: char socket ();
        !          9279: int
        !          9280: main ()
        !          9281: {
        !          9282: socket ();
        !          9283:   ;
        !          9284:   return 0;
        !          9285: }
        !          9286: _ACEOF
        !          9287: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9288: if { (eval echo "$as_me:9288: \"$ac_link\"") >&5
        !          9289:   (eval $ac_link) 2>&5
        !          9290:   ac_status=$?
        !          9291:   echo "$as_me:9291: \$? = $ac_status" >&5
        !          9292:   (exit $ac_status); } &&
        !          9293:          { ac_try='test -s conftest$ac_exeext'
        !          9294:   { (eval echo "$as_me:9294: \"$ac_try\"") >&5
        !          9295:   (eval $ac_try) 2>&5
        !          9296:   ac_status=$?
        !          9297:   echo "$as_me:9297: \$? = $ac_status" >&5
        !          9298:   (exit $ac_status); }; }; then
        !          9299:   ac_cv_lib_inet_socket=yes
        !          9300: else
        !          9301:   echo "$as_me: failed program was:" >&5
        !          9302: cat conftest.$ac_ext >&5
        !          9303: ac_cv_lib_inet_socket=no
        !          9304: fi
        !          9305: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9306: LIBS=$ac_check_lib_save_LIBS
        !          9307: fi
        !          9308: echo "$as_me:9308: result: $ac_cv_lib_inet_socket" >&5
        !          9309: echo "${ECHO_T}$ac_cv_lib_inet_socket" >&6
        !          9310: if test $ac_cv_lib_inet_socket = yes; then
1.1       millert  9311:   NET_LIBS="${NET_LIBS} -linet"; LIBS="${LIBS} -linet"
                   9312: else
1.9     ! millert  9313:   { echo "$as_me:9313: WARNING: unable to find socket() trying -lsocket -lnsl" >&5
        !          9314: echo "$as_me: WARNING: unable to find socket() trying -lsocket -lnsl" >&2;}
        !          9315: echo "$as_me:9315: checking for socket in -lsocket" >&5
        !          9316: echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
        !          9317: if test "${ac_cv_lib_socket_socket_lnsl+set}" = set; then
        !          9318:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9319: else
1.9     ! millert  9320:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  9321: LIBS="-lsocket -lnsl $LIBS"
1.9     ! millert  9322: cat >conftest.$ac_ext <<_ACEOF
        !          9323: #line 9323 "configure"
1.1       millert  9324: #include "confdefs.h"
1.9     ! millert  9325:
1.1       millert  9326: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  9327: #ifdef __cplusplus
        !          9328: extern "C"
        !          9329: #endif
1.1       millert  9330: /* We use char because int might match the return type of a gcc2
1.9     ! millert  9331:    builtin and then its argument prototype would still apply.  */
        !          9332: char socket ();
        !          9333: int
        !          9334: main ()
        !          9335: {
        !          9336: socket ();
        !          9337:   ;
        !          9338:   return 0;
        !          9339: }
        !          9340: _ACEOF
        !          9341: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9342: if { (eval echo "$as_me:9342: \"$ac_link\"") >&5
        !          9343:   (eval $ac_link) 2>&5
        !          9344:   ac_status=$?
        !          9345:   echo "$as_me:9345: \$? = $ac_status" >&5
        !          9346:   (exit $ac_status); } &&
        !          9347:          { ac_try='test -s conftest$ac_exeext'
        !          9348:   { (eval echo "$as_me:9348: \"$ac_try\"") >&5
        !          9349:   (eval $ac_try) 2>&5
        !          9350:   ac_status=$?
        !          9351:   echo "$as_me:9351: \$? = $ac_status" >&5
        !          9352:   (exit $ac_status); }; }; then
        !          9353:   ac_cv_lib_socket_socket_lnsl=yes
        !          9354: else
        !          9355:   echo "$as_me: failed program was:" >&5
        !          9356: cat conftest.$ac_ext >&5
        !          9357: ac_cv_lib_socket_socket_lnsl=no
        !          9358: fi
        !          9359: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9360: LIBS=$ac_check_lib_save_LIBS
        !          9361: fi
        !          9362: echo "$as_me:9362: result: $ac_cv_lib_socket_socket_lnsl" >&5
        !          9363: echo "${ECHO_T}$ac_cv_lib_socket_socket_lnsl" >&6
        !          9364: if test $ac_cv_lib_socket_socket_lnsl = yes; then
1.1       millert  9365:   NET_LIBS="${NET_LIBS} -lsocket -lnsl"; LIBS="${LIBS} -lsocket -lnsl"
                   9366: fi
                   9367:
                   9368: fi
                   9369:
                   9370: fi
                   9371:
                   9372: fi
                   9373:
1.9     ! millert  9374: echo "$as_me:9374: checking for inet_addr" >&5
        !          9375: echo $ECHO_N "checking for inet_addr... $ECHO_C" >&6
        !          9376: if test "${ac_cv_func_inet_addr+set}" = set; then
        !          9377:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9378: else
1.9     ! millert  9379:   cat >conftest.$ac_ext <<_ACEOF
        !          9380: #line 9380 "configure"
1.1       millert  9381: #include "confdefs.h"
                   9382: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  9383:     which can conflict with char inet_addr (); below.  */
1.1       millert  9384: #include <assert.h>
                   9385: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  9386: #ifdef __cplusplus
        !          9387: extern "C"
        !          9388: #endif
1.1       millert  9389: /* We use char because int might match the return type of a gcc2
1.9     ! millert  9390:    builtin and then its argument prototype would still apply.  */
        !          9391: char inet_addr ();
        !          9392: char (*f) ();
1.1       millert  9393:
1.9     ! millert  9394: int
        !          9395: main ()
        !          9396: {
1.1       millert  9397: /* The GNU C library defines this for functions which it implements
                   9398:     to always fail with ENOSYS.  Some functions are actually named
                   9399:     something starting with __ and the normal name is an alias.  */
                   9400: #if defined (__stub_inet_addr) || defined (__stub___inet_addr)
                   9401: choke me
                   9402: #else
1.9     ! millert  9403: f = inet_addr;
1.1       millert  9404: #endif
                   9405:
1.9     ! millert  9406:   ;
        !          9407:   return 0;
        !          9408: }
        !          9409: _ACEOF
        !          9410: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9411: if { (eval echo "$as_me:9411: \"$ac_link\"") >&5
        !          9412:   (eval $ac_link) 2>&5
        !          9413:   ac_status=$?
        !          9414:   echo "$as_me:9414: \$? = $ac_status" >&5
        !          9415:   (exit $ac_status); } &&
        !          9416:          { ac_try='test -s conftest$ac_exeext'
        !          9417:   { (eval echo "$as_me:9417: \"$ac_try\"") >&5
        !          9418:   (eval $ac_try) 2>&5
        !          9419:   ac_status=$?
        !          9420:   echo "$as_me:9420: \$? = $ac_status" >&5
        !          9421:   (exit $ac_status); }; }; then
        !          9422:   ac_cv_func_inet_addr=yes
        !          9423: else
        !          9424:   echo "$as_me: failed program was:" >&5
        !          9425: cat conftest.$ac_ext >&5
        !          9426: ac_cv_func_inet_addr=no
        !          9427: fi
        !          9428: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9429: fi
        !          9430: echo "$as_me:9430: result: $ac_cv_func_inet_addr" >&5
        !          9431: echo "${ECHO_T}$ac_cv_func_inet_addr" >&6
        !          9432: if test $ac_cv_func_inet_addr = yes; then
1.1       millert  9433:   :
                   9434: else
1.9     ! millert  9435:   echo "$as_me:9435: checking for __inet_addr" >&5
        !          9436: echo $ECHO_N "checking for __inet_addr... $ECHO_C" >&6
        !          9437: if test "${ac_cv_func___inet_addr+set}" = set; then
        !          9438:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.6       millert  9439: else
1.9     ! millert  9440:   cat >conftest.$ac_ext <<_ACEOF
        !          9441: #line 9441 "configure"
1.6       millert  9442: #include "confdefs.h"
                   9443: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  9444:     which can conflict with char __inet_addr (); below.  */
1.6       millert  9445: #include <assert.h>
                   9446: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  9447: #ifdef __cplusplus
        !          9448: extern "C"
        !          9449: #endif
1.6       millert  9450: /* We use char because int might match the return type of a gcc2
1.9     ! millert  9451:    builtin and then its argument prototype would still apply.  */
        !          9452: char __inet_addr ();
        !          9453: char (*f) ();
1.6       millert  9454:
1.9     ! millert  9455: int
        !          9456: main ()
        !          9457: {
1.6       millert  9458: /* The GNU C library defines this for functions which it implements
                   9459:     to always fail with ENOSYS.  Some functions are actually named
                   9460:     something starting with __ and the normal name is an alias.  */
                   9461: #if defined (__stub___inet_addr) || defined (__stub_____inet_addr)
                   9462: choke me
                   9463: #else
1.9     ! millert  9464: f = __inet_addr;
1.6       millert  9465: #endif
                   9466:
1.9     ! millert  9467:   ;
        !          9468:   return 0;
        !          9469: }
        !          9470: _ACEOF
        !          9471: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9472: if { (eval echo "$as_me:9472: \"$ac_link\"") >&5
        !          9473:   (eval $ac_link) 2>&5
        !          9474:   ac_status=$?
        !          9475:   echo "$as_me:9475: \$? = $ac_status" >&5
        !          9476:   (exit $ac_status); } &&
        !          9477:          { ac_try='test -s conftest$ac_exeext'
        !          9478:   { (eval echo "$as_me:9478: \"$ac_try\"") >&5
        !          9479:   (eval $ac_try) 2>&5
        !          9480:   ac_status=$?
        !          9481:   echo "$as_me:9481: \$? = $ac_status" >&5
        !          9482:   (exit $ac_status); }; }; then
        !          9483:   ac_cv_func___inet_addr=yes
        !          9484: else
        !          9485:   echo "$as_me: failed program was:" >&5
        !          9486: cat conftest.$ac_ext >&5
        !          9487: ac_cv_func___inet_addr=no
        !          9488: fi
        !          9489: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9490: fi
        !          9491: echo "$as_me:9491: result: $ac_cv_func___inet_addr" >&5
        !          9492: echo "${ECHO_T}$ac_cv_func___inet_addr" >&6
        !          9493: if test $ac_cv_func___inet_addr = yes; then
1.6       millert  9494:   :
                   9495: else
1.9     ! millert  9496:   echo "$as_me:9496: checking for inet_addr in -lnsl" >&5
        !          9497: echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
        !          9498: if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
        !          9499:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9500: else
1.9     ! millert  9501:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  9502: LIBS="-lnsl  $LIBS"
1.9     ! millert  9503: cat >conftest.$ac_ext <<_ACEOF
        !          9504: #line 9504 "configure"
1.1       millert  9505: #include "confdefs.h"
1.9     ! millert  9506:
1.1       millert  9507: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  9508: #ifdef __cplusplus
        !          9509: extern "C"
        !          9510: #endif
1.1       millert  9511: /* We use char because int might match the return type of a gcc2
1.9     ! millert  9512:    builtin and then its argument prototype would still apply.  */
        !          9513: char inet_addr ();
        !          9514: int
        !          9515: main ()
        !          9516: {
        !          9517: inet_addr ();
        !          9518:   ;
        !          9519:   return 0;
        !          9520: }
        !          9521: _ACEOF
        !          9522: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9523: if { (eval echo "$as_me:9523: \"$ac_link\"") >&5
        !          9524:   (eval $ac_link) 2>&5
        !          9525:   ac_status=$?
        !          9526:   echo "$as_me:9526: \$? = $ac_status" >&5
        !          9527:   (exit $ac_status); } &&
        !          9528:          { ac_try='test -s conftest$ac_exeext'
        !          9529:   { (eval echo "$as_me:9529: \"$ac_try\"") >&5
        !          9530:   (eval $ac_try) 2>&5
        !          9531:   ac_status=$?
        !          9532:   echo "$as_me:9532: \$? = $ac_status" >&5
        !          9533:   (exit $ac_status); }; }; then
        !          9534:   ac_cv_lib_nsl_inet_addr=yes
        !          9535: else
        !          9536:   echo "$as_me: failed program was:" >&5
        !          9537: cat conftest.$ac_ext >&5
        !          9538: ac_cv_lib_nsl_inet_addr=no
        !          9539: fi
        !          9540: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9541: LIBS=$ac_check_lib_save_LIBS
        !          9542: fi
        !          9543: echo "$as_me:9543: result: $ac_cv_lib_nsl_inet_addr" >&5
        !          9544: echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
        !          9545: if test $ac_cv_lib_nsl_inet_addr = yes; then
1.1       millert  9546:   NET_LIBS="${NET_LIBS} -lnsl"; LIBS="${LIBS} -lnsl"
                   9547: else
1.9     ! millert  9548:   echo "$as_me:9548: checking for inet_addr in -linet" >&5
        !          9549: echo $ECHO_N "checking for inet_addr in -linet... $ECHO_C" >&6
        !          9550: if test "${ac_cv_lib_inet_inet_addr+set}" = set; then
        !          9551:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9552: else
1.9     ! millert  9553:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  9554: LIBS="-linet  $LIBS"
1.9     ! millert  9555: cat >conftest.$ac_ext <<_ACEOF
        !          9556: #line 9556 "configure"
1.1       millert  9557: #include "confdefs.h"
1.9     ! millert  9558:
1.1       millert  9559: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  9560: #ifdef __cplusplus
        !          9561: extern "C"
        !          9562: #endif
1.1       millert  9563: /* We use char because int might match the return type of a gcc2
1.9     ! millert  9564:    builtin and then its argument prototype would still apply.  */
        !          9565: char inet_addr ();
        !          9566: int
        !          9567: main ()
        !          9568: {
        !          9569: inet_addr ();
        !          9570:   ;
        !          9571:   return 0;
        !          9572: }
        !          9573: _ACEOF
        !          9574: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9575: if { (eval echo "$as_me:9575: \"$ac_link\"") >&5
        !          9576:   (eval $ac_link) 2>&5
        !          9577:   ac_status=$?
        !          9578:   echo "$as_me:9578: \$? = $ac_status" >&5
        !          9579:   (exit $ac_status); } &&
        !          9580:          { ac_try='test -s conftest$ac_exeext'
        !          9581:   { (eval echo "$as_me:9581: \"$ac_try\"") >&5
        !          9582:   (eval $ac_try) 2>&5
        !          9583:   ac_status=$?
        !          9584:   echo "$as_me:9584: \$? = $ac_status" >&5
        !          9585:   (exit $ac_status); }; }; then
        !          9586:   ac_cv_lib_inet_inet_addr=yes
        !          9587: else
        !          9588:   echo "$as_me: failed program was:" >&5
        !          9589: cat conftest.$ac_ext >&5
        !          9590: ac_cv_lib_inet_inet_addr=no
        !          9591: fi
        !          9592: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9593: LIBS=$ac_check_lib_save_LIBS
        !          9594: fi
        !          9595: echo "$as_me:9595: result: $ac_cv_lib_inet_inet_addr" >&5
        !          9596: echo "${ECHO_T}$ac_cv_lib_inet_inet_addr" >&6
        !          9597: if test $ac_cv_lib_inet_inet_addr = yes; then
1.1       millert  9598:   NET_LIBS="${NET_LIBS} -linet"; LIBS="${LIBS} -linet"
                   9599: else
1.9     ! millert  9600:   { echo "$as_me:9600: WARNING: unable to find inet_addr() trying -lsocket -lnsl" >&5
        !          9601: echo "$as_me: WARNING: unable to find inet_addr() trying -lsocket -lnsl" >&2;}
        !          9602: echo "$as_me:9602: checking for inet_addr in -lsocket" >&5
        !          9603: echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
        !          9604: if test "${ac_cv_lib_socket_inet_addr_lnsl+set}" = set; then
        !          9605:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9606: else
1.9     ! millert  9607:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  9608: LIBS="-lsocket -lnsl $LIBS"
1.9     ! millert  9609: cat >conftest.$ac_ext <<_ACEOF
        !          9610: #line 9610 "configure"
1.1       millert  9611: #include "confdefs.h"
1.9     ! millert  9612:
1.1       millert  9613: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  9614: #ifdef __cplusplus
        !          9615: extern "C"
        !          9616: #endif
1.1       millert  9617: /* We use char because int might match the return type of a gcc2
1.9     ! millert  9618:    builtin and then its argument prototype would still apply.  */
        !          9619: char inet_addr ();
        !          9620: int
        !          9621: main ()
        !          9622: {
        !          9623: inet_addr ();
        !          9624:   ;
        !          9625:   return 0;
        !          9626: }
        !          9627: _ACEOF
        !          9628: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9629: if { (eval echo "$as_me:9629: \"$ac_link\"") >&5
        !          9630:   (eval $ac_link) 2>&5
        !          9631:   ac_status=$?
        !          9632:   echo "$as_me:9632: \$? = $ac_status" >&5
        !          9633:   (exit $ac_status); } &&
        !          9634:          { ac_try='test -s conftest$ac_exeext'
        !          9635:   { (eval echo "$as_me:9635: \"$ac_try\"") >&5
        !          9636:   (eval $ac_try) 2>&5
        !          9637:   ac_status=$?
        !          9638:   echo "$as_me:9638: \$? = $ac_status" >&5
        !          9639:   (exit $ac_status); }; }; then
        !          9640:   ac_cv_lib_socket_inet_addr_lnsl=yes
        !          9641: else
        !          9642:   echo "$as_me: failed program was:" >&5
        !          9643: cat conftest.$ac_ext >&5
        !          9644: ac_cv_lib_socket_inet_addr_lnsl=no
        !          9645: fi
        !          9646: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9647: LIBS=$ac_check_lib_save_LIBS
        !          9648: fi
        !          9649: echo "$as_me:9649: result: $ac_cv_lib_socket_inet_addr_lnsl" >&5
        !          9650: echo "${ECHO_T}$ac_cv_lib_socket_inet_addr_lnsl" >&6
        !          9651: if test $ac_cv_lib_socket_inet_addr_lnsl = yes; then
1.1       millert  9652:   NET_LIBS="${NET_LIBS} -lsocket -lnsl"; LIBS="${LIBS} -lsocket -lnsl"
                   9653: fi
                   9654:
                   9655: fi
                   9656:
                   9657: fi
                   9658:
                   9659: fi
                   9660:
1.6       millert  9661: fi
                   9662:
1.9     ! millert  9663: echo "$as_me:9663: checking for syslog" >&5
        !          9664: echo $ECHO_N "checking for syslog... $ECHO_C" >&6
        !          9665: if test "${ac_cv_func_syslog+set}" = set; then
        !          9666:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9667: else
1.9     ! millert  9668:   cat >conftest.$ac_ext <<_ACEOF
        !          9669: #line 9669 "configure"
1.1       millert  9670: #include "confdefs.h"
                   9671: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  9672:     which can conflict with char syslog (); below.  */
1.1       millert  9673: #include <assert.h>
                   9674: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  9675: #ifdef __cplusplus
        !          9676: extern "C"
        !          9677: #endif
1.1       millert  9678: /* We use char because int might match the return type of a gcc2
1.9     ! millert  9679:    builtin and then its argument prototype would still apply.  */
        !          9680: char syslog ();
        !          9681: char (*f) ();
1.1       millert  9682:
1.9     ! millert  9683: int
        !          9684: main ()
        !          9685: {
1.1       millert  9686: /* The GNU C library defines this for functions which it implements
                   9687:     to always fail with ENOSYS.  Some functions are actually named
                   9688:     something starting with __ and the normal name is an alias.  */
                   9689: #if defined (__stub_syslog) || defined (__stub___syslog)
                   9690: choke me
                   9691: #else
1.9     ! millert  9692: f = syslog;
1.1       millert  9693: #endif
                   9694:
1.9     ! millert  9695:   ;
        !          9696:   return 0;
        !          9697: }
        !          9698: _ACEOF
        !          9699: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9700: if { (eval echo "$as_me:9700: \"$ac_link\"") >&5
        !          9701:   (eval $ac_link) 2>&5
        !          9702:   ac_status=$?
        !          9703:   echo "$as_me:9703: \$? = $ac_status" >&5
        !          9704:   (exit $ac_status); } &&
        !          9705:          { ac_try='test -s conftest$ac_exeext'
        !          9706:   { (eval echo "$as_me:9706: \"$ac_try\"") >&5
        !          9707:   (eval $ac_try) 2>&5
        !          9708:   ac_status=$?
        !          9709:   echo "$as_me:9709: \$? = $ac_status" >&5
        !          9710:   (exit $ac_status); }; }; then
        !          9711:   ac_cv_func_syslog=yes
        !          9712: else
        !          9713:   echo "$as_me: failed program was:" >&5
        !          9714: cat conftest.$ac_ext >&5
        !          9715: ac_cv_func_syslog=no
        !          9716: fi
        !          9717: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9718: fi
        !          9719: echo "$as_me:9719: result: $ac_cv_func_syslog" >&5
        !          9720: echo "${ECHO_T}$ac_cv_func_syslog" >&6
        !          9721: if test $ac_cv_func_syslog = yes; then
1.1       millert  9722:   :
                   9723: else
1.9     ! millert  9724:   echo "$as_me:9724: checking for syslog in -lsocket" >&5
        !          9725: echo $ECHO_N "checking for syslog in -lsocket... $ECHO_C" >&6
        !          9726: if test "${ac_cv_lib_socket_syslog+set}" = set; then
        !          9727:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9728: else
1.9     ! millert  9729:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  9730: LIBS="-lsocket  $LIBS"
1.9     ! millert  9731: cat >conftest.$ac_ext <<_ACEOF
        !          9732: #line 9732 "configure"
1.1       millert  9733: #include "confdefs.h"
1.9     ! millert  9734:
1.1       millert  9735: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  9736: #ifdef __cplusplus
        !          9737: extern "C"
        !          9738: #endif
1.1       millert  9739: /* We use char because int might match the return type of a gcc2
1.9     ! millert  9740:    builtin and then its argument prototype would still apply.  */
        !          9741: char syslog ();
        !          9742: int
        !          9743: main ()
        !          9744: {
        !          9745: syslog ();
        !          9746:   ;
        !          9747:   return 0;
        !          9748: }
        !          9749: _ACEOF
        !          9750: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9751: if { (eval echo "$as_me:9751: \"$ac_link\"") >&5
        !          9752:   (eval $ac_link) 2>&5
        !          9753:   ac_status=$?
        !          9754:   echo "$as_me:9754: \$? = $ac_status" >&5
        !          9755:   (exit $ac_status); } &&
        !          9756:          { ac_try='test -s conftest$ac_exeext'
        !          9757:   { (eval echo "$as_me:9757: \"$ac_try\"") >&5
        !          9758:   (eval $ac_try) 2>&5
        !          9759:   ac_status=$?
        !          9760:   echo "$as_me:9760: \$? = $ac_status" >&5
        !          9761:   (exit $ac_status); }; }; then
        !          9762:   ac_cv_lib_socket_syslog=yes
        !          9763: else
        !          9764:   echo "$as_me: failed program was:" >&5
        !          9765: cat conftest.$ac_ext >&5
        !          9766: ac_cv_lib_socket_syslog=no
        !          9767: fi
        !          9768: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9769: LIBS=$ac_check_lib_save_LIBS
        !          9770: fi
        !          9771: echo "$as_me:9771: result: $ac_cv_lib_socket_syslog" >&5
        !          9772: echo "${ECHO_T}$ac_cv_lib_socket_syslog" >&6
        !          9773: if test $ac_cv_lib_socket_syslog = yes; then
1.1       millert  9774:   NET_LIBS="${NET_LIBS} -lsocket"; LIBS="${LIBS} -lsocket"
                   9775: else
1.9     ! millert  9776:   echo "$as_me:9776: checking for syslog in -lnsl" >&5
        !          9777: echo $ECHO_N "checking for syslog in -lnsl... $ECHO_C" >&6
        !          9778: if test "${ac_cv_lib_nsl_syslog+set}" = set; then
        !          9779:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9780: else
1.9     ! millert  9781:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  9782: LIBS="-lnsl  $LIBS"
1.9     ! millert  9783: cat >conftest.$ac_ext <<_ACEOF
        !          9784: #line 9784 "configure"
1.1       millert  9785: #include "confdefs.h"
                   9786:
1.9     ! millert  9787: /* Override any gcc2 internal prototype to avoid an error.  */
        !          9788: #ifdef __cplusplus
        !          9789: extern "C"
        !          9790: #endif
        !          9791: /* We use char because int might match the return type of a gcc2
        !          9792:    builtin and then its argument prototype would still apply.  */
        !          9793: char syslog ();
        !          9794: int
        !          9795: main ()
        !          9796: {
        !          9797: syslog ();
        !          9798:   ;
        !          9799:   return 0;
        !          9800: }
        !          9801: _ACEOF
        !          9802: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9803: if { (eval echo "$as_me:9803: \"$ac_link\"") >&5
        !          9804:   (eval $ac_link) 2>&5
        !          9805:   ac_status=$?
        !          9806:   echo "$as_me:9806: \$? = $ac_status" >&5
        !          9807:   (exit $ac_status); } &&
        !          9808:          { ac_try='test -s conftest$ac_exeext'
        !          9809:   { (eval echo "$as_me:9809: \"$ac_try\"") >&5
        !          9810:   (eval $ac_try) 2>&5
        !          9811:   ac_status=$?
        !          9812:   echo "$as_me:9812: \$? = $ac_status" >&5
        !          9813:   (exit $ac_status); }; }; then
        !          9814:   ac_cv_lib_nsl_syslog=yes
        !          9815: else
        !          9816:   echo "$as_me: failed program was:" >&5
        !          9817: cat conftest.$ac_ext >&5
        !          9818: ac_cv_lib_nsl_syslog=no
        !          9819: fi
        !          9820: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9821: LIBS=$ac_check_lib_save_LIBS
        !          9822: fi
        !          9823: echo "$as_me:9823: result: $ac_cv_lib_nsl_syslog" >&5
        !          9824: echo "${ECHO_T}$ac_cv_lib_nsl_syslog" >&6
        !          9825: if test $ac_cv_lib_nsl_syslog = yes; then
1.1       millert  9826:   NET_LIBS="${NET_LIBS} -lnsl"; LIBS="${LIBS} -lnsl"
                   9827: else
1.9     ! millert  9828:   echo "$as_me:9828: checking for syslog in -linet" >&5
        !          9829: echo $ECHO_N "checking for syslog in -linet... $ECHO_C" >&6
        !          9830: if test "${ac_cv_lib_inet_syslog+set}" = set; then
        !          9831:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9832: else
1.9     ! millert  9833:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  9834: LIBS="-linet  $LIBS"
1.9     ! millert  9835: cat >conftest.$ac_ext <<_ACEOF
        !          9836: #line 9836 "configure"
1.1       millert  9837: #include "confdefs.h"
1.9     ! millert  9838:
1.1       millert  9839: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  9840: #ifdef __cplusplus
        !          9841: extern "C"
        !          9842: #endif
1.1       millert  9843: /* We use char because int might match the return type of a gcc2
1.9     ! millert  9844:    builtin and then its argument prototype would still apply.  */
        !          9845: char syslog ();
        !          9846: int
        !          9847: main ()
        !          9848: {
        !          9849: syslog ();
        !          9850:   ;
        !          9851:   return 0;
        !          9852: }
        !          9853: _ACEOF
        !          9854: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9855: if { (eval echo "$as_me:9855: \"$ac_link\"") >&5
        !          9856:   (eval $ac_link) 2>&5
        !          9857:   ac_status=$?
        !          9858:   echo "$as_me:9858: \$? = $ac_status" >&5
        !          9859:   (exit $ac_status); } &&
        !          9860:          { ac_try='test -s conftest$ac_exeext'
        !          9861:   { (eval echo "$as_me:9861: \"$ac_try\"") >&5
        !          9862:   (eval $ac_try) 2>&5
        !          9863:   ac_status=$?
        !          9864:   echo "$as_me:9864: \$? = $ac_status" >&5
        !          9865:   (exit $ac_status); }; }; then
        !          9866:   ac_cv_lib_inet_syslog=yes
        !          9867: else
        !          9868:   echo "$as_me: failed program was:" >&5
        !          9869: cat conftest.$ac_ext >&5
        !          9870: ac_cv_lib_inet_syslog=no
        !          9871: fi
        !          9872: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9873: LIBS=$ac_check_lib_save_LIBS
        !          9874: fi
        !          9875: echo "$as_me:9875: result: $ac_cv_lib_inet_syslog" >&5
        !          9876: echo "${ECHO_T}$ac_cv_lib_inet_syslog" >&6
        !          9877: if test $ac_cv_lib_inet_syslog = yes; then
1.1       millert  9878:   NET_LIBS="${NET_LIBS} -linet"; LIBS="${LIBS} -linet"
                   9879: fi
                   9880:
                   9881: fi
                   9882:
                   9883: fi
                   9884:
                   9885: fi
                   9886:
                   9887: if test "$with_DCE" = "yes" -o "$ac_cv_prog_YACC" = "bison -y"; then
                   9888:     # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
                   9889: # for constant arguments.  Useless!
1.9     ! millert  9890: echo "$as_me:9890: checking for working alloca.h" >&5
        !          9891: echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
        !          9892: if test "${ac_cv_working_alloca_h+set}" = set; then
        !          9893:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9894: else
1.9     ! millert  9895:   cat >conftest.$ac_ext <<_ACEOF
        !          9896: #line 9896 "configure"
1.1       millert  9897: #include "confdefs.h"
                   9898: #include <alloca.h>
1.9     ! millert  9899: int
        !          9900: main ()
        !          9901: {
        !          9902: char *p = (char *) alloca (2 * sizeof (int));
        !          9903:   ;
        !          9904:   return 0;
        !          9905: }
        !          9906: _ACEOF
        !          9907: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9908: if { (eval echo "$as_me:9908: \"$ac_link\"") >&5
        !          9909:   (eval $ac_link) 2>&5
        !          9910:   ac_status=$?
        !          9911:   echo "$as_me:9911: \$? = $ac_status" >&5
        !          9912:   (exit $ac_status); } &&
        !          9913:          { ac_try='test -s conftest$ac_exeext'
        !          9914:   { (eval echo "$as_me:9914: \"$ac_try\"") >&5
        !          9915:   (eval $ac_try) 2>&5
        !          9916:   ac_status=$?
        !          9917:   echo "$as_me:9917: \$? = $ac_status" >&5
        !          9918:   (exit $ac_status); }; }; then
        !          9919:   ac_cv_working_alloca_h=yes
        !          9920: else
        !          9921:   echo "$as_me: failed program was:" >&5
        !          9922: cat conftest.$ac_ext >&5
        !          9923: ac_cv_working_alloca_h=no
        !          9924: fi
        !          9925: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          9926: fi
        !          9927: echo "$as_me:9927: result: $ac_cv_working_alloca_h" >&5
        !          9928: echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
        !          9929: if test $ac_cv_working_alloca_h = yes; then
1.1       millert  9930:
1.9     ! millert  9931: cat >>confdefs.h <<\EOF
1.1       millert  9932: #define HAVE_ALLOCA_H 1
                   9933: EOF
                   9934:
                   9935: fi
                   9936:
1.9     ! millert  9937: echo "$as_me:9937: checking for alloca" >&5
        !          9938: echo $ECHO_N "checking for alloca... $ECHO_C" >&6
        !          9939: if test "${ac_cv_func_alloca_works+set}" = set; then
        !          9940:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  9941: else
1.9     ! millert  9942:   cat >conftest.$ac_ext <<_ACEOF
        !          9943: #line 9943 "configure"
1.1       millert  9944: #include "confdefs.h"
                   9945: #ifdef __GNUC__
                   9946: # define alloca __builtin_alloca
                   9947: #else
1.9     ! millert  9948: # ifdef _MSC_VER
        !          9949: #  include <malloc.h>
        !          9950: #  define alloca _alloca
1.1       millert  9951: # else
1.9     ! millert  9952: #  if HAVE_ALLOCA_H
        !          9953: #   include <alloca.h>
        !          9954: #  else
        !          9955: #   ifdef _AIX
1.1       millert  9956:  #pragma alloca
1.9     ! millert  9957: #   else
        !          9958: #    ifndef alloca /* predefined by HP cc +Olibcalls */
1.1       millert  9959: char *alloca ();
1.9     ! millert  9960: #    endif
1.1       millert  9961: #   endif
                   9962: #  endif
                   9963: # endif
                   9964: #endif
                   9965:
1.9     ! millert  9966: int
        !          9967: main ()
        !          9968: {
        !          9969: char *p = (char *) alloca (1);
        !          9970:   ;
        !          9971:   return 0;
        !          9972: }
        !          9973: _ACEOF
        !          9974: rm -f conftest.$ac_objext conftest$ac_exeext
        !          9975: if { (eval echo "$as_me:9975: \"$ac_link\"") >&5
        !          9976:   (eval $ac_link) 2>&5
        !          9977:   ac_status=$?
        !          9978:   echo "$as_me:9978: \$? = $ac_status" >&5
        !          9979:   (exit $ac_status); } &&
        !          9980:          { ac_try='test -s conftest$ac_exeext'
        !          9981:   { (eval echo "$as_me:9981: \"$ac_try\"") >&5
        !          9982:   (eval $ac_try) 2>&5
        !          9983:   ac_status=$?
        !          9984:   echo "$as_me:9984: \$? = $ac_status" >&5
        !          9985:   (exit $ac_status); }; }; then
1.1       millert  9986:   ac_cv_func_alloca_works=yes
                   9987: else
1.9     ! millert  9988:   echo "$as_me: failed program was:" >&5
        !          9989: cat conftest.$ac_ext >&5
        !          9990: ac_cv_func_alloca_works=no
1.1       millert  9991: fi
1.9     ! millert  9992: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1       millert  9993: fi
1.9     ! millert  9994: echo "$as_me:9994: result: $ac_cv_func_alloca_works" >&5
        !          9995: echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
1.1       millert  9996:
                   9997: if test $ac_cv_func_alloca_works = yes; then
1.9     ! millert  9998:
        !          9999: cat >>confdefs.h <<\EOF
1.1       millert  10000: #define HAVE_ALLOCA 1
                   10001: EOF
                   10002:
1.9     ! millert  10003: else
        !          10004:   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
        !          10005: # that cause trouble.  Some versions do not even contain alloca or
        !          10006: # contain a buggy version.  If you still want to use their alloca,
        !          10007: # use ar to extract alloca.o from them instead of compiling alloca.c.
        !          10008:
        !          10009: ALLOCA=alloca.$ac_objext
1.1       millert  10010:
1.9     ! millert  10011: cat >>confdefs.h <<\EOF
1.1       millert  10012: #define C_ALLOCA 1
                   10013: EOF
                   10014:
1.9     ! millert  10015: echo "$as_me:10015: checking whether \`alloca.c' needs Cray hooks" >&5
        !          10016: echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
        !          10017: if test "${ac_cv_os_cray+set}" = set; then
        !          10018:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  10019: else
1.9     ! millert  10020:   cat >conftest.$ac_ext <<_ACEOF
        !          10021: #line 10021 "configure"
1.1       millert  10022: #include "confdefs.h"
                   10023: #if defined(CRAY) && ! defined(CRAY2)
                   10024: webecray
                   10025: #else
                   10026: wenotbecray
                   10027: #endif
                   10028:
1.9     ! millert  10029: _ACEOF
1.1       millert  10030: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   10031:   egrep "webecray" >/dev/null 2>&1; then
                   10032:   ac_cv_os_cray=yes
                   10033: else
                   10034:   ac_cv_os_cray=no
                   10035: fi
                   10036: rm -f conftest*
                   10037:
                   10038: fi
1.9     ! millert  10039: echo "$as_me:10039: result: $ac_cv_os_cray" >&5
        !          10040: echo "${ECHO_T}$ac_cv_os_cray" >&6
1.1       millert  10041: if test $ac_cv_os_cray = yes; then
1.9     ! millert  10042:   for ac_func in _getb67 GETB67 getb67; do
        !          10043:     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
        !          10044: echo "$as_me:10044: checking for $ac_func" >&5
        !          10045: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
        !          10046: if eval "test \"\${$as_ac_var+set}\" = set"; then
        !          10047:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  10048: else
1.9     ! millert  10049:   cat >conftest.$ac_ext <<_ACEOF
        !          10050: #line 10050 "configure"
1.1       millert  10051: #include "confdefs.h"
                   10052: /* System header to define __stub macros and hopefully few prototypes,
1.9     ! millert  10053:     which can conflict with char $ac_func (); below.  */
1.1       millert  10054: #include <assert.h>
                   10055: /* Override any gcc2 internal prototype to avoid an error.  */
1.9     ! millert  10056: #ifdef __cplusplus
        !          10057: extern "C"
        !          10058: #endif
1.1       millert  10059: /* We use char because int might match the return type of a gcc2
1.9     ! millert  10060:    builtin and then its argument prototype would still apply.  */
        !          10061: char $ac_func ();
        !          10062: char (*f) ();
1.1       millert  10063:
1.9     ! millert  10064: int
        !          10065: main ()
        !          10066: {
1.1       millert  10067: /* The GNU C library defines this for functions which it implements
                   10068:     to always fail with ENOSYS.  Some functions are actually named
                   10069:     something starting with __ and the normal name is an alias.  */
                   10070: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   10071: choke me
                   10072: #else
1.9     ! millert  10073: f = $ac_func;
1.1       millert  10074: #endif
                   10075:
1.9     ! millert  10076:   ;
        !          10077:   return 0;
        !          10078: }
        !          10079: _ACEOF
        !          10080: rm -f conftest.$ac_objext conftest$ac_exeext
        !          10081: if { (eval echo "$as_me:10081: \"$ac_link\"") >&5
        !          10082:   (eval $ac_link) 2>&5
        !          10083:   ac_status=$?
        !          10084:   echo "$as_me:10084: \$? = $ac_status" >&5
        !          10085:   (exit $ac_status); } &&
        !          10086:          { ac_try='test -s conftest$ac_exeext'
        !          10087:   { (eval echo "$as_me:10087: \"$ac_try\"") >&5
        !          10088:   (eval $ac_try) 2>&5
        !          10089:   ac_status=$?
        !          10090:   echo "$as_me:10090: \$? = $ac_status" >&5
        !          10091:   (exit $ac_status); }; }; then
        !          10092:   eval "$as_ac_var=yes"
        !          10093: else
        !          10094:   echo "$as_me: failed program was:" >&5
        !          10095: cat conftest.$ac_ext >&5
        !          10096: eval "$as_ac_var=no"
        !          10097: fi
        !          10098: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          10099: fi
        !          10100: echo "$as_me:10100: result: `eval echo '${'$as_ac_var'}'`" >&5
        !          10101: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
        !          10102: if test `eval echo '${'$as_ac_var'}'` = yes; then
1.1       millert  10103:
1.9     ! millert  10104: cat >>confdefs.h <<EOF
1.1       millert  10105: #define CRAY_STACKSEG_END $ac_func
                   10106: EOF
                   10107:
1.9     ! millert  10108:     break
1.1       millert  10109: fi
                   10110:
1.9     ! millert  10111:   done
1.1       millert  10112: fi
                   10113:
1.9     ! millert  10114: echo "$as_me:10114: checking stack direction for C alloca" >&5
        !          10115: echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
        !          10116: if test "${ac_cv_c_stack_direction+set}" = set; then
        !          10117:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  10118: else
                   10119:   if test "$cross_compiling" = yes; then
                   10120:   ac_cv_c_stack_direction=0
                   10121: else
1.9     ! millert  10122:   cat >conftest.$ac_ext <<_ACEOF
        !          10123: #line 10123 "configure"
1.1       millert  10124: #include "confdefs.h"
1.9     ! millert  10125: int
1.1       millert  10126: find_stack_direction ()
                   10127: {
                   10128:   static char *addr = 0;
                   10129:   auto char dummy;
                   10130:   if (addr == 0)
                   10131:     {
                   10132:       addr = &dummy;
                   10133:       return find_stack_direction ();
                   10134:     }
                   10135:   else
                   10136:     return (&dummy > addr) ? 1 : -1;
                   10137: }
1.9     ! millert  10138:
        !          10139: int
1.1       millert  10140: main ()
                   10141: {
1.9     ! millert  10142:   exit (find_stack_direction () < 0);
1.1       millert  10143: }
1.9     ! millert  10144: _ACEOF
        !          10145: rm -f conftest$ac_exeext
        !          10146: if { (eval echo "$as_me:10146: \"$ac_link\"") >&5
        !          10147:   (eval $ac_link) 2>&5
        !          10148:   ac_status=$?
        !          10149:   echo "$as_me:10149: \$? = $ac_status" >&5
        !          10150:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
        !          10151:   { (eval echo "$as_me:10151: \"$ac_try\"") >&5
        !          10152:   (eval $ac_try) 2>&5
        !          10153:   ac_status=$?
        !          10154:   echo "$as_me:10154: \$? = $ac_status" >&5
        !          10155:   (exit $ac_status); }; }; then
1.1       millert  10156:   ac_cv_c_stack_direction=1
                   10157: else
1.9     ! millert  10158:   echo "$as_me: program exited with status $ac_status" >&5
        !          10159: echo "$as_me: failed program was:" >&5
        !          10160: cat conftest.$ac_ext >&5
        !          10161: ac_cv_c_stack_direction=-1
1.1       millert  10162: fi
1.9     ! millert  10163: rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1       millert  10164: fi
                   10165: fi
1.9     ! millert  10166: echo "$as_me:10166: result: $ac_cv_c_stack_direction" >&5
        !          10167: echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
1.1       millert  10168:
1.9     ! millert  10169: cat >>confdefs.h <<EOF
1.1       millert  10170: #define STACK_DIRECTION $ac_cv_c_stack_direction
                   10171: EOF
                   10172:
                   10173: fi
                   10174:
                   10175: fi
                   10176:
                   10177: if test "$with_kerb5" = "yes"; then
1.9     ! millert  10178:
        !          10179: cat >>confdefs.h <<\EOF
1.1       millert  10180: #define HAVE_KERB5 1
                   10181: EOF
                   10182:
                   10183:     if test -f "/usr/local/include/krb5.h"; then
                   10184:        CPPFLAGS="$CPPFLAGS -I/usr/local/include"
                   10185:     elif test -f "/usr/local/kerberos/include/krb5.h"; then
                   10186:        CPPFLAGS="$CPPFLAGS -I/usr/local/kerberos/include"
1.9     ! millert  10187:     elif test -f "/usr/krb5/include/krb5.h"; then
        !          10188:        CPPFLAGS="$CPPFLAGS -I/usr/krb5/include"
1.1       millert  10189:     elif test -f "/usr/local/krb5/include/krb5.h"; then
                   10190:        CPPFLAGS="$CPPFLAGS -I/usr/local/krb5/include"
                   10191:     else
                   10192:        echo 'Unable to locate kerberos 5 include files, you will have to edit the Makefile and add -I/path/to/krb/includes to CPPFLAGS'
                   10193:     fi
                   10194:
                   10195:     if test -f "/usr/local/lib/libkrb5.a"; then
                   10196:        SUDO_LDFLAGS="${SUDO_LDFLAGS} -L/usr/local/lib"
                   10197:     elif test -f "/usr/local/kerberos/lib/libkrb5.a"; then
                   10198:        SUDO_LDFLAGS="${SUDO_LDFLAGS} -L/usr/local/kerberos/lib"
1.9     ! millert  10199:     elif test -f "/usr/krb5/lib/libkrb5.a"; then
        !          10200:        SUDO_LDFLAGS="${SUDO_LDFLAGS} -L/usr/krb5/lib"
1.1       millert  10201:     elif test -f "/usr/local/krb5/lib/libkrb5.a"; then
                   10202:        SUDO_LDFLAGS="${SUDO_LDFLAGS} -L/usr/local/krb5/lib"
                   10203:     else
                   10204:        echo 'Unable to locate kerberos 5 libraries, you will have to edit the Makefile and add -L/path/to/krb/libs to SUDO_LDFLAGS'
                   10205:     fi
                   10206:
                   10207:     SUDO_LIBS="${SUDO_LIBS} -lkrb5 -lk5crypto -lcom_err"
                   10208:     AUTH_OBJS="${AUTH_OBJS} kerb5.o"
                   10209: fi
                   10210:
1.5       millert  10211: if test "$with_pam" = "yes"; then
1.9     ! millert  10212:     echo "$as_me:10212: checking for main in -ldl" >&5
        !          10213: echo $ECHO_N "checking for main in -ldl... $ECHO_C" >&6
        !          10214: if test "${ac_cv_lib_dl_main+set}" = set; then
        !          10215:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.5       millert  10216: else
1.9     ! millert  10217:   ac_check_lib_save_LIBS=$LIBS
1.5       millert  10218: LIBS="-ldl  $LIBS"
1.9     ! millert  10219: cat >conftest.$ac_ext <<_ACEOF
        !          10220: #line 10220 "configure"
1.5       millert  10221: #include "confdefs.h"
                   10222:
1.9     ! millert  10223: int
        !          10224: main ()
        !          10225: {
        !          10226: main ();
        !          10227:   ;
        !          10228:   return 0;
        !          10229: }
        !          10230: _ACEOF
        !          10231: rm -f conftest.$ac_objext conftest$ac_exeext
        !          10232: if { (eval echo "$as_me:10232: \"$ac_link\"") >&5
        !          10233:   (eval $ac_link) 2>&5
        !          10234:   ac_status=$?
        !          10235:   echo "$as_me:10235: \$? = $ac_status" >&5
        !          10236:   (exit $ac_status); } &&
        !          10237:          { ac_try='test -s conftest$ac_exeext'
        !          10238:   { (eval echo "$as_me:10238: \"$ac_try\"") >&5
        !          10239:   (eval $ac_try) 2>&5
        !          10240:   ac_status=$?
        !          10241:   echo "$as_me:10241: \$? = $ac_status" >&5
        !          10242:   (exit $ac_status); }; }; then
        !          10243:   ac_cv_lib_dl_main=yes
        !          10244: else
        !          10245:   echo "$as_me: failed program was:" >&5
        !          10246: cat conftest.$ac_ext >&5
        !          10247: ac_cv_lib_dl_main=no
        !          10248: fi
        !          10249: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          10250: LIBS=$ac_check_lib_save_LIBS
        !          10251: fi
        !          10252: echo "$as_me:10252: result: $ac_cv_lib_dl_main" >&5
        !          10253: echo "${ECHO_T}$ac_cv_lib_dl_main" >&6
        !          10254: if test $ac_cv_lib_dl_main = yes; then
1.5       millert  10255:   SUDO_LIBS="${SUDO_LIBS} -ldl -lpam"
                   10256: else
                   10257:   SUDO_LIBS="${SUDO_LIBS} -lpam"
                   10258: fi
1.9     ! millert  10259: ac_cv_lib_dl=ac_cv_lib_dl_main
1.5       millert  10260:
                   10261: fi
                   10262:
1.1       millert  10263: if test "$with_kerb4" = "yes"; then
1.9     ! millert  10264:
        !          10265: cat >>confdefs.h <<\EOF
1.1       millert  10266: #define HAVE_KERB4 1
                   10267: EOF
                   10268:
                   10269:     if test -f "/usr/include/kerberosIV/krb.h"; then
                   10270:        CPPFLAGS="${CPPFLAGS} -I/usr/include/kerberosIV"
                   10271:     elif test -f "/usr/local/include/kerberosIV/krb.h"; then
                   10272:        CPPFLAGS="${CPPFLAGS} -I/usr/local/include/kerberosIV"
                   10273:     elif test -f "/usr/kerberos/include/krb.h"; then
                   10274:        CPPFLAGS="${CPPFLAGS} -I/usr/kerberos/include"
                   10275:     elif test -f "/usr/local/kerberos/include/krb.h"; then
                   10276:        CPPFLAGS="${CPPFLAGS} -I/usr/local/kerberos/include"
                   10277:     else
                   10278:        echo 'Unable to locate kerberos 4 include files, you will have to edit the Makefile and add -I/path/to/krb/includes to CPPFLAGS'
                   10279:     fi
                   10280:
                   10281:     if test -d "/usr/kerberos/lib"; then
                   10282:        SUDO_LDFLAGS="${SUDO_LDFLAGS} -L/usr/kerberos/lib"
                   10283:     elif test -d "/usr/lib/kerberos"; then
                   10284:        SUDO_LDFLAGS="${SUDO_LDFLAGS} -L/usr/lib/kerberos"
                   10285:     elif test -f "/usr/local/lib/libkrb.a"; then
                   10286:        SUDO_LDFLAGS="${SUDO_LDFLAGS} -L/usr/local/lib"
                   10287:     elif test ! -f "/usr/lib/libkrb.a"; then
                   10288:        echo 'Unable to locate kerberos 4 libraries, you will have to edit the Makefile and add -L/path/to/krb/libs to SUDO_LDFLAGS'
                   10289:     fi
                   10290:
1.9     ! millert  10291:     echo "$as_me:10291: checking for main in -ldes" >&5
        !          10292: echo $ECHO_N "checking for main in -ldes... $ECHO_C" >&6
        !          10293: if test "${ac_cv_lib_des_main+set}" = set; then
        !          10294:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       millert  10295: else
1.9     ! millert  10296:   ac_check_lib_save_LIBS=$LIBS
1.1       millert  10297: LIBS="-ldes  $LIBS"
1.9     ! millert  10298: cat >conftest.$ac_ext <<_ACEOF
        !          10299: #line 10299 "configure"
1.1       millert  10300: #include "confdefs.h"
                   10301:
1.9     ! millert  10302: int
        !          10303: main ()
        !          10304: {
        !          10305: main ();
        !          10306:   ;
        !          10307:   return 0;
        !          10308: }
        !          10309: _ACEOF
        !          10310: rm -f conftest.$ac_objext conftest$ac_exeext
        !          10311: if { (eval echo "$as_me:10311: \"$ac_link\"") >&5
        !          10312:   (eval $ac_link) 2>&5
        !          10313:   ac_status=$?
        !          10314:   echo "$as_me:10314: \$? = $ac_status" >&5
        !          10315:   (exit $ac_status); } &&
        !          10316:          { ac_try='test -s conftest$ac_exeext'
        !          10317:   { (eval echo "$as_me:10317: \"$ac_try\"") >&5
        !          10318:   (eval $ac_try) 2>&5
        !          10319:   ac_status=$?
        !          10320:   echo "$as_me:10320: \$? = $ac_status" >&5
        !          10321:   (exit $ac_status); }; }; then
        !          10322:   ac_cv_lib_des_main=yes
        !          10323: else
        !          10324:   echo "$as_me: failed program was:" >&5
        !          10325: cat conftest.$ac_ext >&5
        !          10326: ac_cv_lib_des_main=no
        !          10327: fi
        !          10328: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          10329: LIBS=$ac_check_lib_save_LIBS
        !          10330: fi
        !          10331: echo "$as_me:10331: result: $ac_cv_lib_des_main" >&5
        !          10332: echo "${ECHO_T}$ac_cv_lib_des_main" >&6
        !          10333: if test $ac_cv_lib_des_main = yes; then
1.1       millert  10334:   SUDO_LIBS="${SUDO_LIBS} -lkrb -ldes"
                   10335: else
                   10336:   SUDO_LIBS="${SUDO_LIBS} -lkrb"
                   10337: fi
1.9     ! millert  10338: ac_cv_lib_des=ac_cv_lib_des_main
1.1       millert  10339:
                   10340:     AUTH_OBJS="${AUTH_OBJS} kerb4.o"
                   10341: fi
                   10342:
                   10343: if test "$with_AFS" = "yes"; then
                   10344:
                   10345:     # looks like the "standard" place for AFS libs is /usr/afsws/lib
                   10346:     AFSLIBDIRS="/usr/lib/afs /usr/afsws/lib /usr/afsws/lib/afs"
                   10347:     for i in $AFSLIBDIRS; do
                   10348:        if test -d ${i}; then
                   10349:            SUDO_LDFLAGS="${SUDO_LDFLAGS} -L${i}"
                   10350:            FOUND_AFSLIBDIR=true
                   10351:        fi
                   10352:     done
                   10353:     if test -z "$FOUND_AFSLIBDIR"; then
                   10354:        echo 'Unable to locate AFS libraries, you will have to edit the Makefile and add -L/path/to/afs/libs to SUDO_LDFLAGS or rerun configure with the --with-libpath options.'
                   10355:     fi
                   10356:
                   10357:     # Order is important here.  Note that we build AFS_LIBS from right to left
                   10358:     # since AFS_LIBS may be initialized with BSD compat libs that must go last
                   10359:     AFS_LIBS="-laudit ${AFS_LIBS}"
                   10360:     for i in $AFSLIBDIRS; do
                   10361:        if test -f ${i}/util.a; then
                   10362:            AFS_LIBS="${i}/util.a ${AFS_LIBS}"
                   10363:            FOUND_UTIL_A=true
                   10364:            break;
                   10365:        fi
                   10366:     done
                   10367:     if test -z "$FOUND_UTIL_A"; then
                   10368:        AFS_LIBS="-lutil ${AFS_LIBS}"
                   10369:     fi
                   10370:     AFS_LIBS="-lkauth -lprot -lubik -lauth -lrxkad -lsys -ldes -lrx -llwp -lcom_err ${AFS_LIBS}"
                   10371:
                   10372:     # AFS includes may live in /usr/include on some machines...
                   10373:     for i in /usr/afsws/include; do
                   10374:        if test -d ${i}; then
                   10375:            CPPFLAGS="${CPPFLAGS} -I${i}"
                   10376:            FOUND_AFSINCDIR=true
                   10377:        fi
                   10378:     done
                   10379:
                   10380:     if test -z "$FOUND_AFSLIBDIR"; then
                   10381:        echo 'Unable to locate AFS include dir, you may have to edit the Makefile and add -I/path/to/afs/includes to CPPFLAGS or rerun configure with the --with-incpath options.'
                   10382:     fi
                   10383: fi
                   10384:
                   10385: if test "$with_DCE" = "yes"; then
                   10386:     DCE_OBJS="${DCE_OBJS} dce_pwent.o"
                   10387:     SUDO_LIBS="${SUDO_LIBS} -ldce"
                   10388: fi
                   10389:
                   10390: if test "$with_skey" = "yes"; then
                   10391:     SUDO_LIBS="${SUDO_LIBS} -lskey"
                   10392:     if test -f /usr/include/skey.h -a -f /usr/lib/libskey.a; then
                   10393:        :
                   10394:     elif test -f /usr/local/include/skey.h; then
                   10395:        CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
                   10396:        SUDO_LDFLAGS="${SUDO_LDFLAGS} -L/usr/local/lib"
                   10397:     elif test "$with_csops" = "yes" -a -f /tools/cs/skey/include/skey.h -a -f /tools/cs/skey/lib/libskey.a; then
                   10398:        CPPFLAGS="${CPPFLAGS} -I/tools/cs/skey/include"
                   10399:        SUDO_LDFLAGS="${SUDO_LDFLAGS} -L/tools/cs/skey/lib"
                   10400:     else
                   10401:        echo 'Unable to locate libskey.a and/or skey.h, you will have to edit the Makefile and add -L/path/to/skey/lib to SUDO_LDFLAGS and/or -I/path/to/skey.h to CPPFLAGS'
                   10402:     fi
1.9     ! millert  10403:     echo "$as_me:10403: checking for skeyaccess in -lskey" >&5
        !          10404: echo $ECHO_N "checking for skeyaccess in -lskey... $ECHO_C" >&6
        !          10405: if test "${ac_cv_lib_skey_skeyaccess+set}" = set; then
        !          10406:   echo $ECHO_N "(cached) $ECHO_C" >&6
        !          10407: else
        !          10408:   ac_check_lib_save_LIBS=$LIBS
        !          10409: LIBS="-lskey  $LIBS"
        !          10410: cat >conftest.$ac_ext <<_ACEOF
        !          10411: #line 10411 "configure"
        !          10412: #include "confdefs.h"
        !          10413:
        !          10414: /* Override any gcc2 internal prototype to avoid an error.  */
        !          10415: #ifdef __cplusplus
        !          10416: extern "C"
        !          10417: #endif
        !          10418: /* We use char because int might match the return type of a gcc2
        !          10419:    builtin and then its argument prototype would still apply.  */
        !          10420: char skeyaccess ();
        !          10421: int
        !          10422: main ()
        !          10423: {
        !          10424: skeyaccess ();
        !          10425:   ;
        !          10426:   return 0;
        !          10427: }
        !          10428: _ACEOF
        !          10429: rm -f conftest.$ac_objext conftest$ac_exeext
        !          10430: if { (eval echo "$as_me:10430: \"$ac_link\"") >&5
        !          10431:   (eval $ac_link) 2>&5
        !          10432:   ac_status=$?
        !          10433:   echo "$as_me:10433: \$? = $ac_status" >&5
        !          10434:   (exit $ac_status); } &&
        !          10435:          { ac_try='test -s conftest$ac_exeext'
        !          10436:   { (eval echo "$as_me:10436: \"$ac_try\"") >&5
        !          10437:   (eval $ac_try) 2>&5
        !          10438:   ac_status=$?
        !          10439:   echo "$as_me:10439: \$? = $ac_status" >&5
        !          10440:   (exit $ac_status); }; }; then
        !          10441:   ac_cv_lib_skey_skeyaccess=yes
        !          10442: else
        !          10443:   echo "$as_me: failed program was:" >&5
        !          10444: cat conftest.$ac_ext >&5
        !          10445: ac_cv_lib_skey_skeyaccess=no
        !          10446: fi
        !          10447: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
        !          10448: LIBS=$ac_check_lib_save_LIBS
        !          10449: fi
        !          10450: echo "$as_me:10450: result: $ac_cv_lib_skey_skeyaccess" >&5
        !          10451: echo "${ECHO_T}$ac_cv_lib_skey_skeyaccess" >&6
        !          10452: if test $ac_cv_lib_skey_skeyaccess = yes; then
        !          10453:
        !          10454: cat >>confdefs.h <<\EOF
        !          10455: #define HAVE_SKEYACCESS 1
        !          10456: EOF
        !          10457:
        !          10458: fi
        !          10459:
1.1       millert  10460: fi
                   10461:
                   10462: if test "$with_opie" = "yes"; then
                   10463:     SUDO_LIBS="${SUDO_LIBS} -lopie"
                   10464:     if test -f /usr/include/opie.h -a -f /usr/lib/libopie.a; then
                   10465:        :
                   10466:     elif test -f /usr/local/include/opie.h; then
                   10467:        CPPFLAGS="${CPPFLAGS} -I/usr/local/include"
                   10468:        SUDO_LDFLAGS="${SUDO_LDFLAGS} -L/usr/local/lib"
                   10469:     else
                   10470:        echo 'Unable to locate libopie.a and/or opie.h, you will have to edit the Makefile and add -L/path/to/opie/lib to SUDO_LDFLAGS and/or -I/path/to/opie.h to CPPFLAGS'
                   10471:     fi
                   10472: fi
                   10473:
                   10474: if test -n "$with_SecurID" -a "$with_SecurID" != "no"; then
                   10475:     if test "$with_SecurID" != "yes"; then
                   10476:        SUDO_LIBS="${SUDO_LIBS} ${with_SecurID}/sdiclient.a"
                   10477:        CPPFLAGS="${CPPFLAGS} -I${with_SecurID}"
                   10478:     elif test -f /usr/ace/examples/sdiclient.a; then
                   10479:        SUDO_LIBS="${SUDO_LIBS} /usr/ace/examples/sdiclient.a"
                   10480:        CPPFLAGS="${CPPFLAGS} -I/usr/ace/examples"
                   10481:     else
                   10482:        SUDO_LIBS="${SUDO_LIBS} /usr/ace/sdiclient.a"
                   10483:        CPPFLAGS="${CPPFLAGS} -I/usr/ace"
                   10484:     fi
                   10485: fi
                   10486:
                   10487: if test "$with_fwtk" = "yes"; then
                   10488:     SUDO_LIBS="${SUDO_LIBS} -lauth -lfwall"
                   10489: fi
                   10490:
                   10491: if test "$with_authenticate" = "yes"; then
                   10492:     SUDO_LIBS="${SUDO_LIBS} -ls"
                   10493: fi
                   10494:
1.9     ! millert  10495: echo "$as_me:10495: checking for log file location" >&5
        !          10496: echo $ECHO_N "checking for log file location... $ECHO_C" >&6
1.1       millert  10497: if test -n "$with_logpath"; then
1.9     ! millert  10498:     echo "$as_me:10498: result: $with_logpath" >&5
        !          10499: echo "${ECHO_T}$with_logpath" >&6
        !          10500:     cat >>confdefs.h <<EOF
1.1       millert  10501: #define _PATH_SUDO_LOGFILE "$with_logpath"
                   10502: EOF
                   10503:
                   10504: elif test -d "/var/log"; then
1.9     ! millert  10505:     echo "$as_me:10505: result: /var/log/sudo.log" >&5
        !          10506: echo "${ECHO_T}/var/log/sudo.log" >&6
        !          10507:     cat >>confdefs.h <<\EOF
1.1       millert  10508: #define _PATH_SUDO_LOGFILE "/var/log/sudo.log"
                   10509: EOF
                   10510:
                   10511: elif test -d "/var/adm"; then
1.9     ! millert  10512:     echo "$as_me:10512: result: /var/adm/sudo.log" >&5
        !          10513: echo "${ECHO_T}/var/adm/sudo.log" >&6
        !          10514:     cat >>confdefs.h <<\EOF
1.1       millert  10515: #define _PATH_SUDO_LOGFILE "/var/adm/sudo.log"
                   10516: EOF
                   10517:
                   10518: elif test -d "/usr/adm"; then
1.9     ! millert  10519:     echo "$as_me:10519: result: /usr/adm/sudo.log" >&5
        !          10520: echo "${ECHO_T}/usr/adm/sudo.log" >&6
        !          10521:     cat >>confdefs.h <<\EOF
1.1       millert  10522: #define _PATH_SUDO_LOGFILE "/usr/adm/sudo.log"
                   10523: EOF
                   10524:
                   10525: else
1.9     ! millert  10526:     echo "$as_me:10526: result: unknown" >&5
        !          10527: echo "${ECHO_T}unknown" >&6
1.1       millert  10528: fi
                   10529:
1.9     ! millert  10530: echo "$as_me:10530: checking for timestamp file location" >&5
        !          10531: echo $ECHO_N "checking for timestamp file location... $ECHO_C" >&6
1.1       millert  10532: if test -n "$with_timedir"; then
1.9     ! millert  10533:     echo "$as_me:10533: result: $with_timedir" >&5
        !          10534: echo "${ECHO_T}$with_timedir" >&6
        !          10535:     cat >>confdefs.h <<EOF
1.1       millert  10536: #define _PATH_SUDO_TIMEDIR "$with_timedir"
                   10537: EOF
                   10538:
1.9     ! millert  10539:     timedir="$with_timedir"
1.1       millert  10540: elif test -d "/var/run"; then
1.9     ! millert  10541:     echo "$as_me:10541: result: /var/run/sudo" >&5
        !          10542: echo "${ECHO_T}/var/run/sudo" >&6
        !          10543:     cat >>confdefs.h <<\EOF
1.1       millert  10544: #define _PATH_SUDO_TIMEDIR "/var/run/sudo"
                   10545: EOF
                   10546:
1.9     ! millert  10547:     timedir="/var/run/sudo"
1.6       millert  10548: else
1.9     ! millert  10549:     echo "$as_me:10549: result: /tmp/.odus" >&5
        !          10550: echo "${ECHO_T}/tmp/.odus" >&6
        !          10551:     cat >>confdefs.h <<\EOF
1.1       millert  10552: #define _PATH_SUDO_TIMEDIR "/tmp/.odus"
                   10553: EOF
                   10554:
1.9     ! millert  10555:     timedir="/tmp/.odus"
1.1       millert  10556: fi
                   10557:
                   10558: if test "$with_passwd" = "no"; then
1.9     ! millert  10559:     cat >>confdefs.h <<\EOF
        !          10560: #define WITHOUT_PASSWD 1. Define to avoid using the passwd/shadow file for authentication.
1.1       millert  10561: EOF
                   10562:
                   10563:     if test -z "$AUTH_OBJS"; then
1.9     ! millert  10564:        { { echo "$as_me:10564: error: no authentication methods defined." >&5
        !          10565: echo "$as_me: error: no authentication methods defined." >&2;}
        !          10566:    { (exit 1); exit 1; }; }
1.1       millert  10567:     fi
                   10568: else
                   10569:     if test -n "$SECUREWARE"; then
                   10570:        AUTH_OBJS="${AUTH_OBJS} passwd.o secureware.o"
                   10571:     else
                   10572:        AUTH_OBJS="${AUTH_OBJS} passwd.o"
                   10573:     fi
                   10574: fi
                   10575:
                   10576: if test -n "$LIBS"; then
                   10577:     L="$LIBS"
                   10578:     LIBS=
                   10579:     for l in ${L}; do
                   10580:        dupe=0
                   10581:        for sl in ${SUDO_LIBS} ${NET_LIBS}; do
                   10582:            test $l = $sl && dupe=1
                   10583:        done
                   10584:        test $dupe = 0 && LIBS="${LIBS} $l"
                   10585:     done
                   10586: fi
                   10587:
                   10588: test "$exec_prefix" = "NONE" && exec_prefix='$(prefix)'
                   10589:
1.9     ! millert  10590: ac_config_files="$ac_config_files Makefile sudo.man visudo.man sudoers.man"
        !          10591: cat >confcache <<\_ACEOF
1.1       millert  10592: # This file is a shell script that caches the results of configure
                   10593: # tests run on this system so they can be shared between configure
1.9     ! millert  10594: # scripts and configure runs, see configure's option --config-cache.
        !          10595: # It is not useful on other systems.  If it contains results you don't
        !          10596: # want to keep, you may remove or edit it.
1.1       millert  10597: #
1.9     ! millert  10598: # config.status only pays attention to the cache file if you give it
        !          10599: # the --recheck option to rerun configure.
1.1       millert  10600: #
1.9     ! millert  10601: # `ac_cv_env_foo' variables (set or unset) will be overriden when
        !          10602: # loading this file, other *unset* `ac_cv_foo' will be assigned the
        !          10603: # following values.
        !          10604:
        !          10605: _ACEOF
        !          10606:
1.1       millert  10607: # The following way of writing the cache mishandles newlines in values,
                   10608: # but we know of no workaround that is simple, portable, and efficient.
                   10609: # So, don't put newlines in cache variables' values.
                   10610: # Ultrix sh set writes to stderr and can't be redirected directly,
                   10611: # and sets the high bit in the cache file unless we assign to the vars.
1.9     ! millert  10612: {
        !          10613:   (set) 2>&1 |
        !          10614:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
        !          10615:     *ac_space=\ *)
        !          10616:       # `set' does not quote correctly, so add quotes (double-quote
        !          10617:       # substitution turns \\\\ into \\, and sed turns \\ into \).
        !          10618:       sed -n \
        !          10619:         "s/'/'\\\\''/g;
        !          10620:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
        !          10621:       ;;
        !          10622:     *)
        !          10623:       # `set' quotes correctly as required by POSIX, so do not add quotes.
        !          10624:       sed -n \
        !          10625:         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
        !          10626:       ;;
        !          10627:     esac;
        !          10628: } |
        !          10629:   sed '
        !          10630:      t clear
        !          10631:      : clear
        !          10632:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
        !          10633:      t end
        !          10634:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
        !          10635:      : end' >>confcache
        !          10636: if cmp -s $cache_file confcache; then :; else
1.1       millert  10637:   if test -w $cache_file; then
1.9     ! millert  10638:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
        !          10639:     cat confcache >$cache_file
1.1       millert  10640:   else
                   10641:     echo "not updating unwritable cache $cache_file"
                   10642:   fi
                   10643: fi
                   10644: rm -f confcache
                   10645:
                   10646: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   10647: # Let make expand exec_prefix.
                   10648: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   10649:
1.9     ! millert  10650: # VPATH may cause trouble with some makes, so we remove $(srcdir),
        !          10651: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
        !          10652: # trailing colons and then remove the whole line if VPATH becomes empty
        !          10653: # (actually we leave an empty line to preserve line numbers).
1.1       millert  10654: if test "x$srcdir" = x.; then
1.9     ! millert  10655:   ac_vpsub='/^[        ]*VPATH[        ]*=/{
        !          10656: s/:*\$(srcdir):*/:/;
        !          10657: s/:*\${srcdir}:*/:/;
        !          10658: s/:*@srcdir@:*/:/;
        !          10659: s/^\([^=]*=[   ]*\):*/\1/;
        !          10660: s/:*$//;
        !          10661: s/^[^=]*=[     ]*$//;
        !          10662: }'
1.1       millert  10663: fi
                   10664:
                   10665: DEFS=-DHAVE_CONFIG_H
                   10666:
                   10667: : ${CONFIG_STATUS=./config.status}
1.9     ! millert  10668: ac_clean_files_save=$ac_clean_files
        !          10669: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
        !          10670: { echo "$as_me:10670: creating $CONFIG_STATUS" >&5
        !          10671: echo "$as_me: creating $CONFIG_STATUS" >&6;}
        !          10672: cat >$CONFIG_STATUS <<_ACEOF
        !          10673: #! $SHELL
1.1       millert  10674: # Generated automatically by configure.
                   10675: # Run this file to recreate the current configuration.
                   10676: # Compiler output produced by configure, useful for debugging
1.9     ! millert  10677: # configure, is in config.log if it exists.
        !          10678:
        !          10679: debug=false
        !          10680: SHELL=\${CONFIG_SHELL-$SHELL}
        !          10681: ac_cs_invocation="\$0 \$@"
1.1       millert  10682:
1.9     ! millert  10683: _ACEOF
        !          10684:
        !          10685: cat >>$CONFIG_STATUS <<\_ACEOF
        !          10686: # Be Bourne compatible
        !          10687: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
        !          10688:   emulate sh
        !          10689:   NULLCMD=:
        !          10690: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
        !          10691:   set -o posix
        !          10692: fi
        !          10693:
        !          10694: # Name of the executable.
        !          10695: as_me=`echo "$0" |sed 's,.*[\\/],,'`
        !          10696:
        !          10697: if expr a : '\(a\)' >/dev/null 2>&1; then
        !          10698:   as_expr=expr
        !          10699: else
        !          10700:   as_expr=false
        !          10701: fi
        !          10702:
        !          10703: rm -f conf$$ conf$$.exe conf$$.file
        !          10704: echo >conf$$.file
        !          10705: if ln -s conf$$.file conf$$ 2>/dev/null; then
        !          10706:   # We could just check for DJGPP; but this test a) works b) is more generic
        !          10707:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
        !          10708:   if test -f conf$$.exe; then
        !          10709:     # Don't use ln at all; we don't have any links
        !          10710:     as_ln_s='cp -p'
        !          10711:   else
        !          10712:     as_ln_s='ln -s'
        !          10713:   fi
        !          10714: elif ln conf$$.file conf$$ 2>/dev/null; then
        !          10715:   as_ln_s=ln
        !          10716: else
        !          10717:   as_ln_s='cp -p'
        !          10718: fi
        !          10719: rm -f conf$$ conf$$.exe conf$$.file
        !          10720:
        !          10721: as_executable_p="test -f"
        !          10722:
        !          10723: # Support unset when possible.
        !          10724: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
        !          10725:   as_unset=unset
        !          10726: else
        !          10727:   as_unset=false
        !          10728: fi
        !          10729:
        !          10730: # NLS nuisances.
        !          10731: $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
        !          10732: $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
        !          10733: $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
        !          10734: $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
        !          10735: $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
        !          10736: $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
        !          10737: $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
        !          10738: $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
        !          10739:
        !          10740: # IFS
        !          10741: # We need space, tab and new line, in precisely that order.
        !          10742: as_nl='
        !          10743: '
        !          10744: IFS="  $as_nl"
        !          10745:
        !          10746: # CDPATH.
        !          10747: $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
        !          10748:
        !          10749: exec 6>&1
        !          10750:
        !          10751: _ACEOF
        !          10752:
        !          10753: # Files that config.status was made for.
        !          10754: if test -n "$ac_config_files"; then
        !          10755:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
        !          10756: fi
        !          10757:
        !          10758: if test -n "$ac_config_headers"; then
        !          10759:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
        !          10760: fi
        !          10761:
        !          10762: if test -n "$ac_config_links"; then
        !          10763:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
        !          10764: fi
        !          10765:
        !          10766: if test -n "$ac_config_commands"; then
        !          10767:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
        !          10768: fi
        !          10769:
        !          10770: cat >>$CONFIG_STATUS <<\EOF
        !          10771:
        !          10772: ac_cs_usage="\
        !          10773: \`$as_me' instantiates files from templates according to the
        !          10774: current configuration.
        !          10775:
        !          10776: Usage: $0 [OPTIONS] [FILE]...
        !          10777:
        !          10778:   -h, --help       print this help, then exit
        !          10779:   -V, --version    print version number, then exit
        !          10780:   -d, --debug      don't remove temporary files
        !          10781:       --recheck    update $as_me by reconfiguring in the same conditions
        !          10782:   --file=FILE[:TEMPLATE]
        !          10783:                    instantiate the configuration file FILE
        !          10784:   --header=FILE[:TEMPLATE]
        !          10785:                    instantiate the configuration header FILE
        !          10786:
        !          10787: Configuration files:
        !          10788: $config_files
        !          10789:
        !          10790: Configuration headers:
        !          10791: $config_headers
        !          10792:
        !          10793: Report bugs to <bug-autoconf@gnu.org>."
        !          10794: EOF
        !          10795:
        !          10796: cat >>$CONFIG_STATUS <<EOF
        !          10797: ac_cs_version="\\
        !          10798: sudo config.status 1.6.4
        !          10799: configured by $0, generated by GNU Autoconf 2.52,
        !          10800:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
        !          10801:
        !          10802: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
        !          10803: Free Software Foundation, Inc.
        !          10804: This config.status script is free software; the Free Software Foundation
        !          10805: gives unlimited permission to copy, distribute and modify it."
        !          10806: srcdir=$srcdir
        !          10807: EOF
        !          10808:
        !          10809: cat >>$CONFIG_STATUS <<\EOF
        !          10810: # If no file are specified by the user, then we need to provide default
        !          10811: # value.  By we need to know if files were specified by the user.
        !          10812: ac_need_defaults=:
        !          10813: while test $# != 0
1.1       millert  10814: do
1.9     ! millert  10815:   case $1 in
        !          10816:   --*=*)
        !          10817:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
        !          10818:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
        !          10819:     shift
        !          10820:     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
        !          10821:     shift
        !          10822:     ;;
        !          10823:   -*);;
        !          10824:   *) # This is not an option, so the user has probably given explicit
        !          10825:      # arguments.
        !          10826:      ac_need_defaults=false;;
        !          10827:   esac
        !          10828:
        !          10829:   case $1 in
        !          10830:   # Handling of the options.
        !          10831: EOF
        !          10832: cat >>$CONFIG_STATUS <<EOF
1.1       millert  10833:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1.9     ! millert  10834:     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
        !          10835:     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
        !          10836: EOF
        !          10837: cat >>$CONFIG_STATUS <<\EOF
        !          10838:   --version | --vers* | -V )
        !          10839:     echo "$ac_cs_version"; exit 0 ;;
        !          10840:   --he | --h)
        !          10841:     # Conflict between --help and --header
        !          10842:     { { echo "$as_me:10842: error: ambiguous option: $1
        !          10843: Try \`$0 --help' for more information." >&5
        !          10844: echo "$as_me: error: ambiguous option: $1
        !          10845: Try \`$0 --help' for more information." >&2;}
        !          10846:    { (exit 1); exit 1; }; };;
        !          10847:   --help | --hel | -h )
        !          10848:     echo "$ac_cs_usage"; exit 0 ;;
        !          10849:   --debug | --d* | -d )
        !          10850:     debug=: ;;
        !          10851:   --file | --fil | --fi | --f )
        !          10852:     shift
        !          10853:     CONFIG_FILES="$CONFIG_FILES $1"
        !          10854:     ac_need_defaults=false;;
        !          10855:   --header | --heade | --head | --hea )
        !          10856:     shift
        !          10857:     CONFIG_HEADERS="$CONFIG_HEADERS $1"
        !          10858:     ac_need_defaults=false;;
        !          10859:
        !          10860:   # This is an error.
        !          10861:   -*) { { echo "$as_me:10861: error: unrecognized option: $1
        !          10862: Try \`$0 --help' for more information." >&5
        !          10863: echo "$as_me: error: unrecognized option: $1
        !          10864: Try \`$0 --help' for more information." >&2;}
        !          10865:    { (exit 1); exit 1; }; } ;;
        !          10866:
        !          10867:   *) ac_config_targets="$ac_config_targets $1" ;;
        !          10868:
        !          10869:   esac
        !          10870:   shift
        !          10871: done
        !          10872:
        !          10873: exec 5>>config.log
        !          10874: cat >&5 << _ACEOF
        !          10875:
        !          10876: ## ----------------------- ##
        !          10877: ## Running config.status.  ##
        !          10878: ## ----------------------- ##
        !          10879:
        !          10880: This file was extended by $as_me (sudo 1.6.4) 2.52, executed with
        !          10881:   CONFIG_FILES    = $CONFIG_FILES
        !          10882:   CONFIG_HEADERS  = $CONFIG_HEADERS
        !          10883:   CONFIG_LINKS    = $CONFIG_LINKS
        !          10884:   CONFIG_COMMANDS = $CONFIG_COMMANDS
        !          10885:   > $ac_cs_invocation
        !          10886: on `(hostname || uname -n) 2>/dev/null | sed 1q`
        !          10887:
        !          10888: _ACEOF
        !          10889: EOF
        !          10890:
        !          10891: cat >>$CONFIG_STATUS <<\EOF
        !          10892: for ac_config_target in $ac_config_targets
        !          10893: do
        !          10894:   case "$ac_config_target" in
        !          10895:   # Handling of arguments.
        !          10896:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
        !          10897:   "sudo.man" ) CONFIG_FILES="$CONFIG_FILES sudo.man" ;;
        !          10898:   "visudo.man" ) CONFIG_FILES="$CONFIG_FILES visudo.man" ;;
        !          10899:   "sudoers.man" ) CONFIG_FILES="$CONFIG_FILES sudoers.man" ;;
        !          10900:   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
        !          10901:   "pathnames.h" ) CONFIG_HEADERS="$CONFIG_HEADERS pathnames.h" ;;
        !          10902:   *) { { echo "$as_me:10902: error: invalid argument: $ac_config_target" >&5
        !          10903: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
        !          10904:    { (exit 1); exit 1; }; };;
1.1       millert  10905:   esac
                   10906: done
                   10907:
1.9     ! millert  10908: # If the user did not use the arguments to specify the items to instantiate,
        !          10909: # then the envvar interface is used.  Set only those that are not.
        !          10910: # We use the long form for the default assignment because of an extremely
        !          10911: # bizarre bug on SunOS 4.1.3.
        !          10912: if $ac_need_defaults; then
        !          10913:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
        !          10914:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
        !          10915: fi
        !          10916:
        !          10917: # Create a temporary directory, and hook for its removal unless debugging.
        !          10918: $debug ||
        !          10919: {
        !          10920:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
        !          10921:   trap '{ (exit 1); exit 1; }' 1 2 13 15
        !          10922: }
        !          10923:
        !          10924: # Create a (secure) tmp directory for tmp files.
        !          10925: : ${TMPDIR=/tmp}
        !          10926: {
        !          10927:   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
        !          10928:   test -n "$tmp" && test -d "$tmp"
        !          10929: }  ||
        !          10930: {
        !          10931:   tmp=$TMPDIR/cs$$-$RANDOM
        !          10932:   (umask 077 && mkdir $tmp)
        !          10933: } ||
        !          10934: {
        !          10935:    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
        !          10936:    { (exit 1); exit 1; }
        !          10937: }
1.1       millert  10938:
                   10939: EOF
                   10940:
1.9     ! millert  10941: cat >>$CONFIG_STATUS <<EOF
        !          10942:
        !          10943: #
        !          10944: # CONFIG_FILES section.
        !          10945: #
1.1       millert  10946:
1.9     ! millert  10947: # No need to generate the scripts if there are no CONFIG_FILES.
        !          10948: # This happens for instance when ./config.status config.h
        !          10949: if test -n "\$CONFIG_FILES"; then
        !          10950:   # Protect against being on the right side of a sed subst in config.status.
        !          10951:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
        !          10952:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
        !          10953: s,@SHELL@,$SHELL,;t t
        !          10954: s,@exec_prefix@,$exec_prefix,;t t
        !          10955: s,@prefix@,$prefix,;t t
        !          10956: s,@program_transform_name@,$program_transform_name,;t t
        !          10957: s,@bindir@,$bindir,;t t
        !          10958: s,@sbindir@,$sbindir,;t t
        !          10959: s,@libexecdir@,$libexecdir,;t t
        !          10960: s,@datadir@,$datadir,;t t
        !          10961: s,@sysconfdir@,$sysconfdir,;t t
        !          10962: s,@sharedstatedir@,$sharedstatedir,;t t
        !          10963: s,@localstatedir@,$localstatedir,;t t
        !          10964: s,@libdir@,$libdir,;t t
        !          10965: s,@includedir@,$includedir,;t t
        !          10966: s,@oldincludedir@,$oldincludedir,;t t
        !          10967: s,@infodir@,$infodir,;t t
        !          10968: s,@mandir@,$mandir,;t t
        !          10969: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
        !          10970: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
        !          10971: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
        !          10972: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
        !          10973: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
        !          10974: s,@build_alias@,$build_alias,;t t
        !          10975: s,@host_alias@,$host_alias,;t t
        !          10976: s,@target_alias@,$target_alias,;t t
        !          10977: s,@ECHO_C@,$ECHO_C,;t t
        !          10978: s,@ECHO_N@,$ECHO_N,;t t
        !          10979: s,@ECHO_T@,$ECHO_T,;t t
        !          10980: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
        !          10981: s,@DEFS@,$DEFS,;t t
        !          10982: s,@LIBS@,$LIBS,;t t
        !          10983: s,@CFLAGS@,$CFLAGS,;t t
        !          10984: s,@PROGS@,$PROGS,;t t
        !          10985: s,@CPPFLAGS@,$CPPFLAGS,;t t
        !          10986: s,@LDFLAGS@,$LDFLAGS,;t t
        !          10987: s,@SUDO_LDFLAGS@,$SUDO_LDFLAGS,;t t
        !          10988: s,@SUDO_LIBS@,$SUDO_LIBS,;t t
        !          10989: s,@NET_LIBS@,$NET_LIBS,;t t
        !          10990: s,@AFS_LIBS@,$AFS_LIBS,;t t
        !          10991: s,@OSDEFS@,$OSDEFS,;t t
        !          10992: s,@AUTH_OBJS@,$AUTH_OBJS,;t t
        !          10993: s,@LIBOBJS@,$LIBOBJS,;t t
        !          10994: s,@MANTYPE@,$MANTYPE,;t t
        !          10995: s,@MAN_POSTINSTALL@,$MAN_POSTINSTALL,;t t
        !          10996: s,@SUDOERS_MODE@,$SUDOERS_MODE,;t t
        !          10997: s,@SUDOERS_UID@,$SUDOERS_UID,;t t
        !          10998: s,@SUDOERS_GID@,$SUDOERS_GID,;t t
        !          10999: s,@DEV@,$DEV,;t t
        !          11000: s,@mansectsu@,$mansectsu,;t t
        !          11001: s,@mansectform@,$mansectform,;t t
        !          11002: s,@mansrcdir@,$mansrcdir,;t t
        !          11003: s,@timedir@,$timedir,;t t
        !          11004: s,@timeout@,$timeout,;t t
        !          11005: s,@password_timeout@,$password_timeout,;t t
        !          11006: s,@sudo_umask@,$sudo_umask,;t t
        !          11007: s,@passprompt@,$passprompt,;t t
        !          11008: s,@long_otp_prompt@,$long_otp_prompt,;t t
        !          11009: s,@lecture@,$lecture,;t t
        !          11010: s,@logfac@,$logfac,;t t
        !          11011: s,@goodpri@,$goodpri,;t t
        !          11012: s,@badpri@,$badpri,;t t
        !          11013: s,@loglen@,$loglen,;t t
        !          11014: s,@ignore_dot@,$ignore_dot,;t t
        !          11015: s,@mail_no_user@,$mail_no_user,;t t
        !          11016: s,@mail_no_host@,$mail_no_host,;t t
        !          11017: s,@mail_no_perms@,$mail_no_perms,;t t
        !          11018: s,@mailto@,$mailto,;t t
        !          11019: s,@mailsub@,$mailsub,;t t
        !          11020: s,@badpass_message@,$badpass_message,;t t
        !          11021: s,@fqdn@,$fqdn,;t t
        !          11022: s,@runas_default@,$runas_default,;t t
        !          11023: s,@env_editor@,$env_editor,;t t
        !          11024: s,@passwd_tries@,$passwd_tries,;t t
        !          11025: s,@tty_tickets@,$tty_tickets,;t t
        !          11026: s,@insults@,$insults,;t t
        !          11027: s,@EGREPPROG@,$EGREPPROG,;t t
        !          11028: s,@CC@,$CC,;t t
        !          11029: s,@ac_ct_CC@,$ac_ct_CC,;t t
        !          11030: s,@EXEEXT@,$EXEEXT,;t t
        !          11031: s,@OBJEXT@,$OBJEXT,;t t
        !          11032: s,@CPP@,$CPP,;t t
        !          11033: s,@UNAMEPROG@,$UNAMEPROG,;t t
        !          11034: s,@TRPROG@,$TRPROG,;t t
        !          11035: s,@SEDPROG@,$SEDPROG,;t t
        !          11036: s,@NROFFPROG@,$NROFFPROG,;t t
        !          11037: s,@build@,$build,;t t
        !          11038: s,@build_cpu@,$build_cpu,;t t
        !          11039: s,@build_vendor@,$build_vendor,;t t
        !          11040: s,@build_os@,$build_os,;t t
        !          11041: s,@host@,$host,;t t
        !          11042: s,@host_cpu@,$host_cpu,;t t
        !          11043: s,@host_vendor@,$host_vendor,;t t
        !          11044: s,@host_os@,$host_os,;t t
        !          11045: s,@YACC@,$YACC,;t t
        !          11046: s,@ALLOCA@,$ALLOCA,;t t
1.1       millert  11047: CEOF
1.9     ! millert  11048:
1.1       millert  11049: EOF
                   11050:
1.9     ! millert  11051:   cat >>$CONFIG_STATUS <<\EOF
        !          11052:   # Split the substitutions into bite-sized pieces for seds with
        !          11053:   # small command number limits, like on Digital OSF/1 and HP-UX.
        !          11054:   ac_max_sed_lines=48
        !          11055:   ac_sed_frag=1 # Number of current file.
        !          11056:   ac_beg=1 # First line for current file.
        !          11057:   ac_end=$ac_max_sed_lines # Line after last line for current file.
        !          11058:   ac_more_lines=:
        !          11059:   ac_sed_cmds=
        !          11060:   while $ac_more_lines; do
        !          11061:     if test $ac_beg -gt 1; then
        !          11062:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
        !          11063:     else
        !          11064:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
        !          11065:     fi
        !          11066:     if test ! -s $tmp/subs.frag; then
        !          11067:       ac_more_lines=false
1.1       millert  11068:     else
1.9     ! millert  11069:       # The purpose of the label and of the branching condition is to
        !          11070:       # speed up the sed processing (if there are no `@' at all, there
        !          11071:       # is no need to browse any of the substitutions).
        !          11072:       # These are the two extra sed commands mentioned above.
        !          11073:       (echo ':t
        !          11074:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
        !          11075:       if test -z "$ac_sed_cmds"; then
        !          11076:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
        !          11077:       else
        !          11078:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
        !          11079:       fi
        !          11080:       ac_sed_frag=`expr $ac_sed_frag + 1`
        !          11081:       ac_beg=$ac_end
        !          11082:       ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1       millert  11083:     fi
1.9     ! millert  11084:   done
        !          11085:   if test -z "$ac_sed_cmds"; then
        !          11086:     ac_sed_cmds=cat
1.1       millert  11087:   fi
1.9     ! millert  11088: fi # test -n "$CONFIG_FILES"
1.1       millert  11089:
                   11090: EOF
1.9     ! millert  11091: cat >>$CONFIG_STATUS <<\EOF
        !          11092: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1       millert  11093:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.9     ! millert  11094:   case $ac_file in
        !          11095:   - | *:- | *:-:* ) # input from stdin
        !          11096:         cat >$tmp/stdin
        !          11097:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        !          11098:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
        !          11099:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        !          11100:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
        !          11101:   * )   ac_file_in=$ac_file.in ;;
1.1       millert  11102:   esac
                   11103:
1.9     ! millert  11104:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
        !          11105:   ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          11106:          X"$ac_file" : 'X\(//\)[^/]' \| \
        !          11107:          X"$ac_file" : 'X\(//\)$' \| \
        !          11108:          X"$ac_file" : 'X\(/\)' \| \
        !          11109:          .     : '\(.\)' 2>/dev/null ||
        !          11110: echo X"$ac_file" |
        !          11111:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
        !          11112:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
        !          11113:          /^X\(\/\/\)$/{ s//\1/; q; }
        !          11114:          /^X\(\/\).*/{ s//\1/; q; }
        !          11115:          s/.*/./; q'`
        !          11116:   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
        !          11117:     { case "$ac_dir" in
        !          11118:   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
        !          11119:   *)                      as_incr_dir=.;;
        !          11120: esac
        !          11121: as_dummy="$ac_dir"
        !          11122: for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
        !          11123:   case $as_mkdir_dir in
        !          11124:     # Skip DOS drivespec
        !          11125:     ?:) as_incr_dir=$as_mkdir_dir ;;
        !          11126:     *)
        !          11127:       as_incr_dir=$as_incr_dir/$as_mkdir_dir
        !          11128:       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
        !          11129:     ;;
        !          11130:   esac
        !          11131: done; }
1.1       millert  11132:
1.9     ! millert  11133:     ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
1.1       millert  11134:     # A "../" for each directory in $ac_dir_suffix.
1.9     ! millert  11135:     ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
1.1       millert  11136:   else
                   11137:     ac_dir_suffix= ac_dots=
                   11138:   fi
                   11139:
1.9     ! millert  11140:   case $srcdir in
        !          11141:   .)  ac_srcdir=.
        !          11142:       if test -z "$ac_dots"; then
        !          11143:          ac_top_srcdir=.
        !          11144:       else
        !          11145:          ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
        !          11146:       fi ;;
        !          11147:   [\\/]* | ?:[\\/]* )
        !          11148:       ac_srcdir=$srcdir$ac_dir_suffix;
        !          11149:       ac_top_srcdir=$srcdir ;;
1.1       millert  11150:   *) # Relative path.
1.9     ! millert  11151:     ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
        !          11152:     ac_top_srcdir=$ac_dots$srcdir ;;
1.1       millert  11153:   esac
                   11154:
1.9     ! millert  11155:   if test x"$ac_file" != x-; then
        !          11156:     { echo "$as_me:11156: creating $ac_file" >&5
        !          11157: echo "$as_me: creating $ac_file" >&6;}
        !          11158:     rm -f "$ac_file"
        !          11159:   fi
        !          11160:   # Let's still pretend it is `configure' which instantiates (i.e., don't
        !          11161:   # use $as_me), people would be surprised to read:
        !          11162:   #    /* config.h.  Generated automatically by config.status.  */
        !          11163:   configure_input="Generated automatically from `echo $ac_file_in |
        !          11164:                                                  sed 's,.*/,,'` by configure."
        !          11165:
        !          11166:   # First look for the input files in the build tree, otherwise in the
        !          11167:   # src tree.
        !          11168:   ac_file_inputs=`IFS=:
        !          11169:     for f in $ac_file_in; do
        !          11170:       case $f in
        !          11171:       -) echo $tmp/stdin ;;
        !          11172:       [\\/$]*)
        !          11173:          # Absolute (can't be DOS-style, as IFS=:)
        !          11174:          test -f "$f" || { { echo "$as_me:11174: error: cannot find input file: $f" >&5
        !          11175: echo "$as_me: error: cannot find input file: $f" >&2;}
        !          11176:    { (exit 1); exit 1; }; }
        !          11177:          echo $f;;
        !          11178:       *) # Relative
        !          11179:          if test -f "$f"; then
        !          11180:            # Build tree
        !          11181:            echo $f
        !          11182:          elif test -f "$srcdir/$f"; then
        !          11183:            # Source tree
        !          11184:            echo $srcdir/$f
        !          11185:          else
        !          11186:            # /dev/null tree
        !          11187:            { { echo "$as_me:11187: error: cannot find input file: $f" >&5
        !          11188: echo "$as_me: error: cannot find input file: $f" >&2;}
        !          11189:    { (exit 1); exit 1; }; }
        !          11190:          fi;;
        !          11191:       esac
        !          11192:     done` || { (exit 1); exit 1; }
        !          11193: EOF
        !          11194: cat >>$CONFIG_STATUS <<EOF
        !          11195:   sed "$ac_vpsub
        !          11196: $extrasub
        !          11197: EOF
        !          11198: cat >>$CONFIG_STATUS <<\EOF
        !          11199: :t
        !          11200: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
        !          11201: s,@configure_input@,$configure_input,;t t
        !          11202: s,@srcdir@,$ac_srcdir,;t t
        !          11203: s,@top_srcdir@,$ac_top_srcdir,;t t
        !          11204: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
        !          11205:   rm -f $tmp/stdin
        !          11206:   if test x"$ac_file" != x-; then
        !          11207:     mv $tmp/out $ac_file
        !          11208:   else
        !          11209:     cat $tmp/out
        !          11210:     rm -f $tmp/out
        !          11211:   fi
1.1       millert  11212:
1.9     ! millert  11213: done
        !          11214: EOF
        !          11215: cat >>$CONFIG_STATUS <<\EOF
1.1       millert  11216:
1.9     ! millert  11217: #
        !          11218: # CONFIG_HEADER section.
        !          11219: #
1.1       millert  11220:
                   11221: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   11222: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   11223: #
                   11224: # ac_d sets the value in "#define NAME VALUE" lines.
1.9     ! millert  11225: ac_dA='s,^\([  ]*\)#\([        ]*define[       ][      ]*\)'
        !          11226: ac_dB='[       ].*$,\1#\2'
        !          11227: ac_dC=' '
        !          11228: ac_dD=',;t'
        !          11229: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
        !          11230: ac_uA='s,^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
        !          11231: ac_uB='$,\1#\2define\3'
1.1       millert  11232: ac_uC=' '
1.9     ! millert  11233: ac_uD=',;t'
1.1       millert  11234:
1.9     ! millert  11235: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1       millert  11236:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.9     ! millert  11237:   case $ac_file in
        !          11238:   - | *:- | *:-:* ) # input from stdin
        !          11239:         cat >$tmp/stdin
        !          11240:         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        !          11241:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
        !          11242:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
        !          11243:         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
        !          11244:   * )   ac_file_in=$ac_file.in ;;
1.1       millert  11245:   esac
                   11246:
1.9     ! millert  11247:   test x"$ac_file" != x- && { echo "$as_me:11247: creating $ac_file" >&5
        !          11248: echo "$as_me: creating $ac_file" >&6;}
1.1       millert  11249:
1.9     ! millert  11250:   # First look for the input files in the build tree, otherwise in the
        !          11251:   # src tree.
        !          11252:   ac_file_inputs=`IFS=:
        !          11253:     for f in $ac_file_in; do
        !          11254:       case $f in
        !          11255:       -) echo $tmp/stdin ;;
        !          11256:       [\\/$]*)
        !          11257:          # Absolute (can't be DOS-style, as IFS=:)
        !          11258:          test -f "$f" || { { echo "$as_me:11258: error: cannot find input file: $f" >&5
        !          11259: echo "$as_me: error: cannot find input file: $f" >&2;}
        !          11260:    { (exit 1); exit 1; }; }
        !          11261:          echo $f;;
        !          11262:       *) # Relative
        !          11263:          if test -f "$f"; then
        !          11264:            # Build tree
        !          11265:            echo $f
        !          11266:          elif test -f "$srcdir/$f"; then
        !          11267:            # Source tree
        !          11268:            echo $srcdir/$f
        !          11269:          else
        !          11270:            # /dev/null tree
        !          11271:            { { echo "$as_me:11271: error: cannot find input file: $f" >&5
        !          11272: echo "$as_me: error: cannot find input file: $f" >&2;}
        !          11273:    { (exit 1); exit 1; }; }
        !          11274:          fi;;
        !          11275:       esac
        !          11276:     done` || { (exit 1); exit 1; }
        !          11277:   # Remove the trailing spaces.
        !          11278:   sed 's/[     ]*$//' $ac_file_inputs >$tmp/in
1.1       millert  11279:
                   11280: EOF
                   11281:
1.9     ! millert  11282: # Transform confdefs.h into two sed scripts, `conftest.defines' and
        !          11283: # `conftest.undefs', that substitutes the proper values into
        !          11284: # config.h.in to produce config.h.  The first handles `#define'
        !          11285: # templates, and the second `#undef' templates.
        !          11286: # And first: Protect against being on the right side of a sed subst in
        !          11287: # config.status.  Protect against being in an unquoted here document
        !          11288: # in config.status.
        !          11289: rm -f conftest.defines conftest.undefs
        !          11290: # Using a here document instead of a string reduces the quoting nightmare.
        !          11291: # Putting comments in sed scripts is not portable.
        !          11292: #
        !          11293: # `end' is used to avoid that the second main sed command (meant for
        !          11294: # 0-ary CPP macros) applies to n-ary macro definitions.
        !          11295: # See the Autoconf documentation for `clear'.
        !          11296: cat >confdef2sed.sed <<\EOF
        !          11297: s/[\\&,]/\\&/g
        !          11298: s,[\\$`],\\&,g
        !          11299: t clear
        !          11300: : clear
        !          11301: s,^[   ]*#[    ]*define[       ][      ]*\(\([^        (][^    (]*\)([^)]*)\)[         ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
        !          11302: t end
        !          11303: s,^[   ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
        !          11304: : end
        !          11305: EOF
        !          11306: # If some macros were called several times there might be several times
        !          11307: # the same #defines, which is useless.  Nevertheless, we may not want to
        !          11308: # sort them, since we want the *last* AC-DEFINE to be honored.
        !          11309: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
        !          11310: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
        !          11311: rm -f confdef2sed.sed
1.1       millert  11312:
                   11313: # This sed command replaces #undef with comments.  This is necessary, for
                   11314: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   11315: # on some systems where configure will not decide to define it.
1.9     ! millert  11316: cat >>conftest.undefs <<\EOF
        !          11317: s,^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
1.1       millert  11318: EOF
                   11319:
1.9     ! millert  11320: # Break up conftest.defines because some shells have a limit on the size
        !          11321: # of here documents, and old seds have small limits too (100 cmds).
        !          11322: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
        !          11323: echo '  if egrep "^[   ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
        !          11324: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
        !          11325: echo '  :' >>$CONFIG_STATUS
        !          11326: rm -f conftest.tail
        !          11327: while grep . conftest.defines >/dev/null
        !          11328: do
        !          11329:   # Write a limited-size here document to $tmp/defines.sed.
        !          11330:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
        !          11331:   # Speed up: don't consider the non `#define' lines.
        !          11332:   echo '/^[    ]*#[    ]*define/!b' >>$CONFIG_STATUS
        !          11333:   # Work around the forget-to-reset-the-flag bug.
        !          11334:   echo 't clr' >>$CONFIG_STATUS
        !          11335:   echo ': clr' >>$CONFIG_STATUS
        !          11336:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
        !          11337:   echo 'CEOF
        !          11338:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
        !          11339:   rm -f $tmp/in
        !          11340:   mv $tmp/out $tmp/in
        !          11341: ' >>$CONFIG_STATUS
        !          11342:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
        !          11343:   rm -f conftest.defines
        !          11344:   mv conftest.tail conftest.defines
        !          11345: done
        !          11346: rm -f conftest.defines
        !          11347: echo '  fi # egrep' >>$CONFIG_STATUS
        !          11348: echo >>$CONFIG_STATUS
        !          11349:
        !          11350: # Break up conftest.undefs because some shells have a limit on the size
        !          11351: # of here documents, and old seds have small limits too (100 cmds).
        !          11352: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
1.1       millert  11353: rm -f conftest.tail
1.9     ! millert  11354: while grep . conftest.undefs >/dev/null
1.1       millert  11355: do
1.9     ! millert  11356:   # Write a limited-size here document to $tmp/undefs.sed.
        !          11357:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
        !          11358:   # Speed up: don't consider the non `#undef'
        !          11359:   echo '/^[    ]*#[    ]*undef/!b' >>$CONFIG_STATUS
        !          11360:   # Work around the forget-to-reset-the-flag bug.
        !          11361:   echo 't clr' >>$CONFIG_STATUS
        !          11362:   echo ': clr' >>$CONFIG_STATUS
        !          11363:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1       millert  11364:   echo 'CEOF
1.9     ! millert  11365:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
        !          11366:   rm -f $tmp/in
        !          11367:   mv $tmp/out $tmp/in
        !          11368: ' >>$CONFIG_STATUS
        !          11369:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
        !          11370:   rm -f conftest.undefs
        !          11371:   mv conftest.tail conftest.undefs
        !          11372: done
        !          11373: rm -f conftest.undefs
        !          11374:
        !          11375: cat >>$CONFIG_STATUS <<\EOF
        !          11376:   # Let's still pretend it is `configure' which instantiates (i.e., don't
        !          11377:   # use $as_me), people would be surprised to read:
        !          11378:   #    /* config.h.  Generated automatically by config.status.  */
        !          11379:   if test x"$ac_file" = x-; then
        !          11380:     echo "/* Generated automatically by configure.  */" >$tmp/config.h
1.1       millert  11381:   else
1.9     ! millert  11382:     echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
        !          11383:   fi
        !          11384:   cat $tmp/in >>$tmp/config.h
        !          11385:   rm -f $tmp/in
        !          11386:   if test x"$ac_file" != x-; then
        !          11387:     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
        !          11388:       { echo "$as_me:11388: $ac_file is unchanged" >&5
        !          11389: echo "$as_me: $ac_file is unchanged" >&6;}
        !          11390:     else
        !          11391:       ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          11392:          X"$ac_file" : 'X\(//\)[^/]' \| \
        !          11393:          X"$ac_file" : 'X\(//\)$' \| \
        !          11394:          X"$ac_file" : 'X\(/\)' \| \
        !          11395:          .     : '\(.\)' 2>/dev/null ||
        !          11396: echo X"$ac_file" |
        !          11397:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
        !          11398:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
        !          11399:          /^X\(\/\/\)$/{ s//\1/; q; }
        !          11400:          /^X\(\/\).*/{ s//\1/; q; }
        !          11401:          s/.*/./; q'`
1.1       millert  11402:       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1.9     ! millert  11403:         { case "$ac_dir" in
        !          11404:   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
        !          11405:   *)                      as_incr_dir=.;;
        !          11406: esac
        !          11407: as_dummy="$ac_dir"
        !          11408: for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
        !          11409:   case $as_mkdir_dir in
        !          11410:     # Skip DOS drivespec
        !          11411:     ?:) as_incr_dir=$as_mkdir_dir ;;
        !          11412:     *)
        !          11413:       as_incr_dir=$as_incr_dir/$as_mkdir_dir
        !          11414:       test -d "$as_incr_dir" || mkdir "$as_incr_dir"
        !          11415:     ;;
        !          11416:   esac
        !          11417: done; }
        !          11418:
        !          11419:       fi
        !          11420:       rm -f $ac_file
        !          11421:       mv $tmp/config.h $ac_file
1.1       millert  11422:     fi
1.9     ! millert  11423:   else
        !          11424:     cat $tmp/config.h
        !          11425:     rm -f $tmp/config.h
1.1       millert  11426:   fi
1.9     ! millert  11427: done
1.1       millert  11428: EOF
                   11429:
1.9     ! millert  11430: cat >>$CONFIG_STATUS <<\EOF
1.1       millert  11431:
1.9     ! millert  11432: { (exit 0); exit 0; }
1.1       millert  11433: EOF
                   11434: chmod +x $CONFIG_STATUS
1.9     ! millert  11435: ac_clean_files=$ac_clean_files_save
1.1       millert  11436:
1.9     ! millert  11437: # configure is writing to config.log, and then calls config.status.
        !          11438: # config.status does its own redirection, appending to config.log.
        !          11439: # Unfortunately, on DOS this fails, as config.log is still kept open
        !          11440: # by configure, so config.status won't be able to write to it; its
        !          11441: # output is simply discarded.  So we exec the FD to /dev/null,
        !          11442: # effectively closing config.log, so it can be properly (re)opened and
        !          11443: # appended to by config.status.  When coming back to configure, we
        !          11444: # need to make the FD available again.
        !          11445: if test "$no_create" != yes; then
        !          11446:   ac_cs_success=:
        !          11447:   exec 5>/dev/null
        !          11448:   $SHELL $CONFIG_STATUS || ac_cs_success=false
        !          11449:   exec 5>>config.log
        !          11450:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
        !          11451:   # would make configure fail if this is the last instruction.
        !          11452:   $ac_cs_success || { (exit 1); exit 1; }
        !          11453: fi
1.1       millert  11454:
                   11455: if test "$with_pam" = "yes"; then
                   11456:     echo ""
                   11457:     case $host in
                   11458:        *-*-linux*)
                   11459:            echo "You will need to customize sample.pam and install it as /etc/pam.d/sudo"
                   11460:            ;;
                   11461:     esac
                   11462:     echo ""
                   11463: fi
1.9     ! millert  11464: