3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
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 --enable-opieauto Enable support for opieauto"
41 # Initialize some variables set by options.
42 # The variables have the same names as the options, with
43 # dashes changed to underlines.
45 cache_file
=.
/config.cache
54 program_transform_name
=s
,x
,x
,
62 bindir
='${exec_prefix}/bin'
63 sbindir
='${exec_prefix}/sbin'
64 libexecdir
='${exec_prefix}/libexec'
65 datadir
='${prefix}/share'
66 sysconfdir
='${prefix}/etc'
67 sharedstatedir
='${prefix}/com'
68 localstatedir
='${prefix}/var'
69 libdir
='${exec_prefix}/lib'
70 includedir
='${prefix}/include'
71 oldincludedir
='/usr/include'
72 infodir
='${prefix}/info'
73 mandir
='${prefix}/man'
75 # Initialize some other variables.
78 SHELL
=${CONFIG_SHELL-/bin/sh}
79 # Maximum number of lines to put in a shell here document.
86 # If the previous option needs an argument, assign it.
87 if test -n "$ac_prev"; then
88 eval "$ac_prev=\$ac_option"
94 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
98 # Accept the important Cygnus configure options, so we can diagnose typos.
102 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
104 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
105 bindir
="$ac_optarg" ;;
107 -build |
--build |
--buil |
--bui |
--bu)
109 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
110 build
="$ac_optarg" ;;
112 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
113 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
114 ac_prev
=cache_file
;;
115 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
116 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
117 cache_file
="$ac_optarg" ;;
119 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
121 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
123 datadir
="$ac_optarg" ;;
125 -disable-* |
--disable-*)
126 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
127 # Reject names that are not valid shell variable names.
128 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
129 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
131 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
132 eval "enable_${ac_feature}=no" ;;
134 -enable-* |
--enable-*)
135 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
136 # Reject names that are not valid shell variable names.
137 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
138 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
140 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
145 eval "enable_${ac_feature}='$ac_optarg'" ;;
147 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
148 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
149 |
--exec |
--exe |
--ex)
150 ac_prev
=exec_prefix
;;
151 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
152 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
153 |
--exec=* |
--exe=* |
--ex=*)
154 exec_prefix
="$ac_optarg" ;;
156 -gas |
--gas |
--ga |
--g)
157 # Obsolete; use --with-gas.
160 -help |
--help |
--hel |
--he)
161 # Omit some internal or obsolete options to make the list less imposing.
162 # This message is too long to be a string in the A/UX 3.1 sh.
164 Usage: configure [options] [host]
165 Options: [defaults in brackets after descriptions]
167 --cache-file=FILE cache test results in FILE
168 --help print this message
169 --no-create do not create output files
170 --quiet, --silent do not print \`checking...' messages
171 --version print the version of autoconf that created configure
172 Directory and file names:
173 --prefix=PREFIX install architecture-independent files in PREFIX
175 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
177 --bindir=DIR user executables in DIR [EPREFIX/bin]
178 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
179 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
180 --datadir=DIR read-only architecture-independent data in DIR
182 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
183 --sharedstatedir=DIR modifiable architecture-independent data in DIR
185 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
186 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
187 --includedir=DIR C header files in DIR [PREFIX/include]
188 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
189 --infodir=DIR info documentation in DIR [PREFIX/info]
190 --mandir=DIR man documentation in DIR [PREFIX/man]
191 --srcdir=DIR find the sources in DIR [configure dir or ..]
192 --program-prefix=PREFIX prepend PREFIX to installed program names
193 --program-suffix=SUFFIX append SUFFIX to installed program names
194 --program-transform-name=PROGRAM
195 run sed PROGRAM on installed program names
199 --build=BUILD configure for building on BUILD [BUILD=HOST]
200 --host=HOST configure for HOST [guessed]
201 --target=TARGET configure for TARGET [TARGET=HOST]
202 Features and packages:
203 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
204 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
205 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
206 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
207 --x-includes=DIR X include files are in DIR
208 --x-libraries=DIR X library files are in DIR
210 if test -n "$ac_help"; then
211 echo "--enable and --with options recognized:$ac_help"
215 -host |
--host |
--hos |
--ho)
217 -host=* |
--host=* |
--hos=* |
--ho=*)
220 -includedir |
--includedir |
--includedi |
--included |
--include \
221 |
--includ |
--inclu |
--incl |
--inc)
222 ac_prev
=includedir
;;
223 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
224 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
225 includedir
="$ac_optarg" ;;
227 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
229 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
230 infodir
="$ac_optarg" ;;
232 -libdir |
--libdir |
--libdi |
--libd)
234 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
235 libdir
="$ac_optarg" ;;
237 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
238 |
--libexe |
--libex |
--libe)
239 ac_prev
=libexecdir
;;
240 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
241 |
--libexe=* |
--libex=* |
--libe=*)
242 libexecdir
="$ac_optarg" ;;
244 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
245 |
--localstate |
--localstat |
--localsta |
--localst \
246 |
--locals |
--local |
--loca |
--loc |
--lo)
247 ac_prev
=localstatedir
;;
248 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
249 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
250 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
251 localstatedir
="$ac_optarg" ;;
253 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
255 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
256 mandir
="$ac_optarg" ;;
259 # Obsolete; use --without-fp.
262 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
266 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
267 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
270 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
271 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
272 |
--oldin |
--oldi |
--old |
--ol |
--o)
273 ac_prev
=oldincludedir
;;
274 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
275 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
276 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
277 oldincludedir
="$ac_optarg" ;;
279 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
281 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
282 prefix
="$ac_optarg" ;;
284 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
285 |
--program-pre |
--program-pr |
--program-p)
286 ac_prev
=program_prefix
;;
287 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
288 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
289 program_prefix
="$ac_optarg" ;;
291 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
292 |
--program-suf |
--program-su |
--program-s)
293 ac_prev
=program_suffix
;;
294 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
295 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
296 program_suffix
="$ac_optarg" ;;
298 -program-transform-name |
--program-transform-name \
299 |
--program-transform-nam |
--program-transform-na \
300 |
--program-transform-n |
--program-transform- \
301 |
--program-transform |
--program-transfor \
302 |
--program-transfo |
--program-transf \
303 |
--program-trans |
--program-tran \
304 |
--progr-tra |
--program-tr |
--program-t)
305 ac_prev
=program_transform_name
;;
306 -program-transform-name=* |
--program-transform-name=* \
307 |
--program-transform-nam=* |
--program-transform-na=* \
308 |
--program-transform-n=* |
--program-transform-=* \
309 |
--program-transform=* |
--program-transfor=* \
310 |
--program-transfo=* |
--program-transf=* \
311 |
--program-trans=* |
--program-tran=* \
312 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
313 program_transform_name
="$ac_optarg" ;;
315 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
316 |
-silent |
--silent |
--silen |
--sile |
--sil)
319 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
321 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
323 sbindir
="$ac_optarg" ;;
325 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
326 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
327 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
329 ac_prev
=sharedstatedir
;;
330 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
331 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
332 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
334 sharedstatedir
="$ac_optarg" ;;
336 -site |
--site |
--sit)
338 -site=* |
--site=* |
--sit=*)
341 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
343 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
344 srcdir
="$ac_optarg" ;;
346 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
347 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
348 ac_prev
=sysconfdir
;;
349 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
350 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
351 sysconfdir
="$ac_optarg" ;;
353 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
355 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
356 target
="$ac_optarg" ;;
358 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
361 -version |
--version |
--versio |
--versi |
--vers)
362 echo "configure generated by autoconf version 2.13"
366 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
367 # Reject names that are not valid shell variable names.
368 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
369 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
371 ac_package
=`echo $ac_package| sed 's/-/_/g'`
376 eval "with_${ac_package}='$ac_optarg'" ;;
378 -without-* |
--without-*)
379 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
380 # Reject names that are not valid shell variable names.
381 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
382 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
384 ac_package
=`echo $ac_package| sed 's/-/_/g'`
385 eval "with_${ac_package}=no" ;;
388 # Obsolete; use --with-x.
391 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
392 |
--x-incl |
--x-inc |
--x-in |
--x-i)
393 ac_prev
=x_includes
;;
394 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
395 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
396 x_includes
="$ac_optarg" ;;
398 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
399 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
400 ac_prev
=x_libraries
;;
401 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
402 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
403 x_libraries
="$ac_optarg" ;;
405 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
409 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
410 echo "configure: warning: $ac_option: invalid host type" 1>&2
412 if test "x$nonopt" != xNONE
; then
413 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
421 if test -n "$ac_prev"; then
422 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
425 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
427 # File descriptor usage:
430 # 2 errors and warnings
431 # 3 some systems may open it to /dev/tty
432 # 4 used on the Kubota Titan
433 # 6 checking for... messages and results
434 # 5 compiler messages saved in config.log
435 if test "$silent" = yes; then
443 This file contains any messages produced by compilers while
444 running configure, to aid debugging if configure makes a mistake.
447 # Strip out --no-create and --no-recursion so they do not pile up.
448 # Also quote any args containing shell metacharacters.
453 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
454 |
--no-cr |
--no-c) ;;
455 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
456 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
457 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
458 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
459 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
464 # Only set these to C if already set. These must not be set unconditionally
465 # because not all systems understand e.g. LANG=C (notably SCO).
466 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
467 # Non-C LC_CTYPE values break the ctype check.
468 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
469 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
470 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
471 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
473 # confdefs.h avoids OS command line length limits that DEFS can exceed.
474 rm -rf conftest
* confdefs.h
475 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
478 # A filename unique to this package, relative to the directory that
479 # configure is in, which we can look for to find out if srcdir is correct.
480 ac_unique_file
=README
482 # Find the source files, if location was not specified.
483 if test -z "$srcdir"; then
484 ac_srcdir_defaulted
=yes
485 # Try the directory containing this script, then its parent.
487 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
488 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
490 if test ! -r $srcdir/$ac_unique_file; then
494 ac_srcdir_defaulted
=no
496 if test ! -r $srcdir/$ac_unique_file; then
497 if test "$ac_srcdir_defaulted" = yes; then
498 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
500 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
503 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
505 # Prefer explicitly selected file to automatically selected ones.
506 if test -z "$CONFIG_SITE"; then
507 if test "x$prefix" != xNONE
; then
508 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
510 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
513 for ac_site_file
in $CONFIG_SITE; do
514 if test -r "$ac_site_file"; then
515 echo "loading site script $ac_site_file"
520 if test -r "$cache_file"; then
521 echo "loading cache $cache_file"
524 echo "creating cache $cache_file"
529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
530 ac_cpp
='$CPP $CPPFLAGS'
531 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
532 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
533 cross_compiling
=$ac_cv_prog_cc_cross
537 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
538 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
539 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
546 ac_n
= ac_c
='\c' ac_t
=
551 # Check whether --enable-access-file or --disable-access-file was given.
552 if test "${enable_access_file+set}" = set; then
553 enableval
="$enable_access_file"
554 cat >> confdefs.h
<<EOF
555 #define PATH_ACCESS_FILE "$enable_access_file"
557 echo "Using the access file in $enable_access_file -- don't say we didn't warn you!"
560 ACCESS_FILE
="$enable_access_file"
562 # Check whether --enable-server-md4 or --disable-server-md4 was given.
563 if test "${enable_server_md4+set}" = set; then
564 enableval
="$enable_server_md4"
565 cat >> confdefs.h
<<\EOF
570 cat >> confdefs.h
<<\EOF
577 # Check whether --enable-user-locking or --disable-user-locking was given.
578 if test "${enable_user_locking+set}" = set; then
579 enableval
="$enable_user_locking"
583 if test "$enable_user_locking" != no
;
585 if test -z "$enable_user_locking"
587 cat >> confdefs.h
<<\EOF
588 #define OPIE_LOCK_DIR "/etc/opielocks"
591 LOCK_DIR
="/etc/opielocks"
593 cat >> confdefs.h
<<EOF
594 #define OPIE_LOCK_DIR "$enable_user_locking"
597 LOCK_DIR
="$enable_user_locking"
602 # Check whether --enable-retype or --disable-retype was given.
603 if test "${enable_retype+set}" = set; then
604 enableval
="$enable_retype"
605 cat >> confdefs.h
<<\EOF
611 # Check whether --enable-su-star-check or --disable-su-star-check was given.
612 if test "${enable_su_star_check+set}" = set; then
613 enableval
="$enable_su_star_check"
614 cat >> confdefs.h
<<\EOF
615 #define SU_STAR_CHECK 1
620 # Check whether --enable-new-prompts or --disable-new-prompts was given.
621 if test "${enable_new_prompts+set}" = set; then
622 enableval
="$enable_new_prompts"
625 cat >> confdefs.h
<<\EOF
626 #define NEW_PROMPTS 1
631 # Check whether --enable-insecure-override or --disable-insecure-override was given.
632 if test "${enable_insecure_override+set}" = set; then
633 enableval
="$enable_insecure_override"
634 cat >> confdefs.h
<<\EOF
635 #define INSECURE_OVERRIDE 1
640 # Check whether --enable-anonymous-ftp or --disable-anonymous-ftp was given.
641 if test "${enable_anonymous_ftp+set}" = set; then
642 enableval
="$enable_anonymous_ftp"
643 cat >> confdefs.h
<<\EOF
644 #define DOANONYMOUS 1
646 echo "enabling anonymous FTP support in ftp -- don't say we didn't warn you!"
649 # Check whether --enable-utmp or --disable-utmp was given.
650 if test "${enable_utmp+set}" = set; then
651 enableval
="$enable_utmp"
652 cat >> confdefs.h
<<\EOF
653 #define DISABLE_UTMP 1
655 echo "disabling utmp logging"
658 # Check whether --enable-wtmp or --disable-wtmp was given.
659 if test "${enable_wtmp+set}" = set; then
660 enableval
="$enable_wtmp"
661 cat >> confdefs.h
<<\EOF
662 #define DISABLE_WTMP 1
664 echo "disabling wtmp logging"
667 # Check whether --enable-opieauto or --disable-opieauto was given.
668 if test "${enable_opieauto+set}" = set; then
669 enableval
="$enable_opieauto"
670 cat >> confdefs.h
<<\EOF
673 OPIEAUTO
=opieauto
; echo "enabling opieauto support"
678 # Extract the first word of "gcc", so it can be a program name with args.
679 set dummy gcc
; ac_word
=$2
680 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
681 echo "configure:682: checking for $ac_word" >&5
682 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
683 echo $ac_n "(cached) $ac_c" 1>&6
685 if test -n "$CC"; then
686 ac_cv_prog_CC
="$CC" # Let the user override the test.
688 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
690 for ac_dir
in $ac_dummy; do
691 test -z "$ac_dir" && ac_dir
=.
692 if test -f $ac_dir/$ac_word; then
701 if test -n "$CC"; then
702 echo "$ac_t""$CC" 1>&6
704 echo "$ac_t""no" 1>&6
707 if test -z "$CC"; then
708 # Extract the first word of "cc", so it can be a program name with args.
709 set dummy cc
; ac_word
=$2
710 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
711 echo "configure:712: checking for $ac_word" >&5
712 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
713 echo $ac_n "(cached) $ac_c" 1>&6
715 if test -n "$CC"; then
716 ac_cv_prog_CC
="$CC" # Let the user override the test.
718 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
721 for ac_dir
in $ac_dummy; do
722 test -z "$ac_dir" && ac_dir
=.
723 if test -f $ac_dir/$ac_word; then
724 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
733 if test $ac_prog_rejected = yes; then
734 # We found a bogon in the path, so make sure we never use it.
735 set dummy
$ac_cv_prog_CC
737 if test $# -gt 0; then
738 # We chose a different compiler from the bogus one.
739 # However, it has the same basename, so the bogon will be chosen
740 # first if we set CC to just the basename; use the full file name.
742 set dummy
"$ac_dir/$ac_word" "$@"
750 if test -n "$CC"; then
751 echo "$ac_t""$CC" 1>&6
753 echo "$ac_t""no" 1>&6
756 if test -z "$CC"; then
759 # Extract the first word of "cl", so it can be a program name with args.
760 set dummy cl
; ac_word
=$2
761 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
762 echo "configure:763: checking for $ac_word" >&5
763 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
764 echo $ac_n "(cached) $ac_c" 1>&6
766 if test -n "$CC"; then
767 ac_cv_prog_CC
="$CC" # Let the user override the test.
769 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
771 for ac_dir
in $ac_dummy; do
772 test -z "$ac_dir" && ac_dir
=.
773 if test -f $ac_dir/$ac_word; then
782 if test -n "$CC"; then
783 echo "$ac_t""$CC" 1>&6
785 echo "$ac_t""no" 1>&6
790 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
793 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
794 echo "configure:795: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
797 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
798 ac_cpp
='$CPP $CPPFLAGS'
799 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
800 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
801 cross_compiling
=$ac_cv_prog_cc_cross
803 cat > conftest.
$ac_ext << EOF
805 #line 806 "configure"
806 #include "confdefs.h"
810 if { (eval echo configure
:811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
811 ac_cv_prog_cc_works
=yes
812 # If we can't run a trivial program, we are probably using a cross compiler.
813 if (.
/conftest
; exit) 2>/dev
/null
; then
814 ac_cv_prog_cc_cross
=no
816 ac_cv_prog_cc_cross
=yes
819 echo "configure: failed program was:" >&5
820 cat conftest.
$ac_ext >&5
821 ac_cv_prog_cc_works
=no
825 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
826 ac_cpp
='$CPP $CPPFLAGS'
827 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
828 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
829 cross_compiling
=$ac_cv_prog_cc_cross
831 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
832 if test $ac_cv_prog_cc_works = no
; then
833 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
835 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
836 echo "configure:837: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
837 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
838 cross_compiling
=$ac_cv_prog_cc_cross
840 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
841 echo "configure:842: checking whether we are using GNU C" >&5
842 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
843 echo $ac_n "(cached) $ac_c" 1>&6
845 cat > conftest.c
<<EOF
850 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
857 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
859 if test $ac_cv_prog_gcc = yes; then
865 ac_test_CFLAGS
="${CFLAGS+set}"
866 ac_save_CFLAGS
="$CFLAGS"
868 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
869 echo "configure:870: checking whether ${CC-cc} accepts -g" >&5
870 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
871 echo $ac_n "(cached) $ac_c" 1>&6
873 echo 'void f(){}' > conftest.c
874 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
883 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
884 if test "$ac_test_CFLAGS" = set; then
885 CFLAGS
="$ac_save_CFLAGS"
886 elif test $ac_cv_prog_cc_g = yes; then
887 if test "$GCC" = yes; then
893 if test "$GCC" = yes; then
900 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
901 echo "configure:902: checking how to run the C preprocessor" >&5
902 # On Suns, sometimes $CPP names a directory.
903 if test -n "$CPP" && test -d "$CPP"; then
906 if test -z "$CPP"; then
907 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
908 echo $ac_n "(cached) $ac_c" 1>&6
910 # This must be in double quotes, not single quotes, because CPP may get
911 # substituted into the Makefile and "${CC-cc}" will confuse make.
913 # On the NeXT, cc -E runs the code through the compiler's parser,
914 # not just through cpp.
915 cat > conftest.
$ac_ext <<EOF
916 #line 917 "configure"
917 #include "confdefs.h"
921 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
922 { (eval echo configure
:923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
923 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
924 if test -z "$ac_err"; then
928 echo "configure: failed program was:" >&5
929 cat conftest.
$ac_ext >&5
931 CPP
="${CC-cc} -E -traditional-cpp"
932 cat > conftest.
$ac_ext <<EOF
933 #line 934 "configure"
934 #include "confdefs.h"
938 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
939 { (eval echo configure
:940: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
940 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
941 if test -z "$ac_err"; then
945 echo "configure: failed program was:" >&5
946 cat conftest.
$ac_ext >&5
948 CPP
="${CC-cc} -nologo -E"
949 cat > conftest.
$ac_ext <<EOF
950 #line 951 "configure"
951 #include "confdefs.h"
955 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
956 { (eval echo configure
:957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
957 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
958 if test -z "$ac_err"; then
962 echo "configure: failed program was:" >&5
963 cat conftest.
$ac_ext >&5
972 ac_cv_prog_CPP
="$CPP"
974 CPP
="$ac_cv_prog_CPP"
976 ac_cv_prog_CPP
="$CPP"
978 echo "$ac_t""$CPP" 1>&6
980 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
981 echo "configure:982: checking whether ln -s works" >&5
982 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
983 echo $ac_n "(cached) $ac_c" 1>&6
986 if ln -s X conftestdata
2>/dev
/null
989 ac_cv_prog_LN_S
="ln -s"
994 LN_S
="$ac_cv_prog_LN_S"
995 if test "$ac_cv_prog_LN_S" = "ln -s"; then
996 echo "$ac_t""yes" 1>&6
998 echo "$ac_t""no" 1>&6
1001 # Extract the first word of "ranlib", so it can be a program name with args.
1002 set dummy ranlib
; ac_word
=$2
1003 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1004 echo "configure:1005: checking for $ac_word" >&5
1005 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1006 echo $ac_n "(cached) $ac_c" 1>&6
1008 if test -n "$RANLIB"; then
1009 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1011 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1013 for ac_dir
in $ac_dummy; do
1014 test -z "$ac_dir" && ac_dir
=.
1015 if test -f $ac_dir/$ac_word; then
1016 ac_cv_prog_RANLIB
="ranlib"
1021 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1024 RANLIB
="$ac_cv_prog_RANLIB"
1025 if test -n "$RANLIB"; then
1026 echo "$ac_t""$RANLIB" 1>&6
1028 echo "$ac_t""no" 1>&6
1031 for ac_prog
in 'bison -y' byacc
1033 # Extract the first word of "$ac_prog", so it can be a program name with args.
1034 set dummy
$ac_prog; ac_word
=$2
1035 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1036 echo "configure:1037: checking for $ac_word" >&5
1037 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
1038 echo $ac_n "(cached) $ac_c" 1>&6
1040 if test -n "$YACC"; then
1041 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
1043 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1045 for ac_dir
in $ac_dummy; do
1046 test -z "$ac_dir" && ac_dir
=.
1047 if test -f $ac_dir/$ac_word; then
1048 ac_cv_prog_YACC
="$ac_prog"
1055 YACC
="$ac_cv_prog_YACC"
1056 if test -n "$YACC"; then
1057 echo "$ac_t""$YACC" 1>&6
1059 echo "$ac_t""no" 1>&6
1062 test -n "$YACC" && break
1064 test -n "$YACC" || YACC
="yacc"
1067 echo $ac_n "checking for AIX""... $ac_c" 1>&6
1068 echo "configure:1069: checking for AIX" >&5
1069 cat > conftest.
$ac_ext <<EOF
1070 #line 1071 "configure"
1071 #include "confdefs.h"
1077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1078 egrep "yes" >/dev
/null
2>&1; then
1080 echo "$ac_t""yes" 1>&6; cat >> confdefs.h
<<\EOF
1081 #define _ALL_SOURCE 1
1086 echo "$ac_t""no" 1>&6
1091 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1092 echo "configure:1093: checking for POSIXized ISC" >&5
1093 if test -d /etc
/conf
/kconfig.d
&&
1094 grep _POSIX_VERSION
/usr
/include
/sys
/unistd.h
>/dev
/null
2>&1
1096 echo "$ac_t""yes" 1>&6
1097 ISC
=yes # If later tests want to check for ISC.
1098 cat >> confdefs.h
<<\EOF
1099 #define _POSIX_SOURCE 1
1102 if test "$GCC" = yes; then
1108 echo "$ac_t""no" 1>&6
1112 ac_safe
=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
1113 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
1114 echo "configure:1115: checking for minix/config.h" >&5
1115 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1116 echo $ac_n "(cached) $ac_c" 1>&6
1118 cat > conftest.
$ac_ext <<EOF
1119 #line 1120 "configure"
1120 #include "confdefs.h"
1121 #include <minix/config.h>
1123 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1124 { (eval echo configure
:1125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1125 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1126 if test -z "$ac_err"; then
1128 eval "ac_cv_header_$ac_safe=yes"
1131 echo "configure: failed program was:" >&5
1132 cat conftest.
$ac_ext >&5
1134 eval "ac_cv_header_$ac_safe=no"
1138 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1139 echo "$ac_t""yes" 1>&6
1142 echo "$ac_t""no" 1>&6
1146 if test "$MINIX" = yes; then
1147 cat >> confdefs.h
<<\EOF
1148 #define _POSIX_SOURCE 1
1151 cat >> confdefs.h
<<\EOF
1152 #define _POSIX_1_SOURCE 2
1155 cat >> confdefs.h
<<\EOF
1163 # Extract the first word of "chown", so it can be a program name with args.
1164 set dummy chown
; ac_word
=$2
1165 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1166 echo "configure:1167: checking for $ac_word" >&5
1167 if eval "test \"`echo '$''{'ac_cv_path_CHOWN'+set}'`\" = set"; then
1168 echo $ac_n "(cached) $ac_c" 1>&6
1172 ac_cv_path_CHOWN
="$CHOWN" # Let the user override the test with a path.
1175 ac_cv_path_CHOWN
="$CHOWN" # Let the user override the test with a dos path.
1178 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1179 ac_dummy
="/usr/bin /bin /usr/sbin /sbin /usr/etc /etc"
1180 for ac_dir
in $ac_dummy; do
1181 test -z "$ac_dir" && ac_dir
=.
1182 if test -f $ac_dir/$ac_word; then
1183 ac_cv_path_CHOWN
="$ac_dir/$ac_word"
1188 test -z "$ac_cv_path_CHOWN" && ac_cv_path_CHOWN
="/bin/chown"
1192 CHOWN
="$ac_cv_path_CHOWN"
1193 if test -n "$CHOWN"; then
1194 echo "$ac_t""$CHOWN" 1>&6
1196 echo "$ac_t""no" 1>&6
1200 # Extract the first word of "su", so it can be a program name with args.
1201 set dummy su
; ac_word
=$2
1202 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1203 echo "configure:1204: checking for $ac_word" >&5
1204 if eval "test \"`echo '$''{'ac_cv_path_SU'+set}'`\" = set"; then
1205 echo $ac_n "(cached) $ac_c" 1>&6
1209 ac_cv_path_SU
="$SU" # Let the user override the test with a path.
1212 ac_cv_path_SU
="$SU" # Let the user override the test with a dos path.
1215 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1216 ac_dummy
="/usr/bin /bin"
1217 for ac_dir
in $ac_dummy; do
1218 test -z "$ac_dir" && ac_dir
=.
1219 if test -f $ac_dir/$ac_word; then
1220 ac_cv_path_SU
="$ac_dir/$ac_word"
1225 test -z "$ac_cv_path_SU" && ac_cv_path_SU
="/bin/su"
1230 if test -n "$SU"; then
1231 echo "$ac_t""$SU" 1>&6
1233 echo "$ac_t""no" 1>&6
1236 # Extract the first word of "su", so it can be a program name with args.
1237 set dummy su
; ac_word
=$2
1238 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1239 echo "configure:1240: checking for $ac_word" >&5
1240 if eval "test \"`echo '$''{'ac_cv_path_ALT_SU'+set}'`\" = set"; then
1241 echo $ac_n "(cached) $ac_c" 1>&6
1245 ac_cv_path_ALT_SU
="$ALT_SU" # Let the user override the test with a path.
1248 ac_cv_path_ALT_SU
="$ALT_SU" # Let the user override the test with a dos path.
1251 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1252 ac_dummy
="/usr/sbin /sbin"
1253 for ac_dir
in $ac_dummy; do
1254 test -z "$ac_dir" && ac_dir
=.
1255 if test -f $ac_dir/$ac_word; then
1256 ac_cv_path_ALT_SU
="$ac_dir/$ac_word"
1264 ALT_SU
="$ac_cv_path_ALT_SU"
1265 if test -n "$ALT_SU"; then
1266 echo "$ac_t""$ALT_SU" 1>&6
1268 echo "$ac_t""no" 1>&6
1272 # Extract the first word of "scheme", so it can be a program name with args.
1273 set dummy scheme
; 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_SCHEME'+set}'`\" = set"; then
1277 echo $ac_n "(cached) $ac_c" 1>&6
1281 ac_cv_path_SCHEME
="$SCHEME" # Let the user override the test with a path.
1284 ac_cv_path_SCHEME
="$SCHEME" # Let the user override the test with a dos path.
1287 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1288 ac_dummy
="/usr/lib/iaf/scheme"
1289 for ac_dir
in $ac_dummy; do
1290 test -z "$ac_dir" && ac_dir
=.
1291 if test -f $ac_dir/$ac_word; then
1292 ac_cv_path_SCHEME
="$ac_dir/$ac_word"
1300 SCHEME
="$ac_cv_path_SCHEME"
1301 if test -n "$SCHEME"; then
1302 echo "$ac_t""$SCHEME" 1>&6
1304 echo "$ac_t""no" 1>&6
1307 # Extract the first word of "login", so it can be a program name with args.
1308 set dummy login
; ac_word
=$2
1309 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1310 echo "configure:1311: checking for $ac_word" >&5
1311 if eval "test \"`echo '$''{'ac_cv_path_LOGIN'+set}'`\" = set"; then
1312 echo $ac_n "(cached) $ac_c" 1>&6
1316 ac_cv_path_LOGIN
="$LOGIN" # Let the user override the test with a path.
1319 ac_cv_path_LOGIN
="$LOGIN" # Let the user override the test with a dos path.
1322 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1323 ac_dummy
="/usr/bin /bin"
1324 for ac_dir
in $ac_dummy; do
1325 test -z "$ac_dir" && ac_dir
=.
1326 if test -f $ac_dir/$ac_word; then
1327 ac_cv_path_LOGIN
="$ac_dir/$ac_word"
1332 test -z "$ac_cv_path_LOGIN" && ac_cv_path_LOGIN
="/bin/login"
1336 LOGIN
="$ac_cv_path_LOGIN"
1337 if test -n "$LOGIN"; then
1338 echo "$ac_t""$LOGIN" 1>&6
1340 echo "$ac_t""no" 1>&6
1344 if test ! -z "$SCHEME";
1349 # Extract the first word of "ftpd", so it can be a program name with args.
1350 set dummy ftpd
; ac_word
=$2
1351 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1352 echo "configure:1353: checking for $ac_word" >&5
1353 if eval "test \"`echo '$''{'ac_cv_path_FTPD'+set}'`\" = set"; then
1354 echo $ac_n "(cached) $ac_c" 1>&6
1358 ac_cv_path_FTPD
="$FTPD" # Let the user override the test with a path.
1361 ac_cv_path_FTPD
="$FTPD" # Let the user override the test with a dos path.
1364 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1365 ac_dummy
="/usr/libexec /usr/etc /etc /usr/sbin /sbin /usr/lbin"
1366 for ac_dir
in $ac_dummy; do
1367 test -z "$ac_dir" && ac_dir
=.
1368 if test -f $ac_dir/$ac_word; then
1369 ac_cv_path_FTPD
="$ac_dir/$ac_word"
1377 FTPD
="$ac_cv_path_FTPD"
1378 if test -n "$FTPD"; then
1379 echo "$ac_t""$FTPD" 1>&6
1381 echo "$ac_t""no" 1>&6
1384 # Extract the first word of "in.ftpd", so it can be a program name with args.
1385 set dummy
in.ftpd
; ac_word
=$2
1386 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1387 echo "configure:1388: checking for $ac_word" >&5
1388 if eval "test \"`echo '$''{'ac_cv_path_INFTPD'+set}'`\" = set"; then
1389 echo $ac_n "(cached) $ac_c" 1>&6
1393 ac_cv_path_INFTPD
="$INFTPD" # Let the user override the test with a path.
1396 ac_cv_path_INFTPD
="$INFTPD" # Let the user override the test with a dos path.
1399 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1400 ac_dummy
="/usr/libexec /usr/etc /etc /usr/sbin /sbin /usr/lbin"
1401 for ac_dir
in $ac_dummy; do
1402 test -z "$ac_dir" && ac_dir
=.
1403 if test -f $ac_dir/$ac_word; then
1404 ac_cv_path_INFTPD
="$ac_dir/$ac_word"
1412 INFTPD
="$ac_cv_path_INFTPD"
1413 if test -n "$INFTPD"; then
1414 echo "$ac_t""$INFTPD" 1>&6
1416 echo "$ac_t""no" 1>&6
1422 if test ! -z "$INFTPD"
1428 echo $ac_n "checking for default PATH entries""... $ac_c" 1>&6
1429 echo "configure:1430: checking for default PATH entries" >&5
1433 for i
in /usr
/bin
/bin
/usr
/ucb
/usr
/sbin
/usr
/bsd
/sbin
/usr
/bin
/X11
/etc
/usr
/local
/X11
/bin
/usr
/X11R
6/bin
/your-system-is-broken
1442 if test -z "$default_path"
1446 default_path
="$default_path:$i"
1453 cat >> confdefs.h
<<EOF
1454 #define DEFAULT_PATH "$default_path"
1457 echo "$ac_t""$default_path" 1>&6
1459 echo $ac_n "checking for test -e flag""... $ac_c" 1>&6
1460 echo "configure:1461: checking for test -e flag" >&5
1461 if sh config.testeflag
1470 echo "$ac_t""$result" 1>&6
1472 echo $ac_n "checking for mkdir -p flag""... $ac_c" 1>&6
1473 echo "configure:1474: checking for mkdir -p flag" >&5
1474 if test -d config.tmpdir
1476 rmdir config.tmpdir
/foo
/bar
>/dev
/null
2>/dev
/null
1477 rmdir config.tmpdir
/foo
>/dev
/null
2>/dev
/null
1478 rmdir config.tmpdir
>/dev
/null
2>/dev
/null
1482 if mkdir
-p config.tmpdir
/foo
/bar
>/dev
/null
2>/dev
/null
1484 if test -d config.tmpdir
1486 if test -d config.tmpdir
/foo
1488 if test -d config.tmpdir
/foo
/bar
1491 rmdir config.tmpdir
/foo
/bar
>/dev
/null
2>/dev
/null
1493 rmdir config.tmpdir
/foo
>/dev
/null
2>/dev
/null
1495 rmdir config.tmpdir
>/dev
/null
2>/dev
/null
1499 if test "$result" = yes
1506 echo "$ac_t""$result" 1>&6
1508 echo $ac_n "checking for ls group field""... $ac_c" 1>&6
1509 echo "configure:1510: checking for ls group field" >&5
1510 lsg
=`/bin/ls -ldg / | wc -w | awk '{print $1}'`;
1511 ls=`/bin/ls -ld / | wc -w | awk '{print $1}'`;
1517 if test "$ls" = 8 -a "$lsg" = 9;
1519 result
="yes, with -g"
1520 cat >> confdefs.h
<<\EOF
1521 #define HAVE_LS_G_FLAG 1
1526 echo "$ac_t""$result" 1>&6
1528 echo $ac_n "checking for /etc/default/login""... $ac_c" 1>&6
1529 echo "configure:1530: checking for /etc/default/login" >&5
1530 if test $EXISTS /etc
/default
/login
1533 cat >> confdefs.h
<<\EOF
1534 #define HAVE_ETC_DEFAULT_LOGIN 1
1540 echo "$ac_t""$result" 1>&6
1542 echo $ac_n "checking for /etc/securetty""... $ac_c" 1>&6
1543 echo "configure:1544: checking for /etc/securetty" >&5
1544 if test $EXISTS /etc
/securetty
1547 cat >> confdefs.h
<<\EOF
1548 #define HAVE_SECURETTY 1
1554 echo "$ac_t""$result" 1>&6
1556 echo $ac_n "checking for /etc/logindevperm""... $ac_c" 1>&6
1557 echo "configure:1558: checking for /etc/logindevperm" >&5
1558 if test $EXISTS /etc
/logindevperm
1560 echo "$ac_t""yes" 1>&6
1561 cat >> confdefs.h
<<\EOF
1562 #define HAVE_LOGIN_PERMFILE "/etc/logindevperm"
1566 echo "$ac_t""no" 1>&6
1568 echo $ac_n "checking for /etc/fbtab""... $ac_c" 1>&6
1569 echo "configure:1570: checking for /etc/fbtab" >&5
1570 if test $EXISTS /etc
/fbtab
1573 cat >> confdefs.h
<<\EOF
1574 #define HAVE_LOGIN_PERMFILE "/etc/fbtab"
1580 echo "$ac_t""$result" 1>&6
1583 echo $ac_n "checking for /etc/environment""... $ac_c" 1>&6
1584 echo "configure:1585: checking for /etc/environment" >&5
1585 if test $EXISTS /etc
/environment
1587 echo "$ac_t""yes" 1>&6
1588 cat >> confdefs.h
<<\EOF
1589 #define HAVE_LOGIN_ENVFILE "/etc/environment"
1593 echo "$ac_t""no" 1>&6
1595 echo $ac_n "checking for /etc/src.sh""... $ac_c" 1>&6
1596 echo "configure:1597: checking for /etc/src.sh" >&5
1597 if test $EXISTS /etc
/src.sh
1600 cat >> confdefs.h
<<\EOF
1601 #define HAVE_LOGIN_ENVFILE "/etc/src.sh"
1607 echo "$ac_t""$result" 1>&6
1610 echo $ac_n "checking for /etc/shadow""... $ac_c" 1>&6
1611 echo "configure:1612: checking for /etc/shadow" >&5
1612 if test $EXISTS /etc
/shadow
1615 cat >> confdefs.h
<<\EOF
1616 #define HAVE_ETC_SHADOW 1
1620 echo "$ac_t""no" 1>&6
1622 echo $ac_n "checking for /etc/security/passwd.adjunct""... $ac_c" 1>&6
1623 echo "configure:1624: checking for /etc/security/passwd.adjunct" >&5
1624 if test $EXISTS /etc
/security
/passwd.adjunct
1627 cat >> confdefs.h
<<\EOF
1628 #define HAVE_SUNOS_C2_SHADOW 1
1631 LIBOBJS
="$LIBOBJS getspnam.o endspent.o"
1636 echo "$ac_t""$result" 1>&6
1638 echo $ac_n "checking for /var/adm/sulog""... $ac_c" 1>&6
1639 echo "configure:1640: checking for /var/adm/sulog" >&5
1640 if test $EXISTS /var
/adm
/sulog
1643 cat >> confdefs.h
<<\EOF
1644 #define HAVE_SULOG 1
1650 echo "$ac_t""$result" 1>&6
1652 echo $ac_n "checking mail spool location""... $ac_c" 1>&6
1653 echo "configure:1654: checking mail spool location" >&5
1655 for i
in /var
/mail /usr
/mail /var
/spool
/mail /usr
/spool
/mail
1662 if test -z "$mail_spool"
1666 result
="$mail_spool"
1667 cat >> confdefs.h
<<EOF
1668 #define PATH_MAIL "$mail_spool"
1672 echo "$ac_t""$result" 1>&6
1674 echo $ac_n "checking where your system puts the utmp file""... $ac_c" 1>&6
1675 echo "configure:1676: checking where your system puts the utmp file" >&5
1677 for i
in /var
/run
/var
/adm
/usr
/adm
/etc
1679 if test $EXISTS $i/utmp
1684 if test -z "$utmp_path"
1689 cat >> confdefs.h
<<EOF
1690 #define PATH_UTMP_AC "$utmp_path/utmp"
1694 echo "$ac_t""$result" 1>&6
1696 echo $ac_n "checking where your system puts the utmpx file""... $ac_c" 1>&6
1697 echo "configure:1698: checking where your system puts the utmpx file" >&5
1699 for i
in /var
/run
/var
/adm
/usr
/adm
/etc
1701 if test $EXISTS $i/utmp
1706 if test -z "$utmp_path"
1709 cat >> confdefs.h
<<EOF
1710 #define PATH_UTMP_AC "$utmp_path/utmpx"
1714 echo "$ac_t""$result" 1>&6
1716 echo $ac_n "checking where your system puts the wtmp file""... $ac_c" 1>&6
1717 echo "configure:1718: checking where your system puts the wtmp file" >&5
1719 for i
in /var
/run
/var
/log
/var
/adm
/usr
/adm
/etc
1721 if test $EXISTS $i/wtmp
1726 if test -z "$wtmp_path"
1731 cat >> confdefs.h
<<EOF
1732 #define PATH_WTMP_AC "$wtmp_path/wtmp"
1736 echo "$ac_t""$result" 1>&6
1738 echo $ac_n "checking where your system puts the wtmpx file""... $ac_c" 1>&6
1739 echo "configure:1740: checking where your system puts the wtmpx file" >&5
1741 for i
in /var
/run
/var
/log
/var
/adm
/usr
/adm
/etc
1743 if test $EXISTS $i/wtmpx
1748 if test -z "$wtmpx_path"
1752 result
="$wtmpx_path"
1753 cat >> confdefs.h
<<EOF
1754 #define PATH_WTMPX_AC "$wtmpx_path/wtmpx"
1758 echo "$ac_t""$result" 1>&6
1760 echo $ac_n "checking whether the system profile displays the motd""... $ac_c" 1>&6
1761 echo "configure:1762: checking whether the system profile displays the motd" >&5
1763 if test $EXISTS /etc
/profile
1765 if grep motd
/etc
/profile
>/dev
/null
2>/dev
/null
1770 if test "$result" = yes
1772 cat >> confdefs.h
<<\EOF
1773 #define HAVE_MOTD_IN_PROFILE 1
1777 echo "$ac_t""$result" 1>&6
1779 echo $ac_n "checking whether the system profile checks for mail""... $ac_c" 1>&6
1780 echo "configure:1781: checking whether the system profile checks for mail" >&5
1782 if test $EXISTS /etc
/profile
1784 if grep 'mail\.' /etc
/profile
>/dev
/null
2>/dev
/null
1789 if test "$result" = yes
1791 cat >> confdefs.h
<<\EOF
1792 #define HAVE_MAILCHECK_IN_PROFILE 1
1796 echo "$ac_t""$result" 1>&6
1798 echo $ac_n "checking for working const""... $ac_c" 1>&6
1799 echo "configure:1800: checking for working const" >&5
1800 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1801 echo $ac_n "(cached) $ac_c" 1>&6
1803 cat > conftest.
$ac_ext <<EOF
1804 #line 1805 "configure"
1805 #include "confdefs.h"
1809 /* Ultrix mips cc rejects this. */
1810 typedef int charset[2]; const charset x;
1811 /* SunOS 4.1.1 cc rejects this. */
1812 char const *const *ccp;
1814 /* NEC SVR4.0.2 mips cc rejects this. */
1815 struct point {int x, y;};
1816 static struct point const zero = {0,0};
1817 /* AIX XL C 1.02.0.0 rejects this.
1818 It does not let you subtract one const X* pointer from another in an arm
1819 of an if-expression whose if-part is not a constant expression */
1820 const char *g = "string";
1821 ccp = &g + (g ? g-g : 0);
1822 /* HPUX 7.0 cc rejects these. */
1825 ccp = (char const *const *) p;
1826 { /* SCO 3.2v4 cc rejects this. */
1828 char const *s = 0 ? (char *) 0 : (char const *) 0;
1832 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1834 const int *foo = &x[0];
1837 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1838 typedef const int *iptr;
1842 { /* AIX XL C 1.02.0.0 rejects this saying
1843 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1844 struct s { int j; const int *ap[3]; };
1845 struct s *b; b->j = 5;
1847 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1853 if { (eval echo configure
:1854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1857 echo "configure: failed program was:" >&5
1858 cat conftest.
$ac_ext >&5
1865 echo "$ac_t""$ac_cv_c_const" 1>&6
1866 if test $ac_cv_c_const = no
; then
1867 cat >> confdefs.h
<<\EOF
1874 echo $ac_n "checking to see if your compiler can handle void arguments""... $ac_c" 1>&6
1875 echo "configure:1876: checking to see if your compiler can handle void arguments" >&5
1876 cat > conftest.
$ac_ext <<EOF
1877 #line 1878 "configure"
1878 #include "confdefs.h"
1884 if { (eval echo configure
:1885: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1886 cat >> confdefs.h
<<\EOF
1887 #define HAVE_VOIDARG 1
1889 echo "$ac_t""yes" 1>&6
1891 echo "configure: failed program was:" >&5
1892 cat conftest.
$ac_ext >&5
1894 echo "$ac_t""no" 1>&6
1898 echo $ac_n "checking to see if your compiler can handle void return values""... $ac_c" 1>&6
1899 echo "configure:1900: checking to see if your compiler can handle void return values" >&5
1900 cat > conftest.
$ac_ext <<EOF
1901 #line 1902 "configure"
1902 #include "confdefs.h"
1908 if { (eval echo configure
:1909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1910 cat >> confdefs.h
<<\EOF
1911 #define HAVE_VOIDRET 1
1913 echo "$ac_t""yes" 1>&6
1915 echo "configure: failed program was:" >&5
1916 cat conftest.
$ac_ext >&5
1918 echo "$ac_t""no" 1>&6
1922 echo $ac_n "checking to see if your compiler can handle void pointers""... $ac_c" 1>&6
1923 echo "configure:1924: checking to see if your compiler can handle void pointers" >&5
1924 cat > conftest.
$ac_ext <<EOF
1925 #line 1926 "configure"
1926 #include "confdefs.h"
1927 foo() { void *bar = (void *)0x42; bar = bar + 1; }
1932 if { (eval echo configure
:1933: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1934 cat >> confdefs.h
<<\EOF
1935 #define HAVE_VOIDPTR 1
1937 echo "$ac_t""yes" 1>&6
1939 echo "configure: failed program was:" >&5
1940 cat conftest.
$ac_ext >&5
1942 echo "$ac_t""no" 1>&6
1946 echo $ac_n "checking to see if your compiler can handle ANSI argument lists""... $ac_c" 1>&6
1947 echo "configure:1948: checking to see if your compiler can handle ANSI argument lists" >&5
1948 cat > conftest.
$ac_ext <<EOF
1949 #line 1950 "configure"
1950 #include "confdefs.h"
1951 int foo(int bar, int baz) { return 0; }
1956 if { (eval echo configure
:1957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1958 cat >> confdefs.h
<<\EOF
1959 #define HAVE_ANSIDECL 1
1961 echo "$ac_t""yes" 1>&6
1963 echo "configure: failed program was:" >&5
1964 cat conftest.
$ac_ext >&5
1966 echo "$ac_t""no" 1>&6
1970 echo $ac_n "checking to see if your compiler can handle ANSI prototypes""... $ac_c" 1>&6
1971 echo "configure:1972: checking to see if your compiler can handle ANSI prototypes" >&5
1972 cat > conftest.
$ac_ext <<EOF
1973 #line 1974 "configure"
1974 #include "confdefs.h"
1975 extern int foo(int, int);
1980 if { (eval echo configure
:1981: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1982 cat >> confdefs.h
<<\EOF
1983 #define HAVE_ANSIPROTO 1
1985 echo "$ac_t""yes" 1>&6
1987 echo "configure: failed program was:" >&5
1988 cat conftest.
$ac_ext >&5
1990 echo "$ac_t""no" 1>&6
1994 echo $ac_n "checking to see if your compiler can handle ANSI variable arguments""... $ac_c" 1>&6
1995 echo "configure:1996: checking to see if your compiler can handle ANSI variable arguments" >&5
1996 cat > conftest.
$ac_ext <<EOF
1997 #line 1998 "configure"
1998 #include "confdefs.h"
2000 int foo(int arg, ...) {
2010 if { (eval echo configure
:2011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2012 cat >> confdefs.h
<<\EOF
2013 #define HAVE_ANSISTDARG 1
2015 echo "$ac_t""yes" 1>&6
2017 echo "configure: failed program was:" >&5
2018 cat conftest.
$ac_ext >&5
2020 echo "$ac_t""no" 1>&6
2024 echo $ac_n "checking to see if you have an ANSI-style sprintf""... $ac_c" 1>&6
2025 echo "configure:2026: checking to see if you have an ANSI-style sprintf" >&5
2026 if test "$cross_compiling" = yes; then
2027 echo "$ac_t""no" 1>&6
2029 cat > conftest.
$ac_ext <<EOF
2030 #line 2031 "configure"
2031 #include "confdefs.h"
2033 int main(argc, argv)
2039 i += sprintf(buf, "1234");
2040 return (i == 6) ? 0 : -1;
2043 if { (eval echo configure
:2044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2045 cat >> confdefs.h
<<\EOF
2046 #define HAVE_ANSISPRINTF 1
2048 echo "$ac_t""yes" 1>&6
2050 echo "configure: failed program was:" >&5
2051 cat conftest.
$ac_ext >&5
2053 echo "$ac_t""no" 1>&6
2059 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
2060 echo "configure:2061: checking for crypt in -lcrypt" >&5
2061 ac_lib_var
=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
2062 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2063 echo $ac_n "(cached) $ac_c" 1>&6
2065 ac_save_LIBS
="$LIBS"
2066 LIBS
="-lcrypt $LIBS"
2067 cat > conftest.
$ac_ext <<EOF
2068 #line 2069 "configure"
2069 #include "confdefs.h"
2070 /* Override any gcc2 internal prototype to avoid an error. */
2071 /* We use char because int might match the return type of a gcc2
2072 builtin and then its argument prototype would still apply. */
2079 if { (eval echo configure
:2080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2081 eval "ac_cv_lib_$ac_lib_var=yes"
2083 echo "configure: failed program was:" >&5
2084 cat conftest.
$ac_ext >&5
2086 eval "ac_cv_lib_$ac_lib_var=no"
2089 LIBS
="$ac_save_LIBS"
2092 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2093 echo "$ac_t""yes" 1>&6
2094 ac_tr_lib
=HAVE_LIB
`echo crypt | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2095 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2096 cat >> confdefs.h
<<EOF
2097 #define $ac_tr_lib 1
2100 LIBS
="-lcrypt $LIBS"
2103 echo "$ac_t""no" 1>&6
2106 echo $ac_n "checking for gethostname in -lnsl""... $ac_c" 1>&6
2107 echo "configure:2108: checking for gethostname in -lnsl" >&5
2108 ac_lib_var
=`echo nsl'_'gethostname | sed 'y%./+-%__p_%'`
2109 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2110 echo $ac_n "(cached) $ac_c" 1>&6
2112 ac_save_LIBS
="$LIBS"
2114 cat > conftest.
$ac_ext <<EOF
2115 #line 2116 "configure"
2116 #include "confdefs.h"
2117 /* Override any gcc2 internal prototype to avoid an error. */
2118 /* We use char because int might match the return type of a gcc2
2119 builtin and then its argument prototype would still apply. */
2126 if { (eval echo configure
:2127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2128 eval "ac_cv_lib_$ac_lib_var=yes"
2130 echo "configure: failed program was:" >&5
2131 cat conftest.
$ac_ext >&5
2133 eval "ac_cv_lib_$ac_lib_var=no"
2136 LIBS
="$ac_save_LIBS"
2139 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2140 echo "$ac_t""yes" 1>&6
2141 ac_tr_lib
=HAVE_LIB
`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2142 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2143 cat >> confdefs.h
<<EOF
2144 #define $ac_tr_lib 1
2150 echo "$ac_t""no" 1>&6
2153 echo $ac_n "checking for main in -lposix""... $ac_c" 1>&6
2154 echo "configure:2155: checking for main in -lposix" >&5
2155 ac_lib_var
=`echo posix'_'main | sed 'y%./+-%__p_%'`
2156 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2157 echo $ac_n "(cached) $ac_c" 1>&6
2159 ac_save_LIBS
="$LIBS"
2160 LIBS
="-lposix $LIBS"
2161 cat > conftest.
$ac_ext <<EOF
2162 #line 2163 "configure"
2163 #include "confdefs.h"
2169 if { (eval echo configure
:2170: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2171 eval "ac_cv_lib_$ac_lib_var=yes"
2173 echo "configure: failed program was:" >&5
2174 cat conftest.
$ac_ext >&5
2176 eval "ac_cv_lib_$ac_lib_var=no"
2179 LIBS
="$ac_save_LIBS"
2182 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2183 echo "$ac_t""yes" 1>&6
2184 ac_tr_lib
=HAVE_LIB
`echo posix | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2185 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2186 cat >> confdefs.h
<<EOF
2187 #define $ac_tr_lib 1
2190 LIBS
="-lposix $LIBS"
2193 echo "$ac_t""no" 1>&6
2196 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
2197 echo "configure:2198: checking for socket in -lsocket" >&5
2198 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
2199 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2200 echo $ac_n "(cached) $ac_c" 1>&6
2202 ac_save_LIBS
="$LIBS"
2203 LIBS
="-lsocket $LIBS"
2204 cat > conftest.
$ac_ext <<EOF
2205 #line 2206 "configure"
2206 #include "confdefs.h"
2207 /* Override any gcc2 internal prototype to avoid an error. */
2208 /* We use char because int might match the return type of a gcc2
2209 builtin and then its argument prototype would still apply. */
2216 if { (eval echo configure
:2217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2218 eval "ac_cv_lib_$ac_lib_var=yes"
2220 echo "configure: failed program was:" >&5
2221 cat conftest.
$ac_ext >&5
2223 eval "ac_cv_lib_$ac_lib_var=no"
2226 LIBS
="$ac_save_LIBS"
2229 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2230 echo "$ac_t""yes" 1>&6
2231 ac_tr_lib
=HAVE_LIB
`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2232 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2233 cat >> confdefs.h
<<EOF
2234 #define $ac_tr_lib 1
2237 LIBS
="-lsocket $LIBS"
2240 echo "$ac_t""no" 1>&6
2245 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2247 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2248 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2249 echo "configure:2250: checking for $ac_hdr that defines DIR" >&5
2250 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2251 echo $ac_n "(cached) $ac_c" 1>&6
2253 cat > conftest.
$ac_ext <<EOF
2254 #line 2255 "configure"
2255 #include "confdefs.h"
2256 #include <sys/types.h>
2262 if { (eval echo configure
:2263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2264 eval "ac_cv_header_dirent_$ac_safe=yes"
2266 echo "configure: failed program was:" >&5
2267 cat conftest.
$ac_ext >&5
2269 eval "ac_cv_header_dirent_$ac_safe=no"
2273 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2274 echo "$ac_t""yes" 1>&6
2275 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2276 cat >> confdefs.h
<<EOF
2277 #define $ac_tr_hdr 1
2279 ac_header_dirent
=$ac_hdr; break
2281 echo "$ac_t""no" 1>&6
2284 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2285 if test $ac_header_dirent = dirent.h
; then
2286 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2287 echo "configure:2288: checking for opendir in -ldir" >&5
2288 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2289 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2290 echo $ac_n "(cached) $ac_c" 1>&6
2292 ac_save_LIBS
="$LIBS"
2294 cat > conftest.
$ac_ext <<EOF
2295 #line 2296 "configure"
2296 #include "confdefs.h"
2297 /* Override any gcc2 internal prototype to avoid an error. */
2298 /* We use char because int might match the return type of a gcc2
2299 builtin and then its argument prototype would still apply. */
2306 if { (eval echo configure
:2307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2308 eval "ac_cv_lib_$ac_lib_var=yes"
2310 echo "configure: failed program was:" >&5
2311 cat conftest.
$ac_ext >&5
2313 eval "ac_cv_lib_$ac_lib_var=no"
2316 LIBS
="$ac_save_LIBS"
2319 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2320 echo "$ac_t""yes" 1>&6
2323 echo "$ac_t""no" 1>&6
2327 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2328 echo "configure:2329: checking for opendir in -lx" >&5
2329 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2330 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2331 echo $ac_n "(cached) $ac_c" 1>&6
2333 ac_save_LIBS
="$LIBS"
2335 cat > conftest.
$ac_ext <<EOF
2336 #line 2337 "configure"
2337 #include "confdefs.h"
2338 /* Override any gcc2 internal prototype to avoid an error. */
2339 /* We use char because int might match the return type of a gcc2
2340 builtin and then its argument prototype would still apply. */
2347 if { (eval echo configure
:2348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2349 eval "ac_cv_lib_$ac_lib_var=yes"
2351 echo "configure: failed program was:" >&5
2352 cat conftest.
$ac_ext >&5
2354 eval "ac_cv_lib_$ac_lib_var=no"
2357 LIBS
="$ac_save_LIBS"
2360 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2361 echo "$ac_t""yes" 1>&6
2364 echo "$ac_t""no" 1>&6
2369 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2370 echo "configure:2371: checking for sys/wait.h that is POSIX.1 compatible" >&5
2371 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2372 echo $ac_n "(cached) $ac_c" 1>&6
2374 cat > conftest.
$ac_ext <<EOF
2375 #line 2376 "configure"
2376 #include "confdefs.h"
2377 #include <sys/types.h>
2378 #include <sys/wait.h>
2380 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2383 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2388 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2391 if { (eval echo configure
:2392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2393 ac_cv_header_sys_wait_h
=yes
2395 echo "configure: failed program was:" >&5
2396 cat conftest.
$ac_ext >&5
2398 ac_cv_header_sys_wait_h
=no
2403 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2404 if test $ac_cv_header_sys_wait_h = yes; then
2405 cat >> confdefs.h
<<\EOF
2406 #define HAVE_SYS_WAIT_H 1
2411 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
2413 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2414 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2415 echo "configure:2416: checking for $ac_hdr" >&5
2416 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2417 echo $ac_n "(cached) $ac_c" 1>&6
2419 cat > conftest.
$ac_ext <<EOF
2420 #line 2421 "configure"
2421 #include "confdefs.h"
2424 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2425 { (eval echo configure
:2426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2426 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2427 if test -z "$ac_err"; then
2429 eval "ac_cv_header_$ac_safe=yes"
2432 echo "configure: failed program was:" >&5
2433 cat conftest.
$ac_ext >&5
2435 eval "ac_cv_header_$ac_safe=no"
2439 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2440 echo "$ac_t""yes" 1>&6
2441 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2442 cat >> confdefs.h
<<EOF
2443 #define $ac_tr_hdr 1
2447 echo "$ac_t""no" 1>&6
2453 echo $ac_n "checking for ut_pid in struct utmp""... $ac_c" 1>&6
2454 echo "configure:2455: checking for ut_pid in struct utmp" >&5
2455 cat > conftest.
$ac_ext <<EOF
2456 #line 2457 "configure"
2457 #include "confdefs.h"
2458 #include <sys/types.h>
2461 struct utmp foo; return (int)foo.ut_pid;
2464 if { (eval echo configure
:2465: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2466 cat >> confdefs.h
<<\EOF
2467 #define HAVE_UT_PID 1
2469 echo "$ac_t""yes" 1>&6
2471 echo "configure: failed program was:" >&5
2472 cat conftest.
$ac_ext >&5
2474 echo "$ac_t""no" 1>&6
2477 echo $ac_n "checking for ut_type in struct utmp""... $ac_c" 1>&6
2478 echo "configure:2479: checking for ut_type in struct utmp" >&5
2479 cat > conftest.
$ac_ext <<EOF
2480 #line 2481 "configure"
2481 #include "confdefs.h"
2482 #include <sys/types.h>
2485 struct utmp foo; return (int)foo.ut_type;
2488 if { (eval echo configure
:2489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2490 cat >> confdefs.h
<<\EOF
2491 #define HAVE_UT_TYPE 1
2493 echo "$ac_t""yes" 1>&6
2495 echo "configure: failed program was:" >&5
2496 cat conftest.
$ac_ext >&5
2498 echo "$ac_t""no" 1>&6
2501 echo $ac_n "checking for ut_name in struct utmp""... $ac_c" 1>&6
2502 echo "configure:2503: checking for ut_name in struct utmp" >&5
2503 cat > conftest.
$ac_ext <<EOF
2504 #line 2505 "configure"
2505 #include "confdefs.h"
2506 #include <sys/types.h>
2509 struct utmp foo; return (int)foo.ut_name[0];
2512 if { (eval echo configure
:2513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2514 cat >> confdefs.h
<<\EOF
2515 #define HAVE_UT_NAME 1
2517 echo "$ac_t""yes" 1>&6
2519 echo "configure: failed program was:" >&5
2520 cat conftest.
$ac_ext >&5
2522 echo "$ac_t""no" 1>&6
2525 echo $ac_n "checking for ut_host in struct utmp""... $ac_c" 1>&6
2526 echo "configure:2527: checking for ut_host in struct utmp" >&5
2527 cat > conftest.
$ac_ext <<EOF
2528 #line 2529 "configure"
2529 #include "confdefs.h"
2530 #include <sys/types.h>
2533 struct utmp foo; return (int)foo.ut_host[0];
2536 if { (eval echo configure
:2537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2538 cat >> confdefs.h
<<\EOF
2539 #define HAVE_UT_HOST 1
2541 echo "$ac_t""yes" 1>&6
2543 echo "configure: failed program was:" >&5
2544 cat conftest.
$ac_ext >&5
2546 echo "$ac_t""no" 1>&6
2549 echo $ac_n "checking for ut_id in struct utmp""... $ac_c" 1>&6
2550 echo "configure:2551: checking for ut_id in struct utmp" >&5
2551 cat > conftest.
$ac_ext <<EOF
2552 #line 2553 "configure"
2553 #include "confdefs.h"
2554 #include <sys/types.h>
2557 struct utmp foo; return (int)foo.ut_id[0];
2560 if { (eval echo configure
:2561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2562 cat >> confdefs.h
<<\EOF
2563 #define HAVE_UT_ID 1
2565 echo "$ac_t""yes" 1>&6
2567 echo "configure: failed program was:" >&5
2568 cat conftest.
$ac_ext >&5
2570 echo "$ac_t""no" 1>&6
2573 #AC_MSG_CHECKING(for ut_syslen in struct utmp)
2574 #AC_TRY_COMPILE([#include <sys/types.h>
2575 ##include <utmp.h>], [struct utmp foo; return (int)foo.ut_syslen;], AC_DEFINE(HAVE_UT_SYSLEN) AC_MSG_RESULT(yes), AC_MSG_RESULT(no))
2576 echo $ac_n "checking for ut_syslen in struct utmpx""... $ac_c" 1>&6
2577 echo "configure:2578: checking for ut_syslen in struct utmpx" >&5
2578 cat > conftest.
$ac_ext <<EOF
2579 #line 2580 "configure"
2580 #include "confdefs.h"
2581 #include <sys/types.h>
2584 struct utmpx foo; return (int)foo.ut_syslen;
2587 if { (eval echo configure
:2588: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2589 cat >> confdefs.h
<<\EOF
2590 #define HAVE_UTX_SYSLEN 1
2592 echo "$ac_t""yes" 1>&6
2594 echo "configure: failed program was:" >&5
2595 cat conftest.
$ac_ext >&5
2597 echo "$ac_t""no" 1>&6
2601 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2602 echo "configure:2603: checking return type of signal handlers" >&5
2603 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2604 echo $ac_n "(cached) $ac_c" 1>&6
2606 cat > conftest.
$ac_ext <<EOF
2607 #line 2608 "configure"
2608 #include "confdefs.h"
2609 #include <sys/types.h>
2615 extern "C" void (*signal (int, void (*)(int)))(int);
2617 void (*signal ()) ();
2624 if { (eval echo configure
:2625: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2626 ac_cv_type_signal
=void
2628 echo "configure: failed program was:" >&5
2629 cat conftest.
$ac_ext >&5
2631 ac_cv_type_signal
=int
2636 echo "$ac_t""$ac_cv_type_signal" 1>&6
2637 cat >> confdefs.h
<<EOF
2638 #define RETSIGTYPE $ac_cv_type_signal
2642 for ac_func
in gettimeofday socket strftime strstr setpriority getttynam setvbuf getspnam endspent setgroups getgroups fpurge setlogin lstat getutxline pututxline
usleep
2644 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2645 echo "configure:2646: checking for $ac_func" >&5
2646 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2647 echo $ac_n "(cached) $ac_c" 1>&6
2649 cat > conftest.
$ac_ext <<EOF
2650 #line 2651 "configure"
2651 #include "confdefs.h"
2652 /* System header to define __stub macros and hopefully few prototypes,
2653 which can conflict with char $ac_func(); below. */
2655 /* Override any gcc2 internal prototype to avoid an error. */
2656 /* We use char because int might match the return type of a gcc2
2657 builtin and then its argument prototype would still apply. */
2662 /* The GNU C library defines this for functions which it implements
2663 to always fail with ENOSYS. Some functions are actually named
2664 something starting with __ and the normal name is an alias. */
2665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2673 if { (eval echo configure
:2674: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2675 eval "ac_cv_func_$ac_func=yes"
2677 echo "configure: failed program was:" >&5
2678 cat conftest.
$ac_ext >&5
2680 eval "ac_cv_func_$ac_func=no"
2685 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2686 echo "$ac_t""yes" 1>&6
2687 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2688 cat >> confdefs.h
<<EOF
2689 #define $ac_tr_func 1
2693 echo "$ac_t""no" 1>&6
2698 echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&6
2699 echo "configure:2700: checking for 8-bit clean memcmp" >&5
2700 if eval "test \"`echo '$''{'ac_cv_func_memcmp_clean'+set}'`\" = set"; then
2701 echo $ac_n "(cached) $ac_c" 1>&6
2703 if test "$cross_compiling" = yes; then
2704 ac_cv_func_memcmp_clean
=no
2706 cat > conftest.
$ac_ext <<EOF
2707 #line 2708 "configure"
2708 #include "confdefs.h"
2712 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
2713 exit(memcmp(&c0, &c2, 1) < 0 && memcmp(&c1, &c2, 1) < 0 ? 0 : 1);
2717 if { (eval echo configure
:2718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2719 ac_cv_func_memcmp_clean
=yes
2721 echo "configure: failed program was:" >&5
2722 cat conftest.
$ac_ext >&5
2724 ac_cv_func_memcmp_clean
=no
2731 echo "$ac_t""$ac_cv_func_memcmp_clean" 1>&6
2732 test $ac_cv_func_memcmp_clean = no
&& LIBOBJS
="$LIBOBJS memcmp.${ac_objext}"
2734 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
2735 # for constant arguments. Useless!
2736 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
2737 echo "configure:2738: checking for working alloca.h" >&5
2738 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
2739 echo $ac_n "(cached) $ac_c" 1>&6
2741 cat > conftest.
$ac_ext <<EOF
2742 #line 2743 "configure"
2743 #include "confdefs.h"
2746 char *p = alloca(2 * sizeof(int));
2749 if { (eval echo configure
:2750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2751 ac_cv_header_alloca_h
=yes
2753 echo "configure: failed program was:" >&5
2754 cat conftest.
$ac_ext >&5
2756 ac_cv_header_alloca_h
=no
2761 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
2762 if test $ac_cv_header_alloca_h = yes; then
2763 cat >> confdefs.h
<<\EOF
2764 #define HAVE_ALLOCA_H 1
2769 echo $ac_n "checking for alloca""... $ac_c" 1>&6
2770 echo "configure:2771: checking for alloca" >&5
2771 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
2772 echo $ac_n "(cached) $ac_c" 1>&6
2774 cat > conftest.
$ac_ext <<EOF
2775 #line 2776 "configure"
2776 #include "confdefs.h"
2779 # define alloca __builtin_alloca
2782 # include <malloc.h>
2783 # define alloca _alloca
2786 # include <alloca.h>
2791 # ifndef alloca /* predefined by HP cc +Olibcalls */
2800 char *p = (char *) alloca(1);
2803 if { (eval echo configure
:2804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2805 ac_cv_func_alloca_works
=yes
2807 echo "configure: failed program was:" >&5
2808 cat conftest.
$ac_ext >&5
2810 ac_cv_func_alloca_works
=no
2815 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
2816 if test $ac_cv_func_alloca_works = yes; then
2817 cat >> confdefs.h
<<\EOF
2818 #define HAVE_ALLOCA 1
2823 if test $ac_cv_func_alloca_works = no
; then
2824 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
2825 # that cause trouble. Some versions do not even contain alloca or
2826 # contain a buggy version. If you still want to use their alloca,
2827 # use ar to extract alloca.o from them instead of compiling alloca.c.
2828 ALLOCA
=alloca.
${ac_objext}
2829 cat >> confdefs.h
<<\EOF
2834 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
2835 echo "configure:2836: checking whether alloca needs Cray hooks" >&5
2836 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
2837 echo $ac_n "(cached) $ac_c" 1>&6
2839 cat > conftest.
$ac_ext <<EOF
2840 #line 2841 "configure"
2841 #include "confdefs.h"
2842 #if defined(CRAY) && ! defined(CRAY2)
2849 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2850 egrep "webecray" >/dev
/null
2>&1; then
2861 echo "$ac_t""$ac_cv_os_cray" 1>&6
2862 if test $ac_cv_os_cray = yes; then
2863 for ac_func
in _getb67 GETB67 getb67
; do
2864 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2865 echo "configure:2866: checking for $ac_func" >&5
2866 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2867 echo $ac_n "(cached) $ac_c" 1>&6
2869 cat > conftest.
$ac_ext <<EOF
2870 #line 2871 "configure"
2871 #include "confdefs.h"
2872 /* System header to define __stub macros and hopefully few prototypes,
2873 which can conflict with char $ac_func(); below. */
2875 /* Override any gcc2 internal prototype to avoid an error. */
2876 /* We use char because int might match the return type of a gcc2
2877 builtin and then its argument prototype would still apply. */
2882 /* The GNU C library defines this for functions which it implements
2883 to always fail with ENOSYS. Some functions are actually named
2884 something starting with __ and the normal name is an alias. */
2885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2893 if { (eval echo configure
:2894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2895 eval "ac_cv_func_$ac_func=yes"
2897 echo "configure: failed program was:" >&5
2898 cat conftest.
$ac_ext >&5
2900 eval "ac_cv_func_$ac_func=no"
2905 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2906 echo "$ac_t""yes" 1>&6
2907 cat >> confdefs.h
<<EOF
2908 #define CRAY_STACKSEG_END $ac_func
2913 echo "$ac_t""no" 1>&6
2919 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
2920 echo "configure:2921: checking stack direction for C alloca" >&5
2921 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
2922 echo $ac_n "(cached) $ac_c" 1>&6
2924 if test "$cross_compiling" = yes; then
2925 ac_cv_c_stack_direction
=0
2927 cat > conftest.
$ac_ext <<EOF
2928 #line 2929 "configure"
2929 #include "confdefs.h"
2930 find_stack_direction ()
2932 static char *addr = 0;
2937 return find_stack_direction ();
2940 return (&dummy > addr) ? 1 : -1;
2944 exit (find_stack_direction() < 0);
2947 if { (eval echo configure
:2948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2949 ac_cv_c_stack_direction
=1
2951 echo "configure: failed program was:" >&5
2952 cat conftest.
$ac_ext >&5
2954 ac_cv_c_stack_direction
=-1
2961 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
2962 cat >> confdefs.h
<<EOF
2963 #define STACK_DIRECTION $ac_cv_c_stack_direction
2968 for ac_func
in getusershell sigaddset sigemptyset strerror strncasecmp
2970 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2971 echo "configure:2972: checking for $ac_func" >&5
2972 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2973 echo $ac_n "(cached) $ac_c" 1>&6
2975 cat > conftest.
$ac_ext <<EOF
2976 #line 2977 "configure"
2977 #include "confdefs.h"
2978 /* System header to define __stub macros and hopefully few prototypes,
2979 which can conflict with char $ac_func(); below. */
2981 /* Override any gcc2 internal prototype to avoid an error. */
2982 /* We use char because int might match the return type of a gcc2
2983 builtin and then its argument prototype would still apply. */
2988 /* The GNU C library defines this for functions which it implements
2989 to always fail with ENOSYS. Some functions are actually named
2990 something starting with __ and the normal name is an alias. */
2991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2999 if { (eval echo configure
:3000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3001 eval "ac_cv_func_$ac_func=yes"
3003 echo "configure: failed program was:" >&5
3004 cat conftest.
$ac_ext >&5
3006 eval "ac_cv_func_$ac_func=no"
3011 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3012 echo "$ac_t""yes" 1>&6
3013 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3014 cat >> confdefs.h
<<EOF
3015 #define $ac_tr_func 1
3019 echo "$ac_t""no" 1>&6
3020 LIBOBJS
="$LIBOBJS ${ac_func}.${ac_objext}"
3025 MISSING
="$LIBOBJS $ALLOCA " ;
3027 echo $ac_n "checking for atexit""... $ac_c" 1>&6
3028 echo "configure:3029: checking for atexit" >&5
3029 if eval "test \"`echo '$''{'ac_cv_func_atexit'+set}'`\" = set"; then
3030 echo $ac_n "(cached) $ac_c" 1>&6
3032 cat > conftest.
$ac_ext <<EOF
3033 #line 3034 "configure"
3034 #include "confdefs.h"
3035 /* System header to define __stub macros and hopefully few prototypes,
3036 which can conflict with char atexit(); below. */
3038 /* Override any gcc2 internal prototype to avoid an error. */
3039 /* We use char because int might match the return type of a gcc2
3040 builtin and then its argument prototype would still apply. */
3045 /* The GNU C library defines this for functions which it implements
3046 to always fail with ENOSYS. Some functions are actually named
3047 something starting with __ and the normal name is an alias. */
3048 #if defined (__stub_atexit) || defined (__stub___atexit)
3056 if { (eval echo configure
:3057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3058 eval "ac_cv_func_atexit=yes"
3060 echo "configure: failed program was:" >&5
3061 cat conftest.
$ac_ext >&5
3063 eval "ac_cv_func_atexit=no"
3068 if eval "test \"`echo '$ac_cv_func_'atexit`\" = yes"; then
3069 echo "$ac_t""yes" 1>&6
3070 cat >> confdefs.h
<<\EOF
3071 #define HAVE_ATEXIT 1
3075 echo "$ac_t""no" 1>&6
3076 MISSING
="${MISSING}atexit.o "; for ac_func
in on_exit
3078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3079 echo "configure:3080: checking for $ac_func" >&5
3080 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3081 echo $ac_n "(cached) $ac_c" 1>&6
3083 cat > conftest.
$ac_ext <<EOF
3084 #line 3085 "configure"
3085 #include "confdefs.h"
3086 /* System header to define __stub macros and hopefully few prototypes,
3087 which can conflict with char $ac_func(); below. */
3089 /* Override any gcc2 internal prototype to avoid an error. */
3090 /* We use char because int might match the return type of a gcc2
3091 builtin and then its argument prototype would still apply. */
3096 /* The GNU C library defines this for functions which it implements
3097 to always fail with ENOSYS. Some functions are actually named
3098 something starting with __ and the normal name is an alias. */
3099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3107 if { (eval echo configure
:3108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3109 eval "ac_cv_func_$ac_func=yes"
3111 echo "configure: failed program was:" >&5
3112 cat conftest.
$ac_ext >&5
3114 eval "ac_cv_func_$ac_func=no"
3119 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3120 echo "$ac_t""yes" 1>&6
3121 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3122 cat >> confdefs.h
<<EOF
3123 #define $ac_tr_func 1
3127 echo "$ac_t""no" 1>&6
3133 echo $ac_n "checking for endutent""... $ac_c" 1>&6
3134 echo "configure:3135: checking for endutent" >&5
3135 if eval "test \"`echo '$''{'ac_cv_func_endutent'+set}'`\" = set"; then
3136 echo $ac_n "(cached) $ac_c" 1>&6
3138 cat > conftest.
$ac_ext <<EOF
3139 #line 3140 "configure"
3140 #include "confdefs.h"
3141 /* System header to define __stub macros and hopefully few prototypes,
3142 which can conflict with char endutent(); below. */
3144 /* Override any gcc2 internal prototype to avoid an error. */
3145 /* We use char because int might match the return type of a gcc2
3146 builtin and then its argument prototype would still apply. */
3151 /* The GNU C library defines this for functions which it implements
3152 to always fail with ENOSYS. Some functions are actually named
3153 something starting with __ and the normal name is an alias. */
3154 #if defined (__stub_endutent) || defined (__stub___endutent)
3162 if { (eval echo configure
:3163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3164 eval "ac_cv_func_endutent=yes"
3166 echo "configure: failed program was:" >&5
3167 cat conftest.
$ac_ext >&5
3169 eval "ac_cv_func_endutent=no"
3174 if eval "test \"`echo '$ac_cv_func_'endutent`\" = yes"; then
3175 echo "$ac_t""yes" 1>&6
3176 cat >> confdefs.h
<<\EOF
3177 #define HAVE_ENDUTENT 1
3181 echo "$ac_t""no" 1>&6
3182 MISSING
="${MISSING}endutent.o "
3185 echo $ac_n "checking for initgroups""... $ac_c" 1>&6
3186 echo "configure:3187: checking for initgroups" >&5
3187 if eval "test \"`echo '$''{'ac_cv_func_initgroups'+set}'`\" = set"; then
3188 echo $ac_n "(cached) $ac_c" 1>&6
3190 cat > conftest.
$ac_ext <<EOF
3191 #line 3192 "configure"
3192 #include "confdefs.h"
3193 /* System header to define __stub macros and hopefully few prototypes,
3194 which can conflict with char initgroups(); below. */
3196 /* Override any gcc2 internal prototype to avoid an error. */
3197 /* We use char because int might match the return type of a gcc2
3198 builtin and then its argument prototype would still apply. */
3203 /* The GNU C library defines this for functions which it implements
3204 to always fail with ENOSYS. Some functions are actually named
3205 something starting with __ and the normal name is an alias. */
3206 #if defined (__stub_initgroups) || defined (__stub___initgroups)
3214 if { (eval echo configure
:3215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3216 eval "ac_cv_func_initgroups=yes"
3218 echo "configure: failed program was:" >&5
3219 cat conftest.
$ac_ext >&5
3221 eval "ac_cv_func_initgroups=no"
3226 if eval "test \"`echo '$ac_cv_func_'initgroups`\" = yes"; then
3227 echo "$ac_t""yes" 1>&6
3228 cat >> confdefs.h
<<\EOF
3229 #define HAVE_INITGROUPS 1
3233 echo "$ac_t""no" 1>&6
3234 MISSING
="${MISSING}initgroups.o "
3237 echo $ac_n "checking for memcmp""... $ac_c" 1>&6
3238 echo "configure:3239: checking for memcmp" >&5
3239 if eval "test \"`echo '$''{'ac_cv_func_memcmp'+set}'`\" = set"; then
3240 echo $ac_n "(cached) $ac_c" 1>&6
3242 cat > conftest.
$ac_ext <<EOF
3243 #line 3244 "configure"
3244 #include "confdefs.h"
3245 /* System header to define __stub macros and hopefully few prototypes,
3246 which can conflict with char memcmp(); below. */
3248 /* Override any gcc2 internal prototype to avoid an error. */
3249 /* We use char because int might match the return type of a gcc2
3250 builtin and then its argument prototype would still apply. */
3255 /* The GNU C library defines this for functions which it implements
3256 to always fail with ENOSYS. Some functions are actually named
3257 something starting with __ and the normal name is an alias. */
3258 #if defined (__stub_memcmp) || defined (__stub___memcmp)
3266 if { (eval echo configure
:3267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3268 eval "ac_cv_func_memcmp=yes"
3270 echo "configure: failed program was:" >&5
3271 cat conftest.
$ac_ext >&5
3273 eval "ac_cv_func_memcmp=no"
3278 if eval "test \"`echo '$ac_cv_func_'memcmp`\" = yes"; then
3279 echo "$ac_t""yes" 1>&6
3280 cat >> confdefs.h
<<\EOF
3281 #define HAVE_MEMCMP 1
3285 echo "$ac_t""no" 1>&6
3286 MISSING
="${MISSING}memcmp.o "
3289 echo $ac_n "checking for memcpy""... $ac_c" 1>&6
3290 echo "configure:3291: checking for memcpy" >&5
3291 if eval "test \"`echo '$''{'ac_cv_func_memcpy'+set}'`\" = set"; then
3292 echo $ac_n "(cached) $ac_c" 1>&6
3294 cat > conftest.
$ac_ext <<EOF
3295 #line 3296 "configure"
3296 #include "confdefs.h"
3297 /* System header to define __stub macros and hopefully few prototypes,
3298 which can conflict with char memcpy(); below. */
3300 /* Override any gcc2 internal prototype to avoid an error. */
3301 /* We use char because int might match the return type of a gcc2
3302 builtin and then its argument prototype would still apply. */
3307 /* The GNU C library defines this for functions which it implements
3308 to always fail with ENOSYS. Some functions are actually named
3309 something starting with __ and the normal name is an alias. */
3310 #if defined (__stub_memcpy) || defined (__stub___memcpy)
3318 if { (eval echo configure
:3319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3320 eval "ac_cv_func_memcpy=yes"
3322 echo "configure: failed program was:" >&5
3323 cat conftest.
$ac_ext >&5
3325 eval "ac_cv_func_memcpy=no"
3330 if eval "test \"`echo '$ac_cv_func_'memcpy`\" = yes"; then
3331 echo "$ac_t""yes" 1>&6
3332 cat >> confdefs.h
<<\EOF
3333 #define HAVE_MEMCPY 1
3337 echo "$ac_t""no" 1>&6
3338 MISSING
="${MISSING}memcpy.o "; for ac_func
in bcopy
3340 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3341 echo "configure:3342: checking for $ac_func" >&5
3342 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3343 echo $ac_n "(cached) $ac_c" 1>&6
3345 cat > conftest.
$ac_ext <<EOF
3346 #line 3347 "configure"
3347 #include "confdefs.h"
3348 /* System header to define __stub macros and hopefully few prototypes,
3349 which can conflict with char $ac_func(); below. */
3351 /* Override any gcc2 internal prototype to avoid an error. */
3352 /* We use char because int might match the return type of a gcc2
3353 builtin and then its argument prototype would still apply. */
3358 /* The GNU C library defines this for functions which it implements
3359 to always fail with ENOSYS. Some functions are actually named
3360 something starting with __ and the normal name is an alias. */
3361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3369 if { (eval echo configure
:3370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3371 eval "ac_cv_func_$ac_func=yes"
3373 echo "configure: failed program was:" >&5
3374 cat conftest.
$ac_ext >&5
3376 eval "ac_cv_func_$ac_func=no"
3381 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3382 echo "$ac_t""yes" 1>&6
3383 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3384 cat >> confdefs.h
<<EOF
3385 #define $ac_tr_func 1
3389 echo "$ac_t""no" 1>&6
3395 echo $ac_n "checking for memset""... $ac_c" 1>&6
3396 echo "configure:3397: checking for memset" >&5
3397 if eval "test \"`echo '$''{'ac_cv_func_memset'+set}'`\" = set"; then
3398 echo $ac_n "(cached) $ac_c" 1>&6
3400 cat > conftest.
$ac_ext <<EOF
3401 #line 3402 "configure"
3402 #include "confdefs.h"
3403 /* System header to define __stub macros and hopefully few prototypes,
3404 which can conflict with char memset(); below. */
3406 /* Override any gcc2 internal prototype to avoid an error. */
3407 /* We use char because int might match the return type of a gcc2
3408 builtin and then its argument prototype would still apply. */
3413 /* The GNU C library defines this for functions which it implements
3414 to always fail with ENOSYS. Some functions are actually named
3415 something starting with __ and the normal name is an alias. */
3416 #if defined (__stub_memset) || defined (__stub___memset)
3424 if { (eval echo configure
:3425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3426 eval "ac_cv_func_memset=yes"
3428 echo "configure: failed program was:" >&5
3429 cat conftest.
$ac_ext >&5
3431 eval "ac_cv_func_memset=no"
3436 if eval "test \"`echo '$ac_cv_func_'memset`\" = yes"; then
3437 echo "$ac_t""yes" 1>&6
3438 cat >> confdefs.h
<<\EOF
3439 #define HAVE_MEMSET 1
3443 echo "$ac_t""no" 1>&6
3444 MISSING
="${MISSING}memset.o "; for ac_func
in bzero
3446 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3447 echo "configure:3448: checking for $ac_func" >&5
3448 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3449 echo $ac_n "(cached) $ac_c" 1>&6
3451 cat > conftest.
$ac_ext <<EOF
3452 #line 3453 "configure"
3453 #include "confdefs.h"
3454 /* System header to define __stub macros and hopefully few prototypes,
3455 which can conflict with char $ac_func(); below. */
3457 /* Override any gcc2 internal prototype to avoid an error. */
3458 /* We use char because int might match the return type of a gcc2
3459 builtin and then its argument prototype would still apply. */
3464 /* The GNU C library defines this for functions which it implements
3465 to always fail with ENOSYS. Some functions are actually named
3466 something starting with __ and the normal name is an alias. */
3467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3475 if { (eval echo configure
:3476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3477 eval "ac_cv_func_$ac_func=yes"
3479 echo "configure: failed program was:" >&5
3480 cat conftest.
$ac_ext >&5
3482 eval "ac_cv_func_$ac_func=no"
3487 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3488 echo "$ac_t""yes" 1>&6
3489 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3490 cat >> confdefs.h
<<EOF
3491 #define $ac_tr_func 1
3495 echo "$ac_t""no" 1>&6
3501 echo $ac_n "checking for getcwd""... $ac_c" 1>&6
3502 echo "configure:3503: checking for getcwd" >&5
3503 if eval "test \"`echo '$''{'ac_cv_func_getcwd'+set}'`\" = set"; then
3504 echo $ac_n "(cached) $ac_c" 1>&6
3506 cat > conftest.
$ac_ext <<EOF
3507 #line 3508 "configure"
3508 #include "confdefs.h"
3509 /* System header to define __stub macros and hopefully few prototypes,
3510 which can conflict with char getcwd(); below. */
3512 /* Override any gcc2 internal prototype to avoid an error. */
3513 /* We use char because int might match the return type of a gcc2
3514 builtin and then its argument prototype would still apply. */
3519 /* The GNU C library defines this for functions which it implements
3520 to always fail with ENOSYS. Some functions are actually named
3521 something starting with __ and the normal name is an alias. */
3522 #if defined (__stub_getcwd) || defined (__stub___getcwd)
3530 if { (eval echo configure
:3531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3532 eval "ac_cv_func_getcwd=yes"
3534 echo "configure: failed program was:" >&5
3535 cat conftest.
$ac_ext >&5
3537 eval "ac_cv_func_getcwd=no"
3542 if eval "test \"`echo '$ac_cv_func_'getcwd`\" = yes"; then
3543 echo "$ac_t""yes" 1>&6
3544 cat >> confdefs.h
<<\EOF
3545 #define HAVE_GETCWD 1
3549 echo "$ac_t""no" 1>&6
3550 MISSING
="${MISSING}getcwd.o "; for ac_func
in getwd
3552 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3553 echo "configure:3554: checking for $ac_func" >&5
3554 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3555 echo $ac_n "(cached) $ac_c" 1>&6
3557 cat > conftest.
$ac_ext <<EOF
3558 #line 3559 "configure"
3559 #include "confdefs.h"
3560 /* System header to define __stub macros and hopefully few prototypes,
3561 which can conflict with char $ac_func(); below. */
3563 /* Override any gcc2 internal prototype to avoid an error. */
3564 /* We use char because int might match the return type of a gcc2
3565 builtin and then its argument prototype would still apply. */
3570 /* The GNU C library defines this for functions which it implements
3571 to always fail with ENOSYS. Some functions are actually named
3572 something starting with __ and the normal name is an alias. */
3573 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3581 if { (eval echo configure
:3582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3583 eval "ac_cv_func_$ac_func=yes"
3585 echo "configure: failed program was:" >&5
3586 cat conftest.
$ac_ext >&5
3588 eval "ac_cv_func_$ac_func=no"
3593 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3594 echo "$ac_t""yes" 1>&6
3595 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3596 cat >> confdefs.h
<<EOF
3597 #define $ac_tr_func 1
3601 echo "$ac_t""no" 1>&6
3607 echo $ac_n "checking for getenv""... $ac_c" 1>&6
3608 echo "configure:3609: checking for getenv" >&5
3609 if eval "test \"`echo '$''{'ac_cv_func_getenv'+set}'`\" = set"; then
3610 echo $ac_n "(cached) $ac_c" 1>&6
3612 cat > conftest.
$ac_ext <<EOF
3613 #line 3614 "configure"
3614 #include "confdefs.h"
3615 /* System header to define __stub macros and hopefully few prototypes,
3616 which can conflict with char getenv(); below. */
3618 /* Override any gcc2 internal prototype to avoid an error. */
3619 /* We use char because int might match the return type of a gcc2
3620 builtin and then its argument prototype would still apply. */
3625 /* The GNU C library defines this for functions which it implements
3626 to always fail with ENOSYS. Some functions are actually named
3627 something starting with __ and the normal name is an alias. */
3628 #if defined (__stub_getenv) || defined (__stub___getenv)
3636 if { (eval echo configure
:3637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3638 eval "ac_cv_func_getenv=yes"
3640 echo "configure: failed program was:" >&5
3641 cat conftest.
$ac_ext >&5
3643 eval "ac_cv_func_getenv=no"
3648 if eval "test \"`echo '$ac_cv_func_'getenv`\" = yes"; then
3649 echo "$ac_t""yes" 1>&6
3650 cat >> confdefs.h
<<\EOF
3651 #define HAVE_GETENV 1
3655 echo "$ac_t""no" 1>&6
3656 MISSING
="${MISSING}env.o "
3659 echo $ac_n "checking for getutline""... $ac_c" 1>&6
3660 echo "configure:3661: checking for getutline" >&5
3661 if eval "test \"`echo '$''{'ac_cv_func_getutline'+set}'`\" = set"; then
3662 echo $ac_n "(cached) $ac_c" 1>&6
3664 cat > conftest.
$ac_ext <<EOF
3665 #line 3666 "configure"
3666 #include "confdefs.h"
3667 /* System header to define __stub macros and hopefully few prototypes,
3668 which can conflict with char getutline(); below. */
3670 /* Override any gcc2 internal prototype to avoid an error. */
3671 /* We use char because int might match the return type of a gcc2
3672 builtin and then its argument prototype would still apply. */
3677 /* The GNU C library defines this for functions which it implements
3678 to always fail with ENOSYS. Some functions are actually named
3679 something starting with __ and the normal name is an alias. */
3680 #if defined (__stub_getutline) || defined (__stub___getutline)
3688 if { (eval echo configure
:3689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3690 eval "ac_cv_func_getutline=yes"
3692 echo "configure: failed program was:" >&5
3693 cat conftest.
$ac_ext >&5
3695 eval "ac_cv_func_getutline=no"
3700 if eval "test \"`echo '$ac_cv_func_'getutline`\" = yes"; then
3701 echo "$ac_t""yes" 1>&6
3702 cat >> confdefs.h
<<\EOF
3703 #define HAVE_GETUTLINE 1
3707 echo "$ac_t""no" 1>&6
3708 MISSING
="${MISSING}getutline.o "; for ac_func
in ttyslot
3710 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3711 echo "configure:3712: checking for $ac_func" >&5
3712 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3713 echo $ac_n "(cached) $ac_c" 1>&6
3715 cat > conftest.
$ac_ext <<EOF
3716 #line 3717 "configure"
3717 #include "confdefs.h"
3718 /* System header to define __stub macros and hopefully few prototypes,
3719 which can conflict with char $ac_func(); below. */
3721 /* Override any gcc2 internal prototype to avoid an error. */
3722 /* We use char because int might match the return type of a gcc2
3723 builtin and then its argument prototype would still apply. */
3728 /* The GNU C library defines this for functions which it implements
3729 to always fail with ENOSYS. Some functions are actually named
3730 something starting with __ and the normal name is an alias. */
3731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3739 if { (eval echo configure
:3740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3741 eval "ac_cv_func_$ac_func=yes"
3743 echo "configure: failed program was:" >&5
3744 cat conftest.
$ac_ext >&5
3746 eval "ac_cv_func_$ac_func=no"
3751 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3752 echo "$ac_t""yes" 1>&6
3753 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3754 cat >> confdefs.h
<<EOF
3755 #define $ac_tr_func 1
3759 echo "$ac_t""no" 1>&6
3765 echo $ac_n "checking for pututline""... $ac_c" 1>&6
3766 echo "configure:3767: checking for pututline" >&5
3767 if eval "test \"`echo '$''{'ac_cv_func_pututline'+set}'`\" = set"; then
3768 echo $ac_n "(cached) $ac_c" 1>&6
3770 cat > conftest.
$ac_ext <<EOF
3771 #line 3772 "configure"
3772 #include "confdefs.h"
3773 /* System header to define __stub macros and hopefully few prototypes,
3774 which can conflict with char pututline(); below. */
3776 /* Override any gcc2 internal prototype to avoid an error. */
3777 /* We use char because int might match the return type of a gcc2
3778 builtin and then its argument prototype would still apply. */
3783 /* The GNU C library defines this for functions which it implements
3784 to always fail with ENOSYS. Some functions are actually named
3785 something starting with __ and the normal name is an alias. */
3786 #if defined (__stub_pututline) || defined (__stub___pututline)
3794 if { (eval echo configure
:3795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3796 eval "ac_cv_func_pututline=yes"
3798 echo "configure: failed program was:" >&5
3799 cat conftest.
$ac_ext >&5
3801 eval "ac_cv_func_pututline=no"
3806 if eval "test \"`echo '$ac_cv_func_'pututline`\" = yes"; then
3807 echo "$ac_t""yes" 1>&6
3808 cat >> confdefs.h
<<\EOF
3809 #define HAVE_PUTUTLINE 1
3813 echo "$ac_t""no" 1>&6
3814 MISSING
="${MISSING}pututline.o "; for ac_func
in ttyslot
3816 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3817 echo "configure:3818: checking for $ac_func" >&5
3818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3819 echo $ac_n "(cached) $ac_c" 1>&6
3821 cat > conftest.
$ac_ext <<EOF
3822 #line 3823 "configure"
3823 #include "confdefs.h"
3824 /* System header to define __stub macros and hopefully few prototypes,
3825 which can conflict with char $ac_func(); below. */
3827 /* Override any gcc2 internal prototype to avoid an error. */
3828 /* We use char because int might match the return type of a gcc2
3829 builtin and then its argument prototype would still apply. */
3834 /* The GNU C library defines this for functions which it implements
3835 to always fail with ENOSYS. Some functions are actually named
3836 something starting with __ and the normal name is an alias. */
3837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3845 if { (eval echo configure
:3846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3847 eval "ac_cv_func_$ac_func=yes"
3849 echo "configure: failed program was:" >&5
3850 cat conftest.
$ac_ext >&5
3852 eval "ac_cv_func_$ac_func=no"
3857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3858 echo "$ac_t""yes" 1>&6
3859 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3860 cat >> confdefs.h
<<EOF
3861 #define $ac_tr_func 1
3865 echo "$ac_t""no" 1>&6
3871 echo $ac_n "checking for setenv""... $ac_c" 1>&6
3872 echo "configure:3873: checking for setenv" >&5
3873 if eval "test \"`echo '$''{'ac_cv_func_setenv'+set}'`\" = set"; then
3874 echo $ac_n "(cached) $ac_c" 1>&6
3876 cat > conftest.
$ac_ext <<EOF
3877 #line 3878 "configure"
3878 #include "confdefs.h"
3879 /* System header to define __stub macros and hopefully few prototypes,
3880 which can conflict with char setenv(); below. */
3882 /* Override any gcc2 internal prototype to avoid an error. */
3883 /* We use char because int might match the return type of a gcc2
3884 builtin and then its argument prototype would still apply. */
3889 /* The GNU C library defines this for functions which it implements
3890 to always fail with ENOSYS. Some functions are actually named
3891 something starting with __ and the normal name is an alias. */
3892 #if defined (__stub_setenv) || defined (__stub___setenv)
3900 if { (eval echo configure
:3901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3902 eval "ac_cv_func_setenv=yes"
3904 echo "configure: failed program was:" >&5
3905 cat conftest.
$ac_ext >&5
3907 eval "ac_cv_func_setenv=no"
3912 if eval "test \"`echo '$ac_cv_func_'setenv`\" = yes"; then
3913 echo "$ac_t""yes" 1>&6
3914 cat >> confdefs.h
<<\EOF
3915 #define HAVE_SETENV 1
3919 echo "$ac_t""no" 1>&6
3920 MISSING
="${MISSING}env.o "
3923 echo $ac_n "checking for setegid""... $ac_c" 1>&6
3924 echo "configure:3925: checking for setegid" >&5
3925 if eval "test \"`echo '$''{'ac_cv_func_setegid'+set}'`\" = set"; then
3926 echo $ac_n "(cached) $ac_c" 1>&6
3928 cat > conftest.
$ac_ext <<EOF
3929 #line 3930 "configure"
3930 #include "confdefs.h"
3931 /* System header to define __stub macros and hopefully few prototypes,
3932 which can conflict with char setegid(); below. */
3934 /* Override any gcc2 internal prototype to avoid an error. */
3935 /* We use char because int might match the return type of a gcc2
3936 builtin and then its argument prototype would still apply. */
3941 /* The GNU C library defines this for functions which it implements
3942 to always fail with ENOSYS. Some functions are actually named
3943 something starting with __ and the normal name is an alias. */
3944 #if defined (__stub_setegid) || defined (__stub___setegid)
3952 if { (eval echo configure
:3953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3954 eval "ac_cv_func_setegid=yes"
3956 echo "configure: failed program was:" >&5
3957 cat conftest.
$ac_ext >&5
3959 eval "ac_cv_func_setegid=no"
3964 if eval "test \"`echo '$ac_cv_func_'setegid`\" = yes"; then
3965 echo "$ac_t""yes" 1>&6
3966 cat >> confdefs.h
<<\EOF
3967 #define HAVE_SETEGID 1
3971 echo "$ac_t""no" 1>&6
3972 MISSING
="${MISSING}setegid.o "; for ac_func
in setregid setresgid
3974 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3975 echo "configure:3976: checking for $ac_func" >&5
3976 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3977 echo $ac_n "(cached) $ac_c" 1>&6
3979 cat > conftest.
$ac_ext <<EOF
3980 #line 3981 "configure"
3981 #include "confdefs.h"
3982 /* System header to define __stub macros and hopefully few prototypes,
3983 which can conflict with char $ac_func(); below. */
3985 /* Override any gcc2 internal prototype to avoid an error. */
3986 /* We use char because int might match the return type of a gcc2
3987 builtin and then its argument prototype would still apply. */
3992 /* The GNU C library defines this for functions which it implements
3993 to always fail with ENOSYS. Some functions are actually named
3994 something starting with __ and the normal name is an alias. */
3995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4003 if { (eval echo configure
:4004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4005 eval "ac_cv_func_$ac_func=yes"
4007 echo "configure: failed program was:" >&5
4008 cat conftest.
$ac_ext >&5
4010 eval "ac_cv_func_$ac_func=no"
4015 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4016 echo "$ac_t""yes" 1>&6
4017 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4018 cat >> confdefs.h
<<EOF
4019 #define $ac_tr_func 1
4023 echo "$ac_t""no" 1>&6
4029 echo $ac_n "checking for seteuid""... $ac_c" 1>&6
4030 echo "configure:4031: checking for seteuid" >&5
4031 if eval "test \"`echo '$''{'ac_cv_func_seteuid'+set}'`\" = set"; then
4032 echo $ac_n "(cached) $ac_c" 1>&6
4034 cat > conftest.
$ac_ext <<EOF
4035 #line 4036 "configure"
4036 #include "confdefs.h"
4037 /* System header to define __stub macros and hopefully few prototypes,
4038 which can conflict with char seteuid(); below. */
4040 /* Override any gcc2 internal prototype to avoid an error. */
4041 /* We use char because int might match the return type of a gcc2
4042 builtin and then its argument prototype would still apply. */
4047 /* The GNU C library defines this for functions which it implements
4048 to always fail with ENOSYS. Some functions are actually named
4049 something starting with __ and the normal name is an alias. */
4050 #if defined (__stub_seteuid) || defined (__stub___seteuid)
4058 if { (eval echo configure
:4059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4060 eval "ac_cv_func_seteuid=yes"
4062 echo "configure: failed program was:" >&5
4063 cat conftest.
$ac_ext >&5
4065 eval "ac_cv_func_seteuid=no"
4070 if eval "test \"`echo '$ac_cv_func_'seteuid`\" = yes"; then
4071 echo "$ac_t""yes" 1>&6
4072 cat >> confdefs.h
<<\EOF
4073 #define HAVE_SETEUID 1
4077 echo "$ac_t""no" 1>&6
4078 MISSING
="${MISSING}seteuid.o "; for ac_func
in setreuid setresuid
4080 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4081 echo "configure:4082: checking for $ac_func" >&5
4082 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4083 echo $ac_n "(cached) $ac_c" 1>&6
4085 cat > conftest.
$ac_ext <<EOF
4086 #line 4087 "configure"
4087 #include "confdefs.h"
4088 /* System header to define __stub macros and hopefully few prototypes,
4089 which can conflict with char $ac_func(); below. */
4091 /* Override any gcc2 internal prototype to avoid an error. */
4092 /* We use char because int might match the return type of a gcc2
4093 builtin and then its argument prototype would still apply. */
4098 /* The GNU C library defines this for functions which it implements
4099 to always fail with ENOSYS. Some functions are actually named
4100 something starting with __ and the normal name is an alias. */
4101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4109 if { (eval echo configure
:4110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4111 eval "ac_cv_func_$ac_func=yes"
4113 echo "configure: failed program was:" >&5
4114 cat conftest.
$ac_ext >&5
4116 eval "ac_cv_func_$ac_func=no"
4121 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4122 echo "$ac_t""yes" 1>&6
4123 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4124 cat >> confdefs.h
<<EOF
4125 #define $ac_tr_func 1
4129 echo "$ac_t""no" 1>&6
4135 echo $ac_n "checking for setutent""... $ac_c" 1>&6
4136 echo "configure:4137: checking for setutent" >&5
4137 if eval "test \"`echo '$''{'ac_cv_func_setutent'+set}'`\" = set"; then
4138 echo $ac_n "(cached) $ac_c" 1>&6
4140 cat > conftest.
$ac_ext <<EOF
4141 #line 4142 "configure"
4142 #include "confdefs.h"
4143 /* System header to define __stub macros and hopefully few prototypes,
4144 which can conflict with char setutent(); below. */
4146 /* Override any gcc2 internal prototype to avoid an error. */
4147 /* We use char because int might match the return type of a gcc2
4148 builtin and then its argument prototype would still apply. */
4153 /* The GNU C library defines this for functions which it implements
4154 to always fail with ENOSYS. Some functions are actually named
4155 something starting with __ and the normal name is an alias. */
4156 #if defined (__stub_setutent) || defined (__stub___setutent)
4164 if { (eval echo configure
:4165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4166 eval "ac_cv_func_setutent=yes"
4168 echo "configure: failed program was:" >&5
4169 cat conftest.
$ac_ext >&5
4171 eval "ac_cv_func_setutent=no"
4176 if eval "test \"`echo '$ac_cv_func_'setutent`\" = yes"; then
4177 echo "$ac_t""yes" 1>&6
4178 cat >> confdefs.h
<<\EOF
4179 #define HAVE_SETUTENT 1
4183 echo "$ac_t""no" 1>&6
4184 MISSING
="${MISSING}setutent.o "
4187 echo $ac_n "checking for sigprocmask""... $ac_c" 1>&6
4188 echo "configure:4189: checking for sigprocmask" >&5
4189 if eval "test \"`echo '$''{'ac_cv_func_sigprocmask'+set}'`\" = set"; then
4190 echo $ac_n "(cached) $ac_c" 1>&6
4192 cat > conftest.
$ac_ext <<EOF
4193 #line 4194 "configure"
4194 #include "confdefs.h"
4195 /* System header to define __stub macros and hopefully few prototypes,
4196 which can conflict with char sigprocmask(); below. */
4198 /* Override any gcc2 internal prototype to avoid an error. */
4199 /* We use char because int might match the return type of a gcc2
4200 builtin and then its argument prototype would still apply. */
4205 /* The GNU C library defines this for functions which it implements
4206 to always fail with ENOSYS. Some functions are actually named
4207 something starting with __ and the normal name is an alias. */
4208 #if defined (__stub_sigprocmask) || defined (__stub___sigprocmask)
4216 if { (eval echo configure
:4217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4218 eval "ac_cv_func_sigprocmask=yes"
4220 echo "configure: failed program was:" >&5
4221 cat conftest.
$ac_ext >&5
4223 eval "ac_cv_func_sigprocmask=no"
4228 if eval "test \"`echo '$ac_cv_func_'sigprocmask`\" = yes"; then
4229 echo "$ac_t""yes" 1>&6
4230 cat >> confdefs.h
<<\EOF
4231 #define HAVE_SIGPROCMASK 1
4235 echo "$ac_t""no" 1>&6
4236 MISSING
="${MISSING}sigprocmask.o "; for ac_func
in sigblock sigsetmask
4238 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4239 echo "configure:4240: checking for $ac_func" >&5
4240 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4241 echo $ac_n "(cached) $ac_c" 1>&6
4243 cat > conftest.
$ac_ext <<EOF
4244 #line 4245 "configure"
4245 #include "confdefs.h"
4246 /* System header to define __stub macros and hopefully few prototypes,
4247 which can conflict with char $ac_func(); below. */
4249 /* Override any gcc2 internal prototype to avoid an error. */
4250 /* We use char because int might match the return type of a gcc2
4251 builtin and then its argument prototype would still apply. */
4256 /* The GNU C library defines this for functions which it implements
4257 to always fail with ENOSYS. Some functions are actually named
4258 something starting with __ and the normal name is an alias. */
4259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4267 if { (eval echo configure
:4268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4269 eval "ac_cv_func_$ac_func=yes"
4271 echo "configure: failed program was:" >&5
4272 cat conftest.
$ac_ext >&5
4274 eval "ac_cv_func_$ac_func=no"
4279 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4280 echo "$ac_t""yes" 1>&6
4281 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4282 cat >> confdefs.h
<<EOF
4283 #define $ac_tr_func 1
4287 echo "$ac_t""no" 1>&6
4293 echo $ac_n "checking for strchr""... $ac_c" 1>&6
4294 echo "configure:4295: checking for strchr" >&5
4295 if eval "test \"`echo '$''{'ac_cv_func_strchr'+set}'`\" = set"; then
4296 echo $ac_n "(cached) $ac_c" 1>&6
4298 cat > conftest.
$ac_ext <<EOF
4299 #line 4300 "configure"
4300 #include "confdefs.h"
4301 /* System header to define __stub macros and hopefully few prototypes,
4302 which can conflict with char strchr(); below. */
4304 /* Override any gcc2 internal prototype to avoid an error. */
4305 /* We use char because int might match the return type of a gcc2
4306 builtin and then its argument prototype would still apply. */
4311 /* The GNU C library defines this for functions which it implements
4312 to always fail with ENOSYS. Some functions are actually named
4313 something starting with __ and the normal name is an alias. */
4314 #if defined (__stub_strchr) || defined (__stub___strchr)
4322 if { (eval echo configure
:4323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4324 eval "ac_cv_func_strchr=yes"
4326 echo "configure: failed program was:" >&5
4327 cat conftest.
$ac_ext >&5
4329 eval "ac_cv_func_strchr=no"
4334 if eval "test \"`echo '$ac_cv_func_'strchr`\" = yes"; then
4335 echo "$ac_t""yes" 1>&6
4336 cat >> confdefs.h
<<\EOF
4337 #define HAVE_STRCHR 1
4341 echo "$ac_t""no" 1>&6
4342 MISSING
="${MISSING}strchr.o "; for ac_func
in index
4344 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4345 echo "configure:4346: checking for $ac_func" >&5
4346 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+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 $ac_func(); 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_$ac_func) || defined (__stub___$ac_func)
4373 if { (eval echo configure
:4374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4375 eval "ac_cv_func_$ac_func=yes"
4377 echo "configure: failed program was:" >&5
4378 cat conftest.
$ac_ext >&5
4380 eval "ac_cv_func_$ac_func=no"
4385 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4386 echo "$ac_t""yes" 1>&6
4387 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4388 cat >> confdefs.h
<<EOF
4389 #define $ac_tr_func 1
4393 echo "$ac_t""no" 1>&6
4399 echo $ac_n "checking for strrchr""... $ac_c" 1>&6
4400 echo "configure:4401: checking for strrchr" >&5
4401 if eval "test \"`echo '$''{'ac_cv_func_strrchr'+set}'`\" = set"; then
4402 echo $ac_n "(cached) $ac_c" 1>&6
4404 cat > conftest.
$ac_ext <<EOF
4405 #line 4406 "configure"
4406 #include "confdefs.h"
4407 /* System header to define __stub macros and hopefully few prototypes,
4408 which can conflict with char strrchr(); below. */
4410 /* Override any gcc2 internal prototype to avoid an error. */
4411 /* We use char because int might match the return type of a gcc2
4412 builtin and then its argument prototype would still apply. */
4417 /* The GNU C library defines this for functions which it implements
4418 to always fail with ENOSYS. Some functions are actually named
4419 something starting with __ and the normal name is an alias. */
4420 #if defined (__stub_strrchr) || defined (__stub___strrchr)
4428 if { (eval echo configure
:4429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4430 eval "ac_cv_func_strrchr=yes"
4432 echo "configure: failed program was:" >&5
4433 cat conftest.
$ac_ext >&5
4435 eval "ac_cv_func_strrchr=no"
4440 if eval "test \"`echo '$ac_cv_func_'strrchr`\" = yes"; then
4441 echo "$ac_t""yes" 1>&6
4442 cat >> confdefs.h
<<\EOF
4443 #define HAVE_STRRCHR 1
4447 echo "$ac_t""no" 1>&6
4448 MISSING
="${MISSING}strrchr.o "; for ac_func
in rindex
4450 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4451 echo "configure:4452: checking for $ac_func" >&5
4452 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4453 echo $ac_n "(cached) $ac_c" 1>&6
4455 cat > conftest.
$ac_ext <<EOF
4456 #line 4457 "configure"
4457 #include "confdefs.h"
4458 /* System header to define __stub macros and hopefully few prototypes,
4459 which can conflict with char $ac_func(); below. */
4461 /* Override any gcc2 internal prototype to avoid an error. */
4462 /* We use char because int might match the return type of a gcc2
4463 builtin and then its argument prototype would still apply. */
4468 /* The GNU C library defines this for functions which it implements
4469 to always fail with ENOSYS. Some functions are actually named
4470 something starting with __ and the normal name is an alias. */
4471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4479 if { (eval echo configure
:4480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4481 eval "ac_cv_func_$ac_func=yes"
4483 echo "configure: failed program was:" >&5
4484 cat conftest.
$ac_ext >&5
4486 eval "ac_cv_func_$ac_func=no"
4491 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4492 echo "$ac_t""yes" 1>&6
4493 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4494 cat >> confdefs.h
<<EOF
4495 #define $ac_tr_func 1
4499 echo "$ac_t""no" 1>&6
4505 echo $ac_n "checking for strtoul""... $ac_c" 1>&6
4506 echo "configure:4507: checking for strtoul" >&5
4507 if eval "test \"`echo '$''{'ac_cv_func_strtoul'+set}'`\" = set"; then
4508 echo $ac_n "(cached) $ac_c" 1>&6
4510 cat > conftest.
$ac_ext <<EOF
4511 #line 4512 "configure"
4512 #include "confdefs.h"
4513 /* System header to define __stub macros and hopefully few prototypes,
4514 which can conflict with char strtoul(); below. */
4516 /* Override any gcc2 internal prototype to avoid an error. */
4517 /* We use char because int might match the return type of a gcc2
4518 builtin and then its argument prototype would still apply. */
4523 /* The GNU C library defines this for functions which it implements
4524 to always fail with ENOSYS. Some functions are actually named
4525 something starting with __ and the normal name is an alias. */
4526 #if defined (__stub_strtoul) || defined (__stub___strtoul)
4534 if { (eval echo configure
:4535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4536 eval "ac_cv_func_strtoul=yes"
4538 echo "configure: failed program was:" >&5
4539 cat conftest.
$ac_ext >&5
4541 eval "ac_cv_func_strtoul=no"
4546 if eval "test \"`echo '$ac_cv_func_'strtoul`\" = yes"; then
4547 echo "$ac_t""yes" 1>&6
4548 cat >> confdefs.h
<<\EOF
4549 #define HAVE_STRTOUL 1
4553 echo "$ac_t""no" 1>&6
4554 MISSING
="${MISSING}strtoul.o "
4557 echo $ac_n "checking for sysconf""... $ac_c" 1>&6
4558 echo "configure:4559: checking for sysconf" >&5
4559 if eval "test \"`echo '$''{'ac_cv_func_sysconf'+set}'`\" = set"; then
4560 echo $ac_n "(cached) $ac_c" 1>&6
4562 cat > conftest.
$ac_ext <<EOF
4563 #line 4564 "configure"
4564 #include "confdefs.h"
4565 /* System header to define __stub macros and hopefully few prototypes,
4566 which can conflict with char sysconf(); below. */
4568 /* Override any gcc2 internal prototype to avoid an error. */
4569 /* We use char because int might match the return type of a gcc2
4570 builtin and then its argument prototype would still apply. */
4575 /* The GNU C library defines this for functions which it implements
4576 to always fail with ENOSYS. Some functions are actually named
4577 something starting with __ and the normal name is an alias. */
4578 #if defined (__stub_sysconf) || defined (__stub___sysconf)
4586 if { (eval echo configure
:4587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4588 eval "ac_cv_func_sysconf=yes"
4590 echo "configure: failed program was:" >&5
4591 cat conftest.
$ac_ext >&5
4593 eval "ac_cv_func_sysconf=no"
4598 if eval "test \"`echo '$ac_cv_func_'sysconf`\" = yes"; then
4599 echo "$ac_t""yes" 1>&6
4600 cat >> confdefs.h
<<\EOF
4601 #define HAVE_SYSCONF 1
4605 echo "$ac_t""no" 1>&6
4606 MISSING
="${MISSING}sysconf.o "; for ac_func
in getdtablesize
4608 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4609 echo "configure:4610: checking for $ac_func" >&5
4610 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4611 echo $ac_n "(cached) $ac_c" 1>&6
4613 cat > conftest.
$ac_ext <<EOF
4614 #line 4615 "configure"
4615 #include "confdefs.h"
4616 /* System header to define __stub macros and hopefully few prototypes,
4617 which can conflict with char $ac_func(); below. */
4619 /* Override any gcc2 internal prototype to avoid an error. */
4620 /* We use char because int might match the return type of a gcc2
4621 builtin and then its argument prototype would still apply. */
4626 /* The GNU C library defines this for functions which it implements
4627 to always fail with ENOSYS. Some functions are actually named
4628 something starting with __ and the normal name is an alias. */
4629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4637 if { (eval echo configure
:4638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4639 eval "ac_cv_func_$ac_func=yes"
4641 echo "configure: failed program was:" >&5
4642 cat conftest.
$ac_ext >&5
4644 eval "ac_cv_func_$ac_func=no"
4649 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4650 echo "$ac_t""yes" 1>&6
4651 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4652 cat >> confdefs.h
<<EOF
4653 #define $ac_tr_func 1
4657 echo "$ac_t""no" 1>&6
4663 echo $ac_n "checking for uname""... $ac_c" 1>&6
4664 echo "configure:4665: checking for uname" >&5
4665 if eval "test \"`echo '$''{'ac_cv_func_uname'+set}'`\" = set"; then
4666 echo $ac_n "(cached) $ac_c" 1>&6
4668 cat > conftest.
$ac_ext <<EOF
4669 #line 4670 "configure"
4670 #include "confdefs.h"
4671 /* System header to define __stub macros and hopefully few prototypes,
4672 which can conflict with char uname(); below. */
4674 /* Override any gcc2 internal prototype to avoid an error. */
4675 /* We use char because int might match the return type of a gcc2
4676 builtin and then its argument prototype would still apply. */
4681 /* The GNU C library defines this for functions which it implements
4682 to always fail with ENOSYS. Some functions are actually named
4683 something starting with __ and the normal name is an alias. */
4684 #if defined (__stub_uname) || defined (__stub___uname)
4692 if { (eval echo configure
:4693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4694 eval "ac_cv_func_uname=yes"
4696 echo "configure: failed program was:" >&5
4697 cat conftest.
$ac_ext >&5
4699 eval "ac_cv_func_uname=no"
4704 if eval "test \"`echo '$ac_cv_func_'uname`\" = yes"; then
4705 echo "$ac_t""yes" 1>&6
4706 cat >> confdefs.h
<<\EOF
4707 #define HAVE_UNAME 1
4711 echo "$ac_t""no" 1>&6
4712 MISSING
="${MISSING}uname.o "; for ac_func
in gethostname
4714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4715 echo "configure:4716: checking for $ac_func" >&5
4716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4717 echo $ac_n "(cached) $ac_c" 1>&6
4719 cat > conftest.
$ac_ext <<EOF
4720 #line 4721 "configure"
4721 #include "confdefs.h"
4722 /* System header to define __stub macros and hopefully few prototypes,
4723 which can conflict with char $ac_func(); below. */
4725 /* Override any gcc2 internal prototype to avoid an error. */
4726 /* We use char because int might match the return type of a gcc2
4727 builtin and then its argument prototype would still apply. */
4732 /* The GNU C library defines this for functions which it implements
4733 to always fail with ENOSYS. Some functions are actually named
4734 something starting with __ and the normal name is an alias. */
4735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4743 if { (eval echo configure
:4744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4745 eval "ac_cv_func_$ac_func=yes"
4747 echo "configure: failed program was:" >&5
4748 cat conftest.
$ac_ext >&5
4750 eval "ac_cv_func_$ac_func=no"
4755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4756 echo "$ac_t""yes" 1>&6
4757 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4758 cat >> confdefs.h
<<EOF
4759 #define $ac_tr_func 1
4763 echo "$ac_t""no" 1>&6
4769 echo $ac_n "checking for unsetenv""... $ac_c" 1>&6
4770 echo "configure:4771: checking for unsetenv" >&5
4771 if eval "test \"`echo '$''{'ac_cv_func_unsetenv'+set}'`\" = set"; then
4772 echo $ac_n "(cached) $ac_c" 1>&6
4774 cat > conftest.
$ac_ext <<EOF
4775 #line 4776 "configure"
4776 #include "confdefs.h"
4777 /* System header to define __stub macros and hopefully few prototypes,
4778 which can conflict with char unsetenv(); below. */
4780 /* Override any gcc2 internal prototype to avoid an error. */
4781 /* We use char because int might match the return type of a gcc2
4782 builtin and then its argument prototype would still apply. */
4787 /* The GNU C library defines this for functions which it implements
4788 to always fail with ENOSYS. Some functions are actually named
4789 something starting with __ and the normal name is an alias. */
4790 #if defined (__stub_unsetenv) || defined (__stub___unsetenv)
4798 if { (eval echo configure
:4799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4800 eval "ac_cv_func_unsetenv=yes"
4802 echo "configure: failed program was:" >&5
4803 cat conftest.
$ac_ext >&5
4805 eval "ac_cv_func_unsetenv=no"
4810 if eval "test \"`echo '$ac_cv_func_'unsetenv`\" = yes"; then
4811 echo "$ac_t""yes" 1>&6
4812 cat >> confdefs.h
<<\EOF
4813 #define HAVE_UNSETENV 1
4817 echo "$ac_t""no" 1>&6
4818 MISSING
="${MISSING}env.o "
4823 echo $ac_n "checking for nonstandard gettimeofday""... $ac_c" 1>&6
4824 echo "configure:4825: checking for nonstandard gettimeofday" >&5
4825 cat > conftest.
$ac_ext <<EOF
4826 #line 4827 "configure"
4827 #include "confdefs.h"
4830 #include <sys/time.h>
4831 #endif /* HAVE_SYS_TIME_H */
4834 #endif /* HAVE_UNISTD_H */
4838 gettimeofday(&tv, NULL)
4841 if { (eval echo configure
:4842: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4843 echo "$ac_t""no" 1>&6
4845 echo "configure: failed program was:" >&5
4846 cat conftest.
$ac_ext >&5
4848 echo "$ac_t""maybe" 1>&6 cat > conftest.
$ac_ext <<EOF
4849 #line 4850 "configure"
4850 #include "confdefs.h"
4853 #include <sys/time.h>
4854 #endif /* HAVE_SYS_TIME_H */
4857 #endif /* HAVE_UNISTD_H */
4864 if { (eval echo configure
:4865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4866 cat >> confdefs.h
<<\EOF
4867 #define HAVE_ONE_ARG_GETTIMEOFDAY 1
4869 echo "$ac_t""yes" 1>&6
4871 echo "configure: failed program was:" >&5
4872 cat conftest.
$ac_ext >&5
4874 echo "$ac_t""no" 1>&6
4880 # Munge out LOCALBIN and LOCALMAN in canonical (no bletch) form
4882 cat > confcache
<<\EOF
4883 # This file is a shell script that caches the results of configure
4884 # tests run on this system so they can be shared between configure
4885 # scripts and configure runs. It is not useful on other systems.
4886 # If it contains results you don't want to keep, you may remove or edit it.
4888 # By default, configure uses ./config.cache as the cache file,
4889 # creating it if it does not exist already. You can give configure
4890 # the --cache-file=FILE option to use a different cache file; that is
4891 # what configure does when it calls configure scripts in
4892 # subdirectories, so they share the cache.
4893 # Giving --cache-file=/dev/null disables caching, for debugging configure.
4894 # config.status only pays attention to the cache file if you give it the
4895 # --recheck option to rerun configure.
4898 # The following way of writing the cache mishandles newlines in values,
4899 # but we know of no workaround that is simple, portable, and efficient.
4900 # So, don't put newlines in cache variables' values.
4901 # Ultrix sh set writes to stderr and can't be redirected directly,
4902 # and sets the high bit in the cache file unless we assign to the vars.
4904 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4906 # `set' does not quote correctly, so add quotes (double-quote substitution
4907 # turns \\\\ into \\, and sed turns \\ into \).
4909 -e "s/'/'\\\\''/g" \
4910 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
4913 # `set' quotes correctly as required by POSIX, so do not add quotes.
4914 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
4917 if cmp -s $cache_file confcache
; then
4920 if test -w $cache_file; then
4921 echo "updating cache $cache_file"
4922 cat confcache
> $cache_file
4924 echo "not updating unwritable cache $cache_file"
4929 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
4931 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4932 # Let make expand exec_prefix.
4933 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4935 # Any assignment to VPATH causes Sun make to only execute
4936 # the first set of double-colon rules, so remove it if not needed.
4937 # If there is a colon in the path, we need to keep it.
4938 if test "x$srcdir" = x.
; then
4939 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
4942 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
4944 DEFS
=-DHAVE_CONFIG_H
4946 # Without the "./", some shells look in PATH for config.status.
4947 : ${CONFIG_STATUS=./config.status}
4949 echo creating
$CONFIG_STATUS
4950 rm -f $CONFIG_STATUS
4951 cat > $CONFIG_STATUS <<EOF
4953 # Generated automatically by configure.
4954 # Run this file to recreate the current configuration.
4955 # This directory was configured as follows,
4956 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
4958 # $0 $ac_configure_args
4960 # Compiler output produced by configure, useful for debugging
4961 # configure, is in ./config.log if it exists.
4963 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
4966 case "\$ac_option" in
4967 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4968 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
4969 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
4970 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
4971 echo "$CONFIG_STATUS generated by autoconf version 2.13"
4973 -help | --help | --hel | --he | --h)
4974 echo "\$ac_cs_usage"; exit 0 ;;
4975 *) echo "\$ac_cs_usage"; exit 1 ;;
4979 ac_given_srcdir=$srcdir
4981 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
4983 cat >> $CONFIG_STATUS <<EOF
4985 # Protect against being on the right side of a sed subst in config.status.
4986 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
4987 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
4991 s%@CFLAGS@%$CFLAGS%g
4992 s%@CPPFLAGS@%$CPPFLAGS%g
4993 s%@CXXFLAGS@%$CXXFLAGS%g
4994 s%@FFLAGS@%$FFLAGS%g
4996 s%@LDFLAGS@%$LDFLAGS%g
4998 s%@exec_prefix@%$exec_prefix%g
4999 s%@prefix@%$prefix%g
5000 s%@program_transform_name@%$program_transform_name%g
5001 s%@bindir@%$bindir%g
5002 s%@sbindir@%$sbindir%g
5003 s%@libexecdir@%$libexecdir%g
5004 s%@datadir@%$datadir%g
5005 s%@sysconfdir@%$sysconfdir%g
5006 s%@sharedstatedir@%$sharedstatedir%g
5007 s%@localstatedir@%$localstatedir%g
5008 s%@libdir@%$libdir%g
5009 s%@includedir@%$includedir%g
5010 s%@oldincludedir@%$oldincludedir%g
5011 s%@infodir@%$infodir%g
5012 s%@mandir@%$mandir%g
5013 s%@ACCESS_FILE@%$ACCESS_FILE%g
5014 s%@LOCK_DIR@%$LOCK_DIR%g
5015 s%@OPIEAUTO@%$OPIEAUTO%g
5019 s%@RANLIB@%$RANLIB%g
5023 s%@ALT_SU@%$ALT_SU%g
5024 s%@SCHEME@%$SCHEME%g
5027 s%@INFTPD@%$INFTPD%g
5028 s%@EXISTS@%$EXISTS%g
5030 s%@LIBOBJS@%$LIBOBJS%g
5031 s%@ALLOCA@%$ALLOCA%g
5032 s%@MISSING@%$MISSING%g
5037 cat >> $CONFIG_STATUS <<\EOF
5039 # Split the substitutions into bite-sized pieces for seds with
5040 # small command number limits, like on Digital OSF/1 and HP-UX.
5041 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
5042 ac_file
=1 # Number of current file.
5043 ac_beg
=1 # First line for current file.
5044 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
5047 while $ac_more_lines; do
5048 if test $ac_beg -gt 1; then
5049 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
5051 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
5053 if test ! -s conftest.s
$ac_file; then
5055 rm -f conftest.s
$ac_file
5057 if test -z "$ac_sed_cmds"; then
5058 ac_sed_cmds
="sed -f conftest.s$ac_file"
5060 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
5062 ac_file
=`expr $ac_file + 1`
5064 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
5067 if test -z "$ac_sed_cmds"; then
5072 cat >> $CONFIG_STATUS <<EOF
5074 CONFIG_FILES=\${CONFIG_FILES-"configure.munger libmissing/Makefile libopie/Makefile Makefile.munge:Makefile.in"}
5076 cat >> $CONFIG_STATUS <<\EOF
5077 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
5078 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5080 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
5081 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
5082 *) ac_file_in
="${ac_file}.in" ;;
5085 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
5087 # Remove last slash and all that follows it. Not all systems have dirname.
5088 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
5089 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
5090 # The file is in a subdirectory.
5091 test ! -d "$ac_dir" && mkdir
"$ac_dir"
5092 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
5093 # A "../" for each directory in $ac_dir_suffix.
5094 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
5096 ac_dir_suffix
= ac_dots
=
5099 case "$ac_given_srcdir" in
5101 if test -z "$ac_dots"; then top_srcdir
=.
5102 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
5103 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
5105 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
5106 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
5110 echo creating
"$ac_file"
5112 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
5114 *Makefile
*) ac_comsub
="1i\\
5115 # $configure_input" ;;
5119 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5121 s%@configure_input@%$configure_input%g
5122 s%@srcdir@%$srcdir%g
5123 s%@top_srcdir@%$top_srcdir%g
5124 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
5128 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5129 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5131 # ac_d sets the value in "#define NAME VALUE" lines.
5132 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5133 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
5136 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
5137 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5138 ac_uB
='\([ ]\)%\1#\2define\3'
5141 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5142 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5143 ac_eB
='$%\1#\2define\3'
5147 if test "${CONFIG_HEADERS+set}" != set; then
5149 cat >> $CONFIG_STATUS <<EOF
5150 CONFIG_HEADERS="config.h"
5152 cat >> $CONFIG_STATUS <<\EOF
5154 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
5155 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5157 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
5158 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
5159 *) ac_file_in
="${ac_file}.in" ;;
5162 echo creating
$ac_file
5164 rm -f conftest.frag conftest.
in conftest.out
5165 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5166 cat $ac_file_inputs > conftest.
in
5170 # Transform confdefs.h into a sed script conftest.vals that substitutes
5171 # the proper values into config.h.in to produce config.h. And first:
5172 # Protect against being on the right side of a sed subst in config.status.
5173 # Protect against being in an unquoted here document in config.status.
5175 cat > conftest.hdr
<<\EOF
5178 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
5182 sed -n -f conftest.hdr confdefs.h > conftest.vals
5185 # This sed command replaces #undef with comments. This is necessary, for
5186 # example, in the case of _POSIX_SOURCE, which is predefined and required
5187 # on some systems where configure will not decide to define it.
5188 cat >> conftest.vals <<\EOF
5189 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
5192 # Break up conftest.vals because some shells have a limit on
5193 # the size of here documents, and old seds have small limits too.
5198 ac_lines=`grep -c . conftest.vals
`
5199 # grep -c gives empty output for an empty file on some AIX systems.
5200 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
5201 # Write a limited-size here document to conftest.frag.
5202 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
5203 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
5205 sed -f conftest.frag conftest.in > conftest.out
5207 mv conftest.out conftest.in
5209 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
5211 mv conftest.tail conftest.vals
5215 cat >> $CONFIG_STATUS <<\EOF
5216 rm -f conftest.frag conftest.h
5217 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
5218 cat conftest.in >> conftest.h
5220 if cmp -s $ac_file conftest.h 2>/dev/null; then
5221 echo "$ac_file is unchanged"
5224 # Remove last slash and all that follows it. Not all systems have dirname.
5225 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
5226 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5227 # The file is in a subdirectory.
5228 test ! -d "$ac_dir" && mkdir "$ac_dir"
5231 mv conftest.h $ac_file
5236 cat >> $CONFIG_STATUS <<EOF
5239 cat >> $CONFIG_STATUS <<\EOF
5243 chmod +x $CONFIG_STATUS
5244 rm -fr confdefs* $ac_clean_files
5245 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1