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

Annotation of src/usr.bin/ssh/configure, Revision 1.1

1.1     ! deraadt     1: #! /bin/sh
        !             2:
        !             3: # Guess values for system-dependent variables and create Makefiles.
        !             4: # Generated automatically using autoconf version 2.13
        !             5: # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
        !             6: #
        !             7: # This configure script is free software; the Free Software Foundation
        !             8: # gives unlimited permission to copy, distribute and modify it.
        !             9:
        !            10: # Defaults:
        !            11: ac_help=
        !            12: ac_default_prefix=/usr/local
        !            13: # Any additions from configure.in:
        !            14: ac_help="$ac_help
        !            15:   --enable-warnings       Enable -Wall if using gcc."
        !            16: ac_help="$ac_help
        !            17:   --with-gmp[=PATH]      Where to find GMP library."
        !            18: ac_help="$ac_help
        !            19:   --with-idea             Use IDEA (not default).
        !            20:   --without-idea          Don't use IDEA: avoids patent problems in commercial use"
        !            21: ac_help="$ac_help
        !            22:   --with-rc4          Include RC4 support.
        !            23:   --without-rc4       Don't include RC4 support (default)"
        !            24: ac_help="$ac_help
        !            25:   --with-blowfish          Include Blowfish support (default).
        !            26:   --without-blowfish       Don't include Blowfish support"
        !            27: ac_help="$ac_help
        !            28:   --with-rsaref           Use RSAREF (try to avoid patent problems in U.S.)
        !            29:   --without-rsaref        Use normal RSA routines (default). "
        !            30: ac_help="$ac_help
        !            31:   --with-ssl           Use SSL (try to avoid patent problems in U.S.)
        !            32:   --without-ssl         Use normal RSA routines (default). "
        !            33: ac_help="$ac_help
        !            34:   --with-rsh=PATH         Specify where to find rsh.
        !            35:   --without-rsh           Do not use rsh under any conditions. "
        !            36: ac_help="$ac_help
        !            37:   --with-path=PATH        Default path passed to user shell by sshd."
        !            38: ac_help="$ac_help
        !            39:   --with-etcdir=PATH      Directory containing ssh system files (default /etc)."
        !            40: ac_help="$ac_help
        !            41:   --with-securid[=PATH]   Enable support for Security Dynamics SecurID card."
        !            42: ac_help="$ac_help
        !            43:   --with-zlib            Use zlib (default).
        !            44:   --without-zlib          Don't use zlib."
        !            45: ac_help="$ac_help
        !            46:   --with-krb4[=PATH]      Compile in Kerberos v4 support."
        !            47: ac_help="$ac_help
        !            48:   --with-afs              Compile in AFS support (requires KTH krb4)."
        !            49: ac_help="$ac_help
        !            50:   --with-libwrap[=PATH]   Compile in libwrap (tcp_wrappers) support."
        !            51: ac_help="$ac_help
        !            52:   --with-socks[=PATH]     Compile with SOCKS firewall traversal support."
        !            53:
        !            54: # Initialize some variables set by options.
        !            55: # The variables have the same names as the options, with
        !            56: # dashes changed to underlines.
        !            57: build=NONE
        !            58: cache_file=./config.cache
        !            59: exec_prefix=NONE
        !            60: host=NONE
        !            61: no_create=
        !            62: nonopt=NONE
        !            63: no_recursion=
        !            64: prefix=NONE
        !            65: program_prefix=NONE
        !            66: program_suffix=NONE
        !            67: program_transform_name=s,x,x,
        !            68: silent=
        !            69: site=
        !            70: srcdir=
        !            71: target=NONE
        !            72: verbose=
        !            73: x_includes=NONE
        !            74: x_libraries=NONE
        !            75: bindir='${exec_prefix}/bin'
        !            76: sbindir='${exec_prefix}/sbin'
        !            77: libexecdir='${exec_prefix}/libexec'
        !            78: datadir='${prefix}/share'
        !            79: sysconfdir='${prefix}/etc'
        !            80: sharedstatedir='${prefix}/com'
        !            81: localstatedir='${prefix}/var'
        !            82: libdir='${exec_prefix}/lib'
        !            83: includedir='${prefix}/include'
        !            84: oldincludedir='/usr/include'
        !            85: infodir='${prefix}/info'
        !            86: mandir='${prefix}/man'
        !            87:
        !            88: # Initialize some other variables.
        !            89: subdirs=
        !            90: MFLAGS= MAKEFLAGS=
        !            91: SHELL=${CONFIG_SHELL-/bin/sh}
        !            92: # Maximum number of lines to put in a shell here document.
        !            93: ac_max_here_lines=12
        !            94:
        !            95: ac_prev=
        !            96: for ac_option
        !            97: do
        !            98:
        !            99:   # If the previous option needs an argument, assign it.
        !           100:   if test -n "$ac_prev"; then
        !           101:     eval "$ac_prev=\$ac_option"
        !           102:     ac_prev=
        !           103:     continue
        !           104:   fi
        !           105:
        !           106:   case "$ac_option" in
        !           107:   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
        !           108:   *) ac_optarg= ;;
        !           109:   esac
        !           110:
        !           111:   # Accept the important Cygnus configure options, so we can diagnose typos.
        !           112:
        !           113:   case "$ac_option" in
        !           114:
        !           115:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
        !           116:     ac_prev=bindir ;;
        !           117:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
        !           118:     bindir="$ac_optarg" ;;
        !           119:
        !           120:   -build | --build | --buil | --bui | --bu)
        !           121:     ac_prev=build ;;
        !           122:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
        !           123:     build="$ac_optarg" ;;
        !           124:
        !           125:   -cache-file | --cache-file | --cache-fil | --cache-fi \
        !           126:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
        !           127:     ac_prev=cache_file ;;
        !           128:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
        !           129:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
        !           130:     cache_file="$ac_optarg" ;;
        !           131:
        !           132:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
        !           133:     ac_prev=datadir ;;
        !           134:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
        !           135:   | --da=*)
        !           136:     datadir="$ac_optarg" ;;
        !           137:
        !           138:   -disable-* | --disable-*)
        !           139:     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
        !           140:     # Reject names that are not valid shell variable names.
        !           141:     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
        !           142:       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
        !           143:     fi
        !           144:     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
        !           145:     eval "enable_${ac_feature}=no" ;;
        !           146:
        !           147:   -enable-* | --enable-*)
        !           148:     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
        !           149:     # Reject names that are not valid shell variable names.
        !           150:     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
        !           151:       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
        !           152:     fi
        !           153:     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
        !           154:     case "$ac_option" in
        !           155:       *=*) ;;
        !           156:       *) ac_optarg=yes ;;
        !           157:     esac
        !           158:     eval "enable_${ac_feature}='$ac_optarg'" ;;
        !           159:
        !           160:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
        !           161:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
        !           162:   | --exec | --exe | --ex)
        !           163:     ac_prev=exec_prefix ;;
        !           164:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
        !           165:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
        !           166:   | --exec=* | --exe=* | --ex=*)
        !           167:     exec_prefix="$ac_optarg" ;;
        !           168:
        !           169:   -gas | --gas | --ga | --g)
        !           170:     # Obsolete; use --with-gas.
        !           171:     with_gas=yes ;;
        !           172:
        !           173:   -help | --help | --hel | --he)
        !           174:     # Omit some internal or obsolete options to make the list less imposing.
        !           175:     # This message is too long to be a string in the A/UX 3.1 sh.
        !           176:     cat << EOF
        !           177: Usage: configure [options] [host]
        !           178: Options: [defaults in brackets after descriptions]
        !           179: Configuration:
        !           180:   --cache-file=FILE       cache test results in FILE
        !           181:   --help                  print this message
        !           182:   --no-create             do not create output files
        !           183:   --quiet, --silent       do not print \`checking...' messages
        !           184:   --version               print the version of autoconf that created configure
        !           185: Directory and file names:
        !           186:   --prefix=PREFIX         install architecture-independent files in PREFIX
        !           187:                           [$ac_default_prefix]
        !           188:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
        !           189:                           [same as prefix]
        !           190:   --bindir=DIR            user executables in DIR [EPREFIX/bin]
        !           191:   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
        !           192:   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
        !           193:   --datadir=DIR           read-only architecture-independent data in DIR
        !           194:                           [PREFIX/share]
        !           195:   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
        !           196:   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
        !           197:                           [PREFIX/com]
        !           198:   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
        !           199:   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
        !           200:   --includedir=DIR        C header files in DIR [PREFIX/include]
        !           201:   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
        !           202:   --infodir=DIR           info documentation in DIR [PREFIX/info]
        !           203:   --mandir=DIR            man documentation in DIR [PREFIX/man]
        !           204:   --srcdir=DIR            find the sources in DIR [configure dir or ..]
        !           205:   --program-prefix=PREFIX prepend PREFIX to installed program names
        !           206:   --program-suffix=SUFFIX append SUFFIX to installed program names
        !           207:   --program-transform-name=PROGRAM
        !           208:                           run sed PROGRAM on installed program names
        !           209: EOF
        !           210:     cat << EOF
        !           211: Host type:
        !           212:   --build=BUILD           configure for building on BUILD [BUILD=HOST]
        !           213:   --host=HOST             configure for HOST [guessed]
        !           214:   --target=TARGET         configure for TARGET [TARGET=HOST]
        !           215: Features and packages:
        !           216:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
        !           217:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
        !           218:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
        !           219:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
        !           220:   --x-includes=DIR        X include files are in DIR
        !           221:   --x-libraries=DIR       X library files are in DIR
        !           222: EOF
        !           223:     if test -n "$ac_help"; then
        !           224:       echo "--enable and --with options recognized:$ac_help"
        !           225:     fi
        !           226:     exit 0 ;;
        !           227:
        !           228:   -host | --host | --hos | --ho)
        !           229:     ac_prev=host ;;
        !           230:   -host=* | --host=* | --hos=* | --ho=*)
        !           231:     host="$ac_optarg" ;;
        !           232:
        !           233:   -includedir | --includedir | --includedi | --included | --include \
        !           234:   | --includ | --inclu | --incl | --inc)
        !           235:     ac_prev=includedir ;;
        !           236:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
        !           237:   | --includ=* | --inclu=* | --incl=* | --inc=*)
        !           238:     includedir="$ac_optarg" ;;
        !           239:
        !           240:   -infodir | --infodir | --infodi | --infod | --info | --inf)
        !           241:     ac_prev=infodir ;;
        !           242:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
        !           243:     infodir="$ac_optarg" ;;
        !           244:
        !           245:   -libdir | --libdir | --libdi | --libd)
        !           246:     ac_prev=libdir ;;
        !           247:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
        !           248:     libdir="$ac_optarg" ;;
        !           249:
        !           250:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
        !           251:   | --libexe | --libex | --libe)
        !           252:     ac_prev=libexecdir ;;
        !           253:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
        !           254:   | --libexe=* | --libex=* | --libe=*)
        !           255:     libexecdir="$ac_optarg" ;;
        !           256:
        !           257:   -localstatedir | --localstatedir | --localstatedi | --localstated \
        !           258:   | --localstate | --localstat | --localsta | --localst \
        !           259:   | --locals | --local | --loca | --loc | --lo)
        !           260:     ac_prev=localstatedir ;;
        !           261:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
        !           262:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
        !           263:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
        !           264:     localstatedir="$ac_optarg" ;;
        !           265:
        !           266:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
        !           267:     ac_prev=mandir ;;
        !           268:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
        !           269:     mandir="$ac_optarg" ;;
        !           270:
        !           271:   -nfp | --nfp | --nf)
        !           272:     # Obsolete; use --without-fp.
        !           273:     with_fp=no ;;
        !           274:
        !           275:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
        !           276:   | --no-cr | --no-c)
        !           277:     no_create=yes ;;
        !           278:
        !           279:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
        !           280:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
        !           281:     no_recursion=yes ;;
        !           282:
        !           283:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
        !           284:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
        !           285:   | --oldin | --oldi | --old | --ol | --o)
        !           286:     ac_prev=oldincludedir ;;
        !           287:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
        !           288:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
        !           289:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
        !           290:     oldincludedir="$ac_optarg" ;;
        !           291:
        !           292:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
        !           293:     ac_prev=prefix ;;
        !           294:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
        !           295:     prefix="$ac_optarg" ;;
        !           296:
        !           297:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
        !           298:   | --program-pre | --program-pr | --program-p)
        !           299:     ac_prev=program_prefix ;;
        !           300:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
        !           301:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
        !           302:     program_prefix="$ac_optarg" ;;
        !           303:
        !           304:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
        !           305:   | --program-suf | --program-su | --program-s)
        !           306:     ac_prev=program_suffix ;;
        !           307:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
        !           308:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
        !           309:     program_suffix="$ac_optarg" ;;
        !           310:
        !           311:   -program-transform-name | --program-transform-name \
        !           312:   | --program-transform-nam | --program-transform-na \
        !           313:   | --program-transform-n | --program-transform- \
        !           314:   | --program-transform | --program-transfor \
        !           315:   | --program-transfo | --program-transf \
        !           316:   | --program-trans | --program-tran \
        !           317:   | --progr-tra | --program-tr | --program-t)
        !           318:     ac_prev=program_transform_name ;;
        !           319:   -program-transform-name=* | --program-transform-name=* \
        !           320:   | --program-transform-nam=* | --program-transform-na=* \
        !           321:   | --program-transform-n=* | --program-transform-=* \
        !           322:   | --program-transform=* | --program-transfor=* \
        !           323:   | --program-transfo=* | --program-transf=* \
        !           324:   | --program-trans=* | --program-tran=* \
        !           325:   | --progr-tra=* | --program-tr=* | --program-t=*)
        !           326:     program_transform_name="$ac_optarg" ;;
        !           327:
        !           328:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
        !           329:   | -silent | --silent | --silen | --sile | --sil)
        !           330:     silent=yes ;;
        !           331:
        !           332:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
        !           333:     ac_prev=sbindir ;;
        !           334:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
        !           335:   | --sbi=* | --sb=*)
        !           336:     sbindir="$ac_optarg" ;;
        !           337:
        !           338:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
        !           339:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
        !           340:   | --sharedst | --shareds | --shared | --share | --shar \
        !           341:   | --sha | --sh)
        !           342:     ac_prev=sharedstatedir ;;
        !           343:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
        !           344:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
        !           345:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
        !           346:   | --sha=* | --sh=*)
        !           347:     sharedstatedir="$ac_optarg" ;;
        !           348:
        !           349:   -site | --site | --sit)
        !           350:     ac_prev=site ;;
        !           351:   -site=* | --site=* | --sit=*)
        !           352:     site="$ac_optarg" ;;
        !           353:
        !           354:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
        !           355:     ac_prev=srcdir ;;
        !           356:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
        !           357:     srcdir="$ac_optarg" ;;
        !           358:
        !           359:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
        !           360:   | --syscon | --sysco | --sysc | --sys | --sy)
        !           361:     ac_prev=sysconfdir ;;
        !           362:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
        !           363:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
        !           364:     sysconfdir="$ac_optarg" ;;
        !           365:
        !           366:   -target | --target | --targe | --targ | --tar | --ta | --t)
        !           367:     ac_prev=target ;;
        !           368:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
        !           369:     target="$ac_optarg" ;;
        !           370:
        !           371:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
        !           372:     verbose=yes ;;
        !           373:
        !           374:   -version | --version | --versio | --versi | --vers)
        !           375:     echo "configure generated by autoconf version 2.13"
        !           376:     exit 0 ;;
        !           377:
        !           378:   -with-* | --with-*)
        !           379:     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
        !           380:     # Reject names that are not valid shell variable names.
        !           381:     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
        !           382:       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
        !           383:     fi
        !           384:     ac_package=`echo $ac_package| sed 's/-/_/g'`
        !           385:     case "$ac_option" in
        !           386:       *=*) ;;
        !           387:       *) ac_optarg=yes ;;
        !           388:     esac
        !           389:     eval "with_${ac_package}='$ac_optarg'" ;;
        !           390:
        !           391:   -without-* | --without-*)
        !           392:     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
        !           393:     # Reject names that are not valid shell variable names.
        !           394:     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
        !           395:       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
        !           396:     fi
        !           397:     ac_package=`echo $ac_package| sed 's/-/_/g'`
        !           398:     eval "with_${ac_package}=no" ;;
        !           399:
        !           400:   --x)
        !           401:     # Obsolete; use --with-x.
        !           402:     with_x=yes ;;
        !           403:
        !           404:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
        !           405:   | --x-incl | --x-inc | --x-in | --x-i)
        !           406:     ac_prev=x_includes ;;
        !           407:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
        !           408:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
        !           409:     x_includes="$ac_optarg" ;;
        !           410:
        !           411:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
        !           412:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
        !           413:     ac_prev=x_libraries ;;
        !           414:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
        !           415:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
        !           416:     x_libraries="$ac_optarg" ;;
        !           417:
        !           418:   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
        !           419:     ;;
        !           420:
        !           421:   *)
        !           422:     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
        !           423:       echo "configure: warning: $ac_option: invalid host type" 1>&2
        !           424:     fi
        !           425:     if test "x$nonopt" != xNONE; then
        !           426:       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
        !           427:     fi
        !           428:     nonopt="$ac_option"
        !           429:     ;;
        !           430:
        !           431:   esac
        !           432: done
        !           433:
        !           434: if test -n "$ac_prev"; then
        !           435:   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
        !           436: fi
        !           437:
        !           438: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
        !           439:
        !           440: # File descriptor usage:
        !           441: # 0 standard input
        !           442: # 1 file creation
        !           443: # 2 errors and warnings
        !           444: # 3 some systems may open it to /dev/tty
        !           445: # 4 used on the Kubota Titan
        !           446: # 6 checking for... messages and results
        !           447: # 5 compiler messages saved in config.log
        !           448: if test "$silent" = yes; then
        !           449:   exec 6>/dev/null
        !           450: else
        !           451:   exec 6>&1
        !           452: fi
        !           453: exec 5>./config.log
        !           454:
        !           455: echo "\
        !           456: This file contains any messages produced by compilers while
        !           457: running configure, to aid debugging if configure makes a mistake.
        !           458: " 1>&5
        !           459:
        !           460: # Strip out --no-create and --no-recursion so they do not pile up.
        !           461: # Also quote any args containing shell metacharacters.
        !           462: ac_configure_args=
        !           463: for ac_arg
        !           464: do
        !           465:   case "$ac_arg" in
        !           466:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
        !           467:   | --no-cr | --no-c) ;;
        !           468:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
        !           469:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
        !           470:   *" "*|*"     "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
        !           471:   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
        !           472:   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
        !           473:   esac
        !           474: done
        !           475:
        !           476: # NLS nuisances.
        !           477: # Only set these to C if already set.  These must not be set unconditionally
        !           478: # because not all systems understand e.g. LANG=C (notably SCO).
        !           479: # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
        !           480: # Non-C LC_CTYPE values break the ctype check.
        !           481: if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
        !           482: if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
        !           483: if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
        !           484: if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
        !           485:
        !           486: # confdefs.h avoids OS command line length limits that DEFS can exceed.
        !           487: rm -rf conftest* confdefs.h
        !           488: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
        !           489: echo > confdefs.h
        !           490:
        !           491: # A filename unique to this package, relative to the directory that
        !           492: # configure is in, which we can look for to find out if srcdir is correct.
        !           493: ac_unique_file=sshd.c
        !           494:
        !           495: # Find the source files, if location was not specified.
        !           496: if test -z "$srcdir"; then
        !           497:   ac_srcdir_defaulted=yes
        !           498:   # Try the directory containing this script, then its parent.
        !           499:   ac_prog=$0
        !           500:   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
        !           501:   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
        !           502:   srcdir=$ac_confdir
        !           503:   if test ! -r $srcdir/$ac_unique_file; then
        !           504:     srcdir=..
        !           505:   fi
        !           506: else
        !           507:   ac_srcdir_defaulted=no
        !           508: fi
        !           509: if test ! -r $srcdir/$ac_unique_file; then
        !           510:   if test "$ac_srcdir_defaulted" = yes; then
        !           511:     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
        !           512:   else
        !           513:     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
        !           514:   fi
        !           515: fi
        !           516: srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
        !           517:
        !           518: # Prefer explicitly selected file to automatically selected ones.
        !           519: if test -z "$CONFIG_SITE"; then
        !           520:   if test "x$prefix" != xNONE; then
        !           521:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
        !           522:   else
        !           523:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
        !           524:   fi
        !           525: fi
        !           526: for ac_site_file in $CONFIG_SITE; do
        !           527:   if test -r "$ac_site_file"; then
        !           528:     echo "loading site script $ac_site_file"
        !           529:     . "$ac_site_file"
        !           530:   fi
        !           531: done
        !           532:
        !           533: if test -r "$cache_file"; then
        !           534:   echo "loading cache $cache_file"
        !           535:   . $cache_file
        !           536: else
        !           537:   echo "creating cache $cache_file"
        !           538:   > $cache_file
        !           539: fi
        !           540:
        !           541: ac_ext=c
        !           542: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
        !           543: ac_cpp='$CPP $CPPFLAGS'
        !           544: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
        !           545: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
        !           546: cross_compiling=$ac_cv_prog_cc_cross
        !           547:
        !           548: ac_exeext=
        !           549: ac_objext=o
        !           550: if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
        !           551:   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
        !           552:   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
        !           553:     ac_n= ac_c='
        !           554: ' ac_t='       '
        !           555:   else
        !           556:     ac_n=-n ac_c= ac_t=
        !           557:   fi
        !           558: else
        !           559:   ac_n= ac_c='\c' ac_t=
        !           560: fi
        !           561:
        !           562:
        !           563:
        !           564:
        !           565:
        !           566: ac_aux_dir=
        !           567: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
        !           568:   if test -f $ac_dir/install-sh; then
        !           569:     ac_aux_dir=$ac_dir
        !           570:     ac_install_sh="$ac_aux_dir/install-sh -c"
        !           571:     break
        !           572:   elif test -f $ac_dir/install.sh; then
        !           573:     ac_aux_dir=$ac_dir
        !           574:     ac_install_sh="$ac_aux_dir/install.sh -c"
        !           575:     break
        !           576:   fi
        !           577: done
        !           578: if test -z "$ac_aux_dir"; then
        !           579:   { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
        !           580: fi
        !           581: ac_config_guess=$ac_aux_dir/config.guess
        !           582: ac_config_sub=$ac_aux_dir/config.sub
        !           583: ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
        !           584:
        !           585:
        !           586: # Make sure we can run config.sub.
        !           587: if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
        !           588: else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
        !           589: fi
        !           590:
        !           591: echo $ac_n "checking host system type""... $ac_c" 1>&6
        !           592: echo "configure:593: checking host system type" >&5
        !           593:
        !           594: host_alias=$host
        !           595: case "$host_alias" in
        !           596: NONE)
        !           597:   case $nonopt in
        !           598:   NONE)
        !           599:     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
        !           600:     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
        !           601:     fi ;;
        !           602:   *) host_alias=$nonopt ;;
        !           603:   esac ;;
        !           604: esac
        !           605:
        !           606: host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
        !           607: host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
        !           608: host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
        !           609: host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
        !           610: echo "$ac_t""$host" 1>&6
        !           611:
        !           612:
        !           613: # Extract the first word of "gcc", so it can be a program name with args.
        !           614: set dummy gcc; ac_word=$2
        !           615: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
        !           616: echo "configure:617: checking for $ac_word" >&5
        !           617: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
        !           618:   echo $ac_n "(cached) $ac_c" 1>&6
        !           619: else
        !           620:   if test -n "$CC"; then
        !           621:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !           622: else
        !           623:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !           624:   ac_dummy="$PATH"
        !           625:   for ac_dir in $ac_dummy; do
        !           626:     test -z "$ac_dir" && ac_dir=.
        !           627:     if test -f $ac_dir/$ac_word; then
        !           628:       ac_cv_prog_CC="gcc"
        !           629:       break
        !           630:     fi
        !           631:   done
        !           632:   IFS="$ac_save_ifs"
        !           633: fi
        !           634: fi
        !           635: CC="$ac_cv_prog_CC"
        !           636: if test -n "$CC"; then
        !           637:   echo "$ac_t""$CC" 1>&6
        !           638: else
        !           639:   echo "$ac_t""no" 1>&6
        !           640: fi
        !           641:
        !           642: if test -z "$CC"; then
        !           643:   # Extract the first word of "cc", so it can be a program name with args.
        !           644: set dummy cc; ac_word=$2
        !           645: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
        !           646: echo "configure:647: checking for $ac_word" >&5
        !           647: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
        !           648:   echo $ac_n "(cached) $ac_c" 1>&6
        !           649: else
        !           650:   if test -n "$CC"; then
        !           651:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !           652: else
        !           653:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !           654:   ac_prog_rejected=no
        !           655:   ac_dummy="$PATH"
        !           656:   for ac_dir in $ac_dummy; do
        !           657:     test -z "$ac_dir" && ac_dir=.
        !           658:     if test -f $ac_dir/$ac_word; then
        !           659:       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
        !           660:         ac_prog_rejected=yes
        !           661:        continue
        !           662:       fi
        !           663:       ac_cv_prog_CC="cc"
        !           664:       break
        !           665:     fi
        !           666:   done
        !           667:   IFS="$ac_save_ifs"
        !           668: if test $ac_prog_rejected = yes; then
        !           669:   # We found a bogon in the path, so make sure we never use it.
        !           670:   set dummy $ac_cv_prog_CC
        !           671:   shift
        !           672:   if test $# -gt 0; then
        !           673:     # We chose a different compiler from the bogus one.
        !           674:     # However, it has the same basename, so the bogon will be chosen
        !           675:     # first if we set CC to just the basename; use the full file name.
        !           676:     shift
        !           677:     set dummy "$ac_dir/$ac_word" "$@"
        !           678:     shift
        !           679:     ac_cv_prog_CC="$@"
        !           680:   fi
        !           681: fi
        !           682: fi
        !           683: fi
        !           684: CC="$ac_cv_prog_CC"
        !           685: if test -n "$CC"; then
        !           686:   echo "$ac_t""$CC" 1>&6
        !           687: else
        !           688:   echo "$ac_t""no" 1>&6
        !           689: fi
        !           690:
        !           691:   if test -z "$CC"; then
        !           692:     case "`uname -s`" in
        !           693:     *win32* | *WIN32*)
        !           694:       # Extract the first word of "cl", so it can be a program name with args.
        !           695: set dummy cl; ac_word=$2
        !           696: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
        !           697: echo "configure:698: checking for $ac_word" >&5
        !           698: if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
        !           699:   echo $ac_n "(cached) $ac_c" 1>&6
        !           700: else
        !           701:   if test -n "$CC"; then
        !           702:   ac_cv_prog_CC="$CC" # Let the user override the test.
        !           703: else
        !           704:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !           705:   ac_dummy="$PATH"
        !           706:   for ac_dir in $ac_dummy; do
        !           707:     test -z "$ac_dir" && ac_dir=.
        !           708:     if test -f $ac_dir/$ac_word; then
        !           709:       ac_cv_prog_CC="cl"
        !           710:       break
        !           711:     fi
        !           712:   done
        !           713:   IFS="$ac_save_ifs"
        !           714: fi
        !           715: fi
        !           716: CC="$ac_cv_prog_CC"
        !           717: if test -n "$CC"; then
        !           718:   echo "$ac_t""$CC" 1>&6
        !           719: else
        !           720:   echo "$ac_t""no" 1>&6
        !           721: fi
        !           722:  ;;
        !           723:     esac
        !           724:   fi
        !           725:   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
        !           726: fi
        !           727:
        !           728: echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
        !           729: echo "configure:730: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
        !           730:
        !           731: ac_ext=c
        !           732: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
        !           733: ac_cpp='$CPP $CPPFLAGS'
        !           734: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
        !           735: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
        !           736: cross_compiling=$ac_cv_prog_cc_cross
        !           737:
        !           738: cat > conftest.$ac_ext << EOF
        !           739:
        !           740: #line 741 "configure"
        !           741: #include "confdefs.h"
        !           742:
        !           743: main(){return(0);}
        !           744: EOF
        !           745: if { (eval echo configure:746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !           746:   ac_cv_prog_cc_works=yes
        !           747:   # If we can't run a trivial program, we are probably using a cross compiler.
        !           748:   if (./conftest; exit) 2>/dev/null; then
        !           749:     ac_cv_prog_cc_cross=no
        !           750:   else
        !           751:     ac_cv_prog_cc_cross=yes
        !           752:   fi
        !           753: else
        !           754:   echo "configure: failed program was:" >&5
        !           755:   cat conftest.$ac_ext >&5
        !           756:   ac_cv_prog_cc_works=no
        !           757: fi
        !           758: rm -fr conftest*
        !           759: ac_ext=c
        !           760: # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
        !           761: ac_cpp='$CPP $CPPFLAGS'
        !           762: ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
        !           763: ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
        !           764: cross_compiling=$ac_cv_prog_cc_cross
        !           765:
        !           766: echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
        !           767: if test $ac_cv_prog_cc_works = no; then
        !           768:   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
        !           769: fi
        !           770: echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
        !           771: echo "configure:772: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
        !           772: echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
        !           773: cross_compiling=$ac_cv_prog_cc_cross
        !           774:
        !           775: echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
        !           776: echo "configure:777: checking whether we are using GNU C" >&5
        !           777: if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
        !           778:   echo $ac_n "(cached) $ac_c" 1>&6
        !           779: else
        !           780:   cat > conftest.c <<EOF
        !           781: #ifdef __GNUC__
        !           782:   yes;
        !           783: #endif
        !           784: EOF
        !           785: if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:786: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
        !           786:   ac_cv_prog_gcc=yes
        !           787: else
        !           788:   ac_cv_prog_gcc=no
        !           789: fi
        !           790: fi
        !           791:
        !           792: echo "$ac_t""$ac_cv_prog_gcc" 1>&6
        !           793:
        !           794: if test $ac_cv_prog_gcc = yes; then
        !           795:   GCC=yes
        !           796: else
        !           797:   GCC=
        !           798: fi
        !           799:
        !           800: ac_test_CFLAGS="${CFLAGS+set}"
        !           801: ac_save_CFLAGS="$CFLAGS"
        !           802: CFLAGS=
        !           803: echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
        !           804: echo "configure:805: checking whether ${CC-cc} accepts -g" >&5
        !           805: if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
        !           806:   echo $ac_n "(cached) $ac_c" 1>&6
        !           807: else
        !           808:   echo 'void f(){}' > conftest.c
        !           809: if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
        !           810:   ac_cv_prog_cc_g=yes
        !           811: else
        !           812:   ac_cv_prog_cc_g=no
        !           813: fi
        !           814: rm -f conftest*
        !           815:
        !           816: fi
        !           817:
        !           818: echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
        !           819: if test "$ac_test_CFLAGS" = set; then
        !           820:   CFLAGS="$ac_save_CFLAGS"
        !           821: elif test $ac_cv_prog_cc_g = yes; then
        !           822:   if test "$GCC" = yes; then
        !           823:     CFLAGS="-g -O2"
        !           824:   else
        !           825:     CFLAGS="-g"
        !           826:   fi
        !           827: else
        !           828:   if test "$GCC" = yes; then
        !           829:     CFLAGS="-O2"
        !           830:   else
        !           831:     CFLAGS=
        !           832:   fi
        !           833: fi
        !           834:
        !           835: echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
        !           836: echo "configure:837: checking how to run the C preprocessor" >&5
        !           837: # On Suns, sometimes $CPP names a directory.
        !           838: if test -n "$CPP" && test -d "$CPP"; then
        !           839:   CPP=
        !           840: fi
        !           841: if test -z "$CPP"; then
        !           842: if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
        !           843:   echo $ac_n "(cached) $ac_c" 1>&6
        !           844: else
        !           845:     # This must be in double quotes, not single quotes, because CPP may get
        !           846:   # substituted into the Makefile and "${CC-cc}" will confuse make.
        !           847:   CPP="${CC-cc} -E"
        !           848:   # On the NeXT, cc -E runs the code through the compiler's parser,
        !           849:   # not just through cpp.
        !           850:   cat > conftest.$ac_ext <<EOF
        !           851: #line 852 "configure"
        !           852: #include "confdefs.h"
        !           853: #include <assert.h>
        !           854: Syntax Error
        !           855: EOF
        !           856: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !           857: { (eval echo configure:858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !           858: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !           859: if test -z "$ac_err"; then
        !           860:   :
        !           861: else
        !           862:   echo "$ac_err" >&5
        !           863:   echo "configure: failed program was:" >&5
        !           864:   cat conftest.$ac_ext >&5
        !           865:   rm -rf conftest*
        !           866:   CPP="${CC-cc} -E -traditional-cpp"
        !           867:   cat > conftest.$ac_ext <<EOF
        !           868: #line 869 "configure"
        !           869: #include "confdefs.h"
        !           870: #include <assert.h>
        !           871: Syntax Error
        !           872: EOF
        !           873: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !           874: { (eval echo configure:875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !           875: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !           876: if test -z "$ac_err"; then
        !           877:   :
        !           878: else
        !           879:   echo "$ac_err" >&5
        !           880:   echo "configure: failed program was:" >&5
        !           881:   cat conftest.$ac_ext >&5
        !           882:   rm -rf conftest*
        !           883:   CPP="${CC-cc} -nologo -E"
        !           884:   cat > conftest.$ac_ext <<EOF
        !           885: #line 886 "configure"
        !           886: #include "confdefs.h"
        !           887: #include <assert.h>
        !           888: Syntax Error
        !           889: EOF
        !           890: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !           891: { (eval echo configure:892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !           892: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !           893: if test -z "$ac_err"; then
        !           894:   :
        !           895: else
        !           896:   echo "$ac_err" >&5
        !           897:   echo "configure: failed program was:" >&5
        !           898:   cat conftest.$ac_ext >&5
        !           899:   rm -rf conftest*
        !           900:   CPP=/lib/cpp
        !           901: fi
        !           902: rm -f conftest*
        !           903: fi
        !           904: rm -f conftest*
        !           905: fi
        !           906: rm -f conftest*
        !           907:   ac_cv_prog_CPP="$CPP"
        !           908: fi
        !           909:   CPP="$ac_cv_prog_CPP"
        !           910: else
        !           911:   ac_cv_prog_CPP="$CPP"
        !           912: fi
        !           913: echo "$ac_t""$CPP" 1>&6
        !           914:
        !           915:
        !           916: case "$host" in
        !           917:   *-*-sunos4.1.1*)
        !           918:     os_sunos=yes
        !           919:     # Tim Adam <tma@osa.com.au> says speed_t is defined in stdtypes.h
        !           920:     cat >> confdefs.h <<\EOF
        !           921: #define SPEED_T_IN_STDTYPES_H 1
        !           922: EOF
        !           923:
        !           924:     ;;
        !           925:   *-*-sunos*)
        !           926:     os_sunos=yes
        !           927:     ;;
        !           928:   *-sgi-irix5*)
        !           929:     # Irix stuff from snabb@niksula.hut.fi and tsurmacz@asic.ict.pwr.wroc.pl.
        !           930:     no_libsocket=yes
        !           931:     no_libsun=yes
        !           932:     ;;
        !           933:   *-sgi-irix6*)
        !           934:     # from d-champion@uchicago.edu
        !           935:     no_libsocket=yes
        !           936:     no_libsun=yes
        !           937:     if test "`uname -s`" = "IRIX64"; then
        !           938:       CFLAGS="-32 $CFLAGS"
        !           939:       LDFLAGS="-32 $LDFLAGS"
        !           940:     fi
        !           941:     ;;
        !           942:   *-ibm-aix3.2|*-ibm-aix3.2.0|*-ibm-aix3.2.1|*-ibm-aix3.2.2|*-ibm-aix3.2.3|*-ibm-aix3.2.4)
        !           943:     os_aix=yes
        !           944:     echo $ac_n "checking for getuserattr in -ls""... $ac_c" 1>&6
        !           945: echo "configure:946: checking for getuserattr in -ls" >&5
        !           946: ac_lib_var=`echo s'_'getuserattr | sed 'y%./+-%__p_%'`
        !           947: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !           948:   echo $ac_n "(cached) $ac_c" 1>&6
        !           949: else
        !           950:   ac_save_LIBS="$LIBS"
        !           951: LIBS="-ls  $LIBS"
        !           952: cat > conftest.$ac_ext <<EOF
        !           953: #line 954 "configure"
        !           954: #include "confdefs.h"
        !           955: /* Override any gcc2 internal prototype to avoid an error.  */
        !           956: /* We use char because int might match the return type of a gcc2
        !           957:     builtin and then its argument prototype would still apply.  */
        !           958: char getuserattr();
        !           959:
        !           960: int main() {
        !           961: getuserattr()
        !           962: ; return 0; }
        !           963: EOF
        !           964: if { (eval echo configure:965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !           965:   rm -rf conftest*
        !           966:   eval "ac_cv_lib_$ac_lib_var=yes"
        !           967: else
        !           968:   echo "configure: failed program was:" >&5
        !           969:   cat conftest.$ac_ext >&5
        !           970:   rm -rf conftest*
        !           971:   eval "ac_cv_lib_$ac_lib_var=no"
        !           972: fi
        !           973: rm -f conftest*
        !           974: LIBS="$ac_save_LIBS"
        !           975:
        !           976: fi
        !           977: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !           978:   echo "$ac_t""yes" 1>&6
        !           979:     ac_tr_lib=HAVE_LIB`echo s | sed -e 's/[^a-zA-Z0-9_]/_/g' \
        !           980:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
        !           981:   cat >> confdefs.h <<EOF
        !           982: #define $ac_tr_lib 1
        !           983: EOF
        !           984:
        !           985:   LIBS="-ls $LIBS"
        !           986:
        !           987: else
        !           988:   echo "$ac_t""no" 1>&6
        !           989: fi
        !           990:
        !           991:     ;;
        !           992:   *-ibm-aix*)
        !           993:     os_aix=yes
        !           994:     echo $ac_n "checking for getuserattr in -ls""... $ac_c" 1>&6
        !           995: echo "configure:996: checking for getuserattr in -ls" >&5
        !           996: ac_lib_var=`echo s'_'getuserattr | sed 'y%./+-%__p_%'`
        !           997: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !           998:   echo $ac_n "(cached) $ac_c" 1>&6
        !           999: else
        !          1000:   ac_save_LIBS="$LIBS"
        !          1001: LIBS="-ls  $LIBS"
        !          1002: cat > conftest.$ac_ext <<EOF
        !          1003: #line 1004 "configure"
        !          1004: #include "confdefs.h"
        !          1005: /* Override any gcc2 internal prototype to avoid an error.  */
        !          1006: /* We use char because int might match the return type of a gcc2
        !          1007:     builtin and then its argument prototype would still apply.  */
        !          1008: char getuserattr();
        !          1009:
        !          1010: int main() {
        !          1011: getuserattr()
        !          1012: ; return 0; }
        !          1013: EOF
        !          1014: if { (eval echo configure:1015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          1015:   rm -rf conftest*
        !          1016:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          1017: else
        !          1018:   echo "configure: failed program was:" >&5
        !          1019:   cat conftest.$ac_ext >&5
        !          1020:   rm -rf conftest*
        !          1021:   eval "ac_cv_lib_$ac_lib_var=no"
        !          1022: fi
        !          1023: rm -f conftest*
        !          1024: LIBS="$ac_save_LIBS"
        !          1025:
        !          1026: fi
        !          1027: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          1028:   echo "$ac_t""yes" 1>&6
        !          1029:     ac_tr_lib=HAVE_LIB`echo s | sed -e 's/[^a-zA-Z0-9_]/_/g' \
        !          1030:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
        !          1031:   cat >> confdefs.h <<EOF
        !          1032: #define $ac_tr_lib 1
        !          1033: EOF
        !          1034:
        !          1035:   LIBS="-ls $LIBS"
        !          1036:
        !          1037: else
        !          1038:   echo "$ac_t""no" 1>&6
        !          1039: fi
        !          1040:
        !          1041:     ;;
        !          1042:   mips-dec-mach3*)
        !          1043:     # Mach3 stuff from kivinen@hut.fi
        !          1044:     no_vhangup=yes
        !          1045:     ;;
        !          1046:   *-dec-ultrix*)
        !          1047:     # Ultrix stuff from dmckilli@qc.bell.ca, jbotz@orixa.mtholyoke.edu.
        !          1048:     cat >> confdefs.h <<\EOF
        !          1049: #define O_NONBLOCK_BROKEN 1
        !          1050: EOF
        !          1051:
        !          1052:     no_vhangup=yes
        !          1053:     cat > conftest.$ac_ext <<EOF
        !          1054: #line 1055 "configure"
        !          1055: #include "confdefs.h"
        !          1056: #include <syslog.h>
        !          1057: int main() {
        !          1058: int foo = LOG_DAEMON;
        !          1059: ; return 0; }
        !          1060: EOF
        !          1061: if { (eval echo configure:1062: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          1062:   :
        !          1063: else
        !          1064:   echo "configure: failed program was:" >&5
        !          1065:   cat conftest.$ac_ext >&5
        !          1066:   rm -rf conftest*
        !          1067:   cat >> confdefs.h <<\EOF
        !          1068: #define NEED_SYS_SYSLOG_H 1
        !          1069: EOF
        !          1070:
        !          1071: fi
        !          1072: rm -f conftest*
        !          1073:     ;;
        !          1074:   *-*-hpux*)
        !          1075:     # HPUX flags from jgotts@engin.umich.edu
        !          1076:     if test -z "$GCC"; then
        !          1077:       CFLAGS="$CFLAGS -Aa -D_HPUX_SOURCE"
        !          1078:     fi
        !          1079:     cat >> confdefs.h <<\EOF
        !          1080: #define HPSUX_NONSTANDARD_X11_KLUDGE 1
        !          1081: EOF
        !          1082:
        !          1083:     ;;
        !          1084:   alpha-dec-osf*)
        !          1085:     cat >> confdefs.h <<\EOF
        !          1086: #define TTY_GROUP "terminal"
        !          1087: EOF
        !          1088:
        !          1089:     echo $ac_n "checking for set_auth_parameters in -lsecurity""... $ac_c" 1>&6
        !          1090: echo "configure:1091: checking for set_auth_parameters in -lsecurity" >&5
        !          1091: ac_lib_var=`echo security'_'set_auth_parameters | sed 'y%./+-%__p_%'`
        !          1092: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          1093:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1094: else
        !          1095:   ac_save_LIBS="$LIBS"
        !          1096: LIBS="-lsecurity  $LIBS"
        !          1097: cat > conftest.$ac_ext <<EOF
        !          1098: #line 1099 "configure"
        !          1099: #include "confdefs.h"
        !          1100: /* Override any gcc2 internal prototype to avoid an error.  */
        !          1101: /* We use char because int might match the return type of a gcc2
        !          1102:     builtin and then its argument prototype would still apply.  */
        !          1103: char set_auth_parameters();
        !          1104:
        !          1105: int main() {
        !          1106: set_auth_parameters()
        !          1107: ; return 0; }
        !          1108: EOF
        !          1109: if { (eval echo configure:1110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          1110:   rm -rf conftest*
        !          1111:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          1112: else
        !          1113:   echo "configure: failed program was:" >&5
        !          1114:   cat conftest.$ac_ext >&5
        !          1115:   rm -rf conftest*
        !          1116:   eval "ac_cv_lib_$ac_lib_var=no"
        !          1117: fi
        !          1118: rm -f conftest*
        !          1119: LIBS="$ac_save_LIBS"
        !          1120:
        !          1121: fi
        !          1122: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          1123:   echo "$ac_t""yes" 1>&6
        !          1124:     ac_tr_lib=HAVE_LIB`echo security | sed -e 's/[^a-zA-Z0-9_]/_/g' \
        !          1125:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
        !          1126:   cat >> confdefs.h <<EOF
        !          1127: #define $ac_tr_lib 1
        !          1128: EOF
        !          1129:
        !          1130:   LIBS="-lsecurity $LIBS"
        !          1131:
        !          1132: else
        !          1133:   echo "$ac_t""no" 1>&6
        !          1134: fi
        !          1135:
        !          1136:     echo $ac_n "checking for OSF/1 C2 security package""... $ac_c" 1>&6
        !          1137: echo "configure:1138: checking for OSF/1 C2 security package" >&5
        !          1138:     osfc2sec=`/usr/sbin/setld -i | grep '^OSFC2SEC'`
        !          1139:     if test -n "$osfc2sec"; then
        !          1140:       echo "$ac_t""yes" 1>&6
        !          1141:       cat >> confdefs.h <<\EOF
        !          1142: #define HAVE_OSF1_C2_SECURITY 1
        !          1143: EOF
        !          1144:
        !          1145:       echo $ac_n "checking for set_auth_parameters in -lsecurity""... $ac_c" 1>&6
        !          1146: echo "configure:1147: checking for set_auth_parameters in -lsecurity" >&5
        !          1147: ac_lib_var=`echo security'_'set_auth_parameters | sed 'y%./+-%__p_%'`
        !          1148: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          1149:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1150: else
        !          1151:   ac_save_LIBS="$LIBS"
        !          1152: LIBS="-lsecurity  $LIBS"
        !          1153: cat > conftest.$ac_ext <<EOF
        !          1154: #line 1155 "configure"
        !          1155: #include "confdefs.h"
        !          1156: /* Override any gcc2 internal prototype to avoid an error.  */
        !          1157: /* We use char because int might match the return type of a gcc2
        !          1158:     builtin and then its argument prototype would still apply.  */
        !          1159: char set_auth_parameters();
        !          1160:
        !          1161: int main() {
        !          1162: set_auth_parameters()
        !          1163: ; return 0; }
        !          1164: EOF
        !          1165: if { (eval echo configure:1166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          1166:   rm -rf conftest*
        !          1167:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          1168: else
        !          1169:   echo "configure: failed program was:" >&5
        !          1170:   cat conftest.$ac_ext >&5
        !          1171:   rm -rf conftest*
        !          1172:   eval "ac_cv_lib_$ac_lib_var=no"
        !          1173: fi
        !          1174: rm -f conftest*
        !          1175: LIBS="$ac_save_LIBS"
        !          1176:
        !          1177: fi
        !          1178: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          1179:   echo "$ac_t""yes" 1>&6
        !          1180:   LIBS="$LIBS -lsecurity"
        !          1181: else
        !          1182:   echo "$ac_t""no" 1>&6
        !          1183: { echo "configure: error: "Could not find libsecurity even though C2 security installed."" 1>&2; exit 1; }
        !          1184: fi
        !          1185:
        !          1186:       CONFOBJS="$CONFOBJS osfc2.o"
        !          1187:     else
        !          1188:       echo "$ac_t""no" 1>&6
        !          1189:     fi
        !          1190:     ;;
        !          1191:   *-*-nextstep*)
        !          1192:     # Nextstep support from a person who wants to remain anonymous
        !          1193:     no_termios=yes
        !          1194:     cat >> confdefs.h <<\EOF
        !          1195: #define SPEED_T_IN_STDTYPES_H 1
        !          1196: EOF
        !          1197:
        !          1198:     ;;
        !          1199:   *-*-linux*)
        !          1200:     # Linux shadow password support (Andrew.Macpherson.1248566@bnr.co.uk)
        !          1201:     if test -f /etc/shadow && test -f /etc/login.defs; then
        !          1202:       echo "$ac_t""Using linux John Haugh shadow passwords and pw_encrypt for password encryption" 1>&6
        !          1203:       cat >> confdefs.h <<\EOF
        !          1204: #define crypt pw_encrypt
        !          1205: EOF
        !          1206:
        !          1207:       LIBS="$LIBS -lshadow"
        !          1208:     fi
        !          1209:     ;;
        !          1210:   i*86-*-bsdi*)
        !          1211:     no_pipe=yes
        !          1212:     ;;
        !          1213:   i*86-unknown-bsd*)
        !          1214:     # Assume 386BSD.  pgut01@cs.auckland.ac.nz reported this makes it compile.
        !          1215:     cat >> confdefs.h <<\EOF
        !          1216: #define __FreeBSD__ 1
        !          1217: EOF
        !          1218:
        !          1219:     ;;
        !          1220:   m68k-sony-newsos*)
        !          1221:     # From snabb@niksula.hut.fi
        !          1222:     no_vhangup=yes
        !          1223:     ;;
        !          1224:   m88k-dg-dgux*)
        !          1225:     cat >> confdefs.h <<\EOF
        !          1226: #define BROKEN_INET_ADDR 1
        !          1227: EOF
        !          1228:
        !          1229:     ;;
        !          1230:   *-cray-unicos*)
        !          1231:     CFLAGS="$CFLAGS -DCRAY_STACKSEG_END=_getb67"
        !          1232:     ;;
        !          1233:   *-*-sysv4*)
        !          1234:     echo $ac_n "checking for openlog in -lgen""... $ac_c" 1>&6
        !          1235: echo "configure:1236: checking for openlog in -lgen" >&5
        !          1236: ac_lib_var=`echo gen'_'openlog | sed 'y%./+-%__p_%'`
        !          1237: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          1238:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1239: else
        !          1240:   ac_save_LIBS="$LIBS"
        !          1241: LIBS="-lgen  $LIBS"
        !          1242: cat > conftest.$ac_ext <<EOF
        !          1243: #line 1244 "configure"
        !          1244: #include "confdefs.h"
        !          1245: /* Override any gcc2 internal prototype to avoid an error.  */
        !          1246: /* We use char because int might match the return type of a gcc2
        !          1247:     builtin and then its argument prototype would still apply.  */
        !          1248: char openlog();
        !          1249:
        !          1250: int main() {
        !          1251: openlog()
        !          1252: ; return 0; }
        !          1253: EOF
        !          1254: if { (eval echo configure:1255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          1255:   rm -rf conftest*
        !          1256:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          1257: else
        !          1258:   echo "configure: failed program was:" >&5
        !          1259:   cat conftest.$ac_ext >&5
        !          1260:   rm -rf conftest*
        !          1261:   eval "ac_cv_lib_$ac_lib_var=no"
        !          1262: fi
        !          1263: rm -f conftest*
        !          1264: LIBS="$ac_save_LIBS"
        !          1265:
        !          1266: fi
        !          1267: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          1268:   echo "$ac_t""yes" 1>&6
        !          1269:     ac_tr_lib=HAVE_LIB`echo gen | sed -e 's/[^a-zA-Z0-9_]/_/g' \
        !          1270:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
        !          1271:   cat >> confdefs.h <<EOF
        !          1272: #define $ac_tr_lib 1
        !          1273: EOF
        !          1274:
        !          1275:   LIBS="-lgen $LIBS"
        !          1276:
        !          1277: else
        !          1278:   echo "$ac_t""no" 1>&6
        !          1279: fi
        !          1280:
        !          1281:     ;;
        !          1282:   *-*-machten*)
        !          1283:     cat >> confdefs.h <<\EOF
        !          1284: #define USE_STRLEN_FOR_AF_UNIX 1
        !          1285: EOF
        !          1286:
        !          1287:     ;;
        !          1288:   i*86-unknown-sco*)
        !          1289:     # From moi@dio.com
        !          1290:     cat >> confdefs.h <<\EOF
        !          1291: #define HAVE_SCO_ETC_SHADOW 1
        !          1292: EOF
        !          1293:
        !          1294:     cat >> confdefs.h <<\EOF
        !          1295: #define SCO 1
        !          1296: EOF
        !          1297:
        !          1298:     no_ranlib=yes
        !          1299:     LIBS="-L/usr/lib/libp -lprot -lx $LIBS"
        !          1300:     ;;
        !          1301:   *-convex-bsd*)
        !          1302:     # From mark.martinec@nsc.ijs.si
        !          1303:     # On Convex, getpwnam sets pw_passwd if running as root
        !          1304:     no_shadows_password_checking=yes
        !          1305:     ;;
        !          1306:   *-*-freebsd*)
        !          1307:     # From Ollivier Robert: FreeBSD and NetBSD use master.passwd, but set
        !          1308:     # pw_passwd automatically when running as root.
        !          1309:     no_shadow_password_checking=yes
        !          1310:     ;;
        !          1311:   *-*-netbsd*)
        !          1312:     # From Ollivier Robert: FreeBSD and NetBSD use master.passwd, but set
        !          1313:     # pw_passwd automatically when running as root.
        !          1314:     no_shadow_password_checking=yes
        !          1315:     ;;
        !          1316:   *-*-openbsd*)
        !          1317:     no_shadow_password_checking=yes
        !          1318:     ;;
        !          1319:   *)
        !          1320:     ;;
        !          1321: esac
        !          1322:
        !          1323: # Socket pairs appear to be broken on several systems.  I don't know exactly
        !          1324: # where, so I'll use pipes everywhere for now.
        !          1325: cat >> confdefs.h <<\EOF
        !          1326: #define USE_PIPES 1
        !          1327: EOF
        !          1328:
        !          1329:
        !          1330: echo $ac_n "checking that the compiler works""... $ac_c" 1>&6
        !          1331: echo "configure:1332: checking that the compiler works" >&5
        !          1332: if test "$cross_compiling" = yes; then
        !          1333:   { echo "configure: error: Could not compile and run even a trivial ANSI C program - check CC." 1>&2; exit 1; }
        !          1334: else
        !          1335:   cat > conftest.$ac_ext <<EOF
        !          1336: #line 1337 "configure"
        !          1337: #include "confdefs.h"
        !          1338:  main(int ac, char **av) { return 0; }
        !          1339: EOF
        !          1340: if { (eval echo configure:1341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        !          1341: then
        !          1342:   echo "$ac_t""yes" 1>&6
        !          1343: else
        !          1344:   echo "configure: failed program was:" >&5
        !          1345:   cat conftest.$ac_ext >&5
        !          1346:   rm -fr conftest*
        !          1347:   echo "$ac_t""no" 1>&6
        !          1348:     { echo "configure: error: Could not compile and run even a trivial ANSI C program - check CC." 1>&2; exit 1; }
        !          1349: fi
        !          1350: rm -fr conftest*
        !          1351: fi
        !          1352:
        !          1353:
        !          1354: if test -z "$no_pipe"; then
        !          1355: if test -n "$GCC"; then
        !          1356:   echo $ac_n "checking if the compiler understands -pipe""... $ac_c" 1>&6
        !          1357: echo "configure:1358: checking if the compiler understands -pipe" >&5
        !          1358:   OLDCC="$CC"
        !          1359:   CC="$CC -pipe"
        !          1360:   cat > conftest.$ac_ext <<EOF
        !          1361: #line 1362 "configure"
        !          1362: #include "confdefs.h"
        !          1363:
        !          1364: int main() {
        !          1365:
        !          1366: ; return 0; }
        !          1367: EOF
        !          1368: if { (eval echo configure:1369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          1369:   rm -rf conftest*
        !          1370:   echo "$ac_t""yes" 1>&6
        !          1371: else
        !          1372:   echo "configure: failed program was:" >&5
        !          1373:   cat conftest.$ac_ext >&5
        !          1374:   rm -rf conftest*
        !          1375:   CC="$OLDCC"
        !          1376:     echo "$ac_t""no" 1>&6
        !          1377: fi
        !          1378: rm -f conftest*
        !          1379: fi
        !          1380: fi
        !          1381:
        !          1382: # Check whether --enable-warnings or --disable-warnings was given.
        !          1383: if test "${enable_warnings+set}" = set; then
        !          1384:   enableval="$enable_warnings"
        !          1385:    if test -n "$GCC"; then
        !          1386:     echo "$ac_t""Adding -Wall to CFLAGS." 1>&6
        !          1387:     CFLAGS="$CFLAGS -Wall"
        !          1388:   fi
        !          1389: fi
        !          1390:
        !          1391:
        !          1392: if test -z "$no_vhangup"; then
        !          1393:   for ac_func in vhangup
        !          1394: do
        !          1395: echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
        !          1396: echo "configure:1397: checking for $ac_func" >&5
        !          1397: if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
        !          1398:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1399: else
        !          1400:   cat > conftest.$ac_ext <<EOF
        !          1401: #line 1402 "configure"
        !          1402: #include "confdefs.h"
        !          1403: /* System header to define __stub macros and hopefully few prototypes,
        !          1404:     which can conflict with char $ac_func(); below.  */
        !          1405: #include <assert.h>
        !          1406: /* Override any gcc2 internal prototype to avoid an error.  */
        !          1407: /* We use char because int might match the return type of a gcc2
        !          1408:     builtin and then its argument prototype would still apply.  */
        !          1409: char $ac_func();
        !          1410:
        !          1411: int main() {
        !          1412:
        !          1413: /* The GNU C library defines this for functions which it implements
        !          1414:     to always fail with ENOSYS.  Some functions are actually named
        !          1415:     something starting with __ and the normal name is an alias.  */
        !          1416: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
        !          1417: choke me
        !          1418: #else
        !          1419: $ac_func();
        !          1420: #endif
        !          1421:
        !          1422: ; return 0; }
        !          1423: EOF
        !          1424: if { (eval echo configure:1425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          1425:   rm -rf conftest*
        !          1426:   eval "ac_cv_func_$ac_func=yes"
        !          1427: else
        !          1428:   echo "configure: failed program was:" >&5
        !          1429:   cat conftest.$ac_ext >&5
        !          1430:   rm -rf conftest*
        !          1431:   eval "ac_cv_func_$ac_func=no"
        !          1432: fi
        !          1433: rm -f conftest*
        !          1434: fi
        !          1435:
        !          1436: if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
        !          1437:   echo "$ac_t""yes" 1>&6
        !          1438:     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
        !          1439:   cat >> confdefs.h <<EOF
        !          1440: #define $ac_tr_func 1
        !          1441: EOF
        !          1442:
        !          1443: else
        !          1444:   echo "$ac_t""no" 1>&6
        !          1445: fi
        !          1446: done
        !          1447:
        !          1448: fi
        !          1449:
        !          1450: if test -z "$no_setsid"; then
        !          1451:   for ac_func in setsid
        !          1452: do
        !          1453: echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
        !          1454: echo "configure:1455: checking for $ac_func" >&5
        !          1455: if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
        !          1456:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1457: else
        !          1458:   cat > conftest.$ac_ext <<EOF
        !          1459: #line 1460 "configure"
        !          1460: #include "confdefs.h"
        !          1461: /* System header to define __stub macros and hopefully few prototypes,
        !          1462:     which can conflict with char $ac_func(); below.  */
        !          1463: #include <assert.h>
        !          1464: /* Override any gcc2 internal prototype to avoid an error.  */
        !          1465: /* We use char because int might match the return type of a gcc2
        !          1466:     builtin and then its argument prototype would still apply.  */
        !          1467: char $ac_func();
        !          1468:
        !          1469: int main() {
        !          1470:
        !          1471: /* The GNU C library defines this for functions which it implements
        !          1472:     to always fail with ENOSYS.  Some functions are actually named
        !          1473:     something starting with __ and the normal name is an alias.  */
        !          1474: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
        !          1475: choke me
        !          1476: #else
        !          1477: $ac_func();
        !          1478: #endif
        !          1479:
        !          1480: ; return 0; }
        !          1481: EOF
        !          1482: if { (eval echo configure:1483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          1483:   rm -rf conftest*
        !          1484:   eval "ac_cv_func_$ac_func=yes"
        !          1485: else
        !          1486:   echo "configure: failed program was:" >&5
        !          1487:   cat conftest.$ac_ext >&5
        !          1488:   rm -rf conftest*
        !          1489:   eval "ac_cv_func_$ac_func=no"
        !          1490: fi
        !          1491: rm -f conftest*
        !          1492: fi
        !          1493:
        !          1494: if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
        !          1495:   echo "$ac_t""yes" 1>&6
        !          1496:     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
        !          1497:   cat >> confdefs.h <<EOF
        !          1498: #define $ac_tr_func 1
        !          1499: EOF
        !          1500:
        !          1501: else
        !          1502:   echo "$ac_t""no" 1>&6
        !          1503: fi
        !          1504: done
        !          1505:
        !          1506: fi
        !          1507:
        !          1508: echo $ac_n "checking where to find mandatory GMP library""... $ac_c" 1>&6
        !          1509: echo "configure:1510: checking where to find mandatory GMP library" >&5
        !          1510: # Check whether --with-gmp or --without-gmp was given.
        !          1511: if test "${with_gmp+set}" = set; then
        !          1512:   withval="$with_gmp"
        !          1513:    case "$withval" in
        !          1514:   no)
        !          1515:     echo "GMP is mandatory! Aborting!"
        !          1516:     exit 1
        !          1517:     ;;
        !          1518:   *)
        !          1519:     ;;
        !          1520:   esac
        !          1521: else
        !          1522:    with_gmp=yes
        !          1523:
        !          1524: fi
        !          1525:
        !          1526: # gmp continued
        !          1527: echo argument="$with_gmp"
        !          1528: case "$with_gmp" in
        !          1529: yes)
        !          1530:   for ac_hdr in gmp.h
        !          1531: do
        !          1532: ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
        !          1533: echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
        !          1534: echo "configure:1535: checking for $ac_hdr" >&5
        !          1535: if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
        !          1536:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1537: else
        !          1538:   cat > conftest.$ac_ext <<EOF
        !          1539: #line 1540 "configure"
        !          1540: #include "confdefs.h"
        !          1541: #include <$ac_hdr>
        !          1542: EOF
        !          1543: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          1544: { (eval echo configure:1545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          1545: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          1546: if test -z "$ac_err"; then
        !          1547:   rm -rf conftest*
        !          1548:   eval "ac_cv_header_$ac_safe=yes"
        !          1549: else
        !          1550:   echo "$ac_err" >&5
        !          1551:   echo "configure: failed program was:" >&5
        !          1552:   cat conftest.$ac_ext >&5
        !          1553:   rm -rf conftest*
        !          1554:   eval "ac_cv_header_$ac_safe=no"
        !          1555: fi
        !          1556: rm -f conftest*
        !          1557: fi
        !          1558: if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
        !          1559:   echo "$ac_t""yes" 1>&6
        !          1560:     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
        !          1561:   cat >> confdefs.h <<EOF
        !          1562: #define $ac_tr_hdr 1
        !          1563: EOF
        !          1564:
        !          1565: else
        !          1566:   echo "$ac_t""no" 1>&6
        !          1567: fi
        !          1568: done
        !          1569:
        !          1570:   if test "$ac_cv_header_gmp_h" != yes; then
        !          1571:     echo "Can't find include file gmp.h! Aborting!"
        !          1572:     echo "You must first build and install GMP, please read the file INSTALL"
        !          1573:     exit 1
        !          1574:   fi
        !          1575:   echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6
        !          1576: echo "configure:1577: checking for main in -lgmp" >&5
        !          1577: ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'`
        !          1578: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          1579:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1580: else
        !          1581:   ac_save_LIBS="$LIBS"
        !          1582: LIBS="-lgmp  $LIBS"
        !          1583: cat > conftest.$ac_ext <<EOF
        !          1584: #line 1585 "configure"
        !          1585: #include "confdefs.h"
        !          1586:
        !          1587: int main() {
        !          1588: main()
        !          1589: ; return 0; }
        !          1590: EOF
        !          1591: if { (eval echo configure:1592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          1592:   rm -rf conftest*
        !          1593:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          1594: else
        !          1595:   echo "configure: failed program was:" >&5
        !          1596:   cat conftest.$ac_ext >&5
        !          1597:   rm -rf conftest*
        !          1598:   eval "ac_cv_lib_$ac_lib_var=no"
        !          1599: fi
        !          1600: rm -f conftest*
        !          1601: LIBS="$ac_save_LIBS"
        !          1602:
        !          1603: fi
        !          1604: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          1605:   echo "$ac_t""yes" 1>&6
        !          1606:     ac_tr_lib=HAVE_LIB`echo gmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \
        !          1607:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
        !          1608:   cat >> confdefs.h <<EOF
        !          1609: #define $ac_tr_lib 1
        !          1610: EOF
        !          1611:
        !          1612:   LIBS="-lgmp $LIBS"
        !          1613:
        !          1614: else
        !          1615:   echo "$ac_t""no" 1>&6
        !          1616: fi
        !          1617:
        !          1618:   if test "$ac_cv_lib_gmp_main" != yes; then
        !          1619:     echo "Can't find library gmp (libgmp.a)! Aborting"
        !          1620:     echo "You must first build and install GMP, please read the file INSTALL"
        !          1621:     exit 1
        !          1622:   fi
        !          1623:   GMPINCS=""
        !          1624:   GMPLIBS="-lgmp"
        !          1625:   ;;
        !          1626: *)
        !          1627:   GMPINCS="-I$with_gmp/include"
        !          1628:   GMPLIBS="-L$with_gmp/lib -lgmp"
        !          1629:   ;;
        !          1630: esac
        !          1631:
        !          1632: for ac_func in _getpty clock fchmod getdtablesize gethostname getrusage
        !          1633: do
        !          1634: echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
        !          1635: echo "configure:1636: checking for $ac_func" >&5
        !          1636: if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
        !          1637:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1638: else
        !          1639:   cat > conftest.$ac_ext <<EOF
        !          1640: #line 1641 "configure"
        !          1641: #include "confdefs.h"
        !          1642: /* System header to define __stub macros and hopefully few prototypes,
        !          1643:     which can conflict with char $ac_func(); below.  */
        !          1644: #include <assert.h>
        !          1645: /* Override any gcc2 internal prototype to avoid an error.  */
        !          1646: /* We use char because int might match the return type of a gcc2
        !          1647:     builtin and then its argument prototype would still apply.  */
        !          1648: char $ac_func();
        !          1649:
        !          1650: int main() {
        !          1651:
        !          1652: /* The GNU C library defines this for functions which it implements
        !          1653:     to always fail with ENOSYS.  Some functions are actually named
        !          1654:     something starting with __ and the normal name is an alias.  */
        !          1655: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
        !          1656: choke me
        !          1657: #else
        !          1658: $ac_func();
        !          1659: #endif
        !          1660:
        !          1661: ; return 0; }
        !          1662: EOF
        !          1663: if { (eval echo configure:1664: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          1664:   rm -rf conftest*
        !          1665:   eval "ac_cv_func_$ac_func=yes"
        !          1666: else
        !          1667:   echo "configure: failed program was:" >&5
        !          1668:   cat conftest.$ac_ext >&5
        !          1669:   rm -rf conftest*
        !          1670:   eval "ac_cv_func_$ac_func=no"
        !          1671: fi
        !          1672: rm -f conftest*
        !          1673: fi
        !          1674:
        !          1675: if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
        !          1676:   echo "$ac_t""yes" 1>&6
        !          1677:     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
        !          1678:   cat >> confdefs.h <<EOF
        !          1679: #define $ac_tr_func 1
        !          1680: EOF
        !          1681:
        !          1682: else
        !          1683:   echo "$ac_t""no" 1>&6
        !          1684: fi
        !          1685: done
        !          1686:
        !          1687: for ac_func in gettimeofday initgroups innetgr memcpy openpty popen seteuid
        !          1688: do
        !          1689: echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
        !          1690: echo "configure:1691: checking for $ac_func" >&5
        !          1691: if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
        !          1692:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1693: else
        !          1694:   cat > conftest.$ac_ext <<EOF
        !          1695: #line 1696 "configure"
        !          1696: #include "confdefs.h"
        !          1697: /* System header to define __stub macros and hopefully few prototypes,
        !          1698:     which can conflict with char $ac_func(); below.  */
        !          1699: #include <assert.h>
        !          1700: /* Override any gcc2 internal prototype to avoid an error.  */
        !          1701: /* We use char because int might match the return type of a gcc2
        !          1702:     builtin and then its argument prototype would still apply.  */
        !          1703: char $ac_func();
        !          1704:
        !          1705: int main() {
        !          1706:
        !          1707: /* The GNU C library defines this for functions which it implements
        !          1708:     to always fail with ENOSYS.  Some functions are actually named
        !          1709:     something starting with __ and the normal name is an alias.  */
        !          1710: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
        !          1711: choke me
        !          1712: #else
        !          1713: $ac_func();
        !          1714: #endif
        !          1715:
        !          1716: ; return 0; }
        !          1717: EOF
        !          1718: if { (eval echo configure:1719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          1719:   rm -rf conftest*
        !          1720:   eval "ac_cv_func_$ac_func=yes"
        !          1721: else
        !          1722:   echo "configure: failed program was:" >&5
        !          1723:   cat conftest.$ac_ext >&5
        !          1724:   rm -rf conftest*
        !          1725:   eval "ac_cv_func_$ac_func=no"
        !          1726: fi
        !          1727: rm -f conftest*
        !          1728: fi
        !          1729:
        !          1730: if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
        !          1731:   echo "$ac_t""yes" 1>&6
        !          1732:     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
        !          1733:   cat >> confdefs.h <<EOF
        !          1734: #define $ac_tr_func 1
        !          1735: EOF
        !          1736:
        !          1737: else
        !          1738:   echo "$ac_t""no" 1>&6
        !          1739: fi
        !          1740: done
        !          1741:
        !          1742: for ac_func in setlogin setluid setrlimit strchr times ulimit umask vsnprintf
        !          1743: do
        !          1744: echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
        !          1745: echo "configure:1746: checking for $ac_func" >&5
        !          1746: if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
        !          1747:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1748: else
        !          1749:   cat > conftest.$ac_ext <<EOF
        !          1750: #line 1751 "configure"
        !          1751: #include "confdefs.h"
        !          1752: /* System header to define __stub macros and hopefully few prototypes,
        !          1753:     which can conflict with char $ac_func(); below.  */
        !          1754: #include <assert.h>
        !          1755: /* Override any gcc2 internal prototype to avoid an error.  */
        !          1756: /* We use char because int might match the return type of a gcc2
        !          1757:     builtin and then its argument prototype would still apply.  */
        !          1758: char $ac_func();
        !          1759:
        !          1760: int main() {
        !          1761:
        !          1762: /* The GNU C library defines this for functions which it implements
        !          1763:     to always fail with ENOSYS.  Some functions are actually named
        !          1764:     something starting with __ and the normal name is an alias.  */
        !          1765: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
        !          1766: choke me
        !          1767: #else
        !          1768: $ac_func();
        !          1769: #endif
        !          1770:
        !          1771: ; return 0; }
        !          1772: EOF
        !          1773: if { (eval echo configure:1774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          1774:   rm -rf conftest*
        !          1775:   eval "ac_cv_func_$ac_func=yes"
        !          1776: else
        !          1777:   echo "configure: failed program was:" >&5
        !          1778:   cat conftest.$ac_ext >&5
        !          1779:   rm -rf conftest*
        !          1780:   eval "ac_cv_func_$ac_func=no"
        !          1781: fi
        !          1782: rm -f conftest*
        !          1783: fi
        !          1784:
        !          1785: if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
        !          1786:   echo "$ac_t""yes" 1>&6
        !          1787:     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
        !          1788:   cat >> confdefs.h <<EOF
        !          1789: #define $ac_tr_func 1
        !          1790: EOF
        !          1791:
        !          1792: else
        !          1793:   echo "$ac_t""no" 1>&6
        !          1794: fi
        !          1795: done
        !          1796:
        !          1797:
        !          1798: echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
        !          1799: echo "configure:1800: checking return type of signal handlers" >&5
        !          1800: if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
        !          1801:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1802: else
        !          1803:   cat > conftest.$ac_ext <<EOF
        !          1804: #line 1805 "configure"
        !          1805: #include "confdefs.h"
        !          1806: #include <sys/types.h>
        !          1807: #include <signal.h>
        !          1808: #ifdef signal
        !          1809: #undef signal
        !          1810: #endif
        !          1811: #ifdef __cplusplus
        !          1812: extern "C" void (*signal (int, void (*)(int)))(int);
        !          1813: #else
        !          1814: void (*signal ()) ();
        !          1815: #endif
        !          1816:
        !          1817: int main() {
        !          1818: int i;
        !          1819: ; return 0; }
        !          1820: EOF
        !          1821: if { (eval echo configure:1822: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          1822:   rm -rf conftest*
        !          1823:   ac_cv_type_signal=void
        !          1824: else
        !          1825:   echo "configure: failed program was:" >&5
        !          1826:   cat conftest.$ac_ext >&5
        !          1827:   rm -rf conftest*
        !          1828:   ac_cv_type_signal=int
        !          1829: fi
        !          1830: rm -f conftest*
        !          1831: fi
        !          1832:
        !          1833: echo "$ac_t""$ac_cv_type_signal" 1>&6
        !          1834: cat >> confdefs.h <<EOF
        !          1835: #define RETSIGTYPE $ac_cv_type_signal
        !          1836: EOF
        !          1837:
        !          1838:
        !          1839: echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
        !          1840: echo "configure:1841: checking for ANSI C header files" >&5
        !          1841: if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
        !          1842:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1843: else
        !          1844:   cat > conftest.$ac_ext <<EOF
        !          1845: #line 1846 "configure"
        !          1846: #include "confdefs.h"
        !          1847: #include <stdlib.h>
        !          1848: #include <stdarg.h>
        !          1849: #include <string.h>
        !          1850: #include <float.h>
        !          1851: EOF
        !          1852: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          1853: { (eval echo configure:1854: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          1854: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          1855: if test -z "$ac_err"; then
        !          1856:   rm -rf conftest*
        !          1857:   ac_cv_header_stdc=yes
        !          1858: else
        !          1859:   echo "$ac_err" >&5
        !          1860:   echo "configure: failed program was:" >&5
        !          1861:   cat conftest.$ac_ext >&5
        !          1862:   rm -rf conftest*
        !          1863:   ac_cv_header_stdc=no
        !          1864: fi
        !          1865: rm -f conftest*
        !          1866:
        !          1867: if test $ac_cv_header_stdc = yes; then
        !          1868:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
        !          1869: cat > conftest.$ac_ext <<EOF
        !          1870: #line 1871 "configure"
        !          1871: #include "confdefs.h"
        !          1872: #include <string.h>
        !          1873: EOF
        !          1874: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          1875:   egrep "memchr" >/dev/null 2>&1; then
        !          1876:   :
        !          1877: else
        !          1878:   rm -rf conftest*
        !          1879:   ac_cv_header_stdc=no
        !          1880: fi
        !          1881: rm -f conftest*
        !          1882:
        !          1883: fi
        !          1884:
        !          1885: if test $ac_cv_header_stdc = yes; then
        !          1886:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
        !          1887: cat > conftest.$ac_ext <<EOF
        !          1888: #line 1889 "configure"
        !          1889: #include "confdefs.h"
        !          1890: #include <stdlib.h>
        !          1891: EOF
        !          1892: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          1893:   egrep "free" >/dev/null 2>&1; then
        !          1894:   :
        !          1895: else
        !          1896:   rm -rf conftest*
        !          1897:   ac_cv_header_stdc=no
        !          1898: fi
        !          1899: rm -f conftest*
        !          1900:
        !          1901: fi
        !          1902:
        !          1903: if test $ac_cv_header_stdc = yes; then
        !          1904:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
        !          1905: if test "$cross_compiling" = yes; then
        !          1906:   :
        !          1907: else
        !          1908:   cat > conftest.$ac_ext <<EOF
        !          1909: #line 1910 "configure"
        !          1910: #include "confdefs.h"
        !          1911: #include <ctype.h>
        !          1912: #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
        !          1913: #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
        !          1914: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
        !          1915: int main () { int i; for (i = 0; i < 256; i++)
        !          1916: if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
        !          1917: exit (0); }
        !          1918:
        !          1919: EOF
        !          1920: if { (eval echo configure:1921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        !          1921: then
        !          1922:   :
        !          1923: else
        !          1924:   echo "configure: failed program was:" >&5
        !          1925:   cat conftest.$ac_ext >&5
        !          1926:   rm -fr conftest*
        !          1927:   ac_cv_header_stdc=no
        !          1928: fi
        !          1929: rm -fr conftest*
        !          1930: fi
        !          1931:
        !          1932: fi
        !          1933: fi
        !          1934:
        !          1935: echo "$ac_t""$ac_cv_header_stdc" 1>&6
        !          1936: if test $ac_cv_header_stdc = yes; then
        !          1937:   cat >> confdefs.h <<\EOF
        !          1938: #define STDC_HEADERS 1
        !          1939: EOF
        !          1940:
        !          1941: fi
        !          1942:
        !          1943: echo $ac_n "checking for size_t""... $ac_c" 1>&6
        !          1944: echo "configure:1945: checking for size_t" >&5
        !          1945: if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
        !          1946:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1947: else
        !          1948:   cat > conftest.$ac_ext <<EOF
        !          1949: #line 1950 "configure"
        !          1950: #include "confdefs.h"
        !          1951: #include <sys/types.h>
        !          1952: #if STDC_HEADERS
        !          1953: #include <stdlib.h>
        !          1954: #include <stddef.h>
        !          1955: #endif
        !          1956: EOF
        !          1957: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          1958:   egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
        !          1959:   rm -rf conftest*
        !          1960:   ac_cv_type_size_t=yes
        !          1961: else
        !          1962:   rm -rf conftest*
        !          1963:   ac_cv_type_size_t=no
        !          1964: fi
        !          1965: rm -f conftest*
        !          1966:
        !          1967: fi
        !          1968: echo "$ac_t""$ac_cv_type_size_t" 1>&6
        !          1969: if test $ac_cv_type_size_t = no; then
        !          1970:   cat >> confdefs.h <<\EOF
        !          1971: #define size_t unsigned
        !          1972: EOF
        !          1973:
        !          1974: fi
        !          1975:
        !          1976: echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
        !          1977: echo "configure:1978: checking for uid_t in sys/types.h" >&5
        !          1978: if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
        !          1979:   echo $ac_n "(cached) $ac_c" 1>&6
        !          1980: else
        !          1981:   cat > conftest.$ac_ext <<EOF
        !          1982: #line 1983 "configure"
        !          1983: #include "confdefs.h"
        !          1984: #include <sys/types.h>
        !          1985: EOF
        !          1986: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          1987:   egrep "uid_t" >/dev/null 2>&1; then
        !          1988:   rm -rf conftest*
        !          1989:   ac_cv_type_uid_t=yes
        !          1990: else
        !          1991:   rm -rf conftest*
        !          1992:   ac_cv_type_uid_t=no
        !          1993: fi
        !          1994: rm -f conftest*
        !          1995:
        !          1996: fi
        !          1997:
        !          1998: echo "$ac_t""$ac_cv_type_uid_t" 1>&6
        !          1999: if test $ac_cv_type_uid_t = no; then
        !          2000:   cat >> confdefs.h <<\EOF
        !          2001: #define uid_t int
        !          2002: EOF
        !          2003:
        !          2004:   cat >> confdefs.h <<\EOF
        !          2005: #define gid_t int
        !          2006: EOF
        !          2007:
        !          2008: fi
        !          2009:
        !          2010: echo $ac_n "checking for off_t""... $ac_c" 1>&6
        !          2011: echo "configure:2012: checking for off_t" >&5
        !          2012: if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
        !          2013:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2014: else
        !          2015:   cat > conftest.$ac_ext <<EOF
        !          2016: #line 2017 "configure"
        !          2017: #include "confdefs.h"
        !          2018: #include <sys/types.h>
        !          2019: #if STDC_HEADERS
        !          2020: #include <stdlib.h>
        !          2021: #include <stddef.h>
        !          2022: #endif
        !          2023: EOF
        !          2024: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          2025:   egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
        !          2026:   rm -rf conftest*
        !          2027:   ac_cv_type_off_t=yes
        !          2028: else
        !          2029:   rm -rf conftest*
        !          2030:   ac_cv_type_off_t=no
        !          2031: fi
        !          2032: rm -f conftest*
        !          2033:
        !          2034: fi
        !          2035: echo "$ac_t""$ac_cv_type_off_t" 1>&6
        !          2036: if test $ac_cv_type_off_t = no; then
        !          2037:   cat >> confdefs.h <<\EOF
        !          2038: #define off_t long
        !          2039: EOF
        !          2040:
        !          2041: fi
        !          2042:
        !          2043: echo $ac_n "checking for mode_t""... $ac_c" 1>&6
        !          2044: echo "configure:2045: checking for mode_t" >&5
        !          2045: if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
        !          2046:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2047: else
        !          2048:   cat > conftest.$ac_ext <<EOF
        !          2049: #line 2050 "configure"
        !          2050: #include "confdefs.h"
        !          2051: #include <sys/types.h>
        !          2052: #if STDC_HEADERS
        !          2053: #include <stdlib.h>
        !          2054: #include <stddef.h>
        !          2055: #endif
        !          2056: EOF
        !          2057: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          2058:   egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
        !          2059:   rm -rf conftest*
        !          2060:   ac_cv_type_mode_t=yes
        !          2061: else
        !          2062:   rm -rf conftest*
        !          2063:   ac_cv_type_mode_t=no
        !          2064: fi
        !          2065: rm -f conftest*
        !          2066:
        !          2067: fi
        !          2068: echo "$ac_t""$ac_cv_type_mode_t" 1>&6
        !          2069: if test $ac_cv_type_mode_t = no; then
        !          2070:   cat >> confdefs.h <<\EOF
        !          2071: #define mode_t int
        !          2072: EOF
        !          2073:
        !          2074: fi
        !          2075:
        !          2076: echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
        !          2077: echo "configure:2078: checking for st_blksize in struct stat" >&5
        !          2078: if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
        !          2079:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2080: else
        !          2081:   cat > conftest.$ac_ext <<EOF
        !          2082: #line 2083 "configure"
        !          2083: #include "confdefs.h"
        !          2084: #include <sys/types.h>
        !          2085: #include <sys/stat.h>
        !          2086: int main() {
        !          2087: struct stat s; s.st_blksize;
        !          2088: ; return 0; }
        !          2089: EOF
        !          2090: if { (eval echo configure:2091: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          2091:   rm -rf conftest*
        !          2092:   ac_cv_struct_st_blksize=yes
        !          2093: else
        !          2094:   echo "configure: failed program was:" >&5
        !          2095:   cat conftest.$ac_ext >&5
        !          2096:   rm -rf conftest*
        !          2097:   ac_cv_struct_st_blksize=no
        !          2098: fi
        !          2099: rm -f conftest*
        !          2100: fi
        !          2101:
        !          2102: echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
        !          2103: if test $ac_cv_struct_st_blksize = yes; then
        !          2104:   cat >> confdefs.h <<\EOF
        !          2105: #define HAVE_ST_BLKSIZE 1
        !          2106: EOF
        !          2107:
        !          2108: fi
        !          2109:
        !          2110:
        !          2111: echo $ac_n "checking for working const""... $ac_c" 1>&6
        !          2112: echo "configure:2113: checking for working const" >&5
        !          2113: if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
        !          2114:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2115: else
        !          2116:   cat > conftest.$ac_ext <<EOF
        !          2117: #line 2118 "configure"
        !          2118: #include "confdefs.h"
        !          2119:
        !          2120: int main() {
        !          2121:
        !          2122: /* Ultrix mips cc rejects this.  */
        !          2123: typedef int charset[2]; const charset x;
        !          2124: /* SunOS 4.1.1 cc rejects this.  */
        !          2125: char const *const *ccp;
        !          2126: char **p;
        !          2127: /* NEC SVR4.0.2 mips cc rejects this.  */
        !          2128: struct point {int x, y;};
        !          2129: static struct point const zero = {0,0};
        !          2130: /* AIX XL C 1.02.0.0 rejects this.
        !          2131:    It does not let you subtract one const X* pointer from another in an arm
        !          2132:    of an if-expression whose if-part is not a constant expression */
        !          2133: const char *g = "string";
        !          2134: ccp = &g + (g ? g-g : 0);
        !          2135: /* HPUX 7.0 cc rejects these. */
        !          2136: ++ccp;
        !          2137: p = (char**) ccp;
        !          2138: ccp = (char const *const *) p;
        !          2139: { /* SCO 3.2v4 cc rejects this.  */
        !          2140:   char *t;
        !          2141:   char const *s = 0 ? (char *) 0 : (char const *) 0;
        !          2142:
        !          2143:   *t++ = 0;
        !          2144: }
        !          2145: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
        !          2146:   int x[] = {25, 17};
        !          2147:   const int *foo = &x[0];
        !          2148:   ++foo;
        !          2149: }
        !          2150: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
        !          2151:   typedef const int *iptr;
        !          2152:   iptr p = 0;
        !          2153:   ++p;
        !          2154: }
        !          2155: { /* AIX XL C 1.02.0.0 rejects this saying
        !          2156:      "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
        !          2157:   struct s { int j; const int *ap[3]; };
        !          2158:   struct s *b; b->j = 5;
        !          2159: }
        !          2160: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
        !          2161:   const int foo = 10;
        !          2162: }
        !          2163:
        !          2164: ; return 0; }
        !          2165: EOF
        !          2166: if { (eval echo configure:2167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          2167:   rm -rf conftest*
        !          2168:   ac_cv_c_const=yes
        !          2169: else
        !          2170:   echo "configure: failed program was:" >&5
        !          2171:   cat conftest.$ac_ext >&5
        !          2172:   rm -rf conftest*
        !          2173:   ac_cv_c_const=no
        !          2174: fi
        !          2175: rm -f conftest*
        !          2176: fi
        !          2177:
        !          2178: echo "$ac_t""$ac_cv_c_const" 1>&6
        !          2179: if test $ac_cv_c_const = no; then
        !          2180:   cat >> confdefs.h <<\EOF
        !          2181: #define const
        !          2182: EOF
        !          2183:
        !          2184: fi
        !          2185:
        !          2186: echo $ac_n "checking for inline""... $ac_c" 1>&6
        !          2187: echo "configure:2188: checking for inline" >&5
        !          2188: if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
        !          2189:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2190: else
        !          2191:   ac_cv_c_inline=no
        !          2192: for ac_kw in inline __inline__ __inline; do
        !          2193:   cat > conftest.$ac_ext <<EOF
        !          2194: #line 2195 "configure"
        !          2195: #include "confdefs.h"
        !          2196:
        !          2197: int main() {
        !          2198: } $ac_kw foo() {
        !          2199: ; return 0; }
        !          2200: EOF
        !          2201: if { (eval echo configure:2202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          2202:   rm -rf conftest*
        !          2203:   ac_cv_c_inline=$ac_kw; break
        !          2204: else
        !          2205:   echo "configure: failed program was:" >&5
        !          2206:   cat conftest.$ac_ext >&5
        !          2207: fi
        !          2208: rm -f conftest*
        !          2209: done
        !          2210:
        !          2211: fi
        !          2212:
        !          2213: echo "$ac_t""$ac_cv_c_inline" 1>&6
        !          2214: case "$ac_cv_c_inline" in
        !          2215:   inline | yes) ;;
        !          2216:   no) cat >> confdefs.h <<\EOF
        !          2217: #define inline
        !          2218: EOF
        !          2219:  ;;
        !          2220:   *)  cat >> confdefs.h <<EOF
        !          2221: #define inline $ac_cv_c_inline
        !          2222: EOF
        !          2223:  ;;
        !          2224: esac
        !          2225:
        !          2226: echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
        !          2227: echo "configure:2228: checking whether byte ordering is bigendian" >&5
        !          2228: if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
        !          2229:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2230: else
        !          2231:   ac_cv_c_bigendian=unknown
        !          2232: # See if sys/param.h defines the BYTE_ORDER macro.
        !          2233: cat > conftest.$ac_ext <<EOF
        !          2234: #line 2235 "configure"
        !          2235: #include "confdefs.h"
        !          2236: #include <sys/types.h>
        !          2237: #include <sys/param.h>
        !          2238: int main() {
        !          2239:
        !          2240: #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
        !          2241:  bogus endian macros
        !          2242: #endif
        !          2243: ; return 0; }
        !          2244: EOF
        !          2245: if { (eval echo configure:2246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          2246:   rm -rf conftest*
        !          2247:   # It does; now see whether it defined to BIG_ENDIAN or not.
        !          2248: cat > conftest.$ac_ext <<EOF
        !          2249: #line 2250 "configure"
        !          2250: #include "confdefs.h"
        !          2251: #include <sys/types.h>
        !          2252: #include <sys/param.h>
        !          2253: int main() {
        !          2254:
        !          2255: #if BYTE_ORDER != BIG_ENDIAN
        !          2256:  not big endian
        !          2257: #endif
        !          2258: ; return 0; }
        !          2259: EOF
        !          2260: if { (eval echo configure:2261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          2261:   rm -rf conftest*
        !          2262:   ac_cv_c_bigendian=yes
        !          2263: else
        !          2264:   echo "configure: failed program was:" >&5
        !          2265:   cat conftest.$ac_ext >&5
        !          2266:   rm -rf conftest*
        !          2267:   ac_cv_c_bigendian=no
        !          2268: fi
        !          2269: rm -f conftest*
        !          2270: else
        !          2271:   echo "configure: failed program was:" >&5
        !          2272:   cat conftest.$ac_ext >&5
        !          2273: fi
        !          2274: rm -f conftest*
        !          2275: if test $ac_cv_c_bigendian = unknown; then
        !          2276: if test "$cross_compiling" = yes; then
        !          2277:     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
        !          2278: else
        !          2279:   cat > conftest.$ac_ext <<EOF
        !          2280: #line 2281 "configure"
        !          2281: #include "confdefs.h"
        !          2282: main () {
        !          2283:   /* Are we little or big endian?  From Harbison&Steele.  */
        !          2284:   union
        !          2285:   {
        !          2286:     long l;
        !          2287:     char c[sizeof (long)];
        !          2288:   } u;
        !          2289:   u.l = 1;
        !          2290:   exit (u.c[sizeof (long) - 1] == 1);
        !          2291: }
        !          2292: EOF
        !          2293: if { (eval echo configure:2294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        !          2294: then
        !          2295:   ac_cv_c_bigendian=no
        !          2296: else
        !          2297:   echo "configure: failed program was:" >&5
        !          2298:   cat conftest.$ac_ext >&5
        !          2299:   rm -fr conftest*
        !          2300:   ac_cv_c_bigendian=yes
        !          2301: fi
        !          2302: rm -fr conftest*
        !          2303: fi
        !          2304:
        !          2305: fi
        !          2306: fi
        !          2307:
        !          2308: echo "$ac_t""$ac_cv_c_bigendian" 1>&6
        !          2309: if test $ac_cv_c_bigendian = yes; then
        !          2310:   cat >> confdefs.h <<\EOF
        !          2311: #define WORDS_BIGENDIAN 1
        !          2312: EOF
        !          2313:
        !          2314: fi
        !          2315:
        !          2316: echo $ac_n "checking size of long""... $ac_c" 1>&6
        !          2317: echo "configure:2318: checking size of long" >&5
        !          2318: if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
        !          2319:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2320: else
        !          2321:   if test "$cross_compiling" = yes; then
        !          2322:     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
        !          2323: else
        !          2324:   cat > conftest.$ac_ext <<EOF
        !          2325: #line 2326 "configure"
        !          2326: #include "confdefs.h"
        !          2327: #include <stdio.h>
        !          2328: main()
        !          2329: {
        !          2330:   FILE *f=fopen("conftestval", "w");
        !          2331:   if (!f) exit(1);
        !          2332:   fprintf(f, "%d\n", sizeof(long));
        !          2333:   exit(0);
        !          2334: }
        !          2335: EOF
        !          2336: if { (eval echo configure:2337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        !          2337: then
        !          2338:   ac_cv_sizeof_long=`cat conftestval`
        !          2339: else
        !          2340:   echo "configure: failed program was:" >&5
        !          2341:   cat conftest.$ac_ext >&5
        !          2342:   rm -fr conftest*
        !          2343:   ac_cv_sizeof_long=0
        !          2344: fi
        !          2345: rm -fr conftest*
        !          2346: fi
        !          2347:
        !          2348: fi
        !          2349: echo "$ac_t""$ac_cv_sizeof_long" 1>&6
        !          2350: cat >> confdefs.h <<EOF
        !          2351: #define SIZEOF_LONG $ac_cv_sizeof_long
        !          2352: EOF
        !          2353:
        !          2354:
        !          2355: echo $ac_n "checking size of int""... $ac_c" 1>&6
        !          2356: echo "configure:2357: checking size of int" >&5
        !          2357: if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
        !          2358:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2359: else
        !          2360:   if test "$cross_compiling" = yes; then
        !          2361:     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
        !          2362: else
        !          2363:   cat > conftest.$ac_ext <<EOF
        !          2364: #line 2365 "configure"
        !          2365: #include "confdefs.h"
        !          2366: #include <stdio.h>
        !          2367: main()
        !          2368: {
        !          2369:   FILE *f=fopen("conftestval", "w");
        !          2370:   if (!f) exit(1);
        !          2371:   fprintf(f, "%d\n", sizeof(int));
        !          2372:   exit(0);
        !          2373: }
        !          2374: EOF
        !          2375: if { (eval echo configure:2376: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        !          2376: then
        !          2377:   ac_cv_sizeof_int=`cat conftestval`
        !          2378: else
        !          2379:   echo "configure: failed program was:" >&5
        !          2380:   cat conftest.$ac_ext >&5
        !          2381:   rm -fr conftest*
        !          2382:   ac_cv_sizeof_int=0
        !          2383: fi
        !          2384: rm -fr conftest*
        !          2385: fi
        !          2386:
        !          2387: fi
        !          2388: echo "$ac_t""$ac_cv_sizeof_int" 1>&6
        !          2389: cat >> confdefs.h <<EOF
        !          2390: #define SIZEOF_INT $ac_cv_sizeof_int
        !          2391: EOF
        !          2392:
        !          2393:
        !          2394: echo $ac_n "checking size of short""... $ac_c" 1>&6
        !          2395: echo "configure:2396: checking size of short" >&5
        !          2396: if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
        !          2397:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2398: else
        !          2399:   if test "$cross_compiling" = yes; then
        !          2400:     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
        !          2401: else
        !          2402:   cat > conftest.$ac_ext <<EOF
        !          2403: #line 2404 "configure"
        !          2404: #include "confdefs.h"
        !          2405: #include <stdio.h>
        !          2406: main()
        !          2407: {
        !          2408:   FILE *f=fopen("conftestval", "w");
        !          2409:   if (!f) exit(1);
        !          2410:   fprintf(f, "%d\n", sizeof(short));
        !          2411:   exit(0);
        !          2412: }
        !          2413: EOF
        !          2414: if { (eval echo configure:2415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        !          2415: then
        !          2416:   ac_cv_sizeof_short=`cat conftestval`
        !          2417: else
        !          2418:   echo "configure: failed program was:" >&5
        !          2419:   cat conftest.$ac_ext >&5
        !          2420:   rm -fr conftest*
        !          2421:   ac_cv_sizeof_short=0
        !          2422: fi
        !          2423: rm -fr conftest*
        !          2424: fi
        !          2425:
        !          2426: fi
        !          2427: echo "$ac_t""$ac_cv_sizeof_short" 1>&6
        !          2428: cat >> confdefs.h <<EOF
        !          2429: #define SIZEOF_SHORT $ac_cv_sizeof_short
        !          2430: EOF
        !          2431:
        !          2432:
        !          2433:
        !          2434: if test -z "$no_termios"; then
        !          2435:   for ac_hdr in termios.h
        !          2436: do
        !          2437: ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
        !          2438: echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
        !          2439: echo "configure:2440: checking for $ac_hdr" >&5
        !          2440: if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
        !          2441:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2442: else
        !          2443:   cat > conftest.$ac_ext <<EOF
        !          2444: #line 2445 "configure"
        !          2445: #include "confdefs.h"
        !          2446: #include <$ac_hdr>
        !          2447: EOF
        !          2448: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          2449: { (eval echo configure:2450: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          2450: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          2451: if test -z "$ac_err"; then
        !          2452:   rm -rf conftest*
        !          2453:   eval "ac_cv_header_$ac_safe=yes"
        !          2454: else
        !          2455:   echo "$ac_err" >&5
        !          2456:   echo "configure: failed program was:" >&5
        !          2457:   cat conftest.$ac_ext >&5
        !          2458:   rm -rf conftest*
        !          2459:   eval "ac_cv_header_$ac_safe=no"
        !          2460: fi
        !          2461: rm -f conftest*
        !          2462: fi
        !          2463: if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
        !          2464:   echo "$ac_t""yes" 1>&6
        !          2465:     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
        !          2466:   cat >> confdefs.h <<EOF
        !          2467: #define $ac_tr_hdr 1
        !          2468: EOF
        !          2469:
        !          2470: else
        !          2471:   echo "$ac_t""no" 1>&6
        !          2472: fi
        !          2473: done
        !          2474:
        !          2475: fi
        !          2476:
        !          2477: echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
        !          2478: echo "configure:2479: checking for ANSI C header files" >&5
        !          2479: if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
        !          2480:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2481: else
        !          2482:   cat > conftest.$ac_ext <<EOF
        !          2483: #line 2484 "configure"
        !          2484: #include "confdefs.h"
        !          2485: #include <stdlib.h>
        !          2486: #include <stdarg.h>
        !          2487: #include <string.h>
        !          2488: #include <float.h>
        !          2489: EOF
        !          2490: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          2491: { (eval echo configure:2492: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          2492: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          2493: if test -z "$ac_err"; then
        !          2494:   rm -rf conftest*
        !          2495:   ac_cv_header_stdc=yes
        !          2496: else
        !          2497:   echo "$ac_err" >&5
        !          2498:   echo "configure: failed program was:" >&5
        !          2499:   cat conftest.$ac_ext >&5
        !          2500:   rm -rf conftest*
        !          2501:   ac_cv_header_stdc=no
        !          2502: fi
        !          2503: rm -f conftest*
        !          2504:
        !          2505: if test $ac_cv_header_stdc = yes; then
        !          2506:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
        !          2507: cat > conftest.$ac_ext <<EOF
        !          2508: #line 2509 "configure"
        !          2509: #include "confdefs.h"
        !          2510: #include <string.h>
        !          2511: EOF
        !          2512: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          2513:   egrep "memchr" >/dev/null 2>&1; then
        !          2514:   :
        !          2515: else
        !          2516:   rm -rf conftest*
        !          2517:   ac_cv_header_stdc=no
        !          2518: fi
        !          2519: rm -f conftest*
        !          2520:
        !          2521: fi
        !          2522:
        !          2523: if test $ac_cv_header_stdc = yes; then
        !          2524:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
        !          2525: cat > conftest.$ac_ext <<EOF
        !          2526: #line 2527 "configure"
        !          2527: #include "confdefs.h"
        !          2528: #include <stdlib.h>
        !          2529: EOF
        !          2530: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          2531:   egrep "free" >/dev/null 2>&1; then
        !          2532:   :
        !          2533: else
        !          2534:   rm -rf conftest*
        !          2535:   ac_cv_header_stdc=no
        !          2536: fi
        !          2537: rm -f conftest*
        !          2538:
        !          2539: fi
        !          2540:
        !          2541: if test $ac_cv_header_stdc = yes; then
        !          2542:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
        !          2543: if test "$cross_compiling" = yes; then
        !          2544:   :
        !          2545: else
        !          2546:   cat > conftest.$ac_ext <<EOF
        !          2547: #line 2548 "configure"
        !          2548: #include "confdefs.h"
        !          2549: #include <ctype.h>
        !          2550: #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
        !          2551: #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
        !          2552: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
        !          2553: int main () { int i; for (i = 0; i < 256; i++)
        !          2554: if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
        !          2555: exit (0); }
        !          2556:
        !          2557: EOF
        !          2558: if { (eval echo configure:2559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
        !          2559: then
        !          2560:   :
        !          2561: else
        !          2562:   echo "configure: failed program was:" >&5
        !          2563:   cat conftest.$ac_ext >&5
        !          2564:   rm -fr conftest*
        !          2565:   ac_cv_header_stdc=no
        !          2566: fi
        !          2567: rm -fr conftest*
        !          2568: fi
        !          2569:
        !          2570: fi
        !          2571: fi
        !          2572:
        !          2573: echo "$ac_t""$ac_cv_header_stdc" 1>&6
        !          2574: if test $ac_cv_header_stdc = yes; then
        !          2575:   cat >> confdefs.h <<\EOF
        !          2576: #define STDC_HEADERS 1
        !          2577: EOF
        !          2578:
        !          2579: fi
        !          2580:
        !          2581: echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
        !          2582: echo "configure:2583: checking for sys/wait.h that is POSIX.1 compatible" >&5
        !          2583: if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
        !          2584:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2585: else
        !          2586:   cat > conftest.$ac_ext <<EOF
        !          2587: #line 2588 "configure"
        !          2588: #include "confdefs.h"
        !          2589: #include <sys/types.h>
        !          2590: #include <sys/wait.h>
        !          2591: #ifndef WEXITSTATUS
        !          2592: #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
        !          2593: #endif
        !          2594: #ifndef WIFEXITED
        !          2595: #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
        !          2596: #endif
        !          2597: int main() {
        !          2598: int s;
        !          2599: wait (&s);
        !          2600: s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
        !          2601: ; return 0; }
        !          2602: EOF
        !          2603: if { (eval echo configure:2604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          2604:   rm -rf conftest*
        !          2605:   ac_cv_header_sys_wait_h=yes
        !          2606: else
        !          2607:   echo "configure: failed program was:" >&5
        !          2608:   cat conftest.$ac_ext >&5
        !          2609:   rm -rf conftest*
        !          2610:   ac_cv_header_sys_wait_h=no
        !          2611: fi
        !          2612: rm -f conftest*
        !          2613: fi
        !          2614:
        !          2615: echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
        !          2616: if test $ac_cv_header_sys_wait_h = yes; then
        !          2617:   cat >> confdefs.h <<\EOF
        !          2618: #define HAVE_SYS_WAIT_H 1
        !          2619: EOF
        !          2620:
        !          2621: fi
        !          2622:
        !          2623: for ac_hdr in unistd.h rusage.h sys/time.h lastlog.h utmp.h utmpx.h
        !          2624: do
        !          2625: ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
        !          2626: echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
        !          2627: echo "configure:2628: checking for $ac_hdr" >&5
        !          2628: if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
        !          2629:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2630: else
        !          2631:   cat > conftest.$ac_ext <<EOF
        !          2632: #line 2633 "configure"
        !          2633: #include "confdefs.h"
        !          2634: #include <$ac_hdr>
        !          2635: EOF
        !          2636: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          2637: { (eval echo configure:2638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          2638: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          2639: if test -z "$ac_err"; then
        !          2640:   rm -rf conftest*
        !          2641:   eval "ac_cv_header_$ac_safe=yes"
        !          2642: else
        !          2643:   echo "$ac_err" >&5
        !          2644:   echo "configure: failed program was:" >&5
        !          2645:   cat conftest.$ac_ext >&5
        !          2646:   rm -rf conftest*
        !          2647:   eval "ac_cv_header_$ac_safe=no"
        !          2648: fi
        !          2649: rm -f conftest*
        !          2650: fi
        !          2651: if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
        !          2652:   echo "$ac_t""yes" 1>&6
        !          2653:     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
        !          2654:   cat >> confdefs.h <<EOF
        !          2655: #define $ac_tr_hdr 1
        !          2656: EOF
        !          2657:
        !          2658: else
        !          2659:   echo "$ac_t""no" 1>&6
        !          2660: fi
        !          2661: done
        !          2662:
        !          2663: for ac_hdr in sgtty.h sys/select.h sys/ioctl.h sys/filio.h
        !          2664: do
        !          2665: ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
        !          2666: echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
        !          2667: echo "configure:2668: checking for $ac_hdr" >&5
        !          2668: if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
        !          2669:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2670: else
        !          2671:   cat > conftest.$ac_ext <<EOF
        !          2672: #line 2673 "configure"
        !          2673: #include "confdefs.h"
        !          2674: #include <$ac_hdr>
        !          2675: EOF
        !          2676: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          2677: { (eval echo configure:2678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          2678: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          2679: if test -z "$ac_err"; then
        !          2680:   rm -rf conftest*
        !          2681:   eval "ac_cv_header_$ac_safe=yes"
        !          2682: else
        !          2683:   echo "$ac_err" >&5
        !          2684:   echo "configure: failed program was:" >&5
        !          2685:   cat conftest.$ac_ext >&5
        !          2686:   rm -rf conftest*
        !          2687:   eval "ac_cv_header_$ac_safe=no"
        !          2688: fi
        !          2689: rm -f conftest*
        !          2690: fi
        !          2691: if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
        !          2692:   echo "$ac_t""yes" 1>&6
        !          2693:     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
        !          2694:   cat >> confdefs.h <<EOF
        !          2695: #define $ac_tr_hdr 1
        !          2696: EOF
        !          2697:
        !          2698: else
        !          2699:   echo "$ac_t""no" 1>&6
        !          2700: fi
        !          2701: done
        !          2702:
        !          2703: for ac_hdr in paths.h usersec.h utime.h netinet/in_systm.h ulimit.h
        !          2704: do
        !          2705: ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
        !          2706: echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
        !          2707: echo "configure:2708: checking for $ac_hdr" >&5
        !          2708: if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
        !          2709:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2710: else
        !          2711:   cat > conftest.$ac_ext <<EOF
        !          2712: #line 2713 "configure"
        !          2713: #include "confdefs.h"
        !          2714: #include <$ac_hdr>
        !          2715: EOF
        !          2716: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          2717: { (eval echo configure:2718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          2718: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          2719: if test -z "$ac_err"; then
        !          2720:   rm -rf conftest*
        !          2721:   eval "ac_cv_header_$ac_safe=yes"
        !          2722: else
        !          2723:   echo "$ac_err" >&5
        !          2724:   echo "configure: failed program was:" >&5
        !          2725:   cat conftest.$ac_ext >&5
        !          2726:   rm -rf conftest*
        !          2727:   eval "ac_cv_header_$ac_safe=no"
        !          2728: fi
        !          2729: rm -f conftest*
        !          2730: fi
        !          2731: if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
        !          2732:   echo "$ac_t""yes" 1>&6
        !          2733:     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
        !          2734:   cat >> confdefs.h <<EOF
        !          2735: #define $ac_tr_hdr 1
        !          2736: EOF
        !          2737:
        !          2738: else
        !          2739:   echo "$ac_t""no" 1>&6
        !          2740: fi
        !          2741: done
        !          2742:
        !          2743: echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
        !          2744: echo "configure:2745: checking whether time.h and sys/time.h may both be included" >&5
        !          2745: if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
        !          2746:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2747: else
        !          2748:   cat > conftest.$ac_ext <<EOF
        !          2749: #line 2750 "configure"
        !          2750: #include "confdefs.h"
        !          2751: #include <sys/types.h>
        !          2752: #include <sys/time.h>
        !          2753: #include <time.h>
        !          2754: int main() {
        !          2755: struct tm *tp;
        !          2756: ; return 0; }
        !          2757: EOF
        !          2758: if { (eval echo configure:2759: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          2759:   rm -rf conftest*
        !          2760:   ac_cv_header_time=yes
        !          2761: else
        !          2762:   echo "configure: failed program was:" >&5
        !          2763:   cat conftest.$ac_ext >&5
        !          2764:   rm -rf conftest*
        !          2765:   ac_cv_header_time=no
        !          2766: fi
        !          2767: rm -f conftest*
        !          2768: fi
        !          2769:
        !          2770: echo "$ac_t""$ac_cv_header_time" 1>&6
        !          2771: if test $ac_cv_header_time = yes; then
        !          2772:   cat >> confdefs.h <<\EOF
        !          2773: #define TIME_WITH_SYS_TIME 1
        !          2774: EOF
        !          2775:
        !          2776: fi
        !          2777:
        !          2778: ac_header_dirent=no
        !          2779: for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
        !          2780: do
        !          2781: ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
        !          2782: echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
        !          2783: echo "configure:2784: checking for $ac_hdr that defines DIR" >&5
        !          2784: if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
        !          2785:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2786: else
        !          2787:   cat > conftest.$ac_ext <<EOF
        !          2788: #line 2789 "configure"
        !          2789: #include "confdefs.h"
        !          2790: #include <sys/types.h>
        !          2791: #include <$ac_hdr>
        !          2792: int main() {
        !          2793: DIR *dirp = 0;
        !          2794: ; return 0; }
        !          2795: EOF
        !          2796: if { (eval echo configure:2797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
        !          2797:   rm -rf conftest*
        !          2798:   eval "ac_cv_header_dirent_$ac_safe=yes"
        !          2799: else
        !          2800:   echo "configure: failed program was:" >&5
        !          2801:   cat conftest.$ac_ext >&5
        !          2802:   rm -rf conftest*
        !          2803:   eval "ac_cv_header_dirent_$ac_safe=no"
        !          2804: fi
        !          2805: rm -f conftest*
        !          2806: fi
        !          2807: if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
        !          2808:   echo "$ac_t""yes" 1>&6
        !          2809:     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
        !          2810:   cat >> confdefs.h <<EOF
        !          2811: #define $ac_tr_hdr 1
        !          2812: EOF
        !          2813:  ac_header_dirent=$ac_hdr; break
        !          2814: else
        !          2815:   echo "$ac_t""no" 1>&6
        !          2816: fi
        !          2817: done
        !          2818: # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
        !          2819: if test $ac_header_dirent = dirent.h; then
        !          2820: echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
        !          2821: echo "configure:2822: checking for opendir in -ldir" >&5
        !          2822: ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
        !          2823: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          2824:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2825: else
        !          2826:   ac_save_LIBS="$LIBS"
        !          2827: LIBS="-ldir  $LIBS"
        !          2828: cat > conftest.$ac_ext <<EOF
        !          2829: #line 2830 "configure"
        !          2830: #include "confdefs.h"
        !          2831: /* Override any gcc2 internal prototype to avoid an error.  */
        !          2832: /* We use char because int might match the return type of a gcc2
        !          2833:     builtin and then its argument prototype would still apply.  */
        !          2834: char opendir();
        !          2835:
        !          2836: int main() {
        !          2837: opendir()
        !          2838: ; return 0; }
        !          2839: EOF
        !          2840: if { (eval echo configure:2841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          2841:   rm -rf conftest*
        !          2842:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          2843: else
        !          2844:   echo "configure: failed program was:" >&5
        !          2845:   cat conftest.$ac_ext >&5
        !          2846:   rm -rf conftest*
        !          2847:   eval "ac_cv_lib_$ac_lib_var=no"
        !          2848: fi
        !          2849: rm -f conftest*
        !          2850: LIBS="$ac_save_LIBS"
        !          2851:
        !          2852: fi
        !          2853: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          2854:   echo "$ac_t""yes" 1>&6
        !          2855:   LIBS="$LIBS -ldir"
        !          2856: else
        !          2857:   echo "$ac_t""no" 1>&6
        !          2858: fi
        !          2859:
        !          2860: else
        !          2861: echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
        !          2862: echo "configure:2863: checking for opendir in -lx" >&5
        !          2863: ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
        !          2864: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          2865:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2866: else
        !          2867:   ac_save_LIBS="$LIBS"
        !          2868: LIBS="-lx  $LIBS"
        !          2869: cat > conftest.$ac_ext <<EOF
        !          2870: #line 2871 "configure"
        !          2871: #include "confdefs.h"
        !          2872: /* Override any gcc2 internal prototype to avoid an error.  */
        !          2873: /* We use char because int might match the return type of a gcc2
        !          2874:     builtin and then its argument prototype would still apply.  */
        !          2875: char opendir();
        !          2876:
        !          2877: int main() {
        !          2878: opendir()
        !          2879: ; return 0; }
        !          2880: EOF
        !          2881: if { (eval echo configure:2882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          2882:   rm -rf conftest*
        !          2883:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          2884: else
        !          2885:   echo "configure: failed program was:" >&5
        !          2886:   cat conftest.$ac_ext >&5
        !          2887:   rm -rf conftest*
        !          2888:   eval "ac_cv_lib_$ac_lib_var=no"
        !          2889: fi
        !          2890: rm -f conftest*
        !          2891: LIBS="$ac_save_LIBS"
        !          2892:
        !          2893: fi
        !          2894: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          2895:   echo "$ac_t""yes" 1>&6
        !          2896:   LIBS="$LIBS -lx"
        !          2897: else
        !          2898:   echo "$ac_t""no" 1>&6
        !          2899: fi
        !          2900:
        !          2901: fi
        !          2902:
        !          2903: echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
        !          2904: echo "configure:2905: checking whether stat file-mode macros are broken" >&5
        !          2905: if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
        !          2906:   echo $ac_n "(cached) $ac_c" 1>&6
        !          2907: else
        !          2908:   cat > conftest.$ac_ext <<EOF
        !          2909: #line 2910 "configure"
        !          2910: #include "confdefs.h"
        !          2911: #include <sys/types.h>
        !          2912: #include <sys/stat.h>
        !          2913:
        !          2914: #if defined(S_ISBLK) && defined(S_IFDIR)
        !          2915: # if S_ISBLK (S_IFDIR)
        !          2916: You lose.
        !          2917: # endif
        !          2918: #endif
        !          2919:
        !          2920: #if defined(S_ISBLK) && defined(S_IFCHR)
        !          2921: # if S_ISBLK (S_IFCHR)
        !          2922: You lose.
        !          2923: # endif
        !          2924: #endif
        !          2925:
        !          2926: #if defined(S_ISLNK) && defined(S_IFREG)
        !          2927: # if S_ISLNK (S_IFREG)
        !          2928: You lose.
        !          2929: # endif
        !          2930: #endif
        !          2931:
        !          2932: #if defined(S_ISSOCK) && defined(S_IFREG)
        !          2933: # if S_ISSOCK (S_IFREG)
        !          2934: You lose.
        !          2935: # endif
        !          2936: #endif
        !          2937:
        !          2938: EOF
        !          2939: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          2940:   egrep "You lose" >/dev/null 2>&1; then
        !          2941:   rm -rf conftest*
        !          2942:   ac_cv_header_stat_broken=yes
        !          2943: else
        !          2944:   rm -rf conftest*
        !          2945:   ac_cv_header_stat_broken=no
        !          2946: fi
        !          2947: rm -f conftest*
        !          2948:
        !          2949: fi
        !          2950:
        !          2951: echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
        !          2952: if test $ac_cv_header_stat_broken = yes; then
        !          2953:   cat >> confdefs.h <<\EOF
        !          2954: #define STAT_MACROS_BROKEN 1
        !          2955: EOF
        !          2956:
        !          2957: fi
        !          2958:
        !          2959: cat > conftest.$ac_ext <<EOF
        !          2960: #line 2961 "configure"
        !          2961: #include "confdefs.h"
        !          2962: #include <utmp.h>
        !          2963: EOF
        !          2964: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          2965:   egrep "ut_pid" >/dev/null 2>&1; then
        !          2966:   rm -rf conftest*
        !          2967:   cat >> confdefs.h <<\EOF
        !          2968: #define HAVE_PID_IN_UTMP 1
        !          2969: EOF
        !          2970:
        !          2971: fi
        !          2972: rm -f conftest*
        !          2973:
        !          2974: cat > conftest.$ac_ext <<EOF
        !          2975: #line 2976 "configure"
        !          2976: #include "confdefs.h"
        !          2977: #include <utmp.h>
        !          2978: EOF
        !          2979: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          2980:   egrep "ut_name" >/dev/null 2>&1; then
        !          2981:   rm -rf conftest*
        !          2982:   cat >> confdefs.h <<\EOF
        !          2983: #define HAVE_NAME_IN_UTMP 1
        !          2984: EOF
        !          2985:
        !          2986: fi
        !          2987: rm -f conftest*
        !          2988:
        !          2989: cat > conftest.$ac_ext <<EOF
        !          2990: #line 2991 "configure"
        !          2991: #include "confdefs.h"
        !          2992: #include <utmp.h>
        !          2993: EOF
        !          2994: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          2995:   egrep "ut_id" >/dev/null 2>&1; then
        !          2996:   rm -rf conftest*
        !          2997:   cat >> confdefs.h <<\EOF
        !          2998: #define HAVE_ID_IN_UTMP 1
        !          2999: EOF
        !          3000:
        !          3001: fi
        !          3002: rm -f conftest*
        !          3003:
        !          3004: cat > conftest.$ac_ext <<EOF
        !          3005: #line 3006 "configure"
        !          3006: #include "confdefs.h"
        !          3007: #include <utmp.h>
        !          3008: EOF
        !          3009: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          3010:   egrep "ut_host" >/dev/null 2>&1; then
        !          3011:   rm -rf conftest*
        !          3012:   cat >> confdefs.h <<\EOF
        !          3013: #define HAVE_HOST_IN_UTMP 1
        !          3014: EOF
        !          3015:
        !          3016: fi
        !          3017: rm -f conftest*
        !          3018:
        !          3019: cat > conftest.$ac_ext <<EOF
        !          3020: #line 3021 "configure"
        !          3021: #include "confdefs.h"
        !          3022: #include <utmp.h>
        !          3023: EOF
        !          3024: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          3025:   egrep "ut_addr" >/dev/null 2>&1; then
        !          3026:   rm -rf conftest*
        !          3027:   cat >> confdefs.h <<\EOF
        !          3028: #define HAVE_ADDR_IN_UTMP 1
        !          3029: EOF
        !          3030:
        !          3031: fi
        !          3032: rm -f conftest*
        !          3033:
        !          3034:
        !          3035: cat > conftest.$ac_ext <<EOF
        !          3036: #line 3037 "configure"
        !          3037: #include "confdefs.h"
        !          3038: #include <utmpx.h>
        !          3039: EOF
        !          3040: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          3041:   egrep "ut_session" >/dev/null 2>&1; then
        !          3042:   rm -rf conftest*
        !          3043:   cat >> confdefs.h <<\EOF
        !          3044: #define HAVE_UT_SESSION 1
        !          3045: EOF
        !          3046:
        !          3047: fi
        !          3048: rm -f conftest*
        !          3049:
        !          3050: cat > conftest.$ac_ext <<EOF
        !          3051: #line 3052 "configure"
        !          3052: #include "confdefs.h"
        !          3053: #include <utmpx.h>
        !          3054: EOF
        !          3055: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
        !          3056:   egrep "ut_syslen" >/dev/null 2>&1; then
        !          3057:   rm -rf conftest*
        !          3058:   cat >> confdefs.h <<\EOF
        !          3059: #define HAVE_UT_SYSLEN 1
        !          3060: EOF
        !          3061:
        !          3062: fi
        !          3063: rm -f conftest*
        !          3064:
        !          3065:
        !          3066: echo $ac_n "checking for crypt in -lc""... $ac_c" 1>&6
        !          3067: echo "configure:3068: checking for crypt in -lc" >&5
        !          3068: ac_lib_var=`echo c'_'crypt | sed 'y%./+-%__p_%'`
        !          3069: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          3070:   echo $ac_n "(cached) $ac_c" 1>&6
        !          3071: else
        !          3072:   ac_save_LIBS="$LIBS"
        !          3073: LIBS="-lc  $LIBS"
        !          3074: cat > conftest.$ac_ext <<EOF
        !          3075: #line 3076 "configure"
        !          3076: #include "confdefs.h"
        !          3077: /* Override any gcc2 internal prototype to avoid an error.  */
        !          3078: /* We use char because int might match the return type of a gcc2
        !          3079:     builtin and then its argument prototype would still apply.  */
        !          3080: char crypt();
        !          3081:
        !          3082: int main() {
        !          3083: crypt()
        !          3084: ; return 0; }
        !          3085: EOF
        !          3086: if { (eval echo configure:3087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          3087:   rm -rf conftest*
        !          3088:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          3089: else
        !          3090:   echo "configure: failed program was:" >&5
        !          3091:   cat conftest.$ac_ext >&5
        !          3092:   rm -rf conftest*
        !          3093:   eval "ac_cv_lib_$ac_lib_var=no"
        !          3094: fi
        !          3095: rm -f conftest*
        !          3096: LIBS="$ac_save_LIBS"
        !          3097:
        !          3098: fi
        !          3099: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          3100:   echo "$ac_t""yes" 1>&6
        !          3101:   true
        !          3102: else
        !          3103:   echo "$ac_t""no" 1>&6
        !          3104: echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
        !          3105: echo "configure:3106: checking for crypt in -lcrypt" >&5
        !          3106: ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
        !          3107: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          3108:   echo $ac_n "(cached) $ac_c" 1>&6
        !          3109: else
        !          3110:   ac_save_LIBS="$LIBS"
        !          3111: LIBS="-lcrypt  $LIBS"
        !          3112: cat > conftest.$ac_ext <<EOF
        !          3113: #line 3114 "configure"
        !          3114: #include "confdefs.h"
        !          3115: /* Override any gcc2 internal prototype to avoid an error.  */
        !          3116: /* We use char because int might match the return type of a gcc2
        !          3117:     builtin and then its argument prototype would still apply.  */
        !          3118: char crypt();
        !          3119:
        !          3120: int main() {
        !          3121: crypt()
        !          3122: ; return 0; }
        !          3123: EOF
        !          3124: if { (eval echo configure:3125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          3125:   rm -rf conftest*
        !          3126:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          3127: else
        !          3128:   echo "configure: failed program was:" >&5
        !          3129:   cat conftest.$ac_ext >&5
        !          3130:   rm -rf conftest*
        !          3131:   eval "ac_cv_lib_$ac_lib_var=no"
        !          3132: fi
        !          3133: rm -f conftest*
        !          3134: LIBS="$ac_save_LIBS"
        !          3135:
        !          3136: fi
        !          3137: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          3138:   echo "$ac_t""yes" 1>&6
        !          3139:     ac_tr_lib=HAVE_LIB`echo crypt | sed -e 's/^a-zA-Z0-9_/_/g' \
        !          3140:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
        !          3141:   cat >> confdefs.h <<EOF
        !          3142: #define $ac_tr_lib 1
        !          3143: EOF
        !          3144:
        !          3145:   LIBS="-lcrypt $LIBS"
        !          3146:
        !          3147: else
        !          3148:   echo "$ac_t""no" 1>&6
        !          3149: fi
        !          3150:
        !          3151: fi
        !          3152:
        !          3153: echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
        !          3154: echo "configure:3155: checking for main in -lnsl" >&5
        !          3155: ac_lib_var=`echo nsl'_'main | sed 'y%./+-%__p_%'`
        !          3156: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          3157:   echo $ac_n "(cached) $ac_c" 1>&6
        !          3158: else
        !          3159:   ac_save_LIBS="$LIBS"
        !          3160: LIBS="-lnsl  $LIBS"
        !          3161: cat > conftest.$ac_ext <<EOF
        !          3162: #line 3163 "configure"
        !          3163: #include "confdefs.h"
        !          3164:
        !          3165: int main() {
        !          3166: main()
        !          3167: ; return 0; }
        !          3168: EOF
        !          3169: if { (eval echo configure:3170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          3170:   rm -rf conftest*
        !          3171:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          3172: else
        !          3173:   echo "configure: failed program was:" >&5
        !          3174:   cat conftest.$ac_ext >&5
        !          3175:   rm -rf conftest*
        !          3176:   eval "ac_cv_lib_$ac_lib_var=no"
        !          3177: fi
        !          3178: rm -f conftest*
        !          3179: LIBS="$ac_save_LIBS"
        !          3180:
        !          3181: fi
        !          3182: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          3183:   echo "$ac_t""yes" 1>&6
        !          3184:     ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
        !          3185:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
        !          3186:   cat >> confdefs.h <<EOF
        !          3187: #define $ac_tr_lib 1
        !          3188: EOF
        !          3189:
        !          3190:   LIBS="-lnsl $LIBS"
        !          3191:
        !          3192: else
        !          3193:   echo "$ac_t""no" 1>&6
        !          3194: fi
        !          3195:
        !          3196: if test -z "$no_libsocket"; then
        !          3197:   echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
        !          3198: echo "configure:3199: checking for socket in -lsocket" >&5
        !          3199: ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
        !          3200: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          3201:   echo $ac_n "(cached) $ac_c" 1>&6
        !          3202: else
        !          3203:   ac_save_LIBS="$LIBS"
        !          3204: LIBS="-lsocket  $LIBS"
        !          3205: cat > conftest.$ac_ext <<EOF
        !          3206: #line 3207 "configure"
        !          3207: #include "confdefs.h"
        !          3208: /* Override any gcc2 internal prototype to avoid an error.  */
        !          3209: /* We use char because int might match the return type of a gcc2
        !          3210:     builtin and then its argument prototype would still apply.  */
        !          3211: char socket();
        !          3212:
        !          3213: int main() {
        !          3214: socket()
        !          3215: ; return 0; }
        !          3216: EOF
        !          3217: if { (eval echo configure:3218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          3218:   rm -rf conftest*
        !          3219:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          3220: else
        !          3221:   echo "configure: failed program was:" >&5
        !          3222:   cat conftest.$ac_ext >&5
        !          3223:   rm -rf conftest*
        !          3224:   eval "ac_cv_lib_$ac_lib_var=no"
        !          3225: fi
        !          3226: rm -f conftest*
        !          3227: LIBS="$ac_save_LIBS"
        !          3228:
        !          3229: fi
        !          3230: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          3231:   echo "$ac_t""yes" 1>&6
        !          3232:     ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
        !          3233:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
        !          3234:   cat >> confdefs.h <<EOF
        !          3235: #define $ac_tr_lib 1
        !          3236: EOF
        !          3237:
        !          3238:   LIBS="-lsocket $LIBS"
        !          3239:
        !          3240: else
        !          3241:   echo "$ac_t""no" 1>&6
        !          3242: fi
        !          3243:
        !          3244: fi
        !          3245: if test -z "$no_libsun"; then
        !          3246:   echo $ac_n "checking for getpwnam in -lsun""... $ac_c" 1>&6
        !          3247: echo "configure:3248: checking for getpwnam in -lsun" >&5
        !          3248: ac_lib_var=`echo sun'_'getpwnam | sed 'y%./+-%__p_%'`
        !          3249: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          3250:   echo $ac_n "(cached) $ac_c" 1>&6
        !          3251: else
        !          3252:   ac_save_LIBS="$LIBS"
        !          3253: LIBS="-lsun  $LIBS"
        !          3254: cat > conftest.$ac_ext <<EOF
        !          3255: #line 3256 "configure"
        !          3256: #include "confdefs.h"
        !          3257: /* Override any gcc2 internal prototype to avoid an error.  */
        !          3258: /* We use char because int might match the return type of a gcc2
        !          3259:     builtin and then its argument prototype would still apply.  */
        !          3260: char getpwnam();
        !          3261:
        !          3262: int main() {
        !          3263: getpwnam()
        !          3264: ; return 0; }
        !          3265: EOF
        !          3266: if { (eval echo configure:3267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          3267:   rm -rf conftest*
        !          3268:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          3269: else
        !          3270:   echo "configure: failed program was:" >&5
        !          3271:   cat conftest.$ac_ext >&5
        !          3272:   rm -rf conftest*
        !          3273:   eval "ac_cv_lib_$ac_lib_var=no"
        !          3274: fi
        !          3275: rm -f conftest*
        !          3276: LIBS="$ac_save_LIBS"
        !          3277:
        !          3278: fi
        !          3279: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          3280:   echo "$ac_t""yes" 1>&6
        !          3281:     ac_tr_lib=HAVE_LIB`echo sun | sed -e 's/[^a-zA-Z0-9_]/_/g' \
        !          3282:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
        !          3283:   cat >> confdefs.h <<EOF
        !          3284: #define $ac_tr_lib 1
        !          3285: EOF
        !          3286:
        !          3287:   LIBS="-lsun $LIBS"
        !          3288:
        !          3289: else
        !          3290:   echo "$ac_t""no" 1>&6
        !          3291: fi
        !          3292:
        !          3293: fi
        !          3294: echo $ac_n "checking for login in -lutil""... $ac_c" 1>&6
        !          3295: echo "configure:3296: checking for login in -lutil" >&5
        !          3296: ac_lib_var=`echo util'_'login | sed 'y%./+-%__p_%'`
        !          3297: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          3298:   echo $ac_n "(cached) $ac_c" 1>&6
        !          3299: else
        !          3300:   ac_save_LIBS="$LIBS"
        !          3301: LIBS="-lutil  $LIBS"
        !          3302: cat > conftest.$ac_ext <<EOF
        !          3303: #line 3304 "configure"
        !          3304: #include "confdefs.h"
        !          3305: /* Override any gcc2 internal prototype to avoid an error.  */
        !          3306: /* We use char because int might match the return type of a gcc2
        !          3307:     builtin and then its argument prototype would still apply.  */
        !          3308: char login();
        !          3309:
        !          3310: int main() {
        !          3311: login()
        !          3312: ; return 0; }
        !          3313: EOF
        !          3314: if { (eval echo configure:3315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          3315:   rm -rf conftest*
        !          3316:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          3317: else
        !          3318:   echo "configure: failed program was:" >&5
        !          3319:   cat conftest.$ac_ext >&5
        !          3320:   rm -rf conftest*
        !          3321:   eval "ac_cv_lib_$ac_lib_var=no"
        !          3322: fi
        !          3323: rm -f conftest*
        !          3324: LIBS="$ac_save_LIBS"
        !          3325:
        !          3326: fi
        !          3327: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          3328:   echo "$ac_t""yes" 1>&6
        !          3329:   cat >> confdefs.h <<\EOF
        !          3330: #define HAVE_LIBUTIL_LOGIN 1
        !          3331: EOF
        !          3332:
        !          3333:                          LIBS="$LIBS -lutil"
        !          3334: else
        !          3335:   echo "$ac_t""no" 1>&6
        !          3336: fi
        !          3337:
        !          3338:
        !          3339: echo $ac_n "checking for main in -ldes""... $ac_c" 1>&6
        !          3340: echo "configure:3341: checking for main in -ldes" >&5
        !          3341: ac_lib_var=`echo des'_'main | sed 'y%./+-%__p_%'`
        !          3342: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          3343:   echo $ac_n "(cached) $ac_c" 1>&6
        !          3344: else
        !          3345:   ac_save_LIBS="$LIBS"
        !          3346: LIBS="-ldes  $LIBS"
        !          3347: cat > conftest.$ac_ext <<EOF
        !          3348: #line 3349 "configure"
        !          3349: #include "confdefs.h"
        !          3350:
        !          3351: int main() {
        !          3352: main()
        !          3353: ; return 0; }
        !          3354: EOF
        !          3355: if { (eval echo configure:3356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          3356:   rm -rf conftest*
        !          3357:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          3358: else
        !          3359:   echo "configure: failed program was:" >&5
        !          3360:   cat conftest.$ac_ext >&5
        !          3361:   rm -rf conftest*
        !          3362:   eval "ac_cv_lib_$ac_lib_var=no"
        !          3363: fi
        !          3364: rm -f conftest*
        !          3365: LIBS="$ac_save_LIBS"
        !          3366:
        !          3367: fi
        !          3368: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          3369:   echo "$ac_t""yes" 1>&6
        !          3370:     ac_tr_lib=HAVE_LIB`echo des | sed -e 's/[^a-zA-Z0-9_]/_/g' \
        !          3371:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
        !          3372:   cat >> confdefs.h <<EOF
        !          3373: #define $ac_tr_lib 1
        !          3374: EOF
        !          3375:
        !          3376:   LIBS="-ldes $LIBS"
        !          3377:
        !          3378: else
        !          3379:   echo "$ac_t""no" 1>&6
        !          3380: fi
        !          3381:
        !          3382:
        !          3383: for ac_func in strerror memmove remove random putenv socketpair
        !          3384: do
        !          3385: echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
        !          3386: echo "configure:3387: checking for $ac_func" >&5
        !          3387: if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
        !          3388:   echo $ac_n "(cached) $ac_c" 1>&6
        !          3389: else
        !          3390:   cat > conftest.$ac_ext <<EOF
        !          3391: #line 3392 "configure"
        !          3392: #include "confdefs.h"
        !          3393: /* System header to define __stub macros and hopefully few prototypes,
        !          3394:     which can conflict with char $ac_func(); below.  */
        !          3395: #include <assert.h>
        !          3396: /* Override any gcc2 internal prototype to avoid an error.  */
        !          3397: /* We use char because int might match the return type of a gcc2
        !          3398:     builtin and then its argument prototype would still apply.  */
        !          3399: char $ac_func();
        !          3400:
        !          3401: int main() {
        !          3402:
        !          3403: /* The GNU C library defines this for functions which it implements
        !          3404:     to always fail with ENOSYS.  Some functions are actually named
        !          3405:     something starting with __ and the normal name is an alias.  */
        !          3406: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
        !          3407: choke me
        !          3408: #else
        !          3409: $ac_func();
        !          3410: #endif
        !          3411:
        !          3412: ; return 0; }
        !          3413: EOF
        !          3414: if { (eval echo configure:3415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          3415:   rm -rf conftest*
        !          3416:   eval "ac_cv_func_$ac_func=yes"
        !          3417: else
        !          3418:   echo "configure: failed program was:" >&5
        !          3419:   cat conftest.$ac_ext >&5
        !          3420:   rm -rf conftest*
        !          3421:   eval "ac_cv_func_$ac_func=no"
        !          3422: fi
        !          3423: rm -f conftest*
        !          3424: fi
        !          3425:
        !          3426: if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
        !          3427:   echo "$ac_t""yes" 1>&6
        !          3428:     ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
        !          3429:   cat >> confdefs.h <<EOF
        !          3430: #define $ac_tr_func 1
        !          3431: EOF
        !          3432:
        !          3433: else
        !          3434:   echo "$ac_t""no" 1>&6
        !          3435: LIBOBJS="$LIBOBJS ${ac_func}.${ac_objext}"
        !          3436: fi
        !          3437: done
        !          3438:
        !          3439:
        !          3440:
        !          3441: echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
        !          3442: echo "configure:3443: checking whether ln -s works" >&5
        !          3443: if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
        !          3444:   echo $ac_n "(cached) $ac_c" 1>&6
        !          3445: else
        !          3446:   rm -f conftestdata
        !          3447: if ln -s X conftestdata 2>/dev/null
        !          3448: then
        !          3449:   rm -f conftestdata
        !          3450:   ac_cv_prog_LN_S="ln -s"
        !          3451: else
        !          3452:   ac_cv_prog_LN_S=ln
        !          3453: fi
        !          3454: fi
        !          3455: LN_S="$ac_cv_prog_LN_S"
        !          3456: if test "$ac_cv_prog_LN_S" = "ln -s"; then
        !          3457:   echo "$ac_t""yes" 1>&6
        !          3458: else
        !          3459:   echo "$ac_t""no" 1>&6
        !          3460: fi
        !          3461:
        !          3462: # Find a good install program.  We prefer a C program (faster),
        !          3463: # so one script is as good as another.  But avoid the broken or
        !          3464: # incompatible versions:
        !          3465: # SysV /etc/install, /usr/sbin/install
        !          3466: # SunOS /usr/etc/install
        !          3467: # IRIX /sbin/install
        !          3468: # AIX /bin/install
        !          3469: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
        !          3470: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
        !          3471: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
        !          3472: # ./install, which can be erroneously created by make from ./install.sh.
        !          3473: echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
        !          3474: echo "configure:3475: checking for a BSD compatible install" >&5
        !          3475: if test -z "$INSTALL"; then
        !          3476: if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
        !          3477:   echo $ac_n "(cached) $ac_c" 1>&6
        !          3478: else
        !          3479:     IFS="${IFS=        }"; ac_save_IFS="$IFS"; IFS=":"
        !          3480:   for ac_dir in $PATH; do
        !          3481:     # Account for people who put trailing slashes in PATH elements.
        !          3482:     case "$ac_dir/" in
        !          3483:     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
        !          3484:     *)
        !          3485:       # OSF1 and SCO ODT 3.0 have their own names for install.
        !          3486:       # Don't use installbsd from OSF since it installs stuff as root
        !          3487:       # by default.
        !          3488:       for ac_prog in ginstall scoinst install; do
        !          3489:         if test -f $ac_dir/$ac_prog; then
        !          3490:          if test $ac_prog = install &&
        !          3491:             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
        !          3492:            # AIX install.  It has an incompatible calling convention.
        !          3493:            :
        !          3494:          else
        !          3495:            ac_cv_path_install="$ac_dir/$ac_prog -c"
        !          3496:            break 2
        !          3497:          fi
        !          3498:        fi
        !          3499:       done
        !          3500:       ;;
        !          3501:     esac
        !          3502:   done
        !          3503:   IFS="$ac_save_IFS"
        !          3504:
        !          3505: fi
        !          3506:   if test "${ac_cv_path_install+set}" = set; then
        !          3507:     INSTALL="$ac_cv_path_install"
        !          3508:   else
        !          3509:     # As a last resort, use the slow shell script.  We don't cache a
        !          3510:     # path for INSTALL within a source directory, because that will
        !          3511:     # break other packages using the cache if that directory is
        !          3512:     # removed, or if the path is relative.
        !          3513:     INSTALL="$ac_install_sh"
        !          3514:   fi
        !          3515: fi
        !          3516: echo "$ac_t""$INSTALL" 1>&6
        !          3517:
        !          3518: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
        !          3519: # It thinks the first close brace ends the variable substitution.
        !          3520: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
        !          3521:
        !          3522: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
        !          3523:
        !          3524: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
        !          3525:
        !          3526: if test -z "$no_ranlib"; then
        !          3527:   # Extract the first word of "ranlib", so it can be a program name with args.
        !          3528: set dummy ranlib; ac_word=$2
        !          3529: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
        !          3530: echo "configure:3531: checking for $ac_word" >&5
        !          3531: if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
        !          3532:   echo $ac_n "(cached) $ac_c" 1>&6
        !          3533: else
        !          3534:   if test -n "$RANLIB"; then
        !          3535:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
        !          3536: else
        !          3537:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !          3538:   ac_dummy="$PATH"
        !          3539:   for ac_dir in $ac_dummy; do
        !          3540:     test -z "$ac_dir" && ac_dir=.
        !          3541:     if test -f $ac_dir/$ac_word; then
        !          3542:       ac_cv_prog_RANLIB="ranlib"
        !          3543:       break
        !          3544:     fi
        !          3545:   done
        !          3546:   IFS="$ac_save_ifs"
        !          3547:   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
        !          3548: fi
        !          3549: fi
        !          3550: RANLIB="$ac_cv_prog_RANLIB"
        !          3551: if test -n "$RANLIB"; then
        !          3552:   echo "$ac_t""$RANLIB" 1>&6
        !          3553: else
        !          3554:   echo "$ac_t""no" 1>&6
        !          3555: fi
        !          3556:
        !          3557: else
        !          3558:   RANLIB=":"
        !          3559: fi
        !          3560: for ac_prog in makedepend makedep
        !          3561: do
        !          3562: # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          3563: set dummy $ac_prog; ac_word=$2
        !          3564: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
        !          3565: echo "configure:3566: checking for $ac_word" >&5
        !          3566: if eval "test \"`echo '$''{'ac_cv_prog_MAKEDEP'+set}'`\" = set"; then
        !          3567:   echo $ac_n "(cached) $ac_c" 1>&6
        !          3568: else
        !          3569:   if test -n "$MAKEDEP"; then
        !          3570:   ac_cv_prog_MAKEDEP="$MAKEDEP" # Let the user override the test.
        !          3571: else
        !          3572:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !          3573:   ac_dummy="$PATH"
        !          3574:   for ac_dir in $ac_dummy; do
        !          3575:     test -z "$ac_dir" && ac_dir=.
        !          3576:     if test -f $ac_dir/$ac_word; then
        !          3577:       ac_cv_prog_MAKEDEP="$ac_prog"
        !          3578:       break
        !          3579:     fi
        !          3580:   done
        !          3581:   IFS="$ac_save_ifs"
        !          3582: fi
        !          3583: fi
        !          3584: MAKEDEP="$ac_cv_prog_MAKEDEP"
        !          3585: if test -n "$MAKEDEP"; then
        !          3586:   echo "$ac_t""$MAKEDEP" 1>&6
        !          3587: else
        !          3588:   echo "$ac_t""no" 1>&6
        !          3589: fi
        !          3590:
        !          3591: test -n "$MAKEDEP" && break
        !          3592: done
        !          3593: test -n "$MAKEDEP" || MAKEDEP="makedepend"
        !          3594:
        !          3595: for ac_prog in wish8.0 wish wishx wish4.1 true
        !          3596: do
        !          3597: # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          3598: set dummy $ac_prog; ac_word=$2
        !          3599: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
        !          3600: echo "configure:3601: checking for $ac_word" >&5
        !          3601: if eval "test \"`echo '$''{'ac_cv_path_WISH'+set}'`\" = set"; then
        !          3602:   echo $ac_n "(cached) $ac_c" 1>&6
        !          3603: else
        !          3604:   case "$WISH" in
        !          3605:   /*)
        !          3606:   ac_cv_path_WISH="$WISH" # Let the user override the test with a path.
        !          3607:   ;;
        !          3608:   ?:/*)
        !          3609:   ac_cv_path_WISH="$WISH" # Let the user override the test with a dos path.
        !          3610:   ;;
        !          3611:   *)
        !          3612:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !          3613:   ac_dummy="$PATH"
        !          3614:   for ac_dir in $ac_dummy; do
        !          3615:     test -z "$ac_dir" && ac_dir=.
        !          3616:     if test -f $ac_dir/$ac_word; then
        !          3617:       ac_cv_path_WISH="$ac_dir/$ac_word"
        !          3618:       break
        !          3619:     fi
        !          3620:   done
        !          3621:   IFS="$ac_save_ifs"
        !          3622:   ;;
        !          3623: esac
        !          3624: fi
        !          3625: WISH="$ac_cv_path_WISH"
        !          3626: if test -n "$WISH"; then
        !          3627:   echo "$ac_t""$WISH" 1>&6
        !          3628: else
        !          3629:   echo "$ac_t""no" 1>&6
        !          3630: fi
        !          3631:
        !          3632: test -n "$WISH" && break
        !          3633: done
        !          3634:
        !          3635: if test `basename $WISH` = "true"; then
        !          3636:   echo "configure: warning: the wish program was not found - ssh-askpass will not work." 1>&2
        !          3637:   WISH="/usr/local/bin/wish"
        !          3638: fi
        !          3639: # Extract the first word of "xauth", so it can be a program name with args.
        !          3640: set dummy xauth; ac_word=$2
        !          3641: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
        !          3642: echo "configure:3643: checking for $ac_word" >&5
        !          3643: if eval "test \"`echo '$''{'ac_cv_path_XAUTH_PATH'+set}'`\" = set"; then
        !          3644:   echo $ac_n "(cached) $ac_c" 1>&6
        !          3645: else
        !          3646:   case "$XAUTH_PATH" in
        !          3647:   /*)
        !          3648:   ac_cv_path_XAUTH_PATH="$XAUTH_PATH" # Let the user override the test with a path.
        !          3649:   ;;
        !          3650:   ?:/*)
        !          3651:   ac_cv_path_XAUTH_PATH="$XAUTH_PATH" # Let the user override the test with a dos path.
        !          3652:   ;;
        !          3653:   *)
        !          3654:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !          3655:   ac_dummy="$PATH:/usr/X11R6/bin"
        !          3656:   for ac_dir in $ac_dummy; do
        !          3657:     test -z "$ac_dir" && ac_dir=.
        !          3658:     if test -f $ac_dir/$ac_word; then
        !          3659:       ac_cv_path_XAUTH_PATH="$ac_dir/$ac_word"
        !          3660:       break
        !          3661:     fi
        !          3662:   done
        !          3663:   IFS="$ac_save_ifs"
        !          3664:   ;;
        !          3665: esac
        !          3666: fi
        !          3667: XAUTH_PATH="$ac_cv_path_XAUTH_PATH"
        !          3668: if test -n "$XAUTH_PATH"; then
        !          3669:   echo "$ac_t""$XAUTH_PATH" 1>&6
        !          3670: else
        !          3671:   echo "$ac_t""no" 1>&6
        !          3672: fi
        !          3673:
        !          3674: if test -n "$XAUTH_PATH"; then
        !          3675:   cat >> confdefs.h <<EOF
        !          3676: #define XAUTH_PATH "$XAUTH_PATH"
        !          3677: EOF
        !          3678:
        !          3679: fi
        !          3680:
        !          3681: echo $ac_n "checking for pseudo ttys""... $ac_c" 1>&6
        !          3682: echo "configure:3683: checking for pseudo ttys" >&5
        !          3683: if test -c /dev/ptmx && test -c /dev/pts/0
        !          3684: then
        !          3685:   cat >> confdefs.h <<\EOF
        !          3686: #define HAVE_DEV_PTMX 1
        !          3687: EOF
        !          3688:
        !          3689:   echo "$ac_t""streams ptys" 1>&6
        !          3690: else
        !          3691: if test -c /dev/pts && test -c /dev/ptc
        !          3692: then
        !          3693:   cat >> confdefs.h <<\EOF
        !          3694: #define HAVE_DEV_PTS_AND_PTC 1
        !          3695: EOF
        !          3696:
        !          3697:   echo "$ac_t""/dev/pts and /dev/ptc" 1>&6
        !          3698: else
        !          3699:   echo "$ac_t""bsd-style ptys" 1>&6
        !          3700: fi
        !          3701: fi
        !          3702:
        !          3703: echo $ac_n "checking for /etc/default/login""... $ac_c" 1>&6
        !          3704: echo "configure:3705: checking for /etc/default/login" >&5
        !          3705: if test -f /etc/default/login; then
        !          3706:   cat >> confdefs.h <<\EOF
        !          3707: #define HAVE_ETC_DEFAULT_LOGIN 1
        !          3708: EOF
        !          3709:
        !          3710:   echo "$ac_t""yes" 1>&6
        !          3711: else
        !          3712:   echo "$ac_t""no" 1>&6
        !          3713: fi
        !          3714:
        !          3715: if test -z "$no_shadows_password_checking"; then
        !          3716:   echo $ac_n "checking for shadow passwords""... $ac_c" 1>&6
        !          3717: echo "configure:3718: checking for shadow passwords" >&5
        !          3718:   if test -f /etc/shadow; then
        !          3719:     cat >> confdefs.h <<\EOF
        !          3720: #define HAVE_ETC_SHADOW 1
        !          3721: EOF
        !          3722:
        !          3723:     echo "$ac_t""/etc/shadow" 1>&6
        !          3724:   elif test -n "$os_aix"; then
        !          3725:     cat >> confdefs.h <<\EOF
        !          3726: #define HAVE_ETC_SECURITY_PASSWD 1
        !          3727: EOF
        !          3728:
        !          3729:     echo "$ac_t""/etc/security/passwd" 1>&6
        !          3730:   elif test -n "$os_sunos"; then
        !          3731:     cat >> confdefs.h <<\EOF
        !          3732: #define HAVE_ETC_SECURITY_PASSWD_ADJUNCT 1
        !          3733: EOF
        !          3734:
        !          3735:     echo "$ac_t""/etc/security/passwd.adjunct" 1>&6
        !          3736:   else
        !          3737:     echo "$ac_t""no" 1>&6
        !          3738:   fi
        !          3739: fi
        !          3740:
        !          3741: echo $ac_n "checking location of mail spool files""... $ac_c" 1>&6
        !          3742: echo "configure:3743: checking location of mail spool files" >&5
        !          3743: for dir in /var/spool/mail /var/mail /usr/spool/mail /usr/mail NEWMAIL
        !          3744: do
        !          3745:   if test "$dir" = "NEWMAIL"; then
        !          3746:     cat >> confdefs.h <<\EOF
        !          3747: #define HAVE_TILDE_NEWMAIL 1
        !          3748: EOF
        !          3749:
        !          3750:     echo "$ac_t""\$HOME/newmail" 1>&6
        !          3751:     echo "configure: warning: mail spool directory was not found: assuming you use \$HOME/newmail" 1>&2
        !          3752:   elif test -d $dir; then
        !          3753:     cat >> confdefs.h <<EOF
        !          3754: #define MAIL_SPOOL_DIRECTORY "$dir"
        !          3755: EOF
        !          3756:
        !          3757:     echo "$ac_t""$dir" 1>&6
        !          3758:     break
        !          3759:   fi
        !          3760: done
        !          3761:
        !          3762: echo $ac_n "checking location of utmp""... $ac_c" 1>&6
        !          3763: echo "configure:3764: checking location of utmp" >&5
        !          3764: if test -f /var/run/utmp; then
        !          3765:   cat >> confdefs.h <<\EOF
        !          3766: #define SSH_UTMP "/var/run/utmp"
        !          3767: EOF
        !          3768:
        !          3769:   echo "$ac_t""/var/run/utmp" 1>&6
        !          3770: elif test -f /var/log/utmp; then
        !          3771:   cat >> confdefs.h <<\EOF
        !          3772: #define SSH_UTMP "/var/log/utmp"
        !          3773: EOF
        !          3774:
        !          3775:   echo "$ac_t""/var/log/utmp" 1>&6
        !          3776: elif test -f /var/adm/utmp; then
        !          3777:   cat >> confdefs.h <<\EOF
        !          3778: #define SSH_UTMP "/var/adm/utmp"
        !          3779: EOF
        !          3780:
        !          3781:   echo "$ac_t""/var/adm/utmp" 1>&6
        !          3782: elif test -f /usr/adm/utmp; then
        !          3783:   cat >> confdefs.h <<\EOF
        !          3784: #define SSH_UTMP "/usr/adm/utmp"
        !          3785: EOF
        !          3786:
        !          3787:   echo "$ac_t""/usr/adm/utmp" 1>&6
        !          3788: elif test -f /etc/utmp; then
        !          3789:   cat >> confdefs.h <<\EOF
        !          3790: #define SSH_UTMP "/etc/utmp"
        !          3791: EOF
        !          3792:
        !          3793:   echo "$ac_t""/etc/utmp" 1>&6
        !          3794: else
        !          3795:   echo "$ac_t""not found" 1>&6
        !          3796: fi
        !          3797:
        !          3798: echo $ac_n "checking location of wtmp""... $ac_c" 1>&6
        !          3799: echo "configure:3800: checking location of wtmp" >&5
        !          3800: if test -f /var/log/wtmp; then
        !          3801:   cat >> confdefs.h <<\EOF
        !          3802: #define SSH_WTMP "/var/log/wtmp"
        !          3803: EOF
        !          3804:
        !          3805:   echo "$ac_t""/var/log/wtmp" 1>&6
        !          3806: elif test -f /var/adm/wtmp; then
        !          3807:   cat >> confdefs.h <<\EOF
        !          3808: #define SSH_WTMP "/var/adm/wtmp"
        !          3809: EOF
        !          3810:
        !          3811:   echo "$ac_t""/var/adm/wtmp" 1>&6
        !          3812: elif test -f /usr/adm/wtmp; then
        !          3813:   cat >> confdefs.h <<\EOF
        !          3814: #define SSH_WTMP "/usr/adm/wtmp"
        !          3815: EOF
        !          3816:
        !          3817:   echo "$ac_t""/usr/adm/wtmp" 1>&6
        !          3818: elif test -f /etc/wtmp; then
        !          3819:   cat >> confdefs.h <<\EOF
        !          3820: #define SSH_WTMP "/etc/wtmp"
        !          3821: EOF
        !          3822:
        !          3823:   echo "$ac_t""/etc/wtmp" 1>&6
        !          3824: else
        !          3825:   cat >> confdefs.h <<\EOF
        !          3826: #define SSH_WTMP "/var/adm/wtmp"
        !          3827: EOF
        !          3828:
        !          3829:   echo "$ac_t""not found" 1>&6
        !          3830: fi
        !          3831:
        !          3832: echo $ac_n "checking location of lastlog""... $ac_c" 1>&6
        !          3833: echo "configure:3834: checking location of lastlog" >&5
        !          3834: if test -f /var/log/lastlog || test -d /var/log/lastlog; then
        !          3835:   cat >> confdefs.h <<\EOF
        !          3836: #define SSH_LASTLOG "/var/log/lastlog"
        !          3837: EOF
        !          3838:
        !          3839:   cat >> confdefs.h <<\EOF
        !          3840: #define HAVE_LASTLOG 1
        !          3841: EOF
        !          3842:
        !          3843:   LASTLOG=/var/log/lastlog
        !          3844:   echo "$ac_t""/var/log/lastlog" 1>&6
        !          3845: elif test -f /var/adm/lastlog || test -d /var/adm/lastlog; then
        !          3846:   cat >> confdefs.h <<\EOF
        !          3847: #define SSH_LASTLOG "/var/adm/lastlog"
        !          3848: EOF
        !          3849:
        !          3850:   cat >> confdefs.h <<\EOF
        !          3851: #define HAVE_LASTLOG 1
        !          3852: EOF
        !          3853:
        !          3854:   LASTLOG=/var/adm/lastlog
        !          3855:   echo "$ac_t""/var/adm/lastlog" 1>&6
        !          3856: elif test -f /usr/adm/lastlog || test -d /usr/adm/lastlog; then
        !          3857:   cat >> confdefs.h <<\EOF
        !          3858: #define SSH_LASTLOG "/usr/adm/lastlog"
        !          3859: EOF
        !          3860:
        !          3861:   cat >> confdefs.h <<\EOF
        !          3862: #define HAVE_LASTLOG 1
        !          3863: EOF
        !          3864:
        !          3865:   LASTLOG=/usr/adm/lastlog
        !          3866:   echo "$ac_t""/usr/adm/lastlog" 1>&6
        !          3867: elif test -f /etc/lastlog || test -d /etc/lastlog; then
        !          3868:   cat >> confdefs.h <<\EOF
        !          3869: #define SSH_LASTLOG "/etc/lastlog"
        !          3870: EOF
        !          3871:
        !          3872:   cat >> confdefs.h <<\EOF
        !          3873: #define HAVE_LASTLOG 1
        !          3874: EOF
        !          3875:
        !          3876:   LASTLOG=/etc/lastlog
        !          3877:   echo "$ac_t""/etc/lastlog" 1>&6
        !          3878: else
        !          3879:   echo "$ac_t""not found" 1>&6
        !          3880:   cat >> confdefs.h <<\EOF
        !          3881: #define SSH_LASTLOG "/var/log/lastlog"
        !          3882: EOF
        !          3883:
        !          3884:   LASTLOG=/var/log/lastlog
        !          3885: fi
        !          3886:
        !          3887: echo $ac_n "checking whether $LASTLOG is a directory""... $ac_c" 1>&6
        !          3888: echo "configure:3889: checking whether $LASTLOG is a directory" >&5
        !          3889: if test -d $LASTLOG
        !          3890: then
        !          3891:   echo "$ac_t""yes" 1>&6
        !          3892:   cat >> confdefs.h <<\EOF
        !          3893: #define LASTLOG_IS_DIR 1
        !          3894: EOF
        !          3895:
        !          3896: else
        !          3897:   echo "$ac_t""no" 1>&6
        !          3898: fi
        !          3899:
        !          3900: echo $ac_n "checking whether to include the IDEA encryption algorithm""... $ac_c" 1>&6
        !          3901: echo "configure:3902: checking whether to include the IDEA encryption algorithm" >&5
        !          3902: # Check whether --with-idea or --without-idea was given.
        !          3903: if test "${with_idea+set}" = set; then
        !          3904:   withval="$with_idea"
        !          3905:    case "$withval" in
        !          3906:   yes)
        !          3907:     echo "$ac_t""yes" 1>&6
        !          3908:     CONFOBJS="$CONFOBJS idea.o"
        !          3909:     cat >> confdefs.h <<\EOF
        !          3910: #define WITH_IDEA 1
        !          3911: EOF
        !          3912:
        !          3913:     ;;
        !          3914:   *)
        !          3915:     echo "$ac_t""no" 1>&6
        !          3916:     ;;
        !          3917:   esac
        !          3918: else
        !          3919:   echo "$ac_t""no" 1>&6
        !          3920:
        !          3921: fi
        !          3922:
        !          3923:
        !          3924: echo $ac_n "checking whether to include the RC4 encryption algorithm""... $ac_c" 1>&6
        !          3925: echo "configure:3926: checking whether to include the RC4 encryption algorithm" >&5
        !          3926: # Check whether --with-rc4 or --without-rc4 was given.
        !          3927: if test "${with_rc4+set}" = set; then
        !          3928:   withval="$with_rc4"
        !          3929:    case "$withval" in
        !          3930:   yes)
        !          3931:     echo "$ac_t""yes" 1>&6
        !          3932:     CONFOBJS="$CONFOBJS rc4.o"
        !          3933:     cat >> confdefs.h <<\EOF
        !          3934: #define WITH_RC4 1
        !          3935: EOF
        !          3936:
        !          3937:     ;;
        !          3938:   *)
        !          3939:     echo "$ac_t""no" 1>&6
        !          3940:     ;;
        !          3941:   esac
        !          3942: else
        !          3943:   echo "$ac_t""no" 1>&6
        !          3944:
        !          3945: fi
        !          3946:
        !          3947:
        !          3948: echo $ac_n "checking whether to include the Blowfish encryption algorithm""... $ac_c" 1>&6
        !          3949: echo "configure:3950: checking whether to include the Blowfish encryption algorithm" >&5
        !          3950: # Check whether --with-blowfish or --without-blowfish was given.
        !          3951: if test "${with_blowfish+set}" = set; then
        !          3952:   withval="$with_blowfish"
        !          3953:    case "$withval" in
        !          3954:   no)
        !          3955:     ;;
        !          3956:   *)
        !          3957:     with_blowfish=yes
        !          3958:     ;;
        !          3959:   esac
        !          3960: else
        !          3961:   with_blowfish=yes
        !          3962:
        !          3963: fi
        !          3964:
        !          3965:
        !          3966: case "$with_blowfish" in
        !          3967: yes)
        !          3968:     cat >> confdefs.h <<\EOF
        !          3969: #define WITH_BLOWFISH 1
        !          3970: EOF
        !          3971:
        !          3972:     CONFOBJS="$CONFOBJS bf_skey.o bf_enc.o"
        !          3973:     echo "$ac_t""yes" 1>&6
        !          3974:     ;;
        !          3975: no)
        !          3976:     echo "$ac_t""no" 1>&6
        !          3977:     ;;
        !          3978: esac
        !          3979:
        !          3980: echo $ac_n "checking whether to use rsaref""... $ac_c" 1>&6
        !          3981: echo "configure:3982: checking whether to use rsaref" >&5
        !          3982: # Check whether --with-rsaref or --without-rsaref was given.
        !          3983: if test "${with_rsaref+set}" = set; then
        !          3984:   withval="$with_rsaref"
        !          3985:    case "$withval" in
        !          3986:   no)
        !          3987:        echo "$ac_t""no" 1>&6
        !          3988:        ;;
        !          3989:   *)
        !          3990:        echo "$ac_t""yes" 1>&6
        !          3991:        cat >> confdefs.h <<\EOF
        !          3992: #define RSAREF 1
        !          3993: EOF
        !          3994:
        !          3995:        RSAREFDEP="rsaref2/source/librsaref.a"
        !          3996:        LIBS="-lrsaref $LIBS"
        !          3997:        LDFLAGS="-Lrsaref2/source $LDFLAGS"
        !          3998:        ;;
        !          3999:   esac
        !          4000: else
        !          4001:   echo "$ac_t""no" 1>&6
        !          4002:
        !          4003: fi
        !          4004:
        !          4005:
        !          4006: echo $ac_n "checking whether to use ssl""... $ac_c" 1>&6
        !          4007: echo "configure:4008: checking whether to use ssl" >&5
        !          4008: # Check whether --with-ssl or --without-ssl was given.
        !          4009: if test "${with_ssl+set}" = set; then
        !          4010:   withval="$with_ssl"
        !          4011:    case "$withval" in
        !          4012:   no)
        !          4013:        echo "$ac_t""no" 1>&6
        !          4014:        ;;
        !          4015:   *)
        !          4016:        echo "$ac_t""yes" 1>&6
        !          4017:        cat >> confdefs.h <<\EOF
        !          4018: #define DO_SSL 1
        !          4019: EOF
        !          4020:
        !          4021:        LIBS="-lcrypto $LIBS"
        !          4022:        ;;
        !          4023:   esac
        !          4024: else
        !          4025:   echo "$ac_t""no" 1>&6
        !          4026:
        !          4027: fi
        !          4028:
        !          4029:
        !          4030: echo $ac_n "checking whether to use rsh""... $ac_c" 1>&6
        !          4031: echo "configure:4032: checking whether to use rsh" >&5
        !          4032: # Check whether --with-rsh or --without-rsh was given.
        !          4033: if test "${with_rsh+set}" = set; then
        !          4034:   withval="$with_rsh"
        !          4035:    case "$withval" in
        !          4036:     no)
        !          4037:         echo "$ac_t""no" 1>&6
        !          4038:        ;;
        !          4039:     yes)
        !          4040:         echo "$ac_t""yes" 1>&6
        !          4041:         for ac_prog in remsh rsh
        !          4042: do
        !          4043: # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          4044: set dummy $ac_prog; ac_word=$2
        !          4045: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
        !          4046: echo "configure:4047: checking for $ac_word" >&5
        !          4047: if eval "test \"`echo '$''{'ac_cv_path_RSH_PATH'+set}'`\" = set"; then
        !          4048:   echo $ac_n "(cached) $ac_c" 1>&6
        !          4049: else
        !          4050:   case "$RSH_PATH" in
        !          4051:   /*)
        !          4052:   ac_cv_path_RSH_PATH="$RSH_PATH" # Let the user override the test with a path.
        !          4053:   ;;
        !          4054:   ?:/*)
        !          4055:   ac_cv_path_RSH_PATH="$RSH_PATH" # Let the user override the test with a dos path.
        !          4056:   ;;
        !          4057:   *)
        !          4058:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !          4059:   ac_dummy="$PATH"
        !          4060:   for ac_dir in $ac_dummy; do
        !          4061:     test -z "$ac_dir" && ac_dir=.
        !          4062:     if test -f $ac_dir/$ac_word; then
        !          4063:       ac_cv_path_RSH_PATH="$ac_dir/$ac_word"
        !          4064:       break
        !          4065:     fi
        !          4066:   done
        !          4067:   IFS="$ac_save_ifs"
        !          4068:   ;;
        !          4069: esac
        !          4070: fi
        !          4071: RSH_PATH="$ac_cv_path_RSH_PATH"
        !          4072: if test -n "$RSH_PATH"; then
        !          4073:   echo "$ac_t""$RSH_PATH" 1>&6
        !          4074: else
        !          4075:   echo "$ac_t""no" 1>&6
        !          4076: fi
        !          4077:
        !          4078: test -n "$RSH_PATH" && break
        !          4079: done
        !          4080:
        !          4081:          cat >> confdefs.h <<EOF
        !          4082: #define RSH_PATH "$RSH_PATH"
        !          4083: EOF
        !          4084:
        !          4085:        ;;
        !          4086:     *)
        !          4087:        echo "$ac_t""$withval" 1>&6
        !          4088:        cat >> confdefs.h <<EOF
        !          4089: #define RSH_PATH "$withval"
        !          4090: EOF
        !          4091:
        !          4092:        ;;
        !          4093:   esac
        !          4094: else
        !          4095:    echo "$ac_t""yes" 1>&6
        !          4096:     for ac_prog in remsh rsh
        !          4097: do
        !          4098: # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          4099: set dummy $ac_prog; ac_word=$2
        !          4100: echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
        !          4101: echo "configure:4102: checking for $ac_word" >&5
        !          4102: if eval "test \"`echo '$''{'ac_cv_path_RSH_PATH'+set}'`\" = set"; then
        !          4103:   echo $ac_n "(cached) $ac_c" 1>&6
        !          4104: else
        !          4105:   case "$RSH_PATH" in
        !          4106:   /*)
        !          4107:   ac_cv_path_RSH_PATH="$RSH_PATH" # Let the user override the test with a path.
        !          4108:   ;;
        !          4109:   ?:/*)
        !          4110:   ac_cv_path_RSH_PATH="$RSH_PATH" # Let the user override the test with a dos path.
        !          4111:   ;;
        !          4112:   *)
        !          4113:   IFS="${IFS=  }"; ac_save_ifs="$IFS"; IFS=":"
        !          4114:   ac_dummy="$PATH"
        !          4115:   for ac_dir in $ac_dummy; do
        !          4116:     test -z "$ac_dir" && ac_dir=.
        !          4117:     if test -f $ac_dir/$ac_word; then
        !          4118:       ac_cv_path_RSH_PATH="$ac_dir/$ac_word"
        !          4119:       break
        !          4120:     fi
        !          4121:   done
        !          4122:   IFS="$ac_save_ifs"
        !          4123:   ;;
        !          4124: esac
        !          4125: fi
        !          4126: RSH_PATH="$ac_cv_path_RSH_PATH"
        !          4127: if test -n "$RSH_PATH"; then
        !          4128:   echo "$ac_t""$RSH_PATH" 1>&6
        !          4129: else
        !          4130:   echo "$ac_t""no" 1>&6
        !          4131: fi
        !          4132:
        !          4133: test -n "$RSH_PATH" && break
        !          4134: done
        !          4135:
        !          4136:     cat >> confdefs.h <<EOF
        !          4137: #define RSH_PATH "$RSH_PATH"
        !          4138: EOF
        !          4139:
        !          4140:
        !          4141: fi
        !          4142:
        !          4143:
        !          4144: # Code to permit setting default path for users (alden@math.ohio-state.edu)
        !          4145: echo $ac_n "checking default path""... $ac_c" 1>&6
        !          4146: echo "configure:4147: checking default path" >&5
        !          4147: # Check whether --with-path or --without-path was given.
        !          4148: if test "${with_path+set}" = set; then
        !          4149:   withval="$with_path"
        !          4150:    case "$withval" in
        !          4151:   no)
        !          4152:     echo "$ac_t""use system default" 1>&6
        !          4153:     ;;
        !          4154:   *)
        !          4155:     echo "$ac_t""$withval" 1>&6
        !          4156:     cat >> confdefs.h <<EOF
        !          4157: #define DEFAULT_PATH "$withval"
        !          4158: EOF
        !          4159:
        !          4160:     ;;
        !          4161:   esac
        !          4162: else
        !          4163:   echo "$ac_t""use system default" 1>&6
        !          4164:
        !          4165: fi
        !          4166:
        !          4167:
        !          4168: echo $ac_n "checking etcdir""... $ac_c" 1>&6
        !          4169: echo "configure:4170: checking etcdir" >&5
        !          4170: # Check whether --with-etcdir or --without-etcdir was given.
        !          4171: if test "${with_etcdir+set}" = set; then
        !          4172:   withval="$with_etcdir"
        !          4173:    case "$withval" in
        !          4174:   no)
        !          4175:     { echo "configure: error: Need ETCDIR." 1>&2; exit 1; }
        !          4176:     ;;
        !          4177:   yes)
        !          4178:     ETCDIR="/etc"
        !          4179:     echo "$ac_t""/etc" 1>&6
        !          4180:     ;;
        !          4181:   *)
        !          4182:     ETCDIR="$withval"
        !          4183:     echo "$ac_t""$withval" 1>&6
        !          4184:     ;;
        !          4185:   esac
        !          4186: else
        !          4187:   ETCDIR="/etc"
        !          4188:   echo "$ac_t""/etc" 1>&6
        !          4189:
        !          4190: fi
        !          4191:
        !          4192:
        !          4193: echo $ac_n "checking whether to support SecurID""... $ac_c" 1>&6
        !          4194: echo "configure:4195: checking whether to support SecurID" >&5
        !          4195: # Check whether --with-securid or --without-securid was given.
        !          4196: if test "${with_securid+set}" = set; then
        !          4197:   withval="$with_securid"
        !          4198:    case "$withval" in
        !          4199:   no)
        !          4200:     echo "$ac_t""no" 1>&6
        !          4201:     ;;
        !          4202:   yes)
        !          4203:     echo "$ac_t""yes" 1>&6
        !          4204:     if test '!' -f /usr/ace/sdiclient.a; then
        !          4205:       { echo "configure: error: SecurID sdiclient.a not found in /usr/ace: you must supply the path." 1>&2; exit 1; }
        !          4206:     fi
        !          4207:     echo "$ac_t""yes" 1>&6
        !          4208:     echo "$ac_t""Assuming SecurID headers and libraries are in /usr/ace." 1>&6
        !          4209:     cat >> confdefs.h <<\EOF
        !          4210: #define HAVE_SECURID 1
        !          4211: EOF
        !          4212:
        !          4213:     CFLAGS="$CFLAGS -I/usr/ace"
        !          4214:     LIBS="/usr/ace/sdiclient.a $LIBS"
        !          4215:     ;;
        !          4216:   *)
        !          4217:     echo "$ac_t""yes" 1>&6
        !          4218:     if test '!' -f $withval/sdiclient.a; then
        !          4219:       { echo "configure: error: SecurID sdiclient.a not found in $withval: please supply the correct path." 1>&2; exit 1; }
        !          4220:     fi
        !          4221:     echo "$ac_t""Assuming SecurID headers and libraries are in $withval." 1>&6
        !          4222:     cat >> confdefs.h <<\EOF
        !          4223: #define HAVE_SECURID 1
        !          4224: EOF
        !          4225:
        !          4226:     CFLAGS="$CFLAGS -I$withval"
        !          4227:     LIBS="$withval/sdiclient.a $LIBS"
        !          4228:     ;;
        !          4229:   esac
        !          4230: else
        !          4231:   echo "$ac_t""no" 1>&6
        !          4232:
        !          4233: fi
        !          4234:
        !          4235:
        !          4236: echo $ac_n "checking whether to include compression support""... $ac_c" 1>&6
        !          4237: echo "configure:4238: checking whether to include compression support" >&5
        !          4238: # Check whether --with-zlib or --without-zlib was given.
        !          4239: if test "${with_zlib+set}" = set; then
        !          4240:   withval="$with_zlib"
        !          4241:    case "$withval" in
        !          4242:   no)
        !          4243:     ;;
        !          4244:   *)
        !          4245:     with_zlib=yes
        !          4246:     ;;
        !          4247:   esac
        !          4248: else
        !          4249:   with_zlib=yes
        !          4250:
        !          4251: fi
        !          4252:
        !          4253:
        !          4254: case "$with_zlib" in
        !          4255: yes)
        !          4256:     echo "$ac_t""yes" 1>&6
        !          4257:     for ac_hdr in zlib.h
        !          4258: do
        !          4259: ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
        !          4260: echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
        !          4261: echo "configure:4262: checking for $ac_hdr" >&5
        !          4262: if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
        !          4263:   echo $ac_n "(cached) $ac_c" 1>&6
        !          4264: else
        !          4265:   cat > conftest.$ac_ext <<EOF
        !          4266: #line 4267 "configure"
        !          4267: #include "confdefs.h"
        !          4268: #include <$ac_hdr>
        !          4269: EOF
        !          4270: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          4271: { (eval echo configure:4272: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          4272: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          4273: if test -z "$ac_err"; then
        !          4274:   rm -rf conftest*
        !          4275:   eval "ac_cv_header_$ac_safe=yes"
        !          4276: else
        !          4277:   echo "$ac_err" >&5
        !          4278:   echo "configure: failed program was:" >&5
        !          4279:   cat conftest.$ac_ext >&5
        !          4280:   rm -rf conftest*
        !          4281:   eval "ac_cv_header_$ac_safe=no"
        !          4282: fi
        !          4283: rm -f conftest*
        !          4284: fi
        !          4285: if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
        !          4286:   echo "$ac_t""yes" 1>&6
        !          4287:     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
        !          4288:   cat >> confdefs.h <<EOF
        !          4289: #define $ac_tr_hdr 1
        !          4290: EOF
        !          4291:
        !          4292: else
        !          4293:   echo "$ac_t""no" 1>&6
        !          4294: fi
        !          4295: done
        !          4296:
        !          4297:     if test "$ac_cv_header_zlib_h" != yes; then
        !          4298:       echo "Can't find zlib.h, disable with --without-zlib"
        !          4299:       exit 1
        !          4300:     fi
        !          4301:     echo $ac_n "checking for main in -lz""... $ac_c" 1>&6
        !          4302: echo "configure:4303: checking for main in -lz" >&5
        !          4303: ac_lib_var=`echo z'_'main | sed 'y%./+-%__p_%'`
        !          4304: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          4305:   echo $ac_n "(cached) $ac_c" 1>&6
        !          4306: else
        !          4307:   ac_save_LIBS="$LIBS"
        !          4308: LIBS="-lz  $LIBS"
        !          4309: cat > conftest.$ac_ext <<EOF
        !          4310: #line 4311 "configure"
        !          4311: #include "confdefs.h"
        !          4312:
        !          4313: int main() {
        !          4314: main()
        !          4315: ; return 0; }
        !          4316: EOF
        !          4317: if { (eval echo configure:4318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          4318:   rm -rf conftest*
        !          4319:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          4320: else
        !          4321:   echo "configure: failed program was:" >&5
        !          4322:   cat conftest.$ac_ext >&5
        !          4323:   rm -rf conftest*
        !          4324:   eval "ac_cv_lib_$ac_lib_var=no"
        !          4325: fi
        !          4326: rm -f conftest*
        !          4327: LIBS="$ac_save_LIBS"
        !          4328:
        !          4329: fi
        !          4330: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          4331:   echo "$ac_t""yes" 1>&6
        !          4332:     ac_tr_lib=HAVE_LIB`echo z | sed -e 's/[^a-zA-Z0-9_]/_/g' \
        !          4333:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
        !          4334:   cat >> confdefs.h <<EOF
        !          4335: #define $ac_tr_lib 1
        !          4336: EOF
        !          4337:
        !          4338:   LIBS="-lz $LIBS"
        !          4339:
        !          4340: else
        !          4341:   echo "$ac_t""no" 1>&6
        !          4342: fi
        !          4343:
        !          4344:     if test "$ac_cv_lib_z_main" != yes; then
        !          4345:       echo "Can't find library z (libz.a), disable with --without-zlib"
        !          4346:       exit 1
        !          4347:     fi
        !          4348:     CONFOBJS="$CONFOBJS compress.o"
        !          4349:     cat >> confdefs.h <<\EOF
        !          4350: #define WITH_ZLIB 1
        !          4351: EOF
        !          4352:
        !          4353:     ;;
        !          4354: no)
        !          4355:     echo "$ac_t""no" 1>&6
        !          4356:     ;;
        !          4357: esac
        !          4358:
        !          4359: echo $ac_n "checking whether to use Kerberos v4""... $ac_c" 1>&6
        !          4360: echo "configure:4361: checking whether to use Kerberos v4" >&5
        !          4361: # Check whether --with-krb4 or --without-krb4 was given.
        !          4362: if test "${with_krb4+set}" = set; then
        !          4363:   withval="$with_krb4"
        !          4364:    case "$withval" in
        !          4365:   yes)
        !          4366:     ;;
        !          4367:   no)
        !          4368:     ;;
        !          4369:   *)
        !          4370:     ;;
        !          4371:   esac
        !          4372: else
        !          4373:    with_krb4=default
        !          4374:
        !          4375: fi
        !          4376:
        !          4377: # krb4 continued
        !          4378: case "$with_krb4" in
        !          4379: no)
        !          4380:   echo "$ac_t""no" 1>&6
        !          4381:   ;;
        !          4382: yes)
        !          4383:   echo "$ac_t""yes" 1>&6
        !          4384:   for ac_hdr in krb.h
        !          4385: do
        !          4386: ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
        !          4387: echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
        !          4388: echo "configure:4389: checking for $ac_hdr" >&5
        !          4389: if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
        !          4390:   echo $ac_n "(cached) $ac_c" 1>&6
        !          4391: else
        !          4392:   cat > conftest.$ac_ext <<EOF
        !          4393: #line 4394 "configure"
        !          4394: #include "confdefs.h"
        !          4395: #include <$ac_hdr>
        !          4396: EOF
        !          4397: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          4398: { (eval echo configure:4399: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          4399: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          4400: if test -z "$ac_err"; then
        !          4401:   rm -rf conftest*
        !          4402:   eval "ac_cv_header_$ac_safe=yes"
        !          4403: else
        !          4404:   echo "$ac_err" >&5
        !          4405:   echo "configure: failed program was:" >&5
        !          4406:   cat conftest.$ac_ext >&5
        !          4407:   rm -rf conftest*
        !          4408:   eval "ac_cv_header_$ac_safe=no"
        !          4409: fi
        !          4410: rm -f conftest*
        !          4411: fi
        !          4412: if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
        !          4413:   echo "$ac_t""yes" 1>&6
        !          4414:     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
        !          4415:   cat >> confdefs.h <<EOF
        !          4416: #define $ac_tr_hdr 1
        !          4417: EOF
        !          4418:
        !          4419: else
        !          4420:   echo "$ac_t""no" 1>&6
        !          4421: fi
        !          4422: done
        !          4423:
        !          4424:   if test "$ac_cv_header_krb_h" != yes; then
        !          4425:     echo "Can't find include file krb.h! Aborting!"
        !          4426:     exit 1
        !          4427:   fi
        !          4428:   echo $ac_n "checking for main in -lkrb""... $ac_c" 1>&6
        !          4429: echo "configure:4430: checking for main in -lkrb" >&5
        !          4430: ac_lib_var=`echo krb'_'main | sed 'y%./+-%__p_%'`
        !          4431: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          4432:   echo $ac_n "(cached) $ac_c" 1>&6
        !          4433: else
        !          4434:   ac_save_LIBS="$LIBS"
        !          4435: LIBS="-lkrb  $LIBS"
        !          4436: cat > conftest.$ac_ext <<EOF
        !          4437: #line 4438 "configure"
        !          4438: #include "confdefs.h"
        !          4439:
        !          4440: int main() {
        !          4441: main()
        !          4442: ; return 0; }
        !          4443: EOF
        !          4444: if { (eval echo configure:4445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          4445:   rm -rf conftest*
        !          4446:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          4447: else
        !          4448:   echo "configure: failed program was:" >&5
        !          4449:   cat conftest.$ac_ext >&5
        !          4450:   rm -rf conftest*
        !          4451:   eval "ac_cv_lib_$ac_lib_var=no"
        !          4452: fi
        !          4453: rm -f conftest*
        !          4454: LIBS="$ac_save_LIBS"
        !          4455:
        !          4456: fi
        !          4457: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          4458:   echo "$ac_t""yes" 1>&6
        !          4459:     ac_tr_lib=HAVE_LIB`echo krb | sed -e 's/[^a-zA-Z0-9_]/_/g' \
        !          4460:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
        !          4461:   cat >> confdefs.h <<EOF
        !          4462: #define $ac_tr_lib 1
        !          4463: EOF
        !          4464:
        !          4465:   LIBS="-lkrb $LIBS"
        !          4466:
        !          4467: else
        !          4468:   echo "$ac_t""no" 1>&6
        !          4469: fi
        !          4470:
        !          4471:   if test "$ac_cv_lib_krb_main" != yes; then
        !          4472:     echo "Can't find library krb (libkrb.a)! Aborting"
        !          4473:     exit 1
        !          4474:   fi
        !          4475:   cat >> confdefs.h <<\EOF
        !          4476: #define KRB4 1
        !          4477: EOF
        !          4478:
        !          4479:   KRB4_AUTH="auth-krb4.o"
        !          4480:   KRB4_ROOT=""
        !          4481:   KRB4_INCS=""
        !          4482:   KRB4_LIBS="-lkrb -ldes"
        !          4483:   echo $ac_n "checking for dn_expand in -lresolv""... $ac_c" 1>&6
        !          4484: echo "configure:4485: checking for dn_expand in -lresolv" >&5
        !          4485: ac_lib_var=`echo resolv'_'dn_expand | sed 'y%./+-%__p_%'`
        !          4486: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          4487:   echo $ac_n "(cached) $ac_c" 1>&6
        !          4488: else
        !          4489:   ac_save_LIBS="$LIBS"
        !          4490: LIBS="-lresolv  $LIBS"
        !          4491: cat > conftest.$ac_ext <<EOF
        !          4492: #line 4493 "configure"
        !          4493: #include "confdefs.h"
        !          4494: /* Override any gcc2 internal prototype to avoid an error.  */
        !          4495: /* We use char because int might match the return type of a gcc2
        !          4496:     builtin and then its argument prototype would still apply.  */
        !          4497: char dn_expand();
        !          4498:
        !          4499: int main() {
        !          4500: dn_expand()
        !          4501: ; return 0; }
        !          4502: EOF
        !          4503: if { (eval echo configure:4504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          4504:   rm -rf conftest*
        !          4505:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          4506: else
        !          4507:   echo "configure: failed program was:" >&5
        !          4508:   cat conftest.$ac_ext >&5
        !          4509:   rm -rf conftest*
        !          4510:   eval "ac_cv_lib_$ac_lib_var=no"
        !          4511: fi
        !          4512: rm -f conftest*
        !          4513: LIBS="$ac_save_LIBS"
        !          4514:
        !          4515: fi
        !          4516: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          4517:   echo "$ac_t""yes" 1>&6
        !          4518:   KRB4_LIBS="$KRB4_LIBS -lresolv"
        !          4519: else
        !          4520:   echo "$ac_t""no" 1>&6
        !          4521: fi
        !          4522:
        !          4523:   ;;
        !          4524: default)
        !          4525:   for ac_hdr in krb.h
        !          4526: do
        !          4527: ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
        !          4528: echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
        !          4529: echo "configure:4530: checking for $ac_hdr" >&5
        !          4530: if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
        !          4531:   echo $ac_n "(cached) $ac_c" 1>&6
        !          4532: else
        !          4533:   cat > conftest.$ac_ext <<EOF
        !          4534: #line 4535 "configure"
        !          4535: #include "confdefs.h"
        !          4536: #include <$ac_hdr>
        !          4537: EOF
        !          4538: ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
        !          4539: { (eval echo configure:4540: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
        !          4540: ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
        !          4541: if test -z "$ac_err"; then
        !          4542:   rm -rf conftest*
        !          4543:   eval "ac_cv_header_$ac_safe=yes"
        !          4544: else
        !          4545:   echo "$ac_err" >&5
        !          4546:   echo "configure: failed program was:" >&5
        !          4547:   cat conftest.$ac_ext >&5
        !          4548:   rm -rf conftest*
        !          4549:   eval "ac_cv_header_$ac_safe=no"
        !          4550: fi
        !          4551: rm -f conftest*
        !          4552: fi
        !          4553: if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
        !          4554:   echo "$ac_t""yes" 1>&6
        !          4555:     ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
        !          4556:   cat >> confdefs.h <<EOF
        !          4557: #define $ac_tr_hdr 1
        !          4558: EOF
        !          4559:
        !          4560: else
        !          4561:   echo "$ac_t""no" 1>&6
        !          4562: fi
        !          4563: done
        !          4564:
        !          4565:   echo $ac_n "checking for main in -lkrb""... $ac_c" 1>&6
        !          4566: echo "configure:4567: checking for main in -lkrb" >&5
        !          4567: ac_lib_var=`echo krb'_'main | sed 'y%./+-%__p_%'`
        !          4568: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          4569:   echo $ac_n "(cached) $ac_c" 1>&6
        !          4570: else
        !          4571:   ac_save_LIBS="$LIBS"
        !          4572: LIBS="-lkrb  $LIBS"
        !          4573: cat > conftest.$ac_ext <<EOF
        !          4574: #line 4575 "configure"
        !          4575: #include "confdefs.h"
        !          4576:
        !          4577: int main() {
        !          4578: main()
        !          4579: ; return 0; }
        !          4580: EOF
        !          4581: if { (eval echo configure:4582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          4582:   rm -rf conftest*
        !          4583:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          4584: else
        !          4585:   echo "configure: failed program was:" >&5
        !          4586:   cat conftest.$ac_ext >&5
        !          4587:   rm -rf conftest*
        !          4588:   eval "ac_cv_lib_$ac_lib_var=no"
        !          4589: fi
        !          4590: rm -f conftest*
        !          4591: LIBS="$ac_save_LIBS"
        !          4592:
        !          4593: fi
        !          4594: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          4595:   echo "$ac_t""yes" 1>&6
        !          4596:     ac_tr_lib=HAVE_LIB`echo krb | sed -e 's/[^a-zA-Z0-9_]/_/g' \
        !          4597:     -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
        !          4598:   cat >> confdefs.h <<EOF
        !          4599: #define $ac_tr_lib 1
        !          4600: EOF
        !          4601:
        !          4602:   LIBS="-lkrb $LIBS"
        !          4603:
        !          4604: else
        !          4605:   echo "$ac_t""no" 1>&6
        !          4606: fi
        !          4607:
        !          4608:   if test "$ac_cv_header_krb_h" = yes -a "$ac_cv_lib_krb_main" = yes; then
        !          4609:     echo "$ac_t""yes" 1>&6
        !          4610:     cat >> confdefs.h <<\EOF
        !          4611: #define KRB4 1
        !          4612: EOF
        !          4613:
        !          4614:     KRB4_AUTH="auth-krb4.o"
        !          4615:     KRB4_ROOT=""
        !          4616:     KRB4_INCS=""
        !          4617:     KRB4_LIBS="-lkrb -ldes"
        !          4618:     echo $ac_n "checking for dn_expand in -lresolv""... $ac_c" 1>&6
        !          4619: echo "configure:4620: checking for dn_expand in -lresolv" >&5
        !          4620: ac_lib_var=`echo resolv'_'dn_expand | sed 'y%./+-%__p_%'`
        !          4621: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          4622:   echo $ac_n "(cached) $ac_c" 1>&6
        !          4623: else
        !          4624:   ac_save_LIBS="$LIBS"
        !          4625: LIBS="-lresolv  $LIBS"
        !          4626: cat > conftest.$ac_ext <<EOF
        !          4627: #line 4628 "configure"
        !          4628: #include "confdefs.h"
        !          4629: /* Override any gcc2 internal prototype to avoid an error.  */
        !          4630: /* We use char because int might match the return type of a gcc2
        !          4631:     builtin and then its argument prototype would still apply.  */
        !          4632: char dn_expand();
        !          4633:
        !          4634: int main() {
        !          4635: dn_expand()
        !          4636: ; return 0; }
        !          4637: EOF
        !          4638: if { (eval echo configure:4639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          4639:   rm -rf conftest*
        !          4640:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          4641: else
        !          4642:   echo "configure: failed program was:" >&5
        !          4643:   cat conftest.$ac_ext >&5
        !          4644:   rm -rf conftest*
        !          4645:   eval "ac_cv_lib_$ac_lib_var=no"
        !          4646: fi
        !          4647: rm -f conftest*
        !          4648: LIBS="$ac_save_LIBS"
        !          4649:
        !          4650: fi
        !          4651: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          4652:   echo "$ac_t""yes" 1>&6
        !          4653:   KRB4_LIBS="$KRB4_LIBS -lresolv"
        !          4654: else
        !          4655:   echo "$ac_t""no" 1>&6
        !          4656: fi
        !          4657:
        !          4658:   else
        !          4659:     echo "$ac_t""no" 1>&6
        !          4660:   fi
        !          4661:   ;;
        !          4662: *)
        !          4663:   echo "$ac_t""yes" 1>&6
        !          4664:   cat >> confdefs.h <<\EOF
        !          4665: #define KRB4 1
        !          4666: EOF
        !          4667:
        !          4668:   KRB4_AUTH="auth-krb4.o"
        !          4669:   KRB4_ROOT="$with_krb4"
        !          4670:   KRB4_INCS="-I\$(KRB4_ROOT)/include"
        !          4671:   KRB4_LIBS="-L\$(KRB4_ROOT)/lib -lkrb -ldes"
        !          4672:   echo $ac_n "checking for dn_expand in -lresolv""... $ac_c" 1>&6
        !          4673: echo "configure:4674: checking for dn_expand in -lresolv" >&5
        !          4674: ac_lib_var=`echo resolv'_'dn_expand | sed 'y%./+-%__p_%'`
        !          4675: if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
        !          4676:   echo $ac_n "(cached) $ac_c" 1>&6
        !          4677: else
        !          4678:   ac_save_LIBS="$LIBS"
        !          4679: LIBS="-lresolv  $LIBS"
        !          4680: cat > conftest.$ac_ext <<EOF
        !          4681: #line 4682 "configure"
        !          4682: #include "confdefs.h"
        !          4683: /* Override any gcc2 internal prototype to avoid an error.  */
        !          4684: /* We use char because int might match the return type of a gcc2
        !          4685:     builtin and then its argument prototype would still apply.  */
        !          4686: char dn_expand();
        !          4687:
        !          4688: int main() {
        !          4689: dn_expand()
        !          4690: ; return 0; }
        !          4691: EOF
        !          4692: if { (eval echo configure:4693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          4693:   rm -rf conftest*
        !          4694:   eval "ac_cv_lib_$ac_lib_var=yes"
        !          4695: else
        !          4696:   echo "configure: failed program was:" >&5
        !          4697:   cat conftest.$ac_ext >&5
        !          4698:   rm -rf conftest*
        !          4699:   eval "ac_cv_lib_$ac_lib_var=no"
        !          4700: fi
        !          4701: rm -f conftest*
        !          4702: LIBS="$ac_save_LIBS"
        !          4703:
        !          4704: fi
        !          4705: if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
        !          4706:   echo "$ac_t""yes" 1>&6
        !          4707:   KRB4_LIBS="$KRB4_LIBS -lresolv"
        !          4708: else
        !          4709:   echo "$ac_t""no" 1>&6
        !          4710: fi
        !          4711:
        !          4712:   ;;
        !          4713: esac
        !          4714:
        !          4715: echo $ac_n "checking whether to use AFS""... $ac_c" 1>&6
        !          4716: echo "configure:4717: checking whether to use AFS" >&5
        !          4717: # Check whether --with-afs or --without-afs was given.
        !          4718: if test "${with_afs+set}" = set; then
        !          4719:   withval="$with_afs"
        !          4720:   if test "$with_afs" = no; then
        !          4721:       echo "$ac_t""no" 1>&6
        !          4722:     else
        !          4723:       echo "$ac_t""yes" 1>&6
        !          4724:   cat >> confdefs.h <<\EOF
        !          4725: #define AFS 1
        !          4726: EOF
        !          4727:
        !          4728:   cat >> confdefs.h <<\EOF
        !          4729: #define KERBEROS_TGT_PASSING 1
        !          4730: EOF
        !          4731:
        !          4732:   RADIX="radix.o"
        !          4733:   if test "$with_krb4" = no; then
        !          4734:     echo "$ac_t""no" 1>&6
        !          4735:     echo "configure: warning: "AFS requires Kerberos v4 support."" 1>&2
        !          4736:   else
        !          4737:     KRB4_LIBS="${KRB4_LIBS} -lkafs"
        !          4738:     if test -n "$os_aix"; then
        !          4739:       KRB4_LIBS="${KRB4_LIBS} -lld"
        !          4740:     fi
        !          4741:   fi
        !          4742: fi
        !          4743:
        !          4744: fi
        !          4745:
        !          4746:
        !          4747: echo $ac_n "checking whether to use libwrap""... $ac_c" 1>&6
        !          4748: echo "configure:4749: checking whether to use libwrap" >&5
        !          4749: # Check whether --with-libwrap or --without-libwrap was given.
        !          4750: if test "${with_libwrap+set}" = set; then
        !          4751:   withval="$with_libwrap"
        !          4752:    case "$withval" in
        !          4753:   no)
        !          4754:     echo "$ac_t""no" 1>&6
        !          4755:     ;;
        !          4756:   yes)
        !          4757:     echo "$ac_t""yes" 1>&6
        !          4758:     cat >> confdefs.h <<\EOF
        !          4759: #define LIBWRAP 1
        !          4760: EOF
        !          4761:
        !          4762:     LIBS="-lwrap $LIBS"
        !          4763:     cat > conftest.$ac_ext <<EOF
        !          4764: #line 4765 "configure"
        !          4765: #include "confdefs.h"
        !          4766:  int allow_severity; int deny_severity;
        !          4767: int main() {
        !          4768:  hosts_access();
        !          4769: ; return 0; }
        !          4770: EOF
        !          4771: if { (eval echo configure:4772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          4772:   :
        !          4773: else
        !          4774:   echo "configure: failed program was:" >&5
        !          4775:   cat conftest.$ac_ext >&5
        !          4776:   rm -rf conftest*
        !          4777:    { echo "configure: error: Could not find the libwrap.a library.  You must first install tcp_wrappers." 1>&2; exit 1; }
        !          4778: fi
        !          4779: rm -f conftest*
        !          4780:     ;;
        !          4781:   *)
        !          4782:     echo "$ac_t""yes" 1>&6
        !          4783:     cat >> confdefs.h <<\EOF
        !          4784: #define LIBWRAP 1
        !          4785: EOF
        !          4786:
        !          4787:     LIBS="$withval $LIBS"
        !          4788:     cat > conftest.$ac_ext <<EOF
        !          4789: #line 4790 "configure"
        !          4790: #include "confdefs.h"
        !          4791:  int allow_severity; int deny_severity;
        !          4792: int main() {
        !          4793:  hosts_access();
        !          4794: ; return 0; }
        !          4795: EOF
        !          4796: if { (eval echo configure:4797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          4797:   :
        !          4798: else
        !          4799:   echo "configure: failed program was:" >&5
        !          4800:   cat conftest.$ac_ext >&5
        !          4801:   rm -rf conftest*
        !          4802:    { echo "configure: error: Could not find the $withval library.  You must first install tcp_wrappers." 1>&2; exit 1; }
        !          4803: fi
        !          4804: rm -f conftest*
        !          4805:     ;;
        !          4806:   esac
        !          4807: else
        !          4808:   echo "$ac_t""no" 1>&6
        !          4809:
        !          4810: fi
        !          4811:
        !          4812:
        !          4813: echo $ac_n "checking whether to support SOCKS""... $ac_c" 1>&6
        !          4814: echo "configure:4815: checking whether to support SOCKS" >&5
        !          4815: # Check whether --with-socks or --without-socks was given.
        !          4816: if test "${with_socks+set}" = set; then
        !          4817:   withval="$with_socks"
        !          4818:    case "$withval" in
        !          4819:   no)
        !          4820:     echo "$ac_t""no" 1>&6
        !          4821:     ;;
        !          4822:   *)
        !          4823:     echo "$ac_t""yes" 1>&6
        !          4824:     cat >> confdefs.h <<\EOF
        !          4825: #define SOCKS 1
        !          4826: EOF
        !          4827:
        !          4828:     cat >> confdefs.h <<\EOF
        !          4829: #define connect Rconnect
        !          4830: EOF
        !          4831:
        !          4832:     cat >> confdefs.h <<\EOF
        !          4833: #define getsockname Rgetsockname
        !          4834: EOF
        !          4835:
        !          4836:     cat >> confdefs.h <<\EOF
        !          4837: #define bind Rbind
        !          4838: EOF
        !          4839:
        !          4840:     cat >> confdefs.h <<\EOF
        !          4841: #define accept Raccept
        !          4842: EOF
        !          4843:
        !          4844:     cat >> confdefs.h <<\EOF
        !          4845: #define listen Rlisten
        !          4846: EOF
        !          4847:
        !          4848:     cat >> confdefs.h <<\EOF
        !          4849: #define select Rselect
        !          4850: EOF
        !          4851:
        !          4852:     if test "x$withval" = "xyes"; then
        !          4853:       withval="-lsocks"
        !          4854:     fi
        !          4855:     LIBS="$withval $LIBS"
        !          4856:     cat > conftest.$ac_ext <<EOF
        !          4857: #line 4858 "configure"
        !          4858: #include "confdefs.h"
        !          4859:
        !          4860: int main() {
        !          4861:  Rconnect();
        !          4862: ; return 0; }
        !          4863: EOF
        !          4864: if { (eval echo configure:4865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
        !          4865:   :
        !          4866: else
        !          4867:   echo "configure: failed program was:" >&5
        !          4868:   cat conftest.$ac_ext >&5
        !          4869:   rm -rf conftest*
        !          4870:    { echo "configure: error: Could not find the $withval library.  You must first install socks." 1>&2; exit 1; }
        !          4871: fi
        !          4872: rm -f conftest*
        !          4873:     ;;
        !          4874:   esac
        !          4875: else
        !          4876:   echo "$ac_t""no" 1>&6
        !          4877:
        !          4878: fi
        !          4879:
        !          4880:
        !          4881: PIDDIR="/var/run"
        !          4882: echo $ac_n "checking where to put sshd.pid""... $ac_c" 1>&6
        !          4883: echo "configure:4884: checking where to put sshd.pid" >&5
        !          4884: if test '!' -d $PIDDIR; then
        !          4885:   PIDDIR="$ETCDIR"
        !          4886: fi
        !          4887: echo "$ac_t""$PIDDIR" 1>&6
        !          4888:
        !          4889: if test "$program_transform_name" = s,x,x,; then
        !          4890:   program_transform_name=
        !          4891: else
        !          4892:   # Double any \ or $.  echo might interpret backslashes.
        !          4893:   cat <<\EOF_SED > conftestsed
        !          4894: s,\\,\\\\,g; s,\$,$$,g
        !          4895: EOF_SED
        !          4896:   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
        !          4897:   rm -f conftestsed
        !          4898: fi
        !          4899: test "$program_prefix" != NONE &&
        !          4900:   program_transform_name="s,^,${program_prefix},; $program_transform_name"
        !          4901: # Use a double $ so make ignores it.
        !          4902: test "$program_suffix" != NONE &&
        !          4903:   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
        !          4904:
        !          4905: # sed with no file args requires a program.
        !          4906: test "$program_transform_name" = "" && program_transform_name="s,x,x,"
        !          4907:
        !          4908:
        !          4909:
        !          4910:
        !          4911:
        !          4912:
        !          4913:
        !          4914: trap '' 1 2 15
        !          4915: cat > confcache <<\EOF
        !          4916: # This file is a shell script that caches the results of configure
        !          4917: # tests run on this system so they can be shared between configure
        !          4918: # scripts and configure runs.  It is not useful on other systems.
        !          4919: # If it contains results you don't want to keep, you may remove or edit it.
        !          4920: #
        !          4921: # By default, configure uses ./config.cache as the cache file,
        !          4922: # creating it if it does not exist already.  You can give configure
        !          4923: # the --cache-file=FILE option to use a different cache file; that is
        !          4924: # what configure does when it calls configure scripts in
        !          4925: # subdirectories, so they share the cache.
        !          4926: # Giving --cache-file=/dev/null disables caching, for debugging configure.
        !          4927: # config.status only pays attention to the cache file if you give it the
        !          4928: # --recheck option to rerun configure.
        !          4929: #
        !          4930: EOF
        !          4931: # The following way of writing the cache mishandles newlines in values,
        !          4932: # but we know of no workaround that is simple, portable, and efficient.
        !          4933: # So, don't put newlines in cache variables' values.
        !          4934: # Ultrix sh set writes to stderr and can't be redirected directly,
        !          4935: # and sets the high bit in the cache file unless we assign to the vars.
        !          4936: (set) 2>&1 |
        !          4937:   case `(ac_space=' '; set | grep ac_space) 2>&1` in
        !          4938:   *ac_space=\ *)
        !          4939:     # `set' does not quote correctly, so add quotes (double-quote substitution
        !          4940:     # turns \\\\ into \\, and sed turns \\ into \).
        !          4941:     sed -n \
        !          4942:       -e "s/'/'\\\\''/g" \
        !          4943:       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
        !          4944:     ;;
        !          4945:   *)
        !          4946:     # `set' quotes correctly as required by POSIX, so do not add quotes.
        !          4947:     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
        !          4948:     ;;
        !          4949:   esac >> confcache
        !          4950: if cmp -s $cache_file confcache; then
        !          4951:   :
        !          4952: else
        !          4953:   if test -w $cache_file; then
        !          4954:     echo "updating cache $cache_file"
        !          4955:     cat confcache > $cache_file
        !          4956:   else
        !          4957:     echo "not updating unwritable cache $cache_file"
        !          4958:   fi
        !          4959: fi
        !          4960: rm -f confcache
        !          4961:
        !          4962: trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
        !          4963:
        !          4964: test "x$prefix" = xNONE && prefix=$ac_default_prefix
        !          4965: # Let make expand exec_prefix.
        !          4966: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
        !          4967:
        !          4968: # Any assignment to VPATH causes Sun make to only execute
        !          4969: # the first set of double-colon rules, so remove it if not needed.
        !          4970: # If there is a colon in the path, we need to keep it.
        !          4971: if test "x$srcdir" = x.; then
        !          4972:   ac_vpsub='/^[        ]*VPATH[        ]*=[^:]*$/d'
        !          4973: fi
        !          4974:
        !          4975: trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
        !          4976:
        !          4977: DEFS=-DHAVE_CONFIG_H
        !          4978:
        !          4979: # Without the "./", some shells look in PATH for config.status.
        !          4980: : ${CONFIG_STATUS=./config.status}
        !          4981:
        !          4982: echo creating $CONFIG_STATUS
        !          4983: rm -f $CONFIG_STATUS
        !          4984: cat > $CONFIG_STATUS <<EOF
        !          4985: #! /bin/sh
        !          4986: # Generated automatically by configure.
        !          4987: # Run this file to recreate the current configuration.
        !          4988: # This directory was configured as follows,
        !          4989: # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
        !          4990: #
        !          4991: # $0 $ac_configure_args
        !          4992: #
        !          4993: # Compiler output produced by configure, useful for debugging
        !          4994: # configure, is in ./config.log if it exists.
        !          4995:
        !          4996: ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
        !          4997: for ac_option
        !          4998: do
        !          4999:   case "\$ac_option" in
        !          5000:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
        !          5001:     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
        !          5002:     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
        !          5003:   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
        !          5004:     echo "$CONFIG_STATUS generated by autoconf version 2.13"
        !          5005:     exit 0 ;;
        !          5006:   -help | --help | --hel | --he | --h)
        !          5007:     echo "\$ac_cs_usage"; exit 0 ;;
        !          5008:   *) echo "\$ac_cs_usage"; exit 1 ;;
        !          5009:   esac
        !          5010: done
        !          5011:
        !          5012: ac_given_srcdir=$srcdir
        !          5013: ac_given_INSTALL="$INSTALL"
        !          5014:
        !          5015: trap 'rm -fr `echo "Makefile sshd.8 ssh.1 config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
        !          5016: EOF
        !          5017: cat >> $CONFIG_STATUS <<EOF
        !          5018:
        !          5019: # Protect against being on the right side of a sed subst in config.status.
        !          5020: sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
        !          5021:  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
        !          5022: $ac_vpsub
        !          5023: $extrasub
        !          5024: s%@SHELL@%$SHELL%g
        !          5025: s%@CFLAGS@%$CFLAGS%g
        !          5026: s%@CPPFLAGS@%$CPPFLAGS%g
        !          5027: s%@CXXFLAGS@%$CXXFLAGS%g
        !          5028: s%@FFLAGS@%$FFLAGS%g
        !          5029: s%@DEFS@%$DEFS%g
        !          5030: s%@LDFLAGS@%$LDFLAGS%g
        !          5031: s%@LIBS@%$LIBS%g
        !          5032: s%@exec_prefix@%$exec_prefix%g
        !          5033: s%@prefix@%$prefix%g
        !          5034: s%@program_transform_name@%$program_transform_name%g
        !          5035: s%@bindir@%$bindir%g
        !          5036: s%@sbindir@%$sbindir%g
        !          5037: s%@libexecdir@%$libexecdir%g
        !          5038: s%@datadir@%$datadir%g
        !          5039: s%@sysconfdir@%$sysconfdir%g
        !          5040: s%@sharedstatedir@%$sharedstatedir%g
        !          5041: s%@localstatedir@%$localstatedir%g
        !          5042: s%@libdir@%$libdir%g
        !          5043: s%@includedir@%$includedir%g
        !          5044: s%@oldincludedir@%$oldincludedir%g
        !          5045: s%@infodir@%$infodir%g
        !          5046: s%@mandir@%$mandir%g
        !          5047: s%@host@%$host%g
        !          5048: s%@host_alias@%$host_alias%g
        !          5049: s%@host_cpu@%$host_cpu%g
        !          5050: s%@host_vendor@%$host_vendor%g
        !          5051: s%@host_os@%$host_os%g
        !          5052: s%@CC@%$CC%g
        !          5053: s%@CPP@%$CPP%g
        !          5054: s%@GMPINCS@%$GMPINCS%g
        !          5055: s%@GMPLIBS@%$GMPLIBS%g
        !          5056: s%@LIBOBJS@%$LIBOBJS%g
        !          5057: s%@LN_S@%$LN_S%g
        !          5058: s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
        !          5059: s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
        !          5060: s%@INSTALL_DATA@%$INSTALL_DATA%g
        !          5061: s%@RANLIB@%$RANLIB%g
        !          5062: s%@MAKEDEP@%$MAKEDEP%g
        !          5063: s%@WISH@%$WISH%g
        !          5064: s%@XAUTH_PATH@%$XAUTH_PATH%g
        !          5065: s%@RSH_PATH@%$RSH_PATH%g
        !          5066: s%@KRB4_AUTH@%$KRB4_AUTH%g
        !          5067: s%@KRB4_ROOT@%$KRB4_ROOT%g
        !          5068: s%@KRB4_INCS@%$KRB4_INCS%g
        !          5069: s%@KRB4_LIBS@%$KRB4_LIBS%g
        !          5070: s%@RADIX@%$RADIX%g
        !          5071: s%@ETCDIR@%$ETCDIR%g
        !          5072: s%@PIDDIR@%$PIDDIR%g
        !          5073: s%@RSAREFDEP@%$RSAREFDEP%g
        !          5074: s%@CONFOBJS@%$CONFOBJS%g
        !          5075:
        !          5076: CEOF
        !          5077: EOF
        !          5078:
        !          5079: cat >> $CONFIG_STATUS <<\EOF
        !          5080:
        !          5081: # Split the substitutions into bite-sized pieces for seds with
        !          5082: # small command number limits, like on Digital OSF/1 and HP-UX.
        !          5083: ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
        !          5084: ac_file=1 # Number of current file.
        !          5085: ac_beg=1 # First line for current file.
        !          5086: ac_end=$ac_max_sed_cmds # Line after last line for current file.
        !          5087: ac_more_lines=:
        !          5088: ac_sed_cmds=""
        !          5089: while $ac_more_lines; do
        !          5090:   if test $ac_beg -gt 1; then
        !          5091:     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
        !          5092:   else
        !          5093:     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
        !          5094:   fi
        !          5095:   if test ! -s conftest.s$ac_file; then
        !          5096:     ac_more_lines=false
        !          5097:     rm -f conftest.s$ac_file
        !          5098:   else
        !          5099:     if test -z "$ac_sed_cmds"; then
        !          5100:       ac_sed_cmds="sed -f conftest.s$ac_file"
        !          5101:     else
        !          5102:       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
        !          5103:     fi
        !          5104:     ac_file=`expr $ac_file + 1`
        !          5105:     ac_beg=$ac_end
        !          5106:     ac_end=`expr $ac_end + $ac_max_sed_cmds`
        !          5107:   fi
        !          5108: done
        !          5109: if test -z "$ac_sed_cmds"; then
        !          5110:   ac_sed_cmds=cat
        !          5111: fi
        !          5112: EOF
        !          5113:
        !          5114: cat >> $CONFIG_STATUS <<EOF
        !          5115:
        !          5116: CONFIG_FILES=\${CONFIG_FILES-"Makefile sshd.8 ssh.1"}
        !          5117: EOF
        !          5118: cat >> $CONFIG_STATUS <<\EOF
        !          5119: for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
        !          5120:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
        !          5121:   case "$ac_file" in
        !          5122:   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
        !          5123:        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
        !          5124:   *) ac_file_in="${ac_file}.in" ;;
        !          5125:   esac
        !          5126:
        !          5127:   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
        !          5128:
        !          5129:   # Remove last slash and all that follows it.  Not all systems have dirname.
        !          5130:   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
        !          5131:   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
        !          5132:     # The file is in a subdirectory.
        !          5133:     test ! -d "$ac_dir" && mkdir "$ac_dir"
        !          5134:     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
        !          5135:     # A "../" for each directory in $ac_dir_suffix.
        !          5136:     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
        !          5137:   else
        !          5138:     ac_dir_suffix= ac_dots=
        !          5139:   fi
        !          5140:
        !          5141:   case "$ac_given_srcdir" in
        !          5142:   .)  srcdir=.
        !          5143:       if test -z "$ac_dots"; then top_srcdir=.
        !          5144:       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
        !          5145:   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
        !          5146:   *) # Relative path.
        !          5147:     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
        !          5148:     top_srcdir="$ac_dots$ac_given_srcdir" ;;
        !          5149:   esac
        !          5150:
        !          5151:   case "$ac_given_INSTALL" in
        !          5152:   [/$]*) INSTALL="$ac_given_INSTALL" ;;
        !          5153:   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
        !          5154:   esac
        !          5155:
        !          5156:   echo creating "$ac_file"
        !          5157:   rm -f "$ac_file"
        !          5158:   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
        !          5159:   case "$ac_file" in
        !          5160:   *Makefile*) ac_comsub="1i\\
        !          5161: # $configure_input" ;;
        !          5162:   *) ac_comsub= ;;
        !          5163:   esac
        !          5164:
        !          5165:   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
        !          5166:   sed -e "$ac_comsub
        !          5167: s%@configure_input@%$configure_input%g
        !          5168: s%@srcdir@%$srcdir%g
        !          5169: s%@top_srcdir@%$top_srcdir%g
        !          5170: s%@INSTALL@%$INSTALL%g
        !          5171: " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
        !          5172: fi; done
        !          5173: rm -f conftest.s*
        !          5174:
        !          5175: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
        !          5176: # NAME is the cpp macro being defined and VALUE is the value it is being given.
        !          5177: #
        !          5178: # ac_d sets the value in "#define NAME VALUE" lines.
        !          5179: ac_dA='s%^\([  ]*\)#\([        ]*define[       ][      ]*\)'
        !          5180: ac_dB='\([     ][      ]*\)[^  ]*%\1#\2'
        !          5181: ac_dC='\3'
        !          5182: ac_dD='%g'
        !          5183: # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
        !          5184: ac_uA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
        !          5185: ac_uB='\([     ]\)%\1#\2define\3'
        !          5186: ac_uC=' '
        !          5187: ac_uD='\4%g'
        !          5188: # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
        !          5189: ac_eA='s%^\([  ]*\)#\([        ]*\)undef\([    ][      ]*\)'
        !          5190: ac_eB='$%\1#\2define\3'
        !          5191: ac_eC=' '
        !          5192: ac_eD='%g'
        !          5193:
        !          5194: if test "${CONFIG_HEADERS+set}" != set; then
        !          5195: EOF
        !          5196: cat >> $CONFIG_STATUS <<EOF
        !          5197:   CONFIG_HEADERS="config.h"
        !          5198: EOF
        !          5199: cat >> $CONFIG_STATUS <<\EOF
        !          5200: fi
        !          5201: for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
        !          5202:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
        !          5203:   case "$ac_file" in
        !          5204:   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
        !          5205:        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
        !          5206:   *) ac_file_in="${ac_file}.in" ;;
        !          5207:   esac
        !          5208:
        !          5209:   echo creating $ac_file
        !          5210:
        !          5211:   rm -f conftest.frag conftest.in conftest.out
        !          5212:   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
        !          5213:   cat $ac_file_inputs > conftest.in
        !          5214:
        !          5215: EOF
        !          5216:
        !          5217: # Transform confdefs.h into a sed script conftest.vals that substitutes
        !          5218: # the proper values into config.h.in to produce config.h.  And first:
        !          5219: # Protect against being on the right side of a sed subst in config.status.
        !          5220: # Protect against being in an unquoted here document in config.status.
        !          5221: rm -f conftest.vals
        !          5222: cat > conftest.hdr <<\EOF
        !          5223: s/[\\&%]/\\&/g
        !          5224: s%[\\$`]%\\&%g
        !          5225: s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
        !          5226: s%ac_d%ac_u%gp
        !          5227: s%ac_u%ac_e%gp
        !          5228: EOF
        !          5229: sed -n -f conftest.hdr confdefs.h > conftest.vals
        !          5230: rm -f conftest.hdr
        !          5231:
        !          5232: # This sed command replaces #undef with comments.  This is necessary, for
        !          5233: # example, in the case of _POSIX_SOURCE, which is predefined and required
        !          5234: # on some systems where configure will not decide to define it.
        !          5235: cat >> conftest.vals <<\EOF
        !          5236: s%^[   ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
        !          5237: EOF
        !          5238:
        !          5239: # Break up conftest.vals because some shells have a limit on
        !          5240: # the size of here documents, and old seds have small limits too.
        !          5241:
        !          5242: rm -f conftest.tail
        !          5243: while :
        !          5244: do
        !          5245:   ac_lines=`grep -c . conftest.vals`
        !          5246:   # grep -c gives empty output for an empty file on some AIX systems.
        !          5247:   if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
        !          5248:   # Write a limited-size here document to conftest.frag.
        !          5249:   echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
        !          5250:   sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
        !          5251:   echo 'CEOF
        !          5252:   sed -f conftest.frag conftest.in > conftest.out
        !          5253:   rm -f conftest.in
        !          5254:   mv conftest.out conftest.in
        !          5255: ' >> $CONFIG_STATUS
        !          5256:   sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
        !          5257:   rm -f conftest.vals
        !          5258:   mv conftest.tail conftest.vals
        !          5259: done
        !          5260: rm -f conftest.vals
        !          5261:
        !          5262: cat >> $CONFIG_STATUS <<\EOF
        !          5263:   rm -f conftest.frag conftest.h
        !          5264:   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
        !          5265:   cat conftest.in >> conftest.h
        !          5266:   rm -f conftest.in
        !          5267:   if cmp -s $ac_file conftest.h 2>/dev/null; then
        !          5268:     echo "$ac_file is unchanged"
        !          5269:     rm -f conftest.h
        !          5270:   else
        !          5271:     # Remove last slash and all that follows it.  Not all systems have dirname.
        !          5272:       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
        !          5273:       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
        !          5274:       # The file is in a subdirectory.
        !          5275:       test ! -d "$ac_dir" && mkdir "$ac_dir"
        !          5276:     fi
        !          5277:     rm -f $ac_file
        !          5278:     mv conftest.h $ac_file
        !          5279:   fi
        !          5280: fi; done
        !          5281:
        !          5282: EOF
        !          5283: cat >> $CONFIG_STATUS <<EOF
        !          5284:
        !          5285: EOF
        !          5286: cat >> $CONFIG_STATUS <<\EOF
        !          5287:
        !          5288: exit 0
        !          5289: EOF
        !          5290: chmod +x $CONFIG_STATUS
        !          5291: rm -fr confdefs* $ac_clean_files
        !          5292: test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
        !          5293: