configure revision 620a15402ca567d1bb9f3ff04408b31d5195a26d
12dfcbf1pst#! /bin/sh
22dfcbf1pst
32dfcbf1pst# Guess values for system-dependent variables and create Makefiles.
4620a154ache# Generated automatically using autoconf version 2.12 
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"
382dfcbf1pst
392dfcbf1pst# Initialize some variables set by options.
402dfcbf1pst# The variables have the same names as the options, with
412dfcbf1pst# dashes changed to underlines.
422dfcbf1pstbuild=NONE
432dfcbf1pstcache_file=./config.cache
442dfcbf1pstexec_prefix=NONE
452dfcbf1psthost=NONE
462dfcbf1pstno_create=
472dfcbf1pstnonopt=NONE
482dfcbf1pstno_recursion=
492dfcbf1pstprefix=NONE
502dfcbf1pstprogram_prefix=NONE
512dfcbf1pstprogram_suffix=NONE
522dfcbf1pstprogram_transform_name=s,x,x,
532dfcbf1pstsilent=
542dfcbf1pstsite=
552dfcbf1pstsrcdir=
562dfcbf1psttarget=NONE
572dfcbf1pstverbose=
582dfcbf1pstx_includes=NONE
592dfcbf1pstx_libraries=NONE
602dfcbf1pstbindir='${exec_prefix}/bin'
612dfcbf1pstsbindir='${exec_prefix}/sbin'
622dfcbf1pstlibexecdir='${exec_prefix}/libexec'
632dfcbf1pstdatadir='${prefix}/share'
642dfcbf1pstsysconfdir='${prefix}/etc'
652dfcbf1pstsharedstatedir='${prefix}/com'
662dfcbf1pstlocalstatedir='${prefix}/var'
672dfcbf1pstlibdir='${exec_prefix}/lib'
682dfcbf1pstincludedir='${prefix}/include'
692dfcbf1pstoldincludedir='/usr/include'
702dfcbf1pstinfodir='${prefix}/info'
712dfcbf1pstmandir='${prefix}/man'
722dfcbf1pst
732dfcbf1pst# Initialize some other variables.
742dfcbf1pstsubdirs=
752dfcbf1pstMFLAGS= MAKEFLAGS=
76620a154ache# Maximum number of lines to put in a shell here document.
77620a154acheac_max_here_lines=12
782dfcbf1pst
792dfcbf1pstac_prev=
802dfcbf1pstfor ac_option
812dfcbf1pstdo
822dfcbf1pst
832dfcbf1pst  # If the previous option needs an argument, assign it.
842dfcbf1pst  if test -n "$ac_prev"; then
852dfcbf1pst    eval "$ac_prev=\$ac_option"
862dfcbf1pst    ac_prev=
872dfcbf1pst    continue
882dfcbf1pst  fi
892dfcbf1pst
902dfcbf1pst  case "$ac_option" in
912dfcbf1pst  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
922dfcbf1pst  *) ac_optarg= ;;
932dfcbf1pst  esac
942dfcbf1pst
952dfcbf1pst  # Accept the important Cygnus configure options, so we can diagnose typos.
962dfcbf1pst
972dfcbf1pst  case "$ac_option" in
982dfcbf1pst
992dfcbf1pst  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1002dfcbf1pst    ac_prev=bindir ;;
1012dfcbf1pst  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1022dfcbf1pst    bindir="$ac_optarg" ;;
1032dfcbf1pst
1042dfcbf1pst  -build | --build | --buil | --bui | --bu)
1052dfcbf1pst    ac_prev=build ;;
1062dfcbf1pst  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1072dfcbf1pst    build="$ac_optarg" ;;
1082dfcbf1pst
1092dfcbf1pst  -cache-file | --cache-file | --cache-fil | --cache-fi \
1102dfcbf1pst  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1112dfcbf1pst    ac_prev=cache_file ;;
1122dfcbf1pst  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1132dfcbf1pst  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142dfcbf1pst    cache_file="$ac_optarg" ;;
1152dfcbf1pst
1162dfcbf1pst  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
1172dfcbf1pst    ac_prev=datadir ;;
1182dfcbf1pst  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
1192dfcbf1pst  | --da=*)
1202dfcbf1pst    datadir="$ac_optarg" ;;
1212dfcbf1pst
1222dfcbf1pst  -disable-* | --disable-*)
1232dfcbf1pst    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
1242dfcbf1pst    # Reject names that are not valid shell variable names.
1252dfcbf1pst    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
1262dfcbf1pst      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
1272dfcbf1pst    fi
1282dfcbf1pst    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
1292dfcbf1pst    eval "enable_${ac_feature}=no" ;;
1302dfcbf1pst
1312dfcbf1pst  -enable-* | --enable-*)
1322dfcbf1pst    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
1332dfcbf1pst    # Reject names that are not valid shell variable names.
1342dfcbf1pst    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
1352dfcbf1pst      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
1362dfcbf1pst    fi
1372dfcbf1pst    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
1382dfcbf1pst    case "$ac_option" in
1392dfcbf1pst      *=*) ;;
1402dfcbf1pst      *) ac_optarg=yes ;;
1412dfcbf1pst    esac
1422dfcbf1pst    eval "enable_${ac_feature}='$ac_optarg'" ;;
1432dfcbf1pst
1442dfcbf1pst  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1452dfcbf1pst  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1462dfcbf1pst  | --exec | --exe | --ex)
1472dfcbf1pst    ac_prev=exec_prefix ;;
1482dfcbf1pst  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1492dfcbf1pst  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1502dfcbf1pst  | --exec=* | --exe=* | --ex=*)
1512dfcbf1pst    exec_prefix="$ac_optarg" ;;
1522dfcbf1pst
1532dfcbf1pst  -gas | --gas | --ga | --g)
1542dfcbf1pst    # Obsolete; use --with-gas.
1552dfcbf1pst    with_gas=yes ;;
1562dfcbf1pst
1572dfcbf1pst  -help | --help | --hel | --he)
1582dfcbf1pst    # Omit some internal or obsolete options to make the list less imposing.
1592dfcbf1pst    # This message is too long to be a string in the A/UX 3.1 sh.
1602dfcbf1pst    cat << EOF
1612dfcbf1pstUsage: configure [options] [host]
1622dfcbf1pstOptions: [defaults in brackets after descriptions]
1632dfcbf1pstConfiguration:
1642dfcbf1pst  --cache-file=FILE       cache test results in FILE
1652dfcbf1pst  --help                  print this message
1662dfcbf1pst  --no-create             do not create output files
1672dfcbf1pst  --quiet, --silent       do not print \`checking...' messages
1682dfcbf1pst  --version               print the version of autoconf that created configure
1692dfcbf1pstDirectory and file names:
1702dfcbf1pst  --prefix=PREFIX         install architecture-independent files in PREFIX
1712dfcbf1pst                          [$ac_default_prefix]
1722dfcbf1pst  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1732dfcbf1pst                          [same as prefix]
1742dfcbf1pst  --bindir=DIR            user executables in DIR [EPREFIX/bin]
1752dfcbf1pst  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
1762dfcbf1pst  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
1772dfcbf1pst  --datadir=DIR           read-only architecture-independent data in DIR
1782dfcbf1pst                          [PREFIX/share]
1792dfcbf1pst  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
1802dfcbf1pst  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
1812dfcbf1pst                          [PREFIX/com]
1822dfcbf1pst  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
1832dfcbf1pst  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
1842dfcbf1pst  --includedir=DIR        C header files in DIR [PREFIX/include]
1852dfcbf1pst  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
1862dfcbf1pst  --infodir=DIR           info documentation in DIR [PREFIX/info]
1872dfcbf1pst  --mandir=DIR            man documentation in DIR [PREFIX/man]
1882dfcbf1pst  --srcdir=DIR            find the sources in DIR [configure dir or ..]
1892dfcbf1pst  --program-prefix=PREFIX prepend PREFIX to installed program names
1902dfcbf1pst  --program-suffix=SUFFIX append SUFFIX to installed program names
1912dfcbf1pst  --program-transform-name=PROGRAM
1922dfcbf1pst                          run sed PROGRAM on installed program names
1932dfcbf1pstEOF
1942dfcbf1pst    cat << EOF
1952dfcbf1pstHost type:
1962dfcbf1pst  --build=BUILD           configure for building on BUILD [BUILD=HOST]
1972dfcbf1pst  --host=HOST             configure for HOST [guessed]
1982dfcbf1pst  --target=TARGET         configure for TARGET [TARGET=HOST]
1992dfcbf1pstFeatures and packages:
2002dfcbf1pst  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2012dfcbf1pst  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
2022dfcbf1pst  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2032dfcbf1pst  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2042dfcbf1pst  --x-includes=DIR        X include files are in DIR
2052dfcbf1pst  --x-libraries=DIR       X library files are in DIR
2062dfcbf1pstEOF
2072dfcbf1pst    if test -n "$ac_help"; then
2082dfcbf1pst      echo "--enable and --with options recognized:$ac_help"
2092dfcbf1pst    fi
2102dfcbf1pst    exit 0 ;;
2112dfcbf1pst
2122dfcbf1pst  -host | --host | --hos | --ho)
2132dfcbf1pst    ac_prev=host ;;
2142dfcbf1pst  -host=* | --host=* | --hos=* | --ho=*)
2152dfcbf1pst    host="$ac_optarg" ;;
2162dfcbf1pst
2172dfcbf1pst  -includedir | --includedir | --includedi | --included | --include \
2182dfcbf1pst  | --includ | --inclu | --incl | --inc)
2192dfcbf1pst    ac_prev=includedir ;;
2202dfcbf1pst  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2212dfcbf1pst  | --includ=* | --inclu=* | --incl=* | --inc=*)
2222dfcbf1pst    includedir="$ac_optarg" ;;
2232dfcbf1pst
2242dfcbf1pst  -infodir | --infodir | --infodi | --infod | --info | --inf)
2252dfcbf1pst    ac_prev=infodir ;;
2262dfcbf1pst  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2272dfcbf1pst    infodir="$ac_optarg" ;;
2282dfcbf1pst
2292dfcbf1pst  -libdir | --libdir | --libdi | --libd)
2302dfcbf1pst    ac_prev=libdir ;;
2312dfcbf1pst  -libdir=* | --libdir=* | --libdi=* | --libd=*)
2322dfcbf1pst    libdir="$ac_optarg" ;;
2332dfcbf1pst
2342dfcbf1pst  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2352dfcbf1pst  | --libexe | --libex | --libe)
2362dfcbf1pst    ac_prev=libexecdir ;;
2372dfcbf1pst  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2382dfcbf1pst  | --libexe=* | --libex=* | --libe=*)
2392dfcbf1pst    libexecdir="$ac_optarg" ;;
2402dfcbf1pst
2412dfcbf1pst  -localstatedir | --localstatedir | --localstatedi | --localstated \
2422dfcbf1pst  | --localstate | --localstat | --localsta | --localst \
2432dfcbf1pst  | --locals | --local | --loca | --loc | --lo)
2442dfcbf1pst    ac_prev=localstatedir ;;
2452dfcbf1pst  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2462dfcbf1pst  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
2472dfcbf1pst  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
2482dfcbf1pst    localstatedir="$ac_optarg" ;;
2492dfcbf1pst
2502dfcbf1pst  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2512dfcbf1pst    ac_prev=mandir ;;
2522dfcbf1pst  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2532dfcbf1pst    mandir="$ac_optarg" ;;
2542dfcbf1pst
2552dfcbf1pst  -nfp | --nfp | --nf)
2562dfcbf1pst    # Obsolete; use --without-fp.
2572dfcbf1pst    with_fp=no ;;
2582dfcbf1pst
2592dfcbf1pst  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2602dfcbf1pst  | --no-cr | --no-c)
2612dfcbf1pst    no_create=yes ;;
2622dfcbf1pst
2632dfcbf1pst  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2642dfcbf1pst  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2652dfcbf1pst    no_recursion=yes ;;
2662dfcbf1pst
2672dfcbf1pst  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2682dfcbf1pst  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2692dfcbf1pst  | --oldin | --oldi | --old | --ol | --o)
2702dfcbf1pst    ac_prev=oldincludedir ;;
2712dfcbf1pst  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2722dfcbf1pst  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2732dfcbf1pst  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2742dfcbf1pst    oldincludedir="$ac_optarg" ;;
2752dfcbf1pst
2762dfcbf1pst  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2772dfcbf1pst    ac_prev=prefix ;;
2782dfcbf1pst  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2792dfcbf1pst    prefix="$ac_optarg" ;;
2802dfcbf1pst
2812dfcbf1pst  -program-prefix | --program-prefix | --program-prefi | --program-pref \
2822dfcbf1pst  | --program-pre | --program-pr | --program-p)
2832dfcbf1pst    ac_prev=program_prefix ;;
2842dfcbf1pst  -program-prefix=* | --program-prefix=* | --program-prefi=* \
2852dfcbf1pst  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2862dfcbf1pst    program_prefix="$ac_optarg" ;;
2872dfcbf1pst
2882dfcbf1pst  -program-suffix | --program-suffix | --program-suffi | --program-suff \
2892dfcbf1pst  | --program-suf | --program-su | --program-s)
2902dfcbf1pst    ac_prev=program_suffix ;;
2912dfcbf1pst  -program-suffix=* | --program-suffix=* | --program-suffi=* \
2922dfcbf1pst  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2932dfcbf1pst    program_suffix="$ac_optarg" ;;
2942dfcbf1pst
2952dfcbf1pst  -program-transform-name | --program-transform-name \
2962dfcbf1pst  | --program-transform-nam | --program-transform-na \
2972dfcbf1pst  | --program-transform-n | --program-transform- \
2982dfcbf1pst  | --program-transform | --program-transfor \
2992dfcbf1pst  | --program-transfo | --program-transf \
3002dfcbf1pst  | --program-trans | --program-tran \
3012dfcbf1pst  | --progr-tra | --program-tr | --program-t)
3022dfcbf1pst    ac_prev=program_transform_name ;;
3032dfcbf1pst  -program-transform-name=* | --program-transform-name=* \
3042dfcbf1pst  | --program-transform-nam=* | --program-transform-na=* \
3052dfcbf1pst  | --program-transform-n=* | --program-transform-=* \
3062dfcbf1pst  | --program-transform=* | --program-transfor=* \
3072dfcbf1pst  | --program-transfo=* | --program-transf=* \
3082dfcbf1pst  | --program-trans=* | --program-tran=* \
3092dfcbf1pst  | --progr-tra=* | --program-tr=* | --program-t=*)
3102dfcbf1pst    program_transform_name="$ac_optarg" ;;
3112dfcbf1pst
3122dfcbf1pst  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3132dfcbf1pst  | -silent | --silent | --silen | --sile | --sil)
3142dfcbf1pst    silent=yes ;;
3152dfcbf1pst
3162dfcbf1pst  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
3172dfcbf1pst    ac_prev=sbindir ;;
3182dfcbf1pst  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
3192dfcbf1pst  | --sbi=* | --sb=*)
3202dfcbf1pst    sbindir="$ac_optarg" ;;
3212dfcbf1pst
3222dfcbf1pst  -sharedstatedir | --sharedstatedir | --sharedstatedi \
3232dfcbf1pst  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
3242dfcbf1pst  | --sharedst | --shareds | --shared | --share | --shar \
3252dfcbf1pst  | --sha | --sh)
3262dfcbf1pst    ac_prev=sharedstatedir ;;
3272dfcbf1pst  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
3282dfcbf1pst  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
3292dfcbf1pst  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
3302dfcbf1pst  | --sha=* | --sh=*)
3312dfcbf1pst    sharedstatedir="$ac_optarg" ;;
3322dfcbf1pst
3332dfcbf1pst  -site | --site | --sit)
3342dfcbf1pst    ac_prev=site ;;
3352dfcbf1pst  -site=* | --site=* | --sit=*)
3362dfcbf1pst    site="$ac_optarg" ;;
3372dfcbf1pst
3382dfcbf1pst  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
3392dfcbf1pst    ac_prev=srcdir ;;
3402dfcbf1pst  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
3412dfcbf1pst    srcdir="$ac_optarg" ;;
3422dfcbf1pst
3432dfcbf1pst  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
3442dfcbf1pst  | --syscon | --sysco | --sysc | --sys | --sy)
3452dfcbf1pst    ac_prev=sysconfdir ;;
3462dfcbf1pst  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
3472dfcbf1pst  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
3482dfcbf1pst    sysconfdir="$ac_optarg" ;;
3492dfcbf1pst
3502dfcbf1pst  -target | --target | --targe | --targ | --tar | --ta | --t)
3512dfcbf1pst    ac_prev=target ;;
3522dfcbf1pst  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
3532dfcbf1pst    target="$ac_optarg" ;;
3542dfcbf1pst
3552dfcbf1pst  -v | -verbose | --verbose | --verbos | --verbo | --verb)
3562dfcbf1pst    verbose=yes ;;
3572dfcbf1pst
3582dfcbf1pst  -version | --version | --versio | --versi | --vers)
359620a154ache    echo "configure generated by autoconf version 2.12"
3602dfcbf1pst    exit 0 ;;
3612dfcbf1pst
3622dfcbf1pst  -with-* | --with-*)
3632dfcbf1pst    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
3642dfcbf1pst    # Reject names that are not valid shell variable names.
3652dfcbf1pst    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
3662dfcbf1pst      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
3672dfcbf1pst    fi
3682dfcbf1pst    ac_package=`echo $ac_package| sed 's/-/_/g'`
3692dfcbf1pst    case "$ac_option" in
3702dfcbf1pst      *=*) ;;
3712dfcbf1pst      *) ac_optarg=yes ;;
3722dfcbf1pst    esac
3732dfcbf1pst    eval "with_${ac_package}='$ac_optarg'" ;;
3742dfcbf1pst
3752dfcbf1pst  -without-* | --without-*)
3762dfcbf1pst    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
3772dfcbf1pst    # Reject names that are not valid shell variable names.
3782dfcbf1pst    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
3792dfcbf1pst      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
3802dfcbf1pst    fi
3812dfcbf1pst    ac_package=`echo $ac_package| sed 's/-/_/g'`
3822dfcbf1pst    eval "with_${ac_package}=no" ;;
3832dfcbf1pst
3842dfcbf1pst  --x)
3852dfcbf1pst    # Obsolete; use --with-x.
3862dfcbf1pst    with_x=yes ;;
3872dfcbf1pst
3882dfcbf1pst  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
3892dfcbf1pst  | --x-incl | --x-inc | --x-in | --x-i)
3902dfcbf1pst    ac_prev=x_includes ;;
3912dfcbf1pst  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
3922dfcbf1pst  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
3932dfcbf1pst    x_includes="$ac_optarg" ;;
3942dfcbf1pst
3952dfcbf1pst  -x-libraries | --x-libraries | --x-librarie | --x-librari \
3962dfcbf1pst  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
3972dfcbf1pst    ac_prev=x_libraries ;;
3982dfcbf1pst  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
3992dfcbf1pst  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
4002dfcbf1pst    x_libraries="$ac_optarg" ;;
4012dfcbf1pst
4022dfcbf1pst  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
4032dfcbf1pst    ;;
4042dfcbf1pst
4052dfcbf1pst  *)
4062dfcbf1pst    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
4072dfcbf1pst      echo "configure: warning: $ac_option: invalid host type" 1>&2
4082dfcbf1pst    fi
4092dfcbf1pst    if test "x$nonopt" != xNONE; then
4102dfcbf1pst      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
4112dfcbf1pst    fi
4122dfcbf1pst    nonopt="$ac_option"
4132dfcbf1pst    ;;
4142dfcbf1pst
4152dfcbf1pst  esac
4162dfcbf1pstdone
4172dfcbf1pst
4182dfcbf1pstif test -n "$ac_prev"; then
4192dfcbf1pst  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
4202dfcbf1pstfi
4212dfcbf1pst
4222dfcbf1psttrap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
4232dfcbf1pst
4242dfcbf1pst# File descriptor usage:
4252dfcbf1pst# 0 standard input
4262dfcbf1pst# 1 file creation
4272dfcbf1pst# 2 errors and warnings
4282dfcbf1pst# 3 some systems may open it to /dev/tty
4292dfcbf1pst# 4 used on the Kubota Titan
4302dfcbf1pst# 6 checking for... messages and results
4312dfcbf1pst# 5 compiler messages saved in config.log
4322dfcbf1pstif test "$silent" = yes; then
4332dfcbf1pst  exec 6>/dev/null
4342dfcbf1pstelse
4352dfcbf1pst  exec 6>&1
4362dfcbf1pstfi
4372dfcbf1pstexec 5>./config.log
4382dfcbf1pst
4392dfcbf1pstecho "\
4402dfcbf1pstThis file contains any messages produced by compilers while
4412dfcbf1pstrunning configure, to aid debugging if configure makes a mistake.
4422dfcbf1pst" 1>&5
4432dfcbf1pst
4442dfcbf1pst# Strip out --no-create and --no-recursion so they do not pile up.
4452dfcbf1pst# Also quote any args containing shell metacharacters.
4462dfcbf1pstac_configure_args=
4472dfcbf1pstfor ac_arg
4482dfcbf1pstdo
4492dfcbf1pst  case "$ac_arg" in
4502dfcbf1pst  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
4512dfcbf1pst  | --no-cr | --no-c) ;;
4522dfcbf1pst  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
4532dfcbf1pst  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
4542dfcbf1pst  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
4552dfcbf1pst  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
4562dfcbf1pst  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
4572dfcbf1pst  esac
4582dfcbf1pstdone
4592dfcbf1pst
4602dfcbf1pst# NLS nuisances.
461620a154ache# Only set these to C if already set.  These must not be set unconditionally
462620a154ache# because not all systems understand e.g. LANG=C (notably SCO).
463620a154ache# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
464620a154ache# Non-C LC_CTYPE values break the ctype check.
4652dfcbf1pstif test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
466620a154acheif test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
467620a154acheif test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
468620a154acheif test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
4692dfcbf1pst
4702dfcbf1pst# confdefs.h avoids OS command line length limits that DEFS can exceed.
4712dfcbf1pstrm -rf conftest* confdefs.h
4722dfcbf1pst# AIX cpp loses on an empty file, so make sure it contains at least a newline.
4732dfcbf1pstecho > confdefs.h
4742dfcbf1pst
4752dfcbf1pst# A filename unique to this package, relative to the directory that
4762dfcbf1pst# configure is in, which we can look for to find out if srcdir is correct.
4772dfcbf1pstac_unique_file=README
4782dfcbf1pst
4792dfcbf1pst# Find the source files, if location was not specified.
4802dfcbf1pstif test -z "$srcdir"; then
4812dfcbf1pst  ac_srcdir_defaulted=yes
4822dfcbf1pst  # Try the directory containing this script, then its parent.
4832dfcbf1pst  ac_prog=$0
4842dfcbf1pst  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
4852dfcbf1pst  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
4862dfcbf1pst  srcdir=$ac_confdir
4872dfcbf1pst  if test ! -r $srcdir/$ac_unique_file; then
4882dfcbf1pst    srcdir=..
4892dfcbf1pst  fi
4902dfcbf1pstelse
4912dfcbf1pst  ac_srcdir_defaulted=no
4922dfcbf1pstfi
4932dfcbf1pstif test ! -r $srcdir/$ac_unique_file; then
4942dfcbf1pst  if test "$ac_srcdir_defaulted" = yes; then
4952dfcbf1pst    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
4962dfcbf1pst  else
4972dfcbf1pst    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
4982dfcbf1pst  fi
4992dfcbf1pstfi
5002dfcbf1pstsrcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
5012dfcbf1pst
5022dfcbf1pst# Prefer explicitly selected file to automatically selected ones.
5032dfcbf1pstif test -z "$CONFIG_SITE"; then
5042dfcbf1pst  if test "x$prefix" != xNONE; then
5052dfcbf1pst    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
5062dfcbf1pst  else
5072dfcbf1pst    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
5082dfcbf1pst  fi
5092dfcbf1pstfi
5102dfcbf1pstfor ac_site_file in $CONFIG_SITE; do
5112dfcbf1pst  if test -r "$ac_site_file"; then
5122dfcbf1pst    echo "loading site script $ac_site_file"
5132dfcbf1pst    . "$ac_site_file"
5142dfcbf1pst  fi
5152dfcbf1pstdone
5162dfcbf1pst
5172dfcbf1pstif test -r "$cache_file"; then
5182dfcbf1pst  echo "loading cache $cache_file"
5192dfcbf1pst  . $cache_file
5202dfcbf1pstelse
5212dfcbf1pst  echo "creating cache $cache_file"
5222dfcbf1pst  > $cache_file
5232dfcbf1pstfi
5242dfcbf1pst
5252dfcbf1pstac_ext=c
5262dfcbf1pst# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5272dfcbf1pstac_cpp='$CPP $CPPFLAGS'
5282dfcbf1pstac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5292dfcbf1pstac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
530620a154achecross_compiling=$ac_cv_prog_cc_cross
5312dfcbf1pst
5322dfcbf1pstif (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
5332dfcbf1pst  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
5342dfcbf1pst  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
5352dfcbf1pst    ac_n= ac_c='
5362dfcbf1pst' ac_t='	'
5372dfcbf1pst  else
5382dfcbf1pst    ac_n=-n ac_c= ac_t=
5392dfcbf1pst  fi
5402dfcbf1pstelse
5412dfcbf1pst  ac_n= ac_c='\c' ac_t=
5422dfcbf1pstfi
5432dfcbf1pst
5442dfcbf1pst
5452dfcbf1pst
5462dfcbf1pst# Check whether --enable-access-file or --disable-access-file was given.
5472dfcbf1pstif test "${enable_access_file+set}" = set; then
5482dfcbf1pst  enableval="$enable_access_file"
5492dfcbf1pst  cat >> confdefs.h <<EOF
5502dfcbf1pst#define PATH_ACCESS_FILE "$enable_access_file"
5512dfcbf1pstEOF
5522dfcbf1pst echo "Using the access file in $enable_access_file -- don't say we didn't warn you!"
5532dfcbf1pstfi
5542dfcbf1pst
555620a154acheACCESS_FILE="$enable_access_file"
556620a154ache
557620a154ache# Check whether --enable-server-md4 or --disable-server-md4 was given.
558620a154acheif test "${enable_server_md4+set}" = set; then
559620a154ache  enableval="$enable_server_md4"
560620a154ache  cat >> confdefs.h <<\EOF
561620a154ache#define MDX 4
562620a154acheEOF
563620a154ache
564620a154acheelse
565620a154ache  cat >> confdefs.h <<\EOF
566620a154ache#define MDX 5
567620a154acheEOF
568620a154ache
569620a154achefi
570620a154ache
571620a154ache
572620a154acheset do_user_locking=1;
573620a154ache# Check whether --enable-user-locking or --disable-user-locking was given.
574620a154acheif test "${enable_user_locking+set}" = set; then
575620a154ache  enableval="$enable_user_locking"
576620a154ache  :
577620a154acheelse
578620a154ache  set do_user_locking=0
579620a154achefi
580620a154ache
581620a154acheif $do_user_locking;
582620a154achethen
583620a154ache  cat >> confdefs.h <<\EOF
584620a154ache#define USER_LOCKING 1
585620a154acheEOF
586620a154ache
587620a154ache  if test -z "$enable_user_locking"
588620a154ache  then
589620a154ache    cat >> confdefs.h <<\EOF
590620a154ache#define OPIE_LOCK_DIR "/etc/opielocks"
591620a154acheEOF
592620a154ache
593620a154ache  else
594620a154ache    cat >> confdefs.h <<EOF
595620a154ache#define OPIE_LOCK_DIR "$enable_user_locking"
596620a154acheEOF
597620a154ache
598620a154ache  fi
599620a154achefi
600620a154acheLOCK_DIR="$enable_user_locking"
601620a154ache
602620a154ache
603620a154ache# Check whether --enable-retype or --disable-retype was given.
604620a154acheif test "${enable_retype+set}" = set; then
605620a154ache  enableval="$enable_retype"
606620a154ache  cat >> confdefs.h <<\EOF
607620a154ache#define RETYPE 1
608620a154acheEOF
609620a154ache
610620a154achefi
611620a154ache
612620a154ache# Check whether --enable-su-star-check or --disable-su-star-check was given.
613620a154acheif test "${enable_su_star_check+set}" = set; then
614620a154ache  enableval="$enable_su_star_check"
615620a154ache  cat >> confdefs.h <<\EOF
616620a154ache#define SU_STAR_CHECK 1
617620a154acheEOF
618620a154ache
619620a154achefi
620620a154ache
621620a154ache# Check whether --enable-new-prompts or --disable-new-prompts was given.
622620a154acheif test "${enable_new_prompts+set}" = set; then
623620a154ache  enableval="$enable_new_prompts"
624620a154ache  :
625620a154acheelse
626620a154ache  cat >> confdefs.h <<\EOF
627620a154ache#define NEW_PROMPTS 1
628620a154acheEOF
629620a154ache
630620a154achefi
631620a154ache
632620a154ache# Check whether --enable-insecure-override or --disable-insecure-override was given.
633620a154acheif test "${enable_insecure_override+set}" = set; then
634620a154ache  enableval="$enable_insecure_override"
635620a154ache  cat >> confdefs.h <<\EOF
636620a154ache#define INSECURE_OVERRIDE 1
637620a154acheEOF
638620a154ache
639620a154achefi
640620a154ache
6412dfcbf1pst# Check whether --enable-anonymous-ftp or --disable-anonymous-ftp was given.
6422dfcbf1pstif test "${enable_anonymous_ftp+set}" = set; then
6432dfcbf1pst  enableval="$enable_anonymous_ftp"
6442dfcbf1pst  cat >> confdefs.h <<\EOF
6452dfcbf1pst#define DOANONYMOUS 1
6462dfcbf1pstEOF
6472dfcbf1pst echo "Enabling anonymous FTP support in ftp -- don't say we didn't warn you!"
6482dfcbf1pstfi
6492dfcbf1pst
650620a154ache# Check whether --enable-utmp or --disable-utmp was given.
651620a154acheif test "${enable_utmp+set}" = set; then
652620a154ache  enableval="$enable_utmp"
653620a154ache  cat >> confdefs.h <<\EOF
654620a154ache#define DISABLE_UTMP 1
655620a154acheEOF
656620a154ache echo "Disabling utmp logging"
657620a154achefi
658620a154ache
659620a154ache# Check whether --enable-wtmp or --disable-wtmp was given.
660620a154acheif test "${enable_wtmp+set}" = set; then
661620a154ache  enableval="$enable_wtmp"
662620a154ache  cat >> confdefs.h <<\EOF
663620a154ache#define DISABLE_UTMP 1
664620a154acheEOF
665620a154ache echo "Disabling wtmp logging"
666620a154achefi
667620a154ache
6682dfcbf1pst
6692dfcbf1pst# Extract the first word of "gcc", so it can be a program name with args.
6702dfcbf1pstset dummy gcc; ac_word=$2
6712dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
672620a154acheecho "configure:673: checking for $ac_word" >&5
6732dfcbf1pstif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6742dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
6752dfcbf1pstelse
6762dfcbf1pst  if test -n "$CC"; then
6772dfcbf1pst  ac_cv_prog_CC="$CC" # Let the user override the test.
6782dfcbf1pstelse
6792dfcbf1pst  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
6802dfcbf1pst  for ac_dir in $PATH; do
6812dfcbf1pst    test -z "$ac_dir" && ac_dir=.
6822dfcbf1pst    if test -f $ac_dir/$ac_word; then
6832dfcbf1pst      ac_cv_prog_CC="gcc"
6842dfcbf1pst      break
6852dfcbf1pst    fi
6862dfcbf1pst  done
6872dfcbf1pst  IFS="$ac_save_ifs"
6882dfcbf1pstfi
6892dfcbf1pstfi
6902dfcbf1pstCC="$ac_cv_prog_CC"
6912dfcbf1pstif test -n "$CC"; then
6922dfcbf1pst  echo "$ac_t""$CC" 1>&6
6932dfcbf1pstelse
6942dfcbf1pst  echo "$ac_t""no" 1>&6
6952dfcbf1pstfi
6962dfcbf1pst
6972dfcbf1pstif test -z "$CC"; then
6982dfcbf1pst  # Extract the first word of "cc", so it can be a program name with args.
6992dfcbf1pstset dummy cc; ac_word=$2
7002dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
701620a154acheecho "configure:702: checking for $ac_word" >&5
7022dfcbf1pstif eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7032dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
7042dfcbf1pstelse
7052dfcbf1pst  if test -n "$CC"; then
7062dfcbf1pst  ac_cv_prog_CC="$CC" # Let the user override the test.
7072dfcbf1pstelse
7082dfcbf1pst  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
7092dfcbf1pst  ac_prog_rejected=no
7102dfcbf1pst  for ac_dir in $PATH; do
7112dfcbf1pst    test -z "$ac_dir" && ac_dir=.
7122dfcbf1pst    if test -f $ac_dir/$ac_word; then
7132dfcbf1pst      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7142dfcbf1pst        ac_prog_rejected=yes
7152dfcbf1pst	continue
7162dfcbf1pst      fi
7172dfcbf1pst      ac_cv_prog_CC="cc"
7182dfcbf1pst      break
7192dfcbf1pst    fi
7202dfcbf1pst  done
7212dfcbf1pst  IFS="$ac_save_ifs"
7222dfcbf1pstif test $ac_prog_rejected = yes; then
7232dfcbf1pst  # We found a bogon in the path, so make sure we never use it.
7242dfcbf1pst  set dummy $ac_cv_prog_CC
7252dfcbf1pst  shift
7262dfcbf1pst  if test $# -gt 0; then
7272dfcbf1pst    # We chose a different compiler from the bogus one.
7282dfcbf1pst    # However, it has the same basename, so the bogon will be chosen
7292dfcbf1pst    # first if we set CC to just the basename; use the full file name.
7302dfcbf1pst    shift
7312dfcbf1pst    set dummy "$ac_dir/$ac_word" "$@"
7322dfcbf1pst    shift
7332dfcbf1pst    ac_cv_prog_CC="$@"
7342dfcbf1pst  fi
7352dfcbf1pstfi
7362dfcbf1pstfi
7372dfcbf1pstfi
7382dfcbf1pstCC="$ac_cv_prog_CC"
7392dfcbf1pstif test -n "$CC"; then
7402dfcbf1pst  echo "$ac_t""$CC" 1>&6
7412dfcbf1pstelse
7422dfcbf1pst  echo "$ac_t""no" 1>&6
7432dfcbf1pstfi
7442dfcbf1pst
7452dfcbf1pst  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7462dfcbf1pstfi
7472dfcbf1pst
748620a154acheecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
749620a154acheecho "configure:750: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
750620a154ache
751620a154acheac_ext=c
752620a154ache# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
753620a154acheac_cpp='$CPP $CPPFLAGS'
754620a154acheac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
755620a154acheac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
756620a154achecross_compiling=$ac_cv_prog_cc_cross
757620a154ache
758620a154achecat > conftest.$ac_ext <<EOF
759620a154ache#line 760 "configure"
760620a154ache#include "confdefs.h"
761620a154achemain(){return(0);}
762620a154acheEOF
763620a154acheif { (eval echo configure:764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
764620a154ache  ac_cv_prog_cc_works=yes
765620a154ache  # If we can't run a trivial program, we are probably using a cross compiler.
766620a154ache  if (./conftest; exit) 2>/dev/null; then
767620a154ache    ac_cv_prog_cc_cross=no
768620a154ache  else
769620a154ache    ac_cv_prog_cc_cross=yes
770620a154ache  fi
771620a154acheelse
772620a154ache  echo "configure: failed program was:" >&5
773620a154ache  cat conftest.$ac_ext >&5
774620a154ache  ac_cv_prog_cc_works=no
775620a154achefi
776620a154acherm -fr conftest*
777620a154ache
778620a154acheecho "$ac_t""$ac_cv_prog_cc_works" 1>&6
779620a154acheif test $ac_cv_prog_cc_works = no; then
780620a154ache  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
781620a154achefi
782620a154acheecho $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
783620a154acheecho "configure:784: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
784620a154acheecho "$ac_t""$ac_cv_prog_cc_cross" 1>&6
785620a154achecross_compiling=$ac_cv_prog_cc_cross
786620a154ache
7872dfcbf1pstecho $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
788620a154acheecho "configure:789: checking whether we are using GNU C" >&5
7892dfcbf1pstif eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7902dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
7912dfcbf1pstelse
7922dfcbf1pst  cat > conftest.c <<EOF
7932dfcbf1pst#ifdef __GNUC__
7942dfcbf1pst  yes;
7952dfcbf1pst#endif
7962dfcbf1pstEOF
797620a154acheif { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
7982dfcbf1pst  ac_cv_prog_gcc=yes
7992dfcbf1pstelse
8002dfcbf1pst  ac_cv_prog_gcc=no
8012dfcbf1pstfi
8022dfcbf1pstfi
8032dfcbf1pst
8042dfcbf1pstecho "$ac_t""$ac_cv_prog_gcc" 1>&6
805620a154ache
8062dfcbf1pstif test $ac_cv_prog_gcc = yes; then
8072dfcbf1pst  GCC=yes
808620a154ache  ac_test_CFLAGS="${CFLAGS+set}"
809620a154ache  ac_save_CFLAGS="$CFLAGS"
810620a154ache  CFLAGS=
811620a154ache  echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
812620a154acheecho "configure:813: checking whether ${CC-cc} accepts -g" >&5
813620a154acheif eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8142dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
8152dfcbf1pstelse
8162dfcbf1pst  echo 'void f(){}' > conftest.c
8172dfcbf1pstif test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
818620a154ache  ac_cv_prog_cc_g=yes
8192dfcbf1pstelse
820620a154ache  ac_cv_prog_cc_g=no
8212dfcbf1pstfi
8222dfcbf1pstrm -f conftest*
8232dfcbf1pst
8242dfcbf1pstfi
8252dfcbf1pst
826620a154acheecho "$ac_t""$ac_cv_prog_cc_g" 1>&6
827620a154ache  if test "$ac_test_CFLAGS" = set; then
828620a154ache    CFLAGS="$ac_save_CFLAGS"
829620a154ache  elif test $ac_cv_prog_cc_g = yes; then
830620a154ache    CFLAGS="-g -O2"
831620a154ache  else
832620a154ache    CFLAGS="-O2"
8332dfcbf1pst  fi
8342dfcbf1pstelse
8352dfcbf1pst  GCC=
8362dfcbf1pst  test "${CFLAGS+set}" = set || CFLAGS="-g"
8372dfcbf1pstfi
8382dfcbf1pst
8392dfcbf1pstecho $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
840620a154acheecho "configure:841: checking how to run the C preprocessor" >&5
8412dfcbf1pst# On Suns, sometimes $CPP names a directory.
8422dfcbf1pstif test -n "$CPP" && test -d "$CPP"; then
8432dfcbf1pst  CPP=
8442dfcbf1pstfi
8452dfcbf1pstif test -z "$CPP"; then
8462dfcbf1pstif eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8472dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
8482dfcbf1pstelse
8492dfcbf1pst    # This must be in double quotes, not single quotes, because CPP may get
8502dfcbf1pst  # substituted into the Makefile and "${CC-cc}" will confuse make.
8512dfcbf1pst  CPP="${CC-cc} -E"
8522dfcbf1pst  # On the NeXT, cc -E runs the code through the compiler's parser,
8532dfcbf1pst  # not just through cpp.
8542dfcbf1pst  cat > conftest.$ac_ext <<EOF
855620a154ache#line 856 "configure"
8562dfcbf1pst#include "confdefs.h"
8572dfcbf1pst#include <assert.h>
8582dfcbf1pstSyntax Error
8592dfcbf1pstEOF
8602dfcbf1pstac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
861620a154ache{ (eval echo configure:862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8622dfcbf1pstac_err=`grep -v '^ *+' conftest.out`
8632dfcbf1pstif test -z "$ac_err"; then
8642dfcbf1pst  :
8652dfcbf1pstelse
8662dfcbf1pst  echo "$ac_err" >&5
867620a154ache  echo "configure: failed program was:" >&5
868620a154ache  cat conftest.$ac_ext >&5
8692dfcbf1pst  rm -rf conftest*
8702dfcbf1pst  CPP="${CC-cc} -E -traditional-cpp"
8712dfcbf1pst  cat > conftest.$ac_ext <<EOF
872620a154ache#line 873 "configure"
8732dfcbf1pst#include "confdefs.h"
8742dfcbf1pst#include <assert.h>
8752dfcbf1pstSyntax Error
8762dfcbf1pstEOF
8772dfcbf1pstac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
878620a154ache{ (eval echo configure:879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8792dfcbf1pstac_err=`grep -v '^ *+' conftest.out`
8802dfcbf1pstif test -z "$ac_err"; then
8812dfcbf1pst  :
8822dfcbf1pstelse
8832dfcbf1pst  echo "$ac_err" >&5
884620a154ache  echo "configure: failed program was:" >&5
885620a154ache  cat conftest.$ac_ext >&5
8862dfcbf1pst  rm -rf conftest*
8872dfcbf1pst  CPP=/lib/cpp
8882dfcbf1pstfi
8892dfcbf1pstrm -f conftest*
8902dfcbf1pstfi
8912dfcbf1pstrm -f conftest*
8922dfcbf1pst  ac_cv_prog_CPP="$CPP"
8932dfcbf1pstfi
8942dfcbf1pst  CPP="$ac_cv_prog_CPP"
8952dfcbf1pstelse
8962dfcbf1pst  ac_cv_prog_CPP="$CPP"
8972dfcbf1pstfi
8982dfcbf1pstecho "$ac_t""$CPP" 1>&6
8992dfcbf1pst
9002dfcbf1pstecho $ac_n "checking whether ln -s works""... $ac_c" 1>&6
901620a154acheecho "configure:902: checking whether ln -s works" >&5
9022dfcbf1pstif eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9032dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
9042dfcbf1pstelse
9052dfcbf1pst  rm -f conftestdata
9062dfcbf1pstif ln -s X conftestdata 2>/dev/null
9072dfcbf1pstthen
9082dfcbf1pst  rm -f conftestdata
9092dfcbf1pst  ac_cv_prog_LN_S="ln -s"
9102dfcbf1pstelse
9112dfcbf1pst  ac_cv_prog_LN_S=ln
9122dfcbf1pstfi
9132dfcbf1pstfi
9142dfcbf1pstLN_S="$ac_cv_prog_LN_S"
9152dfcbf1pstif test "$ac_cv_prog_LN_S" = "ln -s"; then
9162dfcbf1pst  echo "$ac_t""yes" 1>&6
9172dfcbf1pstelse
9182dfcbf1pst  echo "$ac_t""no" 1>&6
9192dfcbf1pstfi
9202dfcbf1pst
9212dfcbf1pst# Extract the first word of "ranlib", so it can be a program name with args.
9222dfcbf1pstset dummy ranlib; ac_word=$2
9232dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
924620a154acheecho "configure:925: checking for $ac_word" >&5
9252dfcbf1pstif eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9262dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
9272dfcbf1pstelse
9282dfcbf1pst  if test -n "$RANLIB"; then
9292dfcbf1pst  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9302dfcbf1pstelse
9312dfcbf1pst  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
9322dfcbf1pst  for ac_dir in $PATH; do
9332dfcbf1pst    test -z "$ac_dir" && ac_dir=.
9342dfcbf1pst    if test -f $ac_dir/$ac_word; then
9352dfcbf1pst      ac_cv_prog_RANLIB="ranlib"
9362dfcbf1pst      break
9372dfcbf1pst    fi
9382dfcbf1pst  done
9392dfcbf1pst  IFS="$ac_save_ifs"
9402dfcbf1pst  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
9412dfcbf1pstfi
9422dfcbf1pstfi
9432dfcbf1pstRANLIB="$ac_cv_prog_RANLIB"
9442dfcbf1pstif test -n "$RANLIB"; then
9452dfcbf1pst  echo "$ac_t""$RANLIB" 1>&6
9462dfcbf1pstelse
9472dfcbf1pst  echo "$ac_t""no" 1>&6
9482dfcbf1pstfi
9492dfcbf1pst
9502dfcbf1pstfor ac_prog in 'bison -y' byacc
9512dfcbf1pstdo
9522dfcbf1pst# Extract the first word of "$ac_prog", so it can be a program name with args.
9532dfcbf1pstset dummy $ac_prog; ac_word=$2
9542dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
955620a154acheecho "configure:956: checking for $ac_word" >&5
9562dfcbf1pstif eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9572dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
9582dfcbf1pstelse
9592dfcbf1pst  if test -n "$YACC"; then
9602dfcbf1pst  ac_cv_prog_YACC="$YACC" # Let the user override the test.
9612dfcbf1pstelse
9622dfcbf1pst  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
9632dfcbf1pst  for ac_dir in $PATH; do
9642dfcbf1pst    test -z "$ac_dir" && ac_dir=.
9652dfcbf1pst    if test -f $ac_dir/$ac_word; then
9662dfcbf1pst      ac_cv_prog_YACC="$ac_prog"
9672dfcbf1pst      break
9682dfcbf1pst    fi
9692dfcbf1pst  done
9702dfcbf1pst  IFS="$ac_save_ifs"
9712dfcbf1pstfi
9722dfcbf1pstfi
9732dfcbf1pstYACC="$ac_cv_prog_YACC"
9742dfcbf1pstif test -n "$YACC"; then
9752dfcbf1pst  echo "$ac_t""$YACC" 1>&6
9762dfcbf1pstelse
9772dfcbf1pst  echo "$ac_t""no" 1>&6
9782dfcbf1pstfi
9792dfcbf1pst
9802dfcbf1psttest -n "$YACC" && break
9812dfcbf1pstdone
9822dfcbf1psttest -n "$YACC" || YACC="yacc"
9832dfcbf1pst
9842dfcbf1pst
9852dfcbf1pstecho $ac_n "checking for AIX""... $ac_c" 1>&6
986620a154acheecho "configure:987: checking for AIX" >&5
9872dfcbf1pstcat > conftest.$ac_ext <<EOF
988620a154ache#line 989 "configure"
9892dfcbf1pst#include "confdefs.h"
9902dfcbf1pst#ifdef _AIX
9912dfcbf1pst  yes
9922dfcbf1pst#endif
9932dfcbf1pst
9942dfcbf1pstEOF
9952dfcbf1pstif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9962dfcbf1pst  egrep "yes" >/dev/null 2>&1; then
9972dfcbf1pst  rm -rf conftest*
9982dfcbf1pst  echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
9992dfcbf1pst#define _ALL_SOURCE 1
10002dfcbf1pstEOF
10012dfcbf1pst
10022dfcbf1pstelse
10032dfcbf1pst  rm -rf conftest*
10042dfcbf1pst  echo "$ac_t""no" 1>&6
10052dfcbf1pstfi
10062dfcbf1pstrm -f conftest*
10072dfcbf1pst
10082dfcbf1pst
10092dfcbf1pstecho $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1010620a154acheecho "configure:1011: checking for POSIXized ISC" >&5
10112dfcbf1pstif test -d /etc/conf/kconfig.d &&
10122dfcbf1pst  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
10132dfcbf1pstthen
10142dfcbf1pst  echo "$ac_t""yes" 1>&6
10152dfcbf1pst  ISC=yes # If later tests want to check for ISC.
10162dfcbf1pst  cat >> confdefs.h <<\EOF
10172dfcbf1pst#define _POSIX_SOURCE 1
10182dfcbf1pstEOF
10192dfcbf1pst
10202dfcbf1pst  if test "$GCC" = yes; then
10212dfcbf1pst    CC="$CC -posix"
10222dfcbf1pst  else
10232dfcbf1pst    CC="$CC -Xp"
10242dfcbf1pst  fi
10252dfcbf1pstelse
10262dfcbf1pst  echo "$ac_t""no" 1>&6
10272dfcbf1pst  ISC=
10282dfcbf1pstfi
10292dfcbf1pst
1030620a154acheac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
10312dfcbf1pstecho $ac_n "checking for minix/config.h""... $ac_c" 1>&6
1032620a154acheecho "configure:1033: checking for minix/config.h" >&5
10332dfcbf1pstif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10342dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
10352dfcbf1pstelse
10362dfcbf1pst  cat > conftest.$ac_ext <<EOF
1037620a154ache#line 1038 "configure"
10382dfcbf1pst#include "confdefs.h"
10392dfcbf1pst#include <minix/config.h>
10402dfcbf1pstEOF
10412dfcbf1pstac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1042620a154ache{ (eval echo configure:1043: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10432dfcbf1pstac_err=`grep -v '^ *+' conftest.out`
10442dfcbf1pstif test -z "$ac_err"; then
10452dfcbf1pst  rm -rf conftest*
10462dfcbf1pst  eval "ac_cv_header_$ac_safe=yes"
10472dfcbf1pstelse
10482dfcbf1pst  echo "$ac_err" >&5
1049620a154ache  echo "configure: failed program was:" >&5
1050620a154ache  cat conftest.$ac_ext >&5
10512dfcbf1pst  rm -rf conftest*
10522dfcbf1pst  eval "ac_cv_header_$ac_safe=no"
10532dfcbf1pstfi
10542dfcbf1pstrm -f conftest*
10552dfcbf1pstfi
10562dfcbf1pstif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10572dfcbf1pst  echo "$ac_t""yes" 1>&6
10582dfcbf1pst  MINIX=yes
10592dfcbf1pstelse
10602dfcbf1pst  echo "$ac_t""no" 1>&6
10612dfcbf1pstMINIX=
10622dfcbf1pstfi
10632dfcbf1pst
10642dfcbf1pstif test "$MINIX" = yes; then
10652dfcbf1pst  cat >> confdefs.h <<\EOF
10662dfcbf1pst#define _POSIX_SOURCE 1
10672dfcbf1pstEOF
10682dfcbf1pst
10692dfcbf1pst  cat >> confdefs.h <<\EOF
10702dfcbf1pst#define _POSIX_1_SOURCE 2
10712dfcbf1pstEOF
10722dfcbf1pst
10732dfcbf1pst  cat >> confdefs.h <<\EOF
10742dfcbf1pst#define _MINIX 1
10752dfcbf1pstEOF
10762dfcbf1pst
10772dfcbf1pstfi
10782dfcbf1pst
10792dfcbf1pst
10802dfcbf1pst
10812dfcbf1pst# Extract the first word of "chown", so it can be a program name with args.
10822dfcbf1pstset dummy chown; ac_word=$2
10832dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
1084620a154acheecho "configure:1085: checking for $ac_word" >&5
10852dfcbf1pstif eval "test \"`echo '$''{'ac_cv_path_CHOWN'+set}'`\" = set"; then
10862dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
10872dfcbf1pstelse
10882dfcbf1pst  case "$CHOWN" in
10892dfcbf1pst  /*)
10902dfcbf1pst  ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path.
10912dfcbf1pst  ;;
10922dfcbf1pst  *)
10932dfcbf1pst  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1094620a154ache  for ac_dir in /usr/bin /bin /usr/sbin /sbin /usr/etc /etc$ac_dummy; do
10952dfcbf1pst    test -z "$ac_dir" && ac_dir=.
10962dfcbf1pst    if test -f $ac_dir/$ac_word; then
10972dfcbf1pst      ac_cv_path_CHOWN="$ac_dir/$ac_word"
10982dfcbf1pst      break
10992dfcbf1pst    fi
11002dfcbf1pst  done
11012dfcbf1pst  IFS="$ac_save_ifs"
11022dfcbf1pst  test -z "$ac_cv_path_CHOWN" && ac_cv_path_CHOWN="/bin/chown"
11032dfcbf1pst  ;;
11042dfcbf1pstesac
11052dfcbf1pstfi
11062dfcbf1pstCHOWN="$ac_cv_path_CHOWN"
11072dfcbf1pstif test -n "$CHOWN"; then
11082dfcbf1pst  echo "$ac_t""$CHOWN" 1>&6
11092dfcbf1pstelse
11102dfcbf1pst  echo "$ac_t""no" 1>&6
11112dfcbf1pstfi
11122dfcbf1pst
11132dfcbf1pst
11142dfcbf1pst# Extract the first word of "su", so it can be a program name with args.
11152dfcbf1pstset dummy su; ac_word=$2
11162dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
1117620a154acheecho "configure:1118: checking for $ac_word" >&5
11182dfcbf1pstif eval "test \"`echo '$''{'ac_cv_path_SU'+set}'`\" = set"; then
11192dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
11202dfcbf1pstelse
11212dfcbf1pst  case "$SU" in
11222dfcbf1pst  /*)
11232dfcbf1pst  ac_cv_path_SU="$SU" # Let the user override the test with a path.
11242dfcbf1pst  ;;
11252dfcbf1pst  *)
11262dfcbf1pst  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1127620a154ache  for ac_dir in /usr/bin /bin$ac_dummy; do
11282dfcbf1pst    test -z "$ac_dir" && ac_dir=.
11292dfcbf1pst    if test -f $ac_dir/$ac_word; then
11302dfcbf1pst      ac_cv_path_SU="$ac_dir/$ac_word"
11312dfcbf1pst      break
11322dfcbf1pst    fi
11332dfcbf1pst  done
11342dfcbf1pst  IFS="$ac_save_ifs"
11352dfcbf1pst  test -z "$ac_cv_path_SU" && ac_cv_path_SU="/bin/su"
11362dfcbf1pst  ;;
11372dfcbf1pstesac
11382dfcbf1pstfi
11392dfcbf1pstSU="$ac_cv_path_SU"
11402dfcbf1pstif test -n "$SU"; then
11412dfcbf1pst  echo "$ac_t""$SU" 1>&6
11422dfcbf1pstelse
11432dfcbf1pst  echo "$ac_t""no" 1>&6
11442dfcbf1pstfi
11452dfcbf1pst
11462dfcbf1pst# Extract the first word of "su", so it can be a program name with args.
11472dfcbf1pstset dummy su; ac_word=$2
11482dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
1149620a154acheecho "configure:1150: checking for $ac_word" >&5
11502dfcbf1pstif eval "test \"`echo '$''{'ac_cv_path_ALT_SU'+set}'`\" = set"; then
11512dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
11522dfcbf1pstelse
11532dfcbf1pst  case "$ALT_SU" in
11542dfcbf1pst  /*)
11552dfcbf1pst  ac_cv_path_ALT_SU="$ALT_SU" # Let the user override the test with a path.
11562dfcbf1pst  ;;
11572dfcbf1pst  *)
11582dfcbf1pst  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1159620a154ache  for ac_dir in /usr/sbin /sbin$ac_dummy; do
11602dfcbf1pst    test -z "$ac_dir" && ac_dir=.
11612dfcbf1pst    if test -f $ac_dir/$ac_word; then
11622dfcbf1pst      ac_cv_path_ALT_SU="$ac_dir/$ac_word"
11632dfcbf1pst      break
11642dfcbf1pst    fi
11652dfcbf1pst  done
11662dfcbf1pst  IFS="$ac_save_ifs"
11672dfcbf1pst  ;;
11682dfcbf1pstesac
11692dfcbf1pstfi
11702dfcbf1pstALT_SU="$ac_cv_path_ALT_SU"
11712dfcbf1pstif test -n "$ALT_SU"; then
11722dfcbf1pst  echo "$ac_t""$ALT_SU" 1>&6
11732dfcbf1pstelse
11742dfcbf1pst  echo "$ac_t""no" 1>&6
11752dfcbf1pstfi
11762dfcbf1pst
11772dfcbf1pst
11782dfcbf1pst# Extract the first word of "scheme", so it can be a program name with args.
11792dfcbf1pstset dummy scheme; ac_word=$2
11802dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
1181620a154acheecho "configure:1182: checking for $ac_word" >&5
11822dfcbf1pstif eval "test \"`echo '$''{'ac_cv_path_SCHEME'+set}'`\" = set"; then
11832dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
11842dfcbf1pstelse
11852dfcbf1pst  case "$SCHEME" in
11862dfcbf1pst  /*)
11872dfcbf1pst  ac_cv_path_SCHEME="$SCHEME" # Let the user override the test with a path.
11882dfcbf1pst  ;;
11892dfcbf1pst  *)
11902dfcbf1pst  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1191620a154ache  for ac_dir in /usr/lib/iaf/scheme$ac_dummy; do
11922dfcbf1pst    test -z "$ac_dir" && ac_dir=.
11932dfcbf1pst    if test -f $ac_dir/$ac_word; then
11942dfcbf1pst      ac_cv_path_SCHEME="$ac_dir/$ac_word"
11952dfcbf1pst      break
11962dfcbf1pst    fi
11972dfcbf1pst  done
11982dfcbf1pst  IFS="$ac_save_ifs"
11992dfcbf1pst  ;;
12002dfcbf1pstesac
12012dfcbf1pstfi
12022dfcbf1pstSCHEME="$ac_cv_path_SCHEME"
12032dfcbf1pstif test -n "$SCHEME"; then
12042dfcbf1pst  echo "$ac_t""$SCHEME" 1>&6
12052dfcbf1pstelse
12062dfcbf1pst  echo "$ac_t""no" 1>&6
12072dfcbf1pstfi
12082dfcbf1pst
12092dfcbf1pst# Extract the first word of "login", so it can be a program name with args.
12102dfcbf1pstset dummy login; ac_word=$2
12112dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
1212620a154acheecho "configure:1213: checking for $ac_word" >&5
12132dfcbf1pstif eval "test \"`echo '$''{'ac_cv_path_LOGIN'+set}'`\" = set"; then
12142dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
12152dfcbf1pstelse
12162dfcbf1pst  case "$LOGIN" in
12172dfcbf1pst  /*)
12182dfcbf1pst  ac_cv_path_LOGIN="$LOGIN" # Let the user override the test with a path.
12192dfcbf1pst  ;;
12202dfcbf1pst  *)
12212dfcbf1pst  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1222620a154ache  for ac_dir in /usr/bin /bin$ac_dummy; do
12232dfcbf1pst    test -z "$ac_dir" && ac_dir=.
12242dfcbf1pst    if test -f $ac_dir/$ac_word; then
12252dfcbf1pst      ac_cv_path_LOGIN="$ac_dir/$ac_word"
12262dfcbf1pst      break
12272dfcbf1pst    fi
12282dfcbf1pst  done
12292dfcbf1pst  IFS="$ac_save_ifs"
12302dfcbf1pst  test -z "$ac_cv_path_LOGIN" && ac_cv_path_LOGIN="/bin/login"
12312dfcbf1pst  ;;
12322dfcbf1pstesac
12332dfcbf1pstfi
12342dfcbf1pstLOGIN="$ac_cv_path_LOGIN"
12352dfcbf1pstif test -n "$LOGIN"; then
12362dfcbf1pst  echo "$ac_t""$LOGIN" 1>&6
12372dfcbf1pstelse
12382dfcbf1pst  echo "$ac_t""no" 1>&6
12392dfcbf1pstfi
12402dfcbf1pst
12412dfcbf1pst
12422dfcbf1pstif test ! -z "$SCHEME";
12432dfcbf1pstthen
12442dfcbf1pst	LOGIN="$SCHEME";
12452dfcbf1pstfi
12462dfcbf1pst
12472dfcbf1pst# Extract the first word of "ftpd", so it can be a program name with args.
12482dfcbf1pstset dummy ftpd; ac_word=$2
12492dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
1250620a154acheecho "configure:1251: checking for $ac_word" >&5
12512dfcbf1pstif eval "test \"`echo '$''{'ac_cv_path_FTPD'+set}'`\" = set"; then
12522dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
12532dfcbf1pstelse
12542dfcbf1pst  case "$FTPD" in
12552dfcbf1pst  /*)
12562dfcbf1pst  ac_cv_path_FTPD="$FTPD" # Let the user override the test with a path.
12572dfcbf1pst  ;;
12582dfcbf1pst  *)
12592dfcbf1pst  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1260620a154ache  for ac_dir in /usr/libexec /usr/etc /etc /usr/sbin /sbin /usr/lbin$ac_dummy; do
12612dfcbf1pst    test -z "$ac_dir" && ac_dir=.
12622dfcbf1pst    if test -f $ac_dir/$ac_word; then
12632dfcbf1pst      ac_cv_path_FTPD="$ac_dir/$ac_word"
12642dfcbf1pst      break
12652dfcbf1pst    fi
12662dfcbf1pst  done
12672dfcbf1pst  IFS="$ac_save_ifs"
12682dfcbf1pst  ;;
12692dfcbf1pstesac
12702dfcbf1pstfi
12712dfcbf1pstFTPD="$ac_cv_path_FTPD"
12722dfcbf1pstif test -n "$FTPD"; then
12732dfcbf1pst  echo "$ac_t""$FTPD" 1>&6
12742dfcbf1pstelse
12752dfcbf1pst  echo "$ac_t""no" 1>&6
12762dfcbf1pstfi
12772dfcbf1pst
12782dfcbf1pst# Extract the first word of "in.ftpd", so it can be a program name with args.
12792dfcbf1pstset dummy in.ftpd; ac_word=$2
12802dfcbf1pstecho $ac_n "checking for $ac_word""... $ac_c" 1>&6
1281620a154acheecho "configure:1282: checking for $ac_word" >&5
12822dfcbf1pstif eval "test \"`echo '$''{'ac_cv_path_INFTPD'+set}'`\" = set"; then
12832dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
12842dfcbf1pstelse
12852dfcbf1pst  case "$INFTPD" in
12862dfcbf1pst  /*)
12872dfcbf1pst  ac_cv_path_INFTPD="$INFTPD" # Let the user override the test with a path.
12882dfcbf1pst  ;;
12892dfcbf1pst  *)
12902dfcbf1pst  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1291620a154ache  for ac_dir in /usr/libexec /usr/etc /etc /usr/sbin /sbin /usr/lbin$ac_dummy; do
12922dfcbf1pst    test -z "$ac_dir" && ac_dir=.
12932dfcbf1pst    if test -f $ac_dir/$ac_word; then
12942dfcbf1pst      ac_cv_path_INFTPD="$ac_dir/$ac_word"
12952dfcbf1pst      break
12962dfcbf1pst    fi
12972dfcbf1pst  done
12982dfcbf1pst  IFS="$ac_save_ifs"
12992dfcbf1pst  ;;
13002dfcbf1pstesac
13012dfcbf1pstfi
13022dfcbf1pstINFTPD="$ac_cv_path_INFTPD"
13032dfcbf1pstif test -n "$INFTPD"; then
13042dfcbf1pst  echo "$ac_t""$INFTPD" 1>&6
13052dfcbf1pstelse
13062dfcbf1pst  echo "$ac_t""no" 1>&6
13072dfcbf1pstfi
13082dfcbf1pst
13092dfcbf1pst
13102dfcbf1pstif test -z "$FTPD"
13112dfcbf1pstthen
13122dfcbf1pst	if test ! -z "$INFTPD"
13132dfcbf1pst	then
13142dfcbf1pst		FTPD="$INFTPD"
13152dfcbf1pst	fi
13162dfcbf1pstfi
13172dfcbf1pst
13182dfcbf1pstecho $ac_n "checking for default PATH entries""... $ac_c" 1>&6
1319620a154acheecho "configure:1320: checking for default PATH entries" >&5
13202dfcbf1pstdefault_path=""
13212dfcbf1pstsave_IFS="$IFS"
13222dfcbf1pstIFS=" "
13232dfcbf1pstfor 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
13242dfcbf1pstdo
13252dfcbf1pst	IFS=":"
13262dfcbf1pst	for j in $PATH
13272dfcbf1pst	do
13282dfcbf1pst		if test "$i" = "$j"
13292dfcbf1pst		then
13302dfcbf1pst			if test -d "$i"
13312dfcbf1pst			then
13322dfcbf1pst				if test -z "$default_path"
13332dfcbf1pst				then
13342dfcbf1pst					default_path="$i"
13352dfcbf1pst				else
13362dfcbf1pst					default_path="$default_path:$i"
13372dfcbf1pst				fi
13382dfcbf1pst			fi
13392dfcbf1pst		fi
13402dfcbf1pst	done
13412dfcbf1pst	IFS=" "
13422dfcbf1pstdone
13432dfcbf1pstcat >> confdefs.h <<EOF
13442dfcbf1pst#define DEFAULT_PATH "$default_path"
13452dfcbf1pstEOF
13462dfcbf1pst
13472dfcbf1pstecho "$ac_t""$default_path" 1>&6
13482dfcbf1pst
13492dfcbf1pstecho $ac_n "checking for test -e flag""... $ac_c" 1>&6
1350620a154acheecho "configure:1351: checking for test -e flag" >&5
13512dfcbf1pstif sh config.testeflag
13522dfcbf1pstthen
13532dfcbf1pst	result=yes
13542dfcbf1pst	EXISTS="-e"
13552dfcbf1pstelse
13562dfcbf1pst	result=no
13572dfcbf1pst	EXISTS="-f"
13582dfcbf1pstfi
13592dfcbf1pst
13602dfcbf1pstecho "$ac_t""$result" 1>&6
13612dfcbf1pst
13622dfcbf1pstecho $ac_n "checking for mkdir -p flag""... $ac_c" 1>&6
1363620a154acheecho "configure:1364: checking for mkdir -p flag" >&5
13642dfcbf1pstif test -d config.tmpdir
13652dfcbf1pstthen
13662dfcbf1pst	rmdir config.tmpdir/foo/bar >/dev/null 2>/dev/null
13672dfcbf1pst	rmdir config.tmpdir/foo >/dev/null 2>/dev/null
13682dfcbf1pst	rmdir config.tmpdir >/dev/null 2>/dev/null
13692dfcbf1pstfi
13702dfcbf1pst
13712dfcbf1pstresult=no
13722dfcbf1pstif mkdir -p config.tmpdir/foo/bar >/dev/null 2>/dev/null
13732dfcbf1pstthen
13742dfcbf1pst	if test -d config.tmpdir
13752dfcbf1pst	then
13762dfcbf1pst		if test -d config.tmpdir/foo
13772dfcbf1pst		then
13782dfcbf1pst			if test -d config.tmpdir/foo/bar
13792dfcbf1pst			then
13802dfcbf1pst				result=yes
13812dfcbf1pst				rmdir config.tmpdir/foo/bar >/dev/null 2>/dev/null
13822dfcbf1pst			fi
13832dfcbf1pst			rmdir config.tmpdir/foo >/dev/null 2>/dev/null
13842dfcbf1pst		fi
13852dfcbf1pst		rmdir config.tmpdir >/dev/null 2>/dev/null
13862dfcbf1pst	fi
13872dfcbf1pstfi
13882dfcbf1pst
13892dfcbf1pstif test "$result" = yes
13902dfcbf1pstthen
13912dfcbf1pst	MKDIR="mkdir -p"
13922dfcbf1pstelse
13932dfcbf1pst	MKDIR="mkdir"
13942dfcbf1pstfi
13952dfcbf1pst
13962dfcbf1pstecho "$ac_t""$result" 1>&6
13972dfcbf1pst
13982dfcbf1pstecho $ac_n "checking for ls group field""... $ac_c" 1>&6
1399620a154acheecho "configure:1400: checking for ls group field" >&5
14002dfcbf1pstlsg=`/bin/ls -ldg / | wc -w | awk '{print $1}'`;
14012dfcbf1pstls=`/bin/ls -ld / | wc -w | awk '{print $1}'`;
14022dfcbf1pstresult="no"
14032dfcbf1pstif test $ls = 9;
14042dfcbf1pstthen
14052dfcbf1pst	result="yes"
14062dfcbf1pstelse
14072dfcbf1pst	if test "$ls" = 8 -a "$lsg" = 9;
14082dfcbf1pst	then
14092dfcbf1pst		result="yes, with -g"
14102dfcbf1pst		cat >> confdefs.h <<\EOF
14112dfcbf1pst#define HAVE_LS_G_FLAG 1
14122dfcbf1pstEOF
14132dfcbf1pst
14142dfcbf1pst	fi
14152dfcbf1pstfi
14162dfcbf1pstecho "$ac_t""$result" 1>&6
14172dfcbf1pst
14182dfcbf1pstecho $ac_n "checking for /etc/default/login""... $ac_c" 1>&6
1419620a154acheecho "configure:1420: checking for /etc/default/login" >&5
14202dfcbf1pstif test $EXISTS /etc/default/login
14212dfcbf1pstthen
14222dfcbf1pst	result=yes
14232dfcbf1pst	cat >> confdefs.h <<\EOF
14242dfcbf1pst#define HAVE_ETC_DEFAULT_LOGIN 1
14252dfcbf1pstEOF
14262dfcbf1pst
14272dfcbf1pstelse
14282dfcbf1pst	result=no
14292dfcbf1pstfi
14302dfcbf1pstecho "$ac_t""$result" 1>&6
14312dfcbf1pst
14322dfcbf1pstecho $ac_n "checking for /etc/securetty""... $ac_c" 1>&6
1433620a154acheecho "configure:1434: checking for /etc/securetty" >&5
14342dfcbf1pstif test $EXISTS /etc/securetty
14352dfcbf1pstthen
14362dfcbf1pst	result=yes
14372dfcbf1pst	cat >> confdefs.h <<\EOF
14382dfcbf1pst#define HAVE_SECURETTY 1
14392dfcbf1pstEOF
14402dfcbf1pst
14412dfcbf1pstelse
14422dfcbf1pst	result=no
14432dfcbf1pstfi
14442dfcbf1pstecho "$ac_t""$result" 1>&6
14452dfcbf1pst
14462dfcbf1pstecho $ac_n "checking for /etc/logindevperm""... $ac_c" 1>&6
1447620a154acheecho "configure:1448: checking for /etc/logindevperm" >&5
14482dfcbf1pstif test $EXISTS /etc/logindevperm
14492dfcbf1pstthen
14502dfcbf1pst	echo "$ac_t""yes" 1>&6
14512dfcbf1pst	cat >> confdefs.h <<\EOF
14522dfcbf1pst#define HAVE_LOGIN_PERMFILE "/etc/logindevperm"
14532dfcbf1pstEOF
14542dfcbf1pst
14552dfcbf1pstelse
14562dfcbf1pst	echo "$ac_t""no" 1>&6
14572dfcbf1pst
14582dfcbf1pst	echo $ac_n "checking for /etc/fbtab""... $ac_c" 1>&6
1459620a154acheecho "configure:1460: checking for /etc/fbtab" >&5
14602dfcbf1pst	if test $EXISTS /etc/fbtab
14612dfcbf1pst	then
14622dfcbf1pst		result=yes
14632dfcbf1pst		cat >> confdefs.h <<\EOF
14642dfcbf1pst#define HAVE_LOGIN_PERMFILE "/etc/fbtab"
14652dfcbf1pstEOF
14662dfcbf1pst
14672dfcbf1pst	else
14682dfcbf1pst		result=no
14692dfcbf1pst	fi
14702dfcbf1pst	echo "$ac_t""$result" 1>&6
14712dfcbf1pstfi
14722dfcbf1pst
14732dfcbf1pstecho $ac_n "checking for /etc/environment""... $ac_c" 1>&6
1474620a154acheecho "configure:1475: checking for /etc/environment" >&5
14752dfcbf1pstif test $EXISTS /etc/environment
14762dfcbf1pstthen
14772dfcbf1pst	echo "$ac_t""yes" 1>&6
14782dfcbf1pst	cat >> confdefs.h <<\EOF
14792dfcbf1pst#define HAVE_LOGIN_ENVFILE "/etc/environment"
14802dfcbf1pstEOF
14812dfcbf1pst
14822dfcbf1pstelse
14832dfcbf1pst	echo "$ac_t""no" 1>&6
14842dfcbf1pst
14852dfcbf1pst	echo $ac_n "checking for /etc/src.sh""... $ac_c" 1>&6
1486620a154acheecho "configure:1487: checking for /etc/src.sh" >&5
14872dfcbf1pst	if test $EXISTS /etc/src.sh
14882dfcbf1pst	then
14892dfcbf1pst		result=yes
14902dfcbf1pst		cat >> confdefs.h <<\EOF
14912dfcbf1pst#define HAVE_LOGIN_ENVFILE "/etc/src.sh"
14922dfcbf1pstEOF
14932dfcbf1pst
14942dfcbf1pst	else
14952dfcbf1pst		result=no
14962dfcbf1pst	fi
14972dfcbf1pst	echo "$ac_t""$result" 1>&6
14982dfcbf1pstfi
14992dfcbf1pst
15002dfcbf1pstecho $ac_n "checking for /etc/shadow""... $ac_c" 1>&6
1501620a154acheecho "configure:1502: checking for /etc/shadow" >&5
15022dfcbf1pstif test $EXISTS /etc/shadow
15032dfcbf1pstthen
15042dfcbf1pst	result=yes
15052dfcbf1pst	cat >> confdefs.h <<\EOF
15062dfcbf1pst#define HAVE_ETC_SHADOW 1
15072dfcbf1pstEOF
15082dfcbf1pst
15092dfcbf1pstelse
1510620a154ache	echo "$ac_t""no" 1>&6
1511620a154ache
1512620a154ache	echo $ac_n "checking for /etc/security/passwd.adjunct""... $ac_c" 1>&6
1513620a154acheecho "configure:1514: checking for /etc/security/passwd.adjunct" >&5
1514620a154ache	if test $EXISTS /etc/security/passwd.adjunct
1515620a154ache	then
1516620a154ache		result=yes
1517620a154ache		cat >> confdefs.h <<\EOF
1518620a154ache#define HAVE_SUNOS_C2_SHADOW 1
1519620a154acheEOF
1520620a154ache
1521620a154ache		LIBOBJS="$LIBOBJS getspnam.o endspent.o"
1522620a154ache	else
1523620a154ache		result=no
1524620a154ache	fi
15252dfcbf1pstfi
15262dfcbf1pstecho "$ac_t""$result" 1>&6
15272dfcbf1pst
15282dfcbf1pstecho $ac_n "checking for /var/adm/sulog""... $ac_c" 1>&6
1529620a154acheecho "configure:1530: checking for /var/adm/sulog" >&5
15302dfcbf1pstif test $EXISTS /var/adm/sulog
15312dfcbf1pstthen
15322dfcbf1pst	result=yes
15332dfcbf1pst	cat >> confdefs.h <<\EOF
15342dfcbf1pst#define HAVE_SULOG 1
15352dfcbf1pstEOF
15362dfcbf1pst
15372dfcbf1pstelse
15382dfcbf1pst	result=no
15392dfcbf1pstfi
15402dfcbf1pstecho "$ac_t""$result" 1>&6
15412dfcbf1pst
15422dfcbf1pstecho $ac_n "checking mail spool location""... $ac_c" 1>&6
1543620a154acheecho "configure:1544: checking mail spool location" >&5
15442dfcbf1pstmail_spool=""
15452dfcbf1pstfor i in /var/mail /usr/mail /var/spool/mail /usr/spool/mail
15462dfcbf1pstdo
15472dfcbf1pst	if test -d $i
15482dfcbf1pst	then
15492dfcbf1pst		mail_spool="$i"
15502dfcbf1pst	fi
15512dfcbf1pstdone
15522dfcbf1pstif test -z "$mail_spool"
15532dfcbf1pstthen
15542dfcbf1pst	result="not found"
15552dfcbf1pstelse
15562dfcbf1pst	result="$mail_spool"
15572dfcbf1pst	cat >> confdefs.h <<EOF
15582dfcbf1pst#define PATH_MAIL "$mail_spool"
15592dfcbf1pstEOF
15602dfcbf1pst
15612dfcbf1pstfi
15622dfcbf1pstecho "$ac_t""$result" 1>&6
15632dfcbf1pst
1564620a154acheecho $ac_n "checking where your system puts the utmp file""... $ac_c" 1>&6
1565620a154acheecho "configure:1566: checking where your system puts the utmp file" >&5
1566620a154acheutmp_path=""
1567620a154achefor i in /var/run /var/adm /usr/adm /etc
1568620a154achedo
1569620a154ache	if test $EXISTS $i/utmp
1570620a154ache	then
1571620a154ache		utmp_path="$i"
1572620a154ache	fi
1573620a154achedone
1574620a154acheif test -z "$utmp_path"
1575620a154achethen
1576620a154ache	result="not found"
1577620a154acheelse
1578620a154ache	result="$utmp_path"
1579620a154ache	cat >> confdefs.h <<EOF
1580620a154ache#define PATH_UTMP_AC "$utmp_path/utmp"
1581620a154acheEOF
1582620a154ache
1583620a154achefi
1584620a154acheecho "$ac_t""$result" 1>&6
1585620a154ache
1586620a154acheecho $ac_n "checking where your system puts the utmpx file""... $ac_c" 1>&6
1587620a154acheecho "configure:1588: checking where your system puts the utmpx file" >&5
1588620a154acheutmp_path=""
1589620a154achefor i in /var/run /var/adm /usr/adm /etc
1590620a154achedo
1591620a154ache	if test $EXISTS $i/utmp
1592620a154ache	then
1593620a154ache		utmp_path="$i"
1594620a154ache	fi
1595620a154achedone
1596620a154acheif test -z "$utmp_path"
1597620a154achethen
1598620a154ache	result="not found"
1599620a154ache	cat >> confdefs.h <<EOF
1600620a154ache#define PATH_UTMP_AC "$utmp_path/utmpx"
1601620a154acheEOF
1602620a154ache
1603620a154achefi
1604620a154acheecho "$ac_t""$result" 1>&6
1605620a154ache
1606620a154acheecho $ac_n "checking where your system puts the wtmp file""... $ac_c" 1>&6
1607620a154acheecho "configure:1608: checking where your system puts the wtmp file" >&5
1608620a154achewtmp_path=""
1609620a154achefor i in /var/run /var/log /var/adm /usr/adm /etc
1610620a154achedo
1611620a154ache	if test $EXISTS $i/wtmp
1612620a154ache	then
1613620a154ache		wtmp_path="$i"
1614620a154ache	fi
1615620a154achedone
1616620a154acheif test -z "$wtmp_path"
1617620a154achethen
1618620a154ache	result="not found"
1619620a154acheelse
1620620a154ache	result="$wtmp_path"
1621620a154ache	cat >> confdefs.h <<EOF
1622620a154ache#define PATH_WTMP_AC "$wtmp_path/wtmp"
1623620a154acheEOF
1624620a154ache
1625620a154achefi
1626620a154acheecho "$ac_t""$result" 1>&6
1627620a154ache
1628620a154acheecho $ac_n "checking where your system puts the wtmpx file""... $ac_c" 1>&6
1629620a154acheecho "configure:1630: checking where your system puts the wtmpx file" >&5
1630620a154achewtmpx_path=""
1631620a154achefor i in /var/run /var/log /var/adm /usr/adm /etc
1632620a154achedo
1633620a154ache	if test $EXISTS $i/wtmpx
1634620a154ache	then
1635620a154ache		wtmpx_path="$i"
1636620a154ache	fi
1637620a154achedone
1638620a154acheif test -z "$wtmpx_path"
1639620a154achethen
1640620a154ache	result="not found"
1641620a154acheelse
1642620a154ache	result="$wtmpx_path"
1643620a154ache	cat >> confdefs.h <<EOF
1644620a154ache#define PATH_WTMPX_AC "$wtmpx_path/wtmpx"
1645620a154acheEOF
16462dfcbf1pst
1647620a154achefi
1648620a154acheecho "$ac_t""$result" 1>&6
16492dfcbf1pst
16502dfcbf1pstecho $ac_n "checking whether the system profile displays the motd""... $ac_c" 1>&6
1651620a154acheecho "configure:1652: checking whether the system profile displays the motd" >&5
16522dfcbf1pstresult=no
16532dfcbf1pstif test $EXISTS /etc/profile
16542dfcbf1pstthen
16552dfcbf1pst	if grep motd /etc/profile >/dev/null 2>/dev/null
16562dfcbf1pst	then
16572dfcbf1pst		result=yes
16582dfcbf1pst	fi
16592dfcbf1pstfi
16602dfcbf1pstif test "$result" = yes
16612dfcbf1pstthen
16622dfcbf1pst	cat >> confdefs.h <<\EOF
16632dfcbf1pst#define HAVE_MOTD_IN_PROFILE 1
16642dfcbf1pstEOF
16652dfcbf1pst
16662dfcbf1pstfi
16672dfcbf1pstecho "$ac_t""$result" 1>&6
16682dfcbf1pst
16692dfcbf1pstecho $ac_n "checking whether the system profile checks for mail""... $ac_c" 1>&6
1670620a154acheecho "configure:1671: checking whether the system profile checks for mail" >&5
16712dfcbf1pstresult=no
16722dfcbf1pstif test $EXISTS /etc/profile
16732dfcbf1pstthen
16742dfcbf1pst	if grep 'mail\.' /etc/profile >/dev/null 2>/dev/null
16752dfcbf1pst	then
16762dfcbf1pst		result=yes
16772dfcbf1pst	fi
16782dfcbf1pstfi
16792dfcbf1pstif test "$result" = yes
16802dfcbf1pstthen
16812dfcbf1pst	cat >> confdefs.h <<\EOF
16822dfcbf1pst#define HAVE_MAILCHECK_IN_PROFILE 1
16832dfcbf1pstEOF
16842dfcbf1pst
16852dfcbf1pstfi
16862dfcbf1pstecho "$ac_t""$result" 1>&6
16872dfcbf1pst
16882dfcbf1pstecho $ac_n "checking for working const""... $ac_c" 1>&6
1689620a154acheecho "configure:1690: checking for working const" >&5
16902dfcbf1pstif eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
16912dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
16922dfcbf1pstelse
16932dfcbf1pst  cat > conftest.$ac_ext <<EOF
1694620a154ache#line 1695 "configure"
16952dfcbf1pst#include "confdefs.h"
16962dfcbf1pst
1697620a154acheint main() {
16982dfcbf1pst
16992dfcbf1pst/* Ultrix mips cc rejects this.  */
17002dfcbf1psttypedef int charset[2]; const charset x;
17012dfcbf1pst/* SunOS 4.1.1 cc rejects this.  */
17022dfcbf1pstchar const *const *ccp;
17032dfcbf1pstchar **p;
17042dfcbf1pst/* NEC SVR4.0.2 mips cc rejects this.  */
17052dfcbf1pststruct point {int x, y;};
17062dfcbf1pststatic struct point const zero = {0,0};
17072dfcbf1pst/* AIX XL C 1.02.0.0 rejects this.
17082dfcbf1pst   It does not let you subtract one const X* pointer from another in an arm
17092dfcbf1pst   of an if-expression whose if-part is not a constant expression */
17102dfcbf1pstconst char *g = "string";
17112dfcbf1pstccp = &g + (g ? g-g : 0);
17122dfcbf1pst/* HPUX 7.0 cc rejects these. */
17132dfcbf1pst++ccp;
17142dfcbf1pstp = (char**) ccp;
17152dfcbf1pstccp = (char const *const *) p;
17162dfcbf1pst{ /* SCO 3.2v4 cc rejects this.  */
17172dfcbf1pst  char *t;
17182dfcbf1pst  char const *s = 0 ? (char *) 0 : (char const *) 0;
17192dfcbf1pst
17202dfcbf1pst  *t++ = 0;
17212dfcbf1pst}
17222dfcbf1pst{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
17232dfcbf1pst  int x[] = {25, 17};
17242dfcbf1pst  const int *foo = &x[0];
17252dfcbf1pst  ++foo;
17262dfcbf1pst}
17272dfcbf1pst{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17282dfcbf1pst  typedef const int *iptr;
17292dfcbf1pst  iptr p = 0;
17302dfcbf1pst  ++p;
17312dfcbf1pst}
17322dfcbf1pst{ /* AIX XL C 1.02.0.0 rejects this saying
17332dfcbf1pst     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17342dfcbf1pst  struct s { int j; const int *ap[3]; };
17352dfcbf1pst  struct s *b; b->j = 5;
17362dfcbf1pst}
17372dfcbf1pst{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17382dfcbf1pst  const int foo = 10;
17392dfcbf1pst}
17402dfcbf1pst
17412dfcbf1pst; return 0; }
17422dfcbf1pstEOF
1743620a154acheif { (eval echo configure:1744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17442dfcbf1pst  rm -rf conftest*
17452dfcbf1pst  ac_cv_c_const=yes
17462dfcbf1pstelse
1747620a154ache  echo "configure: failed program was:" >&5
1748620a154ache  cat conftest.$ac_ext >&5
17492dfcbf1pst  rm -rf conftest*
17502dfcbf1pst  ac_cv_c_const=no
17512dfcbf1pstfi
17522dfcbf1pstrm -f conftest*
17532dfcbf1pstfi
17542dfcbf1pst
17552dfcbf1pstecho "$ac_t""$ac_cv_c_const" 1>&6
17562dfcbf1pstif test $ac_cv_c_const = no; then
17572dfcbf1pst  cat >> confdefs.h <<\EOF
17582dfcbf1pst#define const 
17592dfcbf1pstEOF
17602dfcbf1pst
17612dfcbf1pstfi
17622dfcbf1pst
17632dfcbf1pst
17642dfcbf1pstecho $ac_n "checking to see if your compiler can handle void arguments""... $ac_c" 1>&6
1765620a154acheecho "configure:1766: checking to see if your compiler can handle void arguments" >&5
17662dfcbf1pstcat > conftest.$ac_ext <<EOF
1767620a154ache#line 1768 "configure"
17682dfcbf1pst#include "confdefs.h"
17692dfcbf1pstfoo(void) { }
1770620a154acheint main() {
17712dfcbf1pst
17722dfcbf1pst; return 0; }
17732dfcbf1pstEOF
1774620a154acheif { (eval echo configure:1775: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17752dfcbf1pst  rm -rf conftest*
17762dfcbf1pst  cat >> confdefs.h <<\EOF
17772dfcbf1pst#define HAVE_VOIDARG 1
17782dfcbf1pstEOF
17792dfcbf1pst echo "$ac_t""yes" 1>&6
17802dfcbf1pstelse
1781620a154ache  echo "configure: failed program was:" >&5
1782620a154ache  cat conftest.$ac_ext >&5
17832dfcbf1pst  rm -rf conftest*
17842dfcbf1pst  echo "$ac_t""no" 1>&6
17852dfcbf1pstfi
17862dfcbf1pstrm -f conftest*
17872dfcbf1pst
17882dfcbf1pstecho $ac_n "checking to see if your compiler can handle void return values""... $ac_c" 1>&6
1789620a154acheecho "configure:1790: checking to see if your compiler can handle void return values" >&5
17902dfcbf1pstcat > conftest.$ac_ext <<EOF
1791620a154ache#line 1792 "configure"
17922dfcbf1pst#include "confdefs.h"
17932dfcbf1pstvoid foo() { }
1794620a154acheint main() {
17952dfcbf1pst
17962dfcbf1pst; return 0; }
17972dfcbf1pstEOF
1798620a154acheif { (eval echo configure:1799: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17992dfcbf1pst  rm -rf conftest*
18002dfcbf1pst  cat >> confdefs.h <<\EOF
18012dfcbf1pst#define HAVE_VOIDRET 1
18022dfcbf1pstEOF
18032dfcbf1pst echo "$ac_t""yes" 1>&6
18042dfcbf1pstelse
1805620a154ache  echo "configure: failed program was:" >&5
1806620a154ache  cat conftest.$ac_ext >&5
18072dfcbf1pst  rm -rf conftest*
18082dfcbf1pst  echo "$ac_t""no" 1>&6
18092dfcbf1pstfi
18102dfcbf1pstrm -f conftest*
18112dfcbf1pst
18122dfcbf1pstecho $ac_n "checking to see if your compiler can handle void pointers""... $ac_c" 1>&6
1813620a154acheecho "configure:1814: checking to see if your compiler can handle void pointers" >&5
18142dfcbf1pstcat > conftest.$ac_ext <<EOF
1815620a154ache#line 1816 "configure"
18162dfcbf1pst#include "confdefs.h"
18172dfcbf1pstfoo() { void *bar = (void *)0x42; bar = bar + 1; }
1818620a154acheint main() {
18192dfcbf1pst
18202dfcbf1pst; return 0; }
18212dfcbf1pstEOF
1822620a154acheif { (eval echo configure:1823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18232dfcbf1pst  rm -rf conftest*
18242dfcbf1pst  cat >> confdefs.h <<\EOF
18252dfcbf1pst#define HAVE_VOIDPTR 1
18262dfcbf1pstEOF
18272dfcbf1pst echo "$ac_t""yes" 1>&6
18282dfcbf1pstelse
1829620a154ache  echo "configure: failed program was:" >&5
1830620a154ache  cat conftest.$ac_ext >&5
18312dfcbf1pst  rm -rf conftest*
18322dfcbf1pst  echo "$ac_t""no" 1>&6
18332dfcbf1pstfi
18342dfcbf1pstrm -f conftest*
18352dfcbf1pst
18362dfcbf1pstecho $ac_n "checking to see if your compiler can handle ANSI argument lists""... $ac_c" 1>&6
1837620a154acheecho "configure:1838: checking to see if your compiler can handle ANSI argument lists" >&5
18382dfcbf1pstcat > conftest.$ac_ext <<EOF
1839620a154ache#line 1840 "configure"
18402dfcbf1pst#include "confdefs.h"
18412dfcbf1pstint foo(int bar, int baz) { return 0; }
1842620a154acheint main() {
18432dfcbf1pst
18442dfcbf1pst; return 0; }
18452dfcbf1pstEOF
1846620a154acheif { (eval echo configure:1847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18472dfcbf1pst  rm -rf conftest*
18482dfcbf1pst  cat >> confdefs.h <<\EOF
18492dfcbf1pst#define HAVE_ANSIDECL 1
18502dfcbf1pstEOF
18512dfcbf1pst echo "$ac_t""yes" 1>&6
18522dfcbf1pstelse
1853620a154ache  echo "configure: failed program was:" >&5
1854620a154ache  cat conftest.$ac_ext >&5
18552dfcbf1pst  rm -rf conftest*
18562dfcbf1pst  echo "$ac_t""no" 1>&6
18572dfcbf1pstfi
18582dfcbf1pstrm -f conftest*
18592dfcbf1pst
18602dfcbf1pstecho $ac_n "checking to see if your compiler can handle ANSI prototypes""... $ac_c" 1>&6
1861620a154acheecho "configure:1862: checking to see if your compiler can handle ANSI prototypes" >&5
18622dfcbf1pstcat > conftest.$ac_ext <<EOF
1863620a154ache#line 1864 "configure"
18642dfcbf1pst#include "confdefs.h"
18652dfcbf1pstextern int foo(int, int);
1866620a154acheint main() {
18672dfcbf1pst
18682dfcbf1pst; return 0; }
18692dfcbf1pstEOF
1870620a154acheif { (eval echo configure:1871: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18712dfcbf1pst  rm -rf conftest*
18722dfcbf1pst  cat >> confdefs.h <<\EOF
18732dfcbf1pst#define HAVE_ANSIPROTO 1
18742dfcbf1pstEOF
18752dfcbf1pst echo "$ac_t""yes" 1>&6
18762dfcbf1pstelse
1877620a154ache  echo "configure: failed program was:" >&5
1878620a154ache  cat conftest.$ac_ext >&5
18792dfcbf1pst  rm -rf conftest*
18802dfcbf1pst  echo "$ac_t""no" 1>&6
18812dfcbf1pstfi
18822dfcbf1pstrm -f conftest*
18832dfcbf1pst
18842dfcbf1pstecho $ac_n "checking to see if your compiler can handle ANSI variable arguments""... $ac_c" 1>&6
1885620a154acheecho "configure:1886: checking to see if your compiler can handle ANSI variable arguments" >&5
18862dfcbf1pstcat > conftest.$ac_ext <<EOF
1887620a154ache#line 1888 "configure"
18882dfcbf1pst#include "confdefs.h"
18892dfcbf1pst#include <stdarg.h>
18902dfcbf1pstint foo(int arg, ...) {
18912dfcbf1pst	va_list ap;
18922dfcbf1pst	va_start(ap, arg);
18932dfcbf1pst	va_end(ap);
18942dfcbf1pst	return 0;
18952dfcbf1pst}
1896620a154acheint main() {
18972dfcbf1pst
18982dfcbf1pst; return 0; }
18992dfcbf1pstEOF
1900620a154acheif { (eval echo configure:1901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19012dfcbf1pst  rm -rf conftest*
19022dfcbf1pst  cat >> confdefs.h <<\EOF
19032dfcbf1pst#define HAVE_ANSISTDARG 1
19042dfcbf1pstEOF
19052dfcbf1pst echo "$ac_t""yes" 1>&6
19062dfcbf1pstelse
1907620a154ache  echo "configure: failed program was:" >&5
1908620a154ache  cat conftest.$ac_ext >&5
19092dfcbf1pst  rm -rf conftest*
19102dfcbf1pst  echo "$ac_t""no" 1>&6
19112dfcbf1pstfi
19122dfcbf1pstrm -f conftest*
19132dfcbf1pst
19142dfcbf1pstecho $ac_n "checking to see if you have an ANSI-style sprintf""... $ac_c" 1>&6
1915620a154acheecho "configure:1916: checking to see if you have an ANSI-style sprintf" >&5
19162dfcbf1pstif test "$cross_compiling" = yes; then
19172dfcbf1pst  echo "$ac_t""no" 1>&6
19182dfcbf1pstelse
1919620a154ache  cat > conftest.$ac_ext <<EOF
1920620a154ache#line 1921 "configure"
19212dfcbf1pst#include "confdefs.h"
19222dfcbf1pst#include <stdio.h>
19232dfcbf1pstint main(argc, argv)
19242dfcbf1pstint argc;
19252dfcbf1pstchar *argv[];
19262dfcbf1pst{
19272dfcbf1pst  char buf[5];
19282dfcbf1pst  int i = 2;
19292dfcbf1pst  i += sprintf(buf, "1234");
19302dfcbf1pst  return (i == 6) ? 0 : -1;
19312dfcbf1pst}
19322dfcbf1pstEOF
1933620a154acheif { (eval echo configure:1934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
1934620a154achethen
19352dfcbf1pst  cat >> confdefs.h <<\EOF
19362dfcbf1pst#define HAVE_ANSISPRINTF 1
19372dfcbf1pstEOF
19382dfcbf1pst echo "$ac_t""yes" 1>&6
19392dfcbf1pstelse
1940620a154ache  echo "configure: failed program was:" >&5
1941620a154ache  cat conftest.$ac_ext >&5
1942620a154ache  rm -fr conftest*
19432dfcbf1pst  echo "$ac_t""no" 1>&6
19442dfcbf1pstfi
19452dfcbf1pstrm -fr conftest*
1946620a154achefi
19472dfcbf1pst
1948620a154ache
1949620a154acheecho $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
1950620a154acheecho "configure:1951: checking for crypt in -lcrypt" >&5
1951620a154acheac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
19522dfcbf1pstif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19532dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
19542dfcbf1pstelse
19552dfcbf1pst  ac_save_LIBS="$LIBS"
19562dfcbf1pstLIBS="-lcrypt  $LIBS"
19572dfcbf1pstcat > conftest.$ac_ext <<EOF
1958620a154ache#line 1959 "configure"
19592dfcbf1pst#include "confdefs.h"
19602dfcbf1pst/* Override any gcc2 internal prototype to avoid an error.  */
19612dfcbf1pst/* We use char because int might match the return type of a gcc2
19622dfcbf1pst    builtin and then its argument prototype would still apply.  */
19632dfcbf1pstchar crypt();
19642dfcbf1pst
1965620a154acheint main() {
19662dfcbf1pstcrypt()
19672dfcbf1pst; return 0; }
19682dfcbf1pstEOF
1969620a154acheif { (eval echo configure:1970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
19702dfcbf1pst  rm -rf conftest*
19712dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=yes"
19722dfcbf1pstelse
1973620a154ache  echo "configure: failed program was:" >&5
1974620a154ache  cat conftest.$ac_ext >&5
19752dfcbf1pst  rm -rf conftest*
19762dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=no"
19772dfcbf1pstfi
19782dfcbf1pstrm -f conftest*
19792dfcbf1pstLIBS="$ac_save_LIBS"
19802dfcbf1pst
19812dfcbf1pstfi
19822dfcbf1pstif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19832dfcbf1pst  echo "$ac_t""yes" 1>&6
1984620a154ache    ac_tr_lib=HAVE_LIB`echo crypt | sed -e 's/[^a-zA-Z0-9_]/_/g' \
1985620a154ache    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
19862dfcbf1pst  cat >> confdefs.h <<EOF
19872dfcbf1pst#define $ac_tr_lib 1
19882dfcbf1pstEOF
19892dfcbf1pst
19902dfcbf1pst  LIBS="-lcrypt $LIBS"
19912dfcbf1pst
19922dfcbf1pstelse
19932dfcbf1pst  echo "$ac_t""no" 1>&6
19942dfcbf1pstfi
19952dfcbf1pst
1996620a154acheecho $ac_n "checking for gethostname in -lnsl""... $ac_c" 1>&6
1997620a154acheecho "configure:1998: checking for gethostname in -lnsl" >&5
1998620a154acheac_lib_var=`echo nsl'_'gethostname | sed 'y%./+-%__p_%'`
19992dfcbf1pstif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20002dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
20012dfcbf1pstelse
20022dfcbf1pst  ac_save_LIBS="$LIBS"
20032dfcbf1pstLIBS="-lnsl  $LIBS"
20042dfcbf1pstcat > conftest.$ac_ext <<EOF
2005620a154ache#line 2006 "configure"
20062dfcbf1pst#include "confdefs.h"
20072dfcbf1pst/* Override any gcc2 internal prototype to avoid an error.  */
20082dfcbf1pst/* We use char because int might match the return type of a gcc2
20092dfcbf1pst    builtin and then its argument prototype would still apply.  */
20102dfcbf1pstchar gethostname();
20112dfcbf1pst
2012620a154acheint main() {
20132dfcbf1pstgethostname()
20142dfcbf1pst; return 0; }
20152dfcbf1pstEOF
2016620a154acheif { (eval echo configure:2017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
20172dfcbf1pst  rm -rf conftest*
20182dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=yes"
20192dfcbf1pstelse
2020620a154ache  echo "configure: failed program was:" >&5
2021620a154ache  cat conftest.$ac_ext >&5
20222dfcbf1pst  rm -rf conftest*
20232dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=no"
20242dfcbf1pstfi
20252dfcbf1pstrm -f conftest*
20262dfcbf1pstLIBS="$ac_save_LIBS"
20272dfcbf1pst
20282dfcbf1pstfi
20292dfcbf1pstif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20302dfcbf1pst  echo "$ac_t""yes" 1>&6
2031620a154ache    ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2032620a154ache    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20332dfcbf1pst  cat >> confdefs.h <<EOF
20342dfcbf1pst#define $ac_tr_lib 1
20352dfcbf1pstEOF
20362dfcbf1pst
20372dfcbf1pst  LIBS="-lnsl $LIBS"
20382dfcbf1pst
20392dfcbf1pstelse
20402dfcbf1pst  echo "$ac_t""no" 1>&6
20412dfcbf1pstfi
20422dfcbf1pst
2043620a154acheecho $ac_n "checking for main in -lposix""... $ac_c" 1>&6
2044620a154acheecho "configure:2045: checking for main in -lposix" >&5
2045620a154acheac_lib_var=`echo posix'_'main | sed 'y%./+-%__p_%'`
20462dfcbf1pstif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20472dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
20482dfcbf1pstelse
20492dfcbf1pst  ac_save_LIBS="$LIBS"
20502dfcbf1pstLIBS="-lposix  $LIBS"
20512dfcbf1pstcat > conftest.$ac_ext <<EOF
2052620a154ache#line 2053 "configure"
20532dfcbf1pst#include "confdefs.h"
20542dfcbf1pst
2055620a154acheint main() {
20562dfcbf1pstmain()
20572dfcbf1pst; return 0; }
20582dfcbf1pstEOF
2059620a154acheif { (eval echo configure:2060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
20602dfcbf1pst  rm -rf conftest*
20612dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=yes"
20622dfcbf1pstelse
2063620a154ache  echo "configure: failed program was:" >&5
2064620a154ache  cat conftest.$ac_ext >&5
20652dfcbf1pst  rm -rf conftest*
20662dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=no"
20672dfcbf1pstfi
20682dfcbf1pstrm -f conftest*
20692dfcbf1pstLIBS="$ac_save_LIBS"
20702dfcbf1pst
20712dfcbf1pstfi
20722dfcbf1pstif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
20732dfcbf1pst  echo "$ac_t""yes" 1>&6
2074620a154ache    ac_tr_lib=HAVE_LIB`echo posix | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2075620a154ache    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
20762dfcbf1pst  cat >> confdefs.h <<EOF
20772dfcbf1pst#define $ac_tr_lib 1
20782dfcbf1pstEOF
20792dfcbf1pst
20802dfcbf1pst  LIBS="-lposix $LIBS"
20812dfcbf1pst
20822dfcbf1pstelse
20832dfcbf1pst  echo "$ac_t""no" 1>&6
20842dfcbf1pstfi
20852dfcbf1pst
2086620a154acheecho $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
2087620a154acheecho "configure:2088: checking for socket in -lsocket" >&5
2088620a154acheac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
20892dfcbf1pstif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
20902dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
20912dfcbf1pstelse
20922dfcbf1pst  ac_save_LIBS="$LIBS"
20932dfcbf1pstLIBS="-lsocket  $LIBS"
20942dfcbf1pstcat > conftest.$ac_ext <<EOF
2095620a154ache#line 2096 "configure"
20962dfcbf1pst#include "confdefs.h"
20972dfcbf1pst/* Override any gcc2 internal prototype to avoid an error.  */
20982dfcbf1pst/* We use char because int might match the return type of a gcc2
20992dfcbf1pst    builtin and then its argument prototype would still apply.  */
21002dfcbf1pstchar socket();
21012dfcbf1pst
2102620a154acheint main() {
21032dfcbf1pstsocket()
21042dfcbf1pst; return 0; }
21052dfcbf1pstEOF
2106620a154acheif { (eval echo configure:2107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
21072dfcbf1pst  rm -rf conftest*
21082dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=yes"
21092dfcbf1pstelse
2110620a154ache  echo "configure: failed program was:" >&5
2111620a154ache  cat conftest.$ac_ext >&5
21122dfcbf1pst  rm -rf conftest*
21132dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=no"
21142dfcbf1pstfi
21152dfcbf1pstrm -f conftest*
21162dfcbf1pstLIBS="$ac_save_LIBS"
21172dfcbf1pst
21182dfcbf1pstfi
21192dfcbf1pstif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
21202dfcbf1pst  echo "$ac_t""yes" 1>&6
2121620a154ache    ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2122620a154ache    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
21232dfcbf1pst  cat >> confdefs.h <<EOF
21242dfcbf1pst#define $ac_tr_lib 1
21252dfcbf1pstEOF
21262dfcbf1pst
21272dfcbf1pst  LIBS="-lsocket $LIBS"
21282dfcbf1pst
21292dfcbf1pstelse
21302dfcbf1pst  echo "$ac_t""no" 1>&6
21312dfcbf1pstfi
21322dfcbf1pst
21332dfcbf1pst
21342dfcbf1pstac_header_dirent=no
21352dfcbf1pstfor ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
21362dfcbf1pstdo
2137620a154acheac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
21382dfcbf1pstecho $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2139620a154acheecho "configure:2140: checking for $ac_hdr that defines DIR" >&5
21402dfcbf1pstif eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
21412dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
21422dfcbf1pstelse
21432dfcbf1pst  cat > conftest.$ac_ext <<EOF
2144620a154ache#line 2145 "configure"
21452dfcbf1pst#include "confdefs.h"
21462dfcbf1pst#include <sys/types.h>
21472dfcbf1pst#include <$ac_hdr>
2148620a154acheint main() {
21492dfcbf1pstDIR *dirp = 0;
21502dfcbf1pst; return 0; }
21512dfcbf1pstEOF
2152620a154acheif { (eval echo configure:2153: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
21532dfcbf1pst  rm -rf conftest*
21542dfcbf1pst  eval "ac_cv_header_dirent_$ac_safe=yes"
21552dfcbf1pstelse
2156620a154ache  echo "configure: failed program was:" >&5
2157620a154ache  cat conftest.$ac_ext >&5
21582dfcbf1pst  rm -rf conftest*
21592dfcbf1pst  eval "ac_cv_header_dirent_$ac_safe=no"
21602dfcbf1pstfi
21612dfcbf1pstrm -f conftest*
21622dfcbf1pstfi
21632dfcbf1pstif eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
21642dfcbf1pst  echo "$ac_t""yes" 1>&6
2165620a154ache    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
21662dfcbf1pst  cat >> confdefs.h <<EOF
21672dfcbf1pst#define $ac_tr_hdr 1
21682dfcbf1pstEOF
21692dfcbf1pst ac_header_dirent=$ac_hdr; break
21702dfcbf1pstelse
21712dfcbf1pst  echo "$ac_t""no" 1>&6
21722dfcbf1pstfi
21732dfcbf1pstdone
21742dfcbf1pst# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
21752dfcbf1pstif test $ac_header_dirent = dirent.h; then
2176620a154acheecho $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2177620a154acheecho "configure:2178: checking for opendir in -ldir" >&5
2178620a154acheac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
21792dfcbf1pstif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
21802dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
21812dfcbf1pstelse
21822dfcbf1pst  ac_save_LIBS="$LIBS"
21832dfcbf1pstLIBS="-ldir  $LIBS"
21842dfcbf1pstcat > conftest.$ac_ext <<EOF
2185620a154ache#line 2186 "configure"
21862dfcbf1pst#include "confdefs.h"
21872dfcbf1pst/* Override any gcc2 internal prototype to avoid an error.  */
21882dfcbf1pst/* We use char because int might match the return type of a gcc2
21892dfcbf1pst    builtin and then its argument prototype would still apply.  */
21902dfcbf1pstchar opendir();
21912dfcbf1pst
2192620a154acheint main() {
21932dfcbf1pstopendir()
21942dfcbf1pst; return 0; }
21952dfcbf1pstEOF
2196620a154acheif { (eval echo configure:2197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
21972dfcbf1pst  rm -rf conftest*
21982dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=yes"
21992dfcbf1pstelse
2200620a154ache  echo "configure: failed program was:" >&5
2201620a154ache  cat conftest.$ac_ext >&5
22022dfcbf1pst  rm -rf conftest*
22032dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=no"
22042dfcbf1pstfi
22052dfcbf1pstrm -f conftest*
22062dfcbf1pstLIBS="$ac_save_LIBS"
22072dfcbf1pst
22082dfcbf1pstfi
22092dfcbf1pstif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22102dfcbf1pst  echo "$ac_t""yes" 1>&6
22112dfcbf1pst  LIBS="$LIBS -ldir"
22122dfcbf1pstelse
22132dfcbf1pst  echo "$ac_t""no" 1>&6
22142dfcbf1pstfi
22152dfcbf1pst
22162dfcbf1pstelse
2217620a154acheecho $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2218620a154acheecho "configure:2219: checking for opendir in -lx" >&5
2219620a154acheac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
22202dfcbf1pstif eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
22212dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
22222dfcbf1pstelse
22232dfcbf1pst  ac_save_LIBS="$LIBS"
22242dfcbf1pstLIBS="-lx  $LIBS"
22252dfcbf1pstcat > conftest.$ac_ext <<EOF
2226620a154ache#line 2227 "configure"
22272dfcbf1pst#include "confdefs.h"
22282dfcbf1pst/* Override any gcc2 internal prototype to avoid an error.  */
22292dfcbf1pst/* We use char because int might match the return type of a gcc2
22302dfcbf1pst    builtin and then its argument prototype would still apply.  */
22312dfcbf1pstchar opendir();
22322dfcbf1pst
2233620a154acheint main() {
22342dfcbf1pstopendir()
22352dfcbf1pst; return 0; }
22362dfcbf1pstEOF
2237620a154acheif { (eval echo configure:2238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
22382dfcbf1pst  rm -rf conftest*
22392dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=yes"
22402dfcbf1pstelse
2241620a154ache  echo "configure: failed program was:" >&5
2242620a154ache  cat conftest.$ac_ext >&5
22432dfcbf1pst  rm -rf conftest*
22442dfcbf1pst  eval "ac_cv_lib_$ac_lib_var=no"
22452dfcbf1pstfi
22462dfcbf1pstrm -f conftest*
22472dfcbf1pstLIBS="$ac_save_LIBS"
22482dfcbf1pst
22492dfcbf1pstfi
22502dfcbf1pstif eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
22512dfcbf1pst  echo "$ac_t""yes" 1>&6
22522dfcbf1pst  LIBS="$LIBS -lx"
22532dfcbf1pstelse
22542dfcbf1pst  echo "$ac_t""no" 1>&6
22552dfcbf1pstfi
22562dfcbf1pst
22572dfcbf1pstfi
22582dfcbf1pst
22592dfcbf1pstecho $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2260620a154acheecho "configure:2261: checking for sys/wait.h that is POSIX.1 compatible" >&5
22612dfcbf1pstif eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
22622dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
22632dfcbf1pstelse
22642dfcbf1pst  cat > conftest.$ac_ext <<EOF
2265620a154ache#line 2266 "configure"
22662dfcbf1pst#include "confdefs.h"
22672dfcbf1pst#include <sys/types.h>
22682dfcbf1pst#include <sys/wait.h>
22692dfcbf1pst#ifndef WEXITSTATUS
22702dfcbf1pst#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
22712dfcbf1pst#endif
22722dfcbf1pst#ifndef WIFEXITED
22732dfcbf1pst#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
22742dfcbf1pst#endif
2275620a154acheint main() {
22762dfcbf1pstint s;
22772dfcbf1pstwait (&s);
22782dfcbf1psts = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
22792dfcbf1pst; return 0; }
22802dfcbf1pstEOF
2281620a154acheif { (eval echo configure:2282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
22822dfcbf1pst  rm -rf conftest*
22832dfcbf1pst  ac_cv_header_sys_wait_h=yes
22842dfcbf1pstelse
2285620a154ache  echo "configure: failed program was:" >&5
2286620a154ache  cat conftest.$ac_ext >&5
22872dfcbf1pst  rm -rf conftest*
22882dfcbf1pst  ac_cv_header_sys_wait_h=no
22892dfcbf1pstfi
22902dfcbf1pstrm -f conftest*
22912dfcbf1pstfi
22922dfcbf1pst
22932dfcbf1pstecho "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
22942dfcbf1pstif test $ac_cv_header_sys_wait_h = yes; then
22952dfcbf1pst  cat >> confdefs.h <<\EOF
22962dfcbf1pst#define HAVE_SYS_WAIT_H 1
22972dfcbf1pstEOF
22982dfcbf1pst
22992dfcbf1pstfi
23002dfcbf1pst
2301620a154achefor ac_hdr in crypt.h fcntl.h limits.h termios.h sys/file.h sys/ioctl.h sys/time.h syslog.h unistd.h paths.h shadow.h signal.h sys/signal.h lastlog.h sys/utsname.h pwd.h sys/param.h string.h stdlib.h utmpx.h sys/select.h
23022dfcbf1pstdo
2303620a154acheac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
23042dfcbf1pstecho $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2305620a154acheecho "configure:2306: checking for $ac_hdr" >&5
23062dfcbf1pstif eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
23072dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
23082dfcbf1pstelse
23092dfcbf1pst  cat > conftest.$ac_ext <<EOF
2310620a154ache#line 2311 "configure"
23112dfcbf1pst#include "confdefs.h"
23122dfcbf1pst#include <$ac_hdr>
23132dfcbf1pstEOF
23142dfcbf1pstac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2315620a154ache{ (eval echo configure:2316: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
23162dfcbf1pstac_err=`grep -v '^ *+' conftest.out`
23172dfcbf1pstif test -z "$ac_err"; then
23182dfcbf1pst  rm -rf conftest*
23192dfcbf1pst  eval "ac_cv_header_$ac_safe=yes"
23202dfcbf1pstelse
23212dfcbf1pst  echo "$ac_err" >&5
2322620a154ache  echo "configure: failed program was:" >&5
2323620a154ache  cat conftest.$ac_ext >&5
23242dfcbf1pst  rm -rf conftest*
23252dfcbf1pst  eval "ac_cv_header_$ac_safe=no"
23262dfcbf1pstfi
23272dfcbf1pstrm -f conftest*
23282dfcbf1pstfi
23292dfcbf1pstif eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
23302dfcbf1pst  echo "$ac_t""yes" 1>&6
2331620a154ache    ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
23322dfcbf1pst  cat >> confdefs.h <<EOF
23332dfcbf1pst#define $ac_tr_hdr 1
23342dfcbf1pstEOF
23352dfcbf1pst 
23362dfcbf1pstelse
23372dfcbf1pst  echo "$ac_t""no" 1>&6
23382dfcbf1pstfi
23392dfcbf1pstdone
23402dfcbf1pst
23412dfcbf1pst
23422dfcbf1pst
23432dfcbf1pstecho $ac_n "checking for ut_pid in struct utmp""... $ac_c" 1>&6
2344620a154acheecho "configure:2345: checking for ut_pid in struct utmp" >&5
23452dfcbf1pstcat > conftest.$ac_ext <<EOF
2346620a154ache#line 2347 "configure"
23472dfcbf1pst#include "confdefs.h"
23482dfcbf1pst#include <sys/types.h>
23492dfcbf1pst#include <utmp.h>
2350620a154acheint main() {
23512dfcbf1pststruct utmp foo; return (int)foo.ut_pid;
23522dfcbf1pst; return 0; }
23532dfcbf1pstEOF
2354620a154acheif { (eval echo configure:2355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23552dfcbf1pst  rm -rf conftest*
23562dfcbf1pst  cat >> confdefs.h <<\EOF
23572dfcbf1pst#define HAVE_UT_PID 1
23582dfcbf1pstEOF
23592dfcbf1pst echo "$ac_t""yes" 1>&6
23602dfcbf1pstelse
2361620a154ache  echo "configure: failed program was:" >&5
2362620a154ache  cat conftest.$ac_ext >&5
23632dfcbf1pst  rm -rf conftest*
23642dfcbf1pst  echo "$ac_t""no" 1>&6
23652dfcbf1pstfi
23662dfcbf1pstrm -f conftest*
23672dfcbf1pstecho $ac_n "checking for ut_type in struct utmp""... $ac_c" 1>&6
2368620a154acheecho "configure:2369: checking for ut_type in struct utmp" >&5
23692dfcbf1pstcat > conftest.$ac_ext <<EOF
2370620a154ache#line 2371 "configure"
23712dfcbf1pst#include "confdefs.h"
23722dfcbf1pst#include <sys/types.h>
23732dfcbf1pst#include <utmp.h>
2374620a154acheint main() {
23752dfcbf1pststruct utmp foo; return (int)foo.ut_type;
23762dfcbf1pst; return 0; }
23772dfcbf1pstEOF
2378620a154acheif { (eval echo configure:2379: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
23792dfcbf1pst  rm -rf conftest*
23802dfcbf1pst  cat >> confdefs.h <<\EOF
23812dfcbf1pst#define HAVE_UT_TYPE 1
23822dfcbf1pstEOF
23832dfcbf1pst echo "$ac_t""yes" 1>&6
23842dfcbf1pstelse
2385620a154ache  echo "configure: failed program was:" >&5
2386620a154ache  cat conftest.$ac_ext >&5
23872dfcbf1pst  rm -rf conftest*
23882dfcbf1pst  echo "$ac_t""no" 1>&6
23892dfcbf1pstfi
23902dfcbf1pstrm -f conftest*
23912dfcbf1pstecho $ac_n "checking for ut_name in struct utmp""... $ac_c" 1>&6
2392620a154acheecho "configure:2393: checking for ut_name in struct utmp" >&5
23932dfcbf1pstcat > conftest.$ac_ext <<EOF
2394620a154ache#line 2395 "configure"
23952dfcbf1pst#include "confdefs.h"
23962dfcbf1pst#include <sys/types.h>
23972dfcbf1pst#include <utmp.h>
2398620a154acheint main() {
23992dfcbf1pststruct utmp foo; return (int)foo.ut_name[0];
24002dfcbf1pst; return 0; }
24012dfcbf1pstEOF
2402620a154acheif { (eval echo configure:2403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
24032dfcbf1pst  rm -rf conftest*
24042dfcbf1pst  cat >> confdefs.h <<\EOF
24052dfcbf1pst#define HAVE_UT_NAME 1
24062dfcbf1pstEOF
24072dfcbf1pst echo "$ac_t""yes" 1>&6
24082dfcbf1pstelse
2409620a154ache  echo "configure: failed program was:" >&5
2410620a154ache  cat conftest.$ac_ext >&5
24112dfcbf1pst  rm -rf conftest*
24122dfcbf1pst  echo "$ac_t""no" 1>&6
24132dfcbf1pstfi
24142dfcbf1pstrm -f conftest*
24152dfcbf1pstcat >> confdefs.h <<\EOF
24162dfcbf1pst#define HAVE_UT_HOST 1
24172dfcbf1pstEOF
24182dfcbf1pst
24192dfcbf1pst
24202dfcbf1pstecho $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2421620a154acheecho "configure:2422: checking return type of signal handlers" >&5
24222dfcbf1pstif eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
24232dfcbf1pst  echo $ac_n "(cached) $ac_c" 1>&6
24242dfcbf1pstelse
24252dfcbf1pst  cat > conftest.$ac_ext <<EOF
2426620a154ache#line 2427 "configure"
24272dfcbf1pst#include "confdefs.h"
24282dfcbf1pst#include <sys/types.h>
24292dfcbf1pst#include <signal.h>
24302dfcbf1pst#ifdef signal
24312dfcbf1pst#undef signal
24322dfcbf1pst#endif
24332dfcbf1pst#ifdef __cplusplus
24342dfcbf1pstextern "C" void (*signal (int, void (*)(int)))(int);
24352dfcbf1pst#else
24362dfcbf1pstvoid (*signal ()) ();
24372dfcbf1pst#endif
24382dfcbf1pst
2439620a154acheint main() {
24402dfcbf1pstint i;
24412dfcbf1pst; return 0; }
24422dfcbf1pstEOF
2443620a154acheif { (eval echo configure:2444: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
24442dfcbf1pst  rm -rf conftest*
24452dfcbf1pst  ac_cv_type_signal=void
24462dfcbf1pstelse
2447620a154ache  echo "configure: failed program was:" >&5
2448620a154ache  cat conftest.$ac_ext >&5
2449