12dfcbf1pst#! /bin/sh
22dfcbf1pst
32dfcbf1pst# Guess values for system-dependent variables and create Makefiles.
44cdfa78markm# Generated automatically using autoconf version 2.13 
52dfcbf1pst# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
62dfcbf1pst#
72dfcbf1pst# This configure script is free software; the Free Software Foundation
82dfcbf1pst# gives unlimited permission to copy, distribute and modify it.
92dfcbf1pst
102dfcbf1pst# Defaults:
112dfcbf1pstac_help=
122dfcbf1pstac_default_prefix=/usr/local
132dfcbf1pst# Any additions from configure.in:
142dfcbf1pstac_help="$ac_help
15620a154ache  --enable-access-file=FILENAME
16620a154ache                          Enable the OPIE access file FILENAME"
17620a154acheac_help="$ac_help
18620a154ache  --enable-server-md4     Use MD4 instead of MD5 for the server"
19620a154acheac_help="$ac_help
20620a154ache  --disable-user-locking  Disable user locking
21620a154ache  --enable-user-locking[=DIR]
22620a154ache                          Put user lock files in DIR [/etc/opielocks]"
23620a154acheac_help="$ac_help
24620a154ache  --enable-retype         Ask users to re-type their secret pass phrases"
25620a154acheac_help="$ac_help
26620a154ache  --enable-su-star-check  Refuse to switch to disabled accounts"
27620a154acheac_help="$ac_help
28620a154ache  --disable-new-prompts   Use more compatible (but less informative) prompts"
29620a154acheac_help="$ac_help
30620a154ache  --enable-insecure-override
31620a154ache                          Allow users to override insecure checks"
322dfcbf1pstac_help="$ac_help
332dfcbf1pst  --enable-anonymous-ftp  Enable anonymous FTP support"
34620a154acheac_help="$ac_help
35620a154ache  --disable-utmp          Disable utmp logging"
36620a154acheac_help="$ac_help
37620a154ache  --disable-wtmp          Disable wtmp logging"
384cdfa78markmac_help="$ac_help
394cdfa78markm  --enable-opieauto       Enable support for opieauto"
402dfcbf1pst
412dfcbf1pst# Initialize some variables set by options.
422dfcbf1pst# The variables have the same names as the options, with
432dfcbf1pst# dashes changed to underlines.
442dfcbf1pstbuild=NONE
452dfcbf1pstcache_file=./config.cache
462dfcbf1pstexec_prefix=NONE
472dfcbf1psthost=NONE
482dfcbf1pstno_create=
492dfcbf1pstnonopt=NONE
502dfcbf1pstno_recursion=
512dfcbf1pstprefix=NONE
522dfcbf1pstprogram_prefix=NONE
532dfcbf1pstprogram_suffix=NONE
542dfcbf1pstprogram_transform_name=s,x,x,
552dfcbf1pstsilent=
562dfcbf1pstsite=
572dfcbf1pstsrcdir=
582dfcbf1psttarget=NONE
592dfcbf1pstverbose=
602dfcbf1pstx_includes=NONE
612dfcbf1pstx_libraries=NONE
622dfcbf1pstbindir='${exec_prefix}/bin'
632dfcbf1pstsbindir='${exec_prefix}/sbin'
642dfcbf1pstlibexecdir='${exec_prefix}/libexec'
652dfcbf1pstdatadir='${prefix}/share'
662dfcbf1pstsysconfdir='${prefix}/etc'
672dfcbf1pstsharedstatedir='${prefix}/com'
682dfcbf1pstlocalstatedir='${prefix}/var'
692dfcbf1pstlibdir='${exec_prefix}/lib'
702dfcbf1pstincludedir='${prefix}/include'
712dfcbf1pstoldincludedir='/usr/include'
722dfcbf1pstinfodir='${prefix}/info'
732dfcbf1pstmandir='${prefix}/man'
742dfcbf1pst
752dfcbf1pst# Initialize some other variables.
762dfcbf1pstsubdirs=
772dfcbf1pstMFLAGS= MAKEFLAGS=
784cdfa78markmSHELL=${CONFIG_SHELL-/bin/sh}
79620a154ache# Maximum number of lines to put in a shell here document.
80620a154acheac_max_here_lines=12
812dfcbf1pst
822dfcbf1pstac_prev=
832dfcbf1pstfor ac_option
842dfcbf1pstdo
852dfcbf1pst
862dfcbf1pst  # If the previous option needs an argument, assign it.
872dfcbf1pst  if test -n "$ac_prev"; then
882dfcbf1pst    eval "$ac_prev=\$ac_option"
892dfcbf1pst    ac_prev=
902dfcbf1pst    continue
912dfcbf1pst  fi
922dfcbf1pst
932dfcbf1pst  case "$ac_option" in
942dfcbf1pst  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
952dfcbf1pst  *) ac_optarg= ;;
962dfcbf1pst  esac
972dfcbf1pst
982dfcbf1pst  # Accept the important Cygnus configure options, so we can diagnose typos.
992dfcbf1pst
1002dfcbf1pst  case "$ac_option" in
1012dfcbf1pst
1022dfcbf1pst  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1032dfcbf1pst    ac_prev=bindir ;;
1042dfcbf1pst  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1052dfcbf1pst    bindir="$ac_optarg" ;;
1062dfcbf1pst
1072dfcbf1pst  -build | --build | --buil | --bui | --bu)
1082dfcbf1pst    ac_prev=build ;;
1092dfcbf1pst  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1102dfcbf1pst    build="$ac_optarg" ;;
1112dfcbf1pst
1122dfcbf1pst  -cache-file | --cache-file | --cache-fil | --cache-fi \
1132dfcbf1pst  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1142dfcbf1pst    ac_prev=cache_file ;;
1152dfcbf1pst  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1162dfcbf1pst  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1172dfcbf1pst    cache_file="$ac_optarg" ;;
1182dfcbf1pst
1192dfcbf1pst  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1202dfcbf1pst    ac_prev=datadir ;;
1212dfcbf1pst  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1222dfcbf1pst  | --da=*)
1232dfcbf1pst    datadir="$ac_optarg" ;;
1242dfcbf1pst
1252dfcbf1pst  -disable-* | --disable-*)
1262dfcbf1pst    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
1272dfcbf1pst    # Reject names that are not valid shell variable names.
1282dfcbf1pst    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
1292dfcbf1pst      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
1302dfcbf1pst    fi
1312dfcbf1pst    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
1322dfcbf1pst    eval "enable_${ac_feature}=no" ;;
1332dfcbf1pst
1342dfcbf1pst  -enable-* | --enable-*)
1352dfcbf1pst    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
1362dfcbf1pst    # Reject names that are not valid shell variable names.
1372dfcbf1pst    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
1382dfcbf1pst      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
1392dfcbf1pst    fi
1402dfcbf1pst    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
1412dfcbf1pst    case "$ac_option" in
1422dfcbf1pst      *=*) ;;
1432dfcbf1pst      *) ac_optarg=yes ;;
1442dfcbf1pst    esac
1452dfcbf1pst    eval "enable_${ac_feature}='$ac_optarg'" ;;
1462dfcbf1pst
1472dfcbf1pst  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1482dfcbf1pst  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1492dfcbf1pst  | --exec | --exe | --ex)
1502dfcbf1pst    ac_prev=exec_prefix ;;
1512dfcbf1pst  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1522dfcbf1pst  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1532dfcbf1pst  | --exec=* | --exe=* | --ex=*)
1542dfcbf1pst    exec_prefix="$ac_optarg" ;;
1552dfcbf1pst
1562dfcbf1pst  -gas | --gas | --ga | --g)
1572dfcbf1pst    # Obsolete; use --with-gas.
1582dfcbf1pst    with_gas=yes ;;
1592dfcbf1pst
1602dfcbf1pst  -help | --help | --hel | --he)
1612dfcbf1pst    # Omit some internal or obsolete options to make the list less imposing.
1622dfcbf1pst    # This message is too long to be a string in the A/UX 3.1 sh.
1632dfcbf1pst    cat << EOF
1642dfcbf1pstUsage: configure [options] [host]
1652dfcbf1pstOptions: [defaults in brackets after descriptions]
1662dfcbf1pstConfiguration:
1672dfcbf1pst  --cache-file=FILE       cache test results in FILE
1682dfcbf1pst  --help                  print this message
1692dfcbf1pst  --no-create             do not create output files
1702dfcbf1pst  --quiet, --silent       do not print \`checking...' messages
1712dfcbf1pst  --version               print the version of autoconf that created configure
1722dfcbf1pstDirectory and file names:
1732dfcbf1pst  --prefix=PREFIX         install architecture-independent files in PREFIX
1742dfcbf1pst                          [$ac_default_prefix]
1752dfcbf1pst  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1762dfcbf1pst                          [same as prefix]
1772dfcbf1pst  --bindir=DIR            user executables in DIR [EPREFIX/bin]
1782dfcbf1pst  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
1792dfcbf1pst  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
1802dfcbf1pst  --datadir=DIR           read-only architecture-independent data in DIR
1812dfcbf1pst                          [PREFIX/share]
1822dfcbf1pst  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
1832dfcbf1pst  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
1842dfcbf1pst                          [PREFIX/com]
1852dfcbf1pst  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
1862dfcbf1pst  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
1872dfcbf1pst  --includedir=DIR        C header files in DIR [PREFIX/include]
1882dfcbf1pst  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
1892dfcbf1pst  --infodir=DIR           info documentation in DIR [PREFIX/info]
1902dfcbf1pst  --mandir=DIR            man documentation in DIR [PREFIX/man]
1912dfcbf1pst  --srcdir=DIR            find the sources in DIR [configure dir or ..]
1922dfcbf1pst  --program-prefix=PREFIX prepend PREFIX to installed program names
1932dfcbf1pst  --program-suffix=SUFFIX append SUFFIX to installed program names
1942dfcbf1pst  --program-transform-name=PROGRAM
1952dfcbf1pst                          run sed PROGRAM on installed program names
1962dfcbf1pstEOF
1972dfcbf1pst    cat << EOF
1982dfcbf1pstHost type:
1992dfcbf1pst  --build=BUILD           configure for building on BUILD [BUILD=HOST]
2002dfcbf1pst  --host=HOST             configure for HOST [guessed]
2012dfcbf1pst  --target=TARGET         configure for TARGET [TARGET=HOST]
2022dfcbf1pstFeatures and packages:
2032dfcbf1pst  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2042dfcbf1pst  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2052dfcbf1pst  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2062dfcbf1pst  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2072dfcbf1pst  --x-includes=DIR        X include files are in DIR
2082dfcbf1pst  --x-libraries=DIR       X library files are in DIR
2092dfcbf1pstEOF
2102dfcbf1pst    if test -n "$ac_help"; then
2112dfcbf1pst      echo "--enable and --with options recognized:$ac_help"
2122dfcbf1pst    fi
2132dfcbf1pst    exit 0 ;;
2142dfcbf1pst
2152dfcbf1pst  -host | --host | --hos | --ho)
2162dfcbf1pst    ac_prev=host ;;
2172dfcbf1pst  -host=* | --host=* | --hos=* | --ho=*)
2182dfcbf1pst    host="$ac_optarg" ;;
2192dfcbf1pst
2202dfcbf1pst  -includedir | --includedir | --includedi | --included | --include \
2212dfcbf1pst  | --includ | --inclu | --incl | --inc)
2222dfcbf1pst    ac_prev=includedir ;;
2232dfcbf1pst  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2242dfcbf1pst  | --includ=* | --inclu=* | --incl=* | --inc=*)
2252dfcbf1pst    includedir="$ac_optarg" ;;
2262dfcbf1pst
2272dfcbf1pst  -infodir | --infodir | --infodi | --infod | --info | --inf)
2282dfcbf1pst    ac_prev=infodir ;;
2292dfcbf1pst  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2302dfcbf1pst    infodir="$ac_optarg" ;;
2312dfcbf1pst
2322dfcbf1pst  -libdir | --libdir | --libdi | --libd)
2332dfcbf1pst    ac_prev=libdir ;;
2342dfcbf1pst  -libdir=* | --libdir=* | --libdi=* | --libd=*)
2352dfcbf1pst    libdir="$ac_optarg" ;;
2362dfcbf1pst
2372dfcbf1pst  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2382dfcbf1pst  | --libexe | --libex | --libe)
2392dfcbf1pst    ac_prev=libexecdir ;;
2402dfcbf1pst  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2412dfcbf1pst  | --libexe=* | --libex=* | --libe=*)
2422dfcbf1pst    libexecdir="$ac_optarg" ;;
2432dfcbf1pst
2442dfcbf1pst  -localstatedir | --localstatedir | --localstatedi | --localstated \
2452dfcbf1pst  | --localstate | --localstat | --localsta | --localst \
2462dfcbf1pst  | --locals | --local | --loca | --loc | --lo)
2472dfcbf1pst    ac_prev=localstatedir ;;
2482dfcbf1pst  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2492dfcbf1pst  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
2502dfcbf1pst  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
2512dfcbf1pst    localstatedir="$ac_optarg" ;;
2522dfcbf1pst
2532dfcbf1pst  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2542dfcbf1pst    ac_prev=mandir ;;
2552dfcbf1pst  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2562dfcbf1pst    mandir="$ac_optarg" ;;
2572dfcbf1pst
2582dfcbf1pst  -nfp | --nfp | --nf)
2592dfcbf1pst    # Obsolete; use --without-fp.
2602dfcbf1pst    with_fp=no ;;
2612dfcbf1pst
2622dfcbf1pst  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2632dfcbf1pst  | --no-cr | --no-c)
2642dfcbf1pst    no_create=yes ;;
2652dfcbf1pst
2662dfcbf1pst  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2672dfcbf1pst  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2682dfcbf1pst    no_recursion=yes ;;
2692dfcbf1pst
2702dfcbf1pst  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2712dfcbf1pst  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2722dfcbf1pst  | --oldin | --oldi | --old | --ol | --o)
2732dfcbf1pst    ac_prev=oldincludedir ;;
2742dfcbf1pst  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2752dfcbf1pst  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2762dfcbf1pst  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2772dfcbf1pst    oldincludedir="$ac_optarg" ;;
2782dfcbf1pst
2792dfcbf1pst  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2802dfcbf1pst    ac_prev=prefix ;;
2812dfcbf1pst  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2822dfcbf1pst    prefix="$ac_optarg" ;;
2832dfcbf1pst
2842dfcbf1pst  -program-prefix | --program-prefix | --program-prefi | --program-pref \
2852dfcbf1pst  | --program-pre | --program-pr | --program-p)
2862dfcbf1pst    ac_prev=program_prefix ;;
2872dfcbf1pst  -program-prefix=* | --program-prefix=* | --program-prefi=* \
2882dfcbf1pst  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2892dfcbf1pst    program_prefix="$ac_optarg" ;;
2902dfcbf1pst
2912dfcbf1pst  -program-suffix | --program-suffix | --program-suffi | --program-suff \
2922dfcbf1pst  | --program-suf | --program-su | --program-s)
2932dfcbf1pst    ac_prev=program_suffix ;;
2942dfcbf1pst  -program-suffix=* | --program-suffix=* | --program-suffi=* \
2952dfcbf1pst  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2962dfcbf1pst    program_suffix="$ac_optarg" ;;
2972dfcbf1pst
2982dfcbf1pst  -program-transform-name | --program-transform-name \
2992dfcbf1pst  | --program-transform-nam | --program-transform-na \
3002dfcbf1pst  | --program-transform-n | --program-transform- \
3012dfcbf1pst  | --program-transform | --program-transfor \
3022dfcbf1pst  | --program-transfo | --program-transf \
3032dfcbf1pst  | --program-trans | --program-tran \
3042dfcbf1pst  | --progr-tra | --program-tr | --program-t)
3052dfcbf1pst    ac_prev=program_transform_name ;;
3062dfcbf1pst  -program-transform-name=* | --program-transform-name=* \
3072dfcbf1pst  | --program-transform-nam=* | --program-transform-na=* \
3082dfcbf1pst  | --program-transform-n=* | --program-transform-=* \
3092dfcbf1pst  | --program-transform=* | --program-transfor=* \
3102dfcbf1pst  | --program-transfo=* | --program-transf=* \
3112dfcbf1pst  | --program-trans=* | --program-tran=* \
3122dfcbf1pst  | --progr-tra=* | --program-tr=* | --program-t=*)
3132dfcbf1pst    program_transform_name="$ac_optarg" ;;
3142dfcbf1pst
3152dfcbf1pst  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3162dfcbf1pst  | -silent | --silent | --silen | --sile | --sil)
3172dfcbf1pst    silent=yes ;;
3182dfcbf1pst
3192dfcbf1pst  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
3202dfcbf1pst    ac_prev=sbindir ;;
3212dfcbf1pst  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
3222dfcbf1pst  | --sbi=* | --sb=*)
3232dfcbf1pst    sbindir="$ac_optarg" ;;
3242dfcbf1pst
3252dfcbf1pst  -sharedstatedir | --sharedstatedir | --sharedstatedi \
3262dfcbf1pst  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
3272dfcbf1pst  | --sharedst | --shareds | --shared | --share | --shar \
3282dfcbf1pst  | --sha | --sh)
3292dfcbf1pst    ac_prev=sharedstatedir ;;
3302dfcbf1pst  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
3312dfcbf1pst  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
3322dfcbf1pst  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
3332dfcbf1pst  | --sha=* | --sh=*)
3342dfcbf1pst    sharedstatedir="$ac_optarg" ;;
3352dfcbf1pst
3362dfcbf1pst  -site | --site | --sit)
3372dfcbf1pst    ac_prev=site ;;
3382dfcbf1pst  -site=* | --site=* | --sit=*)
3392dfcbf1pst    site="$ac_optarg" ;;
3402dfcbf1pst
3412dfcbf1pst  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3422dfcbf1pst    ac_prev=srcdir ;;
3432dfcbf1pst  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3442dfcbf1pst    srcdir="$ac_optarg" ;;
3452dfcbf1pst
3462dfcbf1pst  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
3472dfcbf1pst  | --syscon | --sysco | --sysc | --sys | --sy)
3482dfcbf1pst    ac_prev=sysconfdir ;;
3492dfcbf1pst  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
3502dfcbf1pst  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
3512dfcbf1pst    sysconfdir="$ac_optarg" ;;
3522dfcbf1pst
3532dfcbf1pst  -target | --target | --targe | --targ | --tar | --ta | --t)
3542dfcbf1pst    ac_prev=target ;;
3552dfcbf1pst  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
3562dfcbf1pst    target="$ac_optarg" ;;
3572dfcbf1pst
3582dfcbf1pst  -v | -verbose | --verbose | --verbos | --verbo | --verb)
3592dfcbf1pst    verbose=yes ;;
3602dfcbf1pst
3612dfcbf1pst  -version | --version | --versio | --versi | --vers)
3624cdfa78markm    echo "configure generated by autoconf version 2.13"
3632dfcbf1pst    exit 0 ;;
3642dfcbf1pst
3652dfcbf1pst  -with-* | --with-*)
3662dfcbf1pst    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
3672dfcbf1pst    # Reject names that are not valid shell variable names.
3682dfcbf1pst    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
3692dfcbf1pst      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
3702dfcbf1pst    fi
3712dfcbf1pst    ac_package=`echo $ac_package| sed 's/-/_/g'`
3722dfcbf1pst    case "$ac_option" in
3732dfcbf1pst      *=*) ;;
3742dfcbf1pst      *) ac_optarg=yes ;;
3752dfcbf1pst    esac
3762dfcbf1pst    eval "with_${ac_package}='$ac_optarg'" ;;
3772dfcbf1pst
3782dfcbf1pst  -without-* | --without-*)
3792dfcbf1pst    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
3802dfcbf1pst    # Reject names that are not valid shell variable names.
3812dfcbf1pst    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
3822dfcbf1pst      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
3832dfcbf1pst    fi
3842dfcbf1pst    ac_package=`echo $ac_package| sed 's/-/_/g'`
3852dfcbf1pst    eval "with_${ac_package}=no" ;;
3862dfcbf1pst
3872dfcbf1pst  --x)
3882dfcbf1pst    # Obsolete; use --with-x.
3892dfcbf1pst    with_x=yes ;;
3902dfcbf1pst
3912dfcbf1pst  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
3922dfcbf1pst  | --x-incl | --x-inc | --x-in | --x-i)
3932dfcbf1pst    ac_prev=x_includes ;;
3942dfcbf1pst  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
3952dfcbf1pst  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
3962dfcbf1pst    x_includes="$ac_optarg" ;;
3972dfcbf1pst
3982dfcbf1pst  -x-libraries | --x-libraries | --x-librarie | --x-librari \
3992dfcbf1pst  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
4002dfcbf1pst    ac_prev=x_libraries ;;
4012dfcbf1pst  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
4022dfcbf1pst  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
4032dfcbf1pst    x_libraries="$ac_optarg" ;;
4042dfcbf1pst
4052dfcbf1pst  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
4062dfcbf1pst    ;;
4072dfcbf1pst
4082dfcbf1pst  *)
4092dfcbf1pst    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
4102dfcbf1pst      echo "configure: warning: $ac_option: invalid host type" 1>&2
4112dfcbf1pst    fi
4122dfcbf1pst    if test "x$nonopt" != xNONE; then
4132dfcbf1pst      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
4142dfcbf1pst    fi
4152dfcbf1pst    nonopt="$ac_option"
4162dfcbf1pst    ;;
4172dfcbf1pst
4182dfcbf1pst  esac
4192dfcbf1pstdone
4202dfcbf1pst
4212dfcbf1pstif test -n "$ac_prev"; then
4222dfcbf1pst  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
4232dfcbf1pstfi
4242dfcbf1pst
4252dfcbf1psttrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
4262dfcbf1pst
4272dfcbf1pst# File descriptor usage:
4282dfcbf1pst# 0 standard input
4292dfcbf1pst# 1 file creation
4302dfcbf1pst# 2 errors and warnings
4312dfcbf1pst# 3 some systems may open it to /dev/tty
4322dfcbf1pst# 4 used on the Kubota Titan
4332dfcbf1pst# 6 checking for... messages and results
4342dfcbf1pst# 5 compiler messages saved in config.log
4352dfcbf1pstif test "$silent" = yes; then
4362dfcbf1pst  exec 6>/dev/null
4372dfcbf1pstelse
4382dfcbf1pst  exec 6>&1
4392dfcbf1pstfi
4402dfcbf1pstexec 5>./config.log
4412dfcbf1pst
4422dfcbf1pstecho "\
4432dfcbf1pstThis file contains any messages produced by compilers while
4442dfcbf1pstrunning configure, to aid debugging if configure makes a mistake.
4452dfcbf1pst" 1>&5
4462dfcbf1pst
4472dfcbf1pst# Strip out --no-create and --no-recursion so they do not pile up.
4482dfcbf1pst# Also quote any args containing shell metacharacters.
4492dfcbf1pstac_configure_args=
4502dfcbf1pstfor ac_arg
4512dfcbf1pstdo
4522dfcbf1pst  case "$ac_arg" in
4532dfcbf1pst  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
4542dfcbf1pst  | --no-cr | --no-c) ;;
4552dfcbf1pst  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
4562dfcbf1pst  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
4572dfcbf1pst  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
4582dfcbf1pst  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
4592dfcbf1pst  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
4602dfcbf1pst  esac
4612dfcbf1pstdone
4622dfcbf1pst
4632dfcbf1pst# NLS nuisances.
464620a154ache# Only set these to C if already set.  These must not be set unconditionally
465620a154ache# because not all systems understand e.g. LANG=C (notably SCO).
466620a154ache# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
467620a154ache# Non-C LC_CTYPE values break the ctype check.
4682dfcbf1pstif test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
469620a154acheif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
470620a154acheif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
471620a154acheif test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
4722dfcbf1pst
4732dfcbf1pst# confdefs.h avoids OS command line length limits that DEFS can exceed.
4742dfcbf1pstrm -rf conftest* confdefs.h
4752dfcbf1pst# AIX cpp loses on an empty file, so make sure it contains at least a newline.
4762dfcbf1pstecho > confdefs.h
4772dfcbf1pst
4782dfcbf1pst# A filename unique to this package, relative to the directory that
4792dfcbf1pst# configure is in, which we can look for to find out if srcdir is correct.
4802dfcbf1pstac_unique_file=README
4812dfcbf1pst
4822dfcbf1pst# Find the source files, if location was not specified.
4832dfcbf1pstif test -z "$srcdir"; then
4842dfcbf1pst  ac_srcdir_defaulted=yes
4852dfcbf1pst  # Try the directory containing this script, then its parent.
4862dfcbf1pst  ac_prog=$0
4872dfcbf1pst  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
4882dfcbf1pst  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
4892dfcbf1pst  srcdir=$ac_confdir
4902dfcbf1pst  if test ! -r $srcdir/$ac_unique_file; then
4912dfcbf1pst    srcdir=..
4922dfcbf1pst  fi
4932dfcbf1pstelse
4942dfcbf1pst  ac_srcdir_defaulted=no
4952dfcbf1pstfi
4962dfcbf1pstif test ! -r $srcdir/$ac_unique_file; then
4972dfcbf1pst  if test "$ac_srcdir_defaulted" = yes; then
4982dfcbf1pst    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
4992dfcbf1pst  else
5002dfcbf1pst    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
5012dfcbf1pst  fi
5022dfcbf1pstfi
5032dfcbf1pstsrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
5042dfcbf1pst
5052dfcbf1pst# Prefer explicitly selected file to automatically selected ones.
5062dfcbf1pstif test -z "$CONFIG_SITE"; then
5072dfcbf1pst  if test "x$prefix" != xNONE; then
5082dfcbf1pst    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
5092dfcbf1pst  else
5102dfcbf1pst    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
5112dfcbf1pst  fi
5122dfcbf1pstfi
5132dfcbf1pstfor ac_site_file in $CONFIG_SITE; do
5142dfcbf1pst  if test -r "$ac_site_file"; then
5152dfcbf1pst    echo "loading site script $ac_site_file"
5162dfcbf1pst    . "$ac_site_file"
5172dfcbf1pst  fi
5182dfcbf1pstdone
5192dfcbf1pst
5202dfcbf1pstif test -r "$cache_file"; then
5212dfcbf1pst  echo "loading cache $cache_file"
5222dfcbf1pst  . $cache_file
5232dfcbf1pstelse
5242dfcbf1pst  echo "creating cache $cache_file"
5252dfcbf1pst  > $cache_file
5262dfcbf1pstfi
5272dfcbf1pst
5282dfcbf1pstac_ext=c
5292dfcbf1pst# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5302dfcbf1pstac_cpp='$CPP $CPPFLAGS'
5312dfcbf1pstac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5324cdfa78markmac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
533620a154achecross_compiling=$ac_cv_prog_cc_cross
5342dfcbf1pst
5354cdfa78markmac_exeext=
5364cdfa78markmac_objext=o
5372dfcbf1pstif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
5382dfcbf1pst  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
5392dfcbf1pst  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
5402dfcbf1pst    ac_n= ac_c='
5412dfcbf1pst' ac_t='	'
5422dfcbf1pst  else
5432dfcbf1pst    ac_n=-n ac_c= ac_t=
5442dfcbf1pst  fi
5452dfcbf1pstelse
5462dfcbf1pst  ac_n= ac_c='\c' ac_t=
5472dfcbf1pstfi
5482dfcbf1pst
5492dfcbf1pst
5502dfcbf1pst
5512dfcbf1pst# Check whether --enable-access-file or --disable-access-file was given.
5522dfcbf1pstif test "${enable_access_file+set}" = set; then
5532dfcbf1pst  enableval="$enable_access_file"
5542dfcbf1pst  cat >> confdefs.h <<EOF
5552dfcbf1pst#define PATH_ACCESS_FILE "$enable_access_file"
5562dfcbf1pstEOF
5572dfcbf1pst echo "Using the access file in $enable_access_file -- don't say we didn't warn you!"
5582dfcbf1pstfi
5592dfcbf1pst
560620a154acheACCESS_FILE="$enable_access_file"
561620a154ache
562620a154ache# Check whether --enable-server-md4 or --disable-server-md4 was given.
563620a154acheif test "${enable_server_md4+set}" = set; then
564620a154ache  enableval="$enable_server_md4"
565620a154ache  cat >> confdefs.h <<\EOF
566620a154ache#define MDX 4
567620a154acheEOF
568620a154ache
569620a154acheelse
570620a154ache  cat >> confdefs.h <<\EOF
571620a154ache#define MDX 5
572620a154acheEOF
573620a154ache
574620a154achefi
575620a154ache
576620a154ache
577620a154ache# Check whether --enable-user-locking or --disable-user-locking was given.
578620a154acheif test "${enable_user_locking+set}" = set; then
579620a154ache  enableval="$enable_user_locking"
580620a154ache  :
581620a154achefi
582620a154ache
583aee7d5ekrisif test "$enable_user_locking" != no;
584620a154achethen
585620a154ache  if test -z "$enable_user_locking"
586620a154ache  then
587620a154ache    cat >> confdefs.h <<\EOF
588620a154ache#define OPIE_LOCK_DIR "/etc/opielocks"
589620a154acheEOF
590620a154ache
591aee7d5ekris    LOCK_DIR="/etc/opielocks"
592620a154ache  else
593620a154ache    cat >> confdefs.h <<EOF
594620a154ache#define OPIE_LOCK_DIR "$enable_user_locking"
595620a154acheEOF
596620a154ache
597aee7d5ekris    LOCK_DIR="$enable_user_locking"
598620a154ache  fi
599620a154achefi
600620a154ache
601620a154ache
602620a154ache# Check whether --enable-retype or --disable-retype was given.
603620a154acheif test "${enable_retype+set}" = set; then
604620a154ache  enableval="$enable_retype"
605620a154ache  cat >> confdefs.h <<\EOF
606620a154ache#define RETYPE 1
607620a154acheEOF
608620a154ache
609620a154achefi
610620a154ache
611620a154ache# Check whether --enable-su-star-check or --disable-su-star-check was given.
612620a154acheif test "${enable_su_star_check+set}" = set; then
613620a154ache  enableval="$enable_su_star_check"
614620a154ache  cat >> confdefs.h <<\EOF
615620a154ache#define SU_STAR_CHECK 1
616620a154acheEOF
617620a154ache
618620a154achefi
619620a154ache
620620a154ache# Check whether --enable-new-prompts or --disable-new-prompts was given.
621620a154acheif test "${enable_new_prompts+set}" = set; then
622620a154ache  enableval="$enable_new_prompts"
623620a154ache  :
624620a154acheelse
625620a154ache  cat >> confdefs.h <<\EOF
626620a154ache#define NEW_PROMPTS 1
627620a154acheEOF
628620a154ache
629620a154achefi
630620a154ache
631620a154ache# Check whether --enable-insecure-override or --disable-insecure-override was given.
632620a154acheif test "${enable_insecure_override+set}" = set; then
633620a154ache  enableval="$enable_insecure_override"
634620a154ache  cat >> confdefs.h <<\EOF
635620a154ache#define INSECURE_OVERRIDE 1
636620a154acheEOF
637620a154ache
638620a154achefi
639620a154ache
6402dfcbf1pst# Check whether --enable-anonymous-ftp or --disable-anonymous-ftp was given.
6412dfcbf1pstif test "${enable_anonymous_ftp+set}" = set; then
6422dfcbf1pst  enableval="$enable_anonymous_ftp"
6432dfcbf1pst  cat >> confdefs.h <<\EOF
6442dfcbf1pst#define DOANONYMOUS 1
6452dfcbf1pstEOF
6464cdfa78markm echo "enabling anonymous FTP support in ftp -- don't say we didn't warn you!"
6472dfcbf1pstfi
6482dfcbf1pst
649620a154ache# Check whether --enable-utmp or --disable-utmp was given.
650620a154acheif test "${enable_utmp+set}" = set; then
651620a154ache  enableval="$enable_utmp"
652620a154ache  cat >> confdefs.h <<\EOF
653620a154ache#define DISABLE_UTMP 1
654620a154acheEOF
6554cdfa78markm echo "disabling utmp logging"
656620a154achefi
657620a154ache
658620a154ache# Check whether --enable-wtmp or --disable-wtmp was given.
659620a154acheif test "${enable_wtmp+set}" = set; then
660620a154ache  enableval="$enable_wtmp"
661620a154ache  cat >> confdefs.h <<\EOF
6624cdfa78markm#define DISABLE_WTMP 1
6634cdfa78markmEOF
6644cdfa78markm echo "disabling wtmp logging"
6654cdfa78markmfi
6664cdfa78markm
6674cdfa78markm# Check whether --enable-opieauto or --disable-opieauto was given.
6684cdfa78markmif test "${enable_opieauto+set}" = set; then
6694cdfa78markm  enableval="$enable_opieauto"
6704cdfa78markm  cat >> confdefs.h <<\EOF
6714cdfa78markm#define OPIEAUTO 1
672620a154acheEOF
6734cdfa78markm OPIEAUTO=opieauto; echo "enabling opieauto support"
674620a154achefi
675620a154ache
6762dfcbf1pst
6774cdfa78markm
6782dfcbf1pst# Extract the first word of "gcc", so it can be a program name with args.
6792dfcbf1pstset dummy gcc; ac_word=$2
6802dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
6814cdfa78markmecho "configure:682: checking for $ac_word" >&5
6822dfcbf1pstif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6832dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
6842dfcbf1pstelse
6852dfcbf1pst  if test -n "$CC"; then
6862dfcbf1pst  ac_cv_prog_CC="$CC" # Let the user override the test.
6872dfcbf1pstelse
6884cdfa78markm  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
6894cdfa78markm  ac_dummy="$PATH"
6904cdfa78markm  for ac_dir in $ac_dummy; do
6912dfcbf1pst    test -z "$ac_dir" && ac_dir=.
6922dfcbf1pst    if test -f $ac_dir/$ac_word; then
6932dfcbf1pst      ac_cv_prog_CC="gcc"
6942dfcbf1pst      break
6952dfcbf1pst    fi
6962dfcbf1pst  done
6972dfcbf1pst  IFS="$ac_save_ifs"
6982dfcbf1pstfi
6992dfcbf1pstfi
7002dfcbf1pstCC="$ac_cv_prog_CC"
7012dfcbf1pstif test -n "$CC"; then
7022dfcbf1pst  echo "$ac_t""$CC" 1>&6
7032dfcbf1pstelse
7042dfcbf1pst  echo "$ac_t""no" 1>&6
7052dfcbf1pstfi
7062dfcbf1pst
7072dfcbf1pstif test -z "$CC"; then
7082dfcbf1pst  # Extract the first word of "cc", so it can be a program name with args.
7092dfcbf1pstset dummy cc; ac_word=$2
7102dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
7114cdfa78markmecho "configure:712: checking for $ac_word" >&5
7122dfcbf1pstif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7132dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
7142dfcbf1pstelse
7152dfcbf1pst  if test -n "$CC"; then
7162dfcbf1pst  ac_cv_prog_CC="$CC" # Let the user override the test.
7172dfcbf1pstelse
7184cdfa78markm  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
7192dfcbf1pst  ac_prog_rejected=no
7204cdfa78markm  ac_dummy="$PATH"
7214cdfa78markm  for ac_dir in $ac_dummy; do
7222dfcbf1pst    test -z "$ac_dir" && ac_dir=.
7232dfcbf1pst    if test -f $ac_dir/$ac_word; then
7242dfcbf1pst      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7252dfcbf1pst        ac_prog_rejected=yes
7262dfcbf1pst	continue
7272dfcbf1pst      fi
7282dfcbf1pst      ac_cv_prog_CC="cc"
7292dfcbf1pst      break
7302dfcbf1pst    fi
7312dfcbf1pst  done
7322dfcbf1pst  IFS="$ac_save_ifs"
7332dfcbf1pstif test $ac_prog_rejected = yes; then
7342dfcbf1pst  # We found a bogon in the path, so make sure we never use it.
7352dfcbf1pst  set dummy $ac_cv_prog_CC
7362dfcbf1pst  shift
7372dfcbf1pst  if test $# -gt 0; then
7382dfcbf1pst    # We chose a different compiler from the bogus one.
7392dfcbf1pst    # However, it has the same basename, so the bogon will be chosen
7402dfcbf1pst    # first if we set CC to just the basename; use the full file name.
7412dfcbf1pst    shift
7422dfcbf1pst    set dummy "$ac_dir/$ac_word" "$@"
7432dfcbf1pst    shift
7442dfcbf1pst    ac_cv_prog_CC="$@"
7452dfcbf1pst  fi
7462dfcbf1pstfi
7472dfcbf1pstfi
7482dfcbf1pstfi
7492dfcbf1pstCC="$ac_cv_prog_CC"
7502dfcbf1pstif test -n "$CC"; then
7512dfcbf1pst  echo "$ac_t""$CC" 1>&6
7522dfcbf1pstelse
7532dfcbf1pst  echo "$ac_t""no" 1>&6
7542dfcbf1pstfi
7552dfcbf1pst
7564cdfa78markm  if test -z "$CC"; then
7574cdfa78markm    case "`uname -s`" in
7584cdfa78markm    *win32* | *WIN32*)
7594cdfa78markm      # Extract the first word of "cl", so it can be a program name with args.
7604cdfa78markmset dummy cl; ac_word=$2
7614cdfa78markmecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
7624cdfa78markmecho "configure:763: checking for $ac_word" >&5
7634cdfa78markmif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7644cdfa78markm  echo $ac_n "(cached) $ac_c" 1>&6
7654cdfa78markmelse
7664cdfa78markm  if test -n "$CC"; then
7674cdfa78markm  ac_cv_prog_CC="$CC" # Let the user override the test.
7684cdfa78markmelse
7694cdfa78markm  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
7704cdfa78markm  ac_dummy="$PATH"
7714cdfa78markm  for ac_dir in $ac_dummy; do
7724cdfa78markm    test -z "$ac_dir" && ac_dir=.
7734cdfa78markm    if test -f $ac_dir/$ac_word; then
7744cdfa78markm      ac_cv_prog_CC="cl"
7754cdfa78markm      break
7764cdfa78markm    fi
7774cdfa78markm  done
7784cdfa78markm  IFS="$ac_save_ifs"
7794cdfa78markmfi
7804cdfa78markmfi
7814cdfa78markmCC="$ac_cv_prog_CC"
7824cdfa78markmif test -n "$CC"; then
7834cdfa78markm  echo "$ac_t""$CC" 1>&6
7844cdfa78markmelse
7854cdfa78markm  echo "$ac_t""no" 1>&6
7864cdfa78markmfi
7874cdfa78markm ;;
7884cdfa78markm    esac
7894cdfa78markm  fi
7902dfcbf1pst  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7912dfcbf1pstfi
7922dfcbf1pst
793620a154acheecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7944cdfa78markmecho "configure:795: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
795620a154ache
796620a154acheac_ext=c
797620a154ache# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
798620a154acheac_cpp='$CPP $CPPFLAGS'
799620a154acheac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8004cdfa78markmac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
801620a154achecross_compiling=$ac_cv_prog_cc_cross
802620a154ache
8034cdfa78markmcat > conftest.$ac_ext << EOF
8044cdfa78markm
8054cdfa78markm#line 806 "configure"
806620a154ache#include "confdefs.h"
8074cdfa78markm
808620a154achemain(){return(0);}
809620a154acheEOF
8104cdfa78markmif { (eval echo configure:811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
811620a154ache  ac_cv_prog_cc_works=yes
812620a154ache  # If we can't run a trivial program, we are probably using a cross compiler.
813620a154ache  if (./conftest; exit) 2>/dev/null; then
814620a154ache    ac_cv_prog_cc_cross=no
815620a154ache  else
816620a154ache    ac_cv_prog_cc_cross=yes
817620a154ache  fi
818620a154acheelse
819620a154ache  echo "configure: failed program was:" >&5
820620a154ache  cat conftest.$ac_ext >&5
821620a154ache  ac_cv_prog_cc_works=no
822620a154achefi
823620a154acherm -fr conftest*
8244cdfa78markmac_ext=c
8254cdfa78markm# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8264cdfa78markmac_cpp='$CPP $CPPFLAGS'
8274cdfa78markmac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8284cdfa78markmac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8294cdfa78markmcross_compiling=$ac_cv_prog_cc_cross
830620a154ache
831620a154acheecho "$ac_t""$ac_cv_prog_cc_works" 1>&6
832620a154acheif test $ac_cv_prog_cc_works = no; then
833620a154ache  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
834620a154achefi
835620a154acheecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8364cdfa78markmecho "configure:837: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
837620a154acheecho "$ac_t""$ac_cv_prog_cc_cross" 1>&6
838620a154achecross_compiling=$ac_cv_prog_cc_cross
839620a154ache
8402dfcbf1pstecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8414cdfa78markmecho "configure:842: checking whether we are using GNU C" >&5
8422dfcbf1pstif eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8432dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
8442dfcbf1pstelse
8452dfcbf1pst  cat > conftest.c <<EOF
8462dfcbf1pst#ifdef __GNUC__
8472dfcbf1pst  yes;
8482dfcbf1pst#endif
8492dfcbf1pstEOF
8504cdfa78markmif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8512dfcbf1pst  ac_cv_prog_gcc=yes
8522dfcbf1pstelse
8532dfcbf1pst  ac_cv_prog_gcc=no
8542dfcbf1pstfi
8552dfcbf1pstfi
8562dfcbf1pst
8572dfcbf1pstecho "$ac_t""$ac_cv_prog_gcc" 1>&6
858620a154ache
8592dfcbf1pstif test $ac_cv_prog_gcc = yes; then
8602dfcbf1pst  GCC=yes
8614cdfa78markmelse
8624cdfa78markm  GCC=
8634cdfa78markmfi
8644cdfa78markm
8654cdfa78markmac_test_CFLAGS="${CFLAGS+set}"
8664cdfa78markmac_save_CFLAGS="$CFLAGS"
8674cdfa78markmCFLAGS=
8684cdfa78markmecho $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8694cdfa78markmecho "configure:870: checking whether ${CC-cc} accepts -g" >&5
870620a154acheif eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8712dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
8722dfcbf1pstelse
8732dfcbf1pst  echo 'void f(){}' > conftest.c
8742dfcbf1pstif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
875620a154ache  ac_cv_prog_cc_g=yes
8762dfcbf1pstelse
877620a154ache  ac_cv_prog_cc_g=no
8782dfcbf1pstfi
8792dfcbf1pstrm -f conftest*
8802dfcbf1pst
8812dfcbf1pstfi
8822dfcbf1pst
883620a154acheecho "$ac_t""$ac_cv_prog_cc_g" 1>&6
8844cdfa78markmif test "$ac_test_CFLAGS" = set; then
8854cdfa78markm  CFLAGS="$ac_save_CFLAGS"
8864cdfa78markmelif test $ac_cv_prog_cc_g = yes; then
8874cdfa78markm  if test "$GCC" = yes; then
888620a154ache    CFLAGS="-g -O2"
889620a154ache  else
8904cdfa78markm    CFLAGS="-g"
8912dfcbf1pst  fi
8922dfcbf1pstelse
8934cdfa78markm  if test "$GCC" = yes; then
8944cdfa78markm    CFLAGS="-O2"
8954cdfa78markm  else
8964cdfa78markm    CFLAGS=
8974cdfa78markm  fi
8982dfcbf1pstfi
8992dfcbf1pst
9002dfcbf1pstecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
9014cdfa78markmecho "configure:902: checking how to run the C preprocessor" >&5
9022dfcbf1pst# On Suns, sometimes $CPP names a directory.
9032dfcbf1pstif test -n "$CPP" && test -d "$CPP"; then
9042dfcbf1pst  CPP=
9052dfcbf1pstfi
9062dfcbf1pstif test -z "$CPP"; then
9072dfcbf1pstif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
9082dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
9092dfcbf1pstelse
9102dfcbf1pst    # This must be in double quotes, not single quotes, because CPP may get
9112dfcbf1pst  # substituted into the Makefile and "${CC-cc}" will confuse make.
9122dfcbf1pst  CPP="${CC-cc} -E"
9132dfcbf1pst  # On the NeXT, cc -E runs the code through the compiler's parser,
9142dfcbf1pst  # not just through cpp.
9152dfcbf1pst  cat > conftest.$ac_ext <<EOF
9164cdfa78markm#line 917 "configure"
9172dfcbf1pst#include "confdefs.h"
9182dfcbf1pst#include <assert.h>
9192dfcbf1pstSyntax Error
9202dfcbf1pstEOF
9212dfcbf1pstac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9224cdfa78markm{ (eval echo configure:923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9234cdfa78markmac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9242dfcbf1pstif test -z "$ac_err"; then
9252dfcbf1pst  :
9262dfcbf1pstelse
9272dfcbf1pst  echo "$ac_err" >&5
928620a154ache  echo "configure: failed program was:" >&5
929620a154ache  cat conftest.$ac_ext >&5
9302dfcbf1pst  rm -rf conftest*
9312dfcbf1pst  CPP="${CC-cc} -E -traditional-cpp"
9322dfcbf1pst  cat > conftest.$ac_ext <<EOF
9334cdfa78markm#line 934 "configure"
9342dfcbf1pst#include "confdefs.h"
9352dfcbf1pst#include <assert.h>
9362dfcbf1pstSyntax Error
9372dfcbf1pstEOF
9382dfcbf1pstac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9394cdfa78markm{ (eval echo configure:940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9404cdfa78markmac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9414cdfa78markmif test -z "$ac_err"; then
9424cdfa78markm  :
9434cdfa78markmelse
9444cdfa78markm  echo "$ac_err" >&5
9454cdfa78markm  echo "configure: failed program was:" >&5
9464cdfa78markm  cat conftest.$ac_ext >&5
9474cdfa78markm  rm -rf conftest*
9484cdfa78markm  CPP="${CC-cc} -nologo -E"
9494cdfa78markm  cat > conftest.$ac_ext <<EOF
9504cdfa78markm#line 951 "configure"
9514cdfa78markm#include "confdefs.h"
9524cdfa78markm#include <assert.h>
9534cdfa78markmSyntax Error
9544cdfa78markmEOF
9554cdfa78markmac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9564cdfa78markm{ (eval echo configure:957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9574cdfa78markmac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9582dfcbf1pstif test -z "$ac_err"; then
9592dfcbf1pst  :
9602dfcbf1pstelse
9612dfcbf1pst  echo "$ac_err" >&5
962620a154ache  echo "configure: failed program was:" >&5
963620a154ache  cat conftest.$ac_ext >&5
9642dfcbf1pst  rm -rf conftest*
9652dfcbf1pst  CPP=/lib/cpp
9662dfcbf1pstfi
9672dfcbf1pstrm -f conftest*
9682dfcbf1pstfi
9692dfcbf1pstrm -f conftest*
9704cdfa78markmfi
9714cdfa78markmrm -f conftest*
9722dfcbf1pst  ac_cv_prog_CPP="$CPP"
9732dfcbf1pstfi
9742dfcbf1pst  CPP="$ac_cv_prog_CPP"
9752dfcbf1pstelse
9762dfcbf1pst  ac_cv_prog_CPP="$CPP"
9772dfcbf1pstfi
9782dfcbf1pstecho "$ac_t""$CPP" 1>&6
9792dfcbf1pst
9802dfcbf1pstecho $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9814cdfa78markmecho "configure:982: checking whether ln -s works" >&5
9822dfcbf1pstif eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9832dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
9842dfcbf1pstelse
9852dfcbf1pst  rm -f conftestdata
9862dfcbf1pstif ln -s X conftestdata 2>/dev/null
9872dfcbf1pstthen
9882dfcbf1pst  rm -f conftestdata
9892dfcbf1pst  ac_cv_prog_LN_S="ln -s"
9902dfcbf1pstelse
9912dfcbf1pst  ac_cv_prog_LN_S=ln
9922dfcbf1pstfi
9932dfcbf1pstfi
9942dfcbf1pstLN_S="$ac_cv_prog_LN_S"
9952dfcbf1pstif test "$ac_cv_prog_LN_S" = "ln -s"; then
9962dfcbf1pst  echo "$ac_t""yes" 1>&6
9972dfcbf1pstelse
9982dfcbf1pst  echo "$ac_t""no" 1>&6
9992dfcbf1pstfi
10002dfcbf1pst
10012dfcbf1pst# Extract the first word of "ranlib", so it can be a program name with args.
10022dfcbf1pstset dummy ranlib; ac_word=$2
10032dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
10044cdfa78markmecho "configure:1005: checking for $ac_word" >&5
10052dfcbf1pstif eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
10062dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
10072dfcbf1pstelse
10082dfcbf1pst  if test -n "$RANLIB"; then
10092dfcbf1pst  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
10102dfcbf1pstelse
10114cdfa78markm  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
10124cdfa78markm  ac_dummy="$PATH"
10134cdfa78markm  for ac_dir in $ac_dummy; do
10142dfcbf1pst    test -z "$ac_dir" && ac_dir=.
10152dfcbf1pst    if test -f $ac_dir/$ac_word; then
10162dfcbf1pst      ac_cv_prog_RANLIB="ranlib"
10172dfcbf1pst      break
10182dfcbf1pst    fi
10192dfcbf1pst  done
10202dfcbf1pst  IFS="$ac_save_ifs"
10212dfcbf1pst  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
10222dfcbf1pstfi
10232dfcbf1pstfi
10242dfcbf1pstRANLIB="$ac_cv_prog_RANLIB"
10252dfcbf1pstif test -n "$RANLIB"; then
10262dfcbf1pst  echo "$ac_t""$RANLIB" 1>&6
10272dfcbf1pstelse
10282dfcbf1pst  echo "$ac_t""no" 1>&6
10292dfcbf1pstfi
10302dfcbf1pst
10312dfcbf1pstfor ac_prog in 'bison -y' byacc
10322dfcbf1pstdo
10332dfcbf1pst# Extract the first word of "$ac_prog", so it can be a program name with args.
10342dfcbf1pstset dummy $ac_prog; ac_word=$2
10352dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
10364cdfa78markmecho "configure:1037: checking for $ac_word" >&5
10372dfcbf1pstif eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
10382dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
10392dfcbf1pstelse
10402dfcbf1pst  if test -n "$YACC"; then
10412dfcbf1pst  ac_cv_prog_YACC="$YACC" # Let the user override the test.
10422dfcbf1pstelse
10434cdfa78markm  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
10444cdfa78markm  ac_dummy="$PATH"
10454cdfa78markm  for ac_dir in $ac_dummy; do
10462dfcbf1pst    test -z "$ac_dir" && ac_dir=.
10472dfcbf1pst    if test -f $ac_dir/$ac_word; then
10482dfcbf1pst      ac_cv_prog_YACC="$ac_prog"
10492dfcbf1pst      break
10502dfcbf1pst    fi
10512dfcbf1pst  done
10522dfcbf1pst  IFS="$ac_save_ifs"
10532dfcbf1pstfi
10542dfcbf1pstfi
10552dfcbf1pstYACC="$ac_cv_prog_YACC"
10562dfcbf1pstif test -n "$YACC"; then
10572dfcbf1pst  echo "$ac_t""$YACC" 1>&6
10582dfcbf1pstelse
10592dfcbf1pst  echo "$ac_t""no" 1>&6
10602dfcbf1pstfi
10612dfcbf1pst
10622dfcbf1psttest -n "$YACC" && break
10632dfcbf1pstdone
10642dfcbf1psttest -n "$YACC" || YACC="yacc"
10652dfcbf1pst
10662dfcbf1pst
10672dfcbf1pstecho $ac_n "checking for AIX""... $ac_c" 1>&6
10684cdfa78markmecho "configure:1069: checking for AIX" >&5
10692dfcbf1pstcat > conftest.$ac_ext <<EOF
10704cdfa78markm#line 1071 "configure"
10712dfcbf1pst#include "confdefs.h"
10722dfcbf1pst#ifdef _AIX
10732dfcbf1pst  yes
10742dfcbf1pst#endif
10752dfcbf1pst
10762dfcbf1pstEOF
10772dfcbf1pstif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10782dfcbf1pst  egrep "yes" >/dev/null 2>&1; then
10792dfcbf1pst  rm -rf conftest*
10802dfcbf1pst  echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
10812dfcbf1pst#define _ALL_SOURCE 1
10822dfcbf1pstEOF
10832dfcbf1pst
10842dfcbf1pstelse
10852dfcbf1pst  rm -rf conftest*
10862dfcbf1pst  echo "$ac_t""no" 1>&6
10872dfcbf1pstfi
10882dfcbf1pstrm -f conftest*
10892dfcbf1pst
10902dfcbf1pst
10912dfcbf1pstecho $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
10924cdfa78markmecho "configure:1093: checking for POSIXized ISC" >&5
10932dfcbf1pstif test -d /etc/conf/kconfig.d &&
10942dfcbf1pst  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
10952dfcbf1pstthen
10962dfcbf1pst  echo "$ac_t""yes" 1>&6
10972dfcbf1pst  ISC=yes # If later tests want to check for ISC.
10982dfcbf1pst  cat >> confdefs.h <<\EOF
10992dfcbf1pst#define _POSIX_SOURCE 1
11002dfcbf1pstEOF
11012dfcbf1pst
11022dfcbf1pst  if test "$GCC" = yes; then
11032dfcbf1pst    CC="$CC -posix"
11042dfcbf1pst  else
11052dfcbf1pst    CC="$CC -Xp"
11062dfcbf1pst  fi
11072dfcbf1pstelse
11082dfcbf1pst  echo "$ac_t""no" 1>&6
11092dfcbf1pst  ISC=
11102dfcbf1pstfi
11112dfcbf1pst
1112620a154acheac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
11132dfcbf1pstecho $ac_n "checking for minix/config.h""... $ac_c" 1>&6
11144cdfa78markmecho "configure:1115: checking for minix/config.h" >&5
11152dfcbf1pstif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11162dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
11172dfcbf1pstelse
11182dfcbf1pst  cat > conftest.$ac_ext <<EOF
11194cdfa78markm#line 1120 "configure"
11202dfcbf1pst#include "confdefs.h"
11212dfcbf1pst#include <minix/config.h>
11222dfcbf1pstEOF
11232dfcbf1pstac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11244cdfa78markm{ (eval echo configure:1125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11254cdfa78markmac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11262dfcbf1pstif test -z "$ac_err"; then
11272dfcbf1pst  rm -rf conftest*
11282dfcbf1pst  eval "ac_cv_header_$ac_safe=yes"
11292dfcbf1pstelse
11302dfcbf1pst  echo "$ac_err" >&5
1131620a154ache  echo "configure: failed program was:" >&5
1132620a154ache  cat conftest.$ac_ext >&5
11332dfcbf1pst  rm -rf conftest*
11342dfcbf1pst  eval "ac_cv_header_$ac_safe=no"
11352dfcbf1pstfi
11362dfcbf1pstrm -f conftest*
11372dfcbf1pstfi
11382dfcbf1pstif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11392dfcbf1pst  echo "$ac_t""yes" 1>&6
11402dfcbf1pst  MINIX=yes
11412dfcbf1pstelse
11422dfcbf1pst  echo "$ac_t""no" 1>&6
11432dfcbf1pstMINIX=
11442dfcbf1pstfi
11452dfcbf1pst
11462dfcbf1pstif test "$MINIX" = yes; then
11472dfcbf1pst  cat >> confdefs.h <<\EOF
11482dfcbf1pst#define _POSIX_SOURCE 1
11492dfcbf1pstEOF
11502dfcbf1pst
11512dfcbf1pst  cat >> confdefs.h <<\EOF
11522dfcbf1pst#define _POSIX_1_SOURCE 2
11532dfcbf1pstEOF
11542dfcbf1pst
11552dfcbf1pst  cat >> confdefs.h <<\EOF
11562dfcbf1pst#define _MINIX 1
11572dfcbf1pstEOF
11582dfcbf1pst
11592dfcbf1pstfi
11602dfcbf1pst
11612dfcbf1pst
11622dfcbf1pst
11632dfcbf1pst# Extract the first word of "chown", so it can be a program name with args.
11642dfcbf1pstset dummy chown; ac_word=$2
11652dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
11664cdfa78markmecho "configure:1167: checking for $ac_word" >&5
11672dfcbf1pstif eval "test \"`echo '$''{'ac_cv_path_CHOWN'+set}'`\" = set"; then
11682dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
11692dfcbf1pstelse
11702dfcbf1pst  case "$CHOWN" in
11712dfcbf1pst  /*)
11722dfcbf1pst  ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path.
11732dfcbf1pst  ;;
11744cdfa78markm  ?:/*)			 
11754cdfa78markm  ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a dos path.
11764cdfa78markm  ;;
11772dfcbf1pst  *)
11784cdfa78markm  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
11794cdfa78markm  ac_dummy="/usr/bin /bin /usr/sbin /sbin /usr/etc /etc"
11804cdfa78markm  for ac_dir in $ac_dummy; do 
11812dfcbf1pst    test -z "$ac_dir" && ac_dir=.
11822dfcbf1pst    if test -f $ac_dir/$ac_word; then
11832dfcbf1pst      ac_cv_path_CHOWN="$ac_dir/$ac_word"
11842dfcbf1pst      break
11852dfcbf1pst    fi
11862dfcbf1pst  done
11872dfcbf1pst  IFS="$ac_save_ifs"
11882dfcbf1pst  test -z "$ac_cv_path_CHOWN" && ac_cv_path_CHOWN="/bin/chown"
11892dfcbf1pst  ;;
11902dfcbf1pstesac
11912dfcbf1pstfi
11922dfcbf1pstCHOWN="$ac_cv_path_CHOWN"
11932dfcbf1pstif test -n "$CHOWN"; then
11942dfcbf1pst  echo "$ac_t""$CHOWN" 1>&6
11952dfcbf1pstelse
11962dfcbf1pst  echo "$ac_t""no" 1>&6
11972dfcbf1pstfi
11982dfcbf1pst
11992dfcbf1pst
12002dfcbf1pst# Extract the first word of "su", so it can be a program name with args.
12012dfcbf1pstset dummy su; ac_word=$2
12022dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
12034cdfa78markmecho "configure:1204: checking for $ac_word" >&5
12042dfcbf1pstif eval "test \"`echo '$''{'ac_cv_path_SU'+set}'`\" = set"; then
12052dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
12062dfcbf1pstelse
12072dfcbf1pst  case "$SU" in
12082dfcbf1pst  /*)
12092dfcbf1pst  ac_cv_path_SU="$SU" # Let the user override the test with a path.
12102dfcbf1pst  ;;
12114cdfa78markm  ?:/*)			 
12124cdfa78markm  ac_cv_path_SU="$SU" # Let the user override the test with a dos path.
12134cdfa78markm  ;;
12142dfcbf1pst  *)
12154cdfa78markm  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
12164cdfa78markm  ac_dummy="/usr/bin /bin"
12174cdfa78markm  for ac_dir in $ac_dummy; do 
12182dfcbf1pst    test -z "$ac_dir" && ac_dir=.
12192dfcbf1pst    if test -f $ac_dir/$ac_word; then
12202dfcbf1pst      ac_cv_path_SU="$ac_dir/$ac_word"
12212dfcbf1pst      break
12222dfcbf1pst    fi
12232dfcbf1pst  done
12242dfcbf1pst  IFS="$ac_save_ifs"
12252dfcbf1pst  test -z "$ac_cv_path_SU" && ac_cv_path_SU="/bin/su"
12262dfcbf1pst  ;;
12272dfcbf1pstesac
12282dfcbf1pstfi
12292dfcbf1pstSU="$ac_cv_path_SU"
12302dfcbf1pstif test -n "$SU"; then
12312dfcbf1pst  echo "$ac_t""$SU" 1>&6
12322dfcbf1pstelse
12332dfcbf1pst  echo "$ac_t""no" 1>&6
12342dfcbf1pstfi
12352dfcbf1pst
12362dfcbf1pst# Extract the first word of "su", so it can be a program name with args.
12372dfcbf1pstset dummy su; ac_word=$2
12382dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
12394cdfa78markmecho "configure:1240: checking for $ac_word" >&5
12402dfcbf1pstif eval "test \"`echo '$''{'ac_cv_path_ALT_SU'+set}'`\" = set"; then
12412dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
12422dfcbf1pstelse
12432dfcbf1pst  case "$ALT_SU" in
12442dfcbf1pst  /*)
12452dfcbf1pst  ac_cv_path_ALT_SU="$ALT_SU" # Let the user override the test with a path.
12462dfcbf1pst  ;;
12474cdfa78markm  ?:/*)			 
12484cdfa78markm  ac_cv_path_ALT_SU="$ALT_SU" # Let the user override the test with a dos path.
12494cdfa78markm  ;;
12502dfcbf1pst  *)
12514cdfa78markm  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
12524cdfa78markm  ac_dummy="/usr/sbin /sbin"
12534cdfa78markm  for ac_dir in $ac_dummy; do 
12542dfcbf1pst    test -z "$ac_dir" && ac_dir=.
12552dfcbf1pst    if test -f $ac_dir/$ac_word; then
12562dfcbf1pst      ac_cv_path_ALT_SU="$ac_dir/$ac_word"
12572dfcbf1pst      break
12582dfcbf1pst    fi
12592dfcbf1pst  done
12602dfcbf1pst  IFS="$ac_save_ifs"
12612dfcbf1pst  ;;
12622dfcbf1pstesac
12632dfcbf1pstfi
12642dfcbf1pstALT_SU="$ac_cv_path_ALT_SU"
12652dfcbf1pstif test -n "$ALT_SU"; then
12662dfcbf1pst  echo "$ac_t""$ALT_SU" 1>&6
12672dfcbf1pstelse
12682dfcbf1pst  echo "$ac_t""no" 1>&6
12692dfcbf1pstfi
12702dfcbf1pst
12712dfcbf1pst
12722dfcbf1pst# Extract the first word of "scheme", so it can be a program name with args.
12732dfcbf1pstset dummy scheme; ac_word=$2
12742dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
12754cdfa78markmecho "configure:1276: checking for $ac_word" >&5
12762dfcbf1pstif eval "test \"`echo '$''{'ac_cv_path_SCHEME'+set}'`\" = set"; then
12772dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
12782dfcbf1pstelse
12792dfcbf1pst  case "$SCHEME" in
12802dfcbf1pst  /*)
12812dfcbf1pst  ac_cv_path_SCHEME="$SCHEME" # Let the user override the test with a path.
12822dfcbf1pst  ;;
12834cdfa78markm  ?:/*)			 
12844cdfa78markm  ac_cv_path_SCHEME="$SCHEME" # Let the user override the test with a dos path.
12854cdfa78markm  ;;
12862dfcbf1pst  *)
12874cdfa78markm  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
12884cdfa78markm  ac_dummy="/usr/lib/iaf/scheme"
12894cdfa78markm  for ac_dir in $ac_dummy; do 
12902dfcbf1pst    test -z "$ac_dir" && ac_dir=.
12912dfcbf1pst    if test -f $ac_dir/$ac_word; then
12922dfcbf1pst      ac_cv_path_SCHEME="$ac_dir/$ac_word"
12932dfcbf1pst      break
12942dfcbf1pst    fi
12952dfcbf1pst  done
12962dfcbf1pst  IFS="$ac_save_ifs"
12972dfcbf1pst  ;;
12982dfcbf1pstesac
12992dfcbf1pstfi
13002dfcbf1pstSCHEME="$ac_cv_path_SCHEME"
13012dfcbf1pstif test -n "$SCHEME"; then
13022dfcbf1pst  echo "$ac_t""$SCHEME" 1>&6
13032dfcbf1pstelse
13042dfcbf1pst  echo "$ac_t""no" 1>&6
13052dfcbf1pstfi
13062dfcbf1pst
13072dfcbf1pst# Extract the first word of "login", so it can be a program name with args.
13082dfcbf1pstset dummy login; ac_word=$2
13092dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
13104cdfa78markmecho "configure:1311: checking for $ac_word" >&5
13112dfcbf1pstif eval "test \"`echo '$''{'ac_cv_path_LOGIN'+set}'`\" = set"; then
13122dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
13132dfcbf1pstelse
13142dfcbf1pst  case "$LOGIN" in
13152dfcbf1pst  /*)
13162dfcbf1pst  ac_cv_path_LOGIN="$LOGIN" # Let the user override the test with a path.
13172dfcbf1pst  ;;
13184cdfa78markm  ?:/*)			 
13194cdfa78markm  ac_cv_path_LOGIN="$LOGIN" # Let the user override the test with a dos path.
13204cdfa78markm  ;;
13212dfcbf1pst  *)
13224cdfa78markm  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
13234cdfa78markm  ac_dummy="/usr/bin /bin"
13244cdfa78markm  for ac_dir in $ac_dummy; do 
13252dfcbf1pst    test -z "$ac_dir" && ac_dir=.
13262dfcbf1pst    if test -f $ac_dir/$ac_word; then
13272dfcbf1pst      ac_cv_path_LOGIN="$ac_dir/$ac_word"
13282dfcbf1pst      break
13292dfcbf1pst    fi
13302dfcbf1pst  done
13312dfcbf1pst  IFS="$ac_save_ifs"
13322dfcbf1pst  test -z "$ac_cv_path_LOGIN" && ac_cv_path_LOGIN="/bin/login"
13332dfcbf1pst  ;;
13342dfcbf1pstesac
13352dfcbf1pstfi
13362dfcbf1pstLOGIN="$ac_cv_path_LOGIN"
13372dfcbf1pstif test -n "$LOGIN"; then
13382dfcbf1pst  echo "$ac_t""$LOGIN" 1>&6
13392dfcbf1pstelse
13402dfcbf1pst  echo "$ac_t""no" 1>&6
13412dfcbf1pstfi
13422dfcbf1pst
13432dfcbf1pst
13442dfcbf1pstif test ! -z "$SCHEME";
13452dfcbf1pstthen
13462dfcbf1pst	LOGIN="$SCHEME";
13472dfcbf1pstfi
13482dfcbf1pst
13492dfcbf1pst# Extract the first word of "ftpd", so it can be a program name with args.
13502dfcbf1pstset dummy ftpd; ac_word=$2
13512dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
13524cdfa78markmecho "configure:1353: checking for $ac_word" >&5
13532dfcbf1pstif eval "test \"`echo '$''{'ac_cv_path_FTPD'+set}'`\" = set"; then
13542dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
13552dfcbf1pstelse
13562dfcbf1pst  case "$FTPD" in
13572dfcbf1pst  /*)
13582dfcbf1pst  ac_cv_path_FTPD="$FTPD" # Let the user override the test with a path.
13592dfcbf1pst  ;;
13604cdfa78markm  ?:/*)			 
13614cdfa78markm  ac_cv_path_FTPD="$FTPD" # Let the user override the test with a dos path.
13624cdfa78markm  ;;
13632dfcbf1pst  *)
13644cdfa78markm  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
13654cdfa78markm  ac_dummy="/usr/libexec /usr/etc /etc /usr/sbin /sbin /usr/lbin"
13664cdfa78markm  for ac_dir in $ac_dummy; do 
13672dfcbf1pst    test -z "$ac_dir" && ac_dir=.
13682dfcbf1pst    if test -f $ac_dir/$ac_word; then
13692dfcbf1pst      ac_cv_path_FTPD="$ac_dir/$ac_word"
13702dfcbf1pst      break
13712dfcbf1pst    fi
13722dfcbf1pst  done
13732dfcbf1pst  IFS="$ac_save_ifs"
13742dfcbf1pst  ;;
13752dfcbf1pstesac
13762dfcbf1pstfi
13772dfcbf1pstFTPD="$ac_cv_path_FTPD"
13782dfcbf1pstif test -n "$FTPD"; then
13792dfcbf1pst  echo "$ac_t""$FTPD" 1>&6
13802dfcbf1pstelse
13812dfcbf1pst  echo "$ac_t""no" 1>&6
13822dfcbf1pstfi
13832dfcbf1pst
13842dfcbf1pst# Extract the first word of "in.ftpd", so it can be a program name with args.
13852dfcbf1pstset dummy in.ftpd; ac_word=$2
13862dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
13874cdfa78markmecho "configure:1388: checking for $ac_word" >&5
13882dfcbf1pstif eval "test \"`echo '$''{'ac_cv_path_INFTPD'+set}'`\" = set"; then
13892dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
13902dfcbf1pstelse
13912dfcbf1pst  case "$INFTPD" in
13922dfcbf1pst  /*)
13932dfcbf1pst  ac_cv_path_INFTPD="$INFTPD" # Let the user override the test with a path.
13942dfcbf1pst  ;;
13954cdfa78markm  ?:/*)			 
13964cdfa78markm  ac_cv_path_INFTPD="$INFTPD" # Let the user override the test with a dos path.
13974cdfa78markm  ;;
13982dfcbf1pst  *)
13994cdfa78markm  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
14004cdfa78markm  ac_dummy="/usr/libexec /usr/etc /etc /usr/sbin /sbin /usr/lbin"
14014cdfa78markm  for ac_dir in $ac_dummy; do 
14022dfcbf1pst    test -z "$ac_dir" && ac_dir=.
14032dfcbf1pst    if test -f $ac_dir/$ac_word; then
14042dfcbf1pst      ac_cv_path_INFTPD="$ac_dir/$ac_word"
14052dfcbf1pst      break
14062dfcbf1pst    fi
14072dfcbf1pst  done
14082dfcbf1pst  IFS="$ac_save_ifs"
14092dfcbf1pst  ;;
14102dfcbf1pstesac
14112dfcbf1pstfi
14122dfcbf1pstINFTPD="$ac_cv_path_INFTPD"
14132dfcbf1pstif test -n "$INFTPD"; then
14142dfcbf1pst  echo "$ac_t""$INFTPD" 1>&6
14152dfcbf1pstelse
14162dfcbf1pst  echo "$ac_t""no" 1>&6
14172dfcbf1pstfi
14182dfcbf1pst
14192dfcbf1pst
14202dfcbf1pstif test -z "$FTPD"
14212dfcbf1pstthen
14222dfcbf1pst	if test ! -z "$INFTPD"
14232dfcbf1pst	then
14242dfcbf1pst		FTPD="$INFTPD"
14252dfcbf1pst	fi
14262dfcbf1pstfi
14272dfcbf1pst
14282dfcbf1pstecho $ac_n "checking for default PATH entries""... $ac_c" 1>&6
14294cdfa78markmecho "configure:1430: checking for default PATH entries" >&5
14302dfcbf1pstdefault_path=""
14312dfcbf1pstsave_IFS="$IFS"
14322dfcbf1pstIFS=" "
14332dfcbf1pstfor i in /usr/bin /bin /usr/ucb /usr/sbin /usr/bsd /sbin /usr/bin/X11 /etc /usr/local/X11/bin /usr/X11R6/bin /your-system-is-broken
14342dfcbf1pstdo
14352dfcbf1pst	IFS=":"
14362dfcbf1pst	for j in $PATH
14372dfcbf1pst	do
14382dfcbf1pst		if test "$i" = "$j"
14392dfcbf1pst		then
14402dfcbf1pst			if test -d "$i"
14412dfcbf1pst			then
14422dfcbf1pst				if test -z "$default_path"
14432dfcbf1pst				then
14442dfcbf1pst					default_path="$i"
14452dfcbf1pst				else
14462dfcbf1pst					default_path="$default_path:$i"
14472dfcbf1pst				fi
14482dfcbf1pst			fi
14492dfcbf1pst		fi
14502dfcbf1pst	done
14512dfcbf1pst	IFS=" "
14522dfcbf1pstdone
14532dfcbf1pstcat >> confdefs.h <<EOF
14542dfcbf1pst#define DEFAULT_PATH "$default_path"
14552dfcbf1pstEOF
14562dfcbf1pst
14572dfcbf1pstecho "$ac_t""$default_path" 1>&6
14582dfcbf1pst
14592dfcbf1pstecho $ac_n "checking for test -e flag""... $ac_c" 1>&6
14604cdfa78markmecho "configure:1461: checking for test -e flag" >&5
14612dfcbf1pstif sh config.testeflag
14622dfcbf1pstthen
14632dfcbf1pst	result=yes
14642dfcbf1pst	EXISTS="-e"
14652dfcbf1pstelse
14662dfcbf1pst	result=no
14672dfcbf1pst	EXISTS="-f"
14682dfcbf1pstfi
14692dfcbf1pst
14702dfcbf1pstecho "$ac_t""$result" 1>&6
14712dfcbf1pst
14722dfcbf1pstecho $ac_n "checking for mkdir -p flag""... $ac_c" 1>&6
14734cdfa78markmecho "configure:1474: checking for mkdir -p flag" >&5
14742dfcbf1pstif test -d config.tmpdir
14752dfcbf1pstthen
14762dfcbf1pst	rmdir config.tmpdir/foo/bar >/dev/null 2>/dev/null
14772dfcbf1pst	rmdir config.tmpdir/foo >/dev/null 2>/dev/null
14782dfcbf1pst	rmdir config.tmpdir >/dev/null 2>/dev/null
14792dfcbf1pstfi
14802dfcbf1pst
14812dfcbf1pstresult=no
14822dfcbf1pstif mkdir -p config.tmpdir/foo/bar >/dev/null 2>/dev/null
14832dfcbf1pstthen
14842dfcbf1pst	if test -d config.tmpdir
14852dfcbf1pst	then
14862dfcbf1pst		if test -d config.tmpdir/foo
14872dfcbf1pst		then
14882dfcbf1pst			if test -d config.tmpdir/foo/bar
14892dfcbf1pst			then
14902dfcbf1pst				result=yes
14912dfcbf1pst				rmdir config.tmpdir/foo/bar >/dev/null 2>/dev/null
14922dfcbf1pst			fi
14932dfcbf1pst			rmdir config.tmpdir/foo >/dev/null 2>/dev/null
14942dfcbf1pst		fi
14952dfcbf1pst		rmdir config.tmpdir >/dev/null 2>/dev/null
14962dfcbf1pst	fi
14972dfcbf1pstfi
14982dfcbf1pst
14992dfcbf1pstif test "$result" = yes
15002dfcbf1pstthen
15012dfcbf1pst	MKDIR="mkdir -p"
15022dfcbf1pstelse
15032dfcbf1pst	MKDIR="mkdir"
15042dfcbf1pstfi
15052dfcbf1pst
15062dfcbf1pstecho "$ac_t""$result" 1>&6
15072dfcbf1pst
15082dfcbf1pstecho $ac_n "checking for ls group field""... $ac_c" 1>&6
15094cdfa78markmecho "configure:1510: checking for ls group field" >&5
15102dfcbf1pstlsg=`/bin/ls -ldg / | wc -w | awk '{print $1}'`;
15112dfcbf1pstls=`/bin/ls -ld / | wc -w | awk '{print $1}'`;
15122dfcbf1pstresult="no"
15132dfcbf1pstif test $ls = 9;
15142dfcbf1pstthen
15152dfcbf1pst	result="yes"
15162dfcbf1pstelse
15172dfcbf1pst	if test "$ls" = 8 -a "$lsg" = 9;
15182dfcbf1pst	then
15192dfcbf1pst		result="yes, with -g"
15202dfcbf1pst		cat >> confdefs.h <<\EOF
15212dfcbf1pst#define HAVE_LS_G_FLAG 1
15222dfcbf1pstEOF
15232dfcbf1pst
15242dfcbf1pst	fi
15252dfcbf1pstfi
15262dfcbf1pstecho "$ac_t""$result" 1>&6
15272dfcbf1pst
15282dfcbf1pstecho $ac_n "checking for /etc/default/login""... $ac_c" 1>&6
15294cdfa78markmecho "configure:1530: checking for /etc/default/login" >&5
15302dfcbf1pstif test $EXISTS /etc/default/login
15312dfcbf1pstthen
15322dfcbf1pst	result=yes
15332dfcbf1pst	cat >> confdefs.h <<\EOF
15342dfcbf1pst#define HAVE_ETC_DEFAULT_LOGIN 1
15352dfcbf1pstEOF
15362dfcbf1pst
15372dfcbf1pstelse
15382dfcbf1pst	result=no
15392dfcbf1pstfi
15402dfcbf1pstecho "$ac_t""$result" 1>&6
15412dfcbf1pst
15422dfcbf1pstecho $ac_n "checking for /etc/securetty""... $ac_c" 1>&6
15434cdfa78markmecho "configure:1544: checking for /etc/securetty" >&5
15442dfcbf1pstif test $EXISTS /etc/securetty
15452dfcbf1pstthen
15462dfcbf1pst	result=yes
15472dfcbf1pst	cat >> confdefs.h <<\EOF
15482dfcbf1pst#define HAVE_SECURETTY 1
15492dfcbf1pstEOF
15502dfcbf1pst
15512dfcbf1pstelse
15522dfcbf1pst	result=no
15532dfcbf1pstfi
15542dfcbf1pstecho "$ac_t""$result" 1>&6
15552dfcbf1pst
15562dfcbf1pstecho $ac_n "checking for /etc/logindevperm""... $ac_c" 1>&6
15574cdfa78markmecho "configure:1558: checking for /etc/logindevperm" >&5
15582dfcbf1pstif test $EXISTS /etc/logindevperm
15592dfcbf1pstthen
15602dfcbf1pst	echo "$ac_t""yes" 1>&6
15612dfcbf1pst	cat >> confdefs.h <<\EOF
15622dfcbf1pst#define HAVE_LOGIN_PERMFILE "/etc/logindevperm"
15632dfcbf1pstEOF
15642dfcbf1pst
15652dfcbf1pstelse
15662dfcbf1pst	echo "$ac_t""no" 1>&6
15672dfcbf1pst
15682dfcbf1pst	echo $ac_n "checking for /etc/fbtab""... $ac_c" 1>&6
15694cdfa78markmecho "configure:1570: checking for /etc/fbtab" >&5
15702dfcbf1pst	if test $EXISTS /etc/fbtab
15712dfcbf1pst	then
15722dfcbf1pst		result=yes
15732dfcbf1pst		cat >> confdefs.h <<\EOF
15742dfcbf1pst#define HAVE_LOGIN_PERMFILE "/etc/fbtab"
15752dfcbf1pstEOF
15762dfcbf1pst
15772dfcbf1pst	else
15782dfcbf1pst		result=no
15792dfcbf1pst	fi
15802dfcbf1pst	echo "$ac_t""$result" 1>&6
15812dfcbf1pstfi
15822dfcbf1pst
15832dfcbf1pstecho $ac_n "checking for /etc/environment""... $ac_c" 1>&6
15844cdfa78markmecho "configure:1585: checking for /etc/environment" >&5
15852dfcbf1pstif test $EXISTS /etc/environment
15862dfcbf1pstthen
15872dfcbf1pst	echo "$ac_t""yes" 1>&6
15882dfcbf1pst	cat >> confdefs.h <<\EOF
15892dfcbf1pst#define HAVE_LOGIN_ENVFILE "/etc/environment"
15902dfcbf1pstEOF
15912dfcbf1pst
15922dfcbf1pstelse
15932dfcbf1pst	echo "$ac_t""no" 1>&6
15942dfcbf1pst
15952dfcbf1pst	echo $ac_n "checking for /etc/src.sh""... $ac_c" 1>&6
15964cdfa78markmecho "configure:1597: checking for /etc/src.sh" >&5
15972dfcbf1pst	if test $EXISTS /etc/src.sh
15982dfcbf1pst	then
15992dfcbf1pst		result=yes
16002dfcbf1pst		cat >> confdefs.h <<\EOF
16012dfcbf1pst#define HAVE_LOGIN_ENVFILE "/etc/src.sh"
16022dfcbf1pstEOF
16032dfcbf1pst
16042dfcbf1pst	else
16052dfcbf1pst		result=no
16062dfcbf1pst	fi
16072dfcbf1pst	echo "$ac_t""$result" 1>&6
16082dfcbf1pstfi
16092dfcbf1pst
16102dfcbf1pstecho $ac_n "checking for /etc/shadow""... $ac_c" 1>&6
16114cdfa78markmecho "configure:1612: checking for /etc/shadow" >&5
16122dfcbf1pstif test $EXISTS /etc/shadow
16132dfcbf1pstthen
16142dfcbf1pst	result=yes
16152dfcbf1pst	cat >> confdefs.h <<\EOF
16162dfcbf1pst#define HAVE_ETC_SHADOW 1
16172dfcbf1pstEOF
16182dfcbf1pst
16192dfcbf1pstelse
1620620a154ache	echo "$ac_t""no" 1>&6
1621620a154ache
1622620a154ache	echo $ac_n "checking for /etc/security/passwd.adjunct""... $ac_c" 1>&6
16234cdfa78markmecho "configure:1624: checking for /etc/security/passwd.adjunct" >&5
1624620a154ache	if test $EXISTS /etc/security/passwd.adjunct
1625620a154ache	then
1626620a154ache		result=yes
1627620a154ache		cat >> confdefs.h <<\EOF
1628620a154ache#define HAVE_SUNOS_C2_SHADOW 1
1629620a154acheEOF
1630620a154ache
1631620a154ache		LIBOBJS="$LIBOBJS getspnam.o endspent.o"
1632620a154ache	else
1633620a154ache		result=no
1634620a154ache	fi
16352dfcbf1pstfi
16362dfcbf1pstecho "$ac_t""$result" 1>&6
16372dfcbf1pst
16382dfcbf1pstecho $ac_n "checking for /var/adm/sulog""... $ac_c" 1>&6
16394cdfa78markmecho "configure:1640: checking for /var/adm/sulog" >&5
16402dfcbf1pstif test $EXISTS /var/adm/sulog
16412dfcbf1pstthen
16422dfcbf1pst	result=yes
16432dfcbf1pst	cat >> confdefs.h <<\EOF
16442dfcbf1pst#define HAVE_SULOG 1
16452dfcbf1pstEOF
16462dfcbf1pst
16472dfcbf1pstelse
16482dfcbf1pst	result=no
16492dfcbf1pstfi
16502dfcbf1pstecho "$ac_t""$result" 1>&6
16512dfcbf1pst
16522dfcbf1pstecho $ac_n "checking mail spool location""... $ac_c" 1>&6
16534cdfa78markmecho "configure:1654: checking mail spool location" >&5
16542dfcbf1pstmail_spool=""
16552dfcbf1pstfor i in /var/mail /usr/mail /var/spool/mail /usr/spool/mail
16562dfcbf1pstdo
16572dfcbf1pst	if test -d $i
16582dfcbf1pst	then
16592dfcbf1pst		mail_spool="$i"
16602dfcbf1pst	fi
16612dfcbf1pstdone
16622dfcbf1pstif test -z "$mail_spool"
16632dfcbf1pstthen
16642dfcbf1pst	result="not found"
16652dfcbf1pstelse
16662dfcbf1pst	result="$mail_spool"
16672dfcbf1pst	cat >> confdefs.h <<EOF
16682dfcbf1pst#define PATH_MAIL "$mail_spool"
16692dfcbf1pstEOF
16702dfcbf1pst
16712dfcbf1pstfi
16722dfcbf1pstecho "$ac_t""$result" 1>&6
16732dfcbf1pst
1674620a154acheecho $ac_n "checking where your system puts the utmp file""... $ac_c" 1>&6
16754cdfa78markmecho "configure:1676: checking where your system puts the utmp file" >&5
1676620a154acheutmp_path=""
1677620a154achefor i in /var/run /var/adm /usr/adm /etc
1678620a154achedo
1679620a154ache	if test $EXISTS $i/utmp
1680620a154ache	then
1681620a154ache		utmp_path="$i"
1682620a154ache	fi
1683620a154achedone
1684620a154acheif test -z "$utmp_path"
1685620a154achethen
1686620a154ache	result="not found"
1687620a154acheelse
1688620a154ache	result="$utmp_path"
1689620a154ache	cat >> confdefs.h <<EOF
1690620a154ache#define PATH_UTMP_AC "$utmp_path/utmp"
1691620a154acheEOF
1692620a154ache
1693620a154achefi
1694620a154acheecho "$ac_t""$result" 1>&6
1695620a154ache
1696620a154acheecho $ac_n "checking where your system puts the utmpx file""... $ac_c" 1>&6
16974cdfa78markmecho "configure:1698: checking where your system puts the utmpx file" >&5
1698620a154acheutmp_path=""
1699620a154achefor i in /var/run /var/adm /usr/adm /etc
1700620a154achedo
1701620a154ache	if test $EXISTS $i/utmp
1702620a154ache	then
1703620a154ache		utmp_path="$i"
1704620a154ache	fi
1705620a154achedone
1706620a154acheif test -z "$utmp_path"
1707620a154achethen
1708620a154ache	result="not found"
1709620a154ache	cat >> confdefs.h <<EOF
1710620a154ache#define PATH_UTMP_AC "$utmp_path/utmpx"
1711620a154acheEOF
1712620a154ache
1713620a154achefi
1714620a154acheecho "$ac_t""$result" 1>&6
1715620a154ache
1716620a154acheecho $ac_n "checking where your system puts the wtmp file""... $ac_c" 1>&6
17174cdfa78markmecho "configure:1718: checking where your system puts the wtmp file" >&5
1718620a154achewtmp_path=""
1719620a154achefor i in /var/run /var/log /var/adm /usr/adm /etc
1720620a154achedo
1721620a154ache	if test $EXISTS $i/wtmp
1722620a154ache	then
1723620a154ache		wtmp_path="$i"
1724620a154ache	fi
1725620a154achedone
1726620a154acheif test -z "$wtmp_path"
1727620a154achethen
1728620a154ache	result="not found"
1729620a154acheelse
1730620a154ache	result="$wtmp_path"
1731620a154ache	cat >> confdefs.h <<EOF
1732620a154ache#define PATH_WTMP_AC "$wtmp_path/wtmp"
1733620a154acheEOF
1734620a154ache
1735620a154achefi
1736620a154acheecho "$ac_t""$result" 1>&6
1737620a154ache
1738620a154acheecho $ac_n "checking where your system puts the wtmpx file""... $ac_c" 1>&6
17394cdfa78markmecho "configure:1740: checking where your system puts the wtmpx file" >&5
1740620a154achewtmpx_path=""
1741620a154achefor i in /var/run /var/log /var/adm /usr/adm /etc
1742620a154achedo
1743620a154ache	if test $EXISTS $i/wtmpx
1744620a154ache	then
1745620a154ache		wtmpx_path="$i"
1746620a154ache	fi
1747620a154achedone
1748620a154acheif test -z "$wtmpx_path"
1749620a154achethen
1750620a154ache	result="not found"
1751620a154acheelse
1752620a154ache	result="$wtmpx_path"
1753620a154ache	cat >> confdefs.h <<EOF
1754620a154ache#define PATH_WTMPX_AC "$wtmpx_path/wtmpx"
1755620a154acheEOF
17562dfcbf1pst
1757620a154achefi
1758620a154acheecho "$ac_t""$result" 1>&6
17592dfcbf1pst
17602dfcbf1pstecho $ac_n "checking whether the system profile displays the motd""... $ac_c" 1>&6
17614cdfa78markmecho "configure:1762: checking whether the system profile displays the motd" >&5
17622dfcbf1pstresult=no
17632dfcbf1pstif test $EXISTS /etc/profile
17642dfcbf1pstthen
17652dfcbf1pst	if grep motd /etc/profile >/dev/null 2>/dev/null
17662dfcbf1pst	then
17672dfcbf1pst		result=yes
17682dfcbf1pst	fi
17692dfcbf1pstfi
17702dfcbf1pstif test "$result" = yes
17712dfcbf1pstthen
17722dfcbf1pst	cat >> confdefs.h <<\EOF
17732dfcbf1pst#define HAVE_MOTD_IN_PROFILE 1
17742dfcbf1pstEOF
17752dfcbf1pst
17762dfcbf1pstfi
17772dfcbf1pstecho "$ac_t""$result" 1>&6
17782dfcbf1pst
17792dfcbf1pstecho $ac_n "checking whether the system profile checks for mail""... $ac_c" 1>&6
17804cdfa78markmecho "configure:1781: checking whether the system profile checks for mail" >&5
17812dfcbf1pstresult=no
17822dfcbf1pstif test $EXISTS /etc/profile
17832dfcbf1pstthen
17842dfcbf1pst	if grep 'mail\.' /etc/profile >/dev/null 2>/dev/null
17852dfcbf1pst	then
17862dfcbf1pst		result=yes
17872dfcbf1pst	fi
17882dfcbf1pstfi
17892dfcbf1pstif test "$result" = yes
17902dfcbf1pstthen
17912dfcbf1pst	cat >> confdefs.h <<\EOF
17922dfcbf1pst#define HAVE_MAILCHECK_IN_PROFILE 1
17932dfcbf1pstEOF
17942dfcbf1pst
17952dfcbf1pstfi
17962dfcbf1pstecho "$ac_t""$result" 1>&6
17972dfcbf1pst
17982dfcbf1pstecho $ac_n "checking for working const""... $ac_c" 1>&6
17994cdfa78markmecho "configure:1800: checking for working const" >&5
18002dfcbf1pstif eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
18012dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
18022dfcbf1pstelse
18032dfcbf1pst  cat > conftest.$ac_ext <<EOF
18044cdfa78markm#line 1805 "configure"
18052dfcbf1pst#include "confdefs.h"
18062dfcbf1pst
1807620a154acheint main() {
18082dfcbf1pst
18092dfcbf1pst/* Ultrix mips cc rejects this.  */
18102dfcbf1psttypedef int charset[2]; const charset x;
18112dfcbf1pst/* SunOS 4.1.1 cc rejects this.  */
18122dfcbf1pstchar const *const *ccp;
18132dfcbf1pstchar **p;
18142dfcbf1pst/* NEC SVR4.0.2 mips cc rejects this.  */
18152dfcbf1pststruct point {int x, y;};
18162dfcbf1pststatic struct point const zero = {0,0};
18172dfcbf1pst/* AIX XL C 1.02.0.0 rejects this.
18182dfcbf1pst   It does not let you subtract one const X* pointer from another in an arm
18192dfcbf1pst   of an if-expression whose if-part is not a constant expression */
18202dfcbf1pstconst char *g = "string";
18212dfcbf1pstccp = &g + (g ? g-g : 0);
18222dfcbf1pst/* HPUX 7.0 cc rejects these. */
18232dfcbf1pst++ccp;
18242dfcbf1pstp = (char**) ccp;
18252dfcbf1pstccp = (char const *const *) p;
18262dfcbf1pst{ /* SCO 3.2v4 cc rejects this.  */
18272dfcbf1pst  char *t;
18282dfcbf1pst  char const *s = 0 ? (char *) 0 : (char const *) 0;
18292dfcbf1pst
18302dfcbf1pst  *t++ = 0;
18312dfcbf1pst}
18322dfcbf1pst{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
18332dfcbf1pst  int x[] = {25, 17};
18342dfcbf1pst  const int *foo = &x[0];
18352dfcbf1pst  ++foo;
18362dfcbf1pst}
18372dfcbf1pst{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18382dfcbf1pst  typedef const int *iptr;
18392dfcbf1pst  iptr p = 0;
18402dfcbf1pst  ++p;
18412dfcbf1pst}
18422dfcbf1pst{ /* AIX XL C 1.02.0.0 rejects this saying
18432dfcbf1pst     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18442dfcbf1pst  struct s { int j; const int *ap[3]; };
18452dfcbf1pst  struct s *b; b->j = 5;
18462dfcbf1pst}
18472dfcbf1pst{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18482dfcbf1pst  const int foo = 10;
18492dfcbf1pst}
18502dfcbf1pst
18512dfcbf1pst; return 0; }
18522dfcbf1pstEOF
18534cdfa78markmif { (eval echo configure:1854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18542dfcbf1pst  rm -rf conftest*
18552dfcbf1pst  ac_cv_c_const=yes
18562dfcbf1pstelse
1857620a154ache  echo "configure: failed program was:" >&5
1858620a154ache  cat conftest.$ac_ext >&5
18592dfcbf1pst  rm -rf conftest*
18602dfcbf1pst  ac_cv_c_const=no
18612dfcbf1pstfi
18622dfcbf1pstrm -f conftest*
18632dfcbf1pstfi
18642dfcbf1pst
18652dfcbf1pstecho "$ac_t""$ac_cv_c_const" 1>&6
18662dfcbf1pstif test $ac_cv_c_const = no; then
18672dfcbf1pst  cat >> confdefs.h <<\EOF
18682dfcbf1pst#define const 
18692dfcbf1pstEOF
18702dfcbf1pst
18712dfcbf1pstfi
18722dfcbf1pst
18732dfcbf1pst
18742dfcbf1pstecho $ac_n "checking to see if your compiler can handle void arguments""... $ac_c" 1>&6
18754cdfa78markmecho "configure:1876: checking to see if your compiler can handle void arguments" >&5
18762dfcbf1pstcat > conftest.$ac_ext <<EOF
18774cdfa78markm#line 1878 "configure"
18782dfcbf1pst#include "confdefs.h"
18792dfcbf1pstfoo(void) { }
1880620a154acheint main() {
18812dfcbf1pst
18822dfcbf1pst; return 0; }
18832dfcbf1pstEOF
18844cdfa78markmif { (eval echo configure:1885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18852dfcbf1pst  rm -rf conftest*
18862dfcbf1pst  cat >> confdefs.h <<\EOF
18872dfcbf1pst#define HAVE_VOIDARG 1
18882dfcbf1pstEOF
18892dfcbf1pst echo "$ac_t""yes" 1>&6
18902dfcbf1pstelse
1891620a154ache  echo "configure: failed program was:" >&5
1892620a154ache  cat conftest.$ac_ext >&5
18932dfcbf1pst  rm -rf conftest*
18942dfcbf1pst  echo "$ac_t""no" 1>&6
18952dfcbf1pstfi
18962dfcbf1pstrm -f conftest*
18972dfcbf1pst
18982dfcbf1pstecho $ac_n "checking to see if your compiler can handle void return values""... $ac_c" 1>&6
18994cdfa78markmecho "configure:1900: checking to see if your compiler can handle void return values" >&5
19002dfcbf1pstcat > conftest.$ac_ext <<EOF
19014cdfa78markm#line 1902 "configure"
19022dfcbf1pst#include "confdefs.h"
19032dfcbf1pstvoid foo() { }
1904620a154acheint main() {
19052dfcbf1pst
19062dfcbf1pst; return 0; }
19072dfcbf1pstEOF
19084cdfa78markmif { (eval echo configure:1909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19092dfcbf1pst  rm -rf conftest*
19102dfcbf1pst  cat >> confdefs.h <<\EOF
19112dfcbf1pst#define HAVE_VOIDRET 1
19122dfcbf1pstEOF
19132dfcbf1pst echo "$ac_t""yes" 1>&6
19142dfcbf1pstelse
1915620a154ache  echo "configure: failed program was:" >&5
1916620a154ache  cat conftest.$ac_ext >&5
19172dfcbf1pst  rm -rf conftest*
19182dfcbf1pst  echo "$ac_t""no" 1>&6
19192dfcbf1pstfi
19202dfcbf1pstrm -f conftest*
19212dfcbf1pst
19222dfcbf1pstecho $ac_n "checking to see if your compiler can handle void pointers""... $ac_c" 1>&6
19234cdfa78markmecho "configure:1924: checking to see if your compiler can handle void pointers" >&5
19242dfcbf1pstcat > conftest.$ac_ext <<EOF
19254cdfa78markm#line 1926 "configure"
19262dfcbf1pst#include "confdefs.h"
19272dfcbf1pstfoo() { void *bar = (void *)0x42; bar = bar + 1; }
1928620a154acheint main() {
19292dfcbf1pst
19302dfcbf1pst; return 0; }
19312dfcbf1pstEOF
19324cdfa78markmif { (eval echo configure:1933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19332dfcbf1pst  rm -rf conftest*
19342dfcbf1pst  cat >> confdefs.h <<\EOF
19352dfcbf1pst#define HAVE_VOIDPTR 1
19362dfcbf1pstEOF
19372dfcbf1pst echo "$ac_t""yes" 1>&6
19382dfcbf1pstelse
1939620a154ache  echo "configure: failed program was:" >&5
1940620a154ache  cat conftest.$ac_ext >&5
19412dfcbf1pst  rm -rf conftest*
19422dfcbf1pst  echo "$ac_t""no" 1>&6
19432dfcbf1pstfi
19442dfcbf1pstrm -f conftest*
19452dfcbf1pst
19462dfcbf1pstecho $ac_n "checking to see if your compiler can handle ANSI argument lists""... $ac_c" 1>&6
19474cdfa78markmecho "configure:1948: checking to see if your compiler can handle ANSI argument lists" >&5
19482dfcbf1pstcat > conftest.$ac_ext <<EOF
19494cdfa78markm#line 1950 "configure"
19502dfcbf1pst#include "confdefs.h"
19512dfcbf1pstint foo(int bar, int baz) { return 0; }
1952620a154acheint main() {
19532dfcbf1pst
19542dfcbf1pst; return 0; }
19552dfcbf1pstEOF
19564cdfa78markmif { (eval echo configure:1957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19572dfcbf1pst  rm -rf conftest*
19582dfcbf1pst  cat >> confdefs.h <<\EOF
19592dfcbf1pst#define HAVE_ANSIDECL 1
19602dfcbf1pstEOF
19612dfcbf1pst echo "$ac_t""yes" 1>&6
19622dfcbf1pstelse
1963620a154ache  echo "configure: failed program was:" >&5
1964620a154ache  cat conftest.$ac_ext >&5
19652dfcbf1pst  rm -rf conftest*
19662dfcbf1pst  echo "$ac_t""no" 1>&6
19672dfcbf1pstfi
19682dfcbf1pstrm -f conftest*
19692dfcbf1pst
19702dfcbf1pstecho $ac_n "checking to see if your compiler can handle ANSI prototypes""... $ac_c" 1>&6
19714cdfa78markmecho "configure:1972: checking to see if your compiler can handle ANSI prototypes" >&5
19722dfcbf1pstcat > conftest.$ac_ext <<EOF
19734cdfa78markm#line 1974 "configure"
19742dfcbf1pst#include "confdefs.h"
19752dfcbf1pstextern int foo(int, int);
1976620a154acheint main() {
19772dfcbf1pst
19782dfcbf1pst; return 0; }
19792dfcbf1pstEOF
19804cdfa78markmif { (eval echo configure:1981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19812dfcbf1pst  rm -rf conftest*
19822dfcbf1pst  cat >> confdefs.h <<\EOF
19832dfcbf1pst#define HAVE_ANSIPROTO 1
19842dfcbf1pstEOF
19852dfcbf1pst echo "$ac_t""yes" 1>&6
19862dfcbf1pstelse
1987620a154ache  echo "configure: failed program was:" >&5
1988620a154ache  cat conftest.$ac_ext >&5
19892dfcbf1pst  rm -rf conftest*
19902dfcbf1pst  echo "$ac_t""no" 1>&6
19912dfcbf1pstfi
19922dfcbf1pstrm -f conftest*
19932dfcbf1pst
19942dfcbf1pstecho $ac_n "checking to see if your compiler can handle ANSI variable arguments""... $ac_c" 1>&6
19954cdfa78markmecho "configure:1996: checking to see if your compiler can handle ANSI variable arguments" >&5
19962dfcbf1pstcat > conftest.$ac_ext <<EOF
19974cdfa78markm#line 1998 "configure"
19982dfcbf1pst#include "confdefs.h"
19992dfcbf1pst#include <stdarg.h>
20002dfcbf1pstint foo(int arg, ...) {
20012dfcbf1pst	va_list ap;
20022dfcbf1pst	va_start(ap, arg);
20032dfcbf1pst	va_end(ap);
20042dfcbf1pst	return 0;
20052dfcbf1pst}
2006620a154acheint main() {
20072dfcbf1pst
20082dfcbf1pst; return 0; }
20092dfcbf1pstEOF
20104cdfa78markmif { (eval echo configure:2011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20112dfcbf1pst  rm -rf conftest*
20122dfcbf1pst  cat >> confdefs.h <<\EOF
20132dfcbf1pst#define HAVE_ANSISTDARG 1
20142dfcbf1pstEOF
20152dfcbf1pst echo "$ac_t""yes" 1>&6
20162dfcbf1pstelse
2017620a154ache  echo "configure: failed program was:" >&5
2018620a154ache  cat conftest.$ac_ext >&5
20192dfcbf1pst  rm -rf conftest*
20202dfcbf1pst  echo "$ac_t""no" 1>&6
20212dfcbf1pstfi
20222dfcbf1pstrm -f conftest*
20232dfcbf1pst
20242dfcbf1pstecho $ac_n "checking to see if you have an ANSI-style sprintf""... $ac_c" 1>&6
20254cdfa78markmecho "configure:2026: checking to see if you have an ANSI-style sprintf" >&5
20262dfcbf1pstif test "$cross_compiling" = yes; then
20272dfcbf1pst  echo "$ac_t""no" 1>&6
20282dfcbf1pstelse
2029620a154ache  cat > conftest.$ac_ext <<EOF
20304cdfa78markm#line 2031 "configure"
20312dfcbf1pst#include "confdefs.h"
20322dfcbf1pst#include <stdio.h>
20332dfcbf1pstint main(argc, argv)
20342dfcbf1pstint argc;
20352dfcbf1pstchar *argv[];
20362dfcbf1pst{
20372dfcbf1pst  char buf[5];
20382dfcbf1pst  int i = 2;
20392dfcbf1pst  i += sprintf(buf, "1234");
20402dfcbf1pst  return (i == 6) ? 0 : -1;
20412dfcbf1pst}
20422dfcbf1pstEOF
20434cdfa78markmif { (eval echo configure:2044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2044620a154achethen
20452dfcbf1pst  cat >> confdefs.h <<\EOF
20462dfcbf1pst#define HAVE_ANSISPRINTF 1
20472dfcbf1pstEOF
20482dfcbf1pst echo "$ac_t""yes" 1>&6
20492dfcbf1pstelse
2050620a154ache  echo "configure: failed program was:" >&5
2051620a154ache  cat conftest.$ac_ext >&5
2052620a154ache  rm -fr conftest*
20532dfcbf1pst  echo "$ac_t""no" 1>&6
20542dfcbf1pstfi
20552dfcbf1pstrm -fr conftest*
2056620a154achefi
20572dfcbf1pst
2058620a154ache
2059620a154acheecho $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
20604cdfa78markmecho "configure:2061: checking for crypt in -lcrypt" >&5
2061620a154acheac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
20622dfcbf1pstif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20632dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
20642dfcbf1pstelse
20652dfcbf1pst  ac_save_LIBS="$LIBS"
20662dfcbf1pstLIBS="-lcrypt  $LIBS"
20672dfcbf1pstcat > conftest.$ac_ext <<EOF
20684cdfa78markm#line 2069 "configure"
20692dfcbf1pst#include "confdefs.h"
20702dfcbf1pst/* Override any gcc2 internal prototype to avoid an error.  */
20712dfcbf1pst/* We use char because int might match the return type of a gcc2
20722dfcbf1pst    builtin and then its argument prototype would still apply.  */
20732dfcbf1pstchar crypt();
20742dfcbf1pst
2075620a154acheint main() {
20762dfcbf1pstcrypt()
20772dfcbf1pst; return 0; }
20782dfcbf1pstEOF
20794cdfa78markmif { (eval echo configure:2080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
20802dfcbf1pst  rm -rf conftest*
20812dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=yes"
20822dfcbf1pstelse
2083620a154ache  echo "configure: failed program was:" >&5
2084620a154ache  cat conftest.$ac_ext >&5
20852dfcbf1pst  rm -rf conftest*
20862dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=no"
20872dfcbf1pstfi
20882dfcbf1pstrm -f conftest*
20892dfcbf1pstLIBS="$ac_save_LIBS"
20902dfcbf1pst
20912dfcbf1pstfi
20922dfcbf1pstif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20932dfcbf1pst  echo "$ac_t""yes" 1>&6
2094620a154ache    ac_tr_lib=HAVE_LIB`echo crypt | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2095620a154ache    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20962dfcbf1pst  cat >> confdefs.h <<EOF
20972dfcbf1pst#define $ac_tr_lib 1
20982dfcbf1pstEOF
20992dfcbf1pst
21002dfcbf1pst  LIBS="-lcrypt $LIBS"
21012dfcbf1pst
21022dfcbf1pstelse
21032dfcbf1pst  echo "$ac_t""no" 1>&6
21042dfcbf1pstfi
21052dfcbf1pst
2106620a154acheecho $ac_n "checking for gethostname in -lnsl""... $ac_c" 1>&6
21074cdfa78markmecho "configure:2108: checking for gethostname in -lnsl" >&5
2108620a154acheac_lib_var=`echo nsl'_'gethostname | sed 'y%./+-%__p_%'`
21092dfcbf1pstif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21102dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
21112dfcbf1pstelse
21122dfcbf1pst  ac_save_LIBS="$LIBS"
21132dfcbf1pstLIBS="-lnsl  $LIBS"
21142dfcbf1pstcat > conftest.$ac_ext <<EOF
21154cdfa78markm#line 2116 "configure"
21162dfcbf1pst#include "confdefs.h"
21172dfcbf1pst/* Override any gcc2 internal prototype to avoid an error.  */
21182dfcbf1pst/* We use char because int might match the return type of a gcc2
21192dfcbf1pst    builtin and then its argument prototype would still apply.  */
21202dfcbf1pstchar gethostname();
21212dfcbf1pst
2122620a154acheint main() {
21232dfcbf1pstgethostname()
21242dfcbf1pst; return 0; }
21252dfcbf1pstEOF
21264cdfa78markmif { (eval echo configure:2127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21272dfcbf1pst  rm -rf conftest*
21282dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=yes"
21292dfcbf1pstelse
2130620a154ache  echo "configure: failed program was:" >&5
2131620a154ache  cat conftest.$ac_ext >&5
21322dfcbf1pst  rm -rf conftest*
21332dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=no"
21342dfcbf1pstfi
21352dfcbf1pstrm -f conftest*
21362dfcbf1pstLIBS="$ac_save_LIBS"
21372dfcbf1pst
21382dfcbf1pstfi
21392dfcbf1pstif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21402dfcbf1pst  echo "$ac_t""yes" 1>&6
2141620a154ache    ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2142620a154ache    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21432dfcbf1pst  cat >> confdefs.h <<EOF
21442dfcbf1pst#define $ac_tr_lib 1
21452dfcbf1pstEOF
21462dfcbf1pst
21472dfcbf1pst  LIBS="-lnsl $LIBS"
21482dfcbf1pst
21492dfcbf1pstelse
21502dfcbf1pst  echo "$ac_t""no" 1>&6
21512dfcbf1pstfi
21522dfcbf1pst
2153620a154acheecho $ac_n "checking for main in -lposix""... $ac_c" 1>&6
21544cdfa78markmecho "configure:2155: checking for main in -lposix" >&5
2155620a154acheac_lib_var=`echo posix'_'main | sed 'y%./+-%__p_%'`
21562dfcbf1pstif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21572dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
21582dfcbf1pstelse
21592dfcbf1pst  ac_save_LIBS="$LIBS"
21602dfcbf1pstLIBS="-lposix  $LIBS"
21612dfcbf1pstcat > conftest.$ac_ext <<EOF
21624cdfa78markm#line 2163 "configure"
21632dfcbf1pst#include "confdefs.h"
21642dfcbf1pst
2165620a154acheint main() {
21662dfcbf1pstmain()
21672dfcbf1pst; return 0; }
21682dfcbf1pstEOF
21694cdfa78markmif { (eval echo configure:2170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
21702dfcbf1pst  rm -rf conftest*
21712dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=yes"
21722dfcbf1pstelse
2173620a154ache  echo "configure: failed program was:" >&5
2174620a154ache  cat conftest.$ac_ext >&5
21752dfcbf1pst  rm -rf conftest*
21762dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=no"
21772dfcbf1pstfi
21782dfcbf1pstrm -f conftest*
21792dfcbf1pstLIBS="$ac_save_LIBS"
21802dfcbf1pst
21812dfcbf1pstfi
21822dfcbf1pstif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21832dfcbf1pst  echo "$ac_t""yes" 1>&6
2184620a154ache    ac_tr_lib=HAVE_LIB`echo posix | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2185620a154ache    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21862dfcbf1pst  cat >> confdefs.h <<EOF
21872dfcbf1pst#define $ac_tr_lib 1
21882dfcbf1pstEOF
21892dfcbf1pst
21902dfcbf1pst  LIBS="-lposix $LIBS"
21912dfcbf1pst
21922dfcbf1pstelse
21932dfcbf1pst  echo "$ac_t""no" 1>&6
21942dfcbf1pstfi
21952dfcbf1pst
2196620a154acheecho $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
21974cdfa78markmecho "configure:2198: checking for socket in -lsocket" >&5
2198620a154acheac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
21992dfcbf1pstif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22002dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
22012dfcbf1pstelse
22022dfcbf1pst  ac_save_LIBS="$LIBS"
22032dfcbf1pstLIBS="-lsocket  $LIBS"
22042dfcbf1pstcat > conftest.$ac_ext <<EOF
22054cdfa78markm#line 2206 "configure"
22062dfcbf1pst#include "confdefs.h"
22072dfcbf1pst/* Override any gcc2 internal prototype to avoid an error.  */
22082dfcbf1pst/* We use char because int might match the return type of a gcc2
22092dfcbf1pst    builtin and then its argument prototype would still apply.  */
22102dfcbf1pstchar socket();
22112dfcbf1pst
2212620a154acheint main() {
22132dfcbf1pstsocket()
22142dfcbf1pst; return 0; }
22152dfcbf1pstEOF
22164cdfa78markmif { (eval echo configure:2217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
22172dfcbf1pst  rm -rf conftest*
22182dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=yes"
22192dfcbf1pstelse
2220620a154ache  echo "configure: failed program was:" >&5
2221620a154ache  cat conftest.$ac_ext >&5
22222dfcbf1pst  rm -rf conftest*
22232dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=no"
22242dfcbf1pstfi
22252dfcbf1pstrm -f conftest*
22262dfcbf1pstLIBS="$ac_save_LIBS"
22272dfcbf1pst
22282dfcbf1pstfi
22292dfcbf1pstif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22302dfcbf1pst  echo "$ac_t""yes" 1>&6
2231620a154ache    ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2232620a154ache    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
22332dfcbf1pst  cat >> confdefs.h <<EOF
22342dfcbf1pst#define $ac_tr_lib 1
22352dfcbf1pstEOF
22362dfcbf1pst
22372dfcbf1pst  LIBS="-lsocket $LIBS"
22382dfcbf1pst
22392dfcbf1pstelse
22402dfcbf1pst  echo "$ac_t""no" 1>&6
22412dfcbf1pstfi
22422dfcbf1pst
22432dfcbf1pst
22442dfcbf1pstac_header_dirent=no
22452dfcbf1pstfor ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
22462dfcbf1pstdo
2247620a154acheac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
22482dfcbf1pstecho $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
22494cdfa78markmecho "configure:2250: checking for $ac_hdr that defines DIR" >&5
22502dfcbf1pstif eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
22512dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
22522dfcbf1pstelse
22532dfcbf1pst  cat > conftest.$ac_ext <<EOF
22544cdfa78markm#line 2255 "configure"
22552dfcbf1pst#include "confdefs.h"
22562dfcbf1pst#include <sys/types.h>
22572dfcbf1pst#include <$ac_hdr>
2258620a154acheint main() {
22592dfcbf1pstDIR *dirp = 0;
22602dfcbf1pst; return 0; }
22612dfcbf1pstEOF
22624cdfa78markmif { (eval echo configure:2263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22632dfcbf1pst  rm -rf conftest*
22642dfcbf1pst  eval "ac_cv_header_dirent_$ac_safe=yes"
22652dfcbf1pstelse
2266620a154ache  echo "configure: failed program was:" >&5
2267620a154ache  cat conftest.$ac_ext >&5
22682dfcbf1pst  rm -rf conftest*
22692dfcbf1pst  eval "ac_cv_header_dirent_$ac_safe=no"
22702dfcbf1pstfi
22712dfcbf1pstrm -f conftest*
22722dfcbf1pstfi
22732dfcbf1pstif eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
22742dfcbf1pst  echo "$ac_t""yes" 1>&6
2275620a154ache    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
22762dfcbf1pst  cat >> confdefs.h <<EOF
22772dfcbf1pst#define $ac_tr_hdr 1
22782dfcbf1pstEOF
22792dfcbf1pst ac_header_dirent=$ac_hdr; break
22802dfcbf1pstelse
22812dfcbf1pst  echo "$ac_t""no" 1>&6
22822dfcbf1pstfi
22832dfcbf1pstdone
22842dfcbf1pst# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
22852dfcbf1pstif test $ac_header_dirent = dirent.h; then
2286620a154acheecho $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
22874cdfa78markmecho "configure:2288: checking for opendir in -ldir" >&5
2288620a154acheac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
22892dfcbf1pstif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22902dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
22912dfcbf1pstelse
22922dfcbf1pst  ac_save_LIBS="$LIBS"
22932dfcbf1pstLIBS="-ldir  $LIBS"
22942dfcbf1pstcat > conftest.$ac_ext <<EOF
22954cdfa78markm#line 2296 "configure"
22962dfcbf1pst#include "confdefs.h"
22972dfcbf1pst/* Override any gcc2 internal prototype to avoid an error.  */
22982dfcbf1pst/* We use char because int might match the return type of a gcc2
22992dfcbf1pst    builtin and then its argument prototype would still apply.  */
23002dfcbf1pstchar opendir();
23012dfcbf1pst
2302620a154acheint main() {
23032dfcbf1pstopendir()
23042dfcbf1pst; return 0; }
23052dfcbf1pstEOF
23064cdfa78markmif { (eval echo configure:2307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23072dfcbf1pst  rm -rf conftest*
23082dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=yes"
23092dfcbf1pstelse
2310620a154ache  echo "configure: failed program was:" >&5
2311620a154ache  cat conftest.$ac_ext >&5
23122dfcbf1pst  rm -rf conftest*
23132dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=no"
23142dfcbf1pstfi
23152dfcbf1pstrm -f conftest*
23162dfcbf1pstLIBS="$ac_save_LIBS"
23172dfcbf1pst
23182dfcbf1pstfi
23192dfcbf1pstif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
23202dfcbf1pst  echo "$ac_t""yes" 1>&6
23212dfcbf1pst  LIBS="$LIBS -ldir"
23222dfcbf1pstelse
23232dfcbf1pst  echo "$ac_t""no" 1>&6
23242dfcbf1pstfi
23252dfcbf1pst
23262dfcbf1pstelse
2327620a154acheecho $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
23284cdfa78markmecho "configure:2329: checking for opendir in -lx" >&5
2329620a154acheac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
23302dfcbf1pstif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
23312dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
23322dfcbf1pstelse
23332dfcbf1pst  ac_save_LIBS="$LIBS"
23342dfcbf1pstLIBS="-lx  $LIBS"
23352dfcbf1pstcat > conftest.$ac_ext <<EOF
23364cdfa78markm#line 2337 "configure"
23372dfcbf1pst#include "confdefs.h"
23382dfcbf1pst/* Override any gcc2 internal prototype to avoid an error.  */
23392dfcbf1pst/* We use char because int might match the return type of a gcc2
23402dfcbf1pst    builtin and then its argument prototype would still apply.  */
23412dfcbf1pstchar opendir();
23422dfcbf1pst
2343620a154acheint main() {
23442dfcbf1pstopendir()
23452dfcbf1pst; return 0; }
23462dfcbf1pstEOF
23474cdfa78markmif { (eval echo configure:2348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
23482dfcbf1pst  rm -rf conftest*
23492dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=yes"
23502dfcbf1pstelse
2351620a154ache  echo "configure: failed program was:" >&5
2352620a154ache  cat conftest.$ac_ext >&5
23532dfcbf1pst  rm -rf conftest*
23542dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=no"
23552dfcbf1pstfi
23562dfcbf1pstrm -f conftest*
23572dfcbf1pstLIBS="$ac_save_LIBS"
23582dfcbf1pst
23592dfcbf1pstfi
23602dfcbf1pstif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
23612dfcbf1pst  echo "$ac_t""yes" 1>&6
23622dfcbf1pst  LIBS="$LIBS -lx"
23632dfcbf1pstelse
23642dfcbf1pst  echo "$ac_t""no" 1>&6
23652dfcbf1pstfi
23662dfcbf1pst
23672dfcbf1pstfi
23682dfcbf1pst
23692dfcbf1pstecho $ac_n "checking for sys/wait.h that is POSIX.1 compatible"".