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.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --enable-access-file=FILENAME
16 Enable the OPIE access file FILENAME"
18 --enable-server-md4 Use MD4 instead of MD5 for the server"
20 --disable-user-locking Disable user locking
21 --enable-user-locking[=DIR]
22 Put user lock files in DIR [/etc/opielocks]"
24 --enable-retype Ask users to re-type their secret pass phrases"
26 --enable-su-star-check Refuse to switch to disabled accounts"
28 --disable-new-prompts Use more compatible (but less informative) prompts"
30 --enable-insecure-override
31 Allow users to override insecure checks"
33 --enable-anonymous-ftp Enable anonymous FTP support"
35 --disable-utmp Disable utmp logging"
37 --disable-wtmp Disable wtmp logging"
39 # Initialize some variables set by options.
40 # The variables have the same names as the options, with
41 # dashes changed to underlines.
43 cache_file=./config.cache
52 program_transform_name=s,x,x,
60 bindir='${exec_prefix}/bin'
61 sbindir='${exec_prefix}/sbin'
62 libexecdir='${exec_prefix}/libexec'
63 datadir='${prefix}/share'
64 sysconfdir='${prefix}/etc'
65 sharedstatedir='${prefix}/com'
66 localstatedir='${prefix}/var'
67 libdir='${exec_prefix}/lib'
68 includedir='${prefix}/include'
69 oldincludedir='/usr/include'
70 infodir='${prefix}/info'
71 mandir='${prefix}/man'
73 # Initialize some other variables.
76 # Maximum number of lines to put in a shell here document.
83 # If the previous option needs an argument, assign it.
84 if test -n "$ac_prev"; then
85 eval "$ac_prev=\$ac_option"
91 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
95 # Accept the important Cygnus configure options, so we can diagnose typos.
99 -bindir | --bindir | --bindi | --bind | --bin | --bi)
101 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
102 bindir="$ac_optarg" ;;
104 -build | --build | --buil | --bui | --bu)
106 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
107 build="$ac_optarg" ;;
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" ;;
116 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
118 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
120 datadir="$ac_optarg" ;;
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; }
128 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
129 eval "enable_${ac_feature}=no" ;;
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; }
137 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
142 eval "enable_${ac_feature}='$ac_optarg'" ;;
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" ;;
153 -gas | --gas | --ga | --g)
154 # Obsolete; use --with-gas.
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.
161 Usage: configure [options] [host]
162 Options: [defaults in brackets after descriptions]
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
169 Directory and file names:
170 --prefix=PREFIX install architecture-independent files in PREFIX
172 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
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
179 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
180 --sharedstatedir=DIR modifiable architecture-independent data in DIR
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
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]
199 Features 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
207 if test -n "$ac_help"; then
208 echo "--enable and --with options recognized:$ac_help"
212 -host | --host | --hos | --ho)
214 -host=* | --host=* | --hos=* | --ho=*)
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" ;;
224 -infodir | --infodir | --infodi | --infod | --info | --inf)
226 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
227 infodir="$ac_optarg" ;;
229 -libdir | --libdir | --libdi | --libd)
231 -libdir=* | --libdir=* | --libdi=* | --libd=*)
232 libdir="$ac_optarg" ;;
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" ;;
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" ;;
250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
253 mandir="$ac_optarg" ;;
256 # Obsolete; use --without-fp.
259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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" ;;
276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
279 prefix="$ac_optarg" ;;
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" ;;
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" ;;
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" ;;
312 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
313 | -silent | --silent | --silen | --sile | --sil)
316 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
318 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
320 sbindir="$ac_optarg" ;;
322 -sharedstatedir | --sharedstatedir | --sharedstatedi \
323 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
324 | --sharedst | --shareds | --shared | --share | --shar \
326 ac_prev=sharedstatedir ;;
327 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
328 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
329 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
331 sharedstatedir="$ac_optarg" ;;
333 -site | --site | --sit)
335 -site=* | --site=* | --sit=*)
338 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
340 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
341 srcdir="$ac_optarg" ;;
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" ;;
350 -target | --target | --targe | --targ | --tar | --ta | --t)
352 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
353 target="$ac_optarg" ;;
355 -v | -verbose | --verbose | --verbos | --verbo | --verb)
358 -version | --version | --versio | --versi | --vers)
359 echo "configure generated by autoconf version 2.12"
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; }
368 ac_package=`echo $ac_package| sed 's/-/_/g'`
373 eval "with_${ac_package}='$ac_optarg'" ;;
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; }
381 ac_package=`echo $ac_package| sed 's/-/_/g'`
382 eval "with_${ac_package}=no" ;;
385 # Obsolete; use --with-x.
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" ;;
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" ;;
402 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
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
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; }
418 if test -n "$ac_prev"; then
419 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
422 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
424 # File descriptor usage:
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
432 if test "$silent" = yes; then
440 This file contains any messages produced by compilers while
441 running configure, to aid debugging if configure makes a mistake.
444 # Strip out --no-create and --no-recursion so they do not pile up.
445 # Also quote any args containing shell metacharacters.
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" ;;
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.
465 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
466 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
467 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
468 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
470 # confdefs.h avoids OS command line length limits that DEFS can exceed.
471 rm -rf conftest* confdefs.h
472 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
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.
477 ac_unique_file=README
479 # Find the source files, if location was not specified.
480 if test -z "$srcdir"; then
481 ac_srcdir_defaulted=yes
482 # Try the directory containing this script, then its parent.
484 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
485 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
487 if test ! -r $srcdir/$ac_unique_file; then
491 ac_srcdir_defaulted=no
493 if 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; }
497 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
500 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
502 # Prefer explicitly selected file to automatically selected ones.
503 if test -z "$CONFIG_SITE"; then
504 if test "x$prefix" != xNONE; then
505 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
507 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
510 for ac_site_file in $CONFIG_SITE; do
511 if test -r "$ac_site_file"; then
512 echo "loading site script $ac_site_file"
517 if test -r "$cache_file"; then
518 echo "loading cache $cache_file"
521 echo "creating cache $cache_file"
526 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
527 ac_cpp='$CPP $CPPFLAGS'
528 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
529 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
530 cross_compiling=$ac_cv_prog_cc_cross
532 if (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
541 ac_n= ac_c='\c' ac_t=
546 # Check whether --enable-access-file or --disable-access-file was given.
547 if 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"
552 echo "Using the access file in $enable_access_file -- don't say we didn't warn you!"
555 ACCESS_FILE="$enable_access_file"
557 # Check whether --enable-server-md4 or --disable-server-md4 was given.
558 if test "${enable_server_md4+set}" = set; then
559 enableval="$enable_server_md4"
560 cat >> confdefs.h <<\EOF
565 cat >> confdefs.h <<\EOF
572 # Check whether --enable-user-locking or --disable-user-locking was given.
573 if test "${enable_user_locking+set}" = set; then
574 enableval="$enable_user_locking"
578 if test "$enable_user_locking" != no;
580 if test -z "$enable_user_locking"
582 cat >> confdefs.h <<\EOF
583 #define OPIE_LOCK_DIR "/etc/opielocks"
586 LOCK_DIR="/etc/opielocks"
588 cat >> confdefs.h <<EOF
589 #define OPIE_LOCK_DIR "$enable_user_locking"
592 LOCK_DIR="$enable_user_locking"
597 # Check whether --enable-retype or --disable-retype was given.
598 if test "${enable_retype+set}" = set; then
599 enableval="$enable_retype"
600 cat >> confdefs.h <<\EOF
606 # Check whether --enable-su-star-check or --disable-su-star-check was given.
607 if 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
615 # Check whether --enable-new-prompts or --disable-new-prompts was given.
616 if test "${enable_new_prompts+set}" = set; then
617 enableval="$enable_new_prompts"
620 cat >> confdefs.h <<\EOF
621 #define NEW_PROMPTS 1
626 # Check whether --enable-insecure-override or --disable-insecure-override was given.
627 if test "${enable_insecure_override+set}" = set; then
628 enableval="$enable_insecure_override"
629 cat >> confdefs.h <<\EOF
630 #define INSECURE_OVERRIDE 1
635 # Check whether --enable-anonymous-ftp or --disable-anonymous-ftp was given.
636 if test "${enable_anonymous_ftp+set}" = set; then
637 enableval="$enable_anonymous_ftp"
638 cat >> confdefs.h <<\EOF
639 #define DOANONYMOUS 1
641 echo "Enabling anonymous FTP support in ftp -- don't say we didn't warn you!"
644 # Check whether --enable-utmp or --disable-utmp was given.
645 if test "${enable_utmp+set}" = set; then
646 enableval="$enable_utmp"
647 cat >> confdefs.h <<\EOF
648 #define DISABLE_UTMP 1
650 echo "Disabling utmp logging"
653 # Check whether --enable-wtmp or --disable-wtmp was given.
654 if test "${enable_wtmp+set}" = set; then
655 enableval="$enable_wtmp"
656 cat >> confdefs.h <<\EOF
657 #define DISABLE_UTMP 1
659 echo "Disabling wtmp logging"
663 # Extract the first word of "gcc", so it can be a program name with args.
664 set dummy gcc; ac_word=$2
665 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
666 echo "configure:667: checking for $ac_word" >&5
667 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
668 echo $ac_n "(cached) $ac_c" 1>&6
670 if test -n "$CC"; then
671 ac_cv_prog_CC="$CC" # Let the user override the test.
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
685 if test -n "$CC"; then
686 echo "$ac_t""$CC" 1>&6
688 echo "$ac_t""no" 1>&6
691 if test -z "$CC"; then
692 # Extract the first word of "cc", so it can be a program name with args.
693 set dummy cc; ac_word=$2
694 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
695 echo "configure:696: checking for $ac_word" >&5
696 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
697 echo $ac_n "(cached) $ac_c" 1>&6
699 if test -n "$CC"; then
700 ac_cv_prog_CC="$CC" # Let the user override the test.
702 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
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
716 if 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
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.
725 set dummy "$ac_dir/$ac_word" "$@"
733 if test -n "$CC"; then
734 echo "$ac_t""$CC" 1>&6
736 echo "$ac_t""no" 1>&6
739 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
742 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
743 echo "configure:744: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
746 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
747 ac_cpp='$CPP $CPPFLAGS'
748 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
749 ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
750 cross_compiling=$ac_cv_prog_cc_cross
752 cat > conftest.$ac_ext <<EOF
753 #line 754 "configure"
754 #include "confdefs.h"
757 if { (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
763 ac_cv_prog_cc_cross=yes
766 echo "configure: failed program was:" >&5
767 cat conftest.$ac_ext >&5
768 ac_cv_prog_cc_works=no
772 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
773 if 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; }
776 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
777 echo "configure:778: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
778 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
779 cross_compiling=$ac_cv_prog_cc_cross
781 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
782 echo "configure:783: checking whether we are using GNU C" >&5
783 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
784 echo $ac_n "(cached) $ac_c" 1>&6
786 cat > conftest.c <<EOF
791 if { 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
798 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
800 if test $ac_cv_prog_gcc = yes; then
802 ac_test_CFLAGS="${CFLAGS+set}"
803 ac_save_CFLAGS="$CFLAGS"
805 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
806 echo "configure:807: checking whether ${CC-cc} accepts -g" >&5
807 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
808 echo $ac_n "(cached) $ac_c" 1>&6
810 echo 'void f(){}' > conftest.c
811 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
820 echo "$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
830 test "${CFLAGS+set}" = set || CFLAGS="-g"
833 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
834 echo "configure:835: checking how to run the C preprocessor" >&5
835 # On Suns, sometimes $CPP names a directory.
836 if test -n "$CPP" && test -d "$CPP"; then
839 if test -z "$CPP"; then
840 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
841 echo $ac_n "(cached) $ac_c" 1>&6
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.
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"
854 ac_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; }
856 ac_err=`grep -v '^ *+' conftest.out`
857 if test -z "$ac_err"; then
861 echo "configure: failed program was:" >&5
862 cat conftest.$ac_ext >&5
864 CPP="${CC-cc} -E -traditional-cpp"
865 cat > conftest.$ac_ext <<EOF
866 #line 867 "configure"
867 #include "confdefs.h"
871 ac_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; }
873 ac_err=`grep -v '^ *+' conftest.out`
874 if test -z "$ac_err"; then
878 echo "configure: failed program was:" >&5
879 cat conftest.$ac_ext >&5
886 ac_cv_prog_CPP="$CPP"
888 CPP="$ac_cv_prog_CPP"
890 ac_cv_prog_CPP="$CPP"
892 echo "$ac_t""$CPP" 1>&6
894 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
895 echo "configure:896: checking whether ln -s works" >&5
896 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
897 echo $ac_n "(cached) $ac_c" 1>&6
900 if ln -s X conftestdata 2>/dev/null
903 ac_cv_prog_LN_S="ln -s"
908 LN_S="$ac_cv_prog_LN_S"
909 if test "$ac_cv_prog_LN_S" = "ln -s"; then
910 echo "$ac_t""yes" 1>&6
912 echo "$ac_t""no" 1>&6
915 # Extract the first word of "ranlib", so it can be a program name with args.
916 set dummy ranlib; ac_word=$2
917 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
918 echo "configure:919: checking for $ac_word" >&5
919 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
920 echo $ac_n "(cached) $ac_c" 1>&6
922 if test -n "$RANLIB"; then
923 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
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"
934 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
937 RANLIB="$ac_cv_prog_RANLIB"
938 if test -n "$RANLIB"; then
939 echo "$ac_t""$RANLIB" 1>&6
941 echo "$ac_t""no" 1>&6
944 for ac_prog in 'bison -y' byacc
946 # Extract the first word of "$ac_prog", so it can be a program name with args.
947 set dummy $ac_prog; ac_word=$2
948 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
949 echo "configure:950: checking for $ac_word" >&5
950 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
951 echo $ac_n "(cached) $ac_c" 1>&6
953 if test -n "$YACC"; then
954 ac_cv_prog_YACC="$YACC" # Let the user override the test.
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"
967 YACC="$ac_cv_prog_YACC"
968 if test -n "$YACC"; then
969 echo "$ac_t""$YACC" 1>&6
971 echo "$ac_t""no" 1>&6
974 test -n "$YACC" && break
976 test -n "$YACC" || YACC="yacc"
979 echo $ac_n "checking for AIX""... $ac_c" 1>&6
980 echo "configure:981: checking for AIX" >&5
981 cat > conftest.$ac_ext <<EOF
982 #line 983 "configure"
983 #include "confdefs.h"
989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
990 egrep "yes" >/dev/null 2>&1; then
992 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
993 #define _ALL_SOURCE 1
998 echo "$ac_t""no" 1>&6
1003 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1004 echo "configure:1005: checking for POSIXized ISC" >&5
1005 if test -d /etc/conf/kconfig.d &&
1006 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
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
1014 if test "$GCC" = yes; then
1020 echo "$ac_t""no" 1>&6
1024 ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
1025 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
1026 echo "configure:1027: checking for minix/config.h" >&5
1027 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1028 echo $ac_n "(cached) $ac_c" 1>&6
1030 cat > conftest.$ac_ext <<EOF
1031 #line 1032 "configure"
1032 #include "confdefs.h"
1033 #include <minix/config.h>
1035 ac_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; }
1037 ac_err=`grep -v '^ *+' conftest.out`
1038 if test -z "$ac_err"; then
1040 eval "ac_cv_header_$ac_safe=yes"
1043 echo "configure: failed program was:" >&5
1044 cat conftest.$ac_ext >&5
1046 eval "ac_cv_header_$ac_safe=no"
1050 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1051 echo "$ac_t""yes" 1>&6
1054 echo "$ac_t""no" 1>&6
1058 if test "$MINIX" = yes; then
1059 cat >> confdefs.h <<\EOF
1060 #define _POSIX_SOURCE 1
1063 cat >> confdefs.h <<\EOF
1064 #define _POSIX_1_SOURCE 2
1067 cat >> confdefs.h <<\EOF
1075 # Extract the first word of "chown", so it can be a program name with args.
1076 set dummy chown; ac_word=$2
1077 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1078 echo "configure:1079: checking for $ac_word" >&5
1079 if eval "test \"`echo '$''{'ac_cv_path_CHOWN'+set}'`\" = set"; then
1080 echo $ac_n "(cached) $ac_c" 1>&6
1084 ac_cv_path_CHOWN="$CHOWN" # Let the user override the test with a path.
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"
1096 test -z "$ac_cv_path_CHOWN" && ac_cv_path_CHOWN="/bin/chown"
1100 CHOWN="$ac_cv_path_CHOWN"
1101 if test -n "$CHOWN"; then
1102 echo "$ac_t""$CHOWN" 1>&6
1104 echo "$ac_t""no" 1>&6
1108 # Extract the first word of "su", so it can be a program name with args.
1109 set dummy su; ac_word=$2
1110 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1111 echo "configure:1112: checking for $ac_word" >&5
1112 if eval "test \"`echo '$''{'ac_cv_path_SU'+set}'`\" = set"; then
1113 echo $ac_n "(cached) $ac_c" 1>&6
1117 ac_cv_path_SU="$SU" # Let the user override the test with a path.
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"
1129 test -z "$ac_cv_path_SU" && ac_cv_path_SU="/bin/su"
1134 if test -n "$SU"; then
1135 echo "$ac_t""$SU" 1>&6
1137 echo "$ac_t""no" 1>&6
1140 # Extract the first word of "su", so it can be a program name with args.
1141 set dummy su; ac_word=$2
1142 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1143 echo "configure:1144: checking for $ac_word" >&5
1144 if eval "test \"`echo '$''{'ac_cv_path_ALT_SU'+set}'`\" = set"; then
1145 echo $ac_n "(cached) $ac_c" 1>&6
1149 ac_cv_path_ALT_SU="$ALT_SU" # Let the user override the test with a path.
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"
1164 ALT_SU="$ac_cv_path_ALT_SU"
1165 if test -n "$ALT_SU"; then
1166 echo "$ac_t""$ALT_SU" 1>&6
1168 echo "$ac_t""no" 1>&6
1172 # Extract the first word of "scheme", so it can be a program name with args.
1173 set dummy scheme; ac_word=$2
1174 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1175 echo "configure:1176: checking for $ac_word" >&5
1176 if eval "test \"`echo '$''{'ac_cv_path_SCHEME'+set}'`\" = set"; then
1177 echo $ac_n "(cached) $ac_c" 1>&6
1181 ac_cv_path_SCHEME="$SCHEME" # Let the user override the test with a path.
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"
1196 SCHEME="$ac_cv_path_SCHEME"
1197 if test -n "$SCHEME"; then
1198 echo "$ac_t""$SCHEME" 1>&6
1200 echo "$ac_t""no" 1>&6
1203 # Extract the first word of "login", so it can be a program name with args.
1204 set dummy login; ac_word=$2
1205 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1206 echo "configure:1207: checking for $ac_word" >&5
1207 if eval "test \"`echo '$''{'ac_cv_path_LOGIN'+set}'`\" = set"; then
1208 echo $ac_n "(cached) $ac_c" 1>&6
1212 ac_cv_path_LOGIN="$LOGIN" # Let the user override the test with a path.
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"
1224 test -z "$ac_cv_path_LOGIN" && ac_cv_path_LOGIN="/bin/login"
1228 LOGIN="$ac_cv_path_LOGIN"
1229 if test -n "$LOGIN"; then
1230 echo "$ac_t""$LOGIN" 1>&6
1232 echo "$ac_t""no" 1>&6
1236 if test ! -z "$SCHEME";
1241 # Extract the first word of "ftpd", so it can be a program name with args.
1242 set dummy ftpd; ac_word=$2
1243 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1244 echo "configure:1245: checking for $ac_word" >&5
1245 if eval "test \"`echo '$''{'ac_cv_path_FTPD'+set}'`\" = set"; then
1246 echo $ac_n "(cached) $ac_c" 1>&6
1250 ac_cv_path_FTPD="$FTPD" # Let the user override the test with a path.
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"
1265 FTPD="$ac_cv_path_FTPD"
1266 if test -n "$FTPD"; then
1267 echo "$ac_t""$FTPD" 1>&6
1269 echo "$ac_t""no" 1>&6
1272 # Extract the first word of "in.ftpd", so it can be a program name with args.
1273 set dummy in.ftpd; ac_word=$2
1274 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1275 echo "configure:1276: checking for $ac_word" >&5
1276 if eval "test \"`echo '$''{'ac_cv_path_INFTPD'+set}'`\" = set"; then
1277 echo $ac_n "(cached) $ac_c" 1>&6
1281 ac_cv_path_INFTPD="$INFTPD" # Let the user override the test with a path.
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"
1296 INFTPD="$ac_cv_path_INFTPD"
1297 if test -n "$INFTPD"; then
1298 echo "$ac_t""$INFTPD" 1>&6
1300 echo "$ac_t""no" 1>&6
1306 if test ! -z "$INFTPD"
1312 echo $ac_n "checking for default PATH entries""... $ac_c" 1>&6
1313 echo "configure:1314: checking for default PATH entries" >&5
1317 for 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
1326 if test -z "$default_path"
1330 default_path="$default_path:$i"
1337 cat >> confdefs.h <<EOF
1338 #define DEFAULT_PATH "$default_path"
1341 echo "$ac_t""$default_path" 1>&6
1343 echo $ac_n "checking for test -e flag""... $ac_c" 1>&6
1344 echo "configure:1345: checking for test -e flag" >&5
1345 if sh config.testeflag
1354 echo "$ac_t""$result" 1>&6
1356 echo $ac_n "checking for mkdir -p flag""... $ac_c" 1>&6
1357 echo "configure:1358: checking for mkdir -p flag" >&5
1358 if test -d config.tmpdir
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
1366 if mkdir -p config.tmpdir/foo/bar >/dev/null 2>/dev/null
1368 if test -d config.tmpdir
1370 if test -d config.tmpdir/foo
1372 if test -d config.tmpdir/foo/bar
1375 rmdir config.tmpdir/foo/bar >/dev/null 2>/dev/null
1377 rmdir config.tmpdir/foo >/dev/null 2>/dev/null
1379 rmdir config.tmpdir >/dev/null 2>/dev/null
1383 if test "$result" = yes
1390 echo "$ac_t""$result" 1>&6
1392 echo $ac_n "checking for ls group field""... $ac_c" 1>&6
1393 echo "configure:1394: checking for ls group field" >&5
1394 lsg=`/bin/ls -ldg / | wc -w | awk '{print $1}'`;
1395 ls=`/bin/ls -ld / | wc -w | awk '{print $1}'`;
1401 if test "$ls" = 8 -a "$lsg" = 9;
1403 result="yes, with -g"
1404 cat >> confdefs.h <<\EOF
1405 #define HAVE_LS_G_FLAG 1
1410 echo "$ac_t""$result" 1>&6
1412 echo $ac_n "checking for /etc/default/login""... $ac_c" 1>&6
1413 echo "configure:1414: checking for /etc/default/login" >&5
1414 if test $EXISTS /etc/default/login
1417 cat >> confdefs.h <<\EOF
1418 #define HAVE_ETC_DEFAULT_LOGIN 1
1424 echo "$ac_t""$result" 1>&6
1426 echo $ac_n "checking for /etc/securetty""... $ac_c" 1>&6
1427 echo "configure:1428: checking for /etc/securetty" >&5
1428 if test $EXISTS /etc/securetty
1431 cat >> confdefs.h <<\EOF
1432 #define HAVE_SECURETTY 1
1438 echo "$ac_t""$result" 1>&6
1440 echo $ac_n "checking for /etc/logindevperm""... $ac_c" 1>&6
1441 echo "configure:1442: checking for /etc/logindevperm" >&5
1442 if test $EXISTS /etc/logindevperm
1444 echo "$ac_t""yes" 1>&6
1445 cat >> confdefs.h <<\EOF
1446 #define HAVE_LOGIN_PERMFILE "/etc/logindevperm"
1450 echo "$ac_t""no" 1>&6
1452 echo $ac_n "checking for /etc/fbtab""... $ac_c" 1>&6
1453 echo "configure:1454: checking for /etc/fbtab" >&5
1454 if test $EXISTS /etc/fbtab
1457 cat >> confdefs.h <<\EOF
1458 #define HAVE_LOGIN_PERMFILE "/etc/fbtab"
1464 echo "$ac_t""$result" 1>&6
1467 echo $ac_n "checking for /etc/environment""... $ac_c" 1>&6
1468 echo "configure:1469: checking for /etc/environment" >&5
1469 if test $EXISTS /etc/environment
1471 echo "$ac_t""yes" 1>&6
1472 cat >> confdefs.h <<\EOF
1473 #define HAVE_LOGIN_ENVFILE "/etc/environment"
1477 echo "$ac_t""no" 1>&6
1479 echo $ac_n "checking for /etc/src.sh""... $ac_c" 1>&6
1480 echo "configure:1481: checking for /etc/src.sh" >&5
1481 if test $EXISTS /etc/src.sh
1484 cat >> confdefs.h <<\EOF
1485 #define HAVE_LOGIN_ENVFILE "/etc/src.sh"
1491 echo "$ac_t""$result" 1>&6
1494 echo $ac_n "checking for /etc/shadow""... $ac_c" 1>&6
1495 echo "configure:1496: checking for /etc/shadow" >&5
1496 if test $EXISTS /etc/shadow
1499 cat >> confdefs.h <<\EOF
1500 #define HAVE_ETC_SHADOW 1
1504 echo "$ac_t""no" 1>&6
1506 echo $ac_n "checking for /etc/security/passwd.adjunct""... $ac_c" 1>&6
1507 echo "configure:1508: checking for /etc/security/passwd.adjunct" >&5
1508 if test $EXISTS /etc/security/passwd.adjunct
1511 cat >> confdefs.h <<\EOF
1512 #define HAVE_SUNOS_C2_SHADOW 1
1515 LIBOBJS="$LIBOBJS getspnam.o endspent.o"
1520 echo "$ac_t""$result" 1>&6
1522 echo $ac_n "checking for /var/adm/sulog""... $ac_c" 1>&6
1523 echo "configure:1524: checking for /var/adm/sulog" >&5
1524 if test $EXISTS /var/adm/sulog
1527 cat >> confdefs.h <<\EOF
1528 #define HAVE_SULOG 1
1534 echo "$ac_t""$result" 1>&6
1536 echo $ac_n "checking mail spool location""... $ac_c" 1>&6
1537 echo "configure:1538: checking mail spool location" >&5
1539 for i in /var/mail /usr/mail /var/spool/mail /usr/spool/mail
1546 if test -z "$mail_spool"
1550 result="$mail_spool"
1551 cat >> confdefs.h <<EOF
1552 #define PATH_MAIL "$mail_spool"
1556 echo "$ac_t""$result" 1>&6
1558 echo $ac_n "checking where your system puts the utmp file""... $ac_c" 1>&6
1559 echo "configure:1560: checking where your system puts the utmp file" >&5
1561 for i in /var/run /var/adm /usr/adm /etc
1563 if test $EXISTS $i/utmp
1568 if test -z "$utmp_path"
1573 cat >> confdefs.h <<EOF
1574 #define PATH_UTMP_AC "$utmp_path/utmp"
1578 echo "$ac_t""$result" 1>&6
1580 echo $ac_n "checking where your system puts the utmpx file""... $ac_c" 1>&6
1581 echo "configure:1582: checking where your system puts the utmpx file" >&5
1583 for i in /var/run /var/adm /usr/adm /etc
1585 if test $EXISTS $i/utmp
1590 if test -z "$utmp_path"
1593 cat >> confdefs.h <<EOF
1594 #define PATH_UTMP_AC "$utmp_path/utmpx"
1598 echo "$ac_t""$result" 1>&6
1600 echo $ac_n "checking where your system puts the wtmp file""... $ac_c" 1>&6
1601 echo "configure:1602: checking where your system puts the wtmp file" >&5
1603 for i in /var/run /var/log /var/adm /usr/adm /etc
1605 if test $EXISTS $i/wtmp
1610 if test -z "$wtmp_path"
1615 cat >> confdefs.h <<EOF
1616 #define PATH_WTMP_AC "$wtmp_path/wtmp"
1620 echo "$ac_t""$result" 1>&6
1622 echo $ac_n "checking where your system puts the wtmpx file""... $ac_c" 1>&6
1623 echo "configure:1624: checking where your system puts the wtmpx file" >&5
1625 for i in /var/run /var/log /var/adm /usr/adm /etc
1627 if test $EXISTS $i/wtmpx
1632 if test -z "$wtmpx_path"
1636 result="$wtmpx_path"
1637 cat >> confdefs.h <<EOF
1638 #define PATH_WTMPX_AC "$wtmpx_path/wtmpx"
1642 echo "$ac_t""$result" 1>&6
1644 echo $ac_n "checking whether the system profile displays the motd""... $ac_c" 1>&6
1645 echo "configure:1646: checking whether the system profile displays the motd" >&5
1647 if test $EXISTS /etc/profile
1649 if grep motd /etc/profile >/dev/null 2>/dev/null
1654 if test "$result" = yes
1656 cat >> confdefs.h <<\EOF
1657 #define HAVE_MOTD_IN_PROFILE 1
1661 echo "$ac_t""$result" 1>&6
1663 echo $ac_n "checking whether the system profile checks for mail""... $ac_c" 1>&6
1664 echo "configure:1665: checking whether the system profile checks for mail" >&5
1666 if test $EXISTS /etc/profile
1668 if grep 'mail\.' /etc/profile >/dev/null 2>/dev/null
1673 if test "$result" = yes
1675 cat >> confdefs.h <<\EOF
1676 #define HAVE_MAILCHECK_IN_PROFILE 1
1680 echo "$ac_t""$result" 1>&6
1682 echo $ac_n "checking for working const""... $ac_c" 1>&6
1683 echo "configure:1684: checking for working const" >&5
1684 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1685 echo $ac_n "(cached) $ac_c" 1>&6
1687 cat > conftest.$ac_ext <<EOF
1688 #line 1689 "configure"
1689 #include "confdefs.h"
1693 /* Ultrix mips cc rejects this. */
1694 typedef int charset[2]; const charset x;
1695 /* SunOS 4.1.1 cc rejects this. */
1696 char const *const *ccp;
1698 /* NEC SVR4.0.2 mips cc rejects this. */
1699 struct point {int x, y;};
1700 static 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 */
1704 const char *g = "string";
1705 ccp = &g + (g ? g-g : 0);
1706 /* HPUX 7.0 cc rejects these. */
1709 ccp = (char const *const *) p;
1710 { /* SCO 3.2v4 cc rejects this. */
1712 char const *s = 0 ? (char *) 0 : (char const *) 0;
1716 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1718 const int *foo = &x[0];
1721 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1722 typedef const int *iptr;
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;
1731 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1737 if { (eval echo configure:1738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1741 echo "configure: failed program was:" >&5
1742 cat conftest.$ac_ext >&5
1749 echo "$ac_t""$ac_cv_c_const" 1>&6
1750 if test $ac_cv_c_const = no; then
1751 cat >> confdefs.h <<\EOF
1758 echo $ac_n "checking to see if your compiler can handle void arguments""... $ac_c" 1>&6
1759 echo "configure:1760: checking to see if your compiler can handle void arguments" >&5
1760 cat > conftest.$ac_ext <<EOF
1761 #line 1762 "configure"
1762 #include "confdefs.h"
1768 if { (eval echo configure:1769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1770 cat >> confdefs.h <<\EOF
1771 #define HAVE_VOIDARG 1
1773 echo "$ac_t""yes" 1>&6
1775 echo "configure: failed program was:" >&5
1776 cat conftest.$ac_ext >&5
1778 echo "$ac_t""no" 1>&6
1782 echo $ac_n "checking to see if your compiler can handle void return values""... $ac_c" 1>&6
1783 echo "configure:1784: checking to see if your compiler can handle void return values" >&5
1784 cat > conftest.$ac_ext <<EOF
1785 #line 1786 "configure"
1786 #include "confdefs.h"
1792 if { (eval echo configure:1793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1794 cat >> confdefs.h <<\EOF
1795 #define HAVE_VOIDRET 1
1797 echo "$ac_t""yes" 1>&6
1799 echo "configure: failed program was:" >&5
1800 cat conftest.$ac_ext >&5
1802 echo "$ac_t""no" 1>&6
1806 echo $ac_n "checking to see if your compiler can handle void pointers""... $ac_c" 1>&6
1807 echo "configure:1808: checking to see if your compiler can handle void pointers" >&5
1808 cat > conftest.$ac_ext <<EOF
1809 #line 1810 "configure"
1810 #include "confdefs.h"
1811 foo() { void *bar = (void *)0x42; bar = bar + 1; }
1816 if { (eval echo configure:1817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1818 cat >> confdefs.h <<\EOF
1819 #define HAVE_VOIDPTR 1
1821 echo "$ac_t""yes" 1>&6
1823 echo "configure: failed program was:" >&5
1824 cat conftest.$ac_ext >&5
1826 echo "$ac_t""no" 1>&6
1830 echo $ac_n "checking to see if your compiler can handle ANSI argument lists""... $ac_c" 1>&6
1831 echo "configure:1832: checking to see if your compiler can handle ANSI argument lists" >&5
1832 cat > conftest.$ac_ext <<EOF
1833 #line 1834 "configure"
1834 #include "confdefs.h"
1835 int foo(int bar, int baz) { return 0; }
1840 if { (eval echo configure:1841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1842 cat >> confdefs.h <<\EOF
1843 #define HAVE_ANSIDECL 1
1845 echo "$ac_t""yes" 1>&6
1847 echo "configure: failed program was:" >&5
1848 cat conftest.$ac_ext >&5
1850 echo "$ac_t""no" 1>&6
1854 echo $ac_n "checking to see if your compiler can handle ANSI prototypes""... $ac_c" 1>&6
1855 echo "configure:1856: checking to see if your compiler can handle ANSI prototypes" >&5
1856 cat > conftest.$ac_ext <<EOF
1857 #line 1858 "configure"
1858 #include "confdefs.h"
1859 extern int foo(int, int);
1864 if { (eval echo configure:1865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1866 cat >> confdefs.h <<\EOF
1867 #define HAVE_ANSIPROTO 1
1869 echo "$ac_t""yes" 1>&6
1871 echo "configure: failed program was:" >&5
1872 cat conftest.$ac_ext >&5
1874 echo "$ac_t""no" 1>&6
1878 echo $ac_n "checking to see if your compiler can handle ANSI variable arguments""... $ac_c" 1>&6
1879 echo "configure:1880: checking to see if your compiler can handle ANSI variable arguments" >&5
1880 cat > conftest.$ac_ext <<EOF
1881 #line 1882 "configure"
1882 #include "confdefs.h"
1884 int foo(int arg, ...) {
1894 if { (eval echo configure:1895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1896 cat >> confdefs.h <<\EOF
1897 #define HAVE_ANSISTDARG 1
1899 echo "$ac_t""yes" 1>&6
1901 echo "configure: failed program was:" >&5
1902 cat conftest.$ac_ext >&5
1904 echo "$ac_t""no" 1>&6
1908 echo $ac_n "checking to see if you have an ANSI-style sprintf""... $ac_c" 1>&6
1909 echo "configure:1910: checking to see if you have an ANSI-style sprintf" >&5
1910 if test "$cross_compiling" = yes; then
1911 echo "$ac_t""no" 1>&6
1913 cat > conftest.$ac_ext <<EOF
1914 #line 1915 "configure"
1915 #include "confdefs.h"
1917 int main(argc, argv)
1923 i += sprintf(buf, "1234");
1924 return (i == 6) ? 0 : -1;
1927 if { (eval echo configure:1928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
1929 cat >> confdefs.h <<\EOF
1930 #define HAVE_ANSISPRINTF 1
1932 echo "$ac_t""yes" 1>&6
1934 echo "configure: failed program was:" >&5
1935 cat conftest.$ac_ext >&5
1937 echo "$ac_t""no" 1>&6
1943 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
1944 echo "configure:1945: checking for crypt in -lcrypt" >&5
1945 ac_lib_var=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
1946 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1947 echo $ac_n "(cached) $ac_c" 1>&6
1949 ac_save_LIBS="$LIBS"
1950 LIBS="-lcrypt $LIBS"
1951 cat > 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. */
1963 if { (eval echo configure:1964: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
1965 eval "ac_cv_lib_$ac_lib_var=yes"
1967 echo "configure: failed program was:" >&5
1968 cat conftest.$ac_ext >&5
1970 eval "ac_cv_lib_$ac_lib_var=no"
1973 LIBS="$ac_save_LIBS"
1976 if 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
1984 LIBS="-lcrypt $LIBS"
1987 echo "$ac_t""no" 1>&6
1990 echo $ac_n "checking for gethostname in -lnsl""... $ac_c" 1>&6
1991 echo "configure:1992: checking for gethostname in -lnsl" >&5
1992 ac_lib_var=`echo nsl'_'gethostname | sed 'y%./+-%__p_%'`
1993 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1994 echo $ac_n "(cached) $ac_c" 1>&6
1996 ac_save_LIBS="$LIBS"
1998 cat > 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. */
2010 if { (eval echo configure:2011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2012 eval "ac_cv_lib_$ac_lib_var=yes"
2014 echo "configure: failed program was:" >&5
2015 cat conftest.$ac_ext >&5
2017 eval "ac_cv_lib_$ac_lib_var=no"
2020 LIBS="$ac_save_LIBS"
2023 if 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
2034 echo "$ac_t""no" 1>&6
2037 echo $ac_n "checking for main in -lposix""... $ac_c" 1>&6
2038 echo "configure:2039: checking for main in -lposix" >&5
2039 ac_lib_var=`echo posix'_'main | sed 'y%./+-%__p_%'`
2040 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2041 echo $ac_n "(cached) $ac_c" 1>&6
2043 ac_save_LIBS="$LIBS"
2044 LIBS="-lposix $LIBS"
2045 cat > conftest.$ac_ext <<EOF
2046 #line 2047 "configure"
2047 #include "confdefs.h"
2053 if { (eval echo configure:2054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2055 eval "ac_cv_lib_$ac_lib_var=yes"
2057 echo "configure: failed program was:" >&5
2058 cat conftest.$ac_ext >&5
2060 eval "ac_cv_lib_$ac_lib_var=no"
2063 LIBS="$ac_save_LIBS"
2066 if 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
2074 LIBS="-lposix $LIBS"
2077 echo "$ac_t""no" 1>&6
2080 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
2081 echo "configure:2082: checking for socket in -lsocket" >&5
2082 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'`
2083 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2084 echo $ac_n "(cached) $ac_c" 1>&6
2086 ac_save_LIBS="$LIBS"
2087 LIBS="-lsocket $LIBS"
2088 cat > 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. */
2100 if { (eval echo configure:2101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2102 eval "ac_cv_lib_$ac_lib_var=yes"
2104 echo "configure: failed program was:" >&5
2105 cat conftest.$ac_ext >&5
2107 eval "ac_cv_lib_$ac_lib_var=no"
2110 LIBS="$ac_save_LIBS"
2113 if 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
2121 LIBS="-lsocket $LIBS"
2124 echo "$ac_t""no" 1>&6
2129 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
2131 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2132 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2133 echo "configure:2134: checking for $ac_hdr that defines DIR" >&5
2134 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2135 echo $ac_n "(cached) $ac_c" 1>&6
2137 cat > conftest.$ac_ext <<EOF
2138 #line 2139 "configure"
2139 #include "confdefs.h"
2140 #include <sys/types.h>
2146 if { (eval echo configure:2147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2148 eval "ac_cv_header_dirent_$ac_safe=yes"
2150 echo "configure: failed program was:" >&5
2151 cat conftest.$ac_ext >&5
2153 eval "ac_cv_header_dirent_$ac_safe=no"
2157 if 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
2163 ac_header_dirent=$ac_hdr; break
2165 echo "$ac_t""no" 1>&6
2168 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2169 if test $ac_header_dirent = dirent.h; then
2170 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2171 echo "configure:2172: checking for opendir in -ldir" >&5
2172 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2173 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2174 echo $ac_n "(cached) $ac_c" 1>&6
2176 ac_save_LIBS="$LIBS"
2178 cat > 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. */
2190 if { (eval echo configure:2191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2192 eval "ac_cv_lib_$ac_lib_var=yes"
2194 echo "configure: failed program was:" >&5
2195 cat conftest.$ac_ext >&5
2197 eval "ac_cv_lib_$ac_lib_var=no"
2200 LIBS="$ac_save_LIBS"
2203 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2204 echo "$ac_t""yes" 1>&6
2207 echo "$ac_t""no" 1>&6
2211 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2212 echo "configure:2213: checking for opendir in -lx" >&5
2213 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2214 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2215 echo $ac_n "(cached) $ac_c" 1>&6
2217 ac_save_LIBS="$LIBS"
2219 cat > 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. */
2231 if { (eval echo configure:2232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2233 eval "ac_cv_lib_$ac_lib_var=yes"
2235 echo "configure: failed program was:" >&5
2236 cat conftest.$ac_ext >&5
2238 eval "ac_cv_lib_$ac_lib_var=no"
2241 LIBS="$ac_save_LIBS"
2244 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2245 echo "$ac_t""yes" 1>&6
2248 echo "$ac_t""no" 1>&6
2253 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2254 echo "configure:2255: checking for sys/wait.h that is POSIX.1 compatible" >&5
2255 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2256 echo $ac_n "(cached) $ac_c" 1>&6
2258 cat > conftest.$ac_ext <<EOF
2259 #line 2260 "configure"
2260 #include "confdefs.h"
2261 #include <sys/types.h>
2262 #include <sys/wait.h>
2264 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2267 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2272 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2275 if { (eval echo configure:2276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2277 ac_cv_header_sys_wait_h=yes
2279 echo "configure: failed program was:" >&5
2280 cat conftest.$ac_ext >&5
2282 ac_cv_header_sys_wait_h=no
2287 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2288 if test $ac_cv_header_sys_wait_h = yes; then
2289 cat >> confdefs.h <<\EOF
2290 #define HAVE_SYS_WAIT_H 1
2295 for 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
2297 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2298 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2299 echo "configure:2300: checking for $ac_hdr" >&5
2300 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2301 echo $ac_n "(cached) $ac_c" 1>&6
2303 cat > conftest.$ac_ext <<EOF
2304 #line 2305 "configure"
2305 #include "confdefs.h"
2308 ac_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; }
2310 ac_err=`grep -v '^ *+' conftest.out`
2311 if test -z "$ac_err"; then
2313 eval "ac_cv_header_$ac_safe=yes"
2316 echo "configure: failed program was:" >&5
2317 cat conftest.$ac_ext >&5
2319 eval "ac_cv_header_$ac_safe=no"
2323 if 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
2331 echo "$ac_t""no" 1>&6
2337 echo $ac_n "checking for ut_pid in struct utmp""... $ac_c" 1>&6
2338 echo "configure:2339: checking for ut_pid in struct utmp" >&5
2339 cat > conftest.$ac_ext <<EOF
2340 #line 2341 "configure"
2341 #include "confdefs.h"
2342 #include <sys/types.h>
2345 struct utmp foo; return (int)foo.ut_pid;
2348 if { (eval echo configure:2349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2350 cat >> confdefs.h <<\EOF
2351 #define HAVE_UT_PID 1
2353 echo "$ac_t""yes" 1>&6
2355 echo "configure: failed program was:" >&5
2356 cat conftest.$ac_ext >&5
2358 echo "$ac_t""no" 1>&6
2361 echo $ac_n "checking for ut_type in struct utmp""... $ac_c" 1>&6
2362 echo "configure:2363: checking for ut_type in struct utmp" >&5
2363 cat > conftest.$ac_ext <<EOF
2364 #line 2365 "configure"
2365 #include "confdefs.h"
2366 #include <sys/types.h>
2369 struct utmp foo; return (int)foo.ut_type;
2372 if { (eval echo configure:2373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2374 cat >> confdefs.h <<\EOF
2375 #define HAVE_UT_TYPE 1
2377 echo "$ac_t""yes" 1>&6
2379 echo "configure: failed program was:" >&5
2380 cat conftest.$ac_ext >&5
2382 echo "$ac_t""no" 1>&6
2385 echo $ac_n "checking for ut_name in struct utmp""... $ac_c" 1>&6
2386 echo "configure:2387: checking for ut_name in struct utmp" >&5
2387 cat > conftest.$ac_ext <<EOF
2388 #line 2389 "configure"
2389 #include "confdefs.h"
2390 #include <sys/types.h>
2393 struct utmp foo; return (int)foo.ut_name[0];
2396 if { (eval echo configure:2397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2398 cat >> confdefs.h <<\EOF
2399 #define HAVE_UT_NAME 1
2401 echo "$ac_t""yes" 1>&6
2403 echo "configure: failed program was:" >&5
2404 cat conftest.$ac_ext >&5
2406 echo "$ac_t""no" 1>&6
2409 echo $ac_n "checking for ut_host in struct utmp""... $ac_c" 1>&6
2410 echo "configure:2411: checking for ut_host in struct utmp" >&5
2411 cat > conftest.$ac_ext <<EOF
2412 #line 2413 "configure"
2413 #include "confdefs.h"
2414 #include <sys/types.h>
2417 struct utmp foo; return (int)foo.ut_host[0];
2420 if { (eval echo configure:2421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2422 cat >> confdefs.h <<\EOF
2423 #define HAVE_UT_HOST 1
2425 echo "$ac_t""yes" 1>&6
2427 echo "configure: failed program was:" >&5
2428 cat conftest.$ac_ext >&5
2430 echo "$ac_t""no" 1>&6
2434 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2435 echo "configure:2436: checking return type of signal handlers" >&5
2436 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2437 echo $ac_n "(cached) $ac_c" 1>&6
2439 cat > conftest.$ac_ext <<EOF
2440 #line 2441 "configure"
2441 #include "confdefs.h"
2442 #include <sys/types.h>
2448 extern "C" void (*signal (int, void (*)(int)))(int);
2450 void (*signal ()) ();
2457 if { (eval echo configure:2458: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2459 ac_cv_type_signal=void
2461 echo "configure: failed program was:" >&5
2462 cat conftest.$ac_ext >&5
2464 ac_cv_type_signal=int
2469 echo "$ac_t""$ac_cv_type_signal" 1>&6
2470 cat >> confdefs.h <<EOF
2471 #define RETSIGTYPE $ac_cv_type_signal
2475 for ac_func in gettimeofday socket strftime strstr setpriority getttynam setvbuf getspnam endspent setgroups getgroups fpurge setlogin lstat getutxline pututxline usleep
2477 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2478 echo "configure:2479: checking for $ac_func" >&5
2479 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2480 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
2506 if { (eval echo configure:2507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2508 eval "ac_cv_func_$ac_func=yes"
2510 echo "configure: failed program was:" >&5
2511 cat conftest.$ac_ext >&5
2513 eval "ac_cv_func_$ac_func=no"
2518 if 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
2526 echo "$ac_t""no" 1>&6
2531 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
2532 echo "configure:2533: checking for 8-bit clean memcmp" >&5
2533 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
2534 echo $ac_n "(cached) $ac_c" 1>&6
2536 if test "$cross_compiling" = yes; then
2537 ac_cv_func_memcmp_clean=no
2539 cat > conftest.$ac_ext <<EOF
2540 #line 2541 "configure"
2541 #include "confdefs.h"
2545 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
2546 exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
2550 if { (eval echo configure:2551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
2552 ac_cv_func_memcmp_clean=yes
2554 echo "configure: failed program was:" >&5
2555 cat conftest.$ac_ext >&5
2557 ac_cv_func_memcmp_clean=no
2564 echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
2565 test $ac_cv_func_memcmp_clean = no && LIBOBJS="$LIBOBJS memcmp.o"
2567 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
2568 # for constant arguments. Useless!
2569 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
2570 echo "configure:2571: checking for working alloca.h" >&5
2571 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
2572 echo $ac_n "(cached) $ac_c" 1>&6
2574 cat > conftest.$ac_ext <<EOF
2575 #line 2576 "configure"
2576 #include "confdefs.h"
2579 char *p = alloca(2 * sizeof(int));
2582 if { (eval echo configure:2583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2584 ac_cv_header_alloca_h=yes
2586 echo "configure: failed program was:" >&5
2587 cat conftest.$ac_ext >&5
2589 ac_cv_header_alloca_h=no
2594 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
2595 if test $ac_cv_header_alloca_h = yes; then
2596 cat >> confdefs.h <<\EOF
2597 #define HAVE_ALLOCA_H 1
2602 echo $ac_n "checking for alloca""... $ac_c" 1>&6
2603 echo "configure:2604: checking for alloca" >&5
2604 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
2605 echo $ac_n "(cached) $ac_c" 1>&6
2607 cat > conftest.$ac_ext <<EOF
2608 #line 2609 "configure"
2609 #include "confdefs.h"
2612 # define alloca __builtin_alloca
2615 # include <alloca.h>
2620 # ifndef alloca /* predefined by HP cc +Olibcalls */
2628 char *p = (char *) alloca(1);
2631 if { (eval echo configure:2632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2633 ac_cv_func_alloca_works=yes
2635 echo "configure: failed program was:" >&5
2636 cat conftest.$ac_ext >&5
2638 ac_cv_func_alloca_works=no
2643 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
2644 if test $ac_cv_func_alloca_works = yes; then
2645 cat >> confdefs.h <<\EOF
2646 #define HAVE_ALLOCA 1
2651 if 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.
2657 cat >> confdefs.h <<\EOF
2662 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
2663 echo "configure:2664: checking whether alloca needs Cray hooks" >&5
2664 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
2665 echo $ac_n "(cached) $ac_c" 1>&6
2667 cat > conftest.$ac_ext <<EOF
2668 #line 2669 "configure"
2669 #include "confdefs.h"
2670 #if defined(CRAY) && ! defined(CRAY2)
2677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2678 egrep "webecray" >/dev/null 2>&1; then
2689 echo "$ac_t""$ac_cv_os_cray" 1>&6
2690 if test $ac_cv_os_cray = yes; then
2691 for ac_func in _getb67 GETB67 getb67; do
2692 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2693 echo "configure:2694: checking for $ac_func" >&5
2694 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2695 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
2721 if { (eval echo configure:2722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2723 eval "ac_cv_func_$ac_func=yes"
2725 echo "configure: failed program was:" >&5
2726 cat conftest.$ac_ext >&5
2728 eval "ac_cv_func_$ac_func=no"
2733 if 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
2741 echo "$ac_t""no" 1>&6
2747 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
2748 echo "configure:2749: checking stack direction for C alloca" >&5
2749 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
2750 echo $ac_n "(cached) $ac_c" 1>&6
2752 if test "$cross_compiling" = yes; then
2753 ac_cv_c_stack_direction=0
2755 cat > conftest.$ac_ext <<EOF
2756 #line 2757 "configure"
2757 #include "confdefs.h"
2758 find_stack_direction ()
2760 static char *addr = 0;
2765 return find_stack_direction ();
2768 return (&dummy > addr) ? 1 : -1;
2772 exit (find_stack_direction() < 0);
2775 if { (eval echo configure:2776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
2777 ac_cv_c_stack_direction=1
2779 echo "configure: failed program was:" >&5
2780 cat conftest.$ac_ext >&5
2782 ac_cv_c_stack_direction=-1
2789 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
2790 cat >> confdefs.h <<EOF
2791 #define STACK_DIRECTION $ac_cv_c_stack_direction
2796 for ac_func in getusershell sigaddset sigemptyset strerror strncasecmp
2798 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2799 echo "configure:2800: checking for $ac_func" >&5
2800 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2801 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
2827 if { (eval echo configure:2828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2829 eval "ac_cv_func_$ac_func=yes"
2831 echo "configure: failed program was:" >&5
2832 cat conftest.$ac_ext >&5
2834 eval "ac_cv_func_$ac_func=no"
2839 if 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
2847 echo "$ac_t""no" 1>&6
2848 LIBOBJS="$LIBOBJS ${ac_func}.o"
2853 MISSING="$LIBOBJS $ALLOCA " ;
2854 echo $ac_n "checking for atexit""... $ac_c" 1>&6
2855 echo "configure:2856: checking for atexit" >&5
2856 if eval "test \"`echo '$''{'ac_cv_func_atexit'+set}'`\" = set"; then
2857 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
2883 if { (eval echo configure:2884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2885 eval "ac_cv_func_atexit=yes"
2887 echo "configure: failed program was:" >&5
2888 cat conftest.$ac_ext >&5
2890 eval "ac_cv_func_atexit=no"
2895 if eval "test \"`echo '$ac_cv_func_'atexit`\" = yes"; then
2896 echo "$ac_t""yes" 1>&6
2899 echo "$ac_t""no" 1>&6
2900 MISSING="${MISSING}atexit.o "; for ac_func in on_exit
2902 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2903 echo "configure:2904: checking for $ac_func" >&5
2904 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2905 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
2931 if { (eval echo configure:2932: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2933 eval "ac_cv_func_$ac_func=yes"
2935 echo "configure: failed program was:" >&5
2936 cat conftest.$ac_ext >&5
2938 eval "ac_cv_func_$ac_func=no"
2943 if 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
2951 echo "$ac_t""no" 1>&6
2957 echo $ac_n "checking for endutent""... $ac_c" 1>&6
2958 echo "configure:2959: checking for endutent" >&5
2959 if eval "test \"`echo '$''{'ac_cv_func_endutent'+set}'`\" = set"; then
2960 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
2986 if { (eval echo configure:2987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2988 eval "ac_cv_func_endutent=yes"
2990 echo "configure: failed program was:" >&5
2991 cat conftest.$ac_ext >&5
2993 eval "ac_cv_func_endutent=no"
2998 if eval "test \"`echo '$ac_cv_func_'endutent`\" = yes"; then
2999 echo "$ac_t""yes" 1>&6
3002 echo "$ac_t""no" 1>&6
3003 MISSING="${MISSING}endutent.o "
3006 echo $ac_n "checking for memcpy""... $ac_c" 1>&6
3007 echo "configure:3008: checking for memcpy" >&5
3008 if eval "test \"`echo '$''{'ac_cv_func_memcpy'+set}'`\" = set"; then
3009 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3035 if { (eval echo configure:3036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3037 eval "ac_cv_func_memcpy=yes"
3039 echo "configure: failed program was:" >&5
3040 cat conftest.$ac_ext >&5
3042 eval "ac_cv_func_memcpy=no"
3047 if eval "test \"`echo '$ac_cv_func_'memcpy`\" = yes"; then
3048 echo "$ac_t""yes" 1>&6
3051 echo "$ac_t""no" 1>&6
3052 MISSING="${MISSING}memcpy.o "; for ac_func in bcopy
3054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3055 echo "configure:3056: checking for $ac_func" >&5
3056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3057 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3083 if { (eval echo configure:3084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3085 eval "ac_cv_func_$ac_func=yes"
3087 echo "configure: failed program was:" >&5
3088 cat conftest.$ac_ext >&5
3090 eval "ac_cv_func_$ac_func=no"
3095 if 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
3103 echo "$ac_t""no" 1>&6
3109 echo $ac_n "checking for memset""... $ac_c" 1>&6
3110 echo "configure:3111: checking for memset" >&5
3111 if eval "test \"`echo '$''{'ac_cv_func_memset'+set}'`\" = set"; then
3112 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3138 if { (eval echo configure:3139: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3140 eval "ac_cv_func_memset=yes"
3142 echo "configure: failed program was:" >&5
3143 cat conftest.$ac_ext >&5
3145 eval "ac_cv_func_memset=no"
3150 if eval "test \"`echo '$ac_cv_func_'memset`\" = yes"; then
3151 echo "$ac_t""yes" 1>&6
3154 echo "$ac_t""no" 1>&6
3155 MISSING="${MISSING}memset.o "; for ac_func in bzero
3157 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3158 echo "configure:3159: checking for $ac_func" >&5
3159 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3160 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3186 if { (eval echo configure:3187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3188 eval "ac_cv_func_$ac_func=yes"
3190 echo "configure: failed program was:" >&5
3191 cat conftest.$ac_ext >&5
3193 eval "ac_cv_func_$ac_func=no"
3198 if 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
3206 echo "$ac_t""no" 1>&6
3212 echo $ac_n "checking for getcwd""... $ac_c" 1>&6
3213 echo "configure:3214: checking for getcwd" >&5
3214 if eval "test \"`echo '$''{'ac_cv_func_getcwd'+set}'`\" = set"; then
3215 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3241 if { (eval echo configure:3242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3243 eval "ac_cv_func_getcwd=yes"
3245 echo "configure: failed program was:" >&5
3246 cat conftest.$ac_ext >&5
3248 eval "ac_cv_func_getcwd=no"
3253 if eval "test \"`echo '$ac_cv_func_'getcwd`\" = yes"; then
3254 echo "$ac_t""yes" 1>&6
3257 echo "$ac_t""no" 1>&6
3258 MISSING="${MISSING}getcwd.o "; for ac_func in getwd
3260 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3261 echo "configure:3262: checking for $ac_func" >&5
3262 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3263 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3289 if { (eval echo configure:3290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3291 eval "ac_cv_func_$ac_func=yes"
3293 echo "configure: failed program was:" >&5
3294 cat conftest.$ac_ext >&5
3296 eval "ac_cv_func_$ac_func=no"
3301 if 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
3309 echo "$ac_t""no" 1>&6
3315 echo $ac_n "checking for getenv""... $ac_c" 1>&6
3316 echo "configure:3317: checking for getenv" >&5
3317 if eval "test \"`echo '$''{'ac_cv_func_getenv'+set}'`\" = set"; then
3318 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3344 if { (eval echo configure:3345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3346 eval "ac_cv_func_getenv=yes"
3348 echo "configure: failed program was:" >&5
3349 cat conftest.$ac_ext >&5
3351 eval "ac_cv_func_getenv=no"
3356 if 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
3363 echo "$ac_t""no" 1>&6
3364 MISSING="${MISSING}env.o "
3367 echo $ac_n "checking for getutline""... $ac_c" 1>&6
3368 echo "configure:3369: checking for getutline" >&5
3369 if eval "test \"`echo '$''{'ac_cv_func_getutline'+set}'`\" = set"; then
3370 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3396 if { (eval echo configure:3397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3398 eval "ac_cv_func_getutline=yes"
3400 echo "configure: failed program was:" >&5
3401 cat conftest.$ac_ext >&5
3403 eval "ac_cv_func_getutline=no"
3408 if 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
3415 echo "$ac_t""no" 1>&6
3416 MISSING="${MISSING}getutline.o "; for ac_func in ttyslot
3418 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3419 echo "configure:3420: checking for $ac_func" >&5
3420 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3421 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3447 if { (eval echo configure:3448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3449 eval "ac_cv_func_$ac_func=yes"
3451 echo "configure: failed program was:" >&5
3452 cat conftest.$ac_ext >&5
3454 eval "ac_cv_func_$ac_func=no"
3459 if 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
3467 echo "$ac_t""no" 1>&6
3473 echo $ac_n "checking for pututline""... $ac_c" 1>&6
3474 echo "configure:3475: checking for pututline" >&5
3475 if eval "test \"`echo '$''{'ac_cv_func_pututline'+set}'`\" = set"; then
3476 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3502 if { (eval echo configure:3503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3504 eval "ac_cv_func_pututline=yes"
3506 echo "configure: failed program was:" >&5
3507 cat conftest.$ac_ext >&5
3509 eval "ac_cv_func_pututline=no"
3514 if eval "test \"`echo '$ac_cv_func_'pututline`\" = yes"; then
3515 echo "$ac_t""yes" 1>&6
3518 echo "$ac_t""no" 1>&6
3519 MISSING="${MISSING}pututline.o "; for ac_func in ttyslot
3521 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3522 echo "configure:3523: checking for $ac_func" >&5
3523 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3524 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3550 if { (eval echo configure:3551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3552 eval "ac_cv_func_$ac_func=yes"
3554 echo "configure: failed program was:" >&5
3555 cat conftest.$ac_ext >&5
3557 eval "ac_cv_func_$ac_func=no"
3562 if 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
3570 echo "$ac_t""no" 1>&6
3576 echo $ac_n "checking for setenv""... $ac_c" 1>&6
3577 echo "configure:3578: checking for setenv" >&5
3578 if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
3579 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3605 if { (eval echo configure:3606: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3607 eval "ac_cv_func_setenv=yes"
3609 echo "configure: failed program was:" >&5
3610 cat conftest.$ac_ext >&5
3612 eval "ac_cv_func_setenv=no"
3617 if 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
3624 echo "$ac_t""no" 1>&6
3625 MISSING="${MISSING}env.o "
3628 echo $ac_n "checking for setegid""... $ac_c" 1>&6
3629 echo "configure:3630: checking for setegid" >&5
3630 if eval "test \"`echo '$''{'ac_cv_func_setegid'+set}'`\" = set"; then
3631 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3657 if { (eval echo configure:3658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3659 eval "ac_cv_func_setegid=yes"
3661 echo "configure: failed program was:" >&5
3662 cat conftest.$ac_ext >&5
3664 eval "ac_cv_func_setegid=no"
3669 if eval "test \"`echo '$ac_cv_func_'setegid`\" = yes"; then
3670 echo "$ac_t""yes" 1>&6
3673 echo "$ac_t""no" 1>&6
3674 MISSING="${MISSING}setegid.o "; for ac_func in setregid setresgid
3676 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3677 echo "configure:3678: checking for $ac_func" >&5
3678 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3679 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3705 if { (eval echo configure:3706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3707 eval "ac_cv_func_$ac_func=yes"
3709 echo "configure: failed program was:" >&5
3710 cat conftest.$ac_ext >&5
3712 eval "ac_cv_func_$ac_func=no"
3717 if 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
3725 echo "$ac_t""no" 1>&6
3731 echo $ac_n "checking for seteuid""... $ac_c" 1>&6
3732 echo "configure:3733: checking for seteuid" >&5
3733 if eval "test \"`echo '$''{'ac_cv_func_seteuid'+set}'`\" = set"; then
3734 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3760 if { (eval echo configure:3761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3762 eval "ac_cv_func_seteuid=yes"
3764 echo "configure: failed program was:" >&5
3765 cat conftest.$ac_ext >&5
3767 eval "ac_cv_func_seteuid=no"
3772 if eval "test \"`echo '$ac_cv_func_'seteuid`\" = yes"; then
3773 echo "$ac_t""yes" 1>&6
3776 echo "$ac_t""no" 1>&6
3777 MISSING="${MISSING}seteuid.o "; for ac_func in setreuid setresuid
3779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3780 echo "configure:3781: checking for $ac_func" >&5
3781 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3782 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3808 if { (eval echo configure:3809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3810 eval "ac_cv_func_$ac_func=yes"
3812 echo "configure: failed program was:" >&5
3813 cat conftest.$ac_ext >&5
3815 eval "ac_cv_func_$ac_func=no"
3820 if 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
3828 echo "$ac_t""no" 1>&6
3834 echo $ac_n "checking for setutent""... $ac_c" 1>&6
3835 echo "configure:3836: checking for setutent" >&5
3836 if eval "test \"`echo '$''{'ac_cv_func_setutent'+set}'`\" = set"; then
3837 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3863 if { (eval echo configure:3864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3865 eval "ac_cv_func_setutent=yes"
3867 echo "configure: failed program was:" >&5
3868 cat conftest.$ac_ext >&5
3870 eval "ac_cv_func_setutent=no"
3875 if eval "test \"`echo '$ac_cv_func_'setutent`\" = yes"; then
3876 echo "$ac_t""yes" 1>&6
3879 echo "$ac_t""no" 1>&6
3880 MISSING="${MISSING}setutent.o "
3883 echo $ac_n "checking for sigprocmask""... $ac_c" 1>&6
3884 echo "configure:3885: checking for sigprocmask" >&5
3885 if eval "test \"`echo '$''{'ac_cv_func_sigprocmask'+set}'`\" = set"; then
3886 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3912 if { (eval echo configure:3913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3914 eval "ac_cv_func_sigprocmask=yes"
3916 echo "configure: failed program was:" >&5
3917 cat conftest.$ac_ext >&5
3919 eval "ac_cv_func_sigprocmask=no"
3924 if eval "test \"`echo '$ac_cv_func_'sigprocmask`\" = yes"; then
3925 echo "$ac_t""yes" 1>&6
3928 echo "$ac_t""no" 1>&6
3929 MISSING="${MISSING}sigprocmask.o "; for ac_func in sigblock sigsetmask
3931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3932 echo "configure:3933: checking for $ac_func" >&5
3933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3934 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
3960 if { (eval echo configure:3961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
3962 eval "ac_cv_func_$ac_func=yes"
3964 echo "configure: failed program was:" >&5
3965 cat conftest.$ac_ext >&5
3967 eval "ac_cv_func_$ac_func=no"
3972 if 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
3980 echo "$ac_t""no" 1>&6
3986 echo $ac_n "checking for strchr""... $ac_c" 1>&6
3987 echo "configure:3988: checking for strchr" >&5
3988 if eval "test \"`echo '$''{'ac_cv_func_strchr'+set}'`\" = set"; then
3989 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
4015 if { (eval echo configure:4016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4017 eval "ac_cv_func_strchr=yes"
4019 echo "configure: failed program was:" >&5
4020 cat conftest.$ac_ext >&5
4022 eval "ac_cv_func_strchr=no"
4027 if eval "test \"`echo '$ac_cv_func_'strchr`\" = yes"; then
4028 echo "$ac_t""yes" 1>&6
4031 echo "$ac_t""no" 1>&6
4032 MISSING="${MISSING}strchr.o "; for ac_func in index
4034 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4035 echo "configure:4036: checking for $ac_func" >&5
4036 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4037 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
4063 if { (eval echo configure:4064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4065 eval "ac_cv_func_$ac_func=yes"
4067 echo "configure: failed program was:" >&5
4068 cat conftest.$ac_ext >&5
4070 eval "ac_cv_func_$ac_func=no"
4075 if 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
4083 echo "$ac_t""no" 1>&6
4089 echo $ac_n "checking for strrchr""... $ac_c" 1>&6
4090 echo "configure:4091: checking for strrchr" >&5
4091 if eval "test \"`echo '$''{'ac_cv_func_strrchr'+set}'`\" = set"; then
4092 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
4118 if { (eval echo configure:4119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4120 eval "ac_cv_func_strrchr=yes"
4122 echo "configure: failed program was:" >&5
4123 cat conftest.$ac_ext >&5
4125 eval "ac_cv_func_strrchr=no"
4130 if eval "test \"`echo '$ac_cv_func_'strrchr`\" = yes"; then
4131 echo "$ac_t""yes" 1>&6
4134 echo "$ac_t""no" 1>&6
4135 MISSING="${MISSING}strrchr.o "; for ac_func in rindex
4137 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4138 echo "configure:4139: checking for $ac_func" >&5
4139 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4140 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
4166 if { (eval echo configure:4167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4168 eval "ac_cv_func_$ac_func=yes"
4170 echo "configure: failed program was:" >&5
4171 cat conftest.$ac_ext >&5
4173 eval "ac_cv_func_$ac_func=no"
4178 if 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
4186 echo "$ac_t""no" 1>&6
4192 echo $ac_n "checking for strtoul""... $ac_c" 1>&6
4193 echo "configure:4194: checking for strtoul" >&5
4194 if eval "test \"`echo '$''{'ac_cv_func_strtoul'+set}'`\" = set"; then
4195 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
4221 if { (eval echo configure:4222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4223 eval "ac_cv_func_strtoul=yes"
4225 echo "configure: failed program was:" >&5
4226 cat conftest.$ac_ext >&5
4228 eval "ac_cv_func_strtoul=no"
4233 if eval "test \"`echo '$ac_cv_func_'strtoul`\" = yes"; then
4234 echo "$ac_t""yes" 1>&6
4237 echo "$ac_t""no" 1>&6
4238 MISSING="${MISSING}strtoul.o "
4241 echo $ac_n "checking for sysconf""... $ac_c" 1>&6
4242 echo "configure:4243: checking for sysconf" >&5
4243 if eval "test \"`echo '$''{'ac_cv_func_sysconf'+set}'`\" = set"; then
4244 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
4270 if { (eval echo configure:4271: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4272 eval "ac_cv_func_sysconf=yes"
4274 echo "configure: failed program was:" >&5
4275 cat conftest.$ac_ext >&5
4277 eval "ac_cv_func_sysconf=no"
4282 if eval "test \"`echo '$ac_cv_func_'sysconf`\" = yes"; then
4283 echo "$ac_t""yes" 1>&6
4286 echo "$ac_t""no" 1>&6
4287 MISSING="${MISSING}sysconf.o "; for ac_func in getdtablesize
4289 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4290 echo "configure:4291: checking for $ac_func" >&5
4291 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4292 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
4318 if { (eval echo configure:4319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4320 eval "ac_cv_func_$ac_func=yes"
4322 echo "configure: failed program was:" >&5
4323 cat conftest.$ac_ext >&5
4325 eval "ac_cv_func_$ac_func=no"
4330 if 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
4338 echo "$ac_t""no" 1>&6
4344 echo $ac_n "checking for uname""... $ac_c" 1>&6
4345 echo "configure:4346: checking for uname" >&5
4346 if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
4347 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
4373 if { (eval echo configure:4374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4375 eval "ac_cv_func_uname=yes"
4377 echo "configure: failed program was:" >&5
4378 cat conftest.$ac_ext >&5
4380 eval "ac_cv_func_uname=no"
4385 if eval "test \"`echo '$ac_cv_func_'uname`\" = yes"; then
4386 echo "$ac_t""yes" 1>&6
4389 echo "$ac_t""no" 1>&6
4390 MISSING="${MISSING}uname.o "; for ac_func in gethostname
4392 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4393 echo "configure:4394: checking for $ac_func" >&5
4394 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4395 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
4421 if { (eval echo configure:4422: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4423 eval "ac_cv_func_$ac_func=yes"
4425 echo "configure: failed program was:" >&5
4426 cat conftest.$ac_ext >&5
4428 eval "ac_cv_func_$ac_func=no"
4433 if 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
4441 echo "$ac_t""no" 1>&6
4447 echo $ac_n "checking for unsetenv""... $ac_c" 1>&6
4448 echo "configure:4449: checking for unsetenv" >&5
4449 if eval "test \"`echo '$''{'ac_cv_func_unsetenv'+set}'`\" = set"; then
4450 echo $ac_n "(cached) $ac_c" 1>&6
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. */
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. */
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)
4476 if { (eval echo configure:4477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
4478 eval "ac_cv_func_unsetenv=yes"
4480 echo "configure: failed program was:" >&5
4481 cat conftest.$ac_ext >&5
4483 eval "ac_cv_func_unsetenv=no"
4488 if 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
4495 echo "$ac_t""no" 1>&6
4496 MISSING="${MISSING}env.o "
4501 echo $ac_n "checking for nonstandard gettimeofday""... $ac_c" 1>&6
4502 echo "configure:4503: checking for nonstandard gettimeofday" >&5
4503 cat > conftest.$ac_ext <<EOF
4504 #line 4505 "configure"
4505 #include "confdefs.h"
4508 #include <sys/time.h>
4509 #endif /* HAVE_SYS_TIME_H */
4512 #endif /* HAVE_UNISTD_H */
4516 gettimeofday(&tv, NULL)
4519 if { (eval echo configure:4520: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4521 echo "$ac_t""no" 1>&6
4523 echo "configure: failed program was:" >&5
4524 cat conftest.$ac_ext >&5
4526 echo "$ac_t""maybe" 1>&6 cat > conftest.$ac_ext <<EOF
4527 #line 4528 "configure"
4528 #include "confdefs.h"
4531 #include <sys/time.h>
4532 #endif /* HAVE_SYS_TIME_H */
4535 #endif /* HAVE_UNISTD_H */
4542 if { (eval echo configure:4543: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4544 cat >> confdefs.h <<\EOF
4545 #define HAVE_ONE_ARG_GETTIMEOFDAY 1
4547 echo "$ac_t""yes" 1>&6
4549 echo "configure: failed program was:" >&5
4550 cat conftest.$ac_ext >&5
4552 echo "$ac_t""no" 1>&6
4558 # Munge out LOCALBIN and LOCALMAN in canonical (no bletch) form
4560 cat > 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.
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.
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.
4582 case `(ac_space=' '; set) 2>&1` in
4584 # `set' does not quote correctly, so add quotes (double-quote substitution
4585 # turns \\\\ into \\, and sed turns \\ into \).
4587 -e "s/'/'\\\\''/g" \
4588 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
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'
4595 if cmp -s $cache_file confcache; then
4598 if test -w $cache_file; then
4599 echo "updating cache $cache_file"
4600 cat confcache > $cache_file
4602 echo "not updating unwritable cache $cache_file"
4607 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
4609 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4610 # Let make expand exec_prefix.
4611 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
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.
4616 if test "x$srcdir" = x.; then
4617 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
4620 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
4622 DEFS=-DHAVE_CONFIG_H
4624 # Without the "./", some shells look in PATH for config.status.
4625 : ${CONFIG_STATUS=./config.status}
4627 echo creating $CONFIG_STATUS
4628 rm -f $CONFIG_STATUS
4629 cat > $CONFIG_STATUS <<EOF
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`:
4636 # $0 $ac_configure_args
4638 # Compiler output produced by configure, useful for debugging
4639 # configure, is in ./config.log if it exists.
4641 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
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"
4651 -help | --help | --hel | --he | --h)
4652 echo "\$ac_cs_usage"; exit 0 ;;
4653 *) echo "\$ac_cs_usage"; exit 1 ;;
4657 ac_given_srcdir=$srcdir
4659 trap 'rm -fr `echo "configure.munger libmissing/Makefile libopie/Makefile Makefile.munge:Makefile.in config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
4661 cat >> $CONFIG_STATUS <<EOF
4663 # Protect against being on the right side of a sed subst in config.status.
4664 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
4665 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
4668 s%@CFLAGS@%$CFLAGS%g
4669 s%@CPPFLAGS@%$CPPFLAGS%g
4670 s%@CXXFLAGS@%$CXXFLAGS%g
4672 s%@LDFLAGS@%$LDFLAGS%g
4674 s%@exec_prefix@%$exec_prefix%g
4675 s%@prefix@%$prefix%g
4676 s%@program_transform_name@%$program_transform_name%g
4677 s%@bindir@%$bindir%g
4678 s%@sbindir@%$sbindir%g
4679 s%@libexecdir@%$libexecdir%g
4680 s%@datadir@%$datadir%g
4681 s%@sysconfdir@%$sysconfdir%g
4682 s%@sharedstatedir@%$sharedstatedir%g
4683 s%@localstatedir@%$localstatedir%g
4684 s%@libdir@%$libdir%g
4685 s%@includedir@%$includedir%g
4686 s%@oldincludedir@%$oldincludedir%g
4687 s%@infodir@%$infodir%g
4688 s%@mandir@%$mandir%g
4689 s%@ACCESS_FILE@%$ACCESS_FILE%g
4690 s%@LOCK_DIR@%$LOCK_DIR%g
4694 s%@RANLIB@%$RANLIB%g
4698 s%@ALT_SU@%$ALT_SU%g
4699 s%@SCHEME@%$SCHEME%g
4702 s%@INFTPD@%$INFTPD%g
4703 s%@EXISTS@%$EXISTS%g
4705 s%@LIBOBJS@%$LIBOBJS%g
4706 s%@ALLOCA@%$ALLOCA%g
4707 s%@MISSING@%$MISSING%g
4712 cat >> $CONFIG_STATUS <<\EOF
4714 # Split the substitutions into bite-sized pieces for seds with
4715 # small command number limits, like on Digital OSF/1 and HP-UX.
4716 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
4717 ac_file=1 # Number of current file.
4718 ac_beg=1 # First line for current file.
4719 ac_end=$ac_max_sed_cmds # Line after last line for current file.
4722 while $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
4726 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
4728 if test ! -s conftest.s$ac_file; then
4730 rm -f conftest.s$ac_file
4732 if test -z "$ac_sed_cmds"; then
4733 ac_sed_cmds="sed -f conftest.s$ac_file"
4735 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
4737 ac_file=`expr $ac_file + 1`
4739 ac_end=`expr $ac_end + $ac_max_sed_cmds`
4742 if test -z "$ac_sed_cmds"; then
4747 cat >> $CONFIG_STATUS <<EOF
4749 CONFIG_FILES=\${CONFIG_FILES-"configure.munger libmissing/Makefile libopie/Makefile Makefile.munge:Makefile.in"}
4751 cat >> $CONFIG_STATUS <<\EOF
4752 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
4753 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.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" ;;
4760 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
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'`
4771 ac_dir_suffix= ac_dots=
4774 case "$ac_given_srcdir" in
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" ;;
4780 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
4781 top_srcdir="$ac_dots$ac_given_srcdir" ;;
4785 echo creating "$ac_file"
4787 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
4789 *Makefile*) ac_comsub="1i\\
4790 # $configure_input" ;;
4794 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
4796 s%@configure_input@%$configure_input%g
4797 s%@srcdir@%$srcdir%g
4798 s%@top_srcdir@%$top_srcdir%g
4799 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
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.
4806 # ac_d sets the value in "#define NAME VALUE" lines.
4807 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4808 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
4811 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
4812 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4813 ac_uB='\([ ]\)%\1#\2define\3'
4816 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4817 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4818 ac_eB='$%\1#\2define\3'
4822 if test "${CONFIG_HEADERS+set}" != set; then
4824 cat >> $CONFIG_STATUS <<EOF
4825 CONFIG_HEADERS="config.h"
4827 cat >> $CONFIG_STATUS <<\EOF
4829 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
4830 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.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" ;;
4837 echo creating $ac_file
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
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.
4850 cat > conftest.hdr <<\EOF
4853 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
4857 sed -n -f conftest.hdr confdefs.h > conftest.vals
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.
4863 cat >> conftest.vals <<\EOF
4864 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
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.
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
4880 sed -f conftest.frag conftest.in > conftest.out
4882 mv conftest.out conftest.in
4884 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
4886 mv conftest.tail conftest.vals
4890 cat >> $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
4895 if cmp -s $ac_file conftest.h 2>/dev/null; then
4896 echo "$ac_file is unchanged"
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"
4906 mv conftest.h $ac_file
4911 cat >> $CONFIG_STATUS <<EOF
4914 cat >> $CONFIG_STATUS <<\EOF
4918 chmod +x $CONFIG_STATUS
4919 rm -fr confdefs* $ac_clean_files
4920 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1