2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.59 for ypserv 2.18.
5
# Report bugs to <kukuk@linux-nis.org>.
7
# Copyright (C) 2003 Free Software Foundation, Inc.
8
# This configure script is free software; the Free Software Foundation
9
# gives unlimited permission to copy, distribute and modify it.
10
## --------------------- ##
11
## M4sh Initialization. ##
12
## --------------------- ##
14
# Be Bourne compatible
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
21
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24
DUALCASE=1; export DUALCASE # for MKS sh
26
# Support unset when possible.
27
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34
# Work around bugs in pre-3.0 UWIN ksh.
35
$as_unset ENV MAIL MAILPATH
42
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47
eval $as_var=C; export $as_var
53
# Required to use basename.
54
if expr a : '\(a\)' >/dev/null 2>&1; then
60
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67
# Name of the executable.
68
as_me=`$as_basename "$0" ||
69
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
81
# Avoid depending upon Character Ranges.
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
as_cr_digits='0123456789'
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
# The user is always right.
89
if test "${PATH_SEPARATOR+set}" != set; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
test "x$as_lineno_1" != "x$as_lineno_2" &&
106
test "x$as_lineno_3" = "x$as_lineno_2" || {
107
# Find who we are. Look in the path if we contain no path at all
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
# We did not find ourselves, most probably we were run as `sh COMMAND'
122
# in which case we are not to be found in the path.
123
if test "x$as_myself" = x; then
126
if test ! -f "$as_myself"; then
127
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
{ (exit 1); exit 1; }; }
130
case $CONFIG_SHELL in
132
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
143
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
test "x$as_lineno_1" != "x$as_lineno_2" &&
145
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
CONFIG_SHELL=$as_dir/$as_base
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
# uniformly replaced by the line number. The first 'sed' inserts a
160
# line-number line before each line; the second 'sed' does the real
161
# work. The second script uses 'N' to pair each line-number line
162
# with the numbered line, and appends trailing '-' during
163
# substitution so that $LINENO is not a special case at line end.
164
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166
sed '=' <$as_myself |
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174
s,^['$as_cr_digits']*\n,,
176
chmod +x $as_me.lineno ||
177
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
{ (exit 1); exit 1; }; }
180
# Don't try to exec as it changes $[0], causing all sort of problems
181
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
184
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196
if expr a : '\(a\)' >/dev/null 2>&1; then
202
rm -f conf$$ conf$$.exe conf$$.file
204
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
# We could just check for DJGPP; but this test a) works b) is more generic
206
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
if test -f conf$$.exe; then
208
# Don't use ln at all; we don't have any links
213
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
220
if mkdir -p . 2>/dev/null; then
223
test -d ./-p && rmdir ./-p
227
as_executable_p="test -f"
229
# Sed expression to map a string onto a valid CPP name.
230
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
# Sed expression to map a string onto a valid variable name.
233
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237
# We need space, tab and new line, in precisely that order.
247
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248
# so uname gets run too.
249
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
256
ac_default_prefix=/usr/local
257
ac_config_libobj_dir=.
262
SHELL=${CONFIG_SHELL-/bin/sh}
264
# Maximum number of lines to put in a shell here document.
265
# This variable seems obsolete. It should probably be removed, and
266
# only ac_max_sed_lines should be used.
267
: ${ac_max_here_lines=38}
269
# Identity of this package.
270
PACKAGE_NAME='ypserv'
271
PACKAGE_TARNAME='ypserv'
272
PACKAGE_VERSION='2.18'
273
PACKAGE_STRING='ypserv 2.18'
274
PACKAGE_BUGREPORT='kukuk@linux-nis.org'
276
ac_unique_file="ypserv/ypserv.c"
277
ac_default_prefix=/usr
278
# Factoring default headers for most tests.
279
ac_includes_default="\
282
# include <sys/types.h>
285
# include <sys/stat.h>
296
# if !STDC_HEADERS && HAVE_MEMORY_H
302
# include <strings.h>
305
# include <inttypes.h>
315
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar YPBINDIR YPMAPDIR SBINDIR CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP RANLIB ac_ct_RANLIB libc_cv_fpie PIE_CFLAGS PIE_LDFLAGS EGREP BASH MAKE ALIASES USE_FQDN CHECKROOT LIBDBM LIBCRYPT LIBSLP USE_SLP RESOLV LIBOBJS LTLIBOBJS'
318
# Initialize some variables set by options.
320
ac_init_version=false
321
# The variables have the same names as the options, with
322
# dashes changed to underlines.
330
program_transform_name=s,x,x,
338
# Installation directory options.
339
# These are left unexpanded so users can "make install exec_prefix=/foo"
340
# and all the variables that are supposed to be based on exec_prefix
341
# by default will actually change.
342
# Use braces instead of parens because sh, perl, etc. also accept them.
343
bindir='${exec_prefix}/bin'
344
sbindir='${exec_prefix}/sbin'
345
libexecdir='${exec_prefix}/libexec'
346
datadir='${prefix}/share'
347
sysconfdir='${prefix}/etc'
348
sharedstatedir='${prefix}/com'
349
localstatedir='${prefix}/var'
350
libdir='${exec_prefix}/lib'
351
includedir='${prefix}/include'
352
oldincludedir='/usr/include'
353
infodir='${prefix}/info'
354
mandir='${prefix}/man'
359
# If the previous option needs an argument, assign it.
360
if test -n "$ac_prev"; then
361
eval "$ac_prev=\$ac_option"
366
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
# Accept the important Cygnus configure options, so we can diagnose typos.
372
-bindir | --bindir | --bindi | --bind | --bin | --bi)
374
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
377
-build | --build | --buil | --bui | --bu)
378
ac_prev=build_alias ;;
379
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
380
build_alias=$ac_optarg ;;
382
-cache-file | --cache-file | --cache-fil | --cache-fi \
383
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
384
ac_prev=cache_file ;;
385
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
386
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
387
cache_file=$ac_optarg ;;
390
cache_file=config.cache ;;
392
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396
datadir=$ac_optarg ;;
398
-disable-* | --disable-*)
399
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400
# Reject names that are not valid shell variable names.
401
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
402
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
403
{ (exit 1); exit 1; }; }
404
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
405
eval "enable_$ac_feature=no" ;;
407
-enable-* | --enable-*)
408
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409
# Reject names that are not valid shell variable names.
410
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
411
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
412
{ (exit 1); exit 1; }; }
413
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418
eval "enable_$ac_feature='$ac_optarg'" ;;
420
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
421
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
422
| --exec | --exe | --ex)
423
ac_prev=exec_prefix ;;
424
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
425
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
426
| --exec=* | --exe=* | --ex=*)
427
exec_prefix=$ac_optarg ;;
429
-gas | --gas | --ga | --g)
430
# Obsolete; use --with-gas.
433
-help | --help | --hel | --he | -h)
435
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
436
ac_init_help=recursive ;;
437
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
438
ac_init_help=short ;;
440
-host | --host | --hos | --ho)
441
ac_prev=host_alias ;;
442
-host=* | --host=* | --hos=* | --ho=*)
443
host_alias=$ac_optarg ;;
445
-includedir | --includedir | --includedi | --included | --include \
446
| --includ | --inclu | --incl | --inc)
447
ac_prev=includedir ;;
448
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
449
| --includ=* | --inclu=* | --incl=* | --inc=*)
450
includedir=$ac_optarg ;;
452
-infodir | --infodir | --infodi | --infod | --info | --inf)
454
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
455
infodir=$ac_optarg ;;
457
-libdir | --libdir | --libdi | --libd)
459
-libdir=* | --libdir=* | --libdi=* | --libd=*)
462
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
463
| --libexe | --libex | --libe)
464
ac_prev=libexecdir ;;
465
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
466
| --libexe=* | --libex=* | --libe=*)
467
libexecdir=$ac_optarg ;;
469
-localstatedir | --localstatedir | --localstatedi | --localstated \
470
| --localstate | --localstat | --localsta | --localst \
471
| --locals | --local | --loca | --loc | --lo)
472
ac_prev=localstatedir ;;
473
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
474
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
475
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
476
localstatedir=$ac_optarg ;;
478
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484
# Obsolete; use --without-fp.
487
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
488
| --no-cr | --no-c | -n)
491
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
492
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
495
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
496
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
497
| --oldin | --oldi | --old | --ol | --o)
498
ac_prev=oldincludedir ;;
499
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
500
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
501
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
502
oldincludedir=$ac_optarg ;;
504
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
509
-program-prefix | --program-prefix | --program-prefi | --program-pref \
510
| --program-pre | --program-pr | --program-p)
511
ac_prev=program_prefix ;;
512
-program-prefix=* | --program-prefix=* | --program-prefi=* \
513
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
514
program_prefix=$ac_optarg ;;
516
-program-suffix | --program-suffix | --program-suffi | --program-suff \
517
| --program-suf | --program-su | --program-s)
518
ac_prev=program_suffix ;;
519
-program-suffix=* | --program-suffix=* | --program-suffi=* \
520
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
521
program_suffix=$ac_optarg ;;
523
-program-transform-name | --program-transform-name \
524
| --program-transform-nam | --program-transform-na \
525
| --program-transform-n | --program-transform- \
526
| --program-transform | --program-transfor \
527
| --program-transfo | --program-transf \
528
| --program-trans | --program-tran \
529
| --progr-tra | --program-tr | --program-t)
530
ac_prev=program_transform_name ;;
531
-program-transform-name=* | --program-transform-name=* \
532
| --program-transform-nam=* | --program-transform-na=* \
533
| --program-transform-n=* | --program-transform-=* \
534
| --program-transform=* | --program-transfor=* \
535
| --program-transfo=* | --program-transf=* \
536
| --program-trans=* | --program-tran=* \
537
| --progr-tra=* | --program-tr=* | --program-t=*)
538
program_transform_name=$ac_optarg ;;
540
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
541
| -silent | --silent | --silen | --sile | --sil)
544
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548
sbindir=$ac_optarg ;;
550
-sharedstatedir | --sharedstatedir | --sharedstatedi \
551
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
552
| --sharedst | --shareds | --shared | --share | --shar \
554
ac_prev=sharedstatedir ;;
555
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
556
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
557
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559
sharedstatedir=$ac_optarg ;;
561
-site | --site | --sit)
563
-site=* | --site=* | --sit=*)
566
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
571
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
572
| --syscon | --sysco | --sysc | --sys | --sy)
573
ac_prev=sysconfdir ;;
574
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
575
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
576
sysconfdir=$ac_optarg ;;
578
-target | --target | --targe | --targ | --tar | --ta | --t)
579
ac_prev=target_alias ;;
580
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
581
target_alias=$ac_optarg ;;
583
-v | -verbose | --verbose | --verbos | --verbo | --verb)
586
-version | --version | --versio | --versi | --vers | -V)
590
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591
# Reject names that are not valid shell variable names.
592
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
593
{ echo "$as_me: error: invalid package name: $ac_package" >&2
594
{ (exit 1); exit 1; }; }
595
ac_package=`echo $ac_package| sed 's/-/_/g'`
597
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600
eval "with_$ac_package='$ac_optarg'" ;;
602
-without-* | --without-*)
603
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604
# Reject names that are not valid shell variable names.
605
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
606
{ echo "$as_me: error: invalid package name: $ac_package" >&2
607
{ (exit 1); exit 1; }; }
608
ac_package=`echo $ac_package | sed 's/-/_/g'`
609
eval "with_$ac_package=no" ;;
612
# Obsolete; use --with-x.
615
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
616
| --x-incl | --x-inc | --x-in | --x-i)
617
ac_prev=x_includes ;;
618
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
619
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
620
x_includes=$ac_optarg ;;
622
-x-libraries | --x-libraries | --x-librarie | --x-librari \
623
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
624
ac_prev=x_libraries ;;
625
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
626
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
627
x_libraries=$ac_optarg ;;
629
-*) { echo "$as_me: error: unrecognized option: $ac_option
630
Try \`$0 --help' for more information." >&2
631
{ (exit 1); exit 1; }; }
635
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
636
# Reject names that are not valid shell variable names.
637
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
638
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639
{ (exit 1); exit 1; }; }
640
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641
eval "$ac_envvar='$ac_optarg'"
645
# FIXME: should be removed in autoconf 3.0.
646
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
648
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655
if test -n "$ac_prev"; then
656
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
657
{ echo "$as_me: error: missing argument to $ac_option" >&2
658
{ (exit 1); exit 1; }; }
661
# Be sure to have absolute paths.
662
for ac_var in exec_prefix prefix
664
eval ac_val=$`echo $ac_var`
666
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
667
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668
{ (exit 1); exit 1; }; };;
672
# Be sure to have absolute paths.
673
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674
localstatedir libdir includedir oldincludedir infodir mandir
676
eval ac_val=$`echo $ac_var`
678
[\\/$]* | ?:[\\/]* ) ;;
679
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680
{ (exit 1); exit 1; }; };;
684
# There might be people who depend on the old broken behavior: `$host'
685
# used to hold the argument of --host etc.
686
# FIXME: To remove some day.
691
# FIXME: To remove some day.
692
if test "x$host_alias" != x; then
693
if test "x$build_alias" = x; then
694
cross_compiling=maybe
695
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696
If a cross compiler is detected then cross compile mode will be used." >&2
697
elif test "x$build_alias" != "x$host_alias"; then
703
test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
test "$silent" = yes && exec 6>/dev/null
708
# Find the source files, if location was not specified.
709
if test -z "$srcdir"; then
710
ac_srcdir_defaulted=yes
711
# Try the directory containing this script, then its parent.
712
ac_confdir=`(dirname "$0") 2>/dev/null ||
713
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714
X"$0" : 'X\(//\)[^/]' \| \
715
X"$0" : 'X\(//\)$' \| \
716
X"$0" : 'X\(/\)' \| \
717
. : '\(.\)' 2>/dev/null ||
719
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
721
/^X\(\/\/\)$/{ s//\1/; q; }
722
/^X\(\/\).*/{ s//\1/; q; }
725
if test ! -r $srcdir/$ac_unique_file; then
729
ac_srcdir_defaulted=no
731
if test ! -r $srcdir/$ac_unique_file; then
732
if test "$ac_srcdir_defaulted" = yes; then
733
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734
{ (exit 1); exit 1; }; }
736
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737
{ (exit 1); exit 1; }; }
740
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
741
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
742
{ (exit 1); exit 1; }; }
743
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
744
ac_env_build_alias_set=${build_alias+set}
745
ac_env_build_alias_value=$build_alias
746
ac_cv_env_build_alias_set=${build_alias+set}
747
ac_cv_env_build_alias_value=$build_alias
748
ac_env_host_alias_set=${host_alias+set}
749
ac_env_host_alias_value=$host_alias
750
ac_cv_env_host_alias_set=${host_alias+set}
751
ac_cv_env_host_alias_value=$host_alias
752
ac_env_target_alias_set=${target_alias+set}
753
ac_env_target_alias_value=$target_alias
754
ac_cv_env_target_alias_set=${target_alias+set}
755
ac_cv_env_target_alias_value=$target_alias
756
ac_env_CC_set=${CC+set}
758
ac_cv_env_CC_set=${CC+set}
759
ac_cv_env_CC_value=$CC
760
ac_env_CFLAGS_set=${CFLAGS+set}
761
ac_env_CFLAGS_value=$CFLAGS
762
ac_cv_env_CFLAGS_set=${CFLAGS+set}
763
ac_cv_env_CFLAGS_value=$CFLAGS
764
ac_env_LDFLAGS_set=${LDFLAGS+set}
765
ac_env_LDFLAGS_value=$LDFLAGS
766
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
767
ac_cv_env_LDFLAGS_value=$LDFLAGS
768
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
769
ac_env_CPPFLAGS_value=$CPPFLAGS
770
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
771
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
772
ac_env_CPP_set=${CPP+set}
773
ac_env_CPP_value=$CPP
774
ac_cv_env_CPP_set=${CPP+set}
775
ac_cv_env_CPP_value=$CPP
778
# Report the --help message.
780
if test "$ac_init_help" = "long"; then
781
# Omit some internal or obsolete options to make the list less imposing.
782
# This message is too long to be a string in the A/UX 3.1 sh.
784
\`configure' configures ypserv 2.18 to adapt to many kinds of systems.
786
Usage: $0 [OPTION]... [VAR=VALUE]...
788
To assign environment variables (e.g., CC, CFLAGS...), specify them as
789
VAR=VALUE. See below for descriptions of some of the useful variables.
791
Defaults for the options are specified in brackets.
794
-h, --help display this help and exit
795
--help=short display options specific to this package
796
--help=recursive display the short help of all the included packages
797
-V, --version display version information and exit
798
-q, --quiet, --silent do not print \`checking...' messages
799
--cache-file=FILE cache test results in FILE [disabled]
800
-C, --config-cache alias for \`--cache-file=config.cache'
801
-n, --no-create do not create output files
802
--srcdir=DIR find the sources in DIR [configure dir or \`..']
807
Installation directories:
808
--prefix=PREFIX install architecture-independent files in PREFIX
810
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
813
By default, \`make install' will install all the files in
814
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
815
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
816
for instance \`--prefix=\$HOME'.
818
For better control, use the options below.
820
Fine tuning of the installation directories:
821
--bindir=DIR user executables [EPREFIX/bin]
822
--sbindir=DIR system admin executables [EPREFIX/sbin]
823
--libexecdir=DIR program executables [EPREFIX/libexec]
824
--datadir=DIR read-only architecture-independent data [PREFIX/share]
825
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
826
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
827
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
828
--libdir=DIR object code libraries [EPREFIX/lib]
829
--includedir=DIR C header files [PREFIX/include]
830
--oldincludedir=DIR C header files for non-gcc [/usr/include]
831
--infodir=DIR info documentation [PREFIX/info]
832
--mandir=DIR man documentation [PREFIX/man]
838
--program-prefix=PREFIX prepend PREFIX to installed program names
839
--program-suffix=SUFFIX append SUFFIX to installed program names
840
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
844
if test -n "$ac_init_help"; then
845
case $ac_init_help in
846
short | recursive ) echo "Configuration of ypserv 2.18:";;
851
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
852
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
853
--enable-ypmapdir=path Location of NIS maps default=/var/yp
854
--disable-dependency-tracking speeds up one-time build
855
--enable-dependency-tracking do not reject slow dependency extractors
856
--disable-fqdn Always use FQDN default=yes
857
--disable-checkroot Disable check for root password default=yes
860
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
861
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
862
--with-dmalloc use dmalloc, as in
863
http://www.dmalloc.com/dmalloc.tar.gz
864
--with-efence use ElectricFence
866
Some influential environment variables:
867
CC C compiler command
868
CFLAGS C compiler flags
869
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
870
nonstandard directory <lib dir>
871
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
872
headers in a nonstandard directory <include dir>
875
Use these variables to override the choices made by `configure' or to help
876
it to find libraries and programs with nonstandard names/locations.
878
Report bugs to <kukuk@linux-nis.org>.
882
if test "$ac_init_help" = "recursive"; then
883
# If there are subdirs, report their specific --help.
885
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
886
test -d $ac_dir || continue
889
if test "$ac_dir" != .; then
890
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
891
# A "../" for each directory in $ac_dir_suffix.
892
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
894
ac_dir_suffix= ac_top_builddir=
898
.) # No --srcdir option. We are building in place.
900
if test -z "$ac_top_builddir"; then
903
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
905
[\\/]* | ?:[\\/]* ) # Absolute path.
906
ac_srcdir=$srcdir$ac_dir_suffix;
907
ac_top_srcdir=$srcdir ;;
909
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
910
ac_top_srcdir=$ac_top_builddir$srcdir ;;
913
# Do not use `cd foo && pwd` to compute absolute paths, because
914
# the directories may not exist.
916
.) ac_abs_builddir="$ac_dir";;
919
.) ac_abs_builddir=`pwd`;;
920
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
921
*) ac_abs_builddir=`pwd`/"$ac_dir";;
924
case $ac_abs_builddir in
925
.) ac_abs_top_builddir=${ac_top_builddir}.;;
927
case ${ac_top_builddir}. in
928
.) ac_abs_top_builddir=$ac_abs_builddir;;
929
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
930
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
933
case $ac_abs_builddir in
934
.) ac_abs_srcdir=$ac_srcdir;;
937
.) ac_abs_srcdir=$ac_abs_builddir;;
938
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
939
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
942
case $ac_abs_builddir in
943
.) ac_abs_top_srcdir=$ac_top_srcdir;;
945
case $ac_top_srcdir in
946
.) ac_abs_top_srcdir=$ac_abs_builddir;;
947
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
948
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
953
# Check for guested configure; otherwise get Cygnus style configure.
954
if test -f $ac_srcdir/configure.gnu; then
956
$SHELL $ac_srcdir/configure.gnu --help=recursive
957
elif test -f $ac_srcdir/configure; then
959
$SHELL $ac_srcdir/configure --help=recursive
960
elif test -f $ac_srcdir/configure.ac ||
961
test -f $ac_srcdir/configure.in; then
965
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971
test -n "$ac_init_help" && exit 0
972
if $ac_init_version; then
974
ypserv configure 2.18
975
generated by GNU Autoconf 2.59
977
Copyright (C) 2003 Free Software Foundation, Inc.
978
This configure script is free software; the Free Software Foundation
979
gives unlimited permission to copy, distribute and modify it.
985
This file contains any messages produced by compilers while
986
running configure, to aid debugging if configure makes a mistake.
988
It was created by ypserv $as_me 2.18, which was
989
generated by GNU Autoconf 2.59. Invocation command line was
1000
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1001
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1002
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1003
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1004
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1006
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1007
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1009
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1010
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1011
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1012
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1013
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1014
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1015
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1019
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1023
test -z "$as_dir" && as_dir=.
1024
echo "PATH: $as_dir"
1039
# Keep a trace of the command line.
1040
# Strip out --no-create and --no-recursion so they do not pile up.
1041
# Strip out --silent because we don't want to record it for future runs.
1042
# Also quote any args containing shell meta-characters.
1043
# Make two passes to allow for proper duplicate-argument suppression.
1048
ac_must_keep_next=false
1054
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1055
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056
| -silent | --silent | --silen | --sile | --sil)
1058
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1059
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1062
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1064
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1065
if test $ac_must_keep_next = true; then
1066
ac_must_keep_next=false # Got value, back to normal.
1069
*=* | --config-cache | -C | -disable-* | --disable-* \
1070
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1071
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1072
| -with-* | --with-* | -without-* | --without-* | --x)
1073
case "$ac_configure_args0 " in
1074
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1077
-* ) ac_must_keep_next=true ;;
1080
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1081
# Get rid of the leading space.
1087
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1088
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1090
# When interrupted or exit'd, cleanup temporary files, and complete
1091
# config.log. We remove comments because anyway the quotes in there
1092
# would cause problems or look ugly.
1093
# WARNING: Be sure not to use single quotes in there, as some shells,
1094
# such as our DU 5.0 friend, will then `close' the trap.
1095
trap 'exit_status=$?
1096
# Save into config.log some information that might help in debugging.
1101
## ---------------- ##
1102
## Cache variables. ##
1103
## ---------------- ##
1106
# The following way of writing the cache mishandles newlines in values,
1109
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1112
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1113
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1117
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124
## ----------------- ##
1125
## Output variables. ##
1126
## ----------------- ##
1129
for ac_var in $ac_subst_vars
1131
eval ac_val=$`echo $ac_var`
1132
echo "$ac_var='"'"'$ac_val'"'"'"
1136
if test -n "$ac_subst_files"; then
1143
for ac_var in $ac_subst_files
1145
eval ac_val=$`echo $ac_var`
1146
echo "$ac_var='"'"'$ac_val'"'"'"
1151
if test -s confdefs.h; then
1158
sed "/^$/d" confdefs.h | sort
1161
test "$ac_signal" != 0 &&
1162
echo "$as_me: caught signal $ac_signal"
1163
echo "$as_me: exit $exit_status"
1165
rm -f core *.core &&
1166
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1169
for ac_signal in 1 2 13 15; do
1170
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1174
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1175
rm -rf conftest* confdefs.h
1176
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1179
# Predefined preprocessor variables.
1181
cat >>confdefs.h <<_ACEOF
1182
#define PACKAGE_NAME "$PACKAGE_NAME"
1186
cat >>confdefs.h <<_ACEOF
1187
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1191
cat >>confdefs.h <<_ACEOF
1192
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1196
cat >>confdefs.h <<_ACEOF
1197
#define PACKAGE_STRING "$PACKAGE_STRING"
1201
cat >>confdefs.h <<_ACEOF
1202
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1206
# Let the site file select an alternate cache file if it wants to.
1207
# Prefer explicitly selected file to automatically selected ones.
1208
if test -z "$CONFIG_SITE"; then
1209
if test "x$prefix" != xNONE; then
1210
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1212
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1215
for ac_site_file in $CONFIG_SITE; do
1216
if test -r "$ac_site_file"; then
1217
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1218
echo "$as_me: loading site script $ac_site_file" >&6;}
1219
sed 's/^/| /' "$ac_site_file" >&5
1224
if test -r "$cache_file"; then
1225
# Some versions of bash will fail to source /dev/null (special
1226
# files actually), so we avoid doing that.
1227
if test -f "$cache_file"; then
1228
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1229
echo "$as_me: loading cache $cache_file" >&6;}
1231
[\\/]* | ?:[\\/]* ) . $cache_file;;
1232
*) . ./$cache_file;;
1236
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1237
echo "$as_me: creating cache $cache_file" >&6;}
1241
# Check that the precious variables saved in the cache have kept the same
1243
ac_cache_corrupted=false
1244
for ac_var in `(set) 2>&1 |
1245
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1246
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1247
eval ac_new_set=\$ac_env_${ac_var}_set
1248
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1249
eval ac_new_val="\$ac_env_${ac_var}_value"
1250
case $ac_old_set,$ac_new_set in
1252
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1253
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1254
ac_cache_corrupted=: ;;
1256
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1257
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1258
ac_cache_corrupted=: ;;
1261
if test "x$ac_old_val" != "x$ac_new_val"; then
1262
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1263
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1264
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1265
echo "$as_me: former value: $ac_old_val" >&2;}
1266
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1267
echo "$as_me: current value: $ac_new_val" >&2;}
1268
ac_cache_corrupted=:
1271
# Pass precious variables to config.status.
1272
if test "$ac_new_set" = set; then
1274
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1275
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1276
*) ac_arg=$ac_var=$ac_new_val ;;
1278
case " $ac_configure_args " in
1279
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1280
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1284
if $ac_cache_corrupted; then
1285
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1286
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1287
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1288
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1289
{ (exit 1); exit 1; }; }
1293
ac_cpp='$CPP $CPPFLAGS'
1294
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1295
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1296
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1324
am__api_version="1.9"
1326
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1327
if test -f $ac_dir/install-sh; then
1329
ac_install_sh="$ac_aux_dir/install-sh -c"
1331
elif test -f $ac_dir/install.sh; then
1333
ac_install_sh="$ac_aux_dir/install.sh -c"
1335
elif test -f $ac_dir/shtool; then
1337
ac_install_sh="$ac_aux_dir/shtool install -c"
1341
if test -z "$ac_aux_dir"; then
1342
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1343
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1344
{ (exit 1); exit 1; }; }
1346
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1347
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1348
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1350
# Find a good install program. We prefer a C program (faster),
1351
# so one script is as good as another. But avoid the broken or
1352
# incompatible versions:
1353
# SysV /etc/install, /usr/sbin/install
1354
# SunOS /usr/etc/install
1355
# IRIX /sbin/install
1357
# AmigaOS /C/install, which installs bootblocks on floppy discs
1358
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1359
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1360
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1361
# OS/2's system install, which has a completely different semantic
1362
# ./install, which can be erroneously created by make from ./install.sh.
1363
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1364
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1365
if test -z "$INSTALL"; then
1366
if test "${ac_cv_path_install+set}" = set; then
1367
echo $ECHO_N "(cached) $ECHO_C" >&6
1369
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1373
test -z "$as_dir" && as_dir=.
1374
# Account for people who put trailing slashes in PATH elements.
1376
./ | .// | /cC/* | \
1377
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1378
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1381
# OSF1 and SCO ODT 3.0 have their own names for install.
1382
# Don't use installbsd from OSF since it installs stuff as root
1384
for ac_prog in ginstall scoinst install; do
1385
for ac_exec_ext in '' $ac_executable_extensions; do
1386
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1387
if test $ac_prog = install &&
1388
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1389
# AIX install. It has an incompatible calling convention.
1391
elif test $ac_prog = install &&
1392
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1393
# program-specific install script used by HP pwplus--don't use.
1396
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1408
if test "${ac_cv_path_install+set}" = set; then
1409
INSTALL=$ac_cv_path_install
1411
# As a last resort, use the slow shell script. We don't cache a
1412
# path for INSTALL within a source directory, because that will
1413
# break other packages using the cache if that directory is
1414
# removed, or if the path is relative.
1415
INSTALL=$ac_install_sh
1418
echo "$as_me:$LINENO: result: $INSTALL" >&5
1419
echo "${ECHO_T}$INSTALL" >&6
1421
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1422
# It thinks the first close brace ends the variable substitution.
1423
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1425
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1427
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1429
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1430
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1433
echo timestamp > conftest.file
1434
# Do `set' in a subshell so we don't clobber the current shell's
1435
# arguments. Must try -L first in case configure is actually a
1436
# symlink; some systems play weird games with the mod time of symlinks
1437
# (eg FreeBSD returns the mod time of the symlink's containing
1440
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1441
if test "$*" = "X"; then
1443
set X `ls -t $srcdir/configure conftest.file`
1446
if test "$*" != "X $srcdir/configure conftest.file" \
1447
&& test "$*" != "X conftest.file $srcdir/configure"; then
1449
# If neither matched, then we have a broken ls. This can happen
1450
# if, for instance, CONFIG_SHELL is bash and it inherits a
1451
# broken ls alias from the environment. This has actually
1452
# happened. Such a system could not be considered "sane".
1453
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1454
alias in your environment" >&5
1455
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1456
alias in your environment" >&2;}
1457
{ (exit 1); exit 1; }; }
1460
test "$2" = conftest.file
1466
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1467
Check your system clock" >&5
1468
echo "$as_me: error: newly created file is older than distributed files!
1469
Check your system clock" >&2;}
1470
{ (exit 1); exit 1; }; }
1472
echo "$as_me:$LINENO: result: yes" >&5
1473
echo "${ECHO_T}yes" >&6
1474
test "$program_prefix" != NONE &&
1475
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1476
# Use a double $ so make ignores it.
1477
test "$program_suffix" != NONE &&
1478
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1479
# Double any \ or $. echo might interpret backslashes.
1480
# By default was `s,x,x', remove it if useless.
1481
cat <<\_ACEOF >conftest.sed
1482
s/[\\$]/&&/g;s/;s,x,x,$//
1484
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1487
# expand $ac_aux_dir to an absolute path
1488
am_aux_dir=`cd $ac_aux_dir && pwd`
1490
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1491
# Use eval to expand $SHELL
1492
if eval "$MISSING --run true"; then
1493
am_missing_run="$MISSING --run "
1496
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1497
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1500
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1501
# We used to keeping the `.' as first argument, in order to
1502
# allow $(mkdir_p) to be used without argument. As in
1503
# $(mkdir_p) $(somedir)
1504
# where $(somedir) is conditionally defined. However this is wrong
1506
# 1. if the package is installed by a user who cannot write `.'
1507
# make install will fail,
1508
# 2. the above comment should most certainly read
1509
# $(mkdir_p) $(DESTDIR)$(somedir)
1510
# so it does not work when $(somedir) is undefined and
1511
# $(DESTDIR) is not.
1512
# To support the latter case, we have to write
1513
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1514
# so the `.' trick is pointless.
1515
mkdir_p='mkdir -p --'
1517
# On NextStep and OpenStep, the `mkdir' command does not
1518
# recognize any option. It will interpret all options as
1519
# directories to create, and then abort because `.' already
1521
for d in ./-p ./--version;
1523
test -d $d && rmdir $d
1525
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1526
if test -f "$ac_aux_dir/mkinstalldirs"; then
1527
mkdir_p='$(mkinstalldirs)'
1529
mkdir_p='$(install_sh) -d'
1533
for ac_prog in gawk mawk nawk awk
1535
# Extract the first word of "$ac_prog", so it can be a program name with args.
1536
set dummy $ac_prog; ac_word=$2
1537
echo "$as_me:$LINENO: checking for $ac_word" >&5
1538
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1539
if test "${ac_cv_prog_AWK+set}" = set; then
1540
echo $ECHO_N "(cached) $ECHO_C" >&6
1542
if test -n "$AWK"; then
1543
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1545
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1549
test -z "$as_dir" && as_dir=.
1550
for ac_exec_ext in '' $ac_executable_extensions; do
1551
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1552
ac_cv_prog_AWK="$ac_prog"
1553
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1562
if test -n "$AWK"; then
1563
echo "$as_me:$LINENO: result: $AWK" >&5
1564
echo "${ECHO_T}$AWK" >&6
1566
echo "$as_me:$LINENO: result: no" >&5
1567
echo "${ECHO_T}no" >&6
1570
test -n "$AWK" && break
1573
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1574
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1575
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1576
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1577
echo $ECHO_N "(cached) $ECHO_C" >&6
1579
cat >conftest.make <<\_ACEOF
1581
@echo 'ac_maketemp="$(MAKE)"'
1583
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1584
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1585
if test -n "$ac_maketemp"; then
1586
eval ac_cv_prog_make_${ac_make}_set=yes
1588
eval ac_cv_prog_make_${ac_make}_set=no
1592
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1593
echo "$as_me:$LINENO: result: yes" >&5
1594
echo "${ECHO_T}yes" >&6
1597
echo "$as_me:$LINENO: result: no" >&5
1598
echo "${ECHO_T}no" >&6
1599
SET_MAKE="MAKE=${MAKE-make}"
1602
rm -rf .tst 2>/dev/null
1603
mkdir .tst 2>/dev/null
1604
if test -d .tst; then
1609
rmdir .tst 2>/dev/null
1611
# test to see if srcdir already configured
1612
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1613
test -f $srcdir/config.status; then
1614
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1615
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1616
{ (exit 1); exit 1; }; }
1619
# test whether we have cygpath
1620
if test -z "$CYGPATH_W"; then
1621
if (cygpath --version) >/dev/null 2>/dev/null; then
1622
CYGPATH_W='cygpath -w'
1629
# Define the identity of the package.
1634
cat >>confdefs.h <<_ACEOF
1635
#define PACKAGE "$PACKAGE"
1639
cat >>confdefs.h <<_ACEOF
1640
#define VERSION "$VERSION"
1643
# Some tools Automake needs.
1645
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1648
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1651
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1654
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1657
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1659
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1661
# Installed binaries are usually stripped using `strip' when the user
1662
# run `make install-strip'. However `strip' might not be the right
1663
# tool to use in cross-compilation environments, therefore Automake
1664
# will honor the `STRIP' environment variable to overrule this program.
1665
if test "$cross_compiling" != no; then
1666
if test -n "$ac_tool_prefix"; then
1667
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1668
set dummy ${ac_tool_prefix}strip; ac_word=$2
1669
echo "$as_me:$LINENO: checking for $ac_word" >&5
1670
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1671
if test "${ac_cv_prog_STRIP+set}" = set; then
1672
echo $ECHO_N "(cached) $ECHO_C" >&6
1674
if test -n "$STRIP"; then
1675
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1677
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1681
test -z "$as_dir" && as_dir=.
1682
for ac_exec_ext in '' $ac_executable_extensions; do
1683
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1684
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1685
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1693
STRIP=$ac_cv_prog_STRIP
1694
if test -n "$STRIP"; then
1695
echo "$as_me:$LINENO: result: $STRIP" >&5
1696
echo "${ECHO_T}$STRIP" >&6
1698
echo "$as_me:$LINENO: result: no" >&5
1699
echo "${ECHO_T}no" >&6
1703
if test -z "$ac_cv_prog_STRIP"; then
1705
# Extract the first word of "strip", so it can be a program name with args.
1706
set dummy strip; ac_word=$2
1707
echo "$as_me:$LINENO: checking for $ac_word" >&5
1708
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1709
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1710
echo $ECHO_N "(cached) $ECHO_C" >&6
1712
if test -n "$ac_ct_STRIP"; then
1713
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1715
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1719
test -z "$as_dir" && as_dir=.
1720
for ac_exec_ext in '' $ac_executable_extensions; do
1721
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1722
ac_cv_prog_ac_ct_STRIP="strip"
1723
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1729
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1732
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1733
if test -n "$ac_ct_STRIP"; then
1734
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1735
echo "${ECHO_T}$ac_ct_STRIP" >&6
1737
echo "$as_me:$LINENO: result: no" >&5
1738
echo "${ECHO_T}no" >&6
1743
STRIP="$ac_cv_prog_STRIP"
1747
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1749
# We need awk for the "check" target. The system "awk" is bad on
1751
# Always define AMTAR for backward compatibility.
1753
AMTAR=${AMTAR-"${am_missing_run}tar"}
1755
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1762
ac_config_headers="$ac_config_headers config.h"
1769
test "${prefix}" = "NONE" && prefix="/usr"
1770
if test ${prefix} = '/usr'
1772
if test ${sysconfdir} = '${prefix}/etc'
1776
if test ${mandir} = '${prefix}/man'
1778
mandir='${prefix}/share/man'
1781
if test ${libexecdir} = '${exec_prefix}/libexec'
1783
libexecdir='${exec_prefix}/lib/yp'
1784
if test "${exec_prefix}" = "NONE"
1786
YPBINDIR=/usr/lib/yp
1788
YPBINDIR=${exec_prefix}/lib/yp
1791
YPBINDIR=${libexecdir}
1795
# Check whether --enable-ypmapdir or --disable-ypmapdir was given.
1796
if test "${enable_ypmapdir+set}" = set; then
1797
enableval="$enable_ypmapdir"
1805
if test ${sbindir} = '${exec_prefix}/sbin'
1807
if test "${exec_prefix}" = "NONE"
1811
SBINDIR=${exec_prefix}/sbin
1819
ac_cpp='$CPP $CPPFLAGS'
1820
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1823
if test -n "$ac_tool_prefix"; then
1824
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1825
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1826
echo "$as_me:$LINENO: checking for $ac_word" >&5
1827
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1828
if test "${ac_cv_prog_CC+set}" = set; then
1829
echo $ECHO_N "(cached) $ECHO_C" >&6
1831
if test -n "$CC"; then
1832
ac_cv_prog_CC="$CC" # Let the user override the test.
1834
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1838
test -z "$as_dir" && as_dir=.
1839
for ac_exec_ext in '' $ac_executable_extensions; do
1840
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1841
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1842
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1851
if test -n "$CC"; then
1852
echo "$as_me:$LINENO: result: $CC" >&5
1853
echo "${ECHO_T}$CC" >&6
1855
echo "$as_me:$LINENO: result: no" >&5
1856
echo "${ECHO_T}no" >&6
1860
if test -z "$ac_cv_prog_CC"; then
1862
# Extract the first word of "gcc", so it can be a program name with args.
1863
set dummy gcc; ac_word=$2
1864
echo "$as_me:$LINENO: checking for $ac_word" >&5
1865
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1866
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1867
echo $ECHO_N "(cached) $ECHO_C" >&6
1869
if test -n "$ac_ct_CC"; then
1870
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1872
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1876
test -z "$as_dir" && as_dir=.
1877
for ac_exec_ext in '' $ac_executable_extensions; do
1878
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1879
ac_cv_prog_ac_ct_CC="gcc"
1880
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1888
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1889
if test -n "$ac_ct_CC"; then
1890
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1891
echo "${ECHO_T}$ac_ct_CC" >&6
1893
echo "$as_me:$LINENO: result: no" >&5
1894
echo "${ECHO_T}no" >&6
1902
if test -z "$CC"; then
1903
if test -n "$ac_tool_prefix"; then
1904
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1905
set dummy ${ac_tool_prefix}cc; ac_word=$2
1906
echo "$as_me:$LINENO: checking for $ac_word" >&5
1907
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1908
if test "${ac_cv_prog_CC+set}" = set; then
1909
echo $ECHO_N "(cached) $ECHO_C" >&6
1911
if test -n "$CC"; then
1912
ac_cv_prog_CC="$CC" # Let the user override the test.
1914
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1918
test -z "$as_dir" && as_dir=.
1919
for ac_exec_ext in '' $ac_executable_extensions; do
1920
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1921
ac_cv_prog_CC="${ac_tool_prefix}cc"
1922
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1931
if test -n "$CC"; then
1932
echo "$as_me:$LINENO: result: $CC" >&5
1933
echo "${ECHO_T}$CC" >&6
1935
echo "$as_me:$LINENO: result: no" >&5
1936
echo "${ECHO_T}no" >&6
1940
if test -z "$ac_cv_prog_CC"; then
1942
# Extract the first word of "cc", so it can be a program name with args.
1943
set dummy cc; ac_word=$2
1944
echo "$as_me:$LINENO: checking for $ac_word" >&5
1945
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1946
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1947
echo $ECHO_N "(cached) $ECHO_C" >&6
1949
if test -n "$ac_ct_CC"; then
1950
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1952
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1956
test -z "$as_dir" && as_dir=.
1957
for ac_exec_ext in '' $ac_executable_extensions; do
1958
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1959
ac_cv_prog_ac_ct_CC="cc"
1960
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1968
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1969
if test -n "$ac_ct_CC"; then
1970
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1971
echo "${ECHO_T}$ac_ct_CC" >&6
1973
echo "$as_me:$LINENO: result: no" >&5
1974
echo "${ECHO_T}no" >&6
1983
if test -z "$CC"; then
1984
# Extract the first word of "cc", so it can be a program name with args.
1985
set dummy cc; ac_word=$2
1986
echo "$as_me:$LINENO: checking for $ac_word" >&5
1987
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1988
if test "${ac_cv_prog_CC+set}" = set; then
1989
echo $ECHO_N "(cached) $ECHO_C" >&6
1991
if test -n "$CC"; then
1992
ac_cv_prog_CC="$CC" # Let the user override the test.
1995
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1999
test -z "$as_dir" && as_dir=.
2000
for ac_exec_ext in '' $ac_executable_extensions; do
2001
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2002
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2003
ac_prog_rejected=yes
2007
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2013
if test $ac_prog_rejected = yes; then
2014
# We found a bogon in the path, so make sure we never use it.
2015
set dummy $ac_cv_prog_CC
2017
if test $# != 0; then
2018
# We chose a different compiler from the bogus one.
2019
# However, it has the same basename, so the bogon will be chosen
2020
# first if we set CC to just the basename; use the full file name.
2022
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2028
if test -n "$CC"; then
2029
echo "$as_me:$LINENO: result: $CC" >&5
2030
echo "${ECHO_T}$CC" >&6
2032
echo "$as_me:$LINENO: result: no" >&5
2033
echo "${ECHO_T}no" >&6
2037
if test -z "$CC"; then
2038
if test -n "$ac_tool_prefix"; then
2041
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2042
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2043
echo "$as_me:$LINENO: checking for $ac_word" >&5
2044
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2045
if test "${ac_cv_prog_CC+set}" = set; then
2046
echo $ECHO_N "(cached) $ECHO_C" >&6
2048
if test -n "$CC"; then
2049
ac_cv_prog_CC="$CC" # Let the user override the test.
2051
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055
test -z "$as_dir" && as_dir=.
2056
for ac_exec_ext in '' $ac_executable_extensions; do
2057
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2058
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2059
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2068
if test -n "$CC"; then
2069
echo "$as_me:$LINENO: result: $CC" >&5
2070
echo "${ECHO_T}$CC" >&6
2072
echo "$as_me:$LINENO: result: no" >&5
2073
echo "${ECHO_T}no" >&6
2076
test -n "$CC" && break
2079
if test -z "$CC"; then
2083
# Extract the first word of "$ac_prog", so it can be a program name with args.
2084
set dummy $ac_prog; ac_word=$2
2085
echo "$as_me:$LINENO: checking for $ac_word" >&5
2086
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2087
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2088
echo $ECHO_N "(cached) $ECHO_C" >&6
2090
if test -n "$ac_ct_CC"; then
2091
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2093
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097
test -z "$as_dir" && as_dir=.
2098
for ac_exec_ext in '' $ac_executable_extensions; do
2099
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2100
ac_cv_prog_ac_ct_CC="$ac_prog"
2101
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2109
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2110
if test -n "$ac_ct_CC"; then
2111
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2112
echo "${ECHO_T}$ac_ct_CC" >&6
2114
echo "$as_me:$LINENO: result: no" >&5
2115
echo "${ECHO_T}no" >&6
2118
test -n "$ac_ct_CC" && break
2127
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2128
See \`config.log' for more details." >&5
2129
echo "$as_me: error: no acceptable C compiler found in \$PATH
2130
See \`config.log' for more details." >&2;}
2131
{ (exit 1); exit 1; }; }
2133
# Provide some information about the compiler.
2134
echo "$as_me:$LINENO:" \
2135
"checking for C compiler version" >&5
2136
ac_compiler=`set X $ac_compile; echo $2`
2137
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2138
(eval $ac_compiler --version </dev/null >&5) 2>&5
2140
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141
(exit $ac_status); }
2142
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2143
(eval $ac_compiler -v </dev/null >&5) 2>&5
2145
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2146
(exit $ac_status); }
2147
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2148
(eval $ac_compiler -V </dev/null >&5) 2>&5
2150
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2151
(exit $ac_status); }
2153
cat >conftest.$ac_ext <<_ACEOF
2156
cat confdefs.h >>conftest.$ac_ext
2157
cat >>conftest.$ac_ext <<_ACEOF
2158
/* end confdefs.h. */
2168
ac_clean_files_save=$ac_clean_files
2169
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2170
# Try to create an executable without -o first, disregard a.out.
2171
# It will help us diagnose broken compilers, and finding out an intuition
2173
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2174
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2175
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2176
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2177
(eval $ac_link_default) 2>&5
2179
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2180
(exit $ac_status); }; then
2181
# Find the output, starting from the most likely. This scheme is
2182
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2185
# Be careful to initialize this variable, since it used to be cached.
2186
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2188
# b.out is created by i960 compilers.
2189
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2191
test -f "$ac_file" || continue
2193
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2196
# This is the source file.
2199
# We found the default executable, but exeext='' is most
2203
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2204
# FIXME: I believe we export ac_cv_exeext for Libtool,
2205
# but it would be cool to find out if it's true. Does anybody
2206
# maintain Libtool? --akim.
2214
echo "$as_me: failed program was:" >&5
2215
sed 's/^/| /' conftest.$ac_ext >&5
2217
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2218
See \`config.log' for more details." >&5
2219
echo "$as_me: error: C compiler cannot create executables
2220
See \`config.log' for more details." >&2;}
2221
{ (exit 77); exit 77; }; }
2224
ac_exeext=$ac_cv_exeext
2225
echo "$as_me:$LINENO: result: $ac_file" >&5
2226
echo "${ECHO_T}$ac_file" >&6
2228
# Check the compiler produces executables we can run. If not, either
2229
# the compiler is broken, or we cross compile.
2230
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2231
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2232
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2233
# If not cross compiling, check that we can run a simple program.
2234
if test "$cross_compiling" != yes; then
2235
if { ac_try='./$ac_file'
2236
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2239
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240
(exit $ac_status); }; }; then
2243
if test "$cross_compiling" = maybe; then
2246
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2247
If you meant to cross compile, use \`--host'.
2248
See \`config.log' for more details." >&5
2249
echo "$as_me: error: cannot run C compiled programs.
2250
If you meant to cross compile, use \`--host'.
2251
See \`config.log' for more details." >&2;}
2252
{ (exit 1); exit 1; }; }
2256
echo "$as_me:$LINENO: result: yes" >&5
2257
echo "${ECHO_T}yes" >&6
2259
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2260
ac_clean_files=$ac_clean_files_save
2261
# Check the compiler produces executables we can run. If not, either
2262
# the compiler is broken, or we cross compile.
2263
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2264
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2265
echo "$as_me:$LINENO: result: $cross_compiling" >&5
2266
echo "${ECHO_T}$cross_compiling" >&6
2268
echo "$as_me:$LINENO: checking for suffix of executables" >&5
2269
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2270
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2271
(eval $ac_link) 2>&5
2273
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274
(exit $ac_status); }; then
2275
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2276
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2277
# work properly (i.e., refer to `conftest.exe'), while it won't with
2279
for ac_file in conftest.exe conftest conftest.*; do
2280
test -f "$ac_file" || continue
2282
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2283
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2290
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2291
See \`config.log' for more details." >&5
2292
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2293
See \`config.log' for more details." >&2;}
2294
{ (exit 1); exit 1; }; }
2297
rm -f conftest$ac_cv_exeext
2298
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2299
echo "${ECHO_T}$ac_cv_exeext" >&6
2301
rm -f conftest.$ac_ext
2302
EXEEXT=$ac_cv_exeext
2304
echo "$as_me:$LINENO: checking for suffix of object files" >&5
2305
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2306
if test "${ac_cv_objext+set}" = set; then
2307
echo $ECHO_N "(cached) $ECHO_C" >&6
2309
cat >conftest.$ac_ext <<_ACEOF
2312
cat confdefs.h >>conftest.$ac_ext
2313
cat >>conftest.$ac_ext <<_ACEOF
2314
/* end confdefs.h. */
2324
rm -f conftest.o conftest.obj
2325
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2326
(eval $ac_compile) 2>&5
2328
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329
(exit $ac_status); }; then
2330
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2332
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2333
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2338
echo "$as_me: failed program was:" >&5
2339
sed 's/^/| /' conftest.$ac_ext >&5
2341
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2342
See \`config.log' for more details." >&5
2343
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2344
See \`config.log' for more details." >&2;}
2345
{ (exit 1); exit 1; }; }
2348
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2350
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2351
echo "${ECHO_T}$ac_cv_objext" >&6
2352
OBJEXT=$ac_cv_objext
2354
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2355
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2356
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2357
echo $ECHO_N "(cached) $ECHO_C" >&6
2359
cat >conftest.$ac_ext <<_ACEOF
2362
cat confdefs.h >>conftest.$ac_ext
2363
cat >>conftest.$ac_ext <<_ACEOF
2364
/* end confdefs.h. */
2377
rm -f conftest.$ac_objext
2378
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2379
(eval $ac_compile) 2>conftest.er1
2381
grep -v '^ *+' conftest.er1 >conftest.err
2383
cat conftest.err >&5
2384
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385
(exit $ac_status); } &&
2386
{ ac_try='test -z "$ac_c_werror_flag"
2387
|| test ! -s conftest.err'
2388
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2391
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2392
(exit $ac_status); }; } &&
2393
{ ac_try='test -s conftest.$ac_objext'
2394
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398
(exit $ac_status); }; }; then
2401
echo "$as_me: failed program was:" >&5
2402
sed 's/^/| /' conftest.$ac_ext >&5
2406
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2407
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2410
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2411
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2412
GCC=`test $ac_compiler_gnu = yes && echo yes`
2413
ac_test_CFLAGS=${CFLAGS+set}
2414
ac_save_CFLAGS=$CFLAGS
2416
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2417
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2418
if test "${ac_cv_prog_cc_g+set}" = set; then
2419
echo $ECHO_N "(cached) $ECHO_C" >&6
2421
cat >conftest.$ac_ext <<_ACEOF
2424
cat confdefs.h >>conftest.$ac_ext
2425
cat >>conftest.$ac_ext <<_ACEOF
2426
/* end confdefs.h. */
2436
rm -f conftest.$ac_objext
2437
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2438
(eval $ac_compile) 2>conftest.er1
2440
grep -v '^ *+' conftest.er1 >conftest.err
2442
cat conftest.err >&5
2443
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444
(exit $ac_status); } &&
2445
{ ac_try='test -z "$ac_c_werror_flag"
2446
|| test ! -s conftest.err'
2447
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2450
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451
(exit $ac_status); }; } &&
2452
{ ac_try='test -s conftest.$ac_objext'
2453
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2456
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457
(exit $ac_status); }; }; then
2460
echo "$as_me: failed program was:" >&5
2461
sed 's/^/| /' conftest.$ac_ext >&5
2465
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2467
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2468
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2469
if test "$ac_test_CFLAGS" = set; then
2470
CFLAGS=$ac_save_CFLAGS
2471
elif test $ac_cv_prog_cc_g = yes; then
2472
if test "$GCC" = yes; then
2478
if test "$GCC" = yes; then
2484
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2485
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2486
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2487
echo $ECHO_N "(cached) $ECHO_C" >&6
2489
ac_cv_prog_cc_stdc=no
2491
cat >conftest.$ac_ext <<_ACEOF
2494
cat confdefs.h >>conftest.$ac_ext
2495
cat >>conftest.$ac_ext <<_ACEOF
2496
/* end confdefs.h. */
2499
#include <sys/types.h>
2500
#include <sys/stat.h>
2501
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2502
struct buf { int x; };
2503
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2504
static char *e (p, i)
2510
static char *f (char * (*g) (char **, int), char **p, ...)
2515
s = g (p, va_arg (v,int));
2520
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2521
function prototypes and stuff, but not '\xHH' hex character constants.
2522
These don't provoke an error unfortunately, instead are silently treated
2523
as 'x'. The following induces an error, until -std1 is added to get
2524
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2525
array size at least. It's necessary to write '\x00'==0 to get something
2526
that's true only with -std1. */
2527
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2529
int test (int i, double x);
2530
struct s1 {int (*f) (int a);};
2531
struct s2 {int (*f) (double a);};
2532
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2538
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2543
# Don't try gcc -ansi; that turns off useful extensions and
2544
# breaks some systems' header files.
2545
# AIX -qlanglvl=ansi
2546
# Ultrix and OSF/1 -std1
2547
# HP-UX 10.20 and later -Ae
2548
# HP-UX older versions -Aa -D_HPUX_SOURCE
2549
# SVR4 -Xc -D__EXTENSIONS__
2550
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2552
CC="$ac_save_CC $ac_arg"
2553
rm -f conftest.$ac_objext
2554
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2555
(eval $ac_compile) 2>conftest.er1
2557
grep -v '^ *+' conftest.er1 >conftest.err
2559
cat conftest.err >&5
2560
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561
(exit $ac_status); } &&
2562
{ ac_try='test -z "$ac_c_werror_flag"
2563
|| test ! -s conftest.err'
2564
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2567
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568
(exit $ac_status); }; } &&
2569
{ ac_try='test -s conftest.$ac_objext'
2570
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2573
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2574
(exit $ac_status); }; }; then
2575
ac_cv_prog_cc_stdc=$ac_arg
2578
echo "$as_me: failed program was:" >&5
2579
sed 's/^/| /' conftest.$ac_ext >&5
2582
rm -f conftest.err conftest.$ac_objext
2584
rm -f conftest.$ac_ext conftest.$ac_objext
2589
case "x$ac_cv_prog_cc_stdc" in
2591
echo "$as_me:$LINENO: result: none needed" >&5
2592
echo "${ECHO_T}none needed" >&6 ;;
2594
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2595
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2596
CC="$CC $ac_cv_prog_cc_stdc" ;;
2599
# Some people use a C++ compiler to compile C. Since we use `exit',
2600
# in C++ we need to declare it. In case someone uses the same compiler
2601
# for both compiling C and C++ we need to have the C++ compiler decide
2602
# the declaration of exit, since it's the most demanding environment.
2603
cat >conftest.$ac_ext <<_ACEOF
2608
rm -f conftest.$ac_objext
2609
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2610
(eval $ac_compile) 2>conftest.er1
2612
grep -v '^ *+' conftest.er1 >conftest.err
2614
cat conftest.err >&5
2615
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616
(exit $ac_status); } &&
2617
{ ac_try='test -z "$ac_c_werror_flag"
2618
|| test ! -s conftest.err'
2619
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623
(exit $ac_status); }; } &&
2624
{ ac_try='test -s conftest.$ac_objext'
2625
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2628
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629
(exit $ac_status); }; }; then
2630
for ac_declaration in \
2632
'extern "C" void std::exit (int) throw (); using std::exit;' \
2633
'extern "C" void std::exit (int); using std::exit;' \
2634
'extern "C" void exit (int) throw ();' \
2635
'extern "C" void exit (int);' \
2638
cat >conftest.$ac_ext <<_ACEOF
2641
cat confdefs.h >>conftest.$ac_ext
2642
cat >>conftest.$ac_ext <<_ACEOF
2643
/* end confdefs.h. */
2654
rm -f conftest.$ac_objext
2655
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656
(eval $ac_compile) 2>conftest.er1
2658
grep -v '^ *+' conftest.er1 >conftest.err
2660
cat conftest.err >&5
2661
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662
(exit $ac_status); } &&
2663
{ ac_try='test -z "$ac_c_werror_flag"
2664
|| test ! -s conftest.err'
2665
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2668
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669
(exit $ac_status); }; } &&
2670
{ ac_try='test -s conftest.$ac_objext'
2671
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2674
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675
(exit $ac_status); }; }; then
2678
echo "$as_me: failed program was:" >&5
2679
sed 's/^/| /' conftest.$ac_ext >&5
2683
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2684
cat >conftest.$ac_ext <<_ACEOF
2687
cat confdefs.h >>conftest.$ac_ext
2688
cat >>conftest.$ac_ext <<_ACEOF
2689
/* end confdefs.h. */
2699
rm -f conftest.$ac_objext
2700
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701
(eval $ac_compile) 2>conftest.er1
2703
grep -v '^ *+' conftest.er1 >conftest.err
2705
cat conftest.err >&5
2706
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707
(exit $ac_status); } &&
2708
{ ac_try='test -z "$ac_c_werror_flag"
2709
|| test ! -s conftest.err'
2710
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2713
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714
(exit $ac_status); }; } &&
2715
{ ac_try='test -s conftest.$ac_objext'
2716
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720
(exit $ac_status); }; }; then
2723
echo "$as_me: failed program was:" >&5
2724
sed 's/^/| /' conftest.$ac_ext >&5
2727
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2730
if test -n "$ac_declaration"; then
2731
echo '#ifdef __cplusplus' >>confdefs.h
2732
echo $ac_declaration >>confdefs.h
2733
echo '#endif' >>confdefs.h
2737
echo "$as_me: failed program was:" >&5
2738
sed 's/^/| /' conftest.$ac_ext >&5
2741
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2743
ac_cpp='$CPP $CPPFLAGS'
2744
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2745
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2746
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2747
DEPDIR="${am__leading_dot}deps"
2749
ac_config_commands="$ac_config_commands depfiles"
2752
am_make=${MAKE-make}
2753
cat > confinc << 'END'
2758
# If we don't find an include directive, just comment out the code.
2759
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2760
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2764
# First try GNU make style include.
2765
echo "include confinc" > confmf
2766
# We grep out `Entering directory' and `Leaving directory'
2767
# messages which can occur if `w' ends up in MAKEFLAGS.
2768
# In particular we don't look at `^make:' because GNU make might
2769
# be invoked under some other name (usually "gmake"), in which
2770
# case it prints its new name instead of `make'.
2771
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2776
# Now try BSD make style include.
2777
if test "$am__include" = "#"; then
2778
echo '.include "confinc"' > confmf
2779
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2780
am__include=.include
2787
echo "$as_me:$LINENO: result: $_am_result" >&5
2788
echo "${ECHO_T}$_am_result" >&6
2789
rm -f confinc confmf
2791
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2792
if test "${enable_dependency_tracking+set}" = set; then
2793
enableval="$enable_dependency_tracking"
2796
if test "x$enable_dependency_tracking" != xno; then
2797
am_depcomp="$ac_aux_dir/depcomp"
2802
if test "x$enable_dependency_tracking" != xno; then
2813
depcc="$CC" am_compiler_list=
2815
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2816
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2817
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2818
echo $ECHO_N "(cached) $ECHO_C" >&6
2820
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2821
# We make a subdir and do the tests there. Otherwise we can end up
2822
# making bogus files that we don't know about and never remove. For
2823
# instance it was reported that on HP-UX the gcc test will end up
2824
# making a dummy file named `D' -- because `-MD' means `put the output
2827
# Copy depcomp to subdir because otherwise we won't find it if we're
2828
# using a relative directory.
2829
cp "$am_depcomp" conftest.dir
2831
# We will build objects and dependencies in a subdirectory because
2832
# it helps to detect inapplicable dependency modes. For instance
2833
# both Tru64's cc and ICC support -MD to output dependencies as a
2834
# side effect of compilation, but ICC will put the dependencies in
2835
# the current directory while Tru64 will put them in the object
2839
am_cv_CC_dependencies_compiler_type=none
2840
if test "$am_compiler_list" = ""; then
2841
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2843
for depmode in $am_compiler_list; do
2844
# Setup a source with many dependencies, because some compilers
2845
# like to wrap large dependency lists on column 80 (with \), and
2846
# we should not choose a depcomp mode which is confused by this.
2848
# We need to recreate these files for each test, as the compiler may
2849
# overwrite some of them when testing with obscure command lines.
2850
# This happens at least with the AIX C compiler.
2852
for i in 1 2 3 4 5 6; do
2853
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2854
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2855
# Solaris 8's {/usr,}/bin/sh.
2856
touch sub/conftst$i.h
2858
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2862
# after this tag, mechanisms are not by side-effect, so they'll
2863
# only be used when explicitly requested
2864
if test "x$enable_dependency_tracking" = xyes; then
2872
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2873
# mode. It turns out that the SunPro C++ compiler does not properly
2874
# handle `-M -o', and we need to detect this.
2875
if depmode=$depmode \
2876
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2877
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2878
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2879
>/dev/null 2>conftest.err &&
2880
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2881
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2882
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2883
# icc doesn't choke on unknown options, it will just issue warnings
2884
# or remarks (even with -Werror). So we grep stderr for any message
2885
# that says an option was ignored or not supported.
2886
# When given -MP, icc 7.0 and 7.1 complain thusly:
2887
# icc: Command line warning: ignoring option '-M'; no argument required
2888
# The diagnosis changed in icc 8.0:
2889
# icc: Command line remark: option '-MP' not supported
2890
if (grep 'ignoring option' conftest.err ||
2891
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2892
am_cv_CC_dependencies_compiler_type=$depmode
2901
am_cv_CC_dependencies_compiler_type=none
2905
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2906
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2907
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2912
test "x$enable_dependency_tracking" != xno \
2913
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2915
am__fastdepCC_FALSE='#'
2917
am__fastdepCC_TRUE='#'
2918
am__fastdepCC_FALSE=
2923
echo "$as_me:$LINENO: checking for library containing strerror" >&5
2924
echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2925
if test "${ac_cv_search_strerror+set}" = set; then
2926
echo $ECHO_N "(cached) $ECHO_C" >&6
2928
ac_func_search_save_LIBS=$LIBS
2929
ac_cv_search_strerror=no
2930
cat >conftest.$ac_ext <<_ACEOF
2933
cat confdefs.h >>conftest.$ac_ext
2934
cat >>conftest.$ac_ext <<_ACEOF
2935
/* end confdefs.h. */
2937
/* Override any gcc2 internal prototype to avoid an error. */
2941
/* We use char because int might match the return type of a gcc2
2942
builtin and then its argument prototype would still apply. */
2952
rm -f conftest.$ac_objext conftest$ac_exeext
2953
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2954
(eval $ac_link) 2>conftest.er1
2956
grep -v '^ *+' conftest.er1 >conftest.err
2958
cat conftest.err >&5
2959
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960
(exit $ac_status); } &&
2961
{ ac_try='test -z "$ac_c_werror_flag"
2962
|| test ! -s conftest.err'
2963
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2966
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967
(exit $ac_status); }; } &&
2968
{ ac_try='test -s conftest$ac_exeext'
2969
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973
(exit $ac_status); }; }; then
2974
ac_cv_search_strerror="none required"
2976
echo "$as_me: failed program was:" >&5
2977
sed 's/^/| /' conftest.$ac_ext >&5
2980
rm -f conftest.err conftest.$ac_objext \
2981
conftest$ac_exeext conftest.$ac_ext
2982
if test "$ac_cv_search_strerror" = no; then
2983
for ac_lib in cposix; do
2984
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2985
cat >conftest.$ac_ext <<_ACEOF
2988
cat confdefs.h >>conftest.$ac_ext
2989
cat >>conftest.$ac_ext <<_ACEOF
2990
/* end confdefs.h. */
2992
/* Override any gcc2 internal prototype to avoid an error. */
2996
/* We use char because int might match the return type of a gcc2
2997
builtin and then its argument prototype would still apply. */
3007
rm -f conftest.$ac_objext conftest$ac_exeext
3008
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3009
(eval $ac_link) 2>conftest.er1
3011
grep -v '^ *+' conftest.er1 >conftest.err
3013
cat conftest.err >&5
3014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3015
(exit $ac_status); } &&
3016
{ ac_try='test -z "$ac_c_werror_flag"
3017
|| test ! -s conftest.err'
3018
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3021
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022
(exit $ac_status); }; } &&
3023
{ ac_try='test -s conftest$ac_exeext'
3024
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3027
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3028
(exit $ac_status); }; }; then
3029
ac_cv_search_strerror="-l$ac_lib"
3032
echo "$as_me: failed program was:" >&5
3033
sed 's/^/| /' conftest.$ac_ext >&5
3036
rm -f conftest.err conftest.$ac_objext \
3037
conftest$ac_exeext conftest.$ac_ext
3040
LIBS=$ac_func_search_save_LIBS
3042
echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3043
echo "${ECHO_T}$ac_cv_search_strerror" >&6
3044
if test "$ac_cv_search_strerror" != no; then
3045
test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3050
ac_cpp='$CPP $CPPFLAGS'
3051
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3052
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3053
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3054
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3055
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3056
# On Suns, sometimes $CPP names a directory.
3057
if test -n "$CPP" && test -d "$CPP"; then
3060
if test -z "$CPP"; then
3061
if test "${ac_cv_prog_CPP+set}" = set; then
3062
echo $ECHO_N "(cached) $ECHO_C" >&6
3064
# Double quotes because CPP needs to be expanded
3065
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3068
for ac_c_preproc_warn_flag in '' yes
3070
# Use a header file that comes with gcc, so configuring glibc
3071
# with a fresh cross-compiler works.
3072
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3073
# <limits.h> exists even on freestanding compilers.
3074
# On the NeXT, cc -E runs the code through the compiler's parser,
3075
# not just through cpp. "Syntax error" is here to catch this case.
3076
cat >conftest.$ac_ext <<_ACEOF
3079
cat confdefs.h >>conftest.$ac_ext
3080
cat >>conftest.$ac_ext <<_ACEOF
3081
/* end confdefs.h. */
3083
# include <limits.h>
3085
# include <assert.h>
3089
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3090
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3092
grep -v '^ *+' conftest.er1 >conftest.err
3094
cat conftest.err >&5
3095
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096
(exit $ac_status); } >/dev/null; then
3097
if test -s conftest.err; then
3098
ac_cpp_err=$ac_c_preproc_warn_flag
3099
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3106
if test -z "$ac_cpp_err"; then
3109
echo "$as_me: failed program was:" >&5
3110
sed 's/^/| /' conftest.$ac_ext >&5
3112
# Broken: fails on valid input.
3115
rm -f conftest.err conftest.$ac_ext
3117
# OK, works on sane cases. Now check whether non-existent headers
3118
# can be detected and how.
3119
cat >conftest.$ac_ext <<_ACEOF
3122
cat confdefs.h >>conftest.$ac_ext
3123
cat >>conftest.$ac_ext <<_ACEOF
3124
/* end confdefs.h. */
3125
#include <ac_nonexistent.h>
3127
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3128
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3130
grep -v '^ *+' conftest.er1 >conftest.err
3132
cat conftest.err >&5
3133
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134
(exit $ac_status); } >/dev/null; then
3135
if test -s conftest.err; then
3136
ac_cpp_err=$ac_c_preproc_warn_flag
3137
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3144
if test -z "$ac_cpp_err"; then
3145
# Broken: success on invalid input.
3148
echo "$as_me: failed program was:" >&5
3149
sed 's/^/| /' conftest.$ac_ext >&5
3151
# Passes both tests.
3155
rm -f conftest.err conftest.$ac_ext
3158
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3159
rm -f conftest.err conftest.$ac_ext
3160
if $ac_preproc_ok; then
3172
echo "$as_me:$LINENO: result: $CPP" >&5
3173
echo "${ECHO_T}$CPP" >&6
3175
for ac_c_preproc_warn_flag in '' yes
3177
# Use a header file that comes with gcc, so configuring glibc
3178
# with a fresh cross-compiler works.
3179
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3180
# <limits.h> exists even on freestanding compilers.
3181
# On the NeXT, cc -E runs the code through the compiler's parser,
3182
# not just through cpp. "Syntax error" is here to catch this case.
3183
cat >conftest.$ac_ext <<_ACEOF
3186
cat confdefs.h >>conftest.$ac_ext
3187
cat >>conftest.$ac_ext <<_ACEOF
3188
/* end confdefs.h. */
3190
# include <limits.h>
3192
# include <assert.h>
3196
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3197
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3199
grep -v '^ *+' conftest.er1 >conftest.err
3201
cat conftest.err >&5
3202
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203
(exit $ac_status); } >/dev/null; then
3204
if test -s conftest.err; then
3205
ac_cpp_err=$ac_c_preproc_warn_flag
3206
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3213
if test -z "$ac_cpp_err"; then
3216
echo "$as_me: failed program was:" >&5
3217
sed 's/^/| /' conftest.$ac_ext >&5
3219
# Broken: fails on valid input.
3222
rm -f conftest.err conftest.$ac_ext
3224
# OK, works on sane cases. Now check whether non-existent headers
3225
# can be detected and how.
3226
cat >conftest.$ac_ext <<_ACEOF
3229
cat confdefs.h >>conftest.$ac_ext
3230
cat >>conftest.$ac_ext <<_ACEOF
3231
/* end confdefs.h. */
3232
#include <ac_nonexistent.h>
3234
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3235
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3237
grep -v '^ *+' conftest.er1 >conftest.err
3239
cat conftest.err >&5
3240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241
(exit $ac_status); } >/dev/null; then
3242
if test -s conftest.err; then
3243
ac_cpp_err=$ac_c_preproc_warn_flag
3244
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3251
if test -z "$ac_cpp_err"; then
3252
# Broken: success on invalid input.
3255
echo "$as_me: failed program was:" >&5
3256
sed 's/^/| /' conftest.$ac_ext >&5
3258
# Passes both tests.
3262
rm -f conftest.err conftest.$ac_ext
3265
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3266
rm -f conftest.err conftest.$ac_ext
3267
if $ac_preproc_ok; then
3270
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3271
See \`config.log' for more details." >&5
3272
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3273
See \`config.log' for more details." >&2;}
3274
{ (exit 1); exit 1; }; }
3278
ac_cpp='$CPP $CPPFLAGS'
3279
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3280
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3281
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3283
# Find a good install program. We prefer a C program (faster),
3284
# so one script is as good as another. But avoid the broken or
3285
# incompatible versions:
3286
# SysV /etc/install, /usr/sbin/install
3287
# SunOS /usr/etc/install
3288
# IRIX /sbin/install
3290
# AmigaOS /C/install, which installs bootblocks on floppy discs
3291
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3292
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3293
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3294
# OS/2's system install, which has a completely different semantic
3295
# ./install, which can be erroneously created by make from ./install.sh.
3296
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3297
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3298
if test -z "$INSTALL"; then
3299
if test "${ac_cv_path_install+set}" = set; then
3300
echo $ECHO_N "(cached) $ECHO_C" >&6
3302
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3306
test -z "$as_dir" && as_dir=.
3307
# Account for people who put trailing slashes in PATH elements.
3309
./ | .// | /cC/* | \
3310
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3311
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3314
# OSF1 and SCO ODT 3.0 have their own names for install.
3315
# Don't use installbsd from OSF since it installs stuff as root
3317
for ac_prog in ginstall scoinst install; do
3318
for ac_exec_ext in '' $ac_executable_extensions; do
3319
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3320
if test $ac_prog = install &&
3321
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3322
# AIX install. It has an incompatible calling convention.
3324
elif test $ac_prog = install &&
3325
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3326
# program-specific install script used by HP pwplus--don't use.
3329
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3341
if test "${ac_cv_path_install+set}" = set; then
3342
INSTALL=$ac_cv_path_install
3344
# As a last resort, use the slow shell script. We don't cache a
3345
# path for INSTALL within a source directory, because that will
3346
# break other packages using the cache if that directory is
3347
# removed, or if the path is relative.
3348
INSTALL=$ac_install_sh
3351
echo "$as_me:$LINENO: result: $INSTALL" >&5
3352
echo "${ECHO_T}$INSTALL" >&6
3354
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3355
# It thinks the first close brace ends the variable substitution.
3356
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3358
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3360
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3362
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3363
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3364
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3365
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3366
echo $ECHO_N "(cached) $ECHO_C" >&6
3368
cat >conftest.make <<\_ACEOF
3370
@echo 'ac_maketemp="$(MAKE)"'
3372
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3373
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3374
if test -n "$ac_maketemp"; then
3375
eval ac_cv_prog_make_${ac_make}_set=yes
3377
eval ac_cv_prog_make_${ac_make}_set=no
3381
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3382
echo "$as_me:$LINENO: result: yes" >&5
3383
echo "${ECHO_T}yes" >&6
3386
echo "$as_me:$LINENO: result: no" >&5
3387
echo "${ECHO_T}no" >&6
3388
SET_MAKE="MAKE=${MAKE-make}"
3391
if test -n "$ac_tool_prefix"; then
3392
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3393
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3394
echo "$as_me:$LINENO: checking for $ac_word" >&5
3395
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3396
if test "${ac_cv_prog_RANLIB+set}" = set; then
3397
echo $ECHO_N "(cached) $ECHO_C" >&6
3399
if test -n "$RANLIB"; then
3400
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3402
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406
test -z "$as_dir" && as_dir=.
3407
for ac_exec_ext in '' $ac_executable_extensions; do
3408
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3409
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3410
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3418
RANLIB=$ac_cv_prog_RANLIB
3419
if test -n "$RANLIB"; then
3420
echo "$as_me:$LINENO: result: $RANLIB" >&5
3421
echo "${ECHO_T}$RANLIB" >&6
3423
echo "$as_me:$LINENO: result: no" >&5
3424
echo "${ECHO_T}no" >&6
3428
if test -z "$ac_cv_prog_RANLIB"; then
3429
ac_ct_RANLIB=$RANLIB
3430
# Extract the first word of "ranlib", so it can be a program name with args.
3431
set dummy ranlib; ac_word=$2
3432
echo "$as_me:$LINENO: checking for $ac_word" >&5
3433
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3434
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3435
echo $ECHO_N "(cached) $ECHO_C" >&6
3437
if test -n "$ac_ct_RANLIB"; then
3438
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3440
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444
test -z "$as_dir" && as_dir=.
3445
for ac_exec_ext in '' $ac_executable_extensions; do
3446
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3447
ac_cv_prog_ac_ct_RANLIB="ranlib"
3448
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3454
test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3457
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3458
if test -n "$ac_ct_RANLIB"; then
3459
echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3460
echo "${ECHO_T}$ac_ct_RANLIB" >&6
3462
echo "$as_me:$LINENO: result: no" >&5
3463
echo "${ECHO_T}no" >&6
3466
RANLIB=$ac_ct_RANLIB
3468
RANLIB="$ac_cv_prog_RANLIB"
3472
if eval "test x$GCC = xyes"; then
3477
-Wbad-function-cast \
3480
-Wmissing-declarations \
3481
-Wmissing-prototypes \
3487
"$flag" | "$flag "* | *" $flag" | *" $flag "* )
3491
CFLAGS="$CFLAGS $flag"
3498
echo "$as_me:$LINENO: checking for -fpie" >&5
3499
echo $ECHO_N "checking for -fpie... $ECHO_C" >&6
3500
if test "${libc_cv_fpie+set}" = set; then
3501
echo $ECHO_N "(cached) $ECHO_C" >&6
3503
cat > conftest.c <<EOF
3505
main () { return 0;}
3507
if { ac_try='${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fpie
3508
-o conftest conftest.c 1>&5'
3509
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3512
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513
(exit $ac_status); }; }
3525
echo "$as_me:$LINENO: result: $libc_cv_fpie" >&5
3526
echo "${ECHO_T}$libc_cv_fpie" >&6
3531
echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
3532
echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
3534
# Check whether --with-dmalloc or --without-dmalloc was given.
3535
if test "${with_dmalloc+set}" = set; then
3536
withval="$with_dmalloc"
3537
if test "$withval" = yes; then
3538
echo "$as_me:$LINENO: result: yes" >&5
3539
echo "${ECHO_T}yes" >&6
3541
cat >>confdefs.h <<\_ACEOF
3542
#define WITH_DMALLOC 1
3545
LIBS="$LIBS -ldmalloc"
3546
LDFLAGS="$LDFLAGS -g"
3548
echo "$as_me:$LINENO: result: no" >&5
3549
echo "${ECHO_T}no" >&6
3552
echo "$as_me:$LINENO: result: no" >&5
3553
echo "${ECHO_T}no" >&6
3556
echo "$as_me:$LINENO: checking if malloc debugging with efence is wanted" >&5
3557
echo $ECHO_N "checking if malloc debugging with efence is wanted... $ECHO_C" >&6
3559
# Check whether --with-efence or --without-efence was given.
3560
if test "${with_efence+set}" = set; then
3561
withval="$with_efence"
3562
if test "$withval" = yes; then
3563
echo "$as_me:$LINENO: result: yes" >&5
3564
echo "${ECHO_T}yes" >&6
3566
cat >>confdefs.h <<\_ACEOF
3567
#define WITH_EFENCE 1
3570
LIBS="$LIBS -lefence"
3571
LDFLAGS="$LDFLAGS -g"
3574
echo "$as_me:$LINENO: result: no" >&5
3575
echo "${ECHO_T}no" >&6
3578
echo "$as_me:$LINENO: result: no" >&5
3579
echo "${ECHO_T}no" >&6
3583
echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3584
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
3585
if test "${ac_cv_c_bigendian+set}" = set; then
3586
echo $ECHO_N "(cached) $ECHO_C" >&6
3588
# See if sys/param.h defines the BYTE_ORDER macro.
3589
cat >conftest.$ac_ext <<_ACEOF
3592
cat confdefs.h >>conftest.$ac_ext
3593
cat >>conftest.$ac_ext <<_ACEOF
3594
/* end confdefs.h. */
3595
#include <sys/types.h>
3596
#include <sys/param.h>
3601
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3609
rm -f conftest.$ac_objext
3610
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3611
(eval $ac_compile) 2>conftest.er1
3613
grep -v '^ *+' conftest.er1 >conftest.err
3615
cat conftest.err >&5
3616
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617
(exit $ac_status); } &&
3618
{ ac_try='test -z "$ac_c_werror_flag"
3619
|| test ! -s conftest.err'
3620
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624
(exit $ac_status); }; } &&
3625
{ ac_try='test -s conftest.$ac_objext'
3626
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630
(exit $ac_status); }; }; then
3631
# It does; now see whether it defined to BIG_ENDIAN or not.
3632
cat >conftest.$ac_ext <<_ACEOF
3635
cat confdefs.h >>conftest.$ac_ext
3636
cat >>conftest.$ac_ext <<_ACEOF
3637
/* end confdefs.h. */
3638
#include <sys/types.h>
3639
#include <sys/param.h>
3644
#if BYTE_ORDER != BIG_ENDIAN
3652
rm -f conftest.$ac_objext
3653
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3654
(eval $ac_compile) 2>conftest.er1
3656
grep -v '^ *+' conftest.er1 >conftest.err
3658
cat conftest.err >&5
3659
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660
(exit $ac_status); } &&
3661
{ ac_try='test -z "$ac_c_werror_flag"
3662
|| test ! -s conftest.err'
3663
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3666
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667
(exit $ac_status); }; } &&
3668
{ ac_try='test -s conftest.$ac_objext'
3669
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3672
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3673
(exit $ac_status); }; }; then
3674
ac_cv_c_bigendian=yes
3676
echo "$as_me: failed program was:" >&5
3677
sed 's/^/| /' conftest.$ac_ext >&5
3679
ac_cv_c_bigendian=no
3681
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3683
echo "$as_me: failed program was:" >&5
3684
sed 's/^/| /' conftest.$ac_ext >&5
3686
# It does not; compile a test program.
3687
if test "$cross_compiling" = yes; then
3688
# try to guess the endianness by grepping values into an object file
3689
ac_cv_c_bigendian=unknown
3690
cat >conftest.$ac_ext <<_ACEOF
3693
cat confdefs.h >>conftest.$ac_ext
3694
cat >>conftest.$ac_ext <<_ACEOF
3695
/* end confdefs.h. */
3696
short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3697
short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3698
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
3699
short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3700
short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3701
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
3705
_ascii (); _ebcdic ();
3710
rm -f conftest.$ac_objext
3711
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3712
(eval $ac_compile) 2>conftest.er1
3714
grep -v '^ *+' conftest.er1 >conftest.err
3716
cat conftest.err >&5
3717
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3718
(exit $ac_status); } &&
3719
{ ac_try='test -z "$ac_c_werror_flag"
3720
|| test ! -s conftest.err'
3721
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3724
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725
(exit $ac_status); }; } &&
3726
{ ac_try='test -s conftest.$ac_objext'
3727
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3730
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731
(exit $ac_status); }; }; then
3732
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
3733
ac_cv_c_bigendian=yes
3735
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
3736
if test "$ac_cv_c_bigendian" = unknown; then
3737
ac_cv_c_bigendian=no
3739
# finding both strings is unlikely to happen, but who knows?
3740
ac_cv_c_bigendian=unknown
3744
echo "$as_me: failed program was:" >&5
3745
sed 's/^/| /' conftest.$ac_ext >&5
3748
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3750
cat >conftest.$ac_ext <<_ACEOF
3753
cat confdefs.h >>conftest.$ac_ext
3754
cat >>conftest.$ac_ext <<_ACEOF
3755
/* end confdefs.h. */
3759
/* Are we little or big endian? From Harbison&Steele. */
3763
char c[sizeof (long)];
3766
exit (u.c[sizeof (long) - 1] == 1);
3769
rm -f conftest$ac_exeext
3770
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3771
(eval $ac_link) 2>&5
3773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3775
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3778
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779
(exit $ac_status); }; }; then
3780
ac_cv_c_bigendian=no
3782
echo "$as_me: program exited with status $ac_status" >&5
3783
echo "$as_me: failed program was:" >&5
3784
sed 's/^/| /' conftest.$ac_ext >&5
3787
ac_cv_c_bigendian=yes
3789
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3792
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3794
echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
3795
echo "${ECHO_T}$ac_cv_c_bigendian" >&6
3796
case $ac_cv_c_bigendian in
3799
cat >>confdefs.h <<\_ACEOF
3800
#define WORDS_BIGENDIAN 1
3806
{ { echo "$as_me:$LINENO: error: unknown endianness
3807
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
3808
echo "$as_me: error: unknown endianness
3809
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
3810
{ (exit 1); exit 1; }; } ;;
3814
echo "$as_me:$LINENO: checking for egrep" >&5
3815
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3816
if test "${ac_cv_prog_egrep+set}" = set; then
3817
echo $ECHO_N "(cached) $ECHO_C" >&6
3819
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3820
then ac_cv_prog_egrep='grep -E'
3821
else ac_cv_prog_egrep='egrep'
3824
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3825
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3826
EGREP=$ac_cv_prog_egrep
3829
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3830
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3831
if test "${ac_cv_header_stdc+set}" = set; then
3832
echo $ECHO_N "(cached) $ECHO_C" >&6
3834
cat >conftest.$ac_ext <<_ACEOF
3837
cat confdefs.h >>conftest.$ac_ext
3838
cat >>conftest.$ac_ext <<_ACEOF
3839
/* end confdefs.h. */
3853
rm -f conftest.$ac_objext
3854
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3855
(eval $ac_compile) 2>conftest.er1
3857
grep -v '^ *+' conftest.er1 >conftest.err
3859
cat conftest.err >&5
3860
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861
(exit $ac_status); } &&
3862
{ ac_try='test -z "$ac_c_werror_flag"
3863
|| test ! -s conftest.err'
3864
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3867
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868
(exit $ac_status); }; } &&
3869
{ ac_try='test -s conftest.$ac_objext'
3870
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3873
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3874
(exit $ac_status); }; }; then
3875
ac_cv_header_stdc=yes
3877
echo "$as_me: failed program was:" >&5
3878
sed 's/^/| /' conftest.$ac_ext >&5
3880
ac_cv_header_stdc=no
3882
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3884
if test $ac_cv_header_stdc = yes; then
3885
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3886
cat >conftest.$ac_ext <<_ACEOF
3889
cat confdefs.h >>conftest.$ac_ext
3890
cat >>conftest.$ac_ext <<_ACEOF
3891
/* end confdefs.h. */
3895
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3896
$EGREP "memchr" >/dev/null 2>&1; then
3899
ac_cv_header_stdc=no
3905
if test $ac_cv_header_stdc = yes; then
3906
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3907
cat >conftest.$ac_ext <<_ACEOF
3910
cat confdefs.h >>conftest.$ac_ext
3911
cat >>conftest.$ac_ext <<_ACEOF
3912
/* end confdefs.h. */
3916
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3917
$EGREP "free" >/dev/null 2>&1; then
3920
ac_cv_header_stdc=no
3926
if test $ac_cv_header_stdc = yes; then
3927
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3928
if test "$cross_compiling" = yes; then
3931
cat >conftest.$ac_ext <<_ACEOF
3934
cat confdefs.h >>conftest.$ac_ext
3935
cat >>conftest.$ac_ext <<_ACEOF
3936
/* end confdefs.h. */
3938
#if ((' ' & 0x0FF) == 0x020)
3939
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3940
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3942
# define ISLOWER(c) \
3943
(('a' <= (c) && (c) <= 'i') \
3944
|| ('j' <= (c) && (c) <= 'r') \
3945
|| ('s' <= (c) && (c) <= 'z'))
3946
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3949
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3954
for (i = 0; i < 256; i++)
3955
if (XOR (islower (i), ISLOWER (i))
3956
|| toupper (i) != TOUPPER (i))
3961
rm -f conftest$ac_exeext
3962
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3963
(eval $ac_link) 2>&5
3965
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3967
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3970
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971
(exit $ac_status); }; }; then
3974
echo "$as_me: program exited with status $ac_status" >&5
3975
echo "$as_me: failed program was:" >&5
3976
sed 's/^/| /' conftest.$ac_ext >&5
3979
ac_cv_header_stdc=no
3981
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3985
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3986
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3987
if test $ac_cv_header_stdc = yes; then
3989
cat >>confdefs.h <<\_ACEOF
3990
#define STDC_HEADERS 1
3995
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4005
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4006
inttypes.h stdint.h unistd.h
4008
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4009
echo "$as_me:$LINENO: checking for $ac_header" >&5
4010
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4011
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4012
echo $ECHO_N "(cached) $ECHO_C" >&6
4014
cat >conftest.$ac_ext <<_ACEOF
4017
cat confdefs.h >>conftest.$ac_ext
4018
cat >>conftest.$ac_ext <<_ACEOF
4019
/* end confdefs.h. */
4020
$ac_includes_default
4022
#include <$ac_header>
4024
rm -f conftest.$ac_objext
4025
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4026
(eval $ac_compile) 2>conftest.er1
4028
grep -v '^ *+' conftest.er1 >conftest.err
4030
cat conftest.err >&5
4031
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032
(exit $ac_status); } &&
4033
{ ac_try='test -z "$ac_c_werror_flag"
4034
|| test ! -s conftest.err'
4035
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039
(exit $ac_status); }; } &&
4040
{ ac_try='test -s conftest.$ac_objext'
4041
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4044
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045
(exit $ac_status); }; }; then
4046
eval "$as_ac_Header=yes"
4048
echo "$as_me: failed program was:" >&5
4049
sed 's/^/| /' conftest.$ac_ext >&5
4051
eval "$as_ac_Header=no"
4053
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4055
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4056
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4057
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4058
cat >>confdefs.h <<_ACEOF
4059
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4067
echo "$as_me:$LINENO: checking for long" >&5
4068
echo $ECHO_N "checking for long... $ECHO_C" >&6
4069
if test "${ac_cv_type_long+set}" = set; then
4070
echo $ECHO_N "(cached) $ECHO_C" >&6
4072
cat >conftest.$ac_ext <<_ACEOF
4075
cat confdefs.h >>conftest.$ac_ext
4076
cat >>conftest.$ac_ext <<_ACEOF
4077
/* end confdefs.h. */
4078
$ac_includes_default
4090
rm -f conftest.$ac_objext
4091
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4092
(eval $ac_compile) 2>conftest.er1
4094
grep -v '^ *+' conftest.er1 >conftest.err
4096
cat conftest.err >&5
4097
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098
(exit $ac_status); } &&
4099
{ ac_try='test -z "$ac_c_werror_flag"
4100
|| test ! -s conftest.err'
4101
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4104
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105
(exit $ac_status); }; } &&
4106
{ ac_try='test -s conftest.$ac_objext'
4107
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4110
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111
(exit $ac_status); }; }; then
4114
echo "$as_me: failed program was:" >&5
4115
sed 's/^/| /' conftest.$ac_ext >&5
4119
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4121
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
4122
echo "${ECHO_T}$ac_cv_type_long" >&6
4124
echo "$as_me:$LINENO: checking size of long" >&5
4125
echo $ECHO_N "checking size of long... $ECHO_C" >&6
4126
if test "${ac_cv_sizeof_long+set}" = set; then
4127
echo $ECHO_N "(cached) $ECHO_C" >&6
4129
if test "$ac_cv_type_long" = yes; then
4130
# The cast to unsigned long works around a bug in the HP C Compiler
4131
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4132
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4133
# This bug is HP SR number 8606223364.
4134
if test "$cross_compiling" = yes; then
4135
# Depending upon the size, compute the lo and hi bounds.
4136
cat >conftest.$ac_ext <<_ACEOF
4139
cat confdefs.h >>conftest.$ac_ext
4140
cat >>conftest.$ac_ext <<_ACEOF
4141
/* end confdefs.h. */
4142
$ac_includes_default
4146
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
4153
rm -f conftest.$ac_objext
4154
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4155
(eval $ac_compile) 2>conftest.er1
4157
grep -v '^ *+' conftest.er1 >conftest.err
4159
cat conftest.err >&5
4160
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161
(exit $ac_status); } &&
4162
{ ac_try='test -z "$ac_c_werror_flag"
4163
|| test ! -s conftest.err'
4164
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168
(exit $ac_status); }; } &&
4169
{ ac_try='test -s conftest.$ac_objext'
4170
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4173
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4174
(exit $ac_status); }; }; then
4177
cat >conftest.$ac_ext <<_ACEOF
4180
cat confdefs.h >>conftest.$ac_ext
4181
cat >>conftest.$ac_ext <<_ACEOF
4182
/* end confdefs.h. */
4183
$ac_includes_default
4187
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4194
rm -f conftest.$ac_objext
4195
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4196
(eval $ac_compile) 2>conftest.er1
4198
grep -v '^ *+' conftest.er1 >conftest.err
4200
cat conftest.err >&5
4201
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202
(exit $ac_status); } &&
4203
{ ac_try='test -z "$ac_c_werror_flag"
4204
|| test ! -s conftest.err'
4205
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4208
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4209
(exit $ac_status); }; } &&
4210
{ ac_try='test -s conftest.$ac_objext'
4211
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4214
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215
(exit $ac_status); }; }; then
4216
ac_hi=$ac_mid; break
4218
echo "$as_me: failed program was:" >&5
4219
sed 's/^/| /' conftest.$ac_ext >&5
4221
ac_lo=`expr $ac_mid + 1`
4222
if test $ac_lo -le $ac_mid; then
4226
ac_mid=`expr 2 '*' $ac_mid + 1`
4228
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4231
echo "$as_me: failed program was:" >&5
4232
sed 's/^/| /' conftest.$ac_ext >&5
4234
cat >conftest.$ac_ext <<_ACEOF
4237
cat confdefs.h >>conftest.$ac_ext
4238
cat >>conftest.$ac_ext <<_ACEOF
4239
/* end confdefs.h. */
4240
$ac_includes_default
4244
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
4251
rm -f conftest.$ac_objext
4252
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4253
(eval $ac_compile) 2>conftest.er1
4255
grep -v '^ *+' conftest.er1 >conftest.err
4257
cat conftest.err >&5
4258
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259
(exit $ac_status); } &&
4260
{ ac_try='test -z "$ac_c_werror_flag"
4261
|| test ! -s conftest.err'
4262
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266
(exit $ac_status); }; } &&
4267
{ ac_try='test -s conftest.$ac_objext'
4268
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4271
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272
(exit $ac_status); }; }; then
4275
cat >conftest.$ac_ext <<_ACEOF
4278
cat confdefs.h >>conftest.$ac_ext
4279
cat >>conftest.$ac_ext <<_ACEOF
4280
/* end confdefs.h. */
4281
$ac_includes_default
4285
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
4292
rm -f conftest.$ac_objext
4293
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4294
(eval $ac_compile) 2>conftest.er1
4296
grep -v '^ *+' conftest.er1 >conftest.err
4298
cat conftest.err >&5
4299
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4300
(exit $ac_status); } &&
4301
{ ac_try='test -z "$ac_c_werror_flag"
4302
|| test ! -s conftest.err'
4303
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4306
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4307
(exit $ac_status); }; } &&
4308
{ ac_try='test -s conftest.$ac_objext'
4309
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4312
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313
(exit $ac_status); }; }; then
4314
ac_lo=$ac_mid; break
4316
echo "$as_me: failed program was:" >&5
4317
sed 's/^/| /' conftest.$ac_ext >&5
4319
ac_hi=`expr '(' $ac_mid ')' - 1`
4320
if test $ac_mid -le $ac_hi; then
4324
ac_mid=`expr 2 '*' $ac_mid`
4326
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4329
echo "$as_me: failed program was:" >&5
4330
sed 's/^/| /' conftest.$ac_ext >&5
4334
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4336
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4337
# Binary search between lo and hi bounds.
4338
while test "x$ac_lo" != "x$ac_hi"; do
4339
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
4340
cat >conftest.$ac_ext <<_ACEOF
4343
cat confdefs.h >>conftest.$ac_ext
4344
cat >>conftest.$ac_ext <<_ACEOF
4345
/* end confdefs.h. */
4346
$ac_includes_default
4350
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
4357
rm -f conftest.$ac_objext
4358
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4359
(eval $ac_compile) 2>conftest.er1
4361
grep -v '^ *+' conftest.er1 >conftest.err
4363
cat conftest.err >&5
4364
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365
(exit $ac_status); } &&
4366
{ ac_try='test -z "$ac_c_werror_flag"
4367
|| test ! -s conftest.err'
4368
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4371
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372
(exit $ac_status); }; } &&
4373
{ ac_try='test -s conftest.$ac_objext'
4374
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4377
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378
(exit $ac_status); }; }; then
4381
echo "$as_me: failed program was:" >&5
4382
sed 's/^/| /' conftest.$ac_ext >&5
4384
ac_lo=`expr '(' $ac_mid ')' + 1`
4386
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4389
?*) ac_cv_sizeof_long=$ac_lo;;
4390
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4391
See \`config.log' for more details." >&5
4392
echo "$as_me: error: cannot compute sizeof (long), 77
4393
See \`config.log' for more details." >&2;}
4394
{ (exit 1); exit 1; }; } ;;
4397
if test "$cross_compiling" = yes; then
4398
{ { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
4399
See \`config.log' for more details." >&5
4400
echo "$as_me: error: cannot run test program while cross compiling
4401
See \`config.log' for more details." >&2;}
4402
{ (exit 1); exit 1; }; }
4404
cat >conftest.$ac_ext <<_ACEOF
4407
cat confdefs.h >>conftest.$ac_ext
4408
cat >>conftest.$ac_ext <<_ACEOF
4409
/* end confdefs.h. */
4410
$ac_includes_default
4411
long longval () { return (long) (sizeof (long)); }
4412
unsigned long ulongval () { return (long) (sizeof (long)); }
4419
FILE *f = fopen ("conftest.val", "w");
4422
if (((long) (sizeof (long))) < 0)
4424
long i = longval ();
4425
if (i != ((long) (sizeof (long))))
4427
fprintf (f, "%ld\n", i);
4431
unsigned long i = ulongval ();
4432
if (i != ((long) (sizeof (long))))
4434
fprintf (f, "%lu\n", i);
4436
exit (ferror (f) || fclose (f) != 0);
4442
rm -f conftest$ac_exeext
4443
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4444
(eval $ac_link) 2>&5
4446
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4448
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4451
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452
(exit $ac_status); }; }; then
4453
ac_cv_sizeof_long=`cat conftest.val`
4455
echo "$as_me: program exited with status $ac_status" >&5
4456
echo "$as_me: failed program was:" >&5
4457
sed 's/^/| /' conftest.$ac_ext >&5
4460
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
4461
See \`config.log' for more details." >&5
4462
echo "$as_me: error: cannot compute sizeof (long), 77
4463
See \`config.log' for more details." >&2;}
4464
{ (exit 1); exit 1; }; }
4466
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4474
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
4475
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
4476
cat >>confdefs.h <<_ACEOF
4477
#define SIZEOF_LONG $ac_cv_sizeof_long
4482
for ac_prog in mawk gawk nawk awk
4484
# Extract the first word of "$ac_prog", so it can be a program name with args.
4485
set dummy $ac_prog; ac_word=$2
4486
echo "$as_me:$LINENO: checking for $ac_word" >&5
4487
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4488
if test "${ac_cv_path_AWK+set}" = set; then
4489
echo $ECHO_N "(cached) $ECHO_C" >&6
4493
ac_cv_path_AWK="$AWK" # Let the user override the test with a path.
4496
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4500
test -z "$as_dir" && as_dir=.
4501
for ac_exec_ext in '' $ac_executable_extensions; do
4502
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4503
ac_cv_path_AWK="$as_dir/$ac_word$ac_exec_ext"
4504
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4515
if test -n "$AWK"; then
4516
echo "$as_me:$LINENO: result: $AWK" >&5
4517
echo "${ECHO_T}$AWK" >&6
4519
echo "$as_me:$LINENO: result: no" >&5
4520
echo "${ECHO_T}no" >&6
4523
test -n "$AWK" && break
4525
test -n "$AWK" || AWK="ERROR"
4527
if test $AWK = ERROR
4530
echo "ERROR: You must have at last one of the following programs:"
4531
echo " mawk, gawk, nawk or awk !"
4536
for ac_prog in bash /sbin/sh
4538
# Extract the first word of "$ac_prog", so it can be a program name with args.
4539
set dummy $ac_prog; ac_word=$2
4540
echo "$as_me:$LINENO: checking for $ac_word" >&5
4541
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4542
if test "${ac_cv_path_BASH+set}" = set; then
4543
echo $ECHO_N "(cached) $ECHO_C" >&6
4547
ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
4550
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4554
test -z "$as_dir" && as_dir=.
4555
for ac_exec_ext in '' $ac_executable_extensions; do
4556
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4557
ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
4558
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4567
BASH=$ac_cv_path_BASH
4569
if test -n "$BASH"; then
4570
echo "$as_me:$LINENO: result: $BASH" >&5
4571
echo "${ECHO_T}$BASH" >&6
4573
echo "$as_me:$LINENO: result: no" >&5
4574
echo "${ECHO_T}no" >&6
4577
test -n "$BASH" && break
4579
test -n "$BASH" || BASH="/bin/sh"
4582
for ac_prog in gmake make
4584
# Extract the first word of "$ac_prog", so it can be a program name with args.
4585
set dummy $ac_prog; ac_word=$2
4586
echo "$as_me:$LINENO: checking for $ac_word" >&5
4587
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4588
if test "${ac_cv_path_MAKE+set}" = set; then
4589
echo $ECHO_N "(cached) $ECHO_C" >&6
4593
ac_cv_path_MAKE="$MAKE" # Let the user override the test with a path.
4596
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597
as_dummy="$PATH:/usr/ccs/bin:/usr/local/bin"
4598
for as_dir in $as_dummy
4601
test -z "$as_dir" && as_dir=.
4602
for ac_exec_ext in '' $ac_executable_extensions; do
4603
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4604
ac_cv_path_MAKE="$as_dir/$ac_word$ac_exec_ext"
4605
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4614
MAKE=$ac_cv_path_MAKE
4616
if test -n "$MAKE"; then
4617
echo "$as_me:$LINENO: result: $MAKE" >&5
4618
echo "${ECHO_T}$MAKE" >&6
4620
echo "$as_me:$LINENO: result: no" >&5
4621
echo "${ECHO_T}no" >&6
4624
test -n "$MAKE" && break
4626
test -n "$MAKE" || MAKE=""""
4631
echo "Warning: No make on this system?"
4637
# Extract the first word of "aliases", so it can be a program name with args.
4638
set dummy aliases; ac_word=$2
4639
echo "$as_me:$LINENO: checking for $ac_word" >&5
4640
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4641
if test "${ac_cv_path_ALIASES+set}" = set; then
4642
echo $ECHO_N "(cached) $ECHO_C" >&6
4646
ac_cv_path_ALIASES="$ALIASES" # Let the user override the test with a path.
4649
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4650
as_dummy="/etc/mail:/etc"
4651
for as_dir in $as_dummy
4654
test -z "$as_dir" && as_dir=.
4655
for ac_exec_ext in '' $ac_executable_extensions; do
4656
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4657
ac_cv_path_ALIASES="$as_dir/$ac_word$ac_exec_ext"
4658
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4664
test -z "$ac_cv_path_ALIASES" && ac_cv_path_ALIASES="/etc/mail/aliases"
4668
ALIASES=$ac_cv_path_ALIASES
4670
if test -n "$ALIASES"; then
4671
echo "$as_me:$LINENO: result: $ALIASES" >&5
4672
echo "${ECHO_T}$ALIASES" >&6
4674
echo "$as_me:$LINENO: result: no" >&5
4675
echo "${ECHO_T}no" >&6
4681
# Check whether --enable-fqdn or --disable-fqdn was given.
4682
if test "${enable_fqdn+set}" = set; then
4683
enableval="$enable_fqdn"
4684
USE_PARAM_FQDN=$enableval
4688
if test "$USE_PARAM_FQDN" = "no"; then
4695
# Check whether --enable-checkroot or --disable-checkroot was given.
4696
if test "${enable_checkroot+set}" = set; then
4697
enableval="$enable_checkroot"
4698
CHECKROOT=$enableval
4704
echo "$as_me:$LINENO: checking for gdbm_open in -lgdbm" >&5
4705
echo $ECHO_N "checking for gdbm_open in -lgdbm... $ECHO_C" >&6
4706
if test "${ac_cv_lib_gdbm_gdbm_open+set}" = set; then
4707
echo $ECHO_N "(cached) $ECHO_C" >&6
4709
ac_check_lib_save_LIBS=$LIBS
4711
cat >conftest.$ac_ext <<_ACEOF
4714
cat confdefs.h >>conftest.$ac_ext
4715
cat >>conftest.$ac_ext <<_ACEOF
4716
/* end confdefs.h. */
4718
/* Override any gcc2 internal prototype to avoid an error. */
4722
/* We use char because int might match the return type of a gcc2
4723
builtin and then its argument prototype would still apply. */
4733
rm -f conftest.$ac_objext conftest$ac_exeext
4734
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4735
(eval $ac_link) 2>conftest.er1
4737
grep -v '^ *+' conftest.er1 >conftest.err
4739
cat conftest.err >&5
4740
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741
(exit $ac_status); } &&
4742
{ ac_try='test -z "$ac_c_werror_flag"
4743
|| test ! -s conftest.err'
4744
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748
(exit $ac_status); }; } &&
4749
{ ac_try='test -s conftest$ac_exeext'
4750
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4753
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4754
(exit $ac_status); }; }; then
4755
ac_cv_lib_gdbm_gdbm_open=yes
4757
echo "$as_me: failed program was:" >&5
4758
sed 's/^/| /' conftest.$ac_ext >&5
4760
ac_cv_lib_gdbm_gdbm_open=no
4762
rm -f conftest.err conftest.$ac_objext \
4763
conftest$ac_exeext conftest.$ac_ext
4764
LIBS=$ac_check_lib_save_LIBS
4766
echo "$as_me:$LINENO: result: $ac_cv_lib_gdbm_gdbm_open" >&5
4767
echo "${ECHO_T}$ac_cv_lib_gdbm_gdbm_open" >&6
4768
if test $ac_cv_lib_gdbm_gdbm_open = yes; then
4774
if test x"" != x"${LIBDBM}"
4777
cat >>confdefs.h <<\_ACEOF
4778
#define HAVE_LIBGDBM 1
4784
for ac_func in dbm_open
4786
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4787
echo "$as_me:$LINENO: checking for $ac_func" >&5
4788
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4789
if eval "test \"\${$as_ac_var+set}\" = set"; then
4790
echo $ECHO_N "(cached) $ECHO_C" >&6
4792
cat >conftest.$ac_ext <<_ACEOF
4795
cat confdefs.h >>conftest.$ac_ext
4796
cat >>conftest.$ac_ext <<_ACEOF
4797
/* end confdefs.h. */
4798
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
4799
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4800
#define $ac_func innocuous_$ac_func
4802
/* System header to define __stub macros and hopefully few prototypes,
4803
which can conflict with char $ac_func (); below.
4804
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4805
<limits.h> exists even on freestanding compilers. */
4808
# include <limits.h>
4810
# include <assert.h>
4815
/* Override any gcc2 internal prototype to avoid an error. */
4820
/* We use char because int might match the return type of a gcc2
4821
builtin and then its argument prototype would still apply. */
4823
/* The GNU C library defines this for functions which it implements
4824
to always fail with ENOSYS. Some functions are actually named
4825
something starting with __ and the normal name is an alias. */
4826
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4829
char (*f) () = $ac_func;
4838
return f != $ac_func;
4843
rm -f conftest.$ac_objext conftest$ac_exeext
4844
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4845
(eval $ac_link) 2>conftest.er1
4847
grep -v '^ *+' conftest.er1 >conftest.err
4849
cat conftest.err >&5
4850
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4851
(exit $ac_status); } &&
4852
{ ac_try='test -z "$ac_c_werror_flag"
4853
|| test ! -s conftest.err'
4854
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4857
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858
(exit $ac_status); }; } &&
4859
{ ac_try='test -s conftest$ac_exeext'
4860
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4863
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864
(exit $ac_status); }; }; then
4865
eval "$as_ac_var=yes"
4867
echo "$as_me: failed program was:" >&5
4868
sed 's/^/| /' conftest.$ac_ext >&5
4870
eval "$as_ac_var=no"
4872
rm -f conftest.err conftest.$ac_objext \
4873
conftest$ac_exeext conftest.$ac_ext
4875
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4876
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4877
if test `eval echo '${'$as_ac_var'}'` = yes; then
4878
cat >>confdefs.h <<_ACEOF
4879
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4885
if test x$ac_cv_func_dbm_open = xyes
4888
cat >>confdefs.h <<\_ACEOF
4897
if test x$libdb_parameter != xyes
4901
You need the GNU GDBM or the Solaris NDBM functions for this package !"
4907
echo "$as_me:$LINENO: checking for crypt in -lxcrypt" >&5
4908
echo $ECHO_N "checking for crypt in -lxcrypt... $ECHO_C" >&6
4909
if test "${ac_cv_lib_xcrypt_crypt+set}" = set; then
4910
echo $ECHO_N "(cached) $ECHO_C" >&6
4912
ac_check_lib_save_LIBS=$LIBS
4913
LIBS="-lxcrypt $LIBS"
4914
cat >conftest.$ac_ext <<_ACEOF
4917
cat confdefs.h >>conftest.$ac_ext
4918
cat >>conftest.$ac_ext <<_ACEOF
4919
/* end confdefs.h. */
4921
/* Override any gcc2 internal prototype to avoid an error. */
4925
/* We use char because int might match the return type of a gcc2
4926
builtin and then its argument prototype would still apply. */
4936
rm -f conftest.$ac_objext conftest$ac_exeext
4937
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4938
(eval $ac_link) 2>conftest.er1
4940
grep -v '^ *+' conftest.er1 >conftest.err
4942
cat conftest.err >&5
4943
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4944
(exit $ac_status); } &&
4945
{ ac_try='test -z "$ac_c_werror_flag"
4946
|| test ! -s conftest.err'
4947
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4950
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951
(exit $ac_status); }; } &&
4952
{ ac_try='test -s conftest$ac_exeext'
4953
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4956
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957
(exit $ac_status); }; }; then
4958
ac_cv_lib_xcrypt_crypt=yes
4960
echo "$as_me: failed program was:" >&5
4961
sed 's/^/| /' conftest.$ac_ext >&5
4963
ac_cv_lib_xcrypt_crypt=no
4965
rm -f conftest.err conftest.$ac_objext \
4966
conftest$ac_exeext conftest.$ac_ext
4967
LIBS=$ac_check_lib_save_LIBS
4969
echo "$as_me:$LINENO: result: $ac_cv_lib_xcrypt_crypt" >&5
4970
echo "${ECHO_T}$ac_cv_lib_xcrypt_crypt" >&6
4971
if test $ac_cv_lib_xcrypt_crypt = yes; then
4977
if test -z "$LIBCRYPT" ; then
4978
echo "$as_me:$LINENO: checking for crypt in -lcrypt" >&5
4979
echo $ECHO_N "checking for crypt in -lcrypt... $ECHO_C" >&6
4980
if test "${ac_cv_lib_crypt_crypt+set}" = set; then
4981
echo $ECHO_N "(cached) $ECHO_C" >&6
4983
ac_check_lib_save_LIBS=$LIBS
4984
LIBS="-lcrypt $LIBS"
4985
cat >conftest.$ac_ext <<_ACEOF
4988
cat confdefs.h >>conftest.$ac_ext
4989
cat >>conftest.$ac_ext <<_ACEOF
4990
/* end confdefs.h. */
4992
/* Override any gcc2 internal prototype to avoid an error. */
4996
/* We use char because int might match the return type of a gcc2
4997
builtin and then its argument prototype would still apply. */
5007
rm -f conftest.$ac_objext conftest$ac_exeext
5008
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5009
(eval $ac_link) 2>conftest.er1
5011
grep -v '^ *+' conftest.er1 >conftest.err
5013
cat conftest.err >&5
5014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015
(exit $ac_status); } &&
5016
{ ac_try='test -z "$ac_c_werror_flag"
5017
|| test ! -s conftest.err'
5018
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5021
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022
(exit $ac_status); }; } &&
5023
{ ac_try='test -s conftest$ac_exeext'
5024
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5027
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028
(exit $ac_status); }; }; then
5029
ac_cv_lib_crypt_crypt=yes
5031
echo "$as_me: failed program was:" >&5
5032
sed 's/^/| /' conftest.$ac_ext >&5
5034
ac_cv_lib_crypt_crypt=no
5036
rm -f conftest.err conftest.$ac_objext \
5037
conftest$ac_exeext conftest.$ac_ext
5038
LIBS=$ac_check_lib_save_LIBS
5040
echo "$as_me:$LINENO: result: $ac_cv_lib_crypt_crypt" >&5
5041
echo "${ECHO_T}$ac_cv_lib_crypt_crypt" >&6
5042
if test $ac_cv_lib_crypt_crypt = yes; then
5049
for ac_header in crypt.h
5051
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5052
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5053
echo "$as_me:$LINENO: checking for $ac_header" >&5
5054
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5055
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5056
echo $ECHO_N "(cached) $ECHO_C" >&6
5058
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5059
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5061
# Is the header compilable?
5062
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5063
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5064
cat >conftest.$ac_ext <<_ACEOF
5067
cat confdefs.h >>conftest.$ac_ext
5068
cat >>conftest.$ac_ext <<_ACEOF
5069
/* end confdefs.h. */
5070
$ac_includes_default
5071
#include <$ac_header>
5073
rm -f conftest.$ac_objext
5074
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5075
(eval $ac_compile) 2>conftest.er1
5077
grep -v '^ *+' conftest.er1 >conftest.err
5079
cat conftest.err >&5
5080
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081
(exit $ac_status); } &&
5082
{ ac_try='test -z "$ac_c_werror_flag"
5083
|| test ! -s conftest.err'
5084
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5087
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088
(exit $ac_status); }; } &&
5089
{ ac_try='test -s conftest.$ac_objext'
5090
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5093
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094
(exit $ac_status); }; }; then
5095
ac_header_compiler=yes
5097
echo "$as_me: failed program was:" >&5
5098
sed 's/^/| /' conftest.$ac_ext >&5
5100
ac_header_compiler=no
5102
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5103
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5104
echo "${ECHO_T}$ac_header_compiler" >&6
5106
# Is the header present?
5107
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5108
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5109
cat >conftest.$ac_ext <<_ACEOF
5112
cat confdefs.h >>conftest.$ac_ext
5113
cat >>conftest.$ac_ext <<_ACEOF
5114
/* end confdefs.h. */
5115
#include <$ac_header>
5117
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5118
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5120
grep -v '^ *+' conftest.er1 >conftest.err
5122
cat conftest.err >&5
5123
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124
(exit $ac_status); } >/dev/null; then
5125
if test -s conftest.err; then
5126
ac_cpp_err=$ac_c_preproc_warn_flag
5127
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5134
if test -z "$ac_cpp_err"; then
5135
ac_header_preproc=yes
5137
echo "$as_me: failed program was:" >&5
5138
sed 's/^/| /' conftest.$ac_ext >&5
5140
ac_header_preproc=no
5142
rm -f conftest.err conftest.$ac_ext
5143
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5144
echo "${ECHO_T}$ac_header_preproc" >&6
5146
# So? What about this header?
5147
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5149
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5150
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5151
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5152
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5153
ac_header_preproc=yes
5156
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5157
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5158
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5159
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5160
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5161
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5162
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5163
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5164
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5165
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5166
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5167
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5170
## ---------------------------------- ##
5171
## Report this to kukuk@linux-nis.org ##
5172
## ---------------------------------- ##
5175
sed "s/^/$as_me: WARNING: /" >&2
5178
echo "$as_me:$LINENO: checking for $ac_header" >&5
5179
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5180
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5181
echo $ECHO_N "(cached) $ECHO_C" >&6
5183
eval "$as_ac_Header=\$ac_header_preproc"
5185
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5186
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5189
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5190
cat >>confdefs.h <<_ACEOF
5191
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5201
for ac_header in xcrypt.h crypt.h
5203
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5204
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5205
echo "$as_me:$LINENO: checking for $ac_header" >&5
5206
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5207
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5208
echo $ECHO_N "(cached) $ECHO_C" >&6
5210
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5211
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5213
# Is the header compilable?
5214
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5215
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5216
cat >conftest.$ac_ext <<_ACEOF
5219
cat confdefs.h >>conftest.$ac_ext
5220
cat >>conftest.$ac_ext <<_ACEOF
5221
/* end confdefs.h. */
5222
$ac_includes_default
5223
#include <$ac_header>
5225
rm -f conftest.$ac_objext
5226
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5227
(eval $ac_compile) 2>conftest.er1
5229
grep -v '^ *+' conftest.er1 >conftest.err
5231
cat conftest.err >&5
5232
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233
(exit $ac_status); } &&
5234
{ ac_try='test -z "$ac_c_werror_flag"
5235
|| test ! -s conftest.err'
5236
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5239
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240
(exit $ac_status); }; } &&
5241
{ ac_try='test -s conftest.$ac_objext'
5242
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5245
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246
(exit $ac_status); }; }; then
5247
ac_header_compiler=yes
5249
echo "$as_me: failed program was:" >&5
5250
sed 's/^/| /' conftest.$ac_ext >&5
5252
ac_header_compiler=no
5254
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5255
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5256
echo "${ECHO_T}$ac_header_compiler" >&6
5258
# Is the header present?
5259
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5260
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5261
cat >conftest.$ac_ext <<_ACEOF
5264
cat confdefs.h >>conftest.$ac_ext
5265
cat >>conftest.$ac_ext <<_ACEOF
5266
/* end confdefs.h. */
5267
#include <$ac_header>
5269
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5270
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5272
grep -v '^ *+' conftest.er1 >conftest.err
5274
cat conftest.err >&5
5275
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276
(exit $ac_status); } >/dev/null; then
5277
if test -s conftest.err; then
5278
ac_cpp_err=$ac_c_preproc_warn_flag
5279
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5286
if test -z "$ac_cpp_err"; then
5287
ac_header_preproc=yes
5289
echo "$as_me: failed program was:" >&5
5290
sed 's/^/| /' conftest.$ac_ext >&5
5292
ac_header_preproc=no
5294
rm -f conftest.err conftest.$ac_ext
5295
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5296
echo "${ECHO_T}$ac_header_preproc" >&6
5298
# So? What about this header?
5299
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5301
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5302
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5303
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5304
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5305
ac_header_preproc=yes
5308
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5309
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5310
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5311
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5312
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5313
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5314
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5315
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5316
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5317
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5318
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5319
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5322
## ---------------------------------- ##
5323
## Report this to kukuk@linux-nis.org ##
5324
## ---------------------------------- ##
5327
sed "s/^/$as_me: WARNING: /" >&2
5330
echo "$as_me:$LINENO: checking for $ac_header" >&5
5331
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5332
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5333
echo $ECHO_N "(cached) $ECHO_C" >&6
5335
eval "$as_ac_Header=\$ac_header_preproc"
5337
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5338
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5341
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5342
cat >>confdefs.h <<_ACEOF
5343
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5354
echo "$as_me:$LINENO: checking for SLPReg in -lslp" >&5
5355
echo $ECHO_N "checking for SLPReg in -lslp... $ECHO_C" >&6
5356
if test "${ac_cv_lib_slp_SLPReg+set}" = set; then
5357
echo $ECHO_N "(cached) $ECHO_C" >&6
5359
ac_check_lib_save_LIBS=$LIBS
5361
cat >conftest.$ac_ext <<_ACEOF
5364
cat confdefs.h >>conftest.$ac_ext
5365
cat >>conftest.$ac_ext <<_ACEOF
5366
/* end confdefs.h. */
5368
/* Override any gcc2 internal prototype to avoid an error. */
5372
/* We use char because int might match the return type of a gcc2
5373
builtin and then its argument prototype would still apply. */
5383
rm -f conftest.$ac_objext conftest$ac_exeext
5384
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5385
(eval $ac_link) 2>conftest.er1
5387
grep -v '^ *+' conftest.er1 >conftest.err
5389
cat conftest.err >&5
5390
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391
(exit $ac_status); } &&
5392
{ ac_try='test -z "$ac_c_werror_flag"
5393
|| test ! -s conftest.err'
5394
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5398
(exit $ac_status); }; } &&
5399
{ ac_try='test -s conftest$ac_exeext'
5400
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5403
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404
(exit $ac_status); }; }; then
5405
ac_cv_lib_slp_SLPReg=yes
5407
echo "$as_me: failed program was:" >&5
5408
sed 's/^/| /' conftest.$ac_ext >&5
5410
ac_cv_lib_slp_SLPReg=no
5412
rm -f conftest.err conftest.$ac_objext \
5413
conftest$ac_exeext conftest.$ac_ext
5414
LIBS=$ac_check_lib_save_LIBS
5416
echo "$as_me:$LINENO: result: $ac_cv_lib_slp_SLPReg" >&5
5417
echo "${ECHO_T}$ac_cv_lib_slp_SLPReg" >&6
5418
if test $ac_cv_lib_slp_SLPReg = yes; then
5425
if test -n "$LIBSLP" ; then
5427
for ac_header in slp.h
5429
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5430
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5431
echo "$as_me:$LINENO: checking for $ac_header" >&5
5432
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5433
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5434
echo $ECHO_N "(cached) $ECHO_C" >&6
5436
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5437
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5439
# Is the header compilable?
5440
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5441
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5442
cat >conftest.$ac_ext <<_ACEOF
5445
cat confdefs.h >>conftest.$ac_ext
5446
cat >>conftest.$ac_ext <<_ACEOF
5447
/* end confdefs.h. */
5448
$ac_includes_default
5449
#include <$ac_header>
5451
rm -f conftest.$ac_objext
5452
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5453
(eval $ac_compile) 2>conftest.er1
5455
grep -v '^ *+' conftest.er1 >conftest.err
5457
cat conftest.err >&5
5458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459
(exit $ac_status); } &&
5460
{ ac_try='test -z "$ac_c_werror_flag"
5461
|| test ! -s conftest.err'
5462
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5465
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466
(exit $ac_status); }; } &&
5467
{ ac_try='test -s conftest.$ac_objext'
5468
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5471
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5472
(exit $ac_status); }; }; then
5473
ac_header_compiler=yes
5475
echo "$as_me: failed program was:" >&5
5476
sed 's/^/| /' conftest.$ac_ext >&5
5478
ac_header_compiler=no
5480
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5481
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5482
echo "${ECHO_T}$ac_header_compiler" >&6
5484
# Is the header present?
5485
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5486
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5487
cat >conftest.$ac_ext <<_ACEOF
5490
cat confdefs.h >>conftest.$ac_ext
5491
cat >>conftest.$ac_ext <<_ACEOF
5492
/* end confdefs.h. */
5493
#include <$ac_header>
5495
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5496
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5498
grep -v '^ *+' conftest.er1 >conftest.err
5500
cat conftest.err >&5
5501
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502
(exit $ac_status); } >/dev/null; then
5503
if test -s conftest.err; then
5504
ac_cpp_err=$ac_c_preproc_warn_flag
5505
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5512
if test -z "$ac_cpp_err"; then
5513
ac_header_preproc=yes
5515
echo "$as_me: failed program was:" >&5
5516
sed 's/^/| /' conftest.$ac_ext >&5
5518
ac_header_preproc=no
5520
rm -f conftest.err conftest.$ac_ext
5521
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5522
echo "${ECHO_T}$ac_header_preproc" >&6
5524
# So? What about this header?
5525
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5527
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5528
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5529
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5530
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5531
ac_header_preproc=yes
5534
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5535
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5536
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5537
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5538
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5539
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5540
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5541
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5542
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5543
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5544
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5545
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5548
## ---------------------------------- ##
5549
## Report this to kukuk@linux-nis.org ##
5550
## ---------------------------------- ##
5553
sed "s/^/$as_me: WARNING: /" >&2
5556
echo "$as_me:$LINENO: checking for $ac_header" >&5
5557
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5558
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5559
echo $ECHO_N "(cached) $ECHO_C" >&6
5561
eval "$as_ac_Header=\$ac_header_preproc"
5563
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5564
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5567
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5568
cat >>confdefs.h <<_ACEOF
5569
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5576
if test "$ac_cv_header_slp_h" = yes; then
5583
for ac_func in getrpcport
5585
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5586
echo "$as_me:$LINENO: checking for $ac_func" >&5
5587
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5588
if eval "test \"\${$as_ac_var+set}\" = set"; then
5589
echo $ECHO_N "(cached) $ECHO_C" >&6
5591
cat >conftest.$ac_ext <<_ACEOF
5594
cat confdefs.h >>conftest.$ac_ext
5595
cat >>conftest.$ac_ext <<_ACEOF
5596
/* end confdefs.h. */
5597
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5598
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5599
#define $ac_func innocuous_$ac_func
5601
/* System header to define __stub macros and hopefully few prototypes,
5602
which can conflict with char $ac_func (); below.
5603
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5604
<limits.h> exists even on freestanding compilers. */
5607
# include <limits.h>
5609
# include <assert.h>
5614
/* Override any gcc2 internal prototype to avoid an error. */
5619
/* We use char because int might match the return type of a gcc2
5620
builtin and then its argument prototype would still apply. */
5622
/* The GNU C library defines this for functions which it implements
5623
to always fail with ENOSYS. Some functions are actually named
5624
something starting with __ and the normal name is an alias. */
5625
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5628
char (*f) () = $ac_func;
5637
return f != $ac_func;
5642
rm -f conftest.$ac_objext conftest$ac_exeext
5643
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5644
(eval $ac_link) 2>conftest.er1
5646
grep -v '^ *+' conftest.er1 >conftest.err
5648
cat conftest.err >&5
5649
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650
(exit $ac_status); } &&
5651
{ ac_try='test -z "$ac_c_werror_flag"
5652
|| test ! -s conftest.err'
5653
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5656
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5657
(exit $ac_status); }; } &&
5658
{ ac_try='test -s conftest$ac_exeext'
5659
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5662
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663
(exit $ac_status); }; }; then
5664
eval "$as_ac_var=yes"
5666
echo "$as_me: failed program was:" >&5
5667
sed 's/^/| /' conftest.$ac_ext >&5
5669
eval "$as_ac_var=no"
5671
rm -f conftest.err conftest.$ac_objext \
5672
conftest$ac_exeext conftest.$ac_ext
5674
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5675
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5676
if test `eval echo '${'$as_ac_var'}'` = yes; then
5677
cat >>confdefs.h <<_ACEOF
5678
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5684
if test "$ac_cv_func_getrpcport" = no; then
5685
echo "$as_me:$LINENO: checking for getrpcport in -lrpcsvc" >&5
5686
echo $ECHO_N "checking for getrpcport in -lrpcsvc... $ECHO_C" >&6
5687
if test "${ac_cv_lib_rpcsvc_getrpcport+set}" = set; then
5688
echo $ECHO_N "(cached) $ECHO_C" >&6
5690
ac_check_lib_save_LIBS=$LIBS
5691
LIBS="-lrpcsvc $LIBS"
5692
cat >conftest.$ac_ext <<_ACEOF
5695
cat confdefs.h >>conftest.$ac_ext
5696
cat >>conftest.$ac_ext <<_ACEOF
5697
/* end confdefs.h. */
5699
/* Override any gcc2 internal prototype to avoid an error. */
5703
/* We use char because int might match the return type of a gcc2
5704
builtin and then its argument prototype would still apply. */
5714
rm -f conftest.$ac_objext conftest$ac_exeext
5715
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5716
(eval $ac_link) 2>conftest.er1
5718
grep -v '^ *+' conftest.er1 >conftest.err
5720
cat conftest.err >&5
5721
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722
(exit $ac_status); } &&
5723
{ ac_try='test -z "$ac_c_werror_flag"
5724
|| test ! -s conftest.err'
5725
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5728
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5729
(exit $ac_status); }; } &&
5730
{ ac_try='test -s conftest$ac_exeext'
5731
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5734
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735
(exit $ac_status); }; }; then
5736
ac_cv_lib_rpcsvc_getrpcport=yes
5738
echo "$as_me: failed program was:" >&5
5739
sed 's/^/| /' conftest.$ac_ext >&5
5741
ac_cv_lib_rpcsvc_getrpcport=no
5743
rm -f conftest.err conftest.$ac_objext \
5744
conftest$ac_exeext conftest.$ac_ext
5745
LIBS=$ac_check_lib_save_LIBS
5747
echo "$as_me:$LINENO: result: $ac_cv_lib_rpcsvc_getrpcport" >&5
5748
echo "${ECHO_T}$ac_cv_lib_rpcsvc_getrpcport" >&6
5749
if test $ac_cv_lib_rpcsvc_getrpcport = yes; then
5750
ac_cv_func_getrpcport=yes; LIBS="-lrpcsvc $LIBS"
5756
echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5757
echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5758
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5759
echo $ECHO_N "(cached) $ECHO_C" >&6
5761
ac_check_lib_save_LIBS=$LIBS
5763
cat >conftest.$ac_ext <<_ACEOF
5766
cat confdefs.h >>conftest.$ac_ext
5767
cat >>conftest.$ac_ext <<_ACEOF
5768
/* end confdefs.h. */
5770
/* Override any gcc2 internal prototype to avoid an error. */
5774
/* We use char because int might match the return type of a gcc2
5775
builtin and then its argument prototype would still apply. */
5776
char gethostbyname ();
5785
rm -f conftest.$ac_objext conftest$ac_exeext
5786
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5787
(eval $ac_link) 2>conftest.er1
5789
grep -v '^ *+' conftest.er1 >conftest.err
5791
cat conftest.err >&5
5792
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793
(exit $ac_status); } &&
5794
{ ac_try='test -z "$ac_c_werror_flag"
5795
|| test ! -s conftest.err'
5796
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5799
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800
(exit $ac_status); }; } &&
5801
{ ac_try='test -s conftest$ac_exeext'
5802
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5805
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806
(exit $ac_status); }; }; then
5807
ac_cv_lib_nsl_gethostbyname=yes
5809
echo "$as_me: failed program was:" >&5
5810
sed 's/^/| /' conftest.$ac_ext >&5
5812
ac_cv_lib_nsl_gethostbyname=no
5814
rm -f conftest.err conftest.$ac_objext \
5815
conftest$ac_exeext conftest.$ac_ext
5816
LIBS=$ac_check_lib_save_LIBS
5818
echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5819
echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5820
if test $ac_cv_lib_nsl_gethostbyname = yes; then
5821
cat >>confdefs.h <<_ACEOF
5822
#define HAVE_LIBNSL 1
5830
echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
5831
echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
5832
if test "${ac_cv_lib_socket_socket+set}" = set; then
5833
echo $ECHO_N "(cached) $ECHO_C" >&6
5835
ac_check_lib_save_LIBS=$LIBS
5836
LIBS="-lsocket $LIBS"
5837
cat >conftest.$ac_ext <<_ACEOF
5840
cat confdefs.h >>conftest.$ac_ext
5841
cat >>conftest.$ac_ext <<_ACEOF
5842
/* end confdefs.h. */
5844
/* Override any gcc2 internal prototype to avoid an error. */
5848
/* We use char because int might match the return type of a gcc2
5849
builtin and then its argument prototype would still apply. */
5859
rm -f conftest.$ac_objext conftest$ac_exeext
5860
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5861
(eval $ac_link) 2>conftest.er1
5863
grep -v '^ *+' conftest.er1 >conftest.err
5865
cat conftest.err >&5
5866
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867
(exit $ac_status); } &&
5868
{ ac_try='test -z "$ac_c_werror_flag"
5869
|| test ! -s conftest.err'
5870
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874
(exit $ac_status); }; } &&
5875
{ ac_try='test -s conftest$ac_exeext'
5876
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5879
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880
(exit $ac_status); }; }; then
5881
ac_cv_lib_socket_socket=yes
5883
echo "$as_me: failed program was:" >&5
5884
sed 's/^/| /' conftest.$ac_ext >&5
5886
ac_cv_lib_socket_socket=no
5888
rm -f conftest.err conftest.$ac_objext \
5889
conftest$ac_exeext conftest.$ac_ext
5890
LIBS=$ac_check_lib_save_LIBS
5892
echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
5893
echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
5894
if test $ac_cv_lib_socket_socket = yes; then
5895
cat >>confdefs.h <<_ACEOF
5896
#define HAVE_LIBSOCKET 1
5899
LIBS="-lsocket $LIBS"
5903
echo "$as_me:$LINENO: checking for res_gethostbyname in -lresolv" >&5
5904
echo $ECHO_N "checking for res_gethostbyname in -lresolv... $ECHO_C" >&6
5905
if test "${ac_cv_lib_resolv_res_gethostbyname+set}" = set; then
5906
echo $ECHO_N "(cached) $ECHO_C" >&6
5908
ac_check_lib_save_LIBS=$LIBS
5909
LIBS="-lresolv $LIBS"
5910
cat >conftest.$ac_ext <<_ACEOF
5913
cat confdefs.h >>conftest.$ac_ext
5914
cat >>conftest.$ac_ext <<_ACEOF
5915
/* end confdefs.h. */
5917
/* Override any gcc2 internal prototype to avoid an error. */
5921
/* We use char because int might match the return type of a gcc2
5922
builtin and then its argument prototype would still apply. */
5923
char res_gethostbyname ();
5927
res_gethostbyname ();
5932
rm -f conftest.$ac_objext conftest$ac_exeext
5933
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5934
(eval $ac_link) 2>conftest.er1
5936
grep -v '^ *+' conftest.er1 >conftest.err
5938
cat conftest.err >&5
5939
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940
(exit $ac_status); } &&
5941
{ ac_try='test -z "$ac_c_werror_flag"
5942
|| test ! -s conftest.err'
5943
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5946
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947
(exit $ac_status); }; } &&
5948
{ ac_try='test -s conftest$ac_exeext'
5949
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5952
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953
(exit $ac_status); }; }; then
5954
ac_cv_lib_resolv_res_gethostbyname=yes
5956
echo "$as_me: failed program was:" >&5
5957
sed 's/^/| /' conftest.$ac_ext >&5
5959
ac_cv_lib_resolv_res_gethostbyname=no
5961
rm -f conftest.err conftest.$ac_objext \
5962
conftest$ac_exeext conftest.$ac_ext
5963
LIBS=$ac_check_lib_save_LIBS
5965
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_gethostbyname" >&5
5966
echo "${ECHO_T}$ac_cv_lib_resolv_res_gethostbyname" >&6
5967
if test $ac_cv_lib_resolv_res_gethostbyname = yes; then
5973
if test x$RESOLV != x
5976
cat >>confdefs.h <<\_ACEOF
5977
#define HAVE_RES_GETHOSTBYNAME 1
5981
echo "$as_me:$LINENO: checking for gethostbyname in -lresolv+" >&5
5982
echo $ECHO_N "checking for gethostbyname in -lresolv+... $ECHO_C" >&6
5983
if test "${ac_cv_lib_resolvp_gethostbyname+set}" = set; then
5984
echo $ECHO_N "(cached) $ECHO_C" >&6
5986
ac_check_lib_save_LIBS=$LIBS
5987
LIBS="-lresolv+ $LIBS"
5988
cat >conftest.$ac_ext <<_ACEOF
5991
cat confdefs.h >>conftest.$ac_ext
5992
cat >>conftest.$ac_ext <<_ACEOF
5993
/* end confdefs.h. */
5995
/* Override any gcc2 internal prototype to avoid an error. */
5999
/* We use char because int might match the return type of a gcc2
6000
builtin and then its argument prototype would still apply. */
6001
char gethostbyname ();
6010
rm -f conftest.$ac_objext conftest$ac_exeext
6011
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6012
(eval $ac_link) 2>conftest.er1
6014
grep -v '^ *+' conftest.er1 >conftest.err
6016
cat conftest.err >&5
6017
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018
(exit $ac_status); } &&
6019
{ ac_try='test -z "$ac_c_werror_flag"
6020
|| test ! -s conftest.err'
6021
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6024
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025
(exit $ac_status); }; } &&
6026
{ ac_try='test -s conftest$ac_exeext'
6027
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6030
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031
(exit $ac_status); }; }; then
6032
ac_cv_lib_resolvp_gethostbyname=yes
6034
echo "$as_me: failed program was:" >&5
6035
sed 's/^/| /' conftest.$ac_ext >&5
6037
ac_cv_lib_resolvp_gethostbyname=no
6039
rm -f conftest.err conftest.$ac_objext \
6040
conftest$ac_exeext conftest.$ac_ext
6041
LIBS=$ac_check_lib_save_LIBS
6043
echo "$as_me:$LINENO: result: $ac_cv_lib_resolvp_gethostbyname" >&5
6044
echo "${ECHO_T}$ac_cv_lib_resolvp_gethostbyname" >&6
6045
if test $ac_cv_lib_resolvp_gethostbyname = yes; then
6060
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
6061
as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
6062
echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
6063
echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
6064
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6065
echo $ECHO_N "(cached) $ECHO_C" >&6
6067
cat >conftest.$ac_ext <<_ACEOF
6070
cat confdefs.h >>conftest.$ac_ext
6071
cat >>conftest.$ac_ext <<_ACEOF
6072
/* end confdefs.h. */
6073
#include <sys/types.h>
6085
rm -f conftest.$ac_objext
6086
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6087
(eval $ac_compile) 2>conftest.er1
6089
grep -v '^ *+' conftest.er1 >conftest.err
6091
cat conftest.err >&5
6092
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093
(exit $ac_status); } &&
6094
{ ac_try='test -z "$ac_c_werror_flag"
6095
|| test ! -s conftest.err'
6096
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6099
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6100
(exit $ac_status); }; } &&
6101
{ ac_try='test -s conftest.$ac_objext'
6102
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6105
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106
(exit $ac_status); }; }; then
6107
eval "$as_ac_Header=yes"
6109
echo "$as_me: failed program was:" >&5
6110
sed 's/^/| /' conftest.$ac_ext >&5
6112
eval "$as_ac_Header=no"
6114
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6116
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6117
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6118
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6119
cat >>confdefs.h <<_ACEOF
6120
#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
6123
ac_header_dirent=$ac_hdr; break
6127
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
6128
if test $ac_header_dirent = dirent.h; then
6129
echo "$as_me:$LINENO: checking for library containing opendir" >&5
6130
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6131
if test "${ac_cv_search_opendir+set}" = set; then
6132
echo $ECHO_N "(cached) $ECHO_C" >&6
6134
ac_func_search_save_LIBS=$LIBS
6135
ac_cv_search_opendir=no
6136
cat >conftest.$ac_ext <<_ACEOF
6139
cat confdefs.h >>conftest.$ac_ext
6140
cat >>conftest.$ac_ext <<_ACEOF
6141
/* end confdefs.h. */
6143
/* Override any gcc2 internal prototype to avoid an error. */
6147
/* We use char because int might match the return type of a gcc2
6148
builtin and then its argument prototype would still apply. */
6158
rm -f conftest.$ac_objext conftest$ac_exeext
6159
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6160
(eval $ac_link) 2>conftest.er1
6162
grep -v '^ *+' conftest.er1 >conftest.err
6164
cat conftest.err >&5
6165
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166
(exit $ac_status); } &&
6167
{ ac_try='test -z "$ac_c_werror_flag"
6168
|| test ! -s conftest.err'
6169
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6172
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173
(exit $ac_status); }; } &&
6174
{ ac_try='test -s conftest$ac_exeext'
6175
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6178
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179
(exit $ac_status); }; }; then
6180
ac_cv_search_opendir="none required"
6182
echo "$as_me: failed program was:" >&5
6183
sed 's/^/| /' conftest.$ac_ext >&5
6186
rm -f conftest.err conftest.$ac_objext \
6187
conftest$ac_exeext conftest.$ac_ext
6188
if test "$ac_cv_search_opendir" = no; then
6189
for ac_lib in dir; do
6190
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6191
cat >conftest.$ac_ext <<_ACEOF
6194
cat confdefs.h >>conftest.$ac_ext
6195
cat >>conftest.$ac_ext <<_ACEOF
6196
/* end confdefs.h. */
6198
/* Override any gcc2 internal prototype to avoid an error. */
6202
/* We use char because int might match the return type of a gcc2
6203
builtin and then its argument prototype would still apply. */
6213
rm -f conftest.$ac_objext conftest$ac_exeext
6214
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6215
(eval $ac_link) 2>conftest.er1
6217
grep -v '^ *+' conftest.er1 >conftest.err
6219
cat conftest.err >&5
6220
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6221
(exit $ac_status); } &&
6222
{ ac_try='test -z "$ac_c_werror_flag"
6223
|| test ! -s conftest.err'
6224
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6227
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6228
(exit $ac_status); }; } &&
6229
{ ac_try='test -s conftest$ac_exeext'
6230
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6233
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6234
(exit $ac_status); }; }; then
6235
ac_cv_search_opendir="-l$ac_lib"
6238
echo "$as_me: failed program was:" >&5
6239
sed 's/^/| /' conftest.$ac_ext >&5
6242
rm -f conftest.err conftest.$ac_objext \
6243
conftest$ac_exeext conftest.$ac_ext
6246
LIBS=$ac_func_search_save_LIBS
6248
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6249
echo "${ECHO_T}$ac_cv_search_opendir" >&6
6250
if test "$ac_cv_search_opendir" != no; then
6251
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
6256
echo "$as_me:$LINENO: checking for library containing opendir" >&5
6257
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
6258
if test "${ac_cv_search_opendir+set}" = set; then
6259
echo $ECHO_N "(cached) $ECHO_C" >&6
6261
ac_func_search_save_LIBS=$LIBS
6262
ac_cv_search_opendir=no
6263
cat >conftest.$ac_ext <<_ACEOF
6266
cat confdefs.h >>conftest.$ac_ext
6267
cat >>conftest.$ac_ext <<_ACEOF
6268
/* end confdefs.h. */
6270
/* Override any gcc2 internal prototype to avoid an error. */
6274
/* We use char because int might match the return type of a gcc2
6275
builtin and then its argument prototype would still apply. */
6285
rm -f conftest.$ac_objext conftest$ac_exeext
6286
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6287
(eval $ac_link) 2>conftest.er1
6289
grep -v '^ *+' conftest.er1 >conftest.err
6291
cat conftest.err >&5
6292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293
(exit $ac_status); } &&
6294
{ ac_try='test -z "$ac_c_werror_flag"
6295
|| test ! -s conftest.err'
6296
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6299
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300
(exit $ac_status); }; } &&
6301
{ ac_try='test -s conftest$ac_exeext'
6302
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6305
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306
(exit $ac_status); }; }; then
6307
ac_cv_search_opendir="none required"
6309
echo "$as_me: failed program was:" >&5
6310
sed 's/^/| /' conftest.$ac_ext >&5
6313
rm -f conftest.err conftest.$ac_objext \
6314
conftest$ac_exeext conftest.$ac_ext
6315
if test "$ac_cv_search_opendir" = no; then
6317
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6318
cat >conftest.$ac_ext <<_ACEOF
6321
cat confdefs.h >>conftest.$ac_ext
6322
cat >>conftest.$ac_ext <<_ACEOF
6323
/* end confdefs.h. */
6325
/* Override any gcc2 internal prototype to avoid an error. */
6329
/* We use char because int might match the return type of a gcc2
6330
builtin and then its argument prototype would still apply. */
6340
rm -f conftest.$ac_objext conftest$ac_exeext
6341
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6342
(eval $ac_link) 2>conftest.er1
6344
grep -v '^ *+' conftest.er1 >conftest.err
6346
cat conftest.err >&5
6347
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348
(exit $ac_status); } &&
6349
{ ac_try='test -z "$ac_c_werror_flag"
6350
|| test ! -s conftest.err'
6351
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6354
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355
(exit $ac_status); }; } &&
6356
{ ac_try='test -s conftest$ac_exeext'
6357
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6360
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361
(exit $ac_status); }; }; then
6362
ac_cv_search_opendir="-l$ac_lib"
6365
echo "$as_me: failed program was:" >&5
6366
sed 's/^/| /' conftest.$ac_ext >&5
6369
rm -f conftest.err conftest.$ac_objext \
6370
conftest$ac_exeext conftest.$ac_ext
6373
LIBS=$ac_func_search_save_LIBS
6375
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6376
echo "${ECHO_T}$ac_cv_search_opendir" >&6
6377
if test "$ac_cv_search_opendir" != no; then
6378
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
6384
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6385
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6386
if test "${ac_cv_header_stdc+set}" = set; then
6387
echo $ECHO_N "(cached) $ECHO_C" >&6
6389
cat >conftest.$ac_ext <<_ACEOF
6392
cat confdefs.h >>conftest.$ac_ext
6393
cat >>conftest.$ac_ext <<_ACEOF
6394
/* end confdefs.h. */
6408
rm -f conftest.$ac_objext
6409
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6410
(eval $ac_compile) 2>conftest.er1
6412
grep -v '^ *+' conftest.er1 >conftest.err
6414
cat conftest.err >&5
6415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6416
(exit $ac_status); } &&
6417
{ ac_try='test -z "$ac_c_werror_flag"
6418
|| test ! -s conftest.err'
6419
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6422
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423
(exit $ac_status); }; } &&
6424
{ ac_try='test -s conftest.$ac_objext'
6425
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6429
(exit $ac_status); }; }; then
6430
ac_cv_header_stdc=yes
6432
echo "$as_me: failed program was:" >&5
6433
sed 's/^/| /' conftest.$ac_ext >&5
6435
ac_cv_header_stdc=no
6437
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6439
if test $ac_cv_header_stdc = yes; then
6440
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6441
cat >conftest.$ac_ext <<_ACEOF
6444
cat confdefs.h >>conftest.$ac_ext
6445
cat >>conftest.$ac_ext <<_ACEOF
6446
/* end confdefs.h. */
6450
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6451
$EGREP "memchr" >/dev/null 2>&1; then
6454
ac_cv_header_stdc=no
6460
if test $ac_cv_header_stdc = yes; then
6461
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6462
cat >conftest.$ac_ext <<_ACEOF
6465
cat confdefs.h >>conftest.$ac_ext
6466
cat >>conftest.$ac_ext <<_ACEOF
6467
/* end confdefs.h. */
6471
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6472
$EGREP "free" >/dev/null 2>&1; then
6475
ac_cv_header_stdc=no
6481
if test $ac_cv_header_stdc = yes; then
6482
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6483
if test "$cross_compiling" = yes; then
6486
cat >conftest.$ac_ext <<_ACEOF
6489
cat confdefs.h >>conftest.$ac_ext
6490
cat >>conftest.$ac_ext <<_ACEOF
6491
/* end confdefs.h. */
6493
#if ((' ' & 0x0FF) == 0x020)
6494
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6495
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6497
# define ISLOWER(c) \
6498
(('a' <= (c) && (c) <= 'i') \
6499
|| ('j' <= (c) && (c) <= 'r') \
6500
|| ('s' <= (c) && (c) <= 'z'))
6501
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6504
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6509
for (i = 0; i < 256; i++)
6510
if (XOR (islower (i), ISLOWER (i))
6511
|| toupper (i) != TOUPPER (i))
6516
rm -f conftest$ac_exeext
6517
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6518
(eval $ac_link) 2>&5
6520
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6522
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6525
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526
(exit $ac_status); }; }; then
6529
echo "$as_me: program exited with status $ac_status" >&5
6530
echo "$as_me: failed program was:" >&5
6531
sed 's/^/| /' conftest.$ac_ext >&5
6534
ac_cv_header_stdc=no
6536
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6540
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6541
echo "${ECHO_T}$ac_cv_header_stdc" >&6
6542
if test $ac_cv_header_stdc = yes; then
6544
cat >>confdefs.h <<\_ACEOF
6545
#define STDC_HEADERS 1
6550
echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6551
echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
6552
if test "${ac_cv_header_sys_wait_h+set}" = set; then
6553
echo $ECHO_N "(cached) $ECHO_C" >&6
6555
cat >conftest.$ac_ext <<_ACEOF
6558
cat confdefs.h >>conftest.$ac_ext
6559
cat >>conftest.$ac_ext <<_ACEOF
6560
/* end confdefs.h. */
6561
#include <sys/types.h>
6562
#include <sys/wait.h>
6564
# define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
6567
# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6575
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6580
rm -f conftest.$ac_objext
6581
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6582
(eval $ac_compile) 2>conftest.er1
6584
grep -v '^ *+' conftest.er1 >conftest.err
6586
cat conftest.err >&5
6587
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6588
(exit $ac_status); } &&
6589
{ ac_try='test -z "$ac_c_werror_flag"
6590
|| test ! -s conftest.err'
6591
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6594
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6595
(exit $ac_status); }; } &&
6596
{ ac_try='test -s conftest.$ac_objext'
6597
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6600
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6601
(exit $ac_status); }; }; then
6602
ac_cv_header_sys_wait_h=yes
6604
echo "$as_me: failed program was:" >&5
6605
sed 's/^/| /' conftest.$ac_ext >&5
6607
ac_cv_header_sys_wait_h=no
6609
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6611
echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6612
echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
6613
if test $ac_cv_header_sys_wait_h = yes; then
6615
cat >>confdefs.h <<\_ACEOF
6616
#define HAVE_SYS_WAIT_H 1
6627
for ac_header in fcntl.h paths.h sys/file.h sys/time.h syslog.h unistd.h
6629
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6630
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6631
echo "$as_me:$LINENO: checking for $ac_header" >&5
6632
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6633
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6634
echo $ECHO_N "(cached) $ECHO_C" >&6
6636
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6637
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6639
# Is the header compilable?
6640
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6641
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6642
cat >conftest.$ac_ext <<_ACEOF
6645
cat confdefs.h >>conftest.$ac_ext
6646
cat >>conftest.$ac_ext <<_ACEOF
6647
/* end confdefs.h. */
6648
$ac_includes_default
6649
#include <$ac_header>
6651
rm -f conftest.$ac_objext
6652
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6653
(eval $ac_compile) 2>conftest.er1
6655
grep -v '^ *+' conftest.er1 >conftest.err
6657
cat conftest.err >&5
6658
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659
(exit $ac_status); } &&
6660
{ ac_try='test -z "$ac_c_werror_flag"
6661
|| test ! -s conftest.err'
6662
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6665
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666
(exit $ac_status); }; } &&
6667
{ ac_try='test -s conftest.$ac_objext'
6668
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6671
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672
(exit $ac_status); }; }; then
6673
ac_header_compiler=yes
6675
echo "$as_me: failed program was:" >&5
6676
sed 's/^/| /' conftest.$ac_ext >&5
6678
ac_header_compiler=no
6680
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6681
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6682
echo "${ECHO_T}$ac_header_compiler" >&6
6684
# Is the header present?
6685
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6686
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6687
cat >conftest.$ac_ext <<_ACEOF
6690
cat confdefs.h >>conftest.$ac_ext
6691
cat >>conftest.$ac_ext <<_ACEOF
6692
/* end confdefs.h. */
6693
#include <$ac_header>
6695
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6696
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6698
grep -v '^ *+' conftest.er1 >conftest.err
6700
cat conftest.err >&5
6701
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702
(exit $ac_status); } >/dev/null; then
6703
if test -s conftest.err; then
6704
ac_cpp_err=$ac_c_preproc_warn_flag
6705
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6712
if test -z "$ac_cpp_err"; then
6713
ac_header_preproc=yes
6715
echo "$as_me: failed program was:" >&5
6716
sed 's/^/| /' conftest.$ac_ext >&5
6718
ac_header_preproc=no
6720
rm -f conftest.err conftest.$ac_ext
6721
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6722
echo "${ECHO_T}$ac_header_preproc" >&6
6724
# So? What about this header?
6725
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6727
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6728
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6729
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6730
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6731
ac_header_preproc=yes
6734
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6735
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6736
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6737
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6738
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6739
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6740
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6741
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6742
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6743
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6744
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6745
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6748
## ---------------------------------- ##
6749
## Report this to kukuk@linux-nis.org ##
6750
## ---------------------------------- ##
6753
sed "s/^/$as_me: WARNING: /" >&2
6756
echo "$as_me:$LINENO: checking for $ac_header" >&5
6757
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6758
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6759
echo $ECHO_N "(cached) $ECHO_C" >&6
6761
eval "$as_ac_Header=\$ac_header_preproc"
6763
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6764
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6767
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6768
cat >>confdefs.h <<_ACEOF
6769
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6780
for ac_header in getopt.h shadow.h rpc/clnt_soc.h rpc/svc_soc.h
6782
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6783
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6784
echo "$as_me:$LINENO: checking for $ac_header" >&5
6785
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6786
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6787
echo $ECHO_N "(cached) $ECHO_C" >&6
6789
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6790
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6792
# Is the header compilable?
6793
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6794
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6795
cat >conftest.$ac_ext <<_ACEOF
6798
cat confdefs.h >>conftest.$ac_ext
6799
cat >>conftest.$ac_ext <<_ACEOF
6800
/* end confdefs.h. */
6801
$ac_includes_default
6802
#include <$ac_header>
6804
rm -f conftest.$ac_objext
6805
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6806
(eval $ac_compile) 2>conftest.er1
6808
grep -v '^ *+' conftest.er1 >conftest.err
6810
cat conftest.err >&5
6811
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6812
(exit $ac_status); } &&
6813
{ ac_try='test -z "$ac_c_werror_flag"
6814
|| test ! -s conftest.err'
6815
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6819
(exit $ac_status); }; } &&
6820
{ ac_try='test -s conftest.$ac_objext'
6821
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825
(exit $ac_status); }; }; then
6826
ac_header_compiler=yes
6828
echo "$as_me: failed program was:" >&5
6829
sed 's/^/| /' conftest.$ac_ext >&5
6831
ac_header_compiler=no
6833
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6834
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6835
echo "${ECHO_T}$ac_header_compiler" >&6
6837
# Is the header present?
6838
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6839
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6840
cat >conftest.$ac_ext <<_ACEOF
6843
cat confdefs.h >>conftest.$ac_ext
6844
cat >>conftest.$ac_ext <<_ACEOF
6845
/* end confdefs.h. */
6846
#include <$ac_header>
6848
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6849
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6851
grep -v '^ *+' conftest.er1 >conftest.err
6853
cat conftest.err >&5
6854
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6855
(exit $ac_status); } >/dev/null; then
6856
if test -s conftest.err; then
6857
ac_cpp_err=$ac_c_preproc_warn_flag
6858
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6865
if test -z "$ac_cpp_err"; then
6866
ac_header_preproc=yes
6868
echo "$as_me: failed program was:" >&5
6869
sed 's/^/| /' conftest.$ac_ext >&5
6871
ac_header_preproc=no
6873
rm -f conftest.err conftest.$ac_ext
6874
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6875
echo "${ECHO_T}$ac_header_preproc" >&6
6877
# So? What about this header?
6878
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6880
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6881
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6882
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6883
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6884
ac_header_preproc=yes
6887
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6888
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6889
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6890
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6891
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6892
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6893
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6894
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6895
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6896
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6897
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6898
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6901
## ---------------------------------- ##
6902
## Report this to kukuk@linux-nis.org ##
6903
## ---------------------------------- ##
6906
sed "s/^/$as_me: WARNING: /" >&2
6909
echo "$as_me:$LINENO: checking for $ac_header" >&5
6910
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6911
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6912
echo $ECHO_N "(cached) $ECHO_C" >&6
6914
eval "$as_ac_Header=\$ac_header_preproc"
6916
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6917
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6920
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6921
cat >>confdefs.h <<_ACEOF
6922
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6931
for ac_header in netinet/in.h alloca.h
6933
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6934
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6935
echo "$as_me:$LINENO: checking for $ac_header" >&5
6936
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6937
if eval "test \"\${$as_ac_Header+set}\" = set"; then
6938
echo $ECHO_N "(cached) $ECHO_C" >&6
6940
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6941
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6943
# Is the header compilable?
6944
echo "$as_me:$LINENO: checking $ac_header usability" >&5
6945
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6946
cat >conftest.$ac_ext <<_ACEOF
6949
cat confdefs.h >>conftest.$ac_ext
6950
cat >>conftest.$ac_ext <<_ACEOF
6951
/* end confdefs.h. */
6952
$ac_includes_default
6953
#include <$ac_header>
6955
rm -f conftest.$ac_objext
6956
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6957
(eval $ac_compile) 2>conftest.er1
6959
grep -v '^ *+' conftest.er1 >conftest.err
6961
cat conftest.err >&5
6962
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963
(exit $ac_status); } &&
6964
{ ac_try='test -z "$ac_c_werror_flag"
6965
|| test ! -s conftest.err'
6966
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6969
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970
(exit $ac_status); }; } &&
6971
{ ac_try='test -s conftest.$ac_objext'
6972
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6975
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6976
(exit $ac_status); }; }; then
6977
ac_header_compiler=yes
6979
echo "$as_me: failed program was:" >&5
6980
sed 's/^/| /' conftest.$ac_ext >&5
6982
ac_header_compiler=no
6984
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6985
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6986
echo "${ECHO_T}$ac_header_compiler" >&6
6988
# Is the header present?
6989
echo "$as_me:$LINENO: checking $ac_header presence" >&5
6990
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6991
cat >conftest.$ac_ext <<_ACEOF
6994
cat confdefs.h >>conftest.$ac_ext
6995
cat >>conftest.$ac_ext <<_ACEOF
6996
/* end confdefs.h. */
6997
#include <$ac_header>
6999
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7000
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7002
grep -v '^ *+' conftest.er1 >conftest.err
7004
cat conftest.err >&5
7005
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7006
(exit $ac_status); } >/dev/null; then
7007
if test -s conftest.err; then
7008
ac_cpp_err=$ac_c_preproc_warn_flag
7009
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7016
if test -z "$ac_cpp_err"; then
7017
ac_header_preproc=yes
7019
echo "$as_me: failed program was:" >&5
7020
sed 's/^/| /' conftest.$ac_ext >&5
7022
ac_header_preproc=no
7024
rm -f conftest.err conftest.$ac_ext
7025
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7026
echo "${ECHO_T}$ac_header_preproc" >&6
7028
# So? What about this header?
7029
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7031
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7032
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7033
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7034
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7035
ac_header_preproc=yes
7038
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7039
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7040
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7041
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7042
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7043
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7044
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7045
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7046
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7047
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7048
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7049
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7052
## ---------------------------------- ##
7053
## Report this to kukuk@linux-nis.org ##
7054
## ---------------------------------- ##
7057
sed "s/^/$as_me: WARNING: /" >&2
7060
echo "$as_me:$LINENO: checking for $ac_header" >&5
7061
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7062
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7063
echo $ECHO_N "(cached) $ECHO_C" >&6
7065
eval "$as_ac_Header=\$ac_header_preproc"
7067
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7068
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7071
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7072
cat >>confdefs.h <<_ACEOF
7073
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7080
echo "$as_me:$LINENO: checking for in_addr_t" >&5
7081
echo $ECHO_N "checking for in_addr_t... $ECHO_C" >&6
7082
if test "${ac_cv_type_in_addr_t+set}" = set; then
7083
echo $ECHO_N "(cached) $ECHO_C" >&6
7085
cat >conftest.$ac_ext <<_ACEOF
7088
cat confdefs.h >>conftest.$ac_ext
7089
cat >>conftest.$ac_ext <<_ACEOF
7090
/* end confdefs.h. */
7091
#include <netinet/in.h>
7096
if ((in_addr_t *) 0)
7098
if (sizeof (in_addr_t))
7104
rm -f conftest.$ac_objext
7105
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7106
(eval $ac_compile) 2>conftest.er1
7108
grep -v '^ *+' conftest.er1 >conftest.err
7110
cat conftest.err >&5
7111
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7112
(exit $ac_status); } &&
7113
{ ac_try='test -z "$ac_c_werror_flag"
7114
|| test ! -s conftest.err'
7115
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7118
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7119
(exit $ac_status); }; } &&
7120
{ ac_try='test -s conftest.$ac_objext'
7121
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7124
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7125
(exit $ac_status); }; }; then
7126
ac_cv_type_in_addr_t=yes
7128
echo "$as_me: failed program was:" >&5
7129
sed 's/^/| /' conftest.$ac_ext >&5
7131
ac_cv_type_in_addr_t=no
7133
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7135
echo "$as_me:$LINENO: result: $ac_cv_type_in_addr_t" >&5
7136
echo "${ECHO_T}$ac_cv_type_in_addr_t" >&6
7137
if test $ac_cv_type_in_addr_t = yes; then
7141
cat >>confdefs.h <<\_ACEOF
7142
#define in_addr_t int
7148
echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7149
echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
7150
if test "${ac_cv_c_const+set}" = set; then
7151
echo $ECHO_N "(cached) $ECHO_C" >&6
7153
cat >conftest.$ac_ext <<_ACEOF
7156
cat confdefs.h >>conftest.$ac_ext
7157
cat >>conftest.$ac_ext <<_ACEOF
7158
/* end confdefs.h. */
7163
/* FIXME: Include the comments suggested by Paul. */
7165
/* Ultrix mips cc rejects this. */
7166
typedef int charset[2];
7168
/* SunOS 4.1.1 cc rejects this. */
7169
char const *const *ccp;
7171
/* NEC SVR4.0.2 mips cc rejects this. */
7172
struct point {int x, y;};
7173
static struct point const zero = {0,0};
7174
/* AIX XL C 1.02.0.0 rejects this.
7175
It does not let you subtract one const X* pointer from another in
7176
an arm of an if-expression whose if-part is not a constant
7178
const char *g = "string";
7179
ccp = &g + (g ? g-g : 0);
7180
/* HPUX 7.0 cc rejects these. */
7183
ccp = (char const *const *) p;
7184
{ /* SCO 3.2v4 cc rejects this. */
7186
char const *s = 0 ? (char *) 0 : (char const *) 0;
7190
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7192
const int *foo = &x[0];
7195
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7196
typedef const int *iptr;
7200
{ /* AIX XL C 1.02.0.0 rejects this saying
7201
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7202
struct s { int j; const int *ap[3]; };
7203
struct s *b; b->j = 5;
7205
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7214
rm -f conftest.$ac_objext
7215
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7216
(eval $ac_compile) 2>conftest.er1
7218
grep -v '^ *+' conftest.er1 >conftest.err
7220
cat conftest.err >&5
7221
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222
(exit $ac_status); } &&
7223
{ ac_try='test -z "$ac_c_werror_flag"
7224
|| test ! -s conftest.err'
7225
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7228
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7229
(exit $ac_status); }; } &&
7230
{ ac_try='test -s conftest.$ac_objext'
7231
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7234
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7235
(exit $ac_status); }; }; then
7238
echo "$as_me: failed program was:" >&5
7239
sed 's/^/| /' conftest.$ac_ext >&5
7243
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7245
echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7246
echo "${ECHO_T}$ac_cv_c_const" >&6
7247
if test $ac_cv_c_const = no; then
7249
cat >>confdefs.h <<\_ACEOF
7255
echo "$as_me:$LINENO: checking for inline" >&5
7256
echo $ECHO_N "checking for inline... $ECHO_C" >&6
7257
if test "${ac_cv_c_inline+set}" = set; then
7258
echo $ECHO_N "(cached) $ECHO_C" >&6
7261
for ac_kw in inline __inline__ __inline; do
7262
cat >conftest.$ac_ext <<_ACEOF
7265
cat confdefs.h >>conftest.$ac_ext
7266
cat >>conftest.$ac_ext <<_ACEOF
7267
/* end confdefs.h. */
7270
static $ac_kw foo_t static_foo () {return 0; }
7271
$ac_kw foo_t foo () {return 0; }
7275
rm -f conftest.$ac_objext
7276
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7277
(eval $ac_compile) 2>conftest.er1
7279
grep -v '^ *+' conftest.er1 >conftest.err
7281
cat conftest.err >&5
7282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7283
(exit $ac_status); } &&
7284
{ ac_try='test -z "$ac_c_werror_flag"
7285
|| test ! -s conftest.err'
7286
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7289
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290
(exit $ac_status); }; } &&
7291
{ ac_try='test -s conftest.$ac_objext'
7292
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7295
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7296
(exit $ac_status); }; }; then
7297
ac_cv_c_inline=$ac_kw; break
7299
echo "$as_me: failed program was:" >&5
7300
sed 's/^/| /' conftest.$ac_ext >&5
7303
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7307
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
7308
echo "${ECHO_T}$ac_cv_c_inline" >&6
7311
case $ac_cv_c_inline in
7314
case $ac_cv_c_inline in
7316
*) ac_val=$ac_cv_c_inline;;
7318
cat >>confdefs.h <<_ACEOF
7320
#define inline $ac_val
7327
echo "$as_me:$LINENO: checking for __attribute__" >&5
7328
echo $ECHO_N "checking for __attribute__... $ECHO_C" >&6
7329
if test "${ac_cv___attribute__+set}" = set; then
7330
echo $ECHO_N "(cached) $ECHO_C" >&6
7333
cat >conftest.$ac_ext <<_ACEOF
7336
cat confdefs.h >>conftest.$ac_ext
7337
cat >>conftest.$ac_ext <<_ACEOF
7338
/* end confdefs.h. */
7341
static void foo (void) __attribute__ ((unused));
7359
rm -f conftest.$ac_objext
7360
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7361
(eval $ac_compile) 2>conftest.er1
7363
grep -v '^ *+' conftest.er1 >conftest.err
7365
cat conftest.err >&5
7366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367
(exit $ac_status); } &&
7368
{ ac_try='test -z "$ac_c_werror_flag"
7369
|| test ! -s conftest.err'
7370
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7373
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7374
(exit $ac_status); }; } &&
7375
{ ac_try='test -s conftest.$ac_objext'
7376
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380
(exit $ac_status); }; }; then
7381
ac_cv___attribute__=yes
7383
echo "$as_me: failed program was:" >&5
7384
sed 's/^/| /' conftest.$ac_ext >&5
7386
ac_cv___attribute__=no
7388
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7391
if test "$ac_cv___attribute__" = "yes"; then
7393
cat >>confdefs.h <<\_ACEOF
7394
#define UNUSED __attribute__ ((unused))
7398
cat >>confdefs.h <<\_ACEOF
7403
echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5
7404
echo "${ECHO_T}$ac_cv___attribute__" >&6
7406
echo "$as_me:$LINENO: checking for socklen_t" >&5
7407
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
7408
if test "${ac_cv_type_socklen_t+set}" = set; then
7409
echo $ECHO_N "(cached) $ECHO_C" >&6
7412
cat >conftest.$ac_ext <<_ACEOF
7415
cat confdefs.h >>conftest.$ac_ext
7416
cat >>conftest.$ac_ext <<_ACEOF
7417
/* end confdefs.h. */
7418
#include <sys/types.h>
7419
#include <sys/socket.h>
7423
socklen_t len = 42; return 0;
7428
rm -f conftest.$ac_objext
7429
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7430
(eval $ac_compile) 2>conftest.er1
7432
grep -v '^ *+' conftest.er1 >conftest.err
7434
cat conftest.err >&5
7435
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436
(exit $ac_status); } &&
7437
{ ac_try='test -z "$ac_c_werror_flag"
7438
|| test ! -s conftest.err'
7439
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7442
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443
(exit $ac_status); }; } &&
7444
{ ac_try='test -s conftest.$ac_objext'
7445
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7448
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449
(exit $ac_status); }; }; then
7450
ac_cv_type_socklen_t=yes
7452
echo "$as_me: failed program was:" >&5
7453
sed 's/^/| /' conftest.$ac_ext >&5
7455
ac_cv_type_socklen_t=no
7457
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7460
echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7461
echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
7462
if test $ac_cv_type_socklen_t != yes; then
7464
cat >>confdefs.h <<\_ACEOF
7465
#define socklen_t int
7470
echo "$as_me:$LINENO: checking for pid_t" >&5
7471
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
7472
if test "${ac_cv_type_pid_t+set}" = set; then
7473
echo $ECHO_N "(cached) $ECHO_C" >&6
7475
cat >conftest.$ac_ext <<_ACEOF
7478
cat confdefs.h >>conftest.$ac_ext
7479
cat >>conftest.$ac_ext <<_ACEOF
7480
/* end confdefs.h. */
7481
$ac_includes_default
7493
rm -f conftest.$ac_objext
7494
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7495
(eval $ac_compile) 2>conftest.er1
7497
grep -v '^ *+' conftest.er1 >conftest.err
7499
cat conftest.err >&5
7500
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7501
(exit $ac_status); } &&
7502
{ ac_try='test -z "$ac_c_werror_flag"
7503
|| test ! -s conftest.err'
7504
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7507
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508
(exit $ac_status); }; } &&
7509
{ ac_try='test -s conftest.$ac_objext'
7510
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7513
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7514
(exit $ac_status); }; }; then
7515
ac_cv_type_pid_t=yes
7517
echo "$as_me: failed program was:" >&5
7518
sed 's/^/| /' conftest.$ac_ext >&5
7522
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7524
echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7525
echo "${ECHO_T}$ac_cv_type_pid_t" >&6
7526
if test $ac_cv_type_pid_t = yes; then
7530
cat >>confdefs.h <<_ACEOF
7536
echo "$as_me:$LINENO: checking for size_t" >&5
7537
echo $ECHO_N "checking for size_t... $ECHO_C" >&6
7538
if test "${ac_cv_type_size_t+set}" = set; then
7539
echo $ECHO_N "(cached) $ECHO_C" >&6
7541
cat >conftest.$ac_ext <<_ACEOF
7544
cat confdefs.h >>conftest.$ac_ext
7545
cat >>conftest.$ac_ext <<_ACEOF
7546
/* end confdefs.h. */
7547
$ac_includes_default
7553
if (sizeof (size_t))
7559
rm -f conftest.$ac_objext
7560
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7561
(eval $ac_compile) 2>conftest.er1
7563
grep -v '^ *+' conftest.er1 >conftest.err
7565
cat conftest.err >&5
7566
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567
(exit $ac_status); } &&
7568
{ ac_try='test -z "$ac_c_werror_flag"
7569
|| test ! -s conftest.err'
7570
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7573
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7574
(exit $ac_status); }; } &&
7575
{ ac_try='test -s conftest.$ac_objext'
7576
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7579
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580
(exit $ac_status); }; }; then
7581
ac_cv_type_size_t=yes
7583
echo "$as_me: failed program was:" >&5
7584
sed 's/^/| /' conftest.$ac_ext >&5
7586
ac_cv_type_size_t=no
7588
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7590
echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7591
echo "${ECHO_T}$ac_cv_type_size_t" >&6
7592
if test $ac_cv_type_size_t = yes; then
7596
cat >>confdefs.h <<_ACEOF
7597
#define size_t unsigned
7602
echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7603
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
7604
if test "${ac_cv_header_time+set}" = set; then
7605
echo $ECHO_N "(cached) $ECHO_C" >&6
7607
cat >conftest.$ac_ext <<_ACEOF
7610
cat confdefs.h >>conftest.$ac_ext
7611
cat >>conftest.$ac_ext <<_ACEOF
7612
/* end confdefs.h. */
7613
#include <sys/types.h>
7614
#include <sys/time.h>
7620
if ((struct tm *) 0)
7626
rm -f conftest.$ac_objext
7627
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7628
(eval $ac_compile) 2>conftest.er1
7630
grep -v '^ *+' conftest.er1 >conftest.err
7632
cat conftest.err >&5
7633
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634
(exit $ac_status); } &&
7635
{ ac_try='test -z "$ac_c_werror_flag"
7636
|| test ! -s conftest.err'
7637
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7640
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641
(exit $ac_status); }; } &&
7642
{ ac_try='test -s conftest.$ac_objext'
7643
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7646
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7647
(exit $ac_status); }; }; then
7648
ac_cv_header_time=yes
7650
echo "$as_me: failed program was:" >&5
7651
sed 's/^/| /' conftest.$ac_ext >&5
7653
ac_cv_header_time=no
7655
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7657
echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7658
echo "${ECHO_T}$ac_cv_header_time" >&6
7659
if test $ac_cv_header_time = yes; then
7661
cat >>confdefs.h <<\_ACEOF
7662
#define TIME_WITH_SYS_TIME 1
7668
echo "$as_me:$LINENO: checking for resultproc_t in rpc/clnt.h" >&5
7669
echo $ECHO_N "checking for resultproc_t in rpc/clnt.h... $ECHO_C" >&6
7670
cat >conftest.$ac_ext <<_ACEOF
7673
cat confdefs.h >>conftest.$ac_ext
7674
cat >>conftest.$ac_ext <<_ACEOF
7675
/* end confdefs.h. */
7676
#include <rpc/clnt.h>
7679
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7680
$EGREP "resultproc_t" >/dev/null 2>&1; then
7683
cat >>confdefs.h <<\_ACEOF
7684
#define HAVE_RESULTPROC_T 1
7686
echo "$as_me:$LINENO: result: yes" >&5
7687
echo "${ECHO_T}yes" >&6
7690
echo "$as_me:$LINENO: result: no" >&5
7691
echo "${ECHO_T}no" >&6
7695
echo "$as_me:$LINENO: checking for resultproc_t in rpc/pmap_clnt.h" >&5
7696
echo $ECHO_N "checking for resultproc_t in rpc/pmap_clnt.h... $ECHO_C" >&6
7697
cat >conftest.$ac_ext <<_ACEOF
7700
cat confdefs.h >>conftest.$ac_ext
7701
cat >>conftest.$ac_ext <<_ACEOF
7702
/* end confdefs.h. */
7703
#include <rpc/pmap_clnt.h>
7706
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7707
$EGREP "resultproc_t" >/dev/null 2>&1; then
7709
cat >>confdefs.h <<\_ACEOF
7710
#define HAVE_RESULTPROC_T 1
7712
echo "$as_me:$LINENO: result: yes" >&5
7713
echo "${ECHO_T}yes" >&6
7716
echo "$as_me:$LINENO: result: no" >&5
7717
echo "${ECHO_T}no" >&6
7722
echo "$as_me:$LINENO: checking for working memcmp" >&5
7723
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
7724
if test "${ac_cv_func_memcmp_working+set}" = set; then
7725
echo $ECHO_N "(cached) $ECHO_C" >&6
7727
if test "$cross_compiling" = yes; then
7728
ac_cv_func_memcmp_working=no
7730
cat >conftest.$ac_ext <<_ACEOF
7733
cat confdefs.h >>conftest.$ac_ext
7734
cat >>conftest.$ac_ext <<_ACEOF
7735
/* end confdefs.h. */
7736
$ac_includes_default
7741
/* Some versions of memcmp are not 8-bit clean. */
7742
char c0 = 0x40, c1 = 0x80, c2 = 0x81;
7743
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
7746
/* The Next x86 OpenStep bug shows up only when comparing 16 bytes
7747
or more and with at least one buffer not starting on a 4-byte boundary.
7748
William Lewis provided this test program. */
7753
for (i = 0; i < 4; i++)
7757
strcpy (a, "--------01111111");
7758
strcpy (b, "--------10000000");
7759
if (memcmp (a, b, 16) >= 0)
7769
rm -f conftest$ac_exeext
7770
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7771
(eval $ac_link) 2>&5
7773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7774
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7775
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7778
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779
(exit $ac_status); }; }; then
7780
ac_cv_func_memcmp_working=yes
7782
echo "$as_me: program exited with status $ac_status" >&5
7783
echo "$as_me: failed program was:" >&5
7784
sed 's/^/| /' conftest.$ac_ext >&5
7787
ac_cv_func_memcmp_working=no
7789
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7792
echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
7793
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
7794
test $ac_cv_func_memcmp_working = no && case $LIBOBJS in
7795
"memcmp.$ac_objext" | \
7796
*" memcmp.$ac_objext" | \
7797
"memcmp.$ac_objext "* | \
7798
*" memcmp.$ac_objext "* ) ;;
7799
*) LIBOBJS="$LIBOBJS memcmp.$ac_objext" ;;
7804
for ac_func in vprintf
7806
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7807
echo "$as_me:$LINENO: checking for $ac_func" >&5
7808
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7809
if eval "test \"\${$as_ac_var+set}\" = set"; then
7810
echo $ECHO_N "(cached) $ECHO_C" >&6
7812
cat >conftest.$ac_ext <<_ACEOF
7815
cat confdefs.h >>conftest.$ac_ext
7816
cat >>conftest.$ac_ext <<_ACEOF
7817
/* end confdefs.h. */
7818
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7819
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7820
#define $ac_func innocuous_$ac_func
7822
/* System header to define __stub macros and hopefully few prototypes,
7823
which can conflict with char $ac_func (); below.
7824
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7825
<limits.h> exists even on freestanding compilers. */
7828
# include <limits.h>
7830
# include <assert.h>
7835
/* Override any gcc2 internal prototype to avoid an error. */
7840
/* We use char because int might match the return type of a gcc2
7841
builtin and then its argument prototype would still apply. */
7843
/* The GNU C library defines this for functions which it implements
7844
to always fail with ENOSYS. Some functions are actually named
7845
something starting with __ and the normal name is an alias. */
7846
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7849
char (*f) () = $ac_func;
7858
return f != $ac_func;
7863
rm -f conftest.$ac_objext conftest$ac_exeext
7864
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7865
(eval $ac_link) 2>conftest.er1
7867
grep -v '^ *+' conftest.er1 >conftest.err
7869
cat conftest.err >&5
7870
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871
(exit $ac_status); } &&
7872
{ ac_try='test -z "$ac_c_werror_flag"
7873
|| test ! -s conftest.err'
7874
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7877
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878
(exit $ac_status); }; } &&
7879
{ ac_try='test -s conftest$ac_exeext'
7880
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7883
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7884
(exit $ac_status); }; }; then
7885
eval "$as_ac_var=yes"
7887
echo "$as_me: failed program was:" >&5
7888
sed 's/^/| /' conftest.$ac_ext >&5
7890
eval "$as_ac_var=no"
7892
rm -f conftest.err conftest.$ac_objext \
7893
conftest$ac_exeext conftest.$ac_ext
7895
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7896
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7897
if test `eval echo '${'$as_ac_var'}'` = yes; then
7898
cat >>confdefs.h <<_ACEOF
7899
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7902
echo "$as_me:$LINENO: checking for _doprnt" >&5
7903
echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
7904
if test "${ac_cv_func__doprnt+set}" = set; then
7905
echo $ECHO_N "(cached) $ECHO_C" >&6
7907
cat >conftest.$ac_ext <<_ACEOF
7910
cat confdefs.h >>conftest.$ac_ext
7911
cat >>conftest.$ac_ext <<_ACEOF
7912
/* end confdefs.h. */
7913
/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
7914
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7915
#define _doprnt innocuous__doprnt
7917
/* System header to define __stub macros and hopefully few prototypes,
7918
which can conflict with char _doprnt (); below.
7919
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7920
<limits.h> exists even on freestanding compilers. */
7923
# include <limits.h>
7925
# include <assert.h>
7930
/* Override any gcc2 internal prototype to avoid an error. */
7935
/* We use char because int might match the return type of a gcc2
7936
builtin and then its argument prototype would still apply. */
7938
/* The GNU C library defines this for functions which it implements
7939
to always fail with ENOSYS. Some functions are actually named
7940
something starting with __ and the normal name is an alias. */
7941
#if defined (__stub__doprnt) || defined (__stub____doprnt)
7944
char (*f) () = _doprnt;
7953
return f != _doprnt;
7958
rm -f conftest.$ac_objext conftest$ac_exeext
7959
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7960
(eval $ac_link) 2>conftest.er1
7962
grep -v '^ *+' conftest.er1 >conftest.err
7964
cat conftest.err >&5
7965
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7966
(exit $ac_status); } &&
7967
{ ac_try='test -z "$ac_c_werror_flag"
7968
|| test ! -s conftest.err'
7969
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7972
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7973
(exit $ac_status); }; } &&
7974
{ ac_try='test -s conftest$ac_exeext'
7975
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7978
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7979
(exit $ac_status); }; }; then
7980
ac_cv_func__doprnt=yes
7982
echo "$as_me: failed program was:" >&5
7983
sed 's/^/| /' conftest.$ac_ext >&5
7985
ac_cv_func__doprnt=no
7987
rm -f conftest.err conftest.$ac_objext \
7988
conftest$ac_exeext conftest.$ac_ext
7990
echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
7991
echo "${ECHO_T}$ac_cv_func__doprnt" >&6
7992
if test $ac_cv_func__doprnt = yes; then
7994
cat >>confdefs.h <<\_ACEOF
7995
#define HAVE_DOPRNT 1
8006
for ac_func in setenv putenv
8008
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8009
echo "$as_me:$LINENO: checking for $ac_func" >&5
8010
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8011
if eval "test \"\${$as_ac_var+set}\" = set"; then
8012
echo $ECHO_N "(cached) $ECHO_C" >&6
8014
cat >conftest.$ac_ext <<_ACEOF
8017
cat confdefs.h >>conftest.$ac_ext
8018
cat >>conftest.$ac_ext <<_ACEOF
8019
/* end confdefs.h. */
8020
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8021
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8022
#define $ac_func innocuous_$ac_func
8024
/* System header to define __stub macros and hopefully few prototypes,
8025
which can conflict with char $ac_func (); below.
8026
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8027
<limits.h> exists even on freestanding compilers. */
8030
# include <limits.h>
8032
# include <assert.h>
8037
/* Override any gcc2 internal prototype to avoid an error. */
8042
/* We use char because int might match the return type of a gcc2
8043
builtin and then its argument prototype would still apply. */
8045
/* The GNU C library defines this for functions which it implements
8046
to always fail with ENOSYS. Some functions are actually named
8047
something starting with __ and the normal name is an alias. */
8048
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8051
char (*f) () = $ac_func;
8060
return f != $ac_func;
8065
rm -f conftest.$ac_objext conftest$ac_exeext
8066
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8067
(eval $ac_link) 2>conftest.er1
8069
grep -v '^ *+' conftest.er1 >conftest.err
8071
cat conftest.err >&5
8072
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073
(exit $ac_status); } &&
8074
{ ac_try='test -z "$ac_c_werror_flag"
8075
|| test ! -s conftest.err'
8076
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8079
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8080
(exit $ac_status); }; } &&
8081
{ ac_try='test -s conftest$ac_exeext'
8082
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8086
(exit $ac_status); }; }; then
8087
eval "$as_ac_var=yes"
8089
echo "$as_me: failed program was:" >&5
8090
sed 's/^/| /' conftest.$ac_ext >&5
8092
eval "$as_ac_var=no"
8094
rm -f conftest.err conftest.$ac_objext \
8095
conftest$ac_exeext conftest.$ac_ext
8097
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8098
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8099
if test `eval echo '${'$as_ac_var'}'` = yes; then
8100
cat >>confdefs.h <<_ACEOF
8101
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8111
for ac_func in fgetpwent putpwent fgetgrent getspnam
8113
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8114
echo "$as_me:$LINENO: checking for $ac_func" >&5
8115
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8116
if eval "test \"\${$as_ac_var+set}\" = set"; then
8117
echo $ECHO_N "(cached) $ECHO_C" >&6
8119
cat >conftest.$ac_ext <<_ACEOF
8122
cat confdefs.h >>conftest.$ac_ext
8123
cat >>conftest.$ac_ext <<_ACEOF
8124
/* end confdefs.h. */
8125
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8126
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8127
#define $ac_func innocuous_$ac_func
8129
/* System header to define __stub macros and hopefully few prototypes,
8130
which can conflict with char $ac_func (); below.
8131
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8132
<limits.h> exists even on freestanding compilers. */
8135
# include <limits.h>
8137
# include <assert.h>
8142
/* Override any gcc2 internal prototype to avoid an error. */
8147
/* We use char because int might match the return type of a gcc2
8148
builtin and then its argument prototype would still apply. */
8150
/* The GNU C library defines this for functions which it implements
8151
to always fail with ENOSYS. Some functions are actually named
8152
something starting with __ and the normal name is an alias. */
8153
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8156
char (*f) () = $ac_func;
8165
return f != $ac_func;
8170
rm -f conftest.$ac_objext conftest$ac_exeext
8171
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8172
(eval $ac_link) 2>conftest.er1
8174
grep -v '^ *+' conftest.er1 >conftest.err
8176
cat conftest.err >&5
8177
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178
(exit $ac_status); } &&
8179
{ ac_try='test -z "$ac_c_werror_flag"
8180
|| test ! -s conftest.err'
8181
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8184
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185
(exit $ac_status); }; } &&
8186
{ ac_try='test -s conftest$ac_exeext'
8187
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8190
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191
(exit $ac_status); }; }; then
8192
eval "$as_ac_var=yes"
8194
echo "$as_me: failed program was:" >&5
8195
sed 's/^/| /' conftest.$ac_ext >&5
8197
eval "$as_ac_var=no"
8199
rm -f conftest.err conftest.$ac_objext \
8200
conftest$ac_exeext conftest.$ac_ext
8202
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8203
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8204
if test `eval echo '${'$as_ac_var'}'` = yes; then
8205
cat >>confdefs.h <<_ACEOF
8206
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8216
for ac_func in inet_aton inet_pton vsyslog lckpwdf
8218
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8219
echo "$as_me:$LINENO: checking for $ac_func" >&5
8220
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8221
if eval "test \"\${$as_ac_var+set}\" = set"; then
8222
echo $ECHO_N "(cached) $ECHO_C" >&6
8224
cat >conftest.$ac_ext <<_ACEOF
8227
cat confdefs.h >>conftest.$ac_ext
8228
cat >>conftest.$ac_ext <<_ACEOF
8229
/* end confdefs.h. */
8230
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8231
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8232
#define $ac_func innocuous_$ac_func
8234
/* System header to define __stub macros and hopefully few prototypes,
8235
which can conflict with char $ac_func (); below.
8236
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8237
<limits.h> exists even on freestanding compilers. */
8240
# include <limits.h>
8242
# include <assert.h>
8247
/* Override any gcc2 internal prototype to avoid an error. */
8252
/* We use char because int might match the return type of a gcc2
8253
builtin and then its argument prototype would still apply. */
8255
/* The GNU C library defines this for functions which it implements
8256
to always fail with ENOSYS. Some functions are actually named
8257
something starting with __ and the normal name is an alias. */
8258
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8261
char (*f) () = $ac_func;
8270
return f != $ac_func;
8275
rm -f conftest.$ac_objext conftest$ac_exeext
8276
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8277
(eval $ac_link) 2>conftest.er1
8279
grep -v '^ *+' conftest.er1 >conftest.err
8281
cat conftest.err >&5
8282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8283
(exit $ac_status); } &&
8284
{ ac_try='test -z "$ac_c_werror_flag"
8285
|| test ! -s conftest.err'
8286
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8289
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290
(exit $ac_status); }; } &&
8291
{ ac_try='test -s conftest$ac_exeext'
8292
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8295
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296
(exit $ac_status); }; }; then
8297
eval "$as_ac_var=yes"
8299
echo "$as_me: failed program was:" >&5
8300
sed 's/^/| /' conftest.$ac_ext >&5
8302
eval "$as_ac_var=no"
8304
rm -f conftest.err conftest.$ac_objext \
8305
conftest$ac_exeext conftest.$ac_ext
8307
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8308
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8309
if test `eval echo '${'$as_ac_var'}'` = yes; then
8310
cat >>confdefs.h <<_ACEOF
8311
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8323
for ac_func in strdup strndup strerror strstr strsep stpcpy
8325
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8326
echo "$as_me:$LINENO: checking for $ac_func" >&5
8327
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8328
if eval "test \"\${$as_ac_var+set}\" = set"; then
8329
echo $ECHO_N "(cached) $ECHO_C" >&6
8331
cat >conftest.$ac_ext <<_ACEOF
8334
cat confdefs.h >>conftest.$ac_ext
8335
cat >>conftest.$ac_ext <<_ACEOF
8336
/* end confdefs.h. */
8337
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8338
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8339
#define $ac_func innocuous_$ac_func
8341
/* System header to define __stub macros and hopefully few prototypes,
8342
which can conflict with char $ac_func (); below.
8343
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8344
<limits.h> exists even on freestanding compilers. */
8347
# include <limits.h>
8349
# include <assert.h>
8354
/* Override any gcc2 internal prototype to avoid an error. */
8359
/* We use char because int might match the return type of a gcc2
8360
builtin and then its argument prototype would still apply. */
8362
/* The GNU C library defines this for functions which it implements
8363
to always fail with ENOSYS. Some functions are actually named
8364
something starting with __ and the normal name is an alias. */
8365
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8368
char (*f) () = $ac_func;
8377
return f != $ac_func;
8382
rm -f conftest.$ac_objext conftest$ac_exeext
8383
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8384
(eval $ac_link) 2>conftest.er1
8386
grep -v '^ *+' conftest.er1 >conftest.err
8388
cat conftest.err >&5
8389
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390
(exit $ac_status); } &&
8391
{ ac_try='test -z "$ac_c_werror_flag"
8392
|| test ! -s conftest.err'
8393
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8396
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8397
(exit $ac_status); }; } &&
8398
{ ac_try='test -s conftest$ac_exeext'
8399
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8402
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403
(exit $ac_status); }; }; then
8404
eval "$as_ac_var=yes"
8406
echo "$as_me: failed program was:" >&5
8407
sed 's/^/| /' conftest.$ac_ext >&5
8409
eval "$as_ac_var=no"
8411
rm -f conftest.err conftest.$ac_objext \
8412
conftest$ac_exeext conftest.$ac_ext
8414
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8415
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8416
if test `eval echo '${'$as_ac_var'}'` = yes; then
8417
cat >>confdefs.h <<_ACEOF
8418
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8426
for ac_func in snprintf asprintf
8428
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8429
echo "$as_me:$LINENO: checking for $ac_func" >&5
8430
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8431
if eval "test \"\${$as_ac_var+set}\" = set"; then
8432
echo $ECHO_N "(cached) $ECHO_C" >&6
8434
cat >conftest.$ac_ext <<_ACEOF
8437
cat confdefs.h >>conftest.$ac_ext
8438
cat >>conftest.$ac_ext <<_ACEOF
8439
/* end confdefs.h. */
8440
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8441
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8442
#define $ac_func innocuous_$ac_func
8444
/* System header to define __stub macros and hopefully few prototypes,
8445
which can conflict with char $ac_func (); below.
8446
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8447
<limits.h> exists even on freestanding compilers. */
8450
# include <limits.h>
8452
# include <assert.h>
8457
/* Override any gcc2 internal prototype to avoid an error. */
8462
/* We use char because int might match the return type of a gcc2
8463
builtin and then its argument prototype would still apply. */
8465
/* The GNU C library defines this for functions which it implements
8466
to always fail with ENOSYS. Some functions are actually named
8467
something starting with __ and the normal name is an alias. */
8468
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8471
char (*f) () = $ac_func;
8480
return f != $ac_func;
8485
rm -f conftest.$ac_objext conftest$ac_exeext
8486
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8487
(eval $ac_link) 2>conftest.er1
8489
grep -v '^ *+' conftest.er1 >conftest.err
8491
cat conftest.err >&5
8492
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493
(exit $ac_status); } &&
8494
{ ac_try='test -z "$ac_c_werror_flag"
8495
|| test ! -s conftest.err'
8496
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500
(exit $ac_status); }; } &&
8501
{ ac_try='test -s conftest$ac_exeext'
8502
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8505
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506
(exit $ac_status); }; }; then
8507
eval "$as_ac_var=yes"
8509
echo "$as_me: failed program was:" >&5
8510
sed 's/^/| /' conftest.$ac_ext >&5
8512
eval "$as_ac_var=no"
8514
rm -f conftest.err conftest.$ac_objext \
8515
conftest$ac_exeext conftest.$ac_ext
8517
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8518
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8519
if test `eval echo '${'$as_ac_var'}'` = yes; then
8520
cat >>confdefs.h <<_ACEOF
8521
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8533
for ac_func in gethostname gettimeofday select socket uname getopt_long
8535
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8536
echo "$as_me:$LINENO: checking for $ac_func" >&5
8537
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8538
if eval "test \"\${$as_ac_var+set}\" = set"; then
8539
echo $ECHO_N "(cached) $ECHO_C" >&6
8541
cat >conftest.$ac_ext <<_ACEOF
8544
cat confdefs.h >>conftest.$ac_ext
8545
cat >>conftest.$ac_ext <<_ACEOF
8546
/* end confdefs.h. */
8547
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8548
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8549
#define $ac_func innocuous_$ac_func
8551
/* System header to define __stub macros and hopefully few prototypes,
8552
which can conflict with char $ac_func (); below.
8553
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8554
<limits.h> exists even on freestanding compilers. */
8557
# include <limits.h>
8559
# include <assert.h>
8564
/* Override any gcc2 internal prototype to avoid an error. */
8569
/* We use char because int might match the return type of a gcc2
8570
builtin and then its argument prototype would still apply. */
8572
/* The GNU C library defines this for functions which it implements
8573
to always fail with ENOSYS. Some functions are actually named
8574
something starting with __ and the normal name is an alias. */
8575
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8578
char (*f) () = $ac_func;
8587
return f != $ac_func;
8592
rm -f conftest.$ac_objext conftest$ac_exeext
8593
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8594
(eval $ac_link) 2>conftest.er1
8596
grep -v '^ *+' conftest.er1 >conftest.err
8598
cat conftest.err >&5
8599
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8600
(exit $ac_status); } &&
8601
{ ac_try='test -z "$ac_c_werror_flag"
8602
|| test ! -s conftest.err'
8603
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8606
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607
(exit $ac_status); }; } &&
8608
{ ac_try='test -s conftest$ac_exeext'
8609
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613
(exit $ac_status); }; }; then
8614
eval "$as_ac_var=yes"
8616
echo "$as_me: failed program was:" >&5
8617
sed 's/^/| /' conftest.$ac_ext >&5
8619
eval "$as_ac_var=no"
8621
rm -f conftest.err conftest.$ac_objext \
8622
conftest$ac_exeext conftest.$ac_ext
8624
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8625
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8626
if test `eval echo '${'$as_ac_var'}'` = yes; then
8627
cat >>confdefs.h <<_ACEOF
8628
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8636
for ac_func in _rpc_dtablesize getdtablesize
8638
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8639
echo "$as_me:$LINENO: checking for $ac_func" >&5
8640
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8641
if eval "test \"\${$as_ac_var+set}\" = set"; then
8642
echo $ECHO_N "(cached) $ECHO_C" >&6
8644
cat >conftest.$ac_ext <<_ACEOF
8647
cat confdefs.h >>conftest.$ac_ext
8648
cat >>conftest.$ac_ext <<_ACEOF
8649
/* end confdefs.h. */
8650
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8651
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8652
#define $ac_func innocuous_$ac_func
8654
/* System header to define __stub macros and hopefully few prototypes,
8655
which can conflict with char $ac_func (); below.
8656
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8657
<limits.h> exists even on freestanding compilers. */
8660
# include <limits.h>
8662
# include <assert.h>
8667
/* Override any gcc2 internal prototype to avoid an error. */
8672
/* We use char because int might match the return type of a gcc2
8673
builtin and then its argument prototype would still apply. */
8675
/* The GNU C library defines this for functions which it implements
8676
to always fail with ENOSYS. Some functions are actually named
8677
something starting with __ and the normal name is an alias. */
8678
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8681
char (*f) () = $ac_func;
8690
return f != $ac_func;
8695
rm -f conftest.$ac_objext conftest$ac_exeext
8696
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8697
(eval $ac_link) 2>conftest.er1
8699
grep -v '^ *+' conftest.er1 >conftest.err
8701
cat conftest.err >&5
8702
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703
(exit $ac_status); } &&
8704
{ ac_try='test -z "$ac_c_werror_flag"
8705
|| test ! -s conftest.err'
8706
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8709
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710
(exit $ac_status); }; } &&
8711
{ ac_try='test -s conftest$ac_exeext'
8712
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8715
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716
(exit $ac_status); }; }; then
8717
eval "$as_ac_var=yes"
8719
echo "$as_me: failed program was:" >&5
8720
sed 's/^/| /' conftest.$ac_ext >&5
8722
eval "$as_ac_var=no"
8724
rm -f conftest.err conftest.$ac_objext \
8725
conftest$ac_exeext conftest.$ac_ext
8727
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8728
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8729
if test `eval echo '${'$as_ac_var'}'` = yes; then
8730
cat >>confdefs.h <<_ACEOF
8731
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8741
for ac_func in svc_getcaller svc_getrpccaller getline getdelim
8743
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8744
echo "$as_me:$LINENO: checking for $ac_func" >&5
8745
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8746
if eval "test \"\${$as_ac_var+set}\" = set"; then
8747
echo $ECHO_N "(cached) $ECHO_C" >&6
8749
cat >conftest.$ac_ext <<_ACEOF
8752
cat confdefs.h >>conftest.$ac_ext
8753
cat >>conftest.$ac_ext <<_ACEOF
8754
/* end confdefs.h. */
8755
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8756
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8757
#define $ac_func innocuous_$ac_func
8759
/* System header to define __stub macros and hopefully few prototypes,
8760
which can conflict with char $ac_func (); below.
8761
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8762
<limits.h> exists even on freestanding compilers. */
8765
# include <limits.h>
8767
# include <assert.h>
8772
/* Override any gcc2 internal prototype to avoid an error. */
8777
/* We use char because int might match the return type of a gcc2
8778
builtin and then its argument prototype would still apply. */
8780
/* The GNU C library defines this for functions which it implements
8781
to always fail with ENOSYS. Some functions are actually named
8782
something starting with __ and the normal name is an alias. */
8783
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8786
char (*f) () = $ac_func;
8795
return f != $ac_func;
8800
rm -f conftest.$ac_objext conftest$ac_exeext
8801
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8802
(eval $ac_link) 2>conftest.er1
8804
grep -v '^ *+' conftest.er1 >conftest.err
8806
cat conftest.err >&5
8807
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808
(exit $ac_status); } &&
8809
{ ac_try='test -z "$ac_c_werror_flag"
8810
|| test ! -s conftest.err'
8811
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8814
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815
(exit $ac_status); }; } &&
8816
{ ac_try='test -s conftest$ac_exeext'
8817
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821
(exit $ac_status); }; }; then
8822
eval "$as_ac_var=yes"
8824
echo "$as_me: failed program was:" >&5
8825
sed 's/^/| /' conftest.$ac_ext >&5
8827
eval "$as_ac_var=no"
8829
rm -f conftest.err conftest.$ac_objext \
8830
conftest$ac_exeext conftest.$ac_ext
8832
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8833
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8834
if test `eval echo '${'$as_ac_var'}'` = yes; then
8835
cat >>confdefs.h <<_ACEOF
8836
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8846
for ac_func in xdr_domainname xdr_ypxfrstat xdr_ypresp_xfr xdr_ypreq_xfr
8848
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8849
echo "$as_me:$LINENO: checking for $ac_func" >&5
8850
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8851
if eval "test \"\${$as_ac_var+set}\" = set"; then
8852
echo $ECHO_N "(cached) $ECHO_C" >&6
8854
cat >conftest.$ac_ext <<_ACEOF
8857
cat confdefs.h >>conftest.$ac_ext
8858
cat >>conftest.$ac_ext <<_ACEOF
8859
/* end confdefs.h. */
8860
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8861
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8862
#define $ac_func innocuous_$ac_func
8864
/* System header to define __stub macros and hopefully few prototypes,
8865
which can conflict with char $ac_func (); below.
8866
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8867
<limits.h> exists even on freestanding compilers. */
8870
# include <limits.h>
8872
# include <assert.h>
8877
/* Override any gcc2 internal prototype to avoid an error. */
8882
/* We use char because int might match the return type of a gcc2
8883
builtin and then its argument prototype would still apply. */
8885
/* The GNU C library defines this for functions which it implements
8886
to always fail with ENOSYS. Some functions are actually named
8887
something starting with __ and the normal name is an alias. */
8888
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8891
char (*f) () = $ac_func;
8900
return f != $ac_func;
8905
rm -f conftest.$ac_objext conftest$ac_exeext
8906
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8907
(eval $ac_link) 2>conftest.er1
8909
grep -v '^ *+' conftest.er1 >conftest.err
8911
cat conftest.err >&5
8912
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913
(exit $ac_status); } &&
8914
{ ac_try='test -z "$ac_c_werror_flag"
8915
|| test ! -s conftest.err'
8916
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8919
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920
(exit $ac_status); }; } &&
8921
{ ac_try='test -s conftest$ac_exeext'
8922
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8925
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926
(exit $ac_status); }; }; then
8927
eval "$as_ac_var=yes"
8929
echo "$as_me: failed program was:" >&5
8930
sed 's/^/| /' conftest.$ac_ext >&5
8932
eval "$as_ac_var=no"
8934
rm -f conftest.err conftest.$ac_objext \
8935
conftest$ac_exeext conftest.$ac_ext
8937
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8938
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8939
if test `eval echo '${'$as_ac_var'}'` = yes; then
8940
cat >>confdefs.h <<_ACEOF
8941
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8951
for ac_func in xdr_ypmap_parms xdr_ypreq_nokey xdr_ypresp_master xdr_mapname
8953
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8954
echo "$as_me:$LINENO: checking for $ac_func" >&5
8955
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8956
if eval "test \"\${$as_ac_var+set}\" = set"; then
8957
echo $ECHO_N "(cached) $ECHO_C" >&6
8959
cat >conftest.$ac_ext <<_ACEOF
8962
cat confdefs.h >>conftest.$ac_ext
8963
cat >>conftest.$ac_ext <<_ACEOF
8964
/* end confdefs.h. */
8965
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8966
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8967
#define $ac_func innocuous_$ac_func
8969
/* System header to define __stub macros and hopefully few prototypes,
8970
which can conflict with char $ac_func (); below.
8971
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8972
<limits.h> exists even on freestanding compilers. */
8975
# include <limits.h>
8977
# include <assert.h>
8982
/* Override any gcc2 internal prototype to avoid an error. */
8987
/* We use char because int might match the return type of a gcc2
8988
builtin and then its argument prototype would still apply. */
8990
/* The GNU C library defines this for functions which it implements
8991
to always fail with ENOSYS. Some functions are actually named
8992
something starting with __ and the normal name is an alias. */
8993
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8996
char (*f) () = $ac_func;
9005
return f != $ac_func;
9010
rm -f conftest.$ac_objext conftest$ac_exeext
9011
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9012
(eval $ac_link) 2>conftest.er1
9014
grep -v '^ *+' conftest.er1 >conftest.err
9016
cat conftest.err >&5
9017
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018
(exit $ac_status); } &&
9019
{ ac_try='test -z "$ac_c_werror_flag"
9020
|| test ! -s conftest.err'
9021
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9024
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9025
(exit $ac_status); }; } &&
9026
{ ac_try='test -s conftest$ac_exeext'
9027
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9030
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031
(exit $ac_status); }; }; then
9032
eval "$as_ac_var=yes"
9034
echo "$as_me: failed program was:" >&5
9035
sed 's/^/| /' conftest.$ac_ext >&5
9037
eval "$as_ac_var=no"
9039
rm -f conftest.err conftest.$ac_objext \
9040
conftest$ac_exeext conftest.$ac_ext
9042
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9043
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9044
if test `eval echo '${'$as_ac_var'}'` = yes; then
9045
cat >>confdefs.h <<_ACEOF
9046
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9056
for ac_func in xdr_peername xdr_ypstat xdr_ypbind_binding xdr_yppushresp_xfr
9058
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9059
echo "$as_me:$LINENO: checking for $ac_func" >&5
9060
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9061
if eval "test \"\${$as_ac_var+set}\" = set"; then
9062
echo $ECHO_N "(cached) $ECHO_C" >&6
9064
cat >conftest.$ac_ext <<_ACEOF
9067
cat confdefs.h >>conftest.$ac_ext
9068
cat >>conftest.$ac_ext <<_ACEOF
9069
/* end confdefs.h. */
9070
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9071
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9072
#define $ac_func innocuous_$ac_func
9074
/* System header to define __stub macros and hopefully few prototypes,
9075
which can conflict with char $ac_func (); below.
9076
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9077
<limits.h> exists even on freestanding compilers. */
9080
# include <limits.h>
9082
# include <assert.h>
9087
/* Override any gcc2 internal prototype to avoid an error. */
9092
/* We use char because int might match the return type of a gcc2
9093
builtin and then its argument prototype would still apply. */
9095
/* The GNU C library defines this for functions which it implements
9096
to always fail with ENOSYS. Some functions are actually named
9097
something starting with __ and the normal name is an alias. */
9098
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9101
char (*f) () = $ac_func;
9110
return f != $ac_func;
9115
rm -f conftest.$ac_objext conftest$ac_exeext
9116
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9117
(eval $ac_link) 2>conftest.er1
9119
grep -v '^ *+' conftest.er1 >conftest.err
9121
cat conftest.err >&5
9122
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123
(exit $ac_status); } &&
9124
{ ac_try='test -z "$ac_c_werror_flag"
9125
|| test ! -s conftest.err'
9126
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9129
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9130
(exit $ac_status); }; } &&
9131
{ ac_try='test -s conftest$ac_exeext'
9132
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9135
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9136
(exit $ac_status); }; }; then
9137
eval "$as_ac_var=yes"
9139
echo "$as_me: failed program was:" >&5
9140
sed 's/^/| /' conftest.$ac_ext >&5
9142
eval "$as_ac_var=no"
9144
rm -f conftest.err conftest.$ac_objext \
9145
conftest$ac_exeext conftest.$ac_ext
9147
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9148
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9149
if test `eval echo '${'$as_ac_var'}'` = yes; then
9150
cat >>confdefs.h <<_ACEOF
9151
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9158
for ac_func in xdr_yppush_status
9160
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9161
echo "$as_me:$LINENO: checking for $ac_func" >&5
9162
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9163
if eval "test \"\${$as_ac_var+set}\" = set"; then
9164
echo $ECHO_N "(cached) $ECHO_C" >&6
9166
cat >conftest.$ac_ext <<_ACEOF
9169
cat confdefs.h >>conftest.$ac_ext
9170
cat >>conftest.$ac_ext <<_ACEOF
9171
/* end confdefs.h. */
9172
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9173
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9174
#define $ac_func innocuous_$ac_func
9176
/* System header to define __stub macros and hopefully few prototypes,
9177
which can conflict with char $ac_func (); below.
9178
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9179
<limits.h> exists even on freestanding compilers. */
9182
# include <limits.h>
9184
# include <assert.h>
9189
/* Override any gcc2 internal prototype to avoid an error. */
9194
/* We use char because int might match the return type of a gcc2
9195
builtin and then its argument prototype would still apply. */
9197
/* The GNU C library defines this for functions which it implements
9198
to always fail with ENOSYS. Some functions are actually named
9199
something starting with __ and the normal name is an alias. */
9200
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9203
char (*f) () = $ac_func;
9212
return f != $ac_func;
9217
rm -f conftest.$ac_objext conftest$ac_exeext
9218
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9219
(eval $ac_link) 2>conftest.er1
9221
grep -v '^ *+' conftest.er1 >conftest.err
9223
cat conftest.err >&5
9224
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225
(exit $ac_status); } &&
9226
{ ac_try='test -z "$ac_c_werror_flag"
9227
|| test ! -s conftest.err'
9228
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9231
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232
(exit $ac_status); }; } &&
9233
{ ac_try='test -s conftest$ac_exeext'
9234
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9237
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238
(exit $ac_status); }; }; then
9239
eval "$as_ac_var=yes"
9241
echo "$as_me: failed program was:" >&5
9242
sed 's/^/| /' conftest.$ac_ext >&5
9244
eval "$as_ac_var=no"
9246
rm -f conftest.err conftest.$ac_objext \
9247
conftest$ac_exeext conftest.$ac_ext
9249
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9250
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9251
if test `eval echo '${'$as_ac_var'}'` = yes; then
9252
cat >>confdefs.h <<_ACEOF
9253
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9260
ac_config_files="$ac_config_files lib/Makefile etc/Makefile ypserv/Makefile ypserv/ypserv.8 ypxfr/Makefile ypxfr/ypxfr.8 yppush/Makefile yppush/yppush.8 makedbm/Makefile makedbm/makedbm.8 revnetgroup/Makefile revnetgroup/revnetgroup.8 Makefile mknetid/Makefile mknetid/mknetid.8 rpc.ypxfrd/Makefile rpc.ypxfrd/rpc.ypxfrd.8 rpc.ypxfrd/ypxfrd.8 rpc.yppasswdd/Makefile rpc.yppasswdd/yppasswdd.8 rpc.yppasswdd/rpc.yppasswdd.8 yphelper/Makefile scripts/Makefile scripts/ypxfr_1perhour scripts/ypxfr_1perday scripts/ypxfr_2perday scripts/pwupdate scripts/pwupdate.8 scripts/create_printcap scripts/match_printcap scripts/ypinit scripts/ypinit.8 scripts/ypMakefile"
9261
cat >confcache <<\_ACEOF
9262
# This file is a shell script that caches the results of configure
9263
# tests run on this system so they can be shared between configure
9264
# scripts and configure runs, see configure's option --config-cache.
9265
# It is not useful on other systems. If it contains results you don't
9266
# want to keep, you may remove or edit it.
9268
# config.status only pays attention to the cache file if you give it
9269
# the --recheck option to rerun configure.
9271
# `ac_cv_env_foo' variables (set or unset) will be overridden when
9272
# loading this file, other *unset* `ac_cv_foo' will be assigned the
9277
# The following way of writing the cache mishandles newlines in values,
9278
# but we know of no workaround that is simple, portable, and efficient.
9279
# So, don't put newlines in cache variables' values.
9280
# Ultrix sh set writes to stderr and can't be redirected directly,
9281
# and sets the high bit in the cache file unless we assign to the vars.
9284
case `(ac_space=' '; set | grep ac_space) 2>&1` in
9286
# `set' does not quote correctly, so add quotes (double-quote
9287
# substitution turns \\\\ into \\, and sed turns \\ into \).
9290
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9293
# `set' quotes correctly as required by POSIX, so do not add quotes.
9295
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9302
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9304
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9306
if diff $cache_file confcache >/dev/null 2>&1; then :; else
9307
if test -w $cache_file; then
9308
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9309
cat confcache >$cache_file
9311
echo "not updating unwritable cache $cache_file"
9316
test "x$prefix" = xNONE && prefix=$ac_default_prefix
9317
# Let make expand exec_prefix.
9318
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
9320
# VPATH may cause trouble with some makes, so we remove $(srcdir),
9321
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9322
# trailing colons and then remove the whole line if VPATH becomes empty
9323
# (actually we leave an empty line to preserve line numbers).
9324
if test "x$srcdir" = x.; then
9325
ac_vpsub='/^[ ]*VPATH[ ]*=/{
9326
s/:*\$(srcdir):*/:/;
9327
s/:*\${srcdir}:*/:/;
9329
s/^\([^=]*=[ ]*\):*/\1/;
9335
DEFS=-DHAVE_CONFIG_H
9339
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
9340
# 1. Remove the extension, and $U if already installed.
9341
ac_i=`echo "$ac_i" |
9342
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9344
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
9345
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
9349
LTLIBOBJS=$ac_ltlibobjs
9352
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
9353
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
9354
Usually this means the macro was only invoked conditionally." >&5
9355
echo "$as_me: error: conditional \"AMDEP\" was never defined.
9356
Usually this means the macro was only invoked conditionally." >&2;}
9357
{ (exit 1); exit 1; }; }
9359
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
9360
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
9361
Usually this means the macro was only invoked conditionally." >&5
9362
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
9363
Usually this means the macro was only invoked conditionally." >&2;}
9364
{ (exit 1); exit 1; }; }
9367
: ${CONFIG_STATUS=./config.status}
9368
ac_clean_files_save=$ac_clean_files
9369
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
9370
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9371
echo "$as_me: creating $CONFIG_STATUS" >&6;}
9372
cat >$CONFIG_STATUS <<_ACEOF
9374
# Generated by $as_me.
9375
# Run this file to recreate the current configuration.
9376
# Compiler output produced by configure, useful for debugging
9377
# configure, is in config.log if it exists.
9382
SHELL=\${CONFIG_SHELL-$SHELL}
9385
cat >>$CONFIG_STATUS <<\_ACEOF
9386
## --------------------- ##
9387
## M4sh Initialization. ##
9388
## --------------------- ##
9390
# Be Bourne compatible
9391
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9394
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9395
# is contrary to our usage. Disable this feature.
9396
alias -g '${1+"$@"}'='"$@"'
9397
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9400
DUALCASE=1; export DUALCASE # for MKS sh
9402
# Support unset when possible.
9403
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
9410
# Work around bugs in pre-3.0 UWIN ksh.
9411
$as_unset ENV MAIL MAILPATH
9418
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9419
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9420
LC_TELEPHONE LC_TIME
9422
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9423
eval $as_var=C; export $as_var
9429
# Required to use basename.
9430
if expr a : '\(a\)' >/dev/null 2>&1; then
9436
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9437
as_basename=basename
9443
# Name of the executable.
9444
as_me=`$as_basename "$0" ||
9445
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9446
X"$0" : 'X\(//\)$' \| \
9447
X"$0" : 'X\(/\)$' \| \
9448
. : '\(.\)' 2>/dev/null ||
9450
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9451
/^X\/\(\/\/\)$/{ s//\1/; q; }
9452
/^X\/\(\/\).*/{ s//\1/; q; }
9456
# PATH needs CR, and LINENO needs CR and PATH.
9457
# Avoid depending upon Character Ranges.
9458
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
9459
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9460
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
9461
as_cr_digits='0123456789'
9462
as_cr_alnum=$as_cr_Letters$as_cr_digits
9464
# The user is always right.
9465
if test "${PATH_SEPARATOR+set}" != set; then
9466
echo "#! /bin/sh" >conf$$.sh
9467
echo "exit 0" >>conf$$.sh
9469
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9480
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9481
test "x$as_lineno_1" != "x$as_lineno_2" &&
9482
test "x$as_lineno_3" = "x$as_lineno_2" || {
9483
# Find who we are. Look in the path if we contain no path at all
9486
*[\\/]* ) as_myself=$0 ;;
9487
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9491
test -z "$as_dir" && as_dir=.
9492
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9497
# We did not find ourselves, most probably we were run as `sh COMMAND'
9498
# in which case we are not to be found in the path.
9499
if test "x$as_myself" = x; then
9502
if test ! -f "$as_myself"; then
9503
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9504
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9505
{ (exit 1); exit 1; }; }
9507
case $CONFIG_SHELL in
9509
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9510
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
9513
test -z "$as_dir" && as_dir=.
9514
for as_base in sh bash ksh sh5; do
9517
if ("$as_dir/$as_base" -c '
9520
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9521
test "x$as_lineno_1" != "x$as_lineno_2" &&
9522
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
9523
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
9524
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
9525
CONFIG_SHELL=$as_dir/$as_base
9527
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9535
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9536
# uniformly replaced by the line number. The first 'sed' inserts a
9537
# line-number line before each line; the second 'sed' does the real
9538
# work. The second script uses 'N' to pair each line-number line
9539
# with the numbered line, and appends trailing '-' during
9540
# substitution so that $LINENO is not a special case at line end.
9541
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9542
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9543
sed '=' <$as_myself |
9548
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9551
s,^['$as_cr_digits']*\n,,
9553
chmod +x $as_me.lineno ||
9554
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9555
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9556
{ (exit 1); exit 1; }; }
9558
# Don't try to exec as it changes $[0], causing all sort of problems
9559
# (the dirname of $[0] is not the place where we might find the
9560
# original and so on. Autoconf is especially sensible to this).
9562
# Exit status is that of the last command.
9567
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9568
*c*,-n*) ECHO_N= ECHO_C='
9570
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9571
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
9574
if expr a : '\(a\)' >/dev/null 2>&1; then
9580
rm -f conf$$ conf$$.exe conf$$.file
9582
if ln -s conf$$.file conf$$ 2>/dev/null; then
9583
# We could just check for DJGPP; but this test a) works b) is more generic
9584
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9585
if test -f conf$$.exe; then
9586
# Don't use ln at all; we don't have any links
9591
elif ln conf$$.file conf$$ 2>/dev/null; then
9596
rm -f conf$$ conf$$.exe conf$$.file
9598
if mkdir -p . 2>/dev/null; then
9601
test -d ./-p && rmdir ./-p
9605
as_executable_p="test -f"
9607
# Sed expression to map a string onto a valid CPP name.
9608
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9610
# Sed expression to map a string onto a valid variable name.
9611
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9615
# We need space, tab and new line, in precisely that order.
9625
# Open the log real soon, to keep \$[0] and so on meaningful, and to
9626
# report actual input values of CONFIG_FILES etc. instead of their
9627
# values after options handling. Logging --version etc. is OK.
9631
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9632
## Running $as_me. ##
9637
This file was extended by ypserv $as_me 2.18, which was
9638
generated by GNU Autoconf 2.59. Invocation command line was
9640
CONFIG_FILES = $CONFIG_FILES
9641
CONFIG_HEADERS = $CONFIG_HEADERS
9642
CONFIG_LINKS = $CONFIG_LINKS
9643
CONFIG_COMMANDS = $CONFIG_COMMANDS
9647
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9651
# Files that config.status was made for.
9652
if test -n "$ac_config_files"; then
9653
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9656
if test -n "$ac_config_headers"; then
9657
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9660
if test -n "$ac_config_links"; then
9661
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9664
if test -n "$ac_config_commands"; then
9665
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9668
cat >>$CONFIG_STATUS <<\_ACEOF
9671
\`$as_me' instantiates files from templates according to the
9672
current configuration.
9674
Usage: $0 [OPTIONS] [FILE]...
9676
-h, --help print this help, then exit
9677
-V, --version print version number, then exit
9678
-q, --quiet do not print progress messages
9679
-d, --debug don't remove temporary files
9680
--recheck update $as_me by reconfiguring in the same conditions
9681
--file=FILE[:TEMPLATE]
9682
instantiate the configuration file FILE
9683
--header=FILE[:TEMPLATE]
9684
instantiate the configuration header FILE
9686
Configuration files:
9689
Configuration headers:
9692
Configuration commands:
9695
Report bugs to <bug-autoconf@gnu.org>."
9698
cat >>$CONFIG_STATUS <<_ACEOF
9700
ypserv config.status 2.18
9701
configured by $0, generated by GNU Autoconf 2.59,
9702
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9704
Copyright (C) 2003 Free Software Foundation, Inc.
9705
This config.status script is free software; the Free Software Foundation
9706
gives unlimited permission to copy, distribute and modify it."
9711
cat >>$CONFIG_STATUS <<\_ACEOF
9712
# If no file are specified by the user, then we need to provide default
9713
# value. By we need to know if files were specified by the user.
9719
ac_option=`expr "x$1" : 'x\([^=]*\)='`
9720
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
9728
*) # This is not an option, so the user has probably given explicit
9731
ac_need_defaults=false;;
9735
# Handling of the options.
9737
cat >>$CONFIG_STATUS <<\_ACEOF
9738
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9740
--version | --vers* | -V )
9741
echo "$ac_cs_version"; exit 0 ;;
9743
# Conflict between --help and --header
9744
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
9745
Try \`$0 --help' for more information." >&5
9746
echo "$as_me: error: ambiguous option: $1
9747
Try \`$0 --help' for more information." >&2;}
9748
{ (exit 1); exit 1; }; };;
9749
--help | --hel | -h )
9750
echo "$ac_cs_usage"; exit 0 ;;
9751
--debug | --d* | -d )
9753
--file | --fil | --fi | --f )
9755
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9756
ac_need_defaults=false;;
9757
--header | --heade | --head | --hea )
9759
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9760
ac_need_defaults=false;;
9761
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
9762
| -silent | --silent | --silen | --sile | --sil | --si | --s)
9766
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9767
Try \`$0 --help' for more information." >&5
9768
echo "$as_me: error: unrecognized option: $1
9769
Try \`$0 --help' for more information." >&2;}
9770
{ (exit 1); exit 1; }; } ;;
9772
*) ac_config_targets="$ac_config_targets $1" ;;
9778
ac_configure_extra_args=
9780
if $ac_cs_silent; then
9782
ac_configure_extra_args="$ac_configure_extra_args --silent"
9786
cat >>$CONFIG_STATUS <<_ACEOF
9787
if \$ac_cs_recheck; then
9788
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9789
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9794
cat >>$CONFIG_STATUS <<_ACEOF
9796
# INIT-COMMANDS section.
9799
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9805
cat >>$CONFIG_STATUS <<\_ACEOF
9806
for ac_config_target in $ac_config_targets
9808
case "$ac_config_target" in
9809
# Handling of arguments.
9810
"lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
9811
"etc/Makefile" ) CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
9812
"ypserv/Makefile" ) CONFIG_FILES="$CONFIG_FILES ypserv/Makefile" ;;
9813
"ypserv/ypserv.8" ) CONFIG_FILES="$CONFIG_FILES ypserv/ypserv.8" ;;
9814
"ypxfr/Makefile" ) CONFIG_FILES="$CONFIG_FILES ypxfr/Makefile" ;;
9815
"ypxfr/ypxfr.8" ) CONFIG_FILES="$CONFIG_FILES ypxfr/ypxfr.8" ;;
9816
"yppush/Makefile" ) CONFIG_FILES="$CONFIG_FILES yppush/Makefile" ;;
9817
"yppush/yppush.8" ) CONFIG_FILES="$CONFIG_FILES yppush/yppush.8" ;;
9818
"makedbm/Makefile" ) CONFIG_FILES="$CONFIG_FILES makedbm/Makefile" ;;
9819
"makedbm/makedbm.8" ) CONFIG_FILES="$CONFIG_FILES makedbm/makedbm.8" ;;
9820
"revnetgroup/Makefile" ) CONFIG_FILES="$CONFIG_FILES revnetgroup/Makefile" ;;
9821
"revnetgroup/revnetgroup.8" ) CONFIG_FILES="$CONFIG_FILES revnetgroup/revnetgroup.8" ;;
9822
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9823
"mknetid/Makefile" ) CONFIG_FILES="$CONFIG_FILES mknetid/Makefile" ;;
9824
"mknetid/mknetid.8" ) CONFIG_FILES="$CONFIG_FILES mknetid/mknetid.8" ;;
9825
"rpc.ypxfrd/Makefile" ) CONFIG_FILES="$CONFIG_FILES rpc.ypxfrd/Makefile" ;;
9826
"rpc.ypxfrd/rpc.ypxfrd.8" ) CONFIG_FILES="$CONFIG_FILES rpc.ypxfrd/rpc.ypxfrd.8" ;;
9827
"rpc.ypxfrd/ypxfrd.8" ) CONFIG_FILES="$CONFIG_FILES rpc.ypxfrd/ypxfrd.8" ;;
9828
"rpc.yppasswdd/Makefile" ) CONFIG_FILES="$CONFIG_FILES rpc.yppasswdd/Makefile" ;;
9829
"rpc.yppasswdd/yppasswdd.8" ) CONFIG_FILES="$CONFIG_FILES rpc.yppasswdd/yppasswdd.8" ;;
9830
"rpc.yppasswdd/rpc.yppasswdd.8" ) CONFIG_FILES="$CONFIG_FILES rpc.yppasswdd/rpc.yppasswdd.8" ;;
9831
"yphelper/Makefile" ) CONFIG_FILES="$CONFIG_FILES yphelper/Makefile" ;;
9832
"scripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
9833
"scripts/ypxfr_1perhour" ) CONFIG_FILES="$CONFIG_FILES scripts/ypxfr_1perhour" ;;
9834
"scripts/ypxfr_1perday" ) CONFIG_FILES="$CONFIG_FILES scripts/ypxfr_1perday" ;;
9835
"scripts/ypxfr_2perday" ) CONFIG_FILES="$CONFIG_FILES scripts/ypxfr_2perday" ;;
9836
"scripts/pwupdate" ) CONFIG_FILES="$CONFIG_FILES scripts/pwupdate" ;;
9837
"scripts/pwupdate.8" ) CONFIG_FILES="$CONFIG_FILES scripts/pwupdate.8" ;;
9838
"scripts/create_printcap" ) CONFIG_FILES="$CONFIG_FILES scripts/create_printcap" ;;
9839
"scripts/match_printcap" ) CONFIG_FILES="$CONFIG_FILES scripts/match_printcap" ;;
9840
"scripts/ypinit" ) CONFIG_FILES="$CONFIG_FILES scripts/ypinit" ;;
9841
"scripts/ypinit.8" ) CONFIG_FILES="$CONFIG_FILES scripts/ypinit.8" ;;
9842
"scripts/ypMakefile" ) CONFIG_FILES="$CONFIG_FILES scripts/ypMakefile" ;;
9843
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9844
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9845
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9846
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9847
{ (exit 1); exit 1; }; };;
9851
# If the user did not use the arguments to specify the items to instantiate,
9852
# then the envvar interface is used. Set only those that are not.
9853
# We use the long form for the default assignment because of an extremely
9854
# bizarre bug on SunOS 4.1.3.
9855
if $ac_need_defaults; then
9856
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9857
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9858
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9861
# Have a temporary directory for convenience. Make it in the build tree
9862
# simply because there is no reason to put it here, and in addition,
9863
# creating and moving files from /tmp can sometimes cause problems.
9864
# Create a temporary directory, and hook for its removal unless debugging.
9867
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9868
trap '{ (exit 1); exit 1; }' 1 2 13 15
9871
# Create a (secure) tmp directory for tmp files.
9874
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9875
test -n "$tmp" && test -d "$tmp"
9878
tmp=./confstat$$-$RANDOM
9879
(umask 077 && mkdir $tmp)
9882
echo "$me: cannot create a temporary directory in ." >&2
9883
{ (exit 1); exit 1; }
9888
cat >>$CONFIG_STATUS <<_ACEOF
9891
# CONFIG_FILES section.
9894
# No need to generate the scripts if there are no CONFIG_FILES.
9895
# This happens for instance when ./config.status config.h
9896
if test -n "\$CONFIG_FILES"; then
9897
# Protect against being on the right side of a sed subst in config.status.
9898
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9899
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9900
s,@SHELL@,$SHELL,;t t
9901
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9902
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9903
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9904
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9905
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9906
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9907
s,@exec_prefix@,$exec_prefix,;t t
9908
s,@prefix@,$prefix,;t t
9909
s,@program_transform_name@,$program_transform_name,;t t
9910
s,@bindir@,$bindir,;t t
9911
s,@sbindir@,$sbindir,;t t
9912
s,@libexecdir@,$libexecdir,;t t
9913
s,@datadir@,$datadir,;t t
9914
s,@sysconfdir@,$sysconfdir,;t t
9915
s,@sharedstatedir@,$sharedstatedir,;t t
9916
s,@localstatedir@,$localstatedir,;t t
9917
s,@libdir@,$libdir,;t t
9918
s,@includedir@,$includedir,;t t
9919
s,@oldincludedir@,$oldincludedir,;t t
9920
s,@infodir@,$infodir,;t t
9921
s,@mandir@,$mandir,;t t
9922
s,@build_alias@,$build_alias,;t t
9923
s,@host_alias@,$host_alias,;t t
9924
s,@target_alias@,$target_alias,;t t
9926
s,@ECHO_C@,$ECHO_C,;t t
9927
s,@ECHO_N@,$ECHO_N,;t t
9928
s,@ECHO_T@,$ECHO_T,;t t
9930
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
9931
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
9932
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
9933
s,@CYGPATH_W@,$CYGPATH_W,;t t
9934
s,@PACKAGE@,$PACKAGE,;t t
9935
s,@VERSION@,$VERSION,;t t
9936
s,@ACLOCAL@,$ACLOCAL,;t t
9937
s,@AUTOCONF@,$AUTOCONF,;t t
9938
s,@AUTOMAKE@,$AUTOMAKE,;t t
9939
s,@AUTOHEADER@,$AUTOHEADER,;t t
9940
s,@MAKEINFO@,$MAKEINFO,;t t
9941
s,@install_sh@,$install_sh,;t t
9942
s,@STRIP@,$STRIP,;t t
9943
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
9944
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
9945
s,@mkdir_p@,$mkdir_p,;t t
9947
s,@SET_MAKE@,$SET_MAKE,;t t
9948
s,@am__leading_dot@,$am__leading_dot,;t t
9949
s,@AMTAR@,$AMTAR,;t t
9950
s,@am__tar@,$am__tar,;t t
9951
s,@am__untar@,$am__untar,;t t
9952
s,@YPBINDIR@,$YPBINDIR,;t t
9953
s,@YPMAPDIR@,$YPMAPDIR,;t t
9954
s,@SBINDIR@,$SBINDIR,;t t
9956
s,@CFLAGS@,$CFLAGS,;t t
9957
s,@LDFLAGS@,$LDFLAGS,;t t
9958
s,@CPPFLAGS@,$CPPFLAGS,;t t
9959
s,@ac_ct_CC@,$ac_ct_CC,;t t
9960
s,@EXEEXT@,$EXEEXT,;t t
9961
s,@OBJEXT@,$OBJEXT,;t t
9962
s,@DEPDIR@,$DEPDIR,;t t
9963
s,@am__include@,$am__include,;t t
9964
s,@am__quote@,$am__quote,;t t
9965
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
9966
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
9967
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
9968
s,@CCDEPMODE@,$CCDEPMODE,;t t
9969
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
9970
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
9972
s,@RANLIB@,$RANLIB,;t t
9973
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
9974
s,@libc_cv_fpie@,$libc_cv_fpie,;t t
9975
s,@PIE_CFLAGS@,$PIE_CFLAGS,;t t
9976
s,@PIE_LDFLAGS@,$PIE_LDFLAGS,;t t
9977
s,@EGREP@,$EGREP,;t t
9980
s,@ALIASES@,$ALIASES,;t t
9981
s,@USE_FQDN@,$USE_FQDN,;t t
9982
s,@CHECKROOT@,$CHECKROOT,;t t
9983
s,@LIBDBM@,$LIBDBM,;t t
9984
s,@LIBCRYPT@,$LIBCRYPT,;t t
9985
s,@LIBSLP@,$LIBSLP,;t t
9986
s,@USE_SLP@,$USE_SLP,;t t
9987
s,@RESOLV@,$RESOLV,;t t
9988
s,@LIBOBJS@,$LIBOBJS,;t t
9989
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9994
cat >>$CONFIG_STATUS <<\_ACEOF
9995
# Split the substitutions into bite-sized pieces for seds with
9996
# small command number limits, like on Digital OSF/1 and HP-UX.
9998
ac_sed_frag=1 # Number of current file.
9999
ac_beg=1 # First line for current file.
10000
ac_end=$ac_max_sed_lines # Line after last line for current file.
10003
while $ac_more_lines; do
10004
if test $ac_beg -gt 1; then
10005
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10007
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
10009
if test ! -s $tmp/subs.frag; then
10010
ac_more_lines=false
10012
# The purpose of the label and of the branching condition is to
10013
# speed up the sed processing (if there are no `@' at all, there
10014
# is no need to browse any of the substitutions).
10015
# These are the two extra sed commands mentioned above.
10017
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
10018
if test -z "$ac_sed_cmds"; then
10019
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
10021
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10023
ac_sed_frag=`expr $ac_sed_frag + 1`
10025
ac_end=`expr $ac_end + $ac_max_sed_lines`
10028
if test -z "$ac_sed_cmds"; then
10031
fi # test -n "$CONFIG_FILES"
10034
cat >>$CONFIG_STATUS <<\_ACEOF
10035
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
10036
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10038
- | *:- | *:-:* ) # input from stdin
10040
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10041
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10042
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10043
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10044
* ) ac_file_in=$ac_file.in ;;
10047
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10048
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10049
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10050
X"$ac_file" : 'X\(//\)[^/]' \| \
10051
X"$ac_file" : 'X\(//\)$' \| \
10052
X"$ac_file" : 'X\(/\)' \| \
10053
. : '\(.\)' 2>/dev/null ||
10055
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10056
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10057
/^X\(\/\/\)$/{ s//\1/; q; }
10058
/^X\(\/\).*/{ s//\1/; q; }
10060
{ if $as_mkdir_p; then
10065
while test ! -d "$as_dir"; do
10066
as_dirs="$as_dir $as_dirs"
10067
as_dir=`(dirname "$as_dir") 2>/dev/null ||
10068
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10069
X"$as_dir" : 'X\(//\)[^/]' \| \
10070
X"$as_dir" : 'X\(//\)$' \| \
10071
X"$as_dir" : 'X\(/\)' \| \
10072
. : '\(.\)' 2>/dev/null ||
10074
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10075
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10076
/^X\(\/\/\)$/{ s//\1/; q; }
10077
/^X\(\/\).*/{ s//\1/; q; }
10080
test ! -n "$as_dirs" || mkdir $as_dirs
10081
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10082
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10083
{ (exit 1); exit 1; }; }; }
10087
if test "$ac_dir" != .; then
10088
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10089
# A "../" for each directory in $ac_dir_suffix.
10090
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10092
ac_dir_suffix= ac_top_builddir=
10096
.) # No --srcdir option. We are building in place.
10098
if test -z "$ac_top_builddir"; then
10101
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
10103
[\\/]* | ?:[\\/]* ) # Absolute path.
10104
ac_srcdir=$srcdir$ac_dir_suffix;
10105
ac_top_srcdir=$srcdir ;;
10106
*) # Relative path.
10107
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10108
ac_top_srcdir=$ac_top_builddir$srcdir ;;
10111
# Do not use `cd foo && pwd` to compute absolute paths, because
10112
# the directories may not exist.
10114
.) ac_abs_builddir="$ac_dir";;
10117
.) ac_abs_builddir=`pwd`;;
10118
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
10119
*) ac_abs_builddir=`pwd`/"$ac_dir";;
10122
case $ac_abs_builddir in
10123
.) ac_abs_top_builddir=${ac_top_builddir}.;;
10125
case ${ac_top_builddir}. in
10126
.) ac_abs_top_builddir=$ac_abs_builddir;;
10127
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
10128
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
10131
case $ac_abs_builddir in
10132
.) ac_abs_srcdir=$ac_srcdir;;
10135
.) ac_abs_srcdir=$ac_abs_builddir;;
10136
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
10137
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
10140
case $ac_abs_builddir in
10141
.) ac_abs_top_srcdir=$ac_top_srcdir;;
10143
case $ac_top_srcdir in
10144
.) ac_abs_top_srcdir=$ac_abs_builddir;;
10145
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
10146
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
10152
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
10153
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
10156
if test x"$ac_file" != x-; then
10157
{ echo "$as_me:$LINENO: creating $ac_file" >&5
10158
echo "$as_me: creating $ac_file" >&6;}
10161
# Let's still pretend it is `configure' which instantiates (i.e., don't
10162
# use $as_me), people would be surprised to read:
10163
# /* config.h. Generated by config.status. */
10164
if test x"$ac_file" = x-; then
10167
configure_input="$ac_file. "
10169
configure_input=$configure_input"Generated from `echo $ac_file_in |
10170
sed 's,.*/,,'` by configure."
10172
# First look for the input files in the build tree, otherwise in the
10174
ac_file_inputs=`IFS=:
10175
for f in $ac_file_in; do
10177
-) echo $tmp/stdin ;;
10179
# Absolute (can't be DOS-style, as IFS=:)
10180
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10181
echo "$as_me: error: cannot find input file: $f" >&2;}
10182
{ (exit 1); exit 1; }; }
10185
if test -f "$f"; then
10188
elif test -f "$srcdir/$f"; then
10193
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10194
echo "$as_me: error: cannot find input file: $f" >&2;}
10195
{ (exit 1); exit 1; }; }
10198
done` || { (exit 1); exit 1; }
10200
cat >>$CONFIG_STATUS <<_ACEOF
10204
cat >>$CONFIG_STATUS <<\_ACEOF
10206
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
10207
s,@configure_input@,$configure_input,;t t
10208
s,@srcdir@,$ac_srcdir,;t t
10209
s,@abs_srcdir@,$ac_abs_srcdir,;t t
10210
s,@top_srcdir@,$ac_top_srcdir,;t t
10211
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
10212
s,@builddir@,$ac_builddir,;t t
10213
s,@abs_builddir@,$ac_abs_builddir,;t t
10214
s,@top_builddir@,$ac_top_builddir,;t t
10215
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
10216
s,@INSTALL@,$ac_INSTALL,;t t
10217
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10219
if test x"$ac_file" != x-; then
10220
mv $tmp/out $ac_file
10228
cat >>$CONFIG_STATUS <<\_ACEOF
10231
# CONFIG_HEADER section.
10234
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
10235
# NAME is the cpp macro being defined and VALUE is the value it is being given.
10237
# ac_d sets the value in "#define NAME VALUE" lines.
10238
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10239
ac_dB='[ ].*$,\1#\2'
10242
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10243
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10244
ac_uB='$,\1#\2define\3'
10248
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
10249
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10251
- | *:- | *:-:* ) # input from stdin
10253
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10254
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10255
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10256
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10257
* ) ac_file_in=$ac_file.in ;;
10260
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
10261
echo "$as_me: creating $ac_file" >&6;}
10263
# First look for the input files in the build tree, otherwise in the
10265
ac_file_inputs=`IFS=:
10266
for f in $ac_file_in; do
10268
-) echo $tmp/stdin ;;
10270
# Absolute (can't be DOS-style, as IFS=:)
10271
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10272
echo "$as_me: error: cannot find input file: $f" >&2;}
10273
{ (exit 1); exit 1; }; }
10274
# Do quote $f, to prevent DOS paths from being IFS'd.
10277
if test -f "$f"; then
10280
elif test -f "$srcdir/$f"; then
10285
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10286
echo "$as_me: error: cannot find input file: $f" >&2;}
10287
{ (exit 1); exit 1; }; }
10290
done` || { (exit 1); exit 1; }
10291
# Remove the trailing spaces.
10292
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10296
# Transform confdefs.h into two sed scripts, `conftest.defines' and
10297
# `conftest.undefs', that substitutes the proper values into
10298
# config.h.in to produce config.h. The first handles `#define'
10299
# templates, and the second `#undef' templates.
10300
# And first: Protect against being on the right side of a sed subst in
10301
# config.status. Protect against being in an unquoted here document
10302
# in config.status.
10303
rm -f conftest.defines conftest.undefs
10304
# Using a here document instead of a string reduces the quoting nightmare.
10305
# Putting comments in sed scripts is not portable.
10307
# `end' is used to avoid that the second main sed command (meant for
10308
# 0-ary CPP macros) applies to n-ary macro definitions.
10309
# See the Autoconf documentation for `clear'.
10310
cat >confdef2sed.sed <<\_ACEOF
10315
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10317
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10320
# If some macros were called several times there might be several times
10321
# the same #defines, which is useless. Nevertheless, we may not want to
10322
# sort them, since we want the *last* AC-DEFINE to be honored.
10323
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10324
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10325
rm -f confdef2sed.sed
10327
# This sed command replaces #undef with comments. This is necessary, for
10328
# example, in the case of _POSIX_SOURCE, which is predefined and required
10329
# on some systems where configure will not decide to define it.
10330
cat >>conftest.undefs <<\_ACEOF
10331
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10334
# Break up conftest.defines because some shells have a limit on the size
10335
# of here documents, and old seds have small limits too (100 cmds).
10336
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10337
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10338
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10339
echo ' :' >>$CONFIG_STATUS
10340
rm -f conftest.tail
10341
while grep . conftest.defines >/dev/null
10343
# Write a limited-size here document to $tmp/defines.sed.
10344
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10345
# Speed up: don't consider the non `#define' lines.
10346
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10347
# Work around the forget-to-reset-the-flag bug.
10348
echo 't clr' >>$CONFIG_STATUS
10349
echo ': clr' >>$CONFIG_STATUS
10350
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
10352
sed -f $tmp/defines.sed $tmp/in >$tmp/out
10354
mv $tmp/out $tmp/in
10356
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
10357
rm -f conftest.defines
10358
mv conftest.tail conftest.defines
10360
rm -f conftest.defines
10361
echo ' fi # grep' >>$CONFIG_STATUS
10362
echo >>$CONFIG_STATUS
10364
# Break up conftest.undefs because some shells have a limit on the size
10365
# of here documents, and old seds have small limits too (100 cmds).
10366
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10367
rm -f conftest.tail
10368
while grep . conftest.undefs >/dev/null
10370
# Write a limited-size here document to $tmp/undefs.sed.
10371
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10372
# Speed up: don't consider the non `#undef'
10373
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10374
# Work around the forget-to-reset-the-flag bug.
10375
echo 't clr' >>$CONFIG_STATUS
10376
echo ': clr' >>$CONFIG_STATUS
10377
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10379
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10381
mv $tmp/out $tmp/in
10383
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10384
rm -f conftest.undefs
10385
mv conftest.tail conftest.undefs
10387
rm -f conftest.undefs
10389
cat >>$CONFIG_STATUS <<\_ACEOF
10390
# Let's still pretend it is `configure' which instantiates (i.e., don't
10391
# use $as_me), people would be surprised to read:
10392
# /* config.h. Generated by config.status. */
10393
if test x"$ac_file" = x-; then
10394
echo "/* Generated by configure. */" >$tmp/config.h
10396
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10398
cat $tmp/in >>$tmp/config.h
10400
if test x"$ac_file" != x-; then
10401
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
10402
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10403
echo "$as_me: $ac_file is unchanged" >&6;}
10405
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
10406
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10407
X"$ac_file" : 'X\(//\)[^/]' \| \
10408
X"$ac_file" : 'X\(//\)$' \| \
10409
X"$ac_file" : 'X\(/\)' \| \
10410
. : '\(.\)' 2>/dev/null ||
10412
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10413
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10414
/^X\(\/\/\)$/{ s//\1/; q; }
10415
/^X\(\/\).*/{ s//\1/; q; }
10417
{ if $as_mkdir_p; then
10422
while test ! -d "$as_dir"; do
10423
as_dirs="$as_dir $as_dirs"
10424
as_dir=`(dirname "$as_dir") 2>/dev/null ||
10425
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10426
X"$as_dir" : 'X\(//\)[^/]' \| \
10427
X"$as_dir" : 'X\(//\)$' \| \
10428
X"$as_dir" : 'X\(/\)' \| \
10429
. : '\(.\)' 2>/dev/null ||
10431
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10432
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10433
/^X\(\/\/\)$/{ s//\1/; q; }
10434
/^X\(\/\).*/{ s//\1/; q; }
10437
test ! -n "$as_dirs" || mkdir $as_dirs
10438
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10439
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10440
{ (exit 1); exit 1; }; }; }
10443
mv $tmp/config.h $ac_file
10447
rm -f $tmp/config.h
10449
# Compute $ac_file's index in $config_headers.
10451
for _am_header in $config_headers :; do
10452
case $_am_header in
10453
$ac_file | $ac_file:* )
10456
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
10459
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
10460
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10461
X$ac_file : 'X\(//\)[^/]' \| \
10462
X$ac_file : 'X\(//\)$' \| \
10463
X$ac_file : 'X\(/\)' \| \
10464
. : '\(.\)' 2>/dev/null ||
10466
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10467
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10468
/^X\(\/\/\)$/{ s//\1/; q; }
10469
/^X\(\/\).*/{ s//\1/; q; }
10470
s/.*/./; q'`/stamp-h$_am_stamp_count
10473
cat >>$CONFIG_STATUS <<\_ACEOF
10476
# CONFIG_COMMANDS section.
10478
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
10479
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
10480
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
10481
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
10482
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10483
X"$ac_dest" : 'X\(//\)[^/]' \| \
10484
X"$ac_dest" : 'X\(//\)$' \| \
10485
X"$ac_dest" : 'X\(/\)' \| \
10486
. : '\(.\)' 2>/dev/null ||
10488
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10489
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10490
/^X\(\/\/\)$/{ s//\1/; q; }
10491
/^X\(\/\).*/{ s//\1/; q; }
10493
{ if $as_mkdir_p; then
10498
while test ! -d "$as_dir"; do
10499
as_dirs="$as_dir $as_dirs"
10500
as_dir=`(dirname "$as_dir") 2>/dev/null ||
10501
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10502
X"$as_dir" : 'X\(//\)[^/]' \| \
10503
X"$as_dir" : 'X\(//\)$' \| \
10504
X"$as_dir" : 'X\(/\)' \| \
10505
. : '\(.\)' 2>/dev/null ||
10507
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10508
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10509
/^X\(\/\/\)$/{ s//\1/; q; }
10510
/^X\(\/\).*/{ s//\1/; q; }
10513
test ! -n "$as_dirs" || mkdir $as_dirs
10514
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10515
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10516
{ (exit 1); exit 1; }; }; }
10520
if test "$ac_dir" != .; then
10521
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10522
# A "../" for each directory in $ac_dir_suffix.
10523
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10525
ac_dir_suffix= ac_top_builddir=
10529
.) # No --srcdir option. We are building in place.
10531
if test -z "$ac_top_builddir"; then
10534
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
10536
[\\/]* | ?:[\\/]* ) # Absolute path.
10537
ac_srcdir=$srcdir$ac_dir_suffix;
10538
ac_top_srcdir=$srcdir ;;
10539
*) # Relative path.
10540
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10541
ac_top_srcdir=$ac_top_builddir$srcdir ;;
10544
# Do not use `cd foo && pwd` to compute absolute paths, because
10545
# the directories may not exist.
10547
.) ac_abs_builddir="$ac_dir";;
10550
.) ac_abs_builddir=`pwd`;;
10551
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
10552
*) ac_abs_builddir=`pwd`/"$ac_dir";;
10555
case $ac_abs_builddir in
10556
.) ac_abs_top_builddir=${ac_top_builddir}.;;
10558
case ${ac_top_builddir}. in
10559
.) ac_abs_top_builddir=$ac_abs_builddir;;
10560
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
10561
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
10564
case $ac_abs_builddir in
10565
.) ac_abs_srcdir=$ac_srcdir;;
10568
.) ac_abs_srcdir=$ac_abs_builddir;;
10569
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
10570
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
10573
case $ac_abs_builddir in
10574
.) ac_abs_top_srcdir=$ac_top_srcdir;;
10576
case $ac_top_srcdir in
10577
.) ac_abs_top_srcdir=$ac_abs_builddir;;
10578
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
10579
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
10584
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10585
echo "$as_me: executing $ac_dest commands" >&6;}
10587
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10588
# Strip MF so we end up with the name of the file.
10589
mf=`echo "$mf" | sed -e 's/:.*$//'`
10590
# Check whether this is an Automake generated Makefile or not.
10591
# We used to match only the files named `Makefile.in', but
10592
# some people rename them; so instead we look at the file content.
10593
# Grep'ing the first line is not enough: some people post-process
10594
# each Makefile.in and add a new line on top of each file to say so.
10595
# So let's grep whole file.
10596
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10597
dirpart=`(dirname "$mf") 2>/dev/null ||
10598
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10599
X"$mf" : 'X\(//\)[^/]' \| \
10600
X"$mf" : 'X\(//\)$' \| \
10601
X"$mf" : 'X\(/\)' \| \
10602
. : '\(.\)' 2>/dev/null ||
10604
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10605
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10606
/^X\(\/\/\)$/{ s//\1/; q; }
10607
/^X\(\/\).*/{ s//\1/; q; }
10612
# Extract the definition of DEPDIR, am__include, and am__quote
10613
# from the Makefile without running `make'.
10614
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10615
test -z "$DEPDIR" && continue
10616
am__include=`sed -n 's/^am__include = //p' < "$mf"`
10617
test -z "am__include" && continue
10618
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10619
# When using ansi2knr, U may be empty or an underscore; expand it
10620
U=`sed -n 's/^U = //p' < "$mf"`
10621
# Find all dependency output files, they are included files with
10622
# $(DEPDIR) in their names. We invoke sed twice because it is the
10623
# simplest approach to changing $(DEPDIR) to its actual value in the
10625
for file in `sed -n "
10626
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10627
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10628
# Make sure the directory exists.
10629
test -f "$dirpart/$file" && continue
10630
fdir=`(dirname "$file") 2>/dev/null ||
10631
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10632
X"$file" : 'X\(//\)[^/]' \| \
10633
X"$file" : 'X\(//\)$' \| \
10634
X"$file" : 'X\(/\)' \| \
10635
. : '\(.\)' 2>/dev/null ||
10637
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10638
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10639
/^X\(\/\/\)$/{ s//\1/; q; }
10640
/^X\(\/\).*/{ s//\1/; q; }
10642
{ if $as_mkdir_p; then
10643
mkdir -p $dirpart/$fdir
10645
as_dir=$dirpart/$fdir
10647
while test ! -d "$as_dir"; do
10648
as_dirs="$as_dir $as_dirs"
10649
as_dir=`(dirname "$as_dir") 2>/dev/null ||
10650
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10651
X"$as_dir" : 'X\(//\)[^/]' \| \
10652
X"$as_dir" : 'X\(//\)$' \| \
10653
X"$as_dir" : 'X\(/\)' \| \
10654
. : '\(.\)' 2>/dev/null ||
10656
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10657
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10658
/^X\(\/\/\)$/{ s//\1/; q; }
10659
/^X\(\/\).*/{ s//\1/; q; }
10662
test ! -n "$as_dirs" || mkdir $as_dirs
10663
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
10664
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
10665
{ (exit 1); exit 1; }; }; }
10667
# echo "creating $dirpart/$file"
10668
echo '# dummy' > "$dirpart/$file"
10676
cat >>$CONFIG_STATUS <<\_ACEOF
10678
{ (exit 0); exit 0; }
10680
chmod +x $CONFIG_STATUS
10681
ac_clean_files=$ac_clean_files_save
10684
# configure is writing to config.log, and then calls config.status.
10685
# config.status does its own redirection, appending to config.log.
10686
# Unfortunately, on DOS this fails, as config.log is still kept open
10687
# by configure, so config.status won't be able to write to it; its
10688
# output is simply discarded. So we exec the FD to /dev/null,
10689
# effectively closing config.log, so it can be properly (re)opened and
10690
# appended to by config.status. When coming back to configure, we
10691
# need to make the FD available again.
10692
if test "$no_create" != yes; then
10694
ac_config_status_args=
10695
test "$silent" = yes &&
10696
ac_config_status_args="$ac_config_status_args --quiet"
10698
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10700
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
10701
# would make configure fail if this is the last instruction.
10702
$ac_cs_success || { (exit 1); exit 1; }
10709
Source code location: ${srcdir}
10711
Compiler flags: ${CFLAGS}
10712
Preprocessor: ${CPP}
10713
Preprocessor flags: ${CPPFLAGS}
10714
Libraries: ${LIBS} ${LIBDBM} ${LIBCRYPT}
10717
NIS map dir: ${YPMAPDIR}
10718
Install path prefix: ${prefix}"
10719
if test ${sysconfdir} != '${prefix}/etc'
10721
echo " Install ypserv.conf in: ${sysconfdir}"
10723
echo " Install ypserv.conf in: ${prefix}/etc"
10725
echo " Allow root password: ${CHECKROOT}"
10726
echo " Use FQDN as master name: ${USE_FQDN}"