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